@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
|
@@ -15,7 +15,6 @@ export declare const transferToParticipantRequest: OperationParameter;
|
|
|
15
15
|
export declare const addParticipantRequest: OperationParameter;
|
|
16
16
|
export declare const removeParticipantRequest: OperationParameter;
|
|
17
17
|
export declare const muteParticipantsRequest: OperationParameter;
|
|
18
|
-
export declare const unmuteParticipantsRequest: OperationParameter;
|
|
19
18
|
export declare const cancelAddParticipantRequest: OperationParameter;
|
|
20
19
|
export declare const moveParticipantRequest: OperationParameter;
|
|
21
20
|
export declare const participantRawId: OperationURLParameter;
|
|
@@ -23,19 +22,15 @@ export declare const nextLink: OperationURLParameter;
|
|
|
23
22
|
export declare const playRequest: OperationParameter;
|
|
24
23
|
export declare const startTranscriptionRequest: OperationParameter;
|
|
25
24
|
export declare const stopTranscriptionRequest: OperationParameter;
|
|
25
|
+
export declare const updateTranscriptionRequest: OperationParameter;
|
|
26
|
+
export declare const summarizeCallRequest: OperationParameter;
|
|
26
27
|
export declare const recognizeRequest: OperationParameter;
|
|
27
28
|
export declare const continuousDtmfRecognitionRequest: OperationParameter;
|
|
28
29
|
export declare const sendDtmfTonesRequest: OperationParameter;
|
|
29
|
-
export declare const updateTranscriptionRequest: OperationParameter;
|
|
30
30
|
export declare const holdRequest: OperationParameter;
|
|
31
31
|
export declare const unholdRequest: OperationParameter;
|
|
32
32
|
export declare const startMediaStreamingRequest: OperationParameter;
|
|
33
33
|
export declare const stopMediaStreamingRequest: OperationParameter;
|
|
34
|
-
export declare const interruptRequest: OperationParameter;
|
|
35
|
-
export declare const startDialogRequest: OperationParameter;
|
|
36
|
-
export declare const dialogId: OperationURLParameter;
|
|
37
|
-
export declare const operationCallbackUri: OperationQueryParameter;
|
|
38
|
-
export declare const updateDialogRequest: OperationParameter;
|
|
39
34
|
export declare const startCallRecording: OperationParameter;
|
|
40
35
|
export declare const recordingId: OperationURLParameter;
|
|
41
36
|
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":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AC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAGvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,kBAGxC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,kBAGlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,kBAG9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,kBAGlC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,kBAGxC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAGvC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAGhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.recordingId = exports.startCallRecording = exports.
|
|
10
|
+
exports.recordingId = exports.startCallRecording = exports.stopMediaStreamingRequest = exports.startMediaStreamingRequest = exports.unholdRequest = exports.holdRequest = exports.sendDtmfTonesRequest = exports.continuousDtmfRecognitionRequest = exports.recognizeRequest = exports.summarizeCallRequest = exports.updateTranscriptionRequest = exports.stopTranscriptionRequest = exports.startTranscriptionRequest = exports.playRequest = exports.nextLink = exports.participantRawId = exports.moveParticipantRequest = exports.cancelAddParticipantRequest = exports.muteParticipantsRequest = exports.removeParticipantRequest = exports.addParticipantRequest = exports.transferToParticipantRequest = exports.callConnectionId = exports.connectRequest = exports.rejectCallRequest = exports.redirectCallRequest = exports.answerCallRequest = exports.repeatabilityFirstSent = exports.repeatabilityRequestID = exports.apiVersion = exports.endpoint = exports.accept = exports.createCallRequest = exports.contentType = void 0;
|
|
11
11
|
const mappers_js_1 = require("../models/mappers.js");
|
|
12
12
|
exports.contentType = {
|
|
13
13
|
parameterPath: ["options", "contentType"],
|
|
@@ -49,7 +49,7 @@ exports.endpoint = {
|
|
|
49
49
|
exports.apiVersion = {
|
|
50
50
|
parameterPath: "apiVersion",
|
|
51
51
|
mapper: {
|
|
52
|
-
defaultValue: "
|
|
52
|
+
defaultValue: "2025-08-15-preview",
|
|
53
53
|
isConstant: true,
|
|
54
54
|
serializedName: "api-version",
|
|
55
55
|
type: {
|
|
@@ -117,10 +117,6 @@ exports.muteParticipantsRequest = {
|
|
|
117
117
|
parameterPath: "muteParticipantsRequest",
|
|
118
118
|
mapper: mappers_js_1.MuteParticipantsRequest,
|
|
119
119
|
};
|
|
120
|
-
exports.unmuteParticipantsRequest = {
|
|
121
|
-
parameterPath: "unmuteParticipantsRequest",
|
|
122
|
-
mapper: mappers_js_1.UnmuteParticipantsRequest,
|
|
123
|
-
};
|
|
124
120
|
exports.cancelAddParticipantRequest = {
|
|
125
121
|
parameterPath: "cancelAddParticipantRequest",
|
|
126
122
|
mapper: mappers_js_1.CancelAddParticipantRequest,
|
|
@@ -162,6 +158,14 @@ exports.stopTranscriptionRequest = {
|
|
|
162
158
|
parameterPath: "stopTranscriptionRequest",
|
|
163
159
|
mapper: mappers_js_1.StopTranscriptionRequest,
|
|
164
160
|
};
|
|
161
|
+
exports.updateTranscriptionRequest = {
|
|
162
|
+
parameterPath: "updateTranscriptionRequest",
|
|
163
|
+
mapper: mappers_js_1.UpdateTranscriptionRequest,
|
|
164
|
+
};
|
|
165
|
+
exports.summarizeCallRequest = {
|
|
166
|
+
parameterPath: "summarizeCallRequest",
|
|
167
|
+
mapper: mappers_js_1.SummarizeCallRequest,
|
|
168
|
+
};
|
|
165
169
|
exports.recognizeRequest = {
|
|
166
170
|
parameterPath: "recognizeRequest",
|
|
167
171
|
mapper: mappers_js_1.RecognizeRequest,
|
|
@@ -174,10 +178,6 @@ exports.sendDtmfTonesRequest = {
|
|
|
174
178
|
parameterPath: "sendDtmfTonesRequest",
|
|
175
179
|
mapper: mappers_js_1.SendDtmfTonesRequest,
|
|
176
180
|
};
|
|
177
|
-
exports.updateTranscriptionRequest = {
|
|
178
|
-
parameterPath: "updateTranscriptionRequest",
|
|
179
|
-
mapper: mappers_js_1.UpdateTranscriptionRequest,
|
|
180
|
-
};
|
|
181
181
|
exports.holdRequest = {
|
|
182
182
|
parameterPath: "holdRequest",
|
|
183
183
|
mapper: mappers_js_1.HoldRequest,
|
|
@@ -194,37 +194,6 @@ exports.stopMediaStreamingRequest = {
|
|
|
194
194
|
parameterPath: "stopMediaStreamingRequest",
|
|
195
195
|
mapper: mappers_js_1.StopMediaStreamingRequest,
|
|
196
196
|
};
|
|
197
|
-
exports.interruptRequest = {
|
|
198
|
-
parameterPath: "interruptRequest",
|
|
199
|
-
mapper: mappers_js_1.InterruptAudioAndAnnounceRequest,
|
|
200
|
-
};
|
|
201
|
-
exports.startDialogRequest = {
|
|
202
|
-
parameterPath: "startDialogRequest",
|
|
203
|
-
mapper: mappers_js_1.StartDialogRequest,
|
|
204
|
-
};
|
|
205
|
-
exports.dialogId = {
|
|
206
|
-
parameterPath: "dialogId",
|
|
207
|
-
mapper: {
|
|
208
|
-
serializedName: "dialogId",
|
|
209
|
-
required: true,
|
|
210
|
-
type: {
|
|
211
|
-
name: "String",
|
|
212
|
-
},
|
|
213
|
-
},
|
|
214
|
-
};
|
|
215
|
-
exports.operationCallbackUri = {
|
|
216
|
-
parameterPath: ["options", "operationCallbackUri"],
|
|
217
|
-
mapper: {
|
|
218
|
-
serializedName: "operationCallbackUri",
|
|
219
|
-
type: {
|
|
220
|
-
name: "String",
|
|
221
|
-
},
|
|
222
|
-
},
|
|
223
|
-
};
|
|
224
|
-
exports.updateDialogRequest = {
|
|
225
|
-
parameterPath: "updateDialogRequest",
|
|
226
|
-
mapper: mappers_js_1.UpdateDialogRequest,
|
|
227
|
-
};
|
|
228
197
|
exports.startCallRecording = {
|
|
229
198
|
parameterPath: "startCallRecording",
|
|
230
199
|
mapper: mappers_js_1.StartCallRecordingRequest,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDA4B8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAuB;IACnD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE,8BAAuB;CAChC,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,sBAAsB,GAAuB;I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AE,sCAA+B;CACxC,CAAC;AAEW,QAAA,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n CreateCallRequest as CreateCallRequestMapper,\n AnswerCallRequest as AnswerCallRequestMapper,\n RedirectCallRequest as RedirectCallRequestMapper,\n RejectCallRequest as RejectCallRequestMapper,\n ConnectRequest as ConnectRequestMapper,\n TransferToParticipantRequest as TransferToParticipantRequestMapper,\n AddParticipantRequest as AddParticipantRequestMapper,\n RemoveParticipantRequest as RemoveParticipantRequestMapper,\n MuteParticipantsRequest as MuteParticipantsRequestMapper,\n UnmuteParticipantsRequest as UnmuteParticipantsRequestMapper,\n CancelAddParticipantRequest as CancelAddParticipantRequestMapper,\n MoveParticipantsRequest as MoveParticipantsRequestMapper,\n PlayRequest as PlayRequestMapper,\n StartTranscriptionRequest as StartTranscriptionRequestMapper,\n StopTranscriptionRequest as StopTranscriptionRequestMapper,\n RecognizeRequest as RecognizeRequestMapper,\n ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper,\n SendDtmfTonesRequest as SendDtmfTonesRequestMapper,\n UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper,\n HoldRequest as HoldRequestMapper,\n UnholdRequest as UnholdRequestMapper,\n StartMediaStreamingRequest as StartMediaStreamingRequestMapper,\n StopMediaStreamingRequest as StopMediaStreamingRequestMapper,\n InterruptAudioAndAnnounceRequest as InterruptAudioAndAnnounceRequestMapper,\n StartDialogRequest as StartDialogRequestMapper,\n UpdateDialogRequest as UpdateDialogRequestMapper,\n StartCallRecordingRequest as StartCallRecordingRequestMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const createCallRequest: OperationParameter = {\n parameterPath: \"createCallRequest\",\n mapper: CreateCallRequestMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-09-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const repeatabilityRequestID: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityRequestID\"],\n mapper: {\n serializedName: \"Repeatability-Request-ID\",\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const repeatabilityFirstSent: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityFirstSent\"],\n mapper: {\n serializedName: \"Repeatability-First-Sent\",\n type: {\n name: \"DateTimeRfc1123\",\n },\n },\n};\n\nexport const answerCallRequest: OperationParameter = {\n parameterPath: \"answerCallRequest\",\n mapper: AnswerCallRequestMapper,\n};\n\nexport const redirectCallRequest: OperationParameter = {\n parameterPath: \"redirectCallRequest\",\n mapper: RedirectCallRequestMapper,\n};\n\nexport const rejectCallRequest: OperationParameter = {\n parameterPath: \"rejectCallRequest\",\n mapper: RejectCallRequestMapper,\n};\n\nexport const connectRequest: OperationParameter = {\n parameterPath: \"connectRequest\",\n mapper: ConnectRequestMapper,\n};\n\nexport const callConnectionId: OperationURLParameter = {\n parameterPath: \"callConnectionId\",\n mapper: {\n serializedName: \"callConnectionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const transferToParticipantRequest: OperationParameter = {\n parameterPath: \"transferToParticipantRequest\",\n mapper: TransferToParticipantRequestMapper,\n};\n\nexport const addParticipantRequest: OperationParameter = {\n parameterPath: \"addParticipantRequest\",\n mapper: AddParticipantRequestMapper,\n};\n\nexport const removeParticipantRequest: OperationParameter = {\n parameterPath: \"removeParticipantRequest\",\n mapper: RemoveParticipantRequestMapper,\n};\n\nexport const muteParticipantsRequest: OperationParameter = {\n parameterPath: \"muteParticipantsRequest\",\n mapper: MuteParticipantsRequestMapper,\n};\n\nexport const unmuteParticipantsRequest: OperationParameter = {\n parameterPath: \"unmuteParticipantsRequest\",\n mapper: UnmuteParticipantsRequestMapper,\n};\n\nexport const cancelAddParticipantRequest: OperationParameter = {\n parameterPath: \"cancelAddParticipantRequest\",\n mapper: CancelAddParticipantRequestMapper,\n};\n\nexport const moveParticipantRequest: OperationParameter = {\n parameterPath: \"moveParticipantRequest\",\n mapper: MoveParticipantsRequestMapper,\n};\n\nexport const participantRawId: OperationURLParameter = {\n parameterPath: \"participantRawId\",\n mapper: {\n serializedName: \"participantRawId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const playRequest: OperationParameter = {\n parameterPath: \"playRequest\",\n mapper: PlayRequestMapper,\n};\n\nexport const startTranscriptionRequest: OperationParameter = {\n parameterPath: \"startTranscriptionRequest\",\n mapper: StartTranscriptionRequestMapper,\n};\n\nexport const stopTranscriptionRequest: OperationParameter = {\n parameterPath: \"stopTranscriptionRequest\",\n mapper: StopTranscriptionRequestMapper,\n};\n\nexport const recognizeRequest: OperationParameter = {\n parameterPath: \"recognizeRequest\",\n mapper: RecognizeRequestMapper,\n};\n\nexport const continuousDtmfRecognitionRequest: OperationParameter = {\n parameterPath: \"continuousDtmfRecognitionRequest\",\n mapper: ContinuousDtmfRecognitionRequestMapper,\n};\n\nexport const sendDtmfTonesRequest: OperationParameter = {\n parameterPath: \"sendDtmfTonesRequest\",\n mapper: SendDtmfTonesRequestMapper,\n};\n\nexport const updateTranscriptionRequest: OperationParameter = {\n parameterPath: \"updateTranscriptionRequest\",\n mapper: UpdateTranscriptionRequestMapper,\n};\n\nexport const holdRequest: OperationParameter = {\n parameterPath: \"holdRequest\",\n mapper: HoldRequestMapper,\n};\n\nexport const unholdRequest: OperationParameter = {\n parameterPath: \"unholdRequest\",\n mapper: UnholdRequestMapper,\n};\n\nexport const startMediaStreamingRequest: OperationParameter = {\n parameterPath: \"startMediaStreamingRequest\",\n mapper: StartMediaStreamingRequestMapper,\n};\n\nexport const stopMediaStreamingRequest: OperationParameter = {\n parameterPath: \"stopMediaStreamingRequest\",\n mapper: StopMediaStreamingRequestMapper,\n};\n\nexport const interruptRequest: OperationParameter = {\n parameterPath: \"interruptRequest\",\n mapper: InterruptAudioAndAnnounceRequestMapper,\n};\n\nexport const startDialogRequest: OperationParameter = {\n parameterPath: \"startDialogRequest\",\n mapper: StartDialogRequestMapper,\n};\n\nexport const dialogId: OperationURLParameter = {\n parameterPath: \"dialogId\",\n mapper: {\n serializedName: \"dialogId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationCallbackUri: OperationQueryParameter = {\n parameterPath: [\"options\", \"operationCallbackUri\"],\n mapper: {\n serializedName: \"operationCallbackUri\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const updateDialogRequest: OperationParameter = {\n parameterPath: \"updateDialogRequest\",\n mapper: UpdateDialogRequestMapper,\n};\n\nexport const startCallRecording: OperationParameter = {\n parameterPath: \"startCallRecording\",\n mapper: StartCallRecordingRequestMapper,\n};\n\nexport const recordingId: OperationURLParameter = {\n parameterPath: \"recordingId\",\n mapper: {\n serializedName: \"recordingId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAyB8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAuB;IACnD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE,8BAAuB;CAChC,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,sBAAsB,GAAuB;IACxD,aAAa,EAAE,CAAC,SAAS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CAAsC;CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAuB;IACtD,aAAa,EAAE,sBAAsB;IACrC,MAAM,EAAE,iCAA0B;CACnC,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE,wBAAiB;CAC1B,CAAC;AAEW,QAAA,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,0BAAmB;CAC5B,CAAC;AAEW,QAAA,0BAA0B,GAAuB;IAC5D,aAAa,EAAE,4BAA4B;IAC3C,MAAM,EAAE,uCAAgC;CACzC,CAAC;AAEW,QAAA,yBAAyB,GAAuB;IAC3D,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,sCAA+B;CACxC,CAAC;AAEW,QAAA,kBAAkB,GAAuB;IACpD,aAAa,EAAE,oBAAoB;IACnC,MAAM,EAAE,sCAA+B;CACxC,CAAC;AAEW,QAAA,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n CreateCallRequest as CreateCallRequestMapper,\n AnswerCallRequest as AnswerCallRequestMapper,\n RedirectCallRequest as RedirectCallRequestMapper,\n RejectCallRequest as RejectCallRequestMapper,\n ConnectRequest as ConnectRequestMapper,\n TransferToParticipantRequest as TransferToParticipantRequestMapper,\n AddParticipantRequest as AddParticipantRequestMapper,\n RemoveParticipantRequest as RemoveParticipantRequestMapper,\n MuteParticipantsRequest as MuteParticipantsRequestMapper,\n CancelAddParticipantRequest as CancelAddParticipantRequestMapper,\n MoveParticipantsRequest as MoveParticipantsRequestMapper,\n PlayRequest as PlayRequestMapper,\n StartTranscriptionRequest as StartTranscriptionRequestMapper,\n StopTranscriptionRequest as StopTranscriptionRequestMapper,\n UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper,\n SummarizeCallRequest as SummarizeCallRequestMapper,\n RecognizeRequest as RecognizeRequestMapper,\n ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper,\n SendDtmfTonesRequest as SendDtmfTonesRequestMapper,\n HoldRequest as HoldRequestMapper,\n UnholdRequest as UnholdRequestMapper,\n StartMediaStreamingRequest as StartMediaStreamingRequestMapper,\n StopMediaStreamingRequest as StopMediaStreamingRequestMapper,\n StartCallRecordingRequest as StartCallRecordingRequestMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const createCallRequest: OperationParameter = {\n parameterPath: \"createCallRequest\",\n mapper: CreateCallRequestMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-08-15-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const repeatabilityRequestID: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityRequestID\"],\n mapper: {\n serializedName: \"Repeatability-Request-ID\",\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const repeatabilityFirstSent: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityFirstSent\"],\n mapper: {\n serializedName: \"Repeatability-First-Sent\",\n type: {\n name: \"DateTimeRfc1123\",\n },\n },\n};\n\nexport const answerCallRequest: OperationParameter = {\n parameterPath: \"answerCallRequest\",\n mapper: AnswerCallRequestMapper,\n};\n\nexport const redirectCallRequest: OperationParameter = {\n parameterPath: \"redirectCallRequest\",\n mapper: RedirectCallRequestMapper,\n};\n\nexport const rejectCallRequest: OperationParameter = {\n parameterPath: \"rejectCallRequest\",\n mapper: RejectCallRequestMapper,\n};\n\nexport const connectRequest: OperationParameter = {\n parameterPath: \"connectRequest\",\n mapper: ConnectRequestMapper,\n};\n\nexport const callConnectionId: OperationURLParameter = {\n parameterPath: \"callConnectionId\",\n mapper: {\n serializedName: \"callConnectionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const transferToParticipantRequest: OperationParameter = {\n parameterPath: \"transferToParticipantRequest\",\n mapper: TransferToParticipantRequestMapper,\n};\n\nexport const addParticipantRequest: OperationParameter = {\n parameterPath: \"addParticipantRequest\",\n mapper: AddParticipantRequestMapper,\n};\n\nexport const removeParticipantRequest: OperationParameter = {\n parameterPath: \"removeParticipantRequest\",\n mapper: RemoveParticipantRequestMapper,\n};\n\nexport const muteParticipantsRequest: OperationParameter = {\n parameterPath: \"muteParticipantsRequest\",\n mapper: MuteParticipantsRequestMapper,\n};\n\nexport const cancelAddParticipantRequest: OperationParameter = {\n parameterPath: \"cancelAddParticipantRequest\",\n mapper: CancelAddParticipantRequestMapper,\n};\n\nexport const moveParticipantRequest: OperationParameter = {\n parameterPath: \"moveParticipantRequest\",\n mapper: MoveParticipantsRequestMapper,\n};\n\nexport const participantRawId: OperationURLParameter = {\n parameterPath: \"participantRawId\",\n mapper: {\n serializedName: \"participantRawId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const playRequest: OperationParameter = {\n parameterPath: \"playRequest\",\n mapper: PlayRequestMapper,\n};\n\nexport const startTranscriptionRequest: OperationParameter = {\n parameterPath: \"startTranscriptionRequest\",\n mapper: StartTranscriptionRequestMapper,\n};\n\nexport const stopTranscriptionRequest: OperationParameter = {\n parameterPath: \"stopTranscriptionRequest\",\n mapper: StopTranscriptionRequestMapper,\n};\n\nexport const updateTranscriptionRequest: OperationParameter = {\n parameterPath: \"updateTranscriptionRequest\",\n mapper: UpdateTranscriptionRequestMapper,\n};\n\nexport const summarizeCallRequest: OperationParameter = {\n parameterPath: \"summarizeCallRequest\",\n mapper: SummarizeCallRequestMapper,\n};\n\nexport const recognizeRequest: OperationParameter = {\n parameterPath: \"recognizeRequest\",\n mapper: RecognizeRequestMapper,\n};\n\nexport const continuousDtmfRecognitionRequest: OperationParameter = {\n parameterPath: \"continuousDtmfRecognitionRequest\",\n mapper: ContinuousDtmfRecognitionRequestMapper,\n};\n\nexport const sendDtmfTonesRequest: OperationParameter = {\n parameterPath: \"sendDtmfTonesRequest\",\n mapper: SendDtmfTonesRequestMapper,\n};\n\nexport const holdRequest: OperationParameter = {\n parameterPath: \"holdRequest\",\n mapper: HoldRequestMapper,\n};\n\nexport const unholdRequest: OperationParameter = {\n parameterPath: \"unholdRequest\",\n mapper: UnholdRequestMapper,\n};\n\nexport const startMediaStreamingRequest: OperationParameter = {\n parameterPath: \"startMediaStreamingRequest\",\n mapper: StartMediaStreamingRequestMapper,\n};\n\nexport const stopMediaStreamingRequest: OperationParameter = {\n parameterPath: \"stopMediaStreamingRequest\",\n mapper: StopMediaStreamingRequestMapper,\n};\n\nexport const startCallRecording: OperationParameter = {\n parameterPath: \"startCallRecording\",\n mapper: StartCallRecordingRequestMapper,\n};\n\nexport const recordingId: OperationURLParameter = {\n parameterPath: \"recordingId\",\n mapper: {\n serializedName: \"recordingId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { CallConnection } from "../operationsInterfaces/index.js";
|
|
3
3
|
import { CallAutomationApiClient } from "../callAutomationApiClient.js";
|
|
4
|
-
import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse,
|
|
4
|
+
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";
|
|
5
5
|
/** Class containing CallConnection operations. */
|
|
6
6
|
export declare class CallConnectionImpl implements CallConnection {
|
|
7
7
|
private readonly client;
|
|
@@ -53,7 +53,7 @@ export declare class CallConnectionImpl implements CallConnection {
|
|
|
53
53
|
/**
|
|
54
54
|
* Add a participant to the call.
|
|
55
55
|
* @param callConnectionId The call connection Id
|
|
56
|
-
* @param addParticipantRequest The
|
|
56
|
+
* @param addParticipantRequest The request payload for adding participant to the call.
|
|
57
57
|
* @param options The options parameters.
|
|
58
58
|
*/
|
|
59
59
|
addParticipant(callConnectionId: string, addParticipantRequest: AddParticipantRequest, options?: CallConnectionAddParticipantOptionalParams): Promise<CallConnectionAddParticipantResponse>;
|
|
@@ -71,13 +71,6 @@ export declare class CallConnectionImpl implements CallConnection {
|
|
|
71
71
|
* @param options The options parameters.
|
|
72
72
|
*/
|
|
73
73
|
mute(callConnectionId: string, muteParticipantsRequest: MuteParticipantsRequest, options?: CallConnectionMuteOptionalParams): Promise<CallConnectionMuteResponse>;
|
|
74
|
-
/**
|
|
75
|
-
* Unmute participants from the call using identifier.
|
|
76
|
-
* @param callConnectionId The call connection id.
|
|
77
|
-
* @param unmuteParticipantsRequest The participants to be unmuted from the call.
|
|
78
|
-
* @param options The options parameters.
|
|
79
|
-
*/
|
|
80
|
-
unmute(callConnectionId: string, unmuteParticipantsRequest: UnmuteParticipantsRequest, options?: CallConnectionUnmuteOptionalParams): Promise<CallConnectionUnmuteResponse>;
|
|
81
74
|
/**
|
|
82
75
|
* Cancel add participant operation.
|
|
83
76
|
* @param callConnectionId The call connection Id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,uBAAuB,EAEvB,2CAA2C,EAE3C,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/operations/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,uBAAuB,EAEvB,2CAA2C,EAE3C,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,2BAA2B,EAC3B,gDAAgD,EAChD,0CAA0C,EAC1C,uBAAuB,EACvB,4CAA4C,EAC5C,sCAAsC,EACtC,0CAA0C,EAC1C,oCAAoC,EAErC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACI,gBAAgB,CACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,uBAAuB,CAAC;YAsBvC,yBAAyB;YA2BzB,wBAAwB;IAYvC;;;;OAIG;IACH,OAAO,CACL,gBAAgB,EAAE,MAAM,EACxB,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sC,CAAC;IAOlD;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;CAU7B"}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing CallConnection operations. */
|
|
18
18
|
class CallConnectionImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class CallConnection class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -38,52 +39,35 @@ class CallConnectionImpl {
|
|
|
38
39
|
return this;
|
|
39
40
|
},
|
|
40
41
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
42
|
+
if (settings?.maxPageSize) {
|
|
42
43
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
44
|
}
|
|
44
45
|
return this.getParticipantsPagingPage(callConnectionId, options, settings);
|
|
45
46
|
},
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
|
-
getParticipantsPagingPage(callConnectionId, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
49
|
+
async *getParticipantsPagingPage(callConnectionId, options, settings) {
|
|
50
|
+
let result;
|
|
51
|
+
let continuationToken = settings?.continuationToken;
|
|
52
|
+
if (!continuationToken) {
|
|
53
|
+
result = await this._getParticipants(callConnectionId, options);
|
|
54
|
+
let page = result.value || [];
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
57
|
+
yield page;
|
|
58
|
+
}
|
|
59
|
+
while (continuationToken) {
|
|
60
|
+
result = await this._getParticipantsNext(callConnectionId, continuationToken, options);
|
|
61
|
+
continuationToken = result.nextLink;
|
|
62
|
+
let page = result.value || [];
|
|
63
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
64
|
+
yield page;
|
|
65
|
+
}
|
|
67
66
|
}
|
|
68
|
-
getParticipantsPagingAll(callConnectionId, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.getParticipantsPagingPage(callConnectionId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
67
|
+
async *getParticipantsPagingAll(callConnectionId, options) {
|
|
68
|
+
for await (const page of this.getParticipantsPagingPage(callConnectionId, options)) {
|
|
69
|
+
yield* page;
|
|
70
|
+
}
|
|
87
71
|
}
|
|
88
72
|
/**
|
|
89
73
|
* Get the detail properties of an ongoing call.
|
|
@@ -130,7 +114,7 @@ class CallConnectionImpl {
|
|
|
130
114
|
/**
|
|
131
115
|
* Add a participant to the call.
|
|
132
116
|
* @param callConnectionId The call connection Id
|
|
133
|
-
* @param addParticipantRequest The
|
|
117
|
+
* @param addParticipantRequest The request payload for adding participant to the call.
|
|
134
118
|
* @param options The options parameters.
|
|
135
119
|
*/
|
|
136
120
|
addParticipant(callConnectionId, addParticipantRequest, options) {
|
|
@@ -154,15 +138,6 @@ class CallConnectionImpl {
|
|
|
154
138
|
mute(callConnectionId, muteParticipantsRequest, options) {
|
|
155
139
|
return this.client.sendOperationRequest({ callConnectionId, muteParticipantsRequest, options }, muteOperationSpec);
|
|
156
140
|
}
|
|
157
|
-
/**
|
|
158
|
-
* Unmute participants from the call using identifier.
|
|
159
|
-
* @param callConnectionId The call connection id.
|
|
160
|
-
* @param unmuteParticipantsRequest The participants to be unmuted from the call.
|
|
161
|
-
* @param options The options parameters.
|
|
162
|
-
*/
|
|
163
|
-
unmute(callConnectionId, unmuteParticipantsRequest, options) {
|
|
164
|
-
return this.client.sendOperationRequest({ callConnectionId, unmuteParticipantsRequest, options }, unmuteOperationSpec);
|
|
165
|
-
}
|
|
166
141
|
/**
|
|
167
142
|
* Cancel add participant operation.
|
|
168
143
|
* @param callConnectionId The call connection Id
|
|
@@ -359,29 +334,6 @@ const muteOperationSpec = {
|
|
|
359
334
|
mediaType: "json",
|
|
360
335
|
serializer,
|
|
361
336
|
};
|
|
362
|
-
const unmuteOperationSpec = {
|
|
363
|
-
path: "/calling/callConnections/{callConnectionId}/participants:unmute",
|
|
364
|
-
httpMethod: "POST",
|
|
365
|
-
responses: {
|
|
366
|
-
200: {
|
|
367
|
-
bodyMapper: Mappers.UnmuteParticipantsResponse,
|
|
368
|
-
},
|
|
369
|
-
default: {
|
|
370
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
371
|
-
},
|
|
372
|
-
},
|
|
373
|
-
requestBody: Parameters.unmuteParticipantsRequest,
|
|
374
|
-
queryParameters: [Parameters.apiVersion],
|
|
375
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
376
|
-
headerParameters: [
|
|
377
|
-
Parameters.contentType,
|
|
378
|
-
Parameters.accept,
|
|
379
|
-
Parameters.repeatabilityRequestID,
|
|
380
|
-
Parameters.repeatabilityFirstSent,
|
|
381
|
-
],
|
|
382
|
-
mediaType: "json",
|
|
383
|
-
serializer,
|
|
384
|
-
};
|
|
385
337
|
const cancelAddParticipantOperationSpec = {
|
|
386
338
|
path: "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant",
|
|
387
339
|
httpMethod: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAqCtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,gBAAgB,CACrB,gBAAwB,EACxB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,yBAAyB,CACnC,gBAAgB,EAChB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,yBAAyB,CACtC,gBAAwB,EACxB,OAAqD,EACrD,QAAuB;;YAEvB,IAAI,MAA6C,CAAC;YAClD,IAAI,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E,IAAI,EAAE,YAAY;IAClB,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,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,QAAQ;KACpB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CallConnection } 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 CallParticipantInternal,\n CallConnectionGetParticipantsNextOptionalParams,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetParticipantsResponse,\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 UnmuteParticipantsRequest,\n CallConnectionUnmuteOptionalParams,\n CallConnectionUnmuteResponse,\n CancelAddParticipantRequest,\n CallConnectionCancelAddParticipantOptionalParams,\n CallConnectionCancelAddParticipantResponse,\n MoveParticipantsRequest,\n CallConnectionMoveParticipantsOptionalParams,\n CallConnectionMoveParticipantsResponse,\n CallConnectionGetParticipantOptionalParams,\n CallConnectionGetParticipantResponse,\n CallConnectionGetParticipantsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CallConnection operations. */\nexport class CallConnectionImpl implements CallConnection {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallConnection class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\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 public listParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): PagedAsyncIterableIterator<CallParticipantInternal> {\n const iter = this.getParticipantsPagingAll(callConnectionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.getParticipantsPagingPage(\n callConnectionId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *getParticipantsPagingPage(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CallParticipantInternal[]> {\n let result: CallConnectionGetParticipantsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._getParticipants(callConnectionId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._getParticipantsNext(\n callConnectionId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *getParticipantsPagingAll(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): AsyncIterableIterator<CallParticipantInternal> {\n for await (const page of this.getParticipantsPagingPage(\n callConnectionId,\n options,\n )) {\n yield* page;\n }\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, options },\n getCallOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, options },\n hangupCallOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, options },\n terminateCallOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, transferToParticipantRequest, options },\n transferToParticipantOperationSpec,\n );\n }\n\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 private _getParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): Promise<CallConnectionGetParticipantsResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n getParticipantsOperationSpec,\n );\n }\n\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param addParticipantRequest The add participants request.\n * @param options The options parameters.\n */\n addParticipant(\n callConnectionId: string,\n addParticipantRequest: AddParticipantRequest,\n options?: CallConnectionAddParticipantOptionalParams,\n ): Promise<CallConnectionAddParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, addParticipantRequest, options },\n addParticipantOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, removeParticipantRequest, options },\n removeParticipantOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, muteParticipantsRequest, options },\n muteOperationSpec,\n );\n }\n\n /**\n * Unmute participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unmuteParticipantsRequest The participants to be unmuted from the call.\n * @param options The options parameters.\n */\n unmute(\n callConnectionId: string,\n unmuteParticipantsRequest: UnmuteParticipantsRequest,\n options?: CallConnectionUnmuteOptionalParams,\n ): Promise<CallConnectionUnmuteResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, unmuteParticipantsRequest, options },\n unmuteOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, cancelAddParticipantRequest, options },\n cancelAddParticipantOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, moveParticipantRequest, options },\n moveParticipantsOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, participantRawId, options },\n getParticipantOperationSpec,\n );\n }\n\n /**\n * GetParticipantsNext\n * @param callConnectionId The call connection Id\n * @param nextLink The nextLink from the previous successful call to the GetParticipants method.\n * @param options The options parameters.\n */\n private _getParticipantsNext(\n callConnectionId: string,\n nextLink: string,\n options?: CallConnectionGetParticipantsNextOptionalParams,\n ): Promise<CallConnectionGetParticipantsNextResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, nextLink, options },\n getParticipantsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallConnectionPropertiesInternal,\n },\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 hangupCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\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 terminateCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:terminate\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n serializer,\n};\nconst transferToParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:transferToParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.TransferCallResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.transferToParticipantRequest,\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 getParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\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 addParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:add\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.AddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.addParticipantRequest,\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 removeParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:remove\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.RemoveParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.removeParticipantRequest,\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 muteOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:mute\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MuteParticipantsResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.muteParticipantsRequest,\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 unmuteOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:unmute\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UnmuteParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.unmuteParticipantsRequest,\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 cancelAddParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.CancelAddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.cancelAddParticipantRequest,\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 moveParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:moveHere\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.MoveParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.moveParticipantRequest,\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 getParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants/{participantRawId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallParticipantInternal,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.participantRawId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getParticipantsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkCtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,gBAAgB,CACrB,gBAAwB,EACxB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAA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B,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,6EAA6E;IACnF,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;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,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,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,QAAQ;KACpB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CallConnection } 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 CallParticipantInternal,\n CallConnectionGetParticipantsNextOptionalParams,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetParticipantsResponse,\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 CallConnectionGetParticipantsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CallConnection operations. */\nexport class CallConnectionImpl implements CallConnection {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallConnection class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\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 public listParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): PagedAsyncIterableIterator<CallParticipantInternal> {\n const iter = this.getParticipantsPagingAll(callConnectionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.getParticipantsPagingPage(\n callConnectionId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *getParticipantsPagingPage(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CallParticipantInternal[]> {\n let result: CallConnectionGetParticipantsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._getParticipants(callConnectionId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._getParticipantsNext(\n callConnectionId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *getParticipantsPagingAll(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): AsyncIterableIterator<CallParticipantInternal> {\n for await (const page of this.getParticipantsPagingPage(\n callConnectionId,\n options,\n )) {\n yield* page;\n }\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, options },\n getCallOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, options },\n hangupCallOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, options },\n terminateCallOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, transferToParticipantRequest, options },\n transferToParticipantOperationSpec,\n );\n }\n\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 private _getParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): Promise<CallConnectionGetParticipantsResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n getParticipantsOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, addParticipantRequest, options },\n addParticipantOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, removeParticipantRequest, options },\n removeParticipantOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, muteParticipantsRequest, options },\n muteOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, cancelAddParticipantRequest, options },\n cancelAddParticipantOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, moveParticipantRequest, options },\n moveParticipantsOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { callConnectionId, participantRawId, options },\n getParticipantOperationSpec,\n );\n }\n\n /**\n * GetParticipantsNext\n * @param callConnectionId The call connection Id\n * @param nextLink The nextLink from the previous successful call to the GetParticipants method.\n * @param options The options parameters.\n */\n private _getParticipantsNext(\n callConnectionId: string,\n nextLink: string,\n options?: CallConnectionGetParticipantsNextOptionalParams,\n ): Promise<CallConnectionGetParticipantsNextResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, nextLink, options },\n getParticipantsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallConnectionPropertiesInternal,\n },\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 hangupCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\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 terminateCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:terminate\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n serializer,\n};\nconst transferToParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:transferToParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.TransferCallResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.transferToParticipantRequest,\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 getParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\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 addParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:add\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.AddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.addParticipantRequest,\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 removeParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:remove\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.RemoveParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.removeParticipantRequest,\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 muteOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:mute\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MuteParticipantsResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.muteParticipantsRequest,\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 cancelAddParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.CancelAddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.cancelAddParticipantRequest,\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 moveParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:moveHere\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.MoveParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.moveParticipantRequest,\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 getParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants/{participantRawId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallParticipantInternal,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.participantRawId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getParticipantsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CallMedia } from "../operationsInterfaces/index.js";
|
|
2
2
|
import { CallAutomationApiClient } from "../callAutomationApiClient.js";
|
|
3
|
-
import { PlayRequest, CallMediaPlayOptionalParams, StartTranscriptionRequest, CallMediaStartTranscriptionOptionalParams, StopTranscriptionRequest, CallMediaStopTranscriptionOptionalParams, CallMediaCancelAllMediaOperationsOptionalParams, RecognizeRequest, CallMediaRecognizeOptionalParams, ContinuousDtmfRecognitionRequest, CallMediaStartContinuousDtmfRecognitionOptionalParams, CallMediaStopContinuousDtmfRecognitionOptionalParams, SendDtmfTonesRequest, CallMediaSendDtmfTonesOptionalParams, CallMediaSendDtmfTonesResponse,
|
|
3
|
+
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";
|
|
4
4
|
/** Class containing CallMedia operations. */
|
|
5
5
|
export declare class CallMediaImpl implements CallMedia {
|
|
6
6
|
private readonly client;
|
|
@@ -30,6 +30,20 @@ export declare class CallMediaImpl implements CallMedia {
|
|
|
30
30
|
* @param options The options parameters.
|
|
31
31
|
*/
|
|
32
32
|
stopTranscription(callConnectionId: string, stopTranscriptionRequest: StopTranscriptionRequest, options?: CallMediaStopTranscriptionOptionalParams): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* API to change transcription language.
|
|
35
|
+
* @param callConnectionId The call connection id
|
|
36
|
+
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
updateTranscription(callConnectionId: string, updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* API to trigger a summary of the call so far.
|
|
42
|
+
* @param callConnectionId The call connection id
|
|
43
|
+
* @param summarizeCallRequest The SummarizeCall request
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
summarizeCall(callConnectionId: string, summarizeCallRequest: SummarizeCallRequest, options?: CallMediaSummarizeCallOptionalParams): Promise<void>;
|
|
33
47
|
/**
|
|
34
48
|
* Cancel all media operations in a call.
|
|
35
49
|
* @param callConnectionId The call connection id
|
|
@@ -64,13 +78,6 @@ export declare class CallMediaImpl implements CallMedia {
|
|
|
64
78
|
* @param options The options parameters.
|
|
65
79
|
*/
|
|
66
80
|
sendDtmfTones(callConnectionId: string, sendDtmfTonesRequest: SendDtmfTonesRequest, options?: CallMediaSendDtmfTonesOptionalParams): Promise<CallMediaSendDtmfTonesResponse>;
|
|
67
|
-
/**
|
|
68
|
-
* API to change transcription language.
|
|
69
|
-
* @param callConnectionId The call connection id
|
|
70
|
-
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
71
|
-
* @param options The options parameters.
|
|
72
|
-
*/
|
|
73
|
-
updateTranscription(callConnectionId: string, updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams): Promise<void>;
|
|
74
81
|
/**
|
|
75
82
|
* Hold participant from the call using identifier.
|
|
76
83
|
* @param callConnectionId The call connection id.
|
|
@@ -99,12 +106,5 @@ export declare class CallMediaImpl implements CallMedia {
|
|
|
99
106
|
* @param options The options parameters.
|
|
100
107
|
*/
|
|
101
108
|
stopMediaStreaming(callConnectionId: string, stopMediaStreamingRequest: StopMediaStreamingRequest, options?: CallMediaStopMediaStreamingOptionalParams): Promise<void>;
|
|
102
|
-
/**
|
|
103
|
-
* Plays audio to participants in the call.
|
|
104
|
-
* @param callConnectionId The call connection id.
|
|
105
|
-
* @param interruptRequest play request payload.
|
|
106
|
-
* @param options The options parameters.
|
|
107
|
-
*/
|
|
108
|
-
interruptAudioAndAnnounce(callConnectionId: string, interruptRequest: InterruptAudioAndAnnounceRequest, options?: CallMediaInterruptAudioAndAnnounceOptionalParams): Promise<void>;
|
|
109
109
|
}
|
|
110
110
|
//# sourceMappingURL=callMedia.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callMedia.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callMedia.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,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":["../../../../../src/generated/src/operations/callMedia.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE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