@azure/communication-call-automation 1.6.0-alpha.20250711.2 → 1.6.0-beta.1
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 +0 -48
- package/dist/browser/callAutomationClient.d.ts +0 -8
- package/dist/browser/callAutomationClient.d.ts.map +1 -1
- package/dist/browser/callAutomationClient.js +87 -141
- package/dist/browser/callAutomationClient.js.map +1 -1
- package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
- package/dist/browser/callAutomationEventParser.js +22 -54
- package/dist/browser/callAutomationEventParser.js.map +1 -1
- package/dist/browser/callConnection.d.ts +12 -14
- package/dist/browser/callConnection.d.ts.map +1 -1
- package/dist/browser/callConnection.js +111 -183
- package/dist/browser/callConnection.js.map +1 -1
- package/dist/browser/callMedia.d.ts +15 -20
- package/dist/browser/callMedia.d.ts.map +1 -1
- package/dist/browser/callMedia.js +58 -177
- package/dist/browser/callMedia.js.map +1 -1
- package/dist/browser/callRecording.d.ts +2 -8
- package/dist/browser/callRecording.d.ts.map +1 -1
- package/dist/browser/callRecording.js +16 -26
- 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.d.ts +1 -2
- package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/browser/generated/src/callAutomationApiClient.js +14 -6
- package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/browser/generated/src/models/index.d.ts +534 -1064
- package/dist/browser/generated/src/models/index.d.ts.map +1 -1
- package/dist/browser/generated/src/models/index.js +87 -159
- package/dist/browser/generated/src/models/index.js.map +1 -1
- package/dist/browser/generated/src/models/mappers.d.ts +58 -86
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/src/models/mappers.js +1173 -2159
- package/dist/browser/generated/src/models/mappers.js.map +1 -1
- package/dist/browser/generated/src/models/parameters.d.ts +2 -7
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/models/parameters.js +10 -41
- package/dist/browser/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/callConnection.d.ts +2 -9
- package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callConnection.js +24 -73
- package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
- package/dist/browser/generated/src/operations/callMedia.d.ts +15 -15
- package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callMedia.js +51 -50
- package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
- package/dist/browser/generated/src/operations/callRecording.d.ts +1 -7
- package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callRecording.js +1 -24
- package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
- package/dist/browser/generated/src/operations/index.d.ts +0 -1
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/index.js +0 -1
- package/dist/browser/generated/src/operations/index.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
- package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
- package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
- package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -1
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/index.js +0 -1
- package/dist/browser/generated/src/operationsInterfaces/index.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/index.d.ts +0 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +0 -2
- package/dist/browser/index.js.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 +136 -195
- 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 +76 -39
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +1 -3
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/models/options.d.ts +64 -30
- 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 +19 -82
- 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 +38 -28
- 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 +15 -1
- package/dist/browser/streamingData.js.map +1 -1
- package/dist/browser/utli/converters.d.ts +1 -1
- package/dist/browser/utli/converters.d.ts.map +1 -1
- package/dist/browser/utli/converters.js +48 -9
- package/dist/browser/utli/converters.js.map +1 -1
- package/dist/commonjs/callAutomationClient.d.ts +0 -8
- package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
- package/dist/commonjs/callAutomationClient.js +85 -139
- package/dist/commonjs/callAutomationClient.js.map +1 -1
- package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
- package/dist/commonjs/callAutomationEventParser.js +21 -53
- package/dist/commonjs/callAutomationEventParser.js.map +1 -1
- package/dist/commonjs/callConnection.d.ts +12 -14
- package/dist/commonjs/callConnection.d.ts.map +1 -1
- package/dist/commonjs/callConnection.js +113 -185
- package/dist/commonjs/callConnection.js.map +1 -1
- package/dist/commonjs/callMedia.d.ts +15 -20
- package/dist/commonjs/callMedia.d.ts.map +1 -1
- package/dist/commonjs/callMedia.js +66 -185
- package/dist/commonjs/callMedia.js.map +1 -1
- package/dist/commonjs/callRecording.d.ts +2 -8
- package/dist/commonjs/callRecording.d.ts.map +1 -1
- package/dist/commonjs/callRecording.js +17 -27
- 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.d.ts +1 -2
- package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/commonjs/generated/src/callAutomationApiClient.js +13 -5
- package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.d.ts +534 -1064
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/index.js +88 -160
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +58 -86
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +1176 -2162
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +2 -7
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +10 -41
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callConnection.d.ts +2 -9
- package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callConnection.js +24 -72
- package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -15
- package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callMedia.js +51 -50
- package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callRecording.d.ts +1 -7
- package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callRecording.js +1 -24
- package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
- package/dist/commonjs/generated/src/operations/index.d.ts +0 -1
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/index.js +0 -1
- package/dist/commonjs/generated/src/operations/index.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.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/index.d.ts +0 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +0 -2
- package/dist/commonjs/index.js.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 +136 -195
- 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 +76 -39
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +2 -21
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/models/options.d.ts +64 -30
- 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 +19 -82
- 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 +38 -28
- 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 +15 -1
- package/dist/commonjs/streamingData.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/commonjs/utli/converters.d.ts +1 -1
- package/dist/commonjs/utli/converters.d.ts.map +1 -1
- package/dist/commonjs/utli/converters.js +47 -8
- package/dist/commonjs/utli/converters.js.map +1 -1
- package/dist/esm/callAutomationClient.d.ts +0 -8
- package/dist/esm/callAutomationClient.d.ts.map +1 -1
- package/dist/esm/callAutomationClient.js +87 -141
- package/dist/esm/callAutomationClient.js.map +1 -1
- package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
- package/dist/esm/callAutomationEventParser.js +22 -54
- package/dist/esm/callAutomationEventParser.js.map +1 -1
- package/dist/esm/callConnection.d.ts +12 -14
- package/dist/esm/callConnection.d.ts.map +1 -1
- package/dist/esm/callConnection.js +111 -183
- package/dist/esm/callConnection.js.map +1 -1
- package/dist/esm/callMedia.d.ts +15 -20
- package/dist/esm/callMedia.d.ts.map +1 -1
- package/dist/esm/callMedia.js +58 -177
- package/dist/esm/callMedia.js.map +1 -1
- package/dist/esm/callRecording.d.ts +2 -8
- package/dist/esm/callRecording.d.ts.map +1 -1
- package/dist/esm/callRecording.js +16 -26
- 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.d.ts +1 -2
- package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/esm/generated/src/callAutomationApiClient.js +14 -6
- package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/esm/generated/src/models/index.d.ts +534 -1064
- package/dist/esm/generated/src/models/index.d.ts.map +1 -1
- package/dist/esm/generated/src/models/index.js +87 -159
- package/dist/esm/generated/src/models/index.js.map +1 -1
- package/dist/esm/generated/src/models/mappers.d.ts +58 -86
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/src/models/mappers.js +1173 -2159
- package/dist/esm/generated/src/models/mappers.js.map +1 -1
- package/dist/esm/generated/src/models/parameters.d.ts +2 -7
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/models/parameters.js +10 -41
- package/dist/esm/generated/src/models/parameters.js.map +1 -1
- package/dist/esm/generated/src/operations/callConnection.d.ts +2 -9
- package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callConnection.js +24 -73
- package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
- package/dist/esm/generated/src/operations/callMedia.d.ts +15 -15
- package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callMedia.js +51 -50
- package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
- package/dist/esm/generated/src/operations/callRecording.d.ts +1 -7
- package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callRecording.js +1 -24
- package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
- package/dist/esm/generated/src/operations/index.d.ts +0 -1
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/index.js +0 -1
- package/dist/esm/generated/src/operations/index.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
- package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
- package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
- package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -1
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/index.js +0 -1
- package/dist/esm/generated/src/operationsInterfaces/index.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/index.d.ts +0 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.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 +136 -195
- 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 +76 -39
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +1 -3
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/models/options.d.ts +64 -30
- 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 +19 -82
- 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 +38 -28
- 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 +15 -1
- package/dist/esm/streamingData.js.map +1 -1
- package/dist/esm/utli/converters.d.ts +1 -1
- package/dist/esm/utli/converters.d.ts.map +1 -1
- package/dist/esm/utli/converters.js +48 -9
- package/dist/esm/utli/converters.js.map +1 -1
- package/dist/react-native/callAutomationClient.d.ts +0 -8
- package/dist/react-native/callAutomationClient.d.ts.map +1 -1
- package/dist/react-native/callAutomationClient.js +87 -141
- 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 +22 -54
- package/dist/react-native/callAutomationEventParser.js.map +1 -1
- package/dist/react-native/callConnection.d.ts +12 -14
- package/dist/react-native/callConnection.d.ts.map +1 -1
- package/dist/react-native/callConnection.js +111 -183
- package/dist/react-native/callConnection.js.map +1 -1
- package/dist/react-native/callMedia.d.ts +15 -20
- package/dist/react-native/callMedia.d.ts.map +1 -1
- package/dist/react-native/callMedia.js +58 -177
- package/dist/react-native/callMedia.js.map +1 -1
- package/dist/react-native/callRecording.d.ts +2 -8
- package/dist/react-native/callRecording.d.ts.map +1 -1
- package/dist/react-native/callRecording.js +16 -26
- 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.d.ts +1 -2
- package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/react-native/generated/src/callAutomationApiClient.js +14 -6
- package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/react-native/generated/src/models/index.d.ts +534 -1064
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/index.js +87 -159
- package/dist/react-native/generated/src/models/index.js.map +1 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +58 -86
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/mappers.js +1173 -2159
- package/dist/react-native/generated/src/models/mappers.js.map +1 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +2 -7
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/parameters.js +10 -41
- package/dist/react-native/generated/src/models/parameters.js.map +1 -1
- package/dist/react-native/generated/src/operations/callConnection.d.ts +2 -9
- package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callConnection.js +24 -73
- package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
- package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -15
- package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callMedia.js +51 -50
- package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
- package/dist/react-native/generated/src/operations/callRecording.d.ts +1 -7
- package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callRecording.js +1 -24
- package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
- package/dist/react-native/generated/src/operations/index.d.ts +0 -1
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/index.js +0 -1
- package/dist/react-native/generated/src/operations/index.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.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/index.d.ts +0 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +0 -2
- package/dist/react-native/index.js.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 +136 -195
- 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 +76 -39
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +1 -3
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/models/options.d.ts +64 -30
- 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 +19 -82
- 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 +38 -28
- 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 +15 -1
- package/dist/react-native/streamingData.js.map +1 -1
- package/dist/react-native/utli/converters.d.ts +1 -1
- package/dist/react-native/utli/converters.d.ts.map +1 -1
- package/dist/react-native/utli/converters.js +48 -9
- package/dist/react-native/utli/converters.js.map +1 -1
- package/package.json +35 -36
- package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
- package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
- package/dist/browser/eventprocessor/callAutomationEventProcessor.js +0 -137
- package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +0 -1
- package/dist/browser/eventprocessor/eventResponses.d.ts +0 -134
- package/dist/browser/eventprocessor/eventResponses.d.ts.map +0 -1
- package/dist/browser/eventprocessor/eventResponses.js +0 -4
- package/dist/browser/eventprocessor/eventResponses.js.map +0 -1
- package/dist/browser/generated/src/operations/callDialog.d.ts +0 -35
- package/dist/browser/generated/src/operations/callDialog.d.ts.map +0 -1
- package/dist/browser/generated/src/operations/callDialog.js +0 -111
- package/dist/browser/generated/src/operations/callDialog.js.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
- package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/callDialog.js +0 -9
- package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +0 -1
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +0 -141
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +0 -1
- package/dist/commonjs/eventprocessor/eventResponses.d.ts +0 -134
- package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +0 -1
- package/dist/commonjs/eventprocessor/eventResponses.js +0 -5
- package/dist/commonjs/eventprocessor/eventResponses.js.map +0 -1
- package/dist/commonjs/generated/src/operations/callDialog.d.ts +0 -35
- package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operations/callDialog.js +0 -116
- package/dist/commonjs/generated/src/operations/callDialog.js.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +0 -10
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +0 -1
- package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
- package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
- package/dist/esm/eventprocessor/callAutomationEventProcessor.js +0 -137
- package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +0 -1
- package/dist/esm/eventprocessor/eventResponses.d.ts +0 -134
- package/dist/esm/eventprocessor/eventResponses.d.ts.map +0 -1
- package/dist/esm/eventprocessor/eventResponses.js +0 -4
- package/dist/esm/eventprocessor/eventResponses.js.map +0 -1
- package/dist/esm/generated/src/operations/callDialog.d.ts +0 -35
- package/dist/esm/generated/src/operations/callDialog.d.ts.map +0 -1
- package/dist/esm/generated/src/operations/callDialog.js +0 -111
- package/dist/esm/generated/src/operations/callDialog.js.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
- package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/callDialog.js +0 -9
- package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +0 -1
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +0 -137
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +0 -1
- package/dist/react-native/eventprocessor/eventResponses.d.ts +0 -134
- package/dist/react-native/eventprocessor/eventResponses.d.ts.map +0 -1
- package/dist/react-native/eventprocessor/eventResponses.js +0 -4
- package/dist/react-native/eventprocessor/eventResponses.js.map +0 -1
- package/dist/react-native/generated/src/operations/callDialog.d.ts +0 -35
- package/dist/react-native/generated/src/operations/callDialog.d.ts.map +0 -1
- package/dist/react-native/generated/src/operations/callDialog.js +0 -111
- package/dist/react-native/generated/src/operations/callDialog.js.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +0 -9
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +0 -1
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing CallMedia operations. */
|
|
16
16
|
class CallMediaImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class CallMedia class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -48,6 +49,24 @@ class CallMediaImpl {
|
|
|
48
49
|
stopTranscription(callConnectionId, stopTranscriptionRequest, options) {
|
|
49
50
|
return this.client.sendOperationRequest({ callConnectionId, stopTranscriptionRequest, options }, stopTranscriptionOperationSpec);
|
|
50
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* API to change transcription language.
|
|
54
|
+
* @param callConnectionId The call connection id
|
|
55
|
+
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
updateTranscription(callConnectionId, updateTranscriptionRequest, options) {
|
|
59
|
+
return this.client.sendOperationRequest({ callConnectionId, updateTranscriptionRequest, options }, updateTranscriptionOperationSpec);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* API to trigger a summary of the call so far.
|
|
63
|
+
* @param callConnectionId The call connection id
|
|
64
|
+
* @param summarizeCallRequest The SummarizeCall request
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
summarizeCall(callConnectionId, summarizeCallRequest, options) {
|
|
68
|
+
return this.client.sendOperationRequest({ callConnectionId, summarizeCallRequest, options }, summarizeCallOperationSpec);
|
|
69
|
+
}
|
|
51
70
|
/**
|
|
52
71
|
* Cancel all media operations in a call.
|
|
53
72
|
* @param callConnectionId The call connection id
|
|
@@ -92,15 +111,6 @@ class CallMediaImpl {
|
|
|
92
111
|
sendDtmfTones(callConnectionId, sendDtmfTonesRequest, options) {
|
|
93
112
|
return this.client.sendOperationRequest({ callConnectionId, sendDtmfTonesRequest, options }, sendDtmfTonesOperationSpec);
|
|
94
113
|
}
|
|
95
|
-
/**
|
|
96
|
-
* API to change transcription language.
|
|
97
|
-
* @param callConnectionId The call connection id
|
|
98
|
-
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
99
|
-
* @param options The options parameters.
|
|
100
|
-
*/
|
|
101
|
-
updateTranscription(callConnectionId, updateTranscriptionRequest, options) {
|
|
102
|
-
return this.client.sendOperationRequest({ callConnectionId, updateTranscriptionRequest, options }, updateTranscriptionOperationSpec);
|
|
103
|
-
}
|
|
104
114
|
/**
|
|
105
115
|
* Hold participant from the call using identifier.
|
|
106
116
|
* @param callConnectionId The call connection id.
|
|
@@ -137,15 +147,6 @@ class CallMediaImpl {
|
|
|
137
147
|
stopMediaStreaming(callConnectionId, stopMediaStreamingRequest, options) {
|
|
138
148
|
return this.client.sendOperationRequest({ callConnectionId, stopMediaStreamingRequest, options }, stopMediaStreamingOperationSpec);
|
|
139
149
|
}
|
|
140
|
-
/**
|
|
141
|
-
* Plays audio to participants in the call.
|
|
142
|
-
* @param callConnectionId The call connection id.
|
|
143
|
-
* @param interruptRequest play request payload.
|
|
144
|
-
* @param options The options parameters.
|
|
145
|
-
*/
|
|
146
|
-
interruptAudioAndAnnounce(callConnectionId, interruptRequest, options) {
|
|
147
|
-
return this.client.sendOperationRequest({ callConnectionId, interruptRequest, options }, interruptAudioAndAnnounceOperationSpec);
|
|
148
|
-
}
|
|
149
150
|
}
|
|
150
151
|
exports.CallMediaImpl = CallMediaImpl;
|
|
151
152
|
// Operation Specifications
|
|
@@ -198,6 +199,38 @@ const stopTranscriptionOperationSpec = {
|
|
|
198
199
|
mediaType: "json",
|
|
199
200
|
serializer,
|
|
200
201
|
};
|
|
202
|
+
const updateTranscriptionOperationSpec = {
|
|
203
|
+
path: "/calling/callConnections/{callConnectionId}:updateTranscription",
|
|
204
|
+
httpMethod: "POST",
|
|
205
|
+
responses: {
|
|
206
|
+
202: {},
|
|
207
|
+
default: {
|
|
208
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
requestBody: Parameters.updateTranscriptionRequest,
|
|
212
|
+
queryParameters: [Parameters.apiVersion],
|
|
213
|
+
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
214
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
215
|
+
mediaType: "json",
|
|
216
|
+
serializer,
|
|
217
|
+
};
|
|
218
|
+
const summarizeCallOperationSpec = {
|
|
219
|
+
path: "/calling/callConnections/{callConnectionId}:summarizeCall",
|
|
220
|
+
httpMethod: "POST",
|
|
221
|
+
responses: {
|
|
222
|
+
202: {},
|
|
223
|
+
default: {
|
|
224
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
requestBody: Parameters.summarizeCallRequest,
|
|
228
|
+
queryParameters: [Parameters.apiVersion],
|
|
229
|
+
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
230
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
231
|
+
mediaType: "json",
|
|
232
|
+
serializer,
|
|
233
|
+
};
|
|
201
234
|
const cancelAllMediaOperationsOperationSpec = {
|
|
202
235
|
path: "/calling/callConnections/{callConnectionId}:cancelAllMediaOperations",
|
|
203
236
|
httpMethod: "POST",
|
|
@@ -283,22 +316,6 @@ const sendDtmfTonesOperationSpec = {
|
|
|
283
316
|
mediaType: "json",
|
|
284
317
|
serializer,
|
|
285
318
|
};
|
|
286
|
-
const updateTranscriptionOperationSpec = {
|
|
287
|
-
path: "/calling/callConnections/{callConnectionId}:updateTranscription",
|
|
288
|
-
httpMethod: "POST",
|
|
289
|
-
responses: {
|
|
290
|
-
202: {},
|
|
291
|
-
default: {
|
|
292
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
293
|
-
},
|
|
294
|
-
},
|
|
295
|
-
requestBody: Parameters.updateTranscriptionRequest,
|
|
296
|
-
queryParameters: [Parameters.apiVersion],
|
|
297
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
298
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
299
|
-
mediaType: "json",
|
|
300
|
-
serializer,
|
|
301
|
-
};
|
|
302
319
|
const holdOperationSpec = {
|
|
303
320
|
path: "/calling/callConnections/{callConnectionId}:hold",
|
|
304
321
|
httpMethod: "POST",
|
|
@@ -363,20 +380,4 @@ const stopMediaStreamingOperationSpec = {
|
|
|
363
380
|
mediaType: "json",
|
|
364
381
|
serializer,
|
|
365
382
|
};
|
|
366
|
-
const interruptAudioAndAnnounceOperationSpec = {
|
|
367
|
-
path: "/calling/callConnections/{callConnectionId}:interruptAudioAndAnnounce",
|
|
368
|
-
httpMethod: "POST",
|
|
369
|
-
responses: {
|
|
370
|
-
202: {},
|
|
371
|
-
default: {
|
|
372
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
requestBody: Parameters.interruptRequest,
|
|
376
|
-
queryParameters: [Parameters.apiVersion],
|
|
377
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
378
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
379
|
-
mediaType: "json",
|
|
380
|
-
serializer,
|
|
381
|
-
};
|
|
382
383
|
//# sourceMappingURL=callMedia.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callMedia.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callMedia.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAgCtD,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,gBAAwB,EACxB,WAAwB,EACxB,OAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAA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AO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,yBAAyB;IACjD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACjE,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,sCAAsC,GAA6B;IACvE,IAAI,EAAE,uEAAuE;IAC7E,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,gBAAgB;IACxC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACjE,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","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 { CallMedia } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n PlayRequest,\n CallMediaPlayOptionalParams,\n StartTranscriptionRequest,\n CallMediaStartTranscriptionOptionalParams,\n StopTranscriptionRequest,\n CallMediaStopTranscriptionOptionalParams,\n CallMediaCancelAllMediaOperationsOptionalParams,\n RecognizeRequest,\n CallMediaRecognizeOptionalParams,\n ContinuousDtmfRecognitionRequest,\n CallMediaStartContinuousDtmfRecognitionOptionalParams,\n CallMediaStopContinuousDtmfRecognitionOptionalParams,\n SendDtmfTonesRequest,\n CallMediaSendDtmfTonesOptionalParams,\n CallMediaSendDtmfTonesResponse,\n UpdateTranscriptionRequest,\n CallMediaUpdateTranscriptionOptionalParams,\n HoldRequest,\n CallMediaHoldOptionalParams,\n UnholdRequest,\n CallMediaUnholdOptionalParams,\n StartMediaStreamingRequest,\n CallMediaStartMediaStreamingOptionalParams,\n StopMediaStreamingRequest,\n CallMediaStopMediaStreamingOptionalParams,\n InterruptAudioAndAnnounceRequest,\n CallMediaInterruptAudioAndAnnounceOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing CallMedia operations. */\nexport class CallMediaImpl implements CallMedia {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallMedia class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param playRequest play request payload.\n * @param options The options parameters.\n */\n play(\n callConnectionId: string,\n playRequest: PlayRequest,\n options?: CallMediaPlayOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, playRequest, options },\n playOperationSpec,\n );\n }\n\n /**\n * Starts transcription in the call\n * @param callConnectionId The call connection id.\n * @param startTranscriptionRequest\n * @param options The options parameters.\n */\n startTranscription(\n callConnectionId: string,\n startTranscriptionRequest: StartTranscriptionRequest,\n options?: CallMediaStartTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startTranscriptionRequest, options },\n startTranscriptionOperationSpec,\n );\n }\n\n /**\n * Stops transcription in the call.\n * @param callConnectionId The call connection id.\n * @param stopTranscriptionRequest stop transcription request payload.\n * @param options The options parameters.\n */\n stopTranscription(\n callConnectionId: string,\n stopTranscriptionRequest: StopTranscriptionRequest,\n options?: CallMediaStopTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopTranscriptionRequest, options },\n stopTranscriptionOperationSpec,\n );\n }\n\n /**\n * Cancel all media operations in a call.\n * @param callConnectionId The call connection id\n * @param options The options parameters.\n */\n cancelAllMediaOperations(\n callConnectionId: string,\n options?: CallMediaCancelAllMediaOperationsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n cancelAllMediaOperationsOperationSpec,\n );\n }\n\n /**\n * Recognize media from call.\n * @param callConnectionId The call connection id\n * @param recognizeRequest The media recognize request\n * @param options The options parameters.\n */\n recognize(\n callConnectionId: string,\n recognizeRequest: RecognizeRequest,\n options?: CallMediaRecognizeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, recognizeRequest, options },\n recognizeOperationSpec,\n );\n }\n\n /**\n * Start continuous Dtmf recognition by subscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n startContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStartContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n startContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Stop continuous Dtmf recognition by unsubscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n stopContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStopContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n stopContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Send dtmf tones.\n * @param callConnectionId The call connection id\n * @param sendDtmfTonesRequest The send dtmf tones request\n * @param options The options parameters.\n */\n sendDtmfTones(\n callConnectionId: string,\n sendDtmfTonesRequest: SendDtmfTonesRequest,\n options?: CallMediaSendDtmfTonesOptionalParams,\n ): Promise<CallMediaSendDtmfTonesResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, sendDtmfTonesRequest, options },\n sendDtmfTonesOperationSpec,\n );\n }\n\n /**\n * API to change transcription language.\n * @param callConnectionId The call connection id\n * @param updateTranscriptionRequest The UpdateTranscription request\n * @param options The options parameters.\n */\n updateTranscription(\n callConnectionId: string,\n updateTranscriptionRequest: UpdateTranscriptionRequest,\n options?: CallMediaUpdateTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, updateTranscriptionRequest, options },\n updateTranscriptionOperationSpec,\n );\n }\n\n /**\n * Hold participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param holdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n hold(\n callConnectionId: string,\n holdRequest: HoldRequest,\n options?: CallMediaHoldOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, holdRequest, options },\n holdOperationSpec,\n );\n }\n\n /**\n * Unhold participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unholdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n unhold(\n callConnectionId: string,\n unholdRequest: UnholdRequest,\n options?: CallMediaUnholdOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, unholdRequest, options },\n unholdOperationSpec,\n );\n }\n\n /**\n * Starts media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param startMediaStreamingRequest\n * @param options The options parameters.\n */\n startMediaStreaming(\n callConnectionId: string,\n startMediaStreamingRequest: StartMediaStreamingRequest,\n options?: CallMediaStartMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startMediaStreamingRequest, options },\n startMediaStreamingOperationSpec,\n );\n }\n\n /**\n * Stops media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param stopMediaStreamingRequest stop media streaming request payload.\n * @param options The options parameters.\n */\n stopMediaStreaming(\n callConnectionId: string,\n stopMediaStreamingRequest: StopMediaStreamingRequest,\n options?: CallMediaStopMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopMediaStreamingRequest, options },\n stopMediaStreamingOperationSpec,\n );\n }\n\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param interruptRequest play request payload.\n * @param options The options parameters.\n */\n interruptAudioAndAnnounce(\n callConnectionId: string,\n interruptRequest: InterruptAudioAndAnnounceRequest,\n options?: CallMediaInterruptAudioAndAnnounceOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, interruptRequest, options },\n interruptAudioAndAnnounceOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst playOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:play\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.playRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst cancelAllMediaOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:cancelAllMediaOperations\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst recognizeOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:recognize\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.recognizeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst sendDtmfTonesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:sendDtmfTones\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.SendDtmfTonesResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.sendDtmfTonesRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:updateTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.updateTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst holdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:hold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.holdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst unholdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:unhold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.unholdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst interruptAudioAndAnnounceOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:interruptAudioAndAnnounce\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.interruptRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"callMedia.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callMedia.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAgCtD,6CAA6C;AAC7C,MAAa,aAAa;IACP,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,gBAAwB,EACxB,WAAwB,EACxB,OAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC1C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAwB,EACxB,yBAAoD,EACpD,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACxD,+BAA+B,CAChC,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,iBAAiB,CACf,gBAAwB,EACxB,wBAAkD,EAClD,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,OAAO,EAAE,EACvD,8BAA8B,CAC/B,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,mBAAmB,CACjB,gBAAwB,EACxB,0BAAsD,EACtD,OAAoD;QAEpD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,OAAO,EAAE,EACzD,gCAAgC,CACjC,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,gBAAwB,EACxB,oBAA0C,EAC1C,OAA8C;QAE9C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAA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esContent":["/*\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 { CallMedia } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n PlayRequest,\n CallMediaPlayOptionalParams,\n StartTranscriptionRequest,\n CallMediaStartTranscriptionOptionalParams,\n StopTranscriptionRequest,\n CallMediaStopTranscriptionOptionalParams,\n UpdateTranscriptionRequest,\n CallMediaUpdateTranscriptionOptionalParams,\n SummarizeCallRequest,\n CallMediaSummarizeCallOptionalParams,\n CallMediaCancelAllMediaOperationsOptionalParams,\n RecognizeRequest,\n CallMediaRecognizeOptionalParams,\n ContinuousDtmfRecognitionRequest,\n CallMediaStartContinuousDtmfRecognitionOptionalParams,\n CallMediaStopContinuousDtmfRecognitionOptionalParams,\n SendDtmfTonesRequest,\n CallMediaSendDtmfTonesOptionalParams,\n CallMediaSendDtmfTonesResponse,\n HoldRequest,\n CallMediaHoldOptionalParams,\n UnholdRequest,\n CallMediaUnholdOptionalParams,\n StartMediaStreamingRequest,\n CallMediaStartMediaStreamingOptionalParams,\n StopMediaStreamingRequest,\n CallMediaStopMediaStreamingOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing CallMedia operations. */\nexport class CallMediaImpl implements CallMedia {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallMedia class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param playRequest play request payload.\n * @param options The options parameters.\n */\n play(\n callConnectionId: string,\n playRequest: PlayRequest,\n options?: CallMediaPlayOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, playRequest, options },\n playOperationSpec,\n );\n }\n\n /**\n * Starts transcription in the call\n * @param callConnectionId The call connection id.\n * @param startTranscriptionRequest\n * @param options The options parameters.\n */\n startTranscription(\n callConnectionId: string,\n startTranscriptionRequest: StartTranscriptionRequest,\n options?: CallMediaStartTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startTranscriptionRequest, options },\n startTranscriptionOperationSpec,\n );\n }\n\n /**\n * Stops transcription in the call.\n * @param callConnectionId The call connection id.\n * @param stopTranscriptionRequest stop transcription request payload.\n * @param options The options parameters.\n */\n stopTranscription(\n callConnectionId: string,\n stopTranscriptionRequest: StopTranscriptionRequest,\n options?: CallMediaStopTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopTranscriptionRequest, options },\n stopTranscriptionOperationSpec,\n );\n }\n\n /**\n * API to change transcription language.\n * @param callConnectionId The call connection id\n * @param updateTranscriptionRequest The UpdateTranscription request\n * @param options The options parameters.\n */\n updateTranscription(\n callConnectionId: string,\n updateTranscriptionRequest: UpdateTranscriptionRequest,\n options?: CallMediaUpdateTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, updateTranscriptionRequest, options },\n updateTranscriptionOperationSpec,\n );\n }\n\n /**\n * API to trigger a summary of the call so far.\n * @param callConnectionId The call connection id\n * @param summarizeCallRequest The SummarizeCall request\n * @param options The options parameters.\n */\n summarizeCall(\n callConnectionId: string,\n summarizeCallRequest: SummarizeCallRequest,\n options?: CallMediaSummarizeCallOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, summarizeCallRequest, options },\n summarizeCallOperationSpec,\n );\n }\n\n /**\n * Cancel all media operations in a call.\n * @param callConnectionId The call connection id\n * @param options The options parameters.\n */\n cancelAllMediaOperations(\n callConnectionId: string,\n options?: CallMediaCancelAllMediaOperationsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n cancelAllMediaOperationsOperationSpec,\n );\n }\n\n /**\n * Recognize media from call.\n * @param callConnectionId The call connection id\n * @param recognizeRequest The media recognize request\n * @param options The options parameters.\n */\n recognize(\n callConnectionId: string,\n recognizeRequest: RecognizeRequest,\n options?: CallMediaRecognizeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, recognizeRequest, options },\n recognizeOperationSpec,\n );\n }\n\n /**\n * Start continuous Dtmf recognition by subscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n startContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStartContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n startContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Stop continuous Dtmf recognition by unsubscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n stopContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStopContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n stopContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Send dtmf tones.\n * @param callConnectionId The call connection id\n * @param sendDtmfTonesRequest The send dtmf tones request\n * @param options The options parameters.\n */\n sendDtmfTones(\n callConnectionId: string,\n sendDtmfTonesRequest: SendDtmfTonesRequest,\n options?: CallMediaSendDtmfTonesOptionalParams,\n ): Promise<CallMediaSendDtmfTonesResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, sendDtmfTonesRequest, options },\n sendDtmfTonesOperationSpec,\n );\n }\n\n /**\n * Hold participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param holdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n hold(\n callConnectionId: string,\n holdRequest: HoldRequest,\n options?: CallMediaHoldOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, holdRequest, options },\n holdOperationSpec,\n );\n }\n\n /**\n * Unhold participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unholdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n unhold(\n callConnectionId: string,\n unholdRequest: UnholdRequest,\n options?: CallMediaUnholdOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, unholdRequest, options },\n unholdOperationSpec,\n );\n }\n\n /**\n * Starts media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param startMediaStreamingRequest\n * @param options The options parameters.\n */\n startMediaStreaming(\n callConnectionId: string,\n startMediaStreamingRequest: StartMediaStreamingRequest,\n options?: CallMediaStartMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startMediaStreamingRequest, options },\n startMediaStreamingOperationSpec,\n );\n }\n\n /**\n * Stops media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param stopMediaStreamingRequest stop media streaming request payload.\n * @param options The options parameters.\n */\n stopMediaStreaming(\n callConnectionId: string,\n stopMediaStreamingRequest: StopMediaStreamingRequest,\n options?: CallMediaStopMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopMediaStreamingRequest, options },\n stopMediaStreamingOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst playOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:play\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.playRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:updateTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.updateTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst summarizeCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:summarizeCall\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.summarizeCallRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst cancelAllMediaOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:cancelAllMediaOperations\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst recognizeOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:recognize\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.recognizeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst sendDtmfTonesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:sendDtmfTones\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.SendDtmfTonesResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.sendDtmfTonesRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst holdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:hold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.holdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst unholdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:unhold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.unholdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CallRecording } from "../operationsInterfaces/index.js";
|
|
2
2
|
import { CallAutomationApiClient } from "../callAutomationApiClient.js";
|
|
3
|
-
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams
|
|
3
|
+
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams } from "../models/index.js";
|
|
4
4
|
/** Class containing CallRecording operations. */
|
|
5
5
|
export declare class CallRecordingImpl implements CallRecording {
|
|
6
6
|
private readonly client;
|
|
@@ -39,11 +39,5 @@ export declare class CallRecordingImpl implements CallRecording {
|
|
|
39
39
|
* @param options The options parameters.
|
|
40
40
|
*/
|
|
41
41
|
resumeRecording(recordingId: string, options?: CallRecordingResumeRecordingOptionalParams): Promise<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Get recording result. This includes the download URLs for the recording chunks.
|
|
44
|
-
* @param recordingId The recording id.
|
|
45
|
-
* @param options The options parameters.
|
|
46
|
-
*/
|
|
47
|
-
getRecordingResult(recordingId: string, options?: CallRecordingGetRecordingResultOptionalParams): Promise<CallRecordingGetRecordingResultResponse>;
|
|
48
42
|
}
|
|
49
43
|
//# sourceMappingURL=callRecording.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callRecording.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,yBAAyB,EACzB,yCAAyC,EACzC,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,
|
|
1
|
+
{"version":3,"file":"callRecording.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,yBAAyB,EACzB,yCAAyC,EACzC,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACH,cAAc,CACZ,kBAAkB,EAAE,yBAAyB,EAC7C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;OAIG;IACH,sBAAsB,CACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;OAIG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing CallRecording operations. */
|
|
16
16
|
class CallRecordingImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class CallRecording class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -61,14 +62,6 @@ class CallRecordingImpl {
|
|
|
61
62
|
resumeRecording(recordingId, options) {
|
|
62
63
|
return this.client.sendOperationRequest({ recordingId, options }, resumeRecordingOperationSpec);
|
|
63
64
|
}
|
|
64
|
-
/**
|
|
65
|
-
* Get recording result. This includes the download URLs for the recording chunks.
|
|
66
|
-
* @param recordingId The recording id.
|
|
67
|
-
* @param options The options parameters.
|
|
68
|
-
*/
|
|
69
|
-
getRecordingResult(recordingId, options) {
|
|
70
|
-
return this.client.sendOperationRequest({ recordingId, options }, getRecordingResultOperationSpec);
|
|
71
|
-
}
|
|
72
65
|
}
|
|
73
66
|
exports.CallRecordingImpl = CallRecordingImpl;
|
|
74
67
|
// Operation Specifications
|
|
@@ -157,20 +150,4 @@ const resumeRecordingOperationSpec = {
|
|
|
157
150
|
headerParameters: [Parameters.accept],
|
|
158
151
|
serializer,
|
|
159
152
|
};
|
|
160
|
-
const getRecordingResultOperationSpec = {
|
|
161
|
-
path: "/calling/recordings/{recordingId}/result",
|
|
162
|
-
httpMethod: "GET",
|
|
163
|
-
responses: {
|
|
164
|
-
200: {
|
|
165
|
-
bodyMapper: Mappers.RecordingResultResponse,
|
|
166
|
-
},
|
|
167
|
-
default: {
|
|
168
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
queryParameters: [Parameters.apiVersion],
|
|
172
|
-
urlParameters: [Parameters.endpoint, Parameters.recordingId],
|
|
173
|
-
headerParameters: [Parameters.accept],
|
|
174
|
-
serializer,
|
|
175
|
-
};
|
|
176
153
|
//# sourceMappingURL=callRecording.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,iDAAiD;AACjD,MAAa,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,cAAc,CACZ,kBAA6C,EAC7C,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAC/B,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,sBAAsB,CACpB,WAAmB,EACnB,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,OAAO,EAAE,EACxB,mCAAmC,CACpC,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,WAAmB,EACnB,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,OAAO,EAAE,EACxB,0BAA0B,CAC3B,CAAC;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AC7D,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { CallRecording } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n StartCallRecordingRequest,\n CallRecordingStartRecordingOptionalParams,\n CallRecordingStartRecordingResponse,\n CallRecordingGetRecordingPropertiesOptionalParams,\n CallRecordingGetRecordingPropertiesResponse,\n CallRecordingStopRecordingOptionalParams,\n CallRecordingPauseRecordingOptionalParams,\n CallRecordingResumeRecordingOptionalParams,\n CallRecordingGetRecordingResultOptionalParams,\n CallRecordingGetRecordingResultResponse,\n} from \"../models/index.js\";\n\n/** Class containing CallRecording operations. */\nexport class CallRecordingImpl implements CallRecording {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallRecording class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Start recording the call.\n * @param startCallRecording The request body of start call recording request.\n * @param options The options parameters.\n */\n startRecording(\n startCallRecording: StartCallRecordingRequest,\n options?: CallRecordingStartRecordingOptionalParams,\n ): Promise<CallRecordingStartRecordingResponse> {\n return this.client.sendOperationRequest(\n { startCallRecording, options },\n startRecordingOperationSpec,\n );\n }\n\n /**\n * Get call recording properties.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingProperties(\n recordingId: string,\n options?: CallRecordingGetRecordingPropertiesOptionalParams,\n ): Promise<CallRecordingGetRecordingPropertiesResponse> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n getRecordingPropertiesOperationSpec,\n );\n }\n\n /**\n * Stop recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n stopRecording(\n recordingId: string,\n options?: CallRecordingStopRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n stopRecordingOperationSpec,\n );\n }\n\n /**\n * Pause recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n pauseRecording(\n recordingId: string,\n options?: CallRecordingPauseRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n pauseRecordingOperationSpec,\n );\n }\n\n /**\n * Resume recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n resumeRecording(\n recordingId: string,\n options?: CallRecordingResumeRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n resumeRecordingOperationSpec,\n );\n }\n\n /**\n * Get recording result. This includes the download URLs for the recording chunks.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingResult(\n recordingId: string,\n options?: CallRecordingGetRecordingResultOptionalParams,\n ): Promise<CallRecordingGetRecordingResultResponse> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n getRecordingResultOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst startRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n 202: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startCallRecording,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getRecordingPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst pauseRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:pause\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst resumeRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:resume\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getRecordingResultOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}/result\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingResultResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,iDAAiD;AACjD,MAAa,iBAAiB;IACX,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,cAAc,CACZ,kBAA6C,EAC7C,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAC/B,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,sBAAsB,CACpB,WAAmB,EACnB,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EA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IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { CallRecording } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n StartCallRecordingRequest,\n CallRecordingStartRecordingOptionalParams,\n CallRecordingStartRecordingResponse,\n CallRecordingGetRecordingPropertiesOptionalParams,\n CallRecordingGetRecordingPropertiesResponse,\n CallRecordingStopRecordingOptionalParams,\n CallRecordingPauseRecordingOptionalParams,\n CallRecordingResumeRecordingOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing CallRecording operations. */\nexport class CallRecordingImpl implements CallRecording {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallRecording class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Start recording the call.\n * @param startCallRecording The request body of start call recording request.\n * @param options The options parameters.\n */\n startRecording(\n startCallRecording: StartCallRecordingRequest,\n options?: CallRecordingStartRecordingOptionalParams,\n ): Promise<CallRecordingStartRecordingResponse> {\n return this.client.sendOperationRequest(\n { startCallRecording, options },\n startRecordingOperationSpec,\n );\n }\n\n /**\n * Get call recording properties.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingProperties(\n recordingId: string,\n options?: CallRecordingGetRecordingPropertiesOptionalParams,\n ): Promise<CallRecordingGetRecordingPropertiesResponse> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n getRecordingPropertiesOperationSpec,\n );\n }\n\n /**\n * Stop recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n stopRecording(\n recordingId: string,\n options?: CallRecordingStopRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n stopRecordingOperationSpec,\n );\n }\n\n /**\n * Pause recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n pauseRecording(\n recordingId: string,\n options?: CallRecordingPauseRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n pauseRecordingOperationSpec,\n );\n }\n\n /**\n * Resume recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n resumeRecording(\n recordingId: string,\n options?: CallRecordingResumeRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n resumeRecordingOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst startRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n 202: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startCallRecording,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getRecordingPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst pauseRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:pause\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst resumeRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:resume\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
|
@@ -10,6 +10,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
const tslib_1 = require("tslib");
|
|
11
11
|
tslib_1.__exportStar(require("./callConnection.js"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./callMedia.js"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./callDialog.js"), exports);
|
|
14
13
|
tslib_1.__exportStar(require("./callRecording.js"), exports);
|
|
15
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,8DAAoC;AACpC,yDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,8DAAoC;AACpC,yDAA+B;AAC/B,6DAAmC","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\nexport * from \"./callConnection.js\";\nexport * from \"./callMedia.js\";\nexport * from \"./callRecording.js\";\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse,
|
|
2
|
+
import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse, CancelAddParticipantRequest, CallConnectionCancelAddParticipantOptionalParams, CallConnectionCancelAddParticipantResponse, MoveParticipantsRequest, CallConnectionMoveParticipantsOptionalParams, CallConnectionMoveParticipantsResponse, CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a CallConnection. */
|
|
4
4
|
export interface CallConnection {
|
|
5
5
|
/**
|
|
@@ -37,7 +37,7 @@ export interface CallConnection {
|
|
|
37
37
|
/**
|
|
38
38
|
* Add a participant to the call.
|
|
39
39
|
* @param callConnectionId The call connection Id
|
|
40
|
-
* @param addParticipantRequest The
|
|
40
|
+
* @param addParticipantRequest The request payload for adding participant to the call.
|
|
41
41
|
* @param options The options parameters.
|
|
42
42
|
*/
|
|
43
43
|
addParticipant(callConnectionId: string, addParticipantRequest: AddParticipantRequest, options?: CallConnectionAddParticipantOptionalParams): Promise<CallConnectionAddParticipantResponse>;
|
|
@@ -55,13 +55,6 @@ export interface CallConnection {
|
|
|
55
55
|
* @param options The options parameters.
|
|
56
56
|
*/
|
|
57
57
|
mute(callConnectionId: string, muteParticipantsRequest: MuteParticipantsRequest, options?: CallConnectionMuteOptionalParams): Promise<CallConnectionMuteResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* Unmute participants from the call using identifier.
|
|
60
|
-
* @param callConnectionId The call connection id.
|
|
61
|
-
* @param unmuteParticipantsRequest The participants to be unmuted from the call.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
unmute(callConnectionId: string, unmuteParticipantsRequest: UnmuteParticipantsRequest, options?: CallConnectionUnmuteOptionalParams): Promise<CallConnectionUnmuteResponse>;
|
|
65
58
|
/**
|
|
66
59
|
* Cancel add participant operation.
|
|
67
60
|
* @param callConnectionId The call connection Id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,2CAA2C,EAC3C,mCAAmC,EACnC,6BAA6B,EAC7B,sCAAsC,EACtC,yCAAyC,EACzC,4BAA4B,EAC5B,iDAAiD,EACjD,2CAA2C,EAC3C,qBAAqB,EACrB,0CAA0C,EAC1C,oCAAoC,EACpC,wBAAwB,EACxB,6CAA6C,EAC7C,uCAAuC,EACvC,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,
|
|
1
|
+
{"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,2CAA2C,EAC3C,mCAAmC,EACnC,6BAA6B,EAC7B,sCAAsC,EACtC,yCAAyC,EACzC,4BAA4B,EAC5B,iDAAiD,EACjD,2CAA2C,EAC3C,qBAAqB,EACrB,0CAA0C,EAC1C,oCAAoC,EACpC,wBAAwB,EACxB,6CAA6C,EAC7C,uCAAuC,EACvC,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC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,EAChD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,EACxB,2BAA2B,EAAE,2BAA2B,EACxD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACvD;;;;;OAKG;IACH,gBAAgB,CACd,gBAAgB,EAAE,MAAM,EACxB,sBAAsB,EAAE,uBAAuB,EAC/C,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n CallParticipantInternal,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetCallOptionalParams,\n CallConnectionGetCallResponse,\n CallConnectionHangupCallOptionalParams,\n CallConnectionTerminateCallOptionalParams,\n TransferToParticipantRequest,\n CallConnectionTransferToParticipantOptionalParams,\n CallConnectionTransferToParticipantResponse,\n AddParticipantRequest,\n CallConnectionAddParticipantOptionalParams,\n CallConnectionAddParticipantResponse,\n RemoveParticipantRequest,\n CallConnectionRemoveParticipantOptionalParams,\n CallConnectionRemoveParticipantResponse,\n MuteParticipantsRequest,\n CallConnectionMuteOptionalParams,\n CallConnectionMuteResponse,\n
|
|
1
|
+
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n CallParticipantInternal,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetCallOptionalParams,\n CallConnectionGetCallResponse,\n CallConnectionHangupCallOptionalParams,\n CallConnectionTerminateCallOptionalParams,\n TransferToParticipantRequest,\n CallConnectionTransferToParticipantOptionalParams,\n CallConnectionTransferToParticipantResponse,\n AddParticipantRequest,\n CallConnectionAddParticipantOptionalParams,\n CallConnectionAddParticipantResponse,\n RemoveParticipantRequest,\n CallConnectionRemoveParticipantOptionalParams,\n CallConnectionRemoveParticipantResponse,\n MuteParticipantsRequest,\n CallConnectionMuteOptionalParams,\n CallConnectionMuteResponse,\n CancelAddParticipantRequest,\n CallConnectionCancelAddParticipantOptionalParams,\n CallConnectionCancelAddParticipantResponse,\n MoveParticipantsRequest,\n CallConnectionMoveParticipantsOptionalParams,\n CallConnectionMoveParticipantsResponse,\n CallConnectionGetParticipantOptionalParams,\n CallConnectionGetParticipantResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CallConnection. */\nexport interface CallConnection {\n /**\n * Get participants from a call. Recording and transcription bots are omitted from this list.\n * @param callConnectionId The call connection Id\n * @param options The options parameters.\n */\n listParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): PagedAsyncIterableIterator<CallParticipantInternal>;\n /**\n * Get the detail properties of an ongoing call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n getCall(\n callConnectionId: string,\n options?: CallConnectionGetCallOptionalParams,\n ): Promise<CallConnectionGetCallResponse>;\n /**\n * Hang up call automation service from the call. This will make call automation service leave the\n * call, but does not terminate if there are more than 1 caller in the call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n hangupCall(\n callConnectionId: string,\n options?: CallConnectionHangupCallOptionalParams,\n ): Promise<void>;\n /**\n * Terminate a call using CallConnectionId.\n * @param callConnectionId The terminate call request.\n * @param options The options parameters.\n */\n terminateCall(\n callConnectionId: string,\n options?: CallConnectionTerminateCallOptionalParams,\n ): Promise<void>;\n /**\n * Transfer the call to a participant.\n * @param callConnectionId The call connection id.\n * @param transferToParticipantRequest The transfer to participant request.\n * @param options The options parameters.\n */\n transferToParticipant(\n callConnectionId: string,\n transferToParticipantRequest: TransferToParticipantRequest,\n options?: CallConnectionTransferToParticipantOptionalParams,\n ): Promise<CallConnectionTransferToParticipantResponse>;\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param addParticipantRequest The request payload for adding participant to the call.\n * @param options The options parameters.\n */\n addParticipant(\n callConnectionId: string,\n addParticipantRequest: AddParticipantRequest,\n options?: CallConnectionAddParticipantOptionalParams,\n ): Promise<CallConnectionAddParticipantResponse>;\n /**\n * Remove a participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param removeParticipantRequest The participant to be removed from the call.\n * @param options The options parameters.\n */\n removeParticipant(\n callConnectionId: string,\n removeParticipantRequest: RemoveParticipantRequest,\n options?: CallConnectionRemoveParticipantOptionalParams,\n ): Promise<CallConnectionRemoveParticipantResponse>;\n /**\n * Mute participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param muteParticipantsRequest The participants to be muted from the call.\n * @param options The options parameters.\n */\n mute(\n callConnectionId: string,\n muteParticipantsRequest: MuteParticipantsRequest,\n options?: CallConnectionMuteOptionalParams,\n ): Promise<CallConnectionMuteResponse>;\n /**\n * Cancel add participant operation.\n * @param callConnectionId The call connection Id\n * @param cancelAddParticipantRequest Cancellation request.\n * @param options The options parameters.\n */\n cancelAddParticipant(\n callConnectionId: string,\n cancelAddParticipantRequest: CancelAddParticipantRequest,\n options?: CallConnectionCancelAddParticipantOptionalParams,\n ): Promise<CallConnectionCancelAddParticipantResponse>;\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param moveParticipantRequest The move participants request.\n * @param options The options parameters.\n */\n moveParticipants(\n callConnectionId: string,\n moveParticipantRequest: MoveParticipantsRequest,\n options?: CallConnectionMoveParticipantsOptionalParams,\n ): Promise<CallConnectionMoveParticipantsResponse>;\n /**\n * Get participant from a call.\n * @param callConnectionId The call connection Id\n * @param participantRawId Raw id of the participant to retrieve.\n * @param options The options parameters.\n */\n getParticipant(\n callConnectionId: string,\n participantRawId: string,\n options?: CallConnectionGetParticipantOptionalParams,\n ): Promise<CallConnectionGetParticipantResponse>;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlayRequest, CallMediaPlayOptionalParams, StartTranscriptionRequest, CallMediaStartTranscriptionOptionalParams, StopTranscriptionRequest, CallMediaStopTranscriptionOptionalParams, CallMediaCancelAllMediaOperationsOptionalParams, RecognizeRequest, CallMediaRecognizeOptionalParams, ContinuousDtmfRecognitionRequest, CallMediaStartContinuousDtmfRecognitionOptionalParams, CallMediaStopContinuousDtmfRecognitionOptionalParams, SendDtmfTonesRequest, CallMediaSendDtmfTonesOptionalParams, CallMediaSendDtmfTonesResponse,
|
|
1
|
+
import { PlayRequest, CallMediaPlayOptionalParams, StartTranscriptionRequest, CallMediaStartTranscriptionOptionalParams, StopTranscriptionRequest, CallMediaStopTranscriptionOptionalParams, UpdateTranscriptionRequest, CallMediaUpdateTranscriptionOptionalParams, SummarizeCallRequest, CallMediaSummarizeCallOptionalParams, CallMediaCancelAllMediaOperationsOptionalParams, RecognizeRequest, CallMediaRecognizeOptionalParams, ContinuousDtmfRecognitionRequest, CallMediaStartContinuousDtmfRecognitionOptionalParams, CallMediaStopContinuousDtmfRecognitionOptionalParams, SendDtmfTonesRequest, CallMediaSendDtmfTonesOptionalParams, CallMediaSendDtmfTonesResponse, HoldRequest, CallMediaHoldOptionalParams, UnholdRequest, CallMediaUnholdOptionalParams, StartMediaStreamingRequest, CallMediaStartMediaStreamingOptionalParams, StopMediaStreamingRequest, CallMediaStopMediaStreamingOptionalParams } from "../models/index.js";
|
|
2
2
|
/** Interface representing a CallMedia. */
|
|
3
3
|
export interface CallMedia {
|
|
4
4
|
/**
|
|
@@ -22,6 +22,20 @@ export interface CallMedia {
|
|
|
22
22
|
* @param options The options parameters.
|
|
23
23
|
*/
|
|
24
24
|
stopTranscription(callConnectionId: string, stopTranscriptionRequest: StopTranscriptionRequest, options?: CallMediaStopTranscriptionOptionalParams): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* API to change transcription language.
|
|
27
|
+
* @param callConnectionId The call connection id
|
|
28
|
+
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
updateTranscription(callConnectionId: string, updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* API to trigger a summary of the call so far.
|
|
34
|
+
* @param callConnectionId The call connection id
|
|
35
|
+
* @param summarizeCallRequest The SummarizeCall request
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
summarizeCall(callConnectionId: string, summarizeCallRequest: SummarizeCallRequest, options?: CallMediaSummarizeCallOptionalParams): Promise<void>;
|
|
25
39
|
/**
|
|
26
40
|
* Cancel all media operations in a call.
|
|
27
41
|
* @param callConnectionId The call connection id
|
|
@@ -56,13 +70,6 @@ export interface CallMedia {
|
|
|
56
70
|
* @param options The options parameters.
|
|
57
71
|
*/
|
|
58
72
|
sendDtmfTones(callConnectionId: string, sendDtmfTonesRequest: SendDtmfTonesRequest, options?: CallMediaSendDtmfTonesOptionalParams): Promise<CallMediaSendDtmfTonesResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* API to change transcription language.
|
|
61
|
-
* @param callConnectionId The call connection id
|
|
62
|
-
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
63
|
-
* @param options The options parameters.
|
|
64
|
-
*/
|
|
65
|
-
updateTranscription(callConnectionId: string, updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams): Promise<void>;
|
|
66
73
|
/**
|
|
67
74
|
* Hold participant from the call using identifier.
|
|
68
75
|
* @param callConnectionId The call connection id.
|
|
@@ -91,12 +98,5 @@ export interface CallMedia {
|
|
|
91
98
|
* @param options The options parameters.
|
|
92
99
|
*/
|
|
93
100
|
stopMediaStreaming(callConnectionId: string, stopMediaStreamingRequest: StopMediaStreamingRequest, options?: CallMediaStopMediaStreamingOptionalParams): Promise<void>;
|
|
94
|
-
/**
|
|
95
|
-
* Plays audio to participants in the call.
|
|
96
|
-
* @param callConnectionId The call connection id.
|
|
97
|
-
* @param interruptRequest play request payload.
|
|
98
|
-
* @param options The options parameters.
|
|
99
|
-
*/
|
|
100
|
-
interruptAudioAndAnnounce(callConnectionId: string, interruptRequest: InterruptAudioAndAnnounceRequest, options?: CallMediaInterruptAudioAndAnnounceOptionalParams): Promise<void>;
|
|
101
101
|
}
|
|
102
102
|
//# sourceMappingURL=callMedia.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callMedia.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callMedia.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,yBAAyB,EACzB,yCAAyC,EACzC,wBAAwB,EACxB,wCAAwC,EACxC,+CAA+C,EAC/C,gBAAgB,EAChB,gCAAgC,EAChC,gCAAgC,EAChC,qDAAqD,EACrD,oDAAoD,EACpD,oBAAoB,EACpB,oCAAoC,EACpC,8BAA8B,EAC9B,
|
|
1
|
+
{"version":3,"file":"callMedia.d.ts","sourceRoot":"","sources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