@azure/communication-call-automation 1.5.0-alpha.20250516.3 → 1.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +2 -3
- 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 +1 -2
- 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 +2 -3
- 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 +2 -3
- 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"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.recordingId = exports.startCallRecording = exports.
|
|
10
|
+
exports.recordingId = exports.startCallRecording = exports.stopMediaStreamingRequest = exports.startMediaStreamingRequest = exports.unholdRequest = exports.holdRequest = exports.sendDtmfTonesRequest = exports.continuousDtmfRecognitionRequest = exports.recognizeRequest = exports.updateTranscriptionRequest = exports.stopTranscriptionRequest = exports.startTranscriptionRequest = exports.playRequest = exports.nextLink = exports.participantRawId = exports.cancelAddParticipantRequest = exports.muteParticipantsRequest = exports.removeParticipantRequest = exports.addParticipantRequest = exports.transferToParticipantRequest = exports.callConnectionId = exports.connectRequest = exports.rejectCallRequest = exports.redirectCallRequest = exports.answerCallRequest = exports.repeatabilityFirstSent = exports.repeatabilityRequestID = exports.apiVersion = exports.endpoint = exports.accept = exports.createCallRequest = exports.contentType = void 0;
|
|
11
11
|
const mappers_js_1 = require("../models/mappers.js");
|
|
12
12
|
exports.contentType = {
|
|
13
13
|
parameterPath: ["options", "contentType"],
|
|
@@ -49,7 +49,7 @@ exports.endpoint = {
|
|
|
49
49
|
exports.apiVersion = {
|
|
50
50
|
parameterPath: "apiVersion",
|
|
51
51
|
mapper: {
|
|
52
|
-
defaultValue: "
|
|
52
|
+
defaultValue: "2025-03-30-preview",
|
|
53
53
|
isConstant: true,
|
|
54
54
|
serializedName: "api-version",
|
|
55
55
|
type: {
|
|
@@ -117,10 +117,6 @@ exports.muteParticipantsRequest = {
|
|
|
117
117
|
parameterPath: "muteParticipantsRequest",
|
|
118
118
|
mapper: mappers_js_1.MuteParticipantsRequest,
|
|
119
119
|
};
|
|
120
|
-
exports.unmuteParticipantsRequest = {
|
|
121
|
-
parameterPath: "unmuteParticipantsRequest",
|
|
122
|
-
mapper: mappers_js_1.UnmuteParticipantsRequest,
|
|
123
|
-
};
|
|
124
120
|
exports.cancelAddParticipantRequest = {
|
|
125
121
|
parameterPath: "cancelAddParticipantRequest",
|
|
126
122
|
mapper: mappers_js_1.CancelAddParticipantRequest,
|
|
@@ -158,6 +154,10 @@ exports.stopTranscriptionRequest = {
|
|
|
158
154
|
parameterPath: "stopTranscriptionRequest",
|
|
159
155
|
mapper: mappers_js_1.StopTranscriptionRequest,
|
|
160
156
|
};
|
|
157
|
+
exports.updateTranscriptionRequest = {
|
|
158
|
+
parameterPath: "updateTranscriptionRequest",
|
|
159
|
+
mapper: mappers_js_1.UpdateTranscriptionRequest,
|
|
160
|
+
};
|
|
161
161
|
exports.recognizeRequest = {
|
|
162
162
|
parameterPath: "recognizeRequest",
|
|
163
163
|
mapper: mappers_js_1.RecognizeRequest,
|
|
@@ -170,10 +170,6 @@ exports.sendDtmfTonesRequest = {
|
|
|
170
170
|
parameterPath: "sendDtmfTonesRequest",
|
|
171
171
|
mapper: mappers_js_1.SendDtmfTonesRequest,
|
|
172
172
|
};
|
|
173
|
-
exports.updateTranscriptionRequest = {
|
|
174
|
-
parameterPath: "updateTranscriptionRequest",
|
|
175
|
-
mapper: mappers_js_1.UpdateTranscriptionRequest,
|
|
176
|
-
};
|
|
177
173
|
exports.holdRequest = {
|
|
178
174
|
parameterPath: "holdRequest",
|
|
179
175
|
mapper: mappers_js_1.HoldRequest,
|
|
@@ -190,37 +186,6 @@ exports.stopMediaStreamingRequest = {
|
|
|
190
186
|
parameterPath: "stopMediaStreamingRequest",
|
|
191
187
|
mapper: mappers_js_1.StopMediaStreamingRequest,
|
|
192
188
|
};
|
|
193
|
-
exports.interruptRequest = {
|
|
194
|
-
parameterPath: "interruptRequest",
|
|
195
|
-
mapper: mappers_js_1.InterruptAudioAndAnnounceRequest,
|
|
196
|
-
};
|
|
197
|
-
exports.startDialogRequest = {
|
|
198
|
-
parameterPath: "startDialogRequest",
|
|
199
|
-
mapper: mappers_js_1.StartDialogRequest,
|
|
200
|
-
};
|
|
201
|
-
exports.dialogId = {
|
|
202
|
-
parameterPath: "dialogId",
|
|
203
|
-
mapper: {
|
|
204
|
-
serializedName: "dialogId",
|
|
205
|
-
required: true,
|
|
206
|
-
type: {
|
|
207
|
-
name: "String",
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
};
|
|
211
|
-
exports.operationCallbackUri = {
|
|
212
|
-
parameterPath: ["options", "operationCallbackUri"],
|
|
213
|
-
mapper: {
|
|
214
|
-
serializedName: "operationCallbackUri",
|
|
215
|
-
type: {
|
|
216
|
-
name: "String",
|
|
217
|
-
},
|
|
218
|
-
},
|
|
219
|
-
};
|
|
220
|
-
exports.updateDialogRequest = {
|
|
221
|
-
parameterPath: "updateDialogRequest",
|
|
222
|
-
mapper: mappers_js_1.UpdateDialogRequest,
|
|
223
|
-
};
|
|
224
189
|
exports.startCallRecording = {
|
|
225
190
|
parameterPath: "startCallRecording",
|
|
226
191
|
mapper: mappers_js_1.StartCallRecordingRequest,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDA2B8B;AAEjB,QAAA,W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,EAAE,4BAA4B;IAC3C,MAAM,EAAE,uCAAgC;CACzC,CAAC;AAEW,QAAA,yBAAyB,GAAuB;IAC3D,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,sCAA+B;CACxC,CAAC;AAEW,QAAA,gBAAgB,GAAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,6CAAsC;CAC/C,CAAC;AAEW,QAAA,kBAAkB,GAAuB;IACpD,aAAa,EAAE,oBAAoB;IACnC,MAAM,EAAE,+BAAwB;CACjC,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,oBAAoB,GAA4B;IAC3D,aAAa,EAAE,CAAC,SAAS,EAAE,sBAAsB,CAAC;IAClD,MAAM,EAAE;QACN,cAAc,EAAE,sBAAsB;QACtC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,gCAAyB;CAClC,CAAC;AAEW,QAAA,kBAAkB,GAAuB;IACpD,aAAa,EAAE,oBAAoB;IACnC,MAAM,EAAE,sCAA+B;CACxC,CAAC;AAEW,QAAA,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n CreateCallRequest as CreateCallRequestMapper,\n AnswerCallRequest as AnswerCallRequestMapper,\n RedirectCallRequest as RedirectCallRequestMapper,\n RejectCallRequest as RejectCallRequestMapper,\n ConnectRequest as ConnectRequestMapper,\n TransferToParticipantRequest as TransferToParticipantRequestMapper,\n AddParticipantRequest as AddParticipantRequestMapper,\n RemoveParticipantRequest as RemoveParticipantRequestMapper,\n MuteParticipantsRequest as MuteParticipantsRequestMapper,\n 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":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAuB8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,G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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,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBA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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"}
|
|
@@ -130,7 +130,7 @@ class CallConnectionImpl {
|
|
|
130
130
|
/**
|
|
131
131
|
* Add a participant to the call.
|
|
132
132
|
* @param callConnectionId The call connection Id
|
|
133
|
-
* @param addParticipantRequest The
|
|
133
|
+
* @param addParticipantRequest The request payload for adding participant to the call.
|
|
134
134
|
* @param options The options parameters.
|
|
135
135
|
*/
|
|
136
136
|
addParticipant(callConnectionId, addParticipantRequest, options) {
|
|
@@ -154,15 +154,6 @@ class CallConnectionImpl {
|
|
|
154
154
|
mute(callConnectionId, muteParticipantsRequest, options) {
|
|
155
155
|
return this.client.sendOperationRequest({ callConnectionId, muteParticipantsRequest, options }, muteOperationSpec);
|
|
156
156
|
}
|
|
157
|
-
/**
|
|
158
|
-
* Unmute participants from the call using identifier.
|
|
159
|
-
* @param callConnectionId The call connection id.
|
|
160
|
-
* @param unmuteParticipantsRequest The participants to be unmuted from the call.
|
|
161
|
-
* @param options The options parameters.
|
|
162
|
-
*/
|
|
163
|
-
unmute(callConnectionId, unmuteParticipantsRequest, options) {
|
|
164
|
-
return this.client.sendOperationRequest({ callConnectionId, unmuteParticipantsRequest, options }, unmuteOperationSpec);
|
|
165
|
-
}
|
|
166
157
|
/**
|
|
167
158
|
* Cancel add participant operation.
|
|
168
159
|
* @param callConnectionId The call connection Id
|
|
@@ -350,29 +341,6 @@ const muteOperationSpec = {
|
|
|
350
341
|
mediaType: "json",
|
|
351
342
|
serializer,
|
|
352
343
|
};
|
|
353
|
-
const unmuteOperationSpec = {
|
|
354
|
-
path: "/calling/callConnections/{callConnectionId}/participants:unmute",
|
|
355
|
-
httpMethod: "POST",
|
|
356
|
-
responses: {
|
|
357
|
-
200: {
|
|
358
|
-
bodyMapper: Mappers.UnmuteParticipantsResponse,
|
|
359
|
-
},
|
|
360
|
-
default: {
|
|
361
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
requestBody: Parameters.unmuteParticipantsRequest,
|
|
365
|
-
queryParameters: [Parameters.apiVersion],
|
|
366
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
367
|
-
headerParameters: [
|
|
368
|
-
Parameters.contentType,
|
|
369
|
-
Parameters.accept,
|
|
370
|
-
Parameters.repeatabilityRequestID,
|
|
371
|
-
Parameters.repeatabilityFirstSent,
|
|
372
|
-
],
|
|
373
|
-
mediaType: "json",
|
|
374
|
-
serializer,
|
|
375
|
-
};
|
|
376
344
|
const cancelAddParticipantOperationSpec = {
|
|
377
345
|
path: "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant",
|
|
378
346
|
httpMethod: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkCtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,gBAAgB,CACrB,gBAAwB,EACxB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,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AAU,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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA+BtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,gBAAgB,CACrB,gBAAwB,EACxB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;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AgB,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,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ClC,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,8BAA8B,CAC5B,gBAAgB,EAAE,MAAM,EACxB,gCAAgC,EAAE,gCAAgC,EAClE,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,6BAA6B,CAC3B,gBAAgB,EAAE,MAAM,EACxB,gCAAgC,EAAE,gCAAgC,EAClE,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,aAAa,CACX,gBAAgB,EAAE,MAAM,EACxB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;OAKG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,MAAM,CACJ,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,mBAAmB,CACjB,gBAAgB,EAAE,MAAM,EACxB,0BAA0B,EAAE,0BAA0B,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"}
|
|
@@ -48,6 +48,15 @@ class CallMediaImpl {
|
|
|
48
48
|
stopTranscription(callConnectionId, stopTranscriptionRequest, options) {
|
|
49
49
|
return this.client.sendOperationRequest({ callConnectionId, stopTranscriptionRequest, options }, stopTranscriptionOperationSpec);
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* API to change transcription language.
|
|
53
|
+
* @param callConnectionId The call connection id
|
|
54
|
+
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
updateTranscription(callConnectionId, updateTranscriptionRequest, options) {
|
|
58
|
+
return this.client.sendOperationRequest({ callConnectionId, updateTranscriptionRequest, options }, updateTranscriptionOperationSpec);
|
|
59
|
+
}
|
|
51
60
|
/**
|
|
52
61
|
* Cancel all media operations in a call.
|
|
53
62
|
* @param callConnectionId The call connection id
|
|
@@ -92,15 +101,6 @@ class CallMediaImpl {
|
|
|
92
101
|
sendDtmfTones(callConnectionId, sendDtmfTonesRequest, options) {
|
|
93
102
|
return this.client.sendOperationRequest({ callConnectionId, sendDtmfTonesRequest, options }, sendDtmfTonesOperationSpec);
|
|
94
103
|
}
|
|
95
|
-
/**
|
|
96
|
-
* API to change transcription language.
|
|
97
|
-
* @param callConnectionId The call connection id
|
|
98
|
-
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
99
|
-
* @param options The options parameters.
|
|
100
|
-
*/
|
|
101
|
-
updateTranscription(callConnectionId, updateTranscriptionRequest, options) {
|
|
102
|
-
return this.client.sendOperationRequest({ callConnectionId, updateTranscriptionRequest, options }, updateTranscriptionOperationSpec);
|
|
103
|
-
}
|
|
104
104
|
/**
|
|
105
105
|
* Hold participant from the call using identifier.
|
|
106
106
|
* @param callConnectionId The call connection id.
|
|
@@ -137,15 +137,6 @@ class CallMediaImpl {
|
|
|
137
137
|
stopMediaStreaming(callConnectionId, stopMediaStreamingRequest, options) {
|
|
138
138
|
return this.client.sendOperationRequest({ callConnectionId, stopMediaStreamingRequest, options }, stopMediaStreamingOperationSpec);
|
|
139
139
|
}
|
|
140
|
-
/**
|
|
141
|
-
* Plays audio to participants in the call.
|
|
142
|
-
* @param callConnectionId The call connection id.
|
|
143
|
-
* @param interruptRequest play request payload.
|
|
144
|
-
* @param options The options parameters.
|
|
145
|
-
*/
|
|
146
|
-
interruptAudioAndAnnounce(callConnectionId, interruptRequest, options) {
|
|
147
|
-
return this.client.sendOperationRequest({ callConnectionId, interruptRequest, options }, interruptAudioAndAnnounceOperationSpec);
|
|
148
|
-
}
|
|
149
140
|
}
|
|
150
141
|
exports.CallMediaImpl = CallMediaImpl;
|
|
151
142
|
// Operation Specifications
|
|
@@ -198,6 +189,22 @@ const stopTranscriptionOperationSpec = {
|
|
|
198
189
|
mediaType: "json",
|
|
199
190
|
serializer,
|
|
200
191
|
};
|
|
192
|
+
const updateTranscriptionOperationSpec = {
|
|
193
|
+
path: "/calling/callConnections/{callConnectionId}:updateTranscription",
|
|
194
|
+
httpMethod: "POST",
|
|
195
|
+
responses: {
|
|
196
|
+
202: {},
|
|
197
|
+
default: {
|
|
198
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
requestBody: Parameters.updateTranscriptionRequest,
|
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
|
203
|
+
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
204
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
205
|
+
mediaType: "json",
|
|
206
|
+
serializer,
|
|
207
|
+
};
|
|
201
208
|
const cancelAllMediaOperationsOperationSpec = {
|
|
202
209
|
path: "/calling/callConnections/{callConnectionId}:cancelAllMediaOperations",
|
|
203
210
|
httpMethod: "POST",
|
|
@@ -283,22 +290,6 @@ const sendDtmfTonesOperationSpec = {
|
|
|
283
290
|
mediaType: "json",
|
|
284
291
|
serializer,
|
|
285
292
|
};
|
|
286
|
-
const updateTranscriptionOperationSpec = {
|
|
287
|
-
path: "/calling/callConnections/{callConnectionId}:updateTranscription",
|
|
288
|
-
httpMethod: "POST",
|
|
289
|
-
responses: {
|
|
290
|
-
202: {},
|
|
291
|
-
default: {
|
|
292
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
293
|
-
},
|
|
294
|
-
},
|
|
295
|
-
requestBody: Parameters.updateTranscriptionRequest,
|
|
296
|
-
queryParameters: [Parameters.apiVersion],
|
|
297
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
298
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
299
|
-
mediaType: "json",
|
|
300
|
-
serializer,
|
|
301
|
-
};
|
|
302
293
|
const holdOperationSpec = {
|
|
303
294
|
path: "/calling/callConnections/{callConnectionId}:hold",
|
|
304
295
|
httpMethod: "POST",
|
|
@@ -363,20 +354,4 @@ const stopMediaStreamingOperationSpec = {
|
|
|
363
354
|
mediaType: "json",
|
|
364
355
|
serializer,
|
|
365
356
|
};
|
|
366
|
-
const interruptAudioAndAnnounceOperationSpec = {
|
|
367
|
-
path: "/calling/callConnections/{callConnectionId}:interruptAudioAndAnnounce",
|
|
368
|
-
httpMethod: "POST",
|
|
369
|
-
responses: {
|
|
370
|
-
202: {},
|
|
371
|
-
default: {
|
|
372
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
requestBody: Parameters.interruptRequest,
|
|
376
|
-
queryParameters: [Parameters.apiVersion],
|
|
377
|
-
urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
|
|
378
|
-
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
379
|
-
mediaType: "json",
|
|
380
|
-
serializer,
|
|
381
|
-
};
|
|
382
357
|
//# sourceMappingURL=callMedia.js.map
|