@azure/communication-call-automation 1.5.0-beta.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/browser/callAutomationClient.d.ts +2 -3
- package/dist/browser/callAutomationClient.d.ts.map +1 -1
- package/dist/browser/callAutomationClient.js +79 -31
- package/dist/browser/callAutomationClient.js.map +1 -1
- package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
- package/dist/browser/callAutomationEventParser.js +9 -10
- package/dist/browser/callAutomationEventParser.js.map +1 -1
- package/dist/browser/callConnection.d.ts +1 -1
- package/dist/browser/callConnection.d.ts.map +1 -1
- package/dist/browser/callConnection.js +82 -38
- package/dist/browser/callConnection.js.map +1 -1
- package/dist/browser/callMedia.d.ts +1 -1
- package/dist/browser/callMedia.d.ts.map +1 -1
- package/dist/browser/callMedia.js +33 -12
- package/dist/browser/callMedia.js.map +1 -1
- package/dist/browser/callRecording.js +11 -6
- package/dist/browser/callRecording.js.map +1 -1
- package/dist/browser/contentDownloader.js +11 -12
- package/dist/browser/contentDownloader.js.map +1 -1
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/browser/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -1
- package/dist/browser/credential/cryptoUtils.js +1 -2
- package/dist/browser/generated/src/callAutomationApiClient.js +14 -5
- package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/browser/generated/src/models/index.d.ts +305 -322
- package/dist/browser/generated/src/models/index.d.ts.map +1 -1
- package/dist/browser/generated/src/models/index.js +29 -35
- package/dist/browser/generated/src/models/index.js.map +1 -1
- package/dist/browser/generated/src/models/mappers.d.ts +41 -34
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/src/models/mappers.js +481 -462
- package/dist/browser/generated/src/models/mappers.js.map +1 -1
- package/dist/browser/generated/src/models/parameters.js +1 -1
- package/dist/browser/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/callConnection.js +23 -40
- package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
- package/dist/browser/generated/src/operations/callMedia.js +1 -0
- package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
- package/dist/browser/generated/src/operations/callRecording.js +1 -0
- package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
- package/dist/browser/generated/src/pagingHelper.js +2 -4
- package/dist/browser/generated/src/pagingHelper.js.map +1 -1
- package/dist/browser/models/constants.d.ts.map +1 -1
- package/dist/browser/models/constants.js +1 -1
- package/dist/browser/models/constants.js.map +1 -1
- package/dist/browser/models/events.d.ts +295 -209
- package/dist/browser/models/events.d.ts.map +1 -1
- package/dist/browser/models/events.js.map +1 -1
- package/dist/browser/models/models.d.ts +44 -4
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +1 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/models/options.d.ts +17 -0
- package/dist/browser/models/options.d.ts.map +1 -1
- package/dist/browser/models/options.js.map +1 -1
- package/dist/browser/models/responses.d.ts +1 -1
- package/dist/browser/models/responses.d.ts.map +1 -1
- package/dist/browser/models/responses.js.map +1 -1
- package/dist/browser/models/streaming.d.ts +26 -27
- package/dist/browser/models/streaming.d.ts.map +1 -1
- package/dist/browser/models/streaming.js +28 -57
- package/dist/browser/models/streaming.js.map +1 -1
- package/dist/browser/streamingData.d.ts.map +1 -1
- package/dist/browser/streamingData.js +10 -1
- package/dist/browser/streamingData.js.map +1 -1
- package/dist/browser/utli/converters.d.ts.map +1 -1
- package/dist/browser/utli/converters.js +30 -9
- package/dist/browser/utli/converters.js.map +1 -1
- package/dist/commonjs/callAutomationClient.d.ts +2 -3
- package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
- package/dist/commonjs/callAutomationClient.js +79 -31
- package/dist/commonjs/callAutomationClient.js.map +1 -1
- package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
- package/dist/commonjs/callAutomationEventParser.js +9 -10
- package/dist/commonjs/callAutomationEventParser.js.map +1 -1
- package/dist/commonjs/callConnection.d.ts +1 -1
- package/dist/commonjs/callConnection.d.ts.map +1 -1
- package/dist/commonjs/callConnection.js +82 -38
- package/dist/commonjs/callConnection.js.map +1 -1
- package/dist/commonjs/callMedia.d.ts +1 -1
- package/dist/commonjs/callMedia.d.ts.map +1 -1
- package/dist/commonjs/callMedia.js +42 -21
- package/dist/commonjs/callMedia.js.map +1 -1
- package/dist/commonjs/callRecording.js +12 -7
- package/dist/commonjs/callRecording.js.map +1 -1
- package/dist/commonjs/contentDownloader.js +11 -12
- package/dist/commonjs/contentDownloader.js.map +1 -1
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/commonjs/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/commonjs/generated/src/callAutomationApiClient.js +14 -5
- package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.d.ts +305 -322
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/index.js +30 -36
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +41 -34
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +484 -465
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +1 -1
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callConnection.js +23 -39
- package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callMedia.js +1 -0
- package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callRecording.js +1 -0
- package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
- package/dist/commonjs/generated/src/pagingHelper.js +2 -4
- package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
- package/dist/commonjs/models/constants.d.ts.map +1 -1
- package/dist/commonjs/models/constants.js +1 -1
- package/dist/commonjs/models/constants.js.map +1 -1
- package/dist/commonjs/models/events.d.ts +295 -209
- package/dist/commonjs/models/events.d.ts.map +1 -1
- package/dist/commonjs/models/events.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +44 -4
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +2 -16
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/models/options.d.ts +17 -0
- package/dist/commonjs/models/options.d.ts.map +1 -1
- package/dist/commonjs/models/options.js.map +1 -1
- package/dist/commonjs/models/responses.d.ts +1 -1
- package/dist/commonjs/models/responses.d.ts.map +1 -1
- package/dist/commonjs/models/responses.js.map +1 -1
- package/dist/commonjs/models/streaming.d.ts +26 -27
- package/dist/commonjs/models/streaming.d.ts.map +1 -1
- package/dist/commonjs/models/streaming.js +31 -59
- package/dist/commonjs/models/streaming.js.map +1 -1
- package/dist/commonjs/streamingData.d.ts.map +1 -1
- package/dist/commonjs/streamingData.js +10 -1
- package/dist/commonjs/streamingData.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/commonjs/utli/converters.d.ts.map +1 -1
- package/dist/commonjs/utli/converters.js +30 -9
- package/dist/commonjs/utli/converters.js.map +1 -1
- package/dist/esm/callAutomationClient.d.ts +2 -3
- package/dist/esm/callAutomationClient.d.ts.map +1 -1
- package/dist/esm/callAutomationClient.js +79 -31
- package/dist/esm/callAutomationClient.js.map +1 -1
- package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
- package/dist/esm/callAutomationEventParser.js +9 -10
- package/dist/esm/callAutomationEventParser.js.map +1 -1
- package/dist/esm/callConnection.d.ts +1 -1
- package/dist/esm/callConnection.d.ts.map +1 -1
- package/dist/esm/callConnection.js +82 -38
- package/dist/esm/callConnection.js.map +1 -1
- package/dist/esm/callMedia.d.ts +1 -1
- package/dist/esm/callMedia.d.ts.map +1 -1
- package/dist/esm/callMedia.js +33 -12
- package/dist/esm/callMedia.js.map +1 -1
- package/dist/esm/callRecording.js +11 -6
- package/dist/esm/callRecording.js.map +1 -1
- package/dist/esm/contentDownloader.js +11 -12
- package/dist/esm/contentDownloader.js.map +1 -1
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/esm/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/esm/generated/src/callAutomationApiClient.js +14 -5
- package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/esm/generated/src/models/index.d.ts +305 -322
- package/dist/esm/generated/src/models/index.d.ts.map +1 -1
- package/dist/esm/generated/src/models/index.js +29 -35
- package/dist/esm/generated/src/models/index.js.map +1 -1
- package/dist/esm/generated/src/models/mappers.d.ts +41 -34
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/src/models/mappers.js +481 -462
- package/dist/esm/generated/src/models/mappers.js.map +1 -1
- package/dist/esm/generated/src/models/parameters.js +1 -1
- package/dist/esm/generated/src/models/parameters.js.map +1 -1
- package/dist/esm/generated/src/operations/callConnection.js +23 -40
- package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
- package/dist/esm/generated/src/operations/callMedia.js +1 -0
- package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
- package/dist/esm/generated/src/operations/callRecording.js +1 -0
- package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
- package/dist/esm/generated/src/pagingHelper.js +2 -4
- package/dist/esm/generated/src/pagingHelper.js.map +1 -1
- package/dist/esm/models/constants.d.ts.map +1 -1
- package/dist/esm/models/constants.js +1 -1
- package/dist/esm/models/constants.js.map +1 -1
- package/dist/esm/models/events.d.ts +295 -209
- package/dist/esm/models/events.d.ts.map +1 -1
- package/dist/esm/models/events.js.map +1 -1
- package/dist/esm/models/models.d.ts +44 -4
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +1 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/models/options.d.ts +17 -0
- package/dist/esm/models/options.d.ts.map +1 -1
- package/dist/esm/models/options.js.map +1 -1
- package/dist/esm/models/responses.d.ts +1 -1
- package/dist/esm/models/responses.d.ts.map +1 -1
- package/dist/esm/models/responses.js.map +1 -1
- package/dist/esm/models/streaming.d.ts +26 -27
- package/dist/esm/models/streaming.d.ts.map +1 -1
- package/dist/esm/models/streaming.js +28 -57
- package/dist/esm/models/streaming.js.map +1 -1
- package/dist/esm/streamingData.d.ts.map +1 -1
- package/dist/esm/streamingData.js +10 -1
- package/dist/esm/streamingData.js.map +1 -1
- package/dist/esm/utli/converters.d.ts.map +1 -1
- package/dist/esm/utli/converters.js +30 -9
- package/dist/esm/utli/converters.js.map +1 -1
- package/dist/react-native/callAutomationClient.d.ts +2 -3
- package/dist/react-native/callAutomationClient.d.ts.map +1 -1
- package/dist/react-native/callAutomationClient.js +79 -31
- package/dist/react-native/callAutomationClient.js.map +1 -1
- package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
- package/dist/react-native/callAutomationEventParser.js +9 -10
- package/dist/react-native/callAutomationEventParser.js.map +1 -1
- package/dist/react-native/callConnection.d.ts +1 -1
- package/dist/react-native/callConnection.d.ts.map +1 -1
- package/dist/react-native/callConnection.js +82 -38
- package/dist/react-native/callConnection.js.map +1 -1
- package/dist/react-native/callMedia.d.ts +1 -1
- package/dist/react-native/callMedia.d.ts.map +1 -1
- package/dist/react-native/callMedia.js +33 -12
- package/dist/react-native/callMedia.js.map +1 -1
- package/dist/react-native/callRecording.js +11 -6
- package/dist/react-native/callRecording.js.map +1 -1
- package/dist/react-native/contentDownloader.js +11 -12
- package/dist/react-native/contentDownloader.js.map +1 -1
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/react-native/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/react-native/generated/src/callAutomationApiClient.js +14 -5
- package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/react-native/generated/src/models/index.d.ts +305 -322
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/index.js +29 -35
- package/dist/react-native/generated/src/models/index.js.map +1 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +41 -34
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/mappers.js +481 -462
- package/dist/react-native/generated/src/models/mappers.js.map +1 -1
- package/dist/react-native/generated/src/models/parameters.js +1 -1
- package/dist/react-native/generated/src/models/parameters.js.map +1 -1
- package/dist/react-native/generated/src/operations/callConnection.js +23 -40
- package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
- package/dist/react-native/generated/src/operations/callMedia.js +1 -0
- package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
- package/dist/react-native/generated/src/operations/callRecording.js +1 -0
- package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
- package/dist/react-native/generated/src/pagingHelper.js +2 -4
- package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
- package/dist/react-native/models/constants.d.ts.map +1 -1
- package/dist/react-native/models/constants.js +1 -1
- package/dist/react-native/models/constants.js.map +1 -1
- package/dist/react-native/models/events.d.ts +295 -209
- package/dist/react-native/models/events.d.ts.map +1 -1
- package/dist/react-native/models/events.js.map +1 -1
- package/dist/react-native/models/models.d.ts +44 -4
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +1 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/models/options.d.ts +17 -0
- package/dist/react-native/models/options.d.ts.map +1 -1
- package/dist/react-native/models/options.js.map +1 -1
- package/dist/react-native/models/responses.d.ts +1 -1
- package/dist/react-native/models/responses.d.ts.map +1 -1
- package/dist/react-native/models/responses.js.map +1 -1
- package/dist/react-native/models/streaming.d.ts +26 -27
- package/dist/react-native/models/streaming.d.ts.map +1 -1
- package/dist/react-native/models/streaming.js +28 -57
- package/dist/react-native/models/streaming.js.map +1 -1
- package/dist/react-native/streamingData.d.ts.map +1 -1
- package/dist/react-native/streamingData.js +10 -1
- package/dist/react-native/streamingData.js.map +1 -1
- package/dist/react-native/utli/converters.d.ts.map +1 -1
- package/dist/react-native/utli/converters.js +30 -9
- package/dist/react-native/utli/converters.js.map +1 -1
- package/package.json +37 -44
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAk2CH,yFAAyF;AACzF,MAAM,CAAN,IAAY,qCAaX;AAbD,WAAY,qCAAqC;IAC/C,cAAc;IACd,4DAAmB,CAAA;IACnB,wBAAwB;IACxB,gFAAuC,CAAA;IACvC,kBAAkB;IAClB,oEAA2B,CAAA;IAC3B,yBAAyB;IACzB,kFAAyC,CAAA;IACzC,wBAAwB;IACxB,gFAAuC,CAAA;IACvC,yBAAyB;IACzB,kFAAyC,CAAA;AAC3C,CAAC,EAbW,qCAAqC,KAArC,qCAAqC,QAahD;AAgBD,2FAA2F;AAC3F,MAAM,CAAN,IAAY,uCAOX;AAPD,WAAY,uCAAuC;IACjD,aAAa;IACb,4DAAiB,CAAA;IACjB,UAAU;IACV,sDAAW,CAAA;IACX,WAAW;IACX,wDAAa,CAAA;AACf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AA0B;IAC1B,8EAA2C,CAAA;IAC3C,uBAAuB;IACvB,wEAAqC,CAAA;IACrC,4BAA4B;IAC5B,kFAA+C,CAAA;IAC/C,iBAAiB;IACjB,4DAAyB,CAAA;IACzB,sBAAsB;IACtB,sEAAmC,CAAA;IACnC,gBAAgB;IAChB,0DAAuB,CAAA;IACvB,qBAAqB;IACrB,oEAAiC,CAAA;IACjC,iCAAiC;IACjC,4FAAyD,CAAA;AAC3D,CAAC,EA/BW,+BAA+B,KAA/B,+BAA+B,QA+B1C;AAyBD,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,WAAW;IACX,qCAAa,CAAA;IACb,aAAa;IACb,yCAAiB,CAAA;IACjB,cAAc;IACd,2CAAmB,CAAA;AACrB,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The request payload for creating the call. */\nexport interface CreateCallRequest {\n /** The targets of the call. */\n targets: CommunicationIdentifierModel[];\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n /** Display name of the call if dialing out to a pstn number */\n sourceDisplayName?: string;\n /** The identifier of the source of the call */\n source?: CommunicationUserIdentifierModel;\n /** A customer set value used to track the answering of a call. */\n operationContext?: string;\n /** The callback URI. */\n callbackUri: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptionsInternal;\n /** Media Streaming Options. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Transcription Options. */\n transcriptionOptions?: TranscriptionOptions;\n /** The identifier of the source for creating call with Teams resource account ID. */\n teamsAppSource?: MicrosoftTeamsAppIdentifierModel;\n}\n\n/** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value. */\nexport interface CommunicationIdentifierModel {\n /** The identifier kind. Only required in responses. */\n kind?: CommunicationIdentifierModelKind;\n /** Raw Id of the identifier. Optional in requests, required in responses. */\n rawId?: string;\n /** The communication user. */\n communicationUser?: CommunicationUserIdentifierModel;\n /** The phone number. */\n phoneNumber?: PhoneNumberIdentifierModel;\n /** The Microsoft Teams user. */\n microsoftTeamsUser?: MicrosoftTeamsUserIdentifierModel;\n /** The Microsoft Teams application. */\n microsoftTeamsApp?: MicrosoftTeamsAppIdentifierModel;\n /** The Microsoft Teams Extension user. */\n teamsExtensionUser?: TeamsExtensionUserIdentifierModel;\n}\n\n/** A user that got created with an Azure Communication Services resource. */\nexport interface CommunicationUserIdentifierModel {\n /** The Id of the communication user. */\n id: string;\n}\n\n/** A phone number. */\nexport interface PhoneNumberIdentifierModel {\n /** The phone number, usually in E.164 format. */\n value: string;\n /** True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'. */\n isAnonymous?: boolean;\n /** The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once. */\n assertedId?: string;\n}\n\n/** A Microsoft Teams user. */\nexport interface MicrosoftTeamsUserIdentifierModel {\n /** The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user. */\n userId: string;\n /** True if the Microsoft Teams user is anonymous. By default false if missing. */\n isAnonymous?: boolean;\n /** The cloud that the Microsoft Teams user belongs to. By default 'public' if missing. */\n cloud?: CommunicationCloudEnvironmentModel;\n}\n\n/** A Microsoft Teams application. */\nexport interface MicrosoftTeamsAppIdentifierModel {\n /** The Id of the Microsoft Teams application. */\n appId: string;\n /** The cloud that the Microsoft Teams application belongs to. By default 'public' if missing. */\n cloud?: CommunicationCloudEnvironmentModel;\n}\n\n/** A Microsoft Teams Phone user who is using a Communication Services resource to extend their Teams Phone set up. */\nexport interface TeamsExtensionUserIdentifierModel {\n /** The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user. */\n userId: string;\n /** The tenant Id of the Microsoft Teams Extension user. */\n tenantId: string;\n /** The Communication Services resource Id. */\n resourceId: string;\n /** The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing. */\n cloud?: CommunicationCloudEnvironmentModel;\n}\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptionsInternal {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n\n/** Configuration of Media streaming. */\nexport interface MediaStreamingOptions {\n /** Transport URL for media streaming */\n transportUrl: string;\n /** The type of transport to be used for media streaming, eg. Websocket */\n transportType: MediaStreamingTransportType;\n /** Content type to stream, eg. audio */\n contentType: MediaStreamingContentType;\n /** Audio channel type to stream, eg. unmixed audio, mixed audio */\n audioChannelType: MediaStreamingAudioChannelType;\n /** Determines if the media streaming should be started immediately after call is answered or not. */\n startMediaStreaming?: boolean;\n /** A value indicating whether bidirectional streaming is enabled. */\n enableBidirectional?: boolean;\n /** Specifies the audio format used for encoding, including sample rate and channel type. */\n audioFormat?: AudioFormat;\n}\n\n/** Configuration of live transcription. */\nexport interface TranscriptionOptions {\n /** Transport URL for live transcription */\n transportUrl: string;\n /** The type of transport to be used for live transcription, eg. Websocket */\n transportType: TranscriptionTransportType;\n /** Defines the locale for the data e.g en-CA, en-AU */\n locale: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** Determines if the transcription should be started immediately after call is answered or not. */\n startTranscription: boolean;\n /** Enables intermediate results for the transcribed speech. */\n enableIntermediateResults?: boolean;\n}\n\n/** Properties of a call connection */\nexport interface CallConnectionPropertiesInternal {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /** The targets of the call. */\n targets?: CommunicationIdentifierModel[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URI. */\n callbackUri?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifierModel;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredBy?: CommunicationUserIdentifierModel;\n /** The state of media streaming subscription for the call */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifierModel;\n}\n\n/** Media streaming Subscription Object. */\nexport interface MediaStreamingSubscription {\n /** Subscription Id. */\n id?: string;\n /** Media streaming subscription state. */\n state?: MediaStreamingSubscriptionState;\n /** Subscribed media streaming content types. */\n subscribedContentTypes?: MediaStreamingContentType[];\n}\n\n/** Transcription Subscription Object. */\nexport interface TranscriptionSubscription {\n /** Subscription Id. */\n id?: string;\n /** Transcription subscription state. */\n state?: TranscriptionSubscriptionState;\n /** Subscribed transcription result types. */\n subscribedResultStates?: TranscriptionResultState[];\n}\n\n/** The Communication Services error. */\nexport interface CommunicationErrorResponse {\n /** The Communication Services error. */\n error: CommunicationError;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationError {\n /** The error code. */\n code: string;\n /** The error message. */\n message: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * Further details about specific errors that led to this error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: CommunicationError[];\n /**\n * The inner error if any.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: CommunicationError;\n}\n\n/** The request payload for answering the call. */\nexport interface AnswerCallRequest {\n /** The context associated with the call. */\n incomingCallContext: string;\n /** The callback uri. */\n callbackUri: string;\n /** A customer set value used to track the answering of a call. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptionsInternal;\n /** The identifier of the call automation entity which answers the call */\n answeredBy?: CommunicationUserIdentifierModel;\n /** Media Streaming Options. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Transcription Options. */\n transcriptionOptions?: TranscriptionOptions;\n}\n\n/** The request payload for redirecting the call. */\nexport interface RedirectCallRequest {\n /** The context associated with the call. */\n incomingCallContext: string;\n /** The target identity to redirect the call to. */\n target: CommunicationIdentifierModel;\n}\n\n/** The request payload for rejecting the call. */\nexport interface RejectCallRequest {\n /** The context associated with the call. */\n incomingCallContext: string;\n /** The rejection reason. */\n callRejectReason?: CallRejectReason;\n}\n\n/** The request payload for creating a connection to a CallLocator. */\nexport interface ConnectRequest {\n /** The call locator. */\n callLocator: CallLocator;\n /** The callback URI. */\n callbackUri: string;\n /** Used by customers to correlate the request to the response event. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptionsInternal;\n /** Media Streaming Configuration. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Live Transcription Configuration. */\n transcriptionOptions?: TranscriptionOptions;\n}\n\n/** The locator used for joining or taking action on a call */\nexport interface CallLocator {\n /** The group call id */\n groupCallId?: string;\n /** The server call id. */\n serverCallId?: string;\n /** The Acs room id. (Not supported for Start Recording) */\n roomId?: string;\n /** The call locator kind. */\n kind?: CallLocatorKind;\n}\n\n/** The request payload for transferring call to a participant. */\nexport interface TransferToParticipantRequest {\n /** The identity of the target where call should be transferred to. */\n targetParticipant: CommunicationIdentifierModel;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Transferee is the participant who is transferred away. */\n transferee?: CommunicationIdentifierModel;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** Used by customer to send custom calling context to targets */\n customCallingContext?: CustomCallingContextInternal;\n /** The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call to a Pstn target. */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n}\n\n/** The custom calling context which will be sent to the target */\nexport interface CustomCallingContextInternal {\n /** Custom calling context VoiP headers */\n voipHeaders?: { [propertyName: string]: string };\n /** Custom calling context SIP headers */\n sipHeaders?: { [propertyName: string]: string };\n}\n\n/** The response payload for transferring the call. */\nexport interface TransferCallResponse {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\nexport interface PlayRequest {\n /** The source of the audio to be played. */\n playSources: PlaySourceInternal[];\n /**\n * The list of call participants play provided audio to.\n * Plays to everyone in the call when not provided.\n */\n playTo?: CommunicationIdentifierModel[];\n /** If set play can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n /** Defines options for playing the audio. */\n playOptions?: PlayOptionsInternal;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface PlaySourceInternal {\n /** Defines the type of the play source */\n kind: PlaySourceType;\n /** Defines the identifier to be used for caching related media */\n playSourceCacheId?: string;\n /** Defines the file source info to be used for play */\n file?: FileSourceInternal;\n /** Defines the text source info to be used for play */\n text?: TextSourceInternal;\n /** Defines the ssml(Speech Synthesis Markup Language) source info to be used for play */\n ssml?: SsmlSourceInternal;\n}\n\nexport interface FileSourceInternal {\n /** Uri for the audio file to be played */\n uri: string;\n}\n\nexport interface TextSourceInternal {\n /** Text for the cognitive service to be played */\n text: string;\n /**\n * Source language locale to be played\n * Refer to available locales here: <seealso href=\"https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts\" />\n */\n sourceLocale?: string;\n /** Voice kind type */\n voiceKind?: VoiceKind;\n /**\n * Voice name to be played\n * Refer to available Text-to-speech voices here: <seealso href=\"https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts\" />\n */\n voiceName?: string;\n /** Endpoint where the custom voice was deployed. */\n customVoiceEndpointId?: string;\n}\n\nexport interface SsmlSourceInternal {\n /** Ssml string for the cognitive service to be played */\n ssmlText: string;\n /** Endpoint where the custom voice was deployed. */\n customVoiceEndpointId?: string;\n}\n\nexport interface PlayOptionsInternal {\n /** The option to play the provided audio source in loop when set to true */\n loop: boolean;\n}\n\nexport interface StartTranscriptionRequest {\n /** Defines Locale for the transcription e,g en-US */\n locale?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\nexport interface StopTranscriptionRequest {\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\nexport interface UpdateTranscriptionRequest {\n /** Sets new locale for transcription. */\n locale: string;\n /** Sets Endpoint id where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\nexport interface RecognizeRequest {\n /** Determines the type of the recognition. */\n recognizeInputType: RecognizeInputType;\n /** The source of the audio to be played for recognition. */\n playPrompt?: PlaySourceInternal;\n /** The source of the audio to be played for recognition. */\n playPrompts?: PlaySourceInternal[];\n /** If set recognize can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n /** Defines options for recognition. */\n recognizeOptions: RecognizeOptions;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface RecognizeOptions {\n /** Determines if we interrupt the prompt and start recognizing. */\n interruptPrompt?: boolean;\n /** Time to wait for first input after prompt (if any). */\n initialSilenceTimeoutInSeconds?: number;\n /** Target participant of DTMF tone recognition. */\n targetParticipant: CommunicationIdentifierModel;\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** Defines configurations for DTMF. */\n dtmfOptions?: DtmfOptions;\n /** Defines Ivr choices for recognize. */\n choices?: Choice[];\n /** Defines continuous speech recognition option. */\n speechOptions?: SpeechOptions;\n}\n\n/** Options for DTMF recognition */\nexport interface DtmfOptions {\n /** Time to wait between DTMF inputs to stop recognizing. */\n interToneTimeoutInSeconds?: number;\n /** Maximum number of DTMF tones to be collected. */\n maxTonesToCollect?: number;\n /** List of tones that will stop recognizing. */\n stopTones?: Tone[];\n}\n\nexport interface Choice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: Tone;\n}\n\n/** Options for continuous speech recognition */\nexport interface SpeechOptions {\n /** The length of end silence when user stops speaking and cogservice send response. */\n endSilenceTimeoutInMs?: number;\n}\n\nexport interface ContinuousDtmfRecognitionRequest {\n /** Defines options for recognition. */\n targetParticipant: CommunicationIdentifierModel;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface SendDtmfTonesRequest {\n /** List of tones to be sent to target participant. */\n tones: Tone[];\n /** Target participant of send Dtmf tones. */\n targetParticipant: CommunicationIdentifierModel;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface SendDtmfTonesResult {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** The request payload for holding participant from the call. */\nexport interface HoldRequest {\n /** Participant to be held from the call. */\n targetParticipant: CommunicationIdentifierModel;\n /** Prompt to play while in hold. */\n playSourceInfo?: PlaySourceInternal;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\n/** The request payload for holding participant from the call. */\nexport interface UnholdRequest {\n /**\n * Participants to be hold from the call.\n * Only ACS Users are supported.\n */\n targetParticipant: CommunicationIdentifierModel;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\nexport interface StartMediaStreamingRequest {\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\nexport interface StopMediaStreamingRequest {\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/** The response payload for getting participants of the call. */\nexport interface GetParticipantsResponse {\n /** List of the current participants in the call. */\n value: CallParticipantInternal[];\n /** Continue of the list of participants */\n nextLink?: string;\n}\n\n/** A call participant. */\nexport interface CallParticipantInternal {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifierModel;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The request payload for adding participant to the call. */\nexport interface AddParticipantRequest {\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when inviting a PSTN participant.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n /**\n * (Optional) The display name of the source that is associated with this invite operation when\n * adding a PSTN participant or teams user. Note: Will not update the display name in the roster.\n */\n sourceDisplayName?: string;\n /** The participant to invite. */\n participantToAdd: CommunicationIdentifierModel;\n /**\n * Gets or sets the timeout to wait for the invited participant to pickup.\n * The maximum value of this is 180 seconds\n */\n invitationTimeoutInSeconds?: number;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** Used by customer to send custom calling context to targets */\n customCallingContext?: CustomCallingContextInternal;\n}\n\n/** The response payload for adding participants to the call. */\nexport interface AddParticipantResponse {\n /** List of current participants in the call. */\n participant?: CallParticipantInternal;\n /** The operation context provided by client. */\n operationContext?: string;\n /** Invitation ID used to add a participant. */\n invitationId?: string;\n}\n\n/** The remove participant by identifier request. */\nexport interface RemoveParticipantRequest {\n /** The participants to be removed from the call. */\n participantToRemove: CommunicationIdentifierModel;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\n/** The response payload for removing participants of the call. */\nexport interface RemoveParticipantResponse {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** The request payload for muting participants from the call. */\nexport interface MuteParticipantsRequest {\n /**\n * Participants to be muted from the call.\n * Only ACS Users are supported.\n */\n targetParticipants: CommunicationIdentifierModel[];\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\n/** The result payload for muting participants from the call. */\nexport interface MuteParticipantsResult {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** Request payload for cancelling add participant request. */\nexport interface CancelAddParticipantRequest {\n /** Invitation ID used to add a participant. */\n invitationId: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\n/** Response payload for cancel add participant request. */\nexport interface CancelAddParticipantResponse {\n /** Invitation ID used to cancel the add participant action. */\n invitationId?: string;\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** The request payload start for call recording operation with call locator. */\nexport interface StartCallRecordingRequest {\n /** The call locator. (Only one of callLocator or callConnectionId to be used) */\n callLocator?: CallLocator;\n /** The call connection Id. (Only one of callLocator or callConnectionId to be used) */\n callConnectionId?: string;\n /** The uri to send notifications to. */\n recordingStateCallbackUri?: string;\n /** The content type of call recording. */\n recordingContentType?: RecordingContentType;\n /** The channel type of call recording. */\n recordingChannelType?: RecordingChannelType;\n /** The format type of call recording. */\n recordingFormatType?: RecordingFormatType;\n /**\n * The sequential order in which audio channels are assigned to participants in the unmixed recording.\n * When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified,\n * the audio channel to participant mapping will be automatically assigned based on the order in which participant\n * first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.\n */\n audioChannelParticipantOrdering?: CommunicationIdentifierModel[];\n /**\n * The channel affinity of call recording\n * When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.\n * Channel-Participant mapping details can be found in the metadata of the recording.\n * ///\n */\n channelAffinity?: ChannelAffinity[];\n /** When set to true will start recording in Pause mode, which can be resumed. */\n pauseOnStart?: boolean;\n /** Optional property to specify location where recording will be stored */\n recordingStorage?: RecordingStorage;\n}\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n participant: CommunicationIdentifierModel;\n}\n\nexport interface RecordingStorage {\n /** Defines the kind of external storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface RecordingStateResponse {\n recordingId?: string;\n recordingState?: RecordingState;\n recordingKind?: RecordingKind;\n}\n\n/** The ConnectFailed event. */\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestResultInformation {\n /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */\n code?: number;\n /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */\n subCode?: number;\n /** Detail message that describes the current result. */\n message?: string;\n}\n\n/** Play started event. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface DtmfResult {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly tones?: Tone[];\n}\n\nexport interface ChoiceResult {\n /** Label is the primary identifier for the choice detected */\n label?: string;\n /**\n * Phrases are set to the value if choice is selected via phrase detection.\n * If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null\n */\n recognizedPhrase?: string;\n}\n\n/** The speech status as a result. */\nexport interface SpeechResult {\n /** The recognized speech in string. */\n speech?: string;\n}\n\nexport interface MediaStreamingFailed {\n /**\n * Defines the result for MediaStreamingUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface MediaStreamingUpdate {\n contentType?: string;\n mediaStreamingStatus?: MediaStreamingStatus;\n mediaStreamingStatusDetails?: MediaStreamingStatusDetails;\n}\n\nexport interface MediaStreamingStarted {\n /**\n * Defines the result for MediaStreamingUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface MediaStreamingStopped {\n /**\n * Defines the result for MediaStreamingUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface StartRecordingFailed {\n /**\n * The call recording Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recordingId?: string;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface TranscriptionUpdate {\n transcriptionStatus?: TranscriptionStatus;\n transcriptionStatusDetails?: TranscriptionStatusDetails;\n}\n\n/** The participants successfully added event. */\nexport interface RestAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** The failed to add participants event. */\nexport interface RestAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** The participant removed event. */\nexport interface RestRemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** The failed to remove participant event. */\nexport interface RestRemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** The call connected event. */\nexport interface RestCallConnected {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** The call disconnected event. */\nexport interface RestCallDisconnected {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** The call transfer accepted event. */\nexport interface RestCallTransferAccepted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Target who the call is transferred to. */\n transferTarget?: CommunicationIdentifierModel;\n /** the participant who is being transferred away. */\n transferee?: CommunicationIdentifierModel;\n}\n\n/** The call transfer failed event. */\nexport interface RestCallTransferFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestRecordingStateChanged {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /**\n * The call recording id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recordingId?: string;\n state?: RecordingState;\n /**\n * The time of the recording started\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** The participants updated in a call event. */\nexport interface RestParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** The list of participants in the call. */\n participants?: CallParticipantInternal[];\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestPlayCompleted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestPlayFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n}\n\nexport interface RestPlayCanceled {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestRecognizeCompleted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /**\n * Defines the result for RecognitionType = Speech and SpeechOrDtmf\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly speechResult?: SpeechResult;\n}\n\nexport interface RestRecognizeFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n}\n\nexport interface RestRecognizeCanceled {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestContinuousDtmfRecognitionToneReceived {\n /**\n * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly sequenceId?: number;\n tone?: Tone;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\nexport interface RestContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestSendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestSendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** Successful cancel add participant event. */\nexport interface RestCancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the request. */\n invitationId?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** Failed cancel add participant event. */\nexport interface RestCancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n /** Invitation ID used to cancel the request. */\n invitationId?: string;\n}\n\nexport interface RestTranscriptionStarted {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestTranscriptionStopped {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestTranscriptionUpdated {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestTranscriptionFailed {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** The create call failed event. */\nexport interface RestCreateCallFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** The failed to answer call event. */\nexport interface RestAnswerFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\nexport interface RestHoldFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: RestResultInformation;\n}\n\n/** The incoming call event. */\nexport interface RestIncomingCall {\n /**\n * The communication identifier of the target user.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly to?: CommunicationIdentifierModel;\n /**\n * The communication identifier of the user who initiated the call.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly from?: CommunicationIdentifierModel;\n /**\n * Display name of caller.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly callerDisplayName?: string;\n /**\n * The server call id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly serverCallId?: string;\n /**\n * Custom Context of Incoming Call\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly customContext?: CustomCallingContextInternal;\n /**\n * Incoming call context.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly incomingCallContext?: string;\n /**\n * The communication identifier of the user on behalf of whom the call is made.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly onBehalfOfCallee?: CommunicationIdentifierModel;\n /**\n * Correlation ID for event to call correlation. Also called ChainId for skype chain ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly correlationId?: string;\n}\n\n/** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */\nexport enum KnownCommunicationIdentifierModelKind {\n /** Unknown */\n Unknown = \"unknown\",\n /** CommunicationUser */\n CommunicationUser = \"communicationUser\",\n /** PhoneNumber */\n PhoneNumber = \"phoneNumber\",\n /** MicrosoftTeamsUser */\n MicrosoftTeamsUser = \"microsoftTeamsUser\",\n /** MicrosoftTeamsApp */\n MicrosoftTeamsApp = \"microsoftTeamsApp\",\n /** TeamsExtensionUser */\n TeamsExtensionUser = \"teamsExtensionUser\",\n}\n\n/**\n * Defines values for CommunicationIdentifierModelKind. \\\n * {@link KnownCommunicationIdentifierModelKind} can be used interchangeably with CommunicationIdentifierModelKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **unknown** \\\n * **communicationUser** \\\n * **phoneNumber** \\\n * **microsoftTeamsUser** \\\n * **microsoftTeamsApp** \\\n * **teamsExtensionUser**\n */\nexport type CommunicationIdentifierModelKind = string;\n\n/** Known values of {@link CommunicationCloudEnvironmentModel} that the service accepts. */\nexport enum KnownCommunicationCloudEnvironmentModel {\n /** Public */\n Public = \"public\",\n /** Dod */\n Dod = \"dod\",\n /** Gcch */\n Gcch = \"gcch\",\n}\n\n/**\n * Defines values for CommunicationCloudEnvironmentModel. \\\n * {@link KnownCommunicationCloudEnvironmentModel} can be used interchangeably with CommunicationCloudEnvironmentModel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **public** \\\n * **dod** \\\n * **gcch**\n */\nexport type CommunicationCloudEnvironmentModel = string;\n\n/** Known values of {@link MediaStreamingTransportType} that the service accepts. */\nexport enum KnownMediaStreamingTransportType {\n /** Websocket */\n Websocket = \"websocket\",\n}\n\n/**\n * Defines values for MediaStreamingTransportType. \\\n * {@link KnownMediaStreamingTransportType} can be used interchangeably with MediaStreamingTransportType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **websocket**\n */\nexport type MediaStreamingTransportType = string;\n\n/** Known values of {@link MediaStreamingContentType} that the service accepts. */\nexport enum KnownMediaStreamingContentType {\n /** Audio */\n Audio = \"audio\",\n}\n\n/**\n * Defines values for MediaStreamingContentType. \\\n * {@link KnownMediaStreamingContentType} can be used interchangeably with MediaStreamingContentType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **audio**\n */\nexport type MediaStreamingContentType = string;\n\n/** Known values of {@link MediaStreamingAudioChannelType} that the service accepts. */\nexport enum KnownMediaStreamingAudioChannelType {\n /** Mixed */\n Mixed = \"mixed\",\n /** Unmixed */\n Unmixed = \"unmixed\",\n}\n\n/**\n * Defines values for MediaStreamingAudioChannelType. \\\n * {@link KnownMediaStreamingAudioChannelType} can be used interchangeably with MediaStreamingAudioChannelType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **mixed** \\\n * **unmixed**\n */\nexport type MediaStreamingAudioChannelType = string;\n\n/** Known values of {@link AudioFormat} that the service accepts. */\nexport enum KnownAudioFormat {\n /** Pcm16KMono */\n Pcm16KMono = \"Pcm16KMono\",\n /** Pcm24KMono */\n Pcm24KMono = \"Pcm24KMono\",\n}\n\n/**\n * Defines values for AudioFormat. \\\n * {@link KnownAudioFormat} can be used interchangeably with AudioFormat,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pcm16KMono**: Pcm16KMono \\\n * **Pcm24KMono**: Pcm24KMono\n */\nexport type AudioFormat = string;\n\n/** Known values of {@link TranscriptionTransportType} that the service accepts. */\nexport enum KnownTranscriptionTransportType {\n /** Websocket */\n Websocket = \"websocket\",\n}\n\n/**\n * Defines values for TranscriptionTransportType. \\\n * {@link KnownTranscriptionTransportType} can be used interchangeably with TranscriptionTransportType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **websocket**\n */\nexport type TranscriptionTransportType = string;\n\n/** Known values of {@link CallConnectionStateModel} that the service accepts. */\nexport enum KnownCallConnectionStateModel {\n /** Unknown */\n Unknown = \"unknown\",\n /** Connecting */\n Connecting = \"connecting\",\n /** Connected */\n Connected = \"connected\",\n /** Transferring */\n Transferring = \"transferring\",\n /** TransferAccepted */\n TransferAccepted = \"transferAccepted\",\n /** Disconnecting */\n Disconnecting = \"disconnecting\",\n /** Disconnected */\n Disconnected = \"disconnected\",\n}\n\n/**\n * Defines values for CallConnectionStateModel. \\\n * {@link KnownCallConnectionStateModel} can be used interchangeably with CallConnectionStateModel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **unknown** \\\n * **connecting** \\\n * **connected** \\\n * **transferring** \\\n * **transferAccepted** \\\n * **disconnecting** \\\n * **disconnected**\n */\nexport type CallConnectionStateModel = string;\n\n/** Known values of {@link MediaStreamingSubscriptionState} that the service accepts. */\nexport enum KnownMediaStreamingSubscriptionState {\n /** Disabled */\n Disabled = \"disabled\",\n /** Inactive */\n Inactive = \"inactive\",\n /** Active */\n Active = \"active\",\n}\n\n/**\n * Defines values for MediaStreamingSubscriptionState. \\\n * {@link KnownMediaStreamingSubscriptionState} can be used interchangeably with MediaStreamingSubscriptionState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **disabled** \\\n * **inactive** \\\n * **active**\n */\nexport type MediaStreamingSubscriptionState = string;\n\n/** Known values of {@link TranscriptionSubscriptionState} that the service accepts. */\nexport enum KnownTranscriptionSubscriptionState {\n /** Disabled */\n Disabled = \"disabled\",\n /** Inactive */\n Inactive = \"inactive\",\n /** Active */\n Active = \"active\",\n}\n\n/**\n * Defines values for TranscriptionSubscriptionState. \\\n * {@link KnownTranscriptionSubscriptionState} can be used interchangeably with TranscriptionSubscriptionState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **disabled** \\\n * **inactive** \\\n * **active**\n */\nexport type TranscriptionSubscriptionState = string;\n\n/** Known values of {@link TranscriptionResultState} that the service accepts. */\nexport enum KnownTranscriptionResultState {\n /** Final */\n Final = \"final\",\n /** Intermediate */\n Intermediate = \"intermediate\",\n}\n\n/**\n * Defines values for TranscriptionResultState. \\\n * {@link KnownTranscriptionResultState} can be used interchangeably with TranscriptionResultState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **final** \\\n * **intermediate**\n */\nexport type TranscriptionResultState = string;\n\n/** Known values of {@link CallRejectReason} that the service accepts. */\nexport enum KnownCallRejectReason {\n /** None */\n None = \"none\",\n /** Busy */\n Busy = \"busy\",\n /** Forbidden */\n Forbidden = \"forbidden\",\n}\n\n/**\n * Defines values for CallRejectReason. \\\n * {@link KnownCallRejectReason} can be used interchangeably with CallRejectReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **none** \\\n * **busy** \\\n * **forbidden**\n */\nexport type CallRejectReason = string;\n\n/** Known values of {@link CallLocatorKind} that the service accepts. */\nexport enum KnownCallLocatorKind {\n /** GroupCallLocator */\n GroupCallLocator = \"groupCallLocator\",\n /** ServerCallLocator */\n ServerCallLocator = \"serverCallLocator\",\n /** RoomCallLocator */\n RoomCallLocator = \"roomCallLocator\",\n}\n\n/**\n * Defines values for CallLocatorKind. \\\n * {@link KnownCallLocatorKind} can be used interchangeably with CallLocatorKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **groupCallLocator** \\\n * **serverCallLocator** \\\n * **roomCallLocator**\n */\nexport type CallLocatorKind = string;\n\n/** Known values of {@link PlaySourceType} that the service accepts. */\nexport enum KnownPlaySourceType {\n /** File */\n File = \"file\",\n /** Text */\n Text = \"text\",\n /** Ssml */\n Ssml = \"ssml\",\n}\n\n/**\n * Defines values for PlaySourceType. \\\n * {@link KnownPlaySourceType} can be used interchangeably with PlaySourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **file** \\\n * **text** \\\n * **ssml**\n */\nexport type PlaySourceType = string;\n\n/** Known values of {@link VoiceKind} that the service accepts. */\nexport enum KnownVoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/**\n * Defines values for VoiceKind. \\\n * {@link KnownVoiceKind} can be used interchangeably with VoiceKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **male** \\\n * **female**\n */\nexport type VoiceKind = string;\n\n/** Known values of {@link RecognizeInputType} that the service accepts. */\nexport enum KnownRecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n /** Speech */\n Speech = \"speech\",\n /** SpeechOrDtmf */\n SpeechOrDtmf = \"speechOrDtmf\",\n /** Choices */\n Choices = \"choices\",\n}\n\n/**\n * Defines values for RecognizeInputType. \\\n * {@link KnownRecognizeInputType} can be used interchangeably with RecognizeInputType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **dtmf** \\\n * **speech** \\\n * **speechOrDtmf** \\\n * **choices**\n */\nexport type RecognizeInputType = string;\n\n/** Known values of {@link Tone} that the service accepts. */\nexport enum KnownTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/**\n * Defines values for Tone. \\\n * {@link KnownTone} can be used interchangeably with Tone,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **zero** \\\n * **one** \\\n * **two** \\\n * **three** \\\n * **four** \\\n * **five** \\\n * **six** \\\n * **seven** \\\n * **eight** \\\n * **nine** \\\n * **a** \\\n * **b** \\\n * **c** \\\n * **d** \\\n * **pound** \\\n * **asterisk**\n */\nexport type Tone = string;\n\n/** Known values of {@link RecordingContentType} that the service accepts. */\nexport enum KnownRecordingContentType {\n /** Audio */\n Audio = \"audio\",\n /** AudioVideo */\n AudioVideo = \"audioVideo\",\n}\n\n/**\n * Defines values for RecordingContentType. \\\n * {@link KnownRecordingContentType} can be used interchangeably with RecordingContentType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **audio** \\\n * **audioVideo**\n */\nexport type RecordingContentType = string;\n\n/** Known values of {@link RecordingChannelType} that the service accepts. */\nexport enum KnownRecordingChannelType {\n /** Mixed */\n Mixed = \"mixed\",\n /** Unmixed */\n Unmixed = \"unmixed\",\n}\n\n/**\n * Defines values for RecordingChannelType. \\\n * {@link KnownRecordingChannelType} can be used interchangeably with RecordingChannelType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **mixed** \\\n * **unmixed**\n */\nexport type RecordingChannelType = string;\n\n/** Known values of {@link RecordingFormatType} that the service accepts. */\nexport enum KnownRecordingFormatType {\n /** Wav */\n Wav = \"wav\",\n /** Mp3 */\n Mp3 = \"mp3\",\n /** Mp4 */\n Mp4 = \"mp4\",\n}\n\n/**\n * Defines values for RecordingFormatType. \\\n * {@link KnownRecordingFormatType} can be used interchangeably with RecordingFormatType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **wav** \\\n * **mp3** \\\n * **mp4**\n */\nexport type RecordingFormatType = string;\n\n/** Known values of {@link RecordingStorageKind} that the service accepts. */\nexport enum KnownRecordingStorageKind {\n /** Storage managed by Azure Communication Services */\n AzureCommunicationServices = \"AzureCommunicationServices\",\n /** Storage managed by provided Azure blob */\n AzureBlobStorage = \"AzureBlobStorage\",\n}\n\n/**\n * Defines values for RecordingStorageKind. \\\n * {@link KnownRecordingStorageKind} can be used interchangeably with RecordingStorageKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureCommunicationServices**: Storage managed by Azure Communication Services \\\n * **AzureBlobStorage**: Storage managed by provided Azure blob\n */\nexport type RecordingStorageKind = string;\n\n/** Known values of {@link RecordingState} that the service accepts. */\nexport enum KnownRecordingState {\n /** Active */\n Active = \"active\",\n /** Inactive */\n Inactive = \"inactive\",\n}\n\n/**\n * Defines values for RecordingState. \\\n * {@link KnownRecordingState} can be used interchangeably with RecordingState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **active** \\\n * **inactive**\n */\nexport type RecordingState = string;\n\n/** Known values of {@link RecordingKind} that the service accepts. */\nexport enum KnownRecordingKind {\n /** Recording initiated by Azure Communication Services */\n AzureCommunicationServices = \"AzureCommunicationServices\",\n /** Recording initiated by Teams user */\n Teams = \"Teams\",\n /** Recording initiated by Teams compliance policy */\n TeamsCompliance = \"TeamsCompliance\",\n}\n\n/**\n * Defines values for RecordingKind. \\\n * {@link KnownRecordingKind} can be used interchangeably with RecordingKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureCommunicationServices**: Recording initiated by Azure Communication Services \\\n * **Teams**: Recording initiated by Teams user \\\n * **TeamsCompliance**: Recording initiated by Teams compliance policy\n */\nexport type RecordingKind = string;\n\n/** Known values of {@link MediaStreamingStatus} that the service accepts. */\nexport enum KnownMediaStreamingStatus {\n /** MediaStreamingStarted */\n MediaStreamingStarted = \"mediaStreamingStarted\",\n /** MediaStreamingFailed */\n MediaStreamingFailed = \"mediaStreamingFailed\",\n /** MediaStreamingStopped */\n MediaStreamingStopped = \"mediaStreamingStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n}\n\n/**\n * Defines values for MediaStreamingStatus. \\\n * {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **mediaStreamingStarted** \\\n * **mediaStreamingFailed** \\\n * **mediaStreamingStopped** \\\n * **unspecifiedError**\n */\nexport type MediaStreamingStatus = string;\n\n/** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */\nexport enum KnownMediaStreamingStatusDetails {\n /** SubscriptionStarted */\n SubscriptionStarted = \"subscriptionStarted\",\n /** StreamConnectionReestablished */\n StreamConnectionReestablished = \"streamConnectionReestablished\",\n /** StreamConnectionUnsuccessful */\n StreamConnectionUnsuccessful = \"streamConnectionUnsuccessful\",\n /** StreamUrlMissing */\n StreamUrlMissing = \"streamUrlMissing\",\n /** ServiceShutdown */\n ServiceShutdown = \"serviceShutdown\",\n /** StreamConnectionInterrupted */\n StreamConnectionInterrupted = \"streamConnectionInterrupted\",\n /** SpeechServicesConnectionError */\n SpeechServicesConnectionError = \"speechServicesConnectionError\",\n /** SubscriptionStopped */\n SubscriptionStopped = \"subscriptionStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n /** AuthenticationFailure */\n AuthenticationFailure = \"authenticationFailure\",\n /** BadRequest */\n BadRequest = \"badRequest\",\n /** TooManyRequests */\n TooManyRequests = \"tooManyRequests\",\n /** Forbidden */\n Forbidden = \"forbidden\",\n /** ServiceTimeout */\n ServiceTimeout = \"serviceTimeout\",\n /** InitialWebSocketConnectionFailed */\n InitialWebSocketConnectionFailed = \"initialWebSocketConnectionFailed\",\n}\n\n/**\n * Defines values for MediaStreamingStatusDetails. \\\n * {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **subscriptionStarted** \\\n * **streamConnectionReestablished** \\\n * **streamConnectionUnsuccessful** \\\n * **streamUrlMissing** \\\n * **serviceShutdown** \\\n * **streamConnectionInterrupted** \\\n * **speechServicesConnectionError** \\\n * **subscriptionStopped** \\\n * **unspecifiedError** \\\n * **authenticationFailure** \\\n * **badRequest** \\\n * **tooManyRequests** \\\n * **forbidden** \\\n * **serviceTimeout** \\\n * **initialWebSocketConnectionFailed**\n */\nexport type MediaStreamingStatusDetails = string;\n\n/** Known values of {@link TranscriptionStatus} that the service accepts. */\nexport enum KnownTranscriptionStatus {\n /** TranscriptionStarted */\n TranscriptionStarted = \"transcriptionStarted\",\n /** TranscriptionFailed */\n TranscriptionFailed = \"transcriptionFailed\",\n /** TranscriptionResumed */\n TranscriptionResumed = \"transcriptionResumed\",\n /** TranscriptionUpdated */\n TranscriptionUpdated = \"transcriptionUpdated\",\n /** TranscriptionStopped */\n TranscriptionStopped = \"transcriptionStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n}\n\n/**\n * Defines values for TranscriptionStatus. \\\n * {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **transcriptionStarted** \\\n * **transcriptionFailed** \\\n * **transcriptionResumed** \\\n * **transcriptionUpdated** \\\n * **transcriptionStopped** \\\n * **unspecifiedError**\n */\nexport type TranscriptionStatus = string;\n\n/** Known values of {@link TranscriptionStatusDetails} that the service accepts. */\nexport enum KnownTranscriptionStatusDetails {\n /** SubscriptionStarted */\n SubscriptionStarted = \"subscriptionStarted\",\n /** StreamConnectionReestablished */\n StreamConnectionReestablished = \"streamConnectionReestablished\",\n /** StreamConnectionUnsuccessful */\n StreamConnectionUnsuccessful = \"streamConnectionUnsuccessful\",\n /** StreamUrlMissing */\n StreamUrlMissing = \"streamUrlMissing\",\n /** ServiceShutdown */\n ServiceShutdown = \"serviceShutdown\",\n /** StreamConnectionInterrupted */\n StreamConnectionInterrupted = \"streamConnectionInterrupted\",\n /** SpeechServicesConnectionError */\n SpeechServicesConnectionError = \"speechServicesConnectionError\",\n /** SubscriptionStopped */\n SubscriptionStopped = \"subscriptionStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n /** AuthenticationFailure */\n AuthenticationFailure = \"authenticationFailure\",\n /** BadRequest */\n BadRequest = \"badRequest\",\n /** TooManyRequests */\n TooManyRequests = \"tooManyRequests\",\n /** Forbidden */\n Forbidden = \"forbidden\",\n /** ServiceTimeout */\n ServiceTimeout = \"serviceTimeout\",\n /** TranscriptionLocaleUpdated */\n TranscriptionLocaleUpdated = \"transcriptionLocaleUpdated\",\n}\n\n/**\n * Defines values for TranscriptionStatusDetails. \\\n * {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **subscriptionStarted** \\\n * **streamConnectionReestablished** \\\n * **streamConnectionUnsuccessful** \\\n * **streamUrlMissing** \\\n * **serviceShutdown** \\\n * **streamConnectionInterrupted** \\\n * **speechServicesConnectionError** \\\n * **subscriptionStopped** \\\n * **unspecifiedError** \\\n * **authenticationFailure** \\\n * **badRequest** \\\n * **tooManyRequests** \\\n * **forbidden** \\\n * **serviceTimeout** \\\n * **transcriptionLocaleUpdated**\n */\nexport type TranscriptionStatusDetails = string;\n\n/** Known values of {@link RecognitionType} that the service accepts. */\nexport enum KnownRecognitionType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n /** Speech */\n Speech = \"speech\",\n /** Choices */\n Choices = \"choices\",\n}\n\n/**\n * Defines values for RecognitionType. \\\n * {@link KnownRecognitionType} can be used interchangeably with RecognitionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **dtmf** \\\n * **speech** \\\n * **choices**\n */\nexport type RecognitionType = string;\n\n/** Optional parameters. */\nexport interface CreateCallOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the createCall operation. */\nexport type CreateCallResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface AnswerCallOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the answerCall operation. */\nexport type AnswerCallResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface RedirectCallOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Optional parameters. */\nexport interface RejectCallOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Optional parameters. */\nexport interface ConnectOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the connect operation. */\nexport type ConnectResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface CallConnectionGetCallOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCall operation. */\nexport type CallConnectionGetCallResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface CallConnectionHangupCallOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallConnectionTerminateCallOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Optional parameters. */\nexport interface CallConnectionTransferToParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the transferToParticipant operation. */\nexport type CallConnectionTransferToParticipantResponse = TransferCallResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionGetParticipantsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParticipants operation. */\nexport type CallConnectionGetParticipantsResponse = GetParticipantsResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionAddParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the addParticipant operation. */\nexport type CallConnectionAddParticipantResponse = AddParticipantResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionRemoveParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the removeParticipant operation. */\nexport type CallConnectionRemoveParticipantResponse = RemoveParticipantResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionMuteOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the mute operation. */\nexport type CallConnectionMuteResponse = MuteParticipantsResult;\n\n/** Optional parameters. */\nexport interface CallConnectionCancelAddParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the cancelAddParticipant operation. */\nexport type CallConnectionCancelAddParticipantResponse =\n CancelAddParticipantResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionGetParticipantOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParticipant operation. */\nexport type CallConnectionGetParticipantResponse = CallParticipantInternal;\n\n/** Optional parameters. */\nexport interface CallConnectionGetParticipantsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParticipantsNext operation. */\nexport type CallConnectionGetParticipantsNextResponse = GetParticipantsResponse;\n\n/** Optional parameters. */\nexport interface CallMediaPlayOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStartTranscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStopTranscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaUpdateTranscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaCancelAllMediaOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaRecognizeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStartContinuousDtmfRecognitionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStopContinuousDtmfRecognitionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaSendDtmfTonesOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the sendDtmfTones operation. */\nexport type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult;\n\n/** Optional parameters. */\nexport interface CallMediaHoldOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaUnholdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStartMediaStreamingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStopMediaStreamingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallRecordingStartRecordingOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the startRecording operation. */\nexport type CallRecordingStartRecordingResponse = RecordingStateResponse;\n\n/** Optional parameters. */\nexport interface CallRecordingGetRecordingPropertiesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getRecordingProperties operation. */\nexport type CallRecordingGetRecordingPropertiesResponse =\n RecordingStateResponse;\n\n/** Optional parameters. */\nexport interface CallRecordingStopRecordingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallRecordingPauseRecordingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallRecordingResumeRecordingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallAutomationApiClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAs2CH,yFAAyF;AACzF,MAAM,CAAN,IAAY,qCAaX;AAbD,WAAY,qCAAqC;IAC/C,cAAc;IACd,4DAAmB,CAAA;IACnB,wBAAwB;IACxB,gFAAuC,CAAA;IACvC,kBAAkB;IAClB,oEAA2B,CAAA;IAC3B,yBAAyB;IACzB,kFAAyC,CAAA;IACzC,wBAAwB;IACxB,gFAAuC,CAAA;IACvC,yBAAyB;IACzB,kFAAyC,CAAA;AAC3C,CAAC,EAbW,qCAAqC,KAArC,qCAAqC,QAahD;AAgBD,2FAA2F;AAC3F,MAAM,CAAN,IAAY,uCAOX;AAPD,WAAY,uCAAuC;IACjD,aAAa;IACb,4DAAiB,CAAA;IACjB,UAAU;IACV,sDAAW,CAAA;IACX,WAAW;IACX,wDAAa,CAAA;AACf,CAAC,EAPW,uCAAuC,KAAvC,uCAAuC,QAOlD;AAaD,+EAA+E;AAC/E,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,gBAAgB;IAChB,sDAAuB,CAAA;AACzB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AAWD,uFAAuF;AACvF,MAAM,CAAN,IAAY,mCAKX;AALD,WAAY,mCAAmC;IAC7C,YAAY;IACZ,sDAAe,CAAA;IACf,cAAc;IACd,0DAAmB,CAAA;AACrB,CAAC,EALW,mCAAmC,KAAnC,mCAAmC,QAK9C;AAYD,iFAAiF;AACjF,MAAM,CAAN,IAAY,6BAeX;AAfD,WAA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ensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport type MediaStreamingOptionsInternalUnion =\n | MediaStreamingOptionsInternal\n | WebSocketMediaStreamingOptions;\nexport type TranscriptionOptionsInternalUnion =\n | TranscriptionOptionsInternal\n | WebSocketTranscriptionOptions;\n\n/** The request payload for creating the call. */\nexport interface CreateCallRequest {\n /** The targets of the call. */\n targets: CommunicationIdentifierModel[];\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n /** Display name of the call if dialing out to a pstn number */\n sourceDisplayName?: string;\n /** The identifier of the source of the call */\n source?: CommunicationUserIdentifierModel;\n /** A customer set value used to track the answering of a call. */\n operationContext?: string;\n /** The callback URI. */\n callbackUri: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptionsInternal;\n /** Media Streaming Options. */\n mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;\n /** Transcription Options. */\n transcriptionOptions?: TranscriptionOptionsInternalUnion;\n /** The identifier of the source for creating call with Teams resource account ID. */\n teamsAppSource?: MicrosoftTeamsAppIdentifierModel;\n}\n\n/** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value. */\nexport interface CommunicationIdentifierModel {\n /** The identifier kind. Only required in responses. */\n kind?: CommunicationIdentifierModelKind;\n /** Raw Id of the identifier. Optional in requests, required in responses. */\n rawId?: string;\n /** The communication user. */\n communicationUser?: CommunicationUserIdentifierModel;\n /** The phone number. */\n phoneNumber?: PhoneNumberIdentifierModel;\n /** The Microsoft Teams user. */\n microsoftTeamsUser?: MicrosoftTeamsUserIdentifierModel;\n /** The Microsoft Teams application. */\n microsoftTeamsApp?: MicrosoftTeamsAppIdentifierModel;\n /** The Microsoft Teams Extension user. */\n teamsExtensionUser?: TeamsExtensionUserIdentifierModel;\n}\n\n/** A user that got created with an Azure Communication Services resource. */\nexport interface CommunicationUserIdentifierModel {\n /** The Id of the communication user. */\n id: string;\n}\n\n/** A phone number. */\nexport interface PhoneNumberIdentifierModel {\n /** The phone number, usually in E.164 format. */\n value: string;\n /** True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value will be the string 'anonymous'. */\n isAnonymous?: boolean;\n /** The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call more than once. */\n assertedId?: string;\n}\n\n/** A Microsoft Teams user. */\nexport interface MicrosoftTeamsUserIdentifierModel {\n /** The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user. */\n userId: string;\n /** True if the Microsoft Teams user is anonymous. By default false if missing. */\n isAnonymous?: boolean;\n /** The cloud that the Microsoft Teams user belongs to. By default 'public' if missing. */\n cloud?: CommunicationCloudEnvironmentModel;\n}\n\n/** A Microsoft Teams application. */\nexport interface MicrosoftTeamsAppIdentifierModel {\n /** The Id of the Microsoft Teams application. */\n appId: string;\n /** The cloud that the Microsoft Teams application belongs to. By default 'public' if missing. */\n cloud?: CommunicationCloudEnvironmentModel;\n}\n\n/** A Microsoft Teams Phone user who is using a Communication Services resource to extend their Teams Phone set up. */\nexport interface TeamsExtensionUserIdentifierModel {\n /** The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user. */\n userId: string;\n /** The tenant Id of the Microsoft Teams Extension user. */\n tenantId: string;\n /** The Communication Services resource Id. */\n resourceId: string;\n /** The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing. */\n cloud?: CommunicationCloudEnvironmentModel;\n}\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptionsInternal {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n\n/** Options for media streaming. */\nexport interface MediaStreamingOptionsInternal {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n transportType: \"websocket\";\n /** The audio channel type to stream, e.g., unmixed audio, mixed audio. */\n audioChannelType: MediaStreamingAudioChannelType;\n}\n\n/** Options for live transcription. */\nexport interface TranscriptionOptionsInternal {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n transportType: \"websocket\";\n /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */\n locale: string;\n}\n\n/** Properties of a call connection */\nexport interface CallConnectionPropertiesInternal {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /** The targets of the call. */\n targets?: CommunicationIdentifierModel[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URI. */\n callbackUri?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifierModel;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredBy?: CommunicationUserIdentifierModel;\n /** The state of media streaming subscription for the call */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifierModel;\n}\n\n/** Media streaming Subscription Object. */\nexport interface MediaStreamingSubscription {\n /** Subscription Id. */\n id?: string;\n /** Media streaming subscription state. */\n state?: MediaStreamingSubscriptionState;\n /** Subscribed media streaming content types. */\n subscribedContentTypes?: MediaStreamingContentType[];\n}\n\n/** Transcription Subscription Object. */\nexport interface TranscriptionSubscription {\n /** Subscription Id. */\n id?: string;\n /** Transcription subscription state. */\n state?: TranscriptionSubscriptionState;\n /** Subscribed transcription result types. */\n subscribedResultStates?: TranscriptionResultState[];\n /** Specifies the locale used for transcription, e.g., en-CA or en-AU. */\n locale?: string;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationErrorResponse {\n /** The Communication Services error. */\n error: CommunicationError;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationError {\n /** The error code. */\n code: string;\n /** The error message. */\n message: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * Further details about specific errors that led to this error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: CommunicationError[];\n /**\n * The inner error if any.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: CommunicationError;\n}\n\n/** The request payload for answering the call. */\nexport interface AnswerCallRequest {\n /** The context associated with the call. */\n incomingCallContext: string;\n /** The callback uri. */\n callbackUri: string;\n /** A customer set value used to track the answering of a call. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptionsInternal;\n /** The identifier of the call automation entity which answers the call */\n answeredBy?: CommunicationUserIdentifierModel;\n /** Media Streaming Options. */\n mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;\n /** Transcription Options. */\n transcriptionOptions?: TranscriptionOptionsInternalUnion;\n}\n\n/** The request payload for redirecting the call. */\nexport interface RedirectCallRequest {\n /** The context associated with the call. */\n incomingCallContext: string;\n /** The target identity to redirect the call to. */\n target: CommunicationIdentifierModel;\n}\n\n/** The request payload for rejecting the call. */\nexport interface RejectCallRequest {\n /** The context associated with the call. */\n incomingCallContext: string;\n /** The rejection reason. */\n callRejectReason?: CallRejectReason;\n}\n\n/** The request payload for creating a connection to a CallLocator. */\nexport interface ConnectRequest {\n /** The call locator. */\n callLocator: CallLocator;\n /** The callback URI. */\n callbackUri: string;\n /** Used by customers to correlate the request to the response event. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptionsInternal;\n /** Media Streaming Options. */\n mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;\n /** Transcription Options. */\n transcriptionOptions?: TranscriptionOptionsInternalUnion;\n}\n\n/** The locator used for joining or taking action on a call */\nexport interface CallLocator {\n /** The group call id */\n groupCallId?: string;\n /** The server call id. */\n serverCallId?: string;\n /** The Acs room id. (Not supported for Start Recording) */\n roomId?: string;\n /** The call locator kind. */\n kind?: CallLocatorKind;\n}\n\n/** The request payload for transferring call to a participant. */\nexport interface TransferToParticipantRequest {\n /** The identity of the target where call should be transferred to. */\n targetParticipant: CommunicationIdentifierModel;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Transferee is the participant who is transferred away. */\n transferee?: CommunicationIdentifierModel;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** Used by customer to send custom calling context to targets */\n customCallingContext?: CustomCallingContextInternal;\n /** The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call to a Pstn target. */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n}\n\n/** The custom calling context which will be sent to the target */\nexport interface CustomCallingContextInternal {\n /** Custom calling context VoiP headers */\n voipHeaders?: { [propertyName: string]: string };\n /** Custom calling context SIP headers */\n sipHeaders?: { [propertyName: string]: string };\n}\n\n/** The response payload for transferring the call. */\nexport interface TransferCallResponse {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\nexport interface PlayRequest {\n /** The source of the audio to be played. */\n playSources: PlaySourceInternal[];\n /**\n * The list of call participants play provided audio to.\n * Plays to everyone in the call when not provided.\n */\n playTo?: CommunicationIdentifierModel[];\n /** If set play can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n /** Defines options for playing the audio. */\n playOptions?: PlayOptionsInternal;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface PlaySourceInternal {\n /** Defines the type of the play source */\n kind: PlaySourceType;\n /** Defines the identifier to be used for caching related media */\n playSourceCacheId?: string;\n /** Defines the file source info to be used for play */\n file?: FileSourceInternal;\n /** Defines the text source info to be used for play */\n text?: TextSourceInternal;\n /** Defines the ssml(Speech Synthesis Markup Language) source info to be used for play */\n ssml?: SsmlSourceInternal;\n}\n\nexport interface FileSourceInternal {\n /** Uri for the audio file to be played */\n uri: string;\n}\n\nexport interface TextSourceInternal {\n /** Text for the cognitive service to be played */\n text: string;\n /**\n * Source language locale to be played\n * Refer to available locales here: <seealso href=\"https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts\" />\n */\n sourceLocale?: string;\n /** Voice kind type */\n voiceKind?: VoiceKind;\n /**\n * Voice name to be played\n * Refer to available Text-to-speech voices here: <seealso href=\"https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts\" />\n */\n voiceName?: string;\n /** Endpoint where the custom voice was deployed. */\n customVoiceEndpointId?: string;\n}\n\nexport interface SsmlSourceInternal {\n /** Ssml string for the cognitive service to be played */\n ssmlText: string;\n /** Endpoint where the custom voice was deployed. */\n customVoiceEndpointId?: string;\n}\n\nexport interface PlayOptionsInternal {\n /** The option to play the provided audio source in loop when set to true */\n loop: boolean;\n}\n\nexport interface StartTranscriptionRequest {\n /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */\n locale?: string;\n /** The ID of the deployed custom model in GUID format. The GUID is generated by Azure Speech Studio, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */\n speechModelEndpointId?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface StopTranscriptionRequest {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface UpdateTranscriptionRequest {\n /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */\n locale?: string;\n /** The ID of the deployed custom model, in GUID format, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */\n speechModelEndpointId?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface RecognizeRequest {\n /** Determines the type of the recognition. */\n recognizeInputType: RecognizeInputType;\n /** The source of the audio to be played for recognition. */\n playPrompt?: PlaySourceInternal;\n /** The source of the audio to be played for recognition. */\n playPrompts?: PlaySourceInternal[];\n /** If set recognize can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n /** Defines options for recognition. */\n recognizeOptions: RecognizeOptions;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface RecognizeOptions {\n /** Determines if we interrupt the prompt and start recognizing. */\n interruptPrompt?: boolean;\n /** Time to wait for first input after prompt (if any). */\n initialSilenceTimeoutInSeconds?: number;\n /** Target participant of DTMF tone recognition. */\n targetParticipant: CommunicationIdentifierModel;\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** Defines configurations for DTMF. */\n dtmfOptions?: DtmfOptions;\n /** Defines Ivr choices for recognize. */\n choices?: Choice[];\n /** Defines continuous speech recognition option. */\n speechOptions?: SpeechOptions;\n}\n\n/** Options for DTMF recognition */\nexport interface DtmfOptions {\n /** Time to wait between DTMF inputs to stop recognizing. */\n interToneTimeoutInSeconds?: number;\n /** Maximum number of DTMF tones to be collected. */\n maxTonesToCollect?: number;\n /** List of tones that will stop recognizing. */\n stopTones?: Tone[];\n}\n\nexport interface Choice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: Tone;\n}\n\n/** Options for continuous speech recognition */\nexport interface SpeechOptions {\n /** The length of end silence when user stops speaking and cogservice send response. */\n endSilenceTimeoutInMs?: number;\n}\n\nexport interface ContinuousDtmfRecognitionRequest {\n /** Defines options for recognition. */\n targetParticipant: CommunicationIdentifierModel;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface SendDtmfTonesRequest {\n /** List of tones to be sent to target participant. */\n tones: Tone[];\n /** Target participant of send Dtmf tones. */\n targetParticipant: CommunicationIdentifierModel;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface SendDtmfTonesResult {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** The request payload for holding participant from the call. */\nexport interface HoldRequest {\n /** Participant to be held from the call. */\n targetParticipant: CommunicationIdentifierModel;\n /** Prompt to play while in hold. */\n playSourceInfo?: PlaySourceInternal;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\n/** The request payload for holding participant from the call. */\nexport interface UnholdRequest {\n /**\n * Participants to be hold from the call.\n * Only ACS Users are supported.\n */\n targetParticipant: CommunicationIdentifierModel;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\nexport interface StartMediaStreamingRequest {\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\nexport interface StopMediaStreamingRequest {\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/** The response payload for getting participants of the call. */\nexport interface GetParticipantsResponse {\n /** List of the current participants in the call. */\n value: CallParticipantInternal[];\n /** Continue of the list of participants */\n nextLink?: string;\n}\n\n/** A call participant. */\nexport interface CallParticipantInternal {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifierModel;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The request payload for adding participant to the call. */\nexport interface AddParticipantRequest {\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when inviting a PSTN participant.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifierModel;\n /**\n * (Optional) The display name of the source that is associated with this invite operation when\n * adding a PSTN participant or teams user. Note: Will not update the display name in the roster.\n */\n sourceDisplayName?: string;\n /** The participant to invite. */\n participantToAdd: CommunicationIdentifierModel;\n /**\n * Gets or sets the timeout to wait for the invited participant to pickup.\n * The maximum value of this is 180 seconds\n */\n invitationTimeoutInSeconds?: number;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n /** Used by customer to send custom calling context to targets */\n customCallingContext?: CustomCallingContextInternal;\n}\n\n/** The response payload for adding participants to the call. */\nexport interface AddParticipantResponse {\n /** List of current participants in the call. */\n participant?: CallParticipantInternal;\n /** The operation context provided by client. */\n operationContext?: string;\n /** Invitation ID used to add a participant. */\n invitationId?: string;\n}\n\n/** The remove participant by identifier request. */\nexport interface RemoveParticipantRequest {\n /** The participants to be removed from the call. */\n participantToRemove: CommunicationIdentifierModel;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\n/** The response payload for removing participants of the call. */\nexport interface RemoveParticipantResponse {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** The request payload for muting participants from the call. */\nexport interface MuteParticipantsRequest {\n /**\n * Participants to be muted from the call.\n * Only ACS Users are supported.\n */\n targetParticipants: CommunicationIdentifierModel[];\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\n/** The result payload for muting participants from the call. */\nexport interface MuteParticipantsResult {\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** Request payload for cancelling add participant request. */\nexport interface CancelAddParticipantRequest {\n /** Invitation ID used to add a participant. */\n invitationId: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUri?: string;\n}\n\n/** Response payload for cancel add participant request. */\nexport interface CancelAddParticipantResponse {\n /** Invitation ID used to cancel the add participant action. */\n invitationId?: string;\n /** The operation context provided by client. */\n operationContext?: string;\n}\n\n/** The request payload start for call recording operation with call locator. */\nexport interface StartCallRecordingRequest {\n /** The call locator. (Only one of callLocator or callConnectionId to be used) */\n callLocator?: CallLocator;\n /** The call connection Id. (Only one of callLocator or callConnectionId to be used) */\n callConnectionId?: string;\n /** The uri to send notifications to. */\n recordingStateCallbackUri?: string;\n /** The content type of call recording. */\n recordingContentType?: RecordingContentType;\n /** The channel type of call recording. */\n recordingChannelType?: RecordingChannelType;\n /** The format type of call recording. */\n recordingFormatType?: RecordingFormatType;\n /**\n * The sequential order in which audio channels are assigned to participants in the unmixed recording.\n * When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified,\n * the audio channel to participant mapping will be automatically assigned based on the order in which participant\n * first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.\n */\n audioChannelParticipantOrdering?: CommunicationIdentifierModel[];\n /**\n * The channel affinity of call recording\n * When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.\n * Channel-Participant mapping details can be found in the metadata of the recording.\n * ///\n */\n channelAffinity?: ChannelAffinity[];\n /** When set to true will start recording in Pause mode, which can be resumed. */\n pauseOnStart?: boolean;\n /** Optional property to specify location where recording will be stored */\n recordingStorage?: RecordingStorage;\n}\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n participant: CommunicationIdentifierModel;\n}\n\nexport interface RecordingStorage {\n /** Defines the kind of external storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface RecordingStateResponse {\n recordingId?: string;\n recordingState?: RecordingState;\n recordingKind?: RecordingKind;\n}\n\n/** The failed to add participants event. */\nexport interface AddParticipantFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\nexport interface ResultInformation {\n /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */\n code?: number;\n /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */\n subCode?: number;\n /** Detail message that describes the current result. */\n message?: string;\n}\n\n/** The participants successfully added event. */\nexport interface AddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** The call connected event. */\nexport interface CallConnected {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** The call disconnected event. */\nexport interface CallDisconnected {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** The call transfer accepted event. */\nexport interface CallTransferAccepted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Target who the call is transferred to. */\n transferTarget?: CommunicationIdentifierModel;\n /** the participant who is being transferred away. */\n transferee?: CommunicationIdentifierModel;\n}\n\n/** The call transfer failed event. */\nexport interface CallTransferFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** The participants updated in a call event. */\nexport interface ParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** The list of participants in the call. */\n participants?: CallParticipantInternal[];\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** The participant removed event. */\nexport interface RemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** The failed to remove participant event. */\nexport interface RemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant */\n participant?: CommunicationIdentifierModel;\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the request. */\n invitationId?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** Failed cancel add participant event. */\nexport interface CancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Invitation ID used to cancel the request. */\n invitationId?: string;\n}\n\n/** The failed to answer call event. */\nexport interface AnswerFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** The create call failed event. */\nexport interface CreateCallFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** The ConnectFailed event. */\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface RecordingStateChanged {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /**\n * The call recording id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recordingId?: string;\n state?: RecordingState;\n /**\n * The time of the recording started\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** Play started event. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface PlayCompleted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface PlayFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n}\n\nexport interface PlayCanceled {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface RecognizeCompleted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /**\n * Defines the result for RecognitionType = Speech and SpeechOrDtmf\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly speechResult?: SpeechResult;\n}\n\nexport interface DtmfResult {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly tones?: Tone[];\n}\n\nexport interface ChoiceResult {\n /** Label is the primary identifier for the choice detected */\n label?: string;\n /**\n * Phrases are set to the value if choice is selected via phrase detection.\n * If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null\n */\n recognizedPhrase?: string;\n /** The confidence level of the recognized speech, if available, ranges from 0.0 to 1.0 */\n confidence?: number;\n}\n\n/** The speech status as a result. */\nexport interface SpeechResult {\n /** The recognized speech in string. */\n speech?: string;\n /** The confidence level of the recognized speech, if available, ranges from 0.0 to 1.0. */\n confidence?: number;\n}\n\nexport interface RecognizeFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n}\n\nexport interface RecognizeCanceled {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface ContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\nexport interface ContinuousDtmfRecognitionToneReceived {\n /**\n * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly sequenceId?: number;\n tone?: Tone;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface ContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface SendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface SendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface MediaStreamingFailed {\n /**\n * Defines the result for MediaStreamingUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface MediaStreamingUpdate {\n contentType?: string;\n mediaStreamingStatus?: MediaStreamingStatus;\n mediaStreamingStatusDetails?: MediaStreamingStatusDetails;\n}\n\nexport interface MediaStreamingStarted {\n /**\n * Defines the result for MediaStreamingUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface MediaStreamingStopped {\n /**\n * Defines the result for MediaStreamingUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface HoldFailed {\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface StartRecordingFailed {\n /**\n * The call recording Id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly recordingId?: string;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface TranscriptionFailed {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface TranscriptionUpdate {\n transcriptionStatus?: TranscriptionStatus;\n transcriptionStatusDetails?: TranscriptionStatusDetails;\n}\n\nexport interface TranscriptionStarted {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface TranscriptionStopped {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\nexport interface TranscriptionUpdated {\n /**\n * Defines the result for TranscriptionUpdate with the current status and the details about the status\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId?: string;\n /** Server call ID. */\n serverCallId?: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId?: string;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n}\n\n/** Represents the options for WebSocket transport. */\nexport interface WebSocketMediaStreamingOptions\n extends MediaStreamingOptionsInternal {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n transportType: \"websocket\";\n /** The transport URL for media streaming. */\n transportUrl?: string;\n contentType?: MediaStreamingContentType;\n /** A value indicating whether the media streaming should start immediately after the call is answered. */\n startMediaStreaming?: boolean;\n /** A value indicating whether bidirectional streaming is enabled. */\n enableBidirectional?: boolean;\n /** The audio format used for encoding, including sample rate and channel type. The default is Pcm16KMono. */\n audioFormat?: AudioFormat;\n /** A value that indicates whether to stream the DTMF tones. */\n enableDtmfTones?: boolean;\n}\n\n/** Represents the options for WebSocket transport. */\nexport interface WebSocketTranscriptionOptions\n extends TranscriptionOptionsInternal {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n transportType: \"websocket\";\n /** The URL used for live transcription transport. */\n transportUrl?: string;\n /** The ID of the deployed custom model in GUID format. The GUID is generated by Azure Speech Studio, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */\n speechModelEndpointId?: string;\n /** Indicates whether the transcription should start immediately after the call is answered. */\n startTranscription?: boolean;\n /** Enables intermediate results for the transcribed speech. */\n enableIntermediateResults?: boolean;\n}\n\n/** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */\nexport enum KnownCommunicationIdentifierModelKind {\n /** Unknown */\n Unknown = \"unknown\",\n /** CommunicationUser */\n CommunicationUser = \"communicationUser\",\n /** PhoneNumber */\n PhoneNumber = \"phoneNumber\",\n /** MicrosoftTeamsUser */\n MicrosoftTeamsUser = \"microsoftTeamsUser\",\n /** MicrosoftTeamsApp */\n MicrosoftTeamsApp = \"microsoftTeamsApp\",\n /** TeamsExtensionUser */\n TeamsExtensionUser = \"teamsExtensionUser\",\n}\n\n/**\n * Defines values for CommunicationIdentifierModelKind. \\\n * {@link KnownCommunicationIdentifierModelKind} can be used interchangeably with CommunicationIdentifierModelKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **unknown** \\\n * **communicationUser** \\\n * **phoneNumber** \\\n * **microsoftTeamsUser** \\\n * **microsoftTeamsApp** \\\n * **teamsExtensionUser**\n */\nexport type CommunicationIdentifierModelKind = string;\n\n/** Known values of {@link CommunicationCloudEnvironmentModel} that the service accepts. */\nexport enum KnownCommunicationCloudEnvironmentModel {\n /** Public */\n Public = \"public\",\n /** Dod */\n Dod = \"dod\",\n /** Gcch */\n Gcch = \"gcch\",\n}\n\n/**\n * Defines values for CommunicationCloudEnvironmentModel. \\\n * {@link KnownCommunicationCloudEnvironmentModel} can be used interchangeably with CommunicationCloudEnvironmentModel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **public** \\\n * **dod** \\\n * **gcch**\n */\nexport type CommunicationCloudEnvironmentModel = string;\n\n/** Known values of {@link StreamingTransportType} that the service accepts. */\nexport enum KnownStreamingTransportType {\n /** Websocket */\n Websocket = \"websocket\",\n}\n\n/**\n * Defines values for StreamingTransportType. \\\n * {@link KnownStreamingTransportType} can be used interchangeably with StreamingTransportType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **websocket**\n */\nexport type StreamingTransportType = string;\n\n/** Known values of {@link MediaStreamingAudioChannelType} that the service accepts. */\nexport enum KnownMediaStreamingAudioChannelType {\n /** Mixed */\n Mixed = \"mixed\",\n /** Unmixed */\n Unmixed = \"unmixed\",\n}\n\n/**\n * Defines values for MediaStreamingAudioChannelType. \\\n * {@link KnownMediaStreamingAudioChannelType} can be used interchangeably with MediaStreamingAudioChannelType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **mixed** \\\n * **unmixed**\n */\nexport type MediaStreamingAudioChannelType = string;\n\n/** Known values of {@link CallConnectionStateModel} that the service accepts. */\nexport enum KnownCallConnectionStateModel {\n /** Unknown */\n Unknown = \"unknown\",\n /** Connecting */\n Connecting = \"connecting\",\n /** Connected */\n Connected = \"connected\",\n /** Transferring */\n Transferring = \"transferring\",\n /** TransferAccepted */\n TransferAccepted = \"transferAccepted\",\n /** Disconnecting */\n Disconnecting = \"disconnecting\",\n /** Disconnected */\n Disconnected = \"disconnected\",\n}\n\n/**\n * Defines values for CallConnectionStateModel. \\\n * {@link KnownCallConnectionStateModel} can be used interchangeably with CallConnectionStateModel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **unknown** \\\n * **connecting** \\\n * **connected** \\\n * **transferring** \\\n * **transferAccepted** \\\n * **disconnecting** \\\n * **disconnected**\n */\nexport type CallConnectionStateModel = string;\n\n/** Known values of {@link MediaStreamingSubscriptionState} that the service accepts. */\nexport enum KnownMediaStreamingSubscriptionState {\n /** Disabled */\n Disabled = \"disabled\",\n /** Inactive */\n Inactive = \"inactive\",\n /** Active */\n Active = \"active\",\n}\n\n/**\n * Defines values for MediaStreamingSubscriptionState. \\\n * {@link KnownMediaStreamingSubscriptionState} can be used interchangeably with MediaStreamingSubscriptionState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **disabled** \\\n * **inactive** \\\n * **active**\n */\nexport type MediaStreamingSubscriptionState = string;\n\n/** Known values of {@link MediaStreamingContentType} that the service accepts. */\nexport enum KnownMediaStreamingContentType {\n /** Audio */\n Audio = \"audio\",\n}\n\n/**\n * Defines values for MediaStreamingContentType. \\\n * {@link KnownMediaStreamingContentType} can be used interchangeably with MediaStreamingContentType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **audio**\n */\nexport type MediaStreamingContentType = string;\n\n/** Known values of {@link TranscriptionSubscriptionState} that the service accepts. */\nexport enum KnownTranscriptionSubscriptionState {\n /** Disabled */\n Disabled = \"disabled\",\n /** Inactive */\n Inactive = \"inactive\",\n /** Active */\n Active = \"active\",\n}\n\n/**\n * Defines values for TranscriptionSubscriptionState. \\\n * {@link KnownTranscriptionSubscriptionState} can be used interchangeably with TranscriptionSubscriptionState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **disabled** \\\n * **inactive** \\\n * **active**\n */\nexport type TranscriptionSubscriptionState = string;\n\n/** Known values of {@link TranscriptionResultState} that the service accepts. */\nexport enum KnownTranscriptionResultState {\n /** Final */\n Final = \"final\",\n /** Intermediate */\n Intermediate = \"intermediate\",\n}\n\n/**\n * Defines values for TranscriptionResultState. \\\n * {@link KnownTranscriptionResultState} can be used interchangeably with TranscriptionResultState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **final** \\\n * **intermediate**\n */\nexport type TranscriptionResultState = string;\n\n/** Known values of {@link CallRejectReason} that the service accepts. */\nexport enum KnownCallRejectReason {\n /** None */\n None = \"none\",\n /** Busy */\n Busy = \"busy\",\n /** Forbidden */\n Forbidden = \"forbidden\",\n}\n\n/**\n * Defines values for CallRejectReason. \\\n * {@link KnownCallRejectReason} can be used interchangeably with CallRejectReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **none** \\\n * **busy** \\\n * **forbidden**\n */\nexport type CallRejectReason = string;\n\n/** Known values of {@link CallLocatorKind} that the service accepts. */\nexport enum KnownCallLocatorKind {\n /** GroupCallLocator */\n GroupCallLocator = \"groupCallLocator\",\n /** ServerCallLocator */\n ServerCallLocator = \"serverCallLocator\",\n /** RoomCallLocator */\n RoomCallLocator = \"roomCallLocator\",\n}\n\n/**\n * Defines values for CallLocatorKind. \\\n * {@link KnownCallLocatorKind} can be used interchangeably with CallLocatorKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **groupCallLocator** \\\n * **serverCallLocator** \\\n * **roomCallLocator**\n */\nexport type CallLocatorKind = string;\n\n/** Known values of {@link PlaySourceType} that the service accepts. */\nexport enum KnownPlaySourceType {\n /** File */\n File = \"file\",\n /** Text */\n Text = \"text\",\n /** Ssml */\n Ssml = \"ssml\",\n}\n\n/**\n * Defines values for PlaySourceType. \\\n * {@link KnownPlaySourceType} can be used interchangeably with PlaySourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **file** \\\n * **text** \\\n * **ssml**\n */\nexport type PlaySourceType = string;\n\n/** Known values of {@link VoiceKind} that the service accepts. */\nexport enum KnownVoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/**\n * Defines values for VoiceKind. \\\n * {@link KnownVoiceKind} can be used interchangeably with VoiceKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **male** \\\n * **female**\n */\nexport type VoiceKind = string;\n\n/** Known values of {@link RecognizeInputType} that the service accepts. */\nexport enum KnownRecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n /** Speech */\n Speech = \"speech\",\n /** SpeechOrDtmf */\n SpeechOrDtmf = \"speechOrDtmf\",\n /** Choices */\n Choices = \"choices\",\n}\n\n/**\n * Defines values for RecognizeInputType. \\\n * {@link KnownRecognizeInputType} can be used interchangeably with RecognizeInputType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **dtmf** \\\n * **speech** \\\n * **speechOrDtmf** \\\n * **choices**\n */\nexport type RecognizeInputType = string;\n\n/** Known values of {@link Tone} that the service accepts. */\nexport enum KnownTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/**\n * Defines values for Tone. \\\n * {@link KnownTone} can be used interchangeably with Tone,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **zero** \\\n * **one** \\\n * **two** \\\n * **three** \\\n * **four** \\\n * **five** \\\n * **six** \\\n * **seven** \\\n * **eight** \\\n * **nine** \\\n * **a** \\\n * **b** \\\n * **c** \\\n * **d** \\\n * **pound** \\\n * **asterisk**\n */\nexport type Tone = string;\n\n/** Known values of {@link RecordingContentType} that the service accepts. */\nexport enum KnownRecordingContentType {\n /** Audio */\n Audio = \"audio\",\n /** AudioVideo */\n AudioVideo = \"audioVideo\",\n}\n\n/**\n * Defines values for RecordingContentType. \\\n * {@link KnownRecordingContentType} can be used interchangeably with RecordingContentType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **audio** \\\n * **audioVideo**\n */\nexport type RecordingContentType = string;\n\n/** Known values of {@link RecordingChannelType} that the service accepts. */\nexport enum KnownRecordingChannelType {\n /** Mixed */\n Mixed = \"mixed\",\n /** Unmixed */\n Unmixed = \"unmixed\",\n}\n\n/**\n * Defines values for RecordingChannelType. \\\n * {@link KnownRecordingChannelType} can be used interchangeably with RecordingChannelType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **mixed** \\\n * **unmixed**\n */\nexport type RecordingChannelType = string;\n\n/** Known values of {@link RecordingFormatType} that the service accepts. */\nexport enum KnownRecordingFormatType {\n /** Wav */\n Wav = \"wav\",\n /** Mp3 */\n Mp3 = \"mp3\",\n /** Mp4 */\n Mp4 = \"mp4\",\n}\n\n/**\n * Defines values for RecordingFormatType. \\\n * {@link KnownRecordingFormatType} can be used interchangeably with RecordingFormatType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **wav** \\\n * **mp3** \\\n * **mp4**\n */\nexport type RecordingFormatType = string;\n\n/** Known values of {@link RecordingStorageKind} that the service accepts. */\nexport enum KnownRecordingStorageKind {\n /** Storage managed by Azure Communication Services */\n AzureCommunicationServices = \"AzureCommunicationServices\",\n /** Storage managed by provided Azure blob */\n AzureBlobStorage = \"AzureBlobStorage\",\n}\n\n/**\n * Defines values for RecordingStorageKind. \\\n * {@link KnownRecordingStorageKind} can be used interchangeably with RecordingStorageKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureCommunicationServices**: Storage managed by Azure Communication Services \\\n * **AzureBlobStorage**: Storage managed by provided Azure blob\n */\nexport type RecordingStorageKind = string;\n\n/** Known values of {@link RecordingState} that the service accepts. */\nexport enum KnownRecordingState {\n /** Active */\n Active = \"active\",\n /** Inactive */\n Inactive = \"inactive\",\n}\n\n/**\n * Defines values for RecordingState. \\\n * {@link KnownRecordingState} can be used interchangeably with RecordingState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **active** \\\n * **inactive**\n */\nexport type RecordingState = string;\n\n/** Known values of {@link RecordingKind} that the service accepts. */\nexport enum KnownRecordingKind {\n /** Recording initiated by Azure Communication Services */\n AzureCommunicationServices = \"AzureCommunicationServices\",\n /** Recording initiated by Teams user */\n Teams = \"Teams\",\n /** Recording initiated by Teams compliance policy */\n TeamsCompliance = \"TeamsCompliance\",\n}\n\n/**\n * Defines values for RecordingKind. \\\n * {@link KnownRecordingKind} can be used interchangeably with RecordingKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureCommunicationServices**: Recording initiated by Azure Communication Services \\\n * **Teams**: Recording initiated by Teams user \\\n * **TeamsCompliance**: Recording initiated by Teams compliance policy\n */\nexport type RecordingKind = string;\n\n/** Known values of {@link AudioFormat} that the service accepts. */\nexport enum KnownAudioFormat {\n /** Pcm16KMono */\n Pcm16KMono = \"pcm16KMono\",\n /** Pcm24KMono */\n Pcm24KMono = \"pcm24KMono\",\n}\n\n/**\n * Defines values for AudioFormat. \\\n * {@link KnownAudioFormat} can be used interchangeably with AudioFormat,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **pcm16KMono** \\\n * **pcm24KMono**\n */\nexport type AudioFormat = string;\n\n/** Known values of {@link RecognitionType} that the service accepts. */\nexport enum KnownRecognitionType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n /** Speech */\n Speech = \"speech\",\n /** Choices */\n Choices = \"choices\",\n}\n\n/**\n * Defines values for RecognitionType. \\\n * {@link KnownRecognitionType} can be used interchangeably with RecognitionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **dtmf** \\\n * **speech** \\\n * **choices**\n */\nexport type RecognitionType = string;\n\n/** Known values of {@link MediaStreamingStatus} that the service accepts. */\nexport enum KnownMediaStreamingStatus {\n /** MediaStreamingStarted */\n MediaStreamingStarted = \"mediaStreamingStarted\",\n /** MediaStreamingFailed */\n MediaStreamingFailed = \"mediaStreamingFailed\",\n /** MediaStreamingStopped */\n MediaStreamingStopped = \"mediaStreamingStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n}\n\n/**\n * Defines values for MediaStreamingStatus. \\\n * {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **mediaStreamingStarted** \\\n * **mediaStreamingFailed** \\\n * **mediaStreamingStopped** \\\n * **unspecifiedError**\n */\nexport type MediaStreamingStatus = string;\n\n/** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */\nexport enum KnownMediaStreamingStatusDetails {\n /** SubscriptionStarted */\n SubscriptionStarted = \"subscriptionStarted\",\n /** StreamConnectionReestablished */\n StreamConnectionReestablished = \"streamConnectionReestablished\",\n /** StreamConnectionUnsuccessful */\n StreamConnectionUnsuccessful = \"streamConnectionUnsuccessful\",\n /** StreamUrlMissing */\n StreamUrlMissing = \"streamUrlMissing\",\n /** ServiceShutdown */\n ServiceShutdown = \"serviceShutdown\",\n /** StreamConnectionInterrupted */\n StreamConnectionInterrupted = \"streamConnectionInterrupted\",\n /** SpeechServicesConnectionError */\n SpeechServicesConnectionError = \"speechServicesConnectionError\",\n /** SubscriptionStopped */\n SubscriptionStopped = \"subscriptionStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n /** AuthenticationFailure */\n AuthenticationFailure = \"authenticationFailure\",\n /** BadRequest */\n BadRequest = \"badRequest\",\n /** TooManyRequests */\n TooManyRequests = \"tooManyRequests\",\n /** Forbidden */\n Forbidden = \"forbidden\",\n /** ServiceTimeout */\n ServiceTimeout = \"serviceTimeout\",\n /** InitialWebSocketConnectionFailed */\n InitialWebSocketConnectionFailed = \"initialWebSocketConnectionFailed\",\n}\n\n/**\n * Defines values for MediaStreamingStatusDetails. \\\n * {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **subscriptionStarted** \\\n * **streamConnectionReestablished** \\\n * **streamConnectionUnsuccessful** \\\n * **streamUrlMissing** \\\n * **serviceShutdown** \\\n * **streamConnectionInterrupted** \\\n * **speechServicesConnectionError** \\\n * **subscriptionStopped** \\\n * **unspecifiedError** \\\n * **authenticationFailure** \\\n * **badRequest** \\\n * **tooManyRequests** \\\n * **forbidden** \\\n * **serviceTimeout** \\\n * **initialWebSocketConnectionFailed**\n */\nexport type MediaStreamingStatusDetails = string;\n\n/** Known values of {@link TranscriptionStatus} that the service accepts. */\nexport enum KnownTranscriptionStatus {\n /** TranscriptionStarted */\n TranscriptionStarted = \"transcriptionStarted\",\n /** TranscriptionFailed */\n TranscriptionFailed = \"transcriptionFailed\",\n /** TranscriptionResumed */\n TranscriptionResumed = \"transcriptionResumed\",\n /** TranscriptionUpdated */\n TranscriptionUpdated = \"transcriptionUpdated\",\n /** TranscriptionStopped */\n TranscriptionStopped = \"transcriptionStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n}\n\n/**\n * Defines values for TranscriptionStatus. \\\n * {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **transcriptionStarted** \\\n * **transcriptionFailed** \\\n * **transcriptionResumed** \\\n * **transcriptionUpdated** \\\n * **transcriptionStopped** \\\n * **unspecifiedError**\n */\nexport type TranscriptionStatus = string;\n\n/** Known values of {@link TranscriptionStatusDetails} that the service accepts. */\nexport enum KnownTranscriptionStatusDetails {\n /** SubscriptionStarted */\n SubscriptionStarted = \"subscriptionStarted\",\n /** StreamConnectionReestablished */\n StreamConnectionReestablished = \"streamConnectionReestablished\",\n /** StreamConnectionUnsuccessful */\n StreamConnectionUnsuccessful = \"streamConnectionUnsuccessful\",\n /** StreamUrlMissing */\n StreamUrlMissing = \"streamUrlMissing\",\n /** ServiceShutdown */\n ServiceShutdown = \"serviceShutdown\",\n /** StreamConnectionInterrupted */\n StreamConnectionInterrupted = \"streamConnectionInterrupted\",\n /** SpeechServicesConnectionError */\n SpeechServicesConnectionError = \"speechServicesConnectionError\",\n /** SubscriptionStopped */\n SubscriptionStopped = \"subscriptionStopped\",\n /** UnspecifiedError */\n UnspecifiedError = \"unspecifiedError\",\n /** AuthenticationFailure */\n AuthenticationFailure = \"authenticationFailure\",\n /** BadRequest */\n BadRequest = \"badRequest\",\n /** TooManyRequests */\n TooManyRequests = \"tooManyRequests\",\n /** Forbidden */\n Forbidden = \"forbidden\",\n /** ServiceTimeout */\n ServiceTimeout = \"serviceTimeout\",\n /** TranscriptionLocaleUpdated */\n TranscriptionLocaleUpdated = \"transcriptionLocaleUpdated\",\n}\n\n/**\n * Defines values for TranscriptionStatusDetails. \\\n * {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **subscriptionStarted** \\\n * **streamConnectionReestablished** \\\n * **streamConnectionUnsuccessful** \\\n * **streamUrlMissing** \\\n * **serviceShutdown** \\\n * **streamConnectionInterrupted** \\\n * **speechServicesConnectionError** \\\n * **subscriptionStopped** \\\n * **unspecifiedError** \\\n * **authenticationFailure** \\\n * **badRequest** \\\n * **tooManyRequests** \\\n * **forbidden** \\\n * **serviceTimeout** \\\n * **transcriptionLocaleUpdated**\n */\nexport type TranscriptionStatusDetails = string;\n\n/** Optional parameters. */\nexport interface CreateCallOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the createCall operation. */\nexport type CreateCallResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface AnswerCallOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the answerCall operation. */\nexport type AnswerCallResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface RedirectCallOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Optional parameters. */\nexport interface RejectCallOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Optional parameters. */\nexport interface ConnectOptionalParams extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the connect operation. */\nexport type ConnectResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface CallConnectionGetCallOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCall operation. */\nexport type CallConnectionGetCallResponse = CallConnectionPropertiesInternal;\n\n/** Optional parameters. */\nexport interface CallConnectionHangupCallOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallConnectionTerminateCallOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Optional parameters. */\nexport interface CallConnectionTransferToParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the transferToParticipant operation. */\nexport type CallConnectionTransferToParticipantResponse = TransferCallResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionGetParticipantsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParticipants operation. */\nexport type CallConnectionGetParticipantsResponse = GetParticipantsResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionAddParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the addParticipant operation. */\nexport type CallConnectionAddParticipantResponse = AddParticipantResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionRemoveParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the removeParticipant operation. */\nexport type CallConnectionRemoveParticipantResponse = RemoveParticipantResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionMuteOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the mute operation. */\nexport type CallConnectionMuteResponse = MuteParticipantsResult;\n\n/** Optional parameters. */\nexport interface CallConnectionCancelAddParticipantOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the cancelAddParticipant operation. */\nexport type CallConnectionCancelAddParticipantResponse =\n CancelAddParticipantResponse;\n\n/** Optional parameters. */\nexport interface CallConnectionGetParticipantOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParticipant operation. */\nexport type CallConnectionGetParticipantResponse = CallParticipantInternal;\n\n/** Optional parameters. */\nexport interface CallConnectionGetParticipantsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParticipantsNext operation. */\nexport type CallConnectionGetParticipantsNextResponse = GetParticipantsResponse;\n\n/** Optional parameters. */\nexport interface CallMediaPlayOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStartTranscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStopTranscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaUpdateTranscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaCancelAllMediaOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaRecognizeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStartContinuousDtmfRecognitionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStopContinuousDtmfRecognitionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaSendDtmfTonesOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the sendDtmfTones operation. */\nexport type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult;\n\n/** Optional parameters. */\nexport interface CallMediaHoldOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaUnholdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStartMediaStreamingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallMediaStopMediaStreamingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallRecordingStartRecordingOptionalParams\n extends coreClient.OperationOptions {\n /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */\n repeatabilityRequestID?: string;\n /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */\n repeatabilityFirstSent?: Date;\n}\n\n/** Contains response data for the startRecording operation. */\nexport type CallRecordingStartRecordingResponse = RecordingStateResponse;\n\n/** Optional parameters. */\nexport interface CallRecordingGetRecordingPropertiesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getRecordingProperties operation. */\nexport type CallRecordingGetRecordingPropertiesResponse =\n RecordingStateResponse;\n\n/** Optional parameters. */\nexport interface CallRecordingStopRecordingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallRecordingPauseRecordingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallRecordingResumeRecordingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CallAutomationApiClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|