@azure/communication-call-automation 1.5.0-alpha.20250519.1 → 1.5.0-beta.2
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 +1 -51
- package/dist/browser/callAutomationClient.d.ts +2 -9
- package/dist/browser/callAutomationClient.d.ts.map +1 -1
- package/dist/browser/callAutomationClient.js +9 -106
- package/dist/browser/callAutomationClient.js.map +1 -1
- package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
- package/dist/browser/callAutomationEventParser.js +0 -18
- package/dist/browser/callAutomationEventParser.js.map +1 -1
- package/dist/browser/callConnection.d.ts +4 -6
- package/dist/browser/callConnection.d.ts.map +1 -1
- package/dist/browser/callConnection.js +13 -112
- package/dist/browser/callConnection.js.map +1 -1
- package/dist/browser/callMedia.d.ts +10 -20
- package/dist/browser/callMedia.d.ts.map +1 -1
- package/dist/browser/callMedia.js +20 -188
- package/dist/browser/callMedia.js.map +1 -1
- package/dist/browser/callRecording.d.ts.map +1 -1
- package/dist/browser/callRecording.js +5 -2
- package/dist/browser/callRecording.js.map +1 -1
- 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 +3 -4
- package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/browser/generated/src/models/index.d.ts +205 -850
- package/dist/browser/generated/src/models/index.d.ts.map +1 -1
- package/dist/browser/generated/src/models/index.js +48 -126
- package/dist/browser/generated/src/models/index.js.map +1 -1
- package/dist/browser/generated/src/models/mappers.d.ts +11 -48
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/src/models/mappers.js +460 -1644
- package/dist/browser/generated/src/models/mappers.js.map +1 -1
- package/dist/browser/generated/src/models/parameters.d.ts +1 -7
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/models/parameters.js +6 -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 +1 -33
- package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
- package/dist/browser/generated/src/operations/callMedia.d.ts +8 -15
- package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callMedia.js +25 -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 +0 -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 +8 -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/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 +67 -155
- 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 +5 -14
- 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 +2 -35
- 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 +10 -51
- package/dist/browser/models/responses.d.ts.map +1 -1
- package/dist/browser/models/responses.js.map +1 -1
- package/dist/browser/utli/converters.d.ts.map +1 -1
- package/dist/browser/utli/converters.js +19 -1
- package/dist/browser/utli/converters.js.map +1 -1
- package/dist/commonjs/callAutomationClient.d.ts +2 -9
- package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
- package/dist/commonjs/callAutomationClient.js +11 -108
- package/dist/commonjs/callAutomationClient.js.map +1 -1
- package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
- package/dist/commonjs/callAutomationEventParser.js +0 -18
- package/dist/commonjs/callAutomationEventParser.js.map +1 -1
- package/dist/commonjs/callConnection.d.ts +4 -6
- package/dist/commonjs/callConnection.d.ts.map +1 -1
- package/dist/commonjs/callConnection.js +15 -114
- package/dist/commonjs/callConnection.js.map +1 -1
- package/dist/commonjs/callMedia.d.ts +10 -20
- package/dist/commonjs/callMedia.d.ts.map +1 -1
- package/dist/commonjs/callMedia.js +39 -207
- package/dist/commonjs/callMedia.js.map +1 -1
- package/dist/commonjs/callRecording.d.ts.map +1 -1
- package/dist/commonjs/callRecording.js +5 -2
- package/dist/commonjs/callRecording.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 +2 -3
- package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.d.ts +205 -850
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/index.js +49 -127
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +11 -48
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +463 -1647
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +1 -7
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +6 -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 +1 -33
- package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callMedia.d.ts +8 -15
- package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callMedia.js +25 -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 +0 -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 +8 -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/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 +67 -155
- 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 +5 -14
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +6 -10
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/models/options.d.ts +2 -35
- 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 +10 -51
- package/dist/commonjs/models/responses.d.ts.map +1 -1
- package/dist/commonjs/models/responses.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utli/converters.d.ts.map +1 -1
- package/dist/commonjs/utli/converters.js +18 -0
- package/dist/commonjs/utli/converters.js.map +1 -1
- package/dist/esm/callAutomationClient.d.ts +2 -9
- package/dist/esm/callAutomationClient.d.ts.map +1 -1
- package/dist/esm/callAutomationClient.js +9 -106
- package/dist/esm/callAutomationClient.js.map +1 -1
- package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
- package/dist/esm/callAutomationEventParser.js +0 -18
- package/dist/esm/callAutomationEventParser.js.map +1 -1
- package/dist/esm/callConnection.d.ts +4 -6
- package/dist/esm/callConnection.d.ts.map +1 -1
- package/dist/esm/callConnection.js +13 -112
- package/dist/esm/callConnection.js.map +1 -1
- package/dist/esm/callMedia.d.ts +10 -20
- package/dist/esm/callMedia.d.ts.map +1 -1
- package/dist/esm/callMedia.js +20 -188
- package/dist/esm/callMedia.js.map +1 -1
- package/dist/esm/callRecording.d.ts.map +1 -1
- package/dist/esm/callRecording.js +5 -2
- package/dist/esm/callRecording.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 +3 -4
- package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/esm/generated/src/models/index.d.ts +205 -850
- package/dist/esm/generated/src/models/index.d.ts.map +1 -1
- package/dist/esm/generated/src/models/index.js +48 -126
- package/dist/esm/generated/src/models/index.js.map +1 -1
- package/dist/esm/generated/src/models/mappers.d.ts +11 -48
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/src/models/mappers.js +460 -1644
- package/dist/esm/generated/src/models/mappers.js.map +1 -1
- package/dist/esm/generated/src/models/parameters.d.ts +1 -7
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/models/parameters.js +6 -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 +1 -33
- package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
- package/dist/esm/generated/src/operations/callMedia.d.ts +8 -15
- package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callMedia.js +25 -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 +0 -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 +8 -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/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 +67 -155
- 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 +5 -14
- 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 +2 -35
- 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 +10 -51
- package/dist/esm/models/responses.d.ts.map +1 -1
- package/dist/esm/models/responses.js.map +1 -1
- package/dist/esm/utli/converters.d.ts.map +1 -1
- package/dist/esm/utli/converters.js +19 -1
- package/dist/esm/utli/converters.js.map +1 -1
- package/dist/react-native/callAutomationClient.d.ts +2 -9
- package/dist/react-native/callAutomationClient.d.ts.map +1 -1
- package/dist/react-native/callAutomationClient.js +9 -106
- 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 +0 -18
- package/dist/react-native/callAutomationEventParser.js.map +1 -1
- package/dist/react-native/callConnection.d.ts +4 -6
- package/dist/react-native/callConnection.d.ts.map +1 -1
- package/dist/react-native/callConnection.js +13 -112
- package/dist/react-native/callConnection.js.map +1 -1
- package/dist/react-native/callMedia.d.ts +10 -20
- package/dist/react-native/callMedia.d.ts.map +1 -1
- package/dist/react-native/callMedia.js +20 -188
- package/dist/react-native/callMedia.js.map +1 -1
- package/dist/react-native/callRecording.d.ts.map +1 -1
- package/dist/react-native/callRecording.js +5 -2
- package/dist/react-native/callRecording.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 +3 -4
- package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/react-native/generated/src/models/index.d.ts +205 -850
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/index.js +48 -126
- package/dist/react-native/generated/src/models/index.js.map +1 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +11 -48
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/mappers.js +460 -1644
- package/dist/react-native/generated/src/models/mappers.js.map +1 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +1 -7
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/parameters.js +6 -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 +1 -33
- package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
- package/dist/react-native/generated/src/operations/callMedia.d.ts +8 -15
- package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callMedia.js +25 -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 +0 -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 +8 -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/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 +67 -155
- 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 +5 -14
- 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 +2 -35
- 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 +10 -51
- 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/utli/converters.d.ts.map +1 -1
- package/dist/react-native/utli/converters.js +19 -1
- package/dist/react-native/utli/converters.js.map +1 -1
- package/package.json +17 -11
- 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 -123
- 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 -123
- 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 -123
- 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 -123
- 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,26 +15,20 @@ 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 participantRawId: OperationURLParameter;
|
|
21
20
|
export declare const nextLink: OperationURLParameter;
|
|
22
21
|
export declare const playRequest: OperationParameter;
|
|
23
22
|
export declare const startTranscriptionRequest: OperationParameter;
|
|
24
23
|
export declare const stopTranscriptionRequest: OperationParameter;
|
|
24
|
+
export declare const updateTranscriptionRequest: OperationParameter;
|
|
25
25
|
export declare const recognizeRequest: OperationParameter;
|
|
26
26
|
export declare const continuousDtmfRecognitionRequest: OperationParameter;
|
|
27
27
|
export declare const sendDtmfTonesRequest: OperationParameter;
|
|
28
|
-
export declare const updateTranscriptionRequest: OperationParameter;
|
|
29
28
|
export declare const holdRequest: OperationParameter;
|
|
30
29
|
export declare const unholdRequest: OperationParameter;
|
|
31
30
|
export declare const startMediaStreamingRequest: OperationParameter;
|
|
32
31
|
export declare const stopMediaStreamingRequest: OperationParameter;
|
|
33
|
-
export declare const interruptRequest: OperationParameter;
|
|
34
|
-
export declare const startDialogRequest: OperationParameter;
|
|
35
|
-
export declare const dialogId: OperationURLParameter;
|
|
36
|
-
export declare const operationCallbackUri: OperationQueryParameter;
|
|
37
|
-
export declare const updateDialogRequest: OperationParameter;
|
|
38
32
|
export declare const startCallRecording: OperationParameter;
|
|
39
33
|
export declare const recordingId: OperationURLParameter;
|
|
40
34
|
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kB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,EAAE,kBAGtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,kBAGxC,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"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { CreateCallRequest as CreateCallRequestMapper, AnswerCallRequest as AnswerCallRequestMapper, RedirectCallRequest as RedirectCallRequestMapper, RejectCallRequest as RejectCallRequestMapper, ConnectRequest as ConnectRequestMapper, TransferToParticipantRequest as TransferToParticipantRequestMapper, AddParticipantRequest as AddParticipantRequestMapper, RemoveParticipantRequest as RemoveParticipantRequestMapper, MuteParticipantsRequest as MuteParticipantsRequestMapper,
|
|
8
|
+
import { CreateCallRequest as CreateCallRequestMapper, AnswerCallRequest as AnswerCallRequestMapper, RedirectCallRequest as RedirectCallRequestMapper, RejectCallRequest as RejectCallRequestMapper, ConnectRequest as ConnectRequestMapper, TransferToParticipantRequest as TransferToParticipantRequestMapper, AddParticipantRequest as AddParticipantRequestMapper, RemoveParticipantRequest as RemoveParticipantRequestMapper, MuteParticipantsRequest as MuteParticipantsRequestMapper, CancelAddParticipantRequest as CancelAddParticipantRequestMapper, PlayRequest as PlayRequestMapper, StartTranscriptionRequest as StartTranscriptionRequestMapper, StopTranscriptionRequest as StopTranscriptionRequestMapper, UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper, RecognizeRequest as RecognizeRequestMapper, ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper, SendDtmfTonesRequest as SendDtmfTonesRequestMapper, HoldRequest as HoldRequestMapper, UnholdRequest as UnholdRequestMapper, StartMediaStreamingRequest as StartMediaStreamingRequestMapper, StopMediaStreamingRequest as StopMediaStreamingRequestMapper, StartCallRecordingRequest as StartCallRecordingRequestMapper, } from "../models/mappers.js";
|
|
9
9
|
export const contentType = {
|
|
10
10
|
parameterPath: ["options", "contentType"],
|
|
11
11
|
mapper: {
|
|
@@ -46,7 +46,7 @@ export const endpoint = {
|
|
|
46
46
|
export const apiVersion = {
|
|
47
47
|
parameterPath: "apiVersion",
|
|
48
48
|
mapper: {
|
|
49
|
-
defaultValue: "
|
|
49
|
+
defaultValue: "2025-03-30-preview",
|
|
50
50
|
isConstant: true,
|
|
51
51
|
serializedName: "api-version",
|
|
52
52
|
type: {
|
|
@@ -114,10 +114,6 @@ export const muteParticipantsRequest = {
|
|
|
114
114
|
parameterPath: "muteParticipantsRequest",
|
|
115
115
|
mapper: MuteParticipantsRequestMapper,
|
|
116
116
|
};
|
|
117
|
-
export const unmuteParticipantsRequest = {
|
|
118
|
-
parameterPath: "unmuteParticipantsRequest",
|
|
119
|
-
mapper: UnmuteParticipantsRequestMapper,
|
|
120
|
-
};
|
|
121
117
|
export const cancelAddParticipantRequest = {
|
|
122
118
|
parameterPath: "cancelAddParticipantRequest",
|
|
123
119
|
mapper: CancelAddParticipantRequestMapper,
|
|
@@ -155,6 +151,10 @@ export const stopTranscriptionRequest = {
|
|
|
155
151
|
parameterPath: "stopTranscriptionRequest",
|
|
156
152
|
mapper: StopTranscriptionRequestMapper,
|
|
157
153
|
};
|
|
154
|
+
export const updateTranscriptionRequest = {
|
|
155
|
+
parameterPath: "updateTranscriptionRequest",
|
|
156
|
+
mapper: UpdateTranscriptionRequestMapper,
|
|
157
|
+
};
|
|
158
158
|
export const recognizeRequest = {
|
|
159
159
|
parameterPath: "recognizeRequest",
|
|
160
160
|
mapper: RecognizeRequestMapper,
|
|
@@ -167,10 +167,6 @@ export const sendDtmfTonesRequest = {
|
|
|
167
167
|
parameterPath: "sendDtmfTonesRequest",
|
|
168
168
|
mapper: SendDtmfTonesRequestMapper,
|
|
169
169
|
};
|
|
170
|
-
export const updateTranscriptionRequest = {
|
|
171
|
-
parameterPath: "updateTranscriptionRequest",
|
|
172
|
-
mapper: UpdateTranscriptionRequestMapper,
|
|
173
|
-
};
|
|
174
170
|
export const holdRequest = {
|
|
175
171
|
parameterPath: "holdRequest",
|
|
176
172
|
mapper: HoldRequestMapper,
|
|
@@ -187,37 +183,6 @@ export const stopMediaStreamingRequest = {
|
|
|
187
183
|
parameterPath: "stopMediaStreamingRequest",
|
|
188
184
|
mapper: StopMediaStreamingRequestMapper,
|
|
189
185
|
};
|
|
190
|
-
export const interruptRequest = {
|
|
191
|
-
parameterPath: "interruptRequest",
|
|
192
|
-
mapper: InterruptAudioAndAnnounceRequestMapper,
|
|
193
|
-
};
|
|
194
|
-
export const startDialogRequest = {
|
|
195
|
-
parameterPath: "startDialogRequest",
|
|
196
|
-
mapper: StartDialogRequestMapper,
|
|
197
|
-
};
|
|
198
|
-
export const dialogId = {
|
|
199
|
-
parameterPath: "dialogId",
|
|
200
|
-
mapper: {
|
|
201
|
-
serializedName: "dialogId",
|
|
202
|
-
required: true,
|
|
203
|
-
type: {
|
|
204
|
-
name: "String",
|
|
205
|
-
},
|
|
206
|
-
},
|
|
207
|
-
};
|
|
208
|
-
export const operationCallbackUri = {
|
|
209
|
-
parameterPath: ["options", "operationCallbackUri"],
|
|
210
|
-
mapper: {
|
|
211
|
-
serializedName: "operationCallbackUri",
|
|
212
|
-
type: {
|
|
213
|
-
name: "String",
|
|
214
|
-
},
|
|
215
|
-
},
|
|
216
|
-
};
|
|
217
|
-
export const updateDialogRequest = {
|
|
218
|
-
parameterPath: "updateDialogRequest",
|
|
219
|
-
mapper: UpdateDialogRequestMapper,
|
|
220
|
-
};
|
|
221
186
|
export const startCallRecording = {
|
|
222
187
|
parameterPath: "startCallRecording",
|
|
223
188
|
mapper: StartCallRecordingRequestMapper,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,iBAAiB,IAAI,uBAAuB,EAC5C,iBAAiB,IAAI,uBAAuB,EAC5C,mBAAmB,IAAI,yBAAyB,EAChD,iBAAiB,IAAI,uBAAuB,EAC5C,cAAc,IAAI,oBAAoB,EACtC,4BAA4B,IAAI,kCAAkC,EAClE,qBAAqB,IAAI,2BAA2B,EACpD,wBAAwB,IAAI,8BAA8B,EAC1D,uBAAuB,IAAI,6BAA6B,EACxD,yBAAyB,IAAI,+BAA+B,EAC5D,2BAA2B,IAAI,iCAAiC,EAChE,WAAW,IAAI,iBAAiB,EAChC,yBAAyB,IAAI,+BAA+B,EAC5D,wBAAwB,IAAI,8BAA8B,EAC1D,gBAAgB,IAAI,sBAAsB,EAC1C,gCAAgC,IAAI,sCAAsC,EAC1E,oBAAoB,IAAI,0BAA0B,EAClD,0BAA0B,IAAI,gCAAgC,EAC9D,WAAW,IAAI,iBAAiB,EAChC,aAAa,IAAI,mBAAmB,EACpC,0BAA0B,IAAI,gCAAgC,EAC9D,yBAAyB,IAAI,+BAA+B,EAC5D,gCAAgC,IAAI,sCAAsC,EAC1E,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,EAChD,yBAAyB,IAAI,+BAA+B,GAC7D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC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MAAM,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 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 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":"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AAoB;IACnC,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,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 PlayRequest as PlayRequestMapper,\n StartTranscriptionRequest as StartTranscriptionRequestMapper,\n StopTranscriptionRequest as StopTranscriptionRequestMapper,\n UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper,\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-03-30-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 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 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, 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,0CAA0C,EAC1C,oCAAoC,EAErC,MAA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E,uBAAuB,EAChD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,EACxB,2BAA2B,EAAE,2BAA2B,EACxD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;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"}
|
|
@@ -127,7 +127,7 @@ export class CallConnectionImpl {
|
|
|
127
127
|
/**
|
|
128
128
|
* Add a participant to the call.
|
|
129
129
|
* @param callConnectionId The call connection Id
|
|
130
|
-
* @param addParticipantRequest The
|
|
130
|
+
* @param addParticipantRequest The request payload for adding participant to the call.
|
|
131
131
|
* @param options The options parameters.
|
|
132
132
|
*/
|
|
133
133
|
addParticipant(callConnectionId, addParticipantRequest, options) {
|
|
@@ -151,15 +151,6 @@ export class CallConnectionImpl {
|
|
|
151
151
|
mute(callConnectionId, muteParticipantsRequest, options) {
|
|
152
152
|
return this.client.sendOperationRequest({ callConnectionId, muteParticipantsRequest, options }, muteOperationSpec);
|
|
153
153
|
}
|
|
154
|
-
/**
|
|
155
|
-
* Unmute participants from the call using identifier.
|
|
156
|
-
* @param callConnectionId The call connection id.
|
|
157
|
-
* @param unmuteParticipantsRequest The participants to be unmuted from the call.
|
|
158
|
-
* @param options The options parameters.
|
|
159
|
-
*/
|
|
160
|
-
unmute(callConnectionId, unmuteParticipantsRequest, options) {
|
|
161
|
-
return this.client.sendOperationRequest({ callConnectionId, unmuteParticipantsRequest, options }, unmuteOperationSpec);
|
|
162
|
-
}
|
|
163
154
|
/**
|
|
164
155
|
* Cancel add participant operation.
|
|
165
156
|
* @param callConnectionId The call connection Id
|
|
@@ -346,29 +337,6 @@ const muteOperationSpec = {
|
|
|
346
337
|
mediaType: "json",
|
|
347
338
|
serializer,
|
|
348
339
|
};
|
|
349
|
-
const unmuteOperationSpec = {
|
|
350
|
-
path: "/calling/callConnections/{callConnectionId}/participants:unmute",
|
|
351
|
-
httpMethod: "POST",
|
|
352
|
-
responses: {
|
|
353
|
-
200: {
|
|
354
|
-
bodyMapper: Mappers.UnmuteParticipantsResponse,
|
|
355
|
-
},
|
|
356
|
-
default: {
|
|
357
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
358
|
-
},
|
|
359
|
-
},
|
|
360
|
-
requestBody: Parameters.unmuteParticipantsRequest,
|
|
361
|
-
queryParameters: [Parameters.apiVersion],
|
|
362
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
363
|
-
headerParameters: [
|
|
364
|
-
Parameters.contentType,
|
|
365
|
-
Parameters.accept,
|
|
366
|
-
Parameters.repeatabilityRequestID,
|
|
367
|
-
Parameters.repeatabilityFirstSent,
|
|
368
|
-
],
|
|
369
|
-
mediaType: "json",
|
|
370
|
-
serializer,
|
|
371
|
-
};
|
|
372
340
|
const cancelAddParticipantOperationSpec = {
|
|
373
341
|
path: "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant",
|
|
374
342
|
httpMethod: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkCtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+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,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 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 * 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 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,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AA+BtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,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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 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 * 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 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, 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,13 @@ 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>;
|
|
33
40
|
/**
|
|
34
41
|
* Cancel all media operations in a call.
|
|
35
42
|
* @param callConnectionId The call connection id
|
|
@@ -64,13 +71,6 @@ export declare class CallMediaImpl implements CallMedia {
|
|
|
64
71
|
* @param options The options parameters.
|
|
65
72
|
*/
|
|
66
73
|
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
74
|
/**
|
|
75
75
|
* Hold participant from the call using identifier.
|
|
76
76
|
* @param callConnectionId The call connection id.
|
|
@@ -99,12 +99,5 @@ export declare class CallMediaImpl implements CallMedia {
|
|
|
99
99
|
* @param options The options parameters.
|
|
100
100
|
*/
|
|
101
101
|
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
102
|
}
|
|
110
103
|
//# 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,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,0BAA0B,EAC1B,0CAA0C,EAC1C,+CAA+C,EAC/C,gBAAgB,EAChB,gCAAgC,EAChC,gCAAgC,EAChC,qDAAqD,EACrD,oDAAoD,EACpD,oBAAoB,EACpB,oCAAoC,EACpC,8BAA8B,EAC9B,WAAW,EACX,2BAA2B,EAC3B,aAAa,EACb,6BAA6B,EAC7B,0BAA0B,EAC1B,0CAA0C,EAC1C,yBAAyB,EACzB,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAgB,EAAE,MAAM,EACxB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,iBAAiB,CACf,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC;IAOh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,EACtD,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAgB,EAAE,MAAM,EACxB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -44,6 +44,15 @@ export class CallMediaImpl {
|
|
|
44
44
|
stopTranscription(callConnectionId, stopTranscriptionRequest, options) {
|
|
45
45
|
return this.client.sendOperationRequest({ callConnectionId, stopTranscriptionRequest, options }, stopTranscriptionOperationSpec);
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* API to change transcription language.
|
|
49
|
+
* @param callConnectionId The call connection id
|
|
50
|
+
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
updateTranscription(callConnectionId, updateTranscriptionRequest, options) {
|
|
54
|
+
return this.client.sendOperationRequest({ callConnectionId, updateTranscriptionRequest, options }, updateTranscriptionOperationSpec);
|
|
55
|
+
}
|
|
47
56
|
/**
|
|
48
57
|
* Cancel all media operations in a call.
|
|
49
58
|
* @param callConnectionId The call connection id
|
|
@@ -88,15 +97,6 @@ export class CallMediaImpl {
|
|
|
88
97
|
sendDtmfTones(callConnectionId, sendDtmfTonesRequest, options) {
|
|
89
98
|
return this.client.sendOperationRequest({ callConnectionId, sendDtmfTonesRequest, options }, sendDtmfTonesOperationSpec);
|
|
90
99
|
}
|
|
91
|
-
/**
|
|
92
|
-
* API to change transcription language.
|
|
93
|
-
* @param callConnectionId The call connection id
|
|
94
|
-
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
95
|
-
* @param options The options parameters.
|
|
96
|
-
*/
|
|
97
|
-
updateTranscription(callConnectionId, updateTranscriptionRequest, options) {
|
|
98
|
-
return this.client.sendOperationRequest({ callConnectionId, updateTranscriptionRequest, options }, updateTranscriptionOperationSpec);
|
|
99
|
-
}
|
|
100
100
|
/**
|
|
101
101
|
* Hold participant from the call using identifier.
|
|
102
102
|
* @param callConnectionId The call connection id.
|
|
@@ -133,15 +133,6 @@ export class CallMediaImpl {
|
|
|
133
133
|
stopMediaStreaming(callConnectionId, stopMediaStreamingRequest, options) {
|
|
134
134
|
return this.client.sendOperationRequest({ callConnectionId, stopMediaStreamingRequest, options }, stopMediaStreamingOperationSpec);
|
|
135
135
|
}
|
|
136
|
-
/**
|
|
137
|
-
* Plays audio to participants in the call.
|
|
138
|
-
* @param callConnectionId The call connection id.
|
|
139
|
-
* @param interruptRequest play request payload.
|
|
140
|
-
* @param options The options parameters.
|
|
141
|
-
*/
|
|
142
|
-
interruptAudioAndAnnounce(callConnectionId, interruptRequest, options) {
|
|
143
|
-
return this.client.sendOperationRequest({ callConnectionId, interruptRequest, options }, interruptAudioAndAnnounceOperationSpec);
|
|
144
|
-
}
|
|
145
136
|
}
|
|
146
137
|
// Operation Specifications
|
|
147
138
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -193,6 +184,22 @@ const stopTranscriptionOperationSpec = {
|
|
|
193
184
|
mediaType: "json",
|
|
194
185
|
serializer,
|
|
195
186
|
};
|
|
187
|
+
const updateTranscriptionOperationSpec = {
|
|
188
|
+
path: "/calling/callConnections/{callConnectionId}:updateTranscription",
|
|
189
|
+
httpMethod: "POST",
|
|
190
|
+
responses: {
|
|
191
|
+
202: {},
|
|
192
|
+
default: {
|
|
193
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
requestBody: Parameters.updateTranscriptionRequest,
|
|
197
|
+
queryParameters: [Parameters.apiVersion],
|
|
198
|
+
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
199
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
200
|
+
mediaType: "json",
|
|
201
|
+
serializer,
|
|
202
|
+
};
|
|
196
203
|
const cancelAllMediaOperationsOperationSpec = {
|
|
197
204
|
path: "/calling/callConnections/{callConnectionId}:cancelAllMediaOperations",
|
|
198
205
|
httpMethod: "POST",
|
|
@@ -278,22 +285,6 @@ const sendDtmfTonesOperationSpec = {
|
|
|
278
285
|
mediaType: "json",
|
|
279
286
|
serializer,
|
|
280
287
|
};
|
|
281
|
-
const updateTranscriptionOperationSpec = {
|
|
282
|
-
path: "/calling/callConnections/{callConnectionId}:updateTranscription",
|
|
283
|
-
httpMethod: "POST",
|
|
284
|
-
responses: {
|
|
285
|
-
202: {},
|
|
286
|
-
default: {
|
|
287
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
288
|
-
},
|
|
289
|
-
},
|
|
290
|
-
requestBody: Parameters.updateTranscriptionRequest,
|
|
291
|
-
queryParameters: [Parameters.apiVersion],
|
|
292
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
293
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
294
|
-
mediaType: "json",
|
|
295
|
-
serializer,
|
|
296
|
-
};
|
|
297
288
|
const holdOperationSpec = {
|
|
298
289
|
path: "/calling/callConnections/{callConnectionId}:hold",
|
|
299
290
|
httpMethod: "POST",
|
|
@@ -358,20 +349,4 @@ const stopMediaStreamingOperationSpec = {
|
|
|
358
349
|
mediaType: "json",
|
|
359
350
|
serializer,
|
|
360
351
|
};
|
|
361
|
-
const interruptAudioAndAnnounceOperationSpec = {
|
|
362
|
-
path: "/calling/callConnections/{callConnectionId}:interruptAudioAndAnnounce",
|
|
363
|
-
httpMethod: "POST",
|
|
364
|
-
responses: {
|
|
365
|
-
202: {},
|
|
366
|
-
default: {
|
|
367
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
requestBody: Parameters.interruptRequest,
|
|
371
|
-
queryParameters: [Parameters.apiVersion],
|
|
372
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
373
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
374
|
-
mediaType: "json",
|
|
375
|
-
serializer,
|
|
376
|
-
};
|
|
377
352
|
//# sourceMappingURL=callMedia.js.map
|