@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callMedia.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callMedia.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAgCtD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,gBAAwB,EACxB,WAAwB,EACxB,OAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC1C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAwB,EACxB,yBAAoD,EACpD,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACxD,+BAA+B,CAChC,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,iBAAiB,CACf,gBAAwB,EACxB,wBAAkD,EAClD,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,OAAO,EAAE,EACvD,8BAA8B,CAC/B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,wBAAwB,CACtB,gBAAwB,EACxB,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,OAAO,EAAE,EAC7B,qCAAqC,CACtC,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,SAAS,CACP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,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { CallMedia } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n PlayRequest,\n CallMediaPlayOptionalParams,\n StartTranscriptionRequest,\n CallMediaStartTranscriptionOptionalParams,\n StopTranscriptionRequest,\n CallMediaStopTranscriptionOptionalParams,\n CallMediaCancelAllMediaOperationsOptionalParams,\n RecognizeRequest,\n CallMediaRecognizeOptionalParams,\n ContinuousDtmfRecognitionRequest,\n CallMediaStartContinuousDtmfRecognitionOptionalParams,\n CallMediaStopContinuousDtmfRecognitionOptionalParams,\n SendDtmfTonesRequest,\n CallMediaSendDtmfTonesOptionalParams,\n CallMediaSendDtmfTonesResponse,\n UpdateTranscriptionRequest,\n CallMediaUpdateTranscriptionOptionalParams,\n HoldRequest,\n CallMediaHoldOptionalParams,\n UnholdRequest,\n CallMediaUnholdOptionalParams,\n StartMediaStreamingRequest,\n CallMediaStartMediaStreamingOptionalParams,\n StopMediaStreamingRequest,\n CallMediaStopMediaStreamingOptionalParams,\n InterruptAudioAndAnnounceRequest,\n CallMediaInterruptAudioAndAnnounceOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing CallMedia operations. */\nexport class CallMediaImpl implements CallMedia {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallMedia class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param playRequest play request payload.\n * @param options The options parameters.\n */\n play(\n callConnectionId: string,\n playRequest: PlayRequest,\n options?: CallMediaPlayOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, playRequest, options },\n playOperationSpec,\n );\n }\n\n /**\n * Starts transcription in the call\n * @param callConnectionId The call connection id.\n * @param startTranscriptionRequest\n * @param options The options parameters.\n */\n startTranscription(\n callConnectionId: string,\n startTranscriptionRequest: StartTranscriptionRequest,\n options?: CallMediaStartTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startTranscriptionRequest, options },\n startTranscriptionOperationSpec,\n );\n }\n\n /**\n * Stops transcription in the call.\n * @param callConnectionId The call connection id.\n * @param stopTranscriptionRequest stop transcription request payload.\n * @param options The options parameters.\n */\n stopTranscription(\n callConnectionId: string,\n stopTranscriptionRequest: StopTranscriptionRequest,\n options?: CallMediaStopTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopTranscriptionRequest, options },\n stopTranscriptionOperationSpec,\n );\n }\n\n /**\n * Cancel all media operations in a call.\n * @param callConnectionId The call connection id\n * @param options The options parameters.\n */\n cancelAllMediaOperations(\n callConnectionId: string,\n options?: CallMediaCancelAllMediaOperationsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n cancelAllMediaOperationsOperationSpec,\n );\n }\n\n /**\n * Recognize media from call.\n * @param callConnectionId The call connection id\n * @param recognizeRequest The media recognize request\n * @param options The options parameters.\n */\n recognize(\n callConnectionId: string,\n recognizeRequest: RecognizeRequest,\n options?: CallMediaRecognizeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, recognizeRequest, options },\n recognizeOperationSpec,\n );\n }\n\n /**\n * Start continuous Dtmf recognition by subscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n startContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStartContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n startContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Stop continuous Dtmf recognition by unsubscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n stopContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStopContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n stopContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Send dtmf tones.\n * @param callConnectionId The call connection id\n * @param sendDtmfTonesRequest The send dtmf tones request\n * @param options The options parameters.\n */\n sendDtmfTones(\n callConnectionId: string,\n sendDtmfTonesRequest: SendDtmfTonesRequest,\n options?: CallMediaSendDtmfTonesOptionalParams,\n ): Promise<CallMediaSendDtmfTonesResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, sendDtmfTonesRequest, options },\n sendDtmfTonesOperationSpec,\n );\n }\n\n /**\n * API to change transcription language.\n * @param callConnectionId The call connection id\n * @param updateTranscriptionRequest The UpdateTranscription request\n * @param options The options parameters.\n */\n updateTranscription(\n callConnectionId: string,\n updateTranscriptionRequest: UpdateTranscriptionRequest,\n options?: CallMediaUpdateTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, updateTranscriptionRequest, options },\n updateTranscriptionOperationSpec,\n );\n }\n\n /**\n * Hold participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param holdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n hold(\n callConnectionId: string,\n holdRequest: HoldRequest,\n options?: CallMediaHoldOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, holdRequest, options },\n holdOperationSpec,\n );\n }\n\n /**\n * Unhold participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unholdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n unhold(\n callConnectionId: string,\n unholdRequest: UnholdRequest,\n options?: CallMediaUnholdOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, unholdRequest, options },\n unholdOperationSpec,\n );\n }\n\n /**\n * Starts media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param startMediaStreamingRequest\n * @param options The options parameters.\n */\n startMediaStreaming(\n callConnectionId: string,\n startMediaStreamingRequest: StartMediaStreamingRequest,\n options?: CallMediaStartMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startMediaStreamingRequest, options },\n startMediaStreamingOperationSpec,\n );\n }\n\n /**\n * Stops media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param stopMediaStreamingRequest stop media streaming request payload.\n * @param options The options parameters.\n */\n stopMediaStreaming(\n callConnectionId: string,\n stopMediaStreamingRequest: StopMediaStreamingRequest,\n options?: CallMediaStopMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopMediaStreamingRequest, options },\n stopMediaStreamingOperationSpec,\n );\n }\n\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param interruptRequest play request payload.\n * @param options The options parameters.\n */\n interruptAudioAndAnnounce(\n callConnectionId: string,\n interruptRequest: InterruptAudioAndAnnounceRequest,\n options?: CallMediaInterruptAudioAndAnnounceOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, interruptRequest, options },\n interruptAudioAndAnnounceOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst playOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:play\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.playRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst cancelAllMediaOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:cancelAllMediaOperations\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst recognizeOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:recognize\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.recognizeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst sendDtmfTonesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:sendDtmfTones\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.SendDtmfTonesResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.sendDtmfTonesRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:updateTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.updateTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst holdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:hold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.holdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst unholdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:unhold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.unholdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst interruptAudioAndAnnounceOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:interruptAudioAndAnnounce\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.interruptRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"callMedia.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callMedia.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AA8BtD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,gBAAwB,EACxB,WAAwB,EACxB,OAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC1C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAwB,EACxB,yBAAoD,EACpD,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,yBAA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AAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACjE,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,iEAAiE;IACvE,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,0BAA0B;IAClD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACjE,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,gEAAgE;IACtE,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,yBAAyB;IACjD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACjE,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { CallMedia } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n PlayRequest,\n CallMediaPlayOptionalParams,\n StartTranscriptionRequest,\n CallMediaStartTranscriptionOptionalParams,\n StopTranscriptionRequest,\n CallMediaStopTranscriptionOptionalParams,\n UpdateTranscriptionRequest,\n CallMediaUpdateTranscriptionOptionalParams,\n CallMediaCancelAllMediaOperationsOptionalParams,\n RecognizeRequest,\n CallMediaRecognizeOptionalParams,\n ContinuousDtmfRecognitionRequest,\n CallMediaStartContinuousDtmfRecognitionOptionalParams,\n CallMediaStopContinuousDtmfRecognitionOptionalParams,\n SendDtmfTonesRequest,\n CallMediaSendDtmfTonesOptionalParams,\n CallMediaSendDtmfTonesResponse,\n HoldRequest,\n CallMediaHoldOptionalParams,\n UnholdRequest,\n CallMediaUnholdOptionalParams,\n StartMediaStreamingRequest,\n CallMediaStartMediaStreamingOptionalParams,\n StopMediaStreamingRequest,\n CallMediaStopMediaStreamingOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing CallMedia operations. */\nexport class CallMediaImpl implements CallMedia {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallMedia class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param playRequest play request payload.\n * @param options The options parameters.\n */\n play(\n callConnectionId: string,\n playRequest: PlayRequest,\n options?: CallMediaPlayOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, playRequest, options },\n playOperationSpec,\n );\n }\n\n /**\n * Starts transcription in the call\n * @param callConnectionId The call connection id.\n * @param startTranscriptionRequest\n * @param options The options parameters.\n */\n startTranscription(\n callConnectionId: string,\n startTranscriptionRequest: StartTranscriptionRequest,\n options?: CallMediaStartTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startTranscriptionRequest, options },\n startTranscriptionOperationSpec,\n );\n }\n\n /**\n * Stops transcription in the call.\n * @param callConnectionId The call connection id.\n * @param stopTranscriptionRequest stop transcription request payload.\n * @param options The options parameters.\n */\n stopTranscription(\n callConnectionId: string,\n stopTranscriptionRequest: StopTranscriptionRequest,\n options?: CallMediaStopTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopTranscriptionRequest, options },\n stopTranscriptionOperationSpec,\n );\n }\n\n /**\n * API to change transcription language.\n * @param callConnectionId The call connection id\n * @param updateTranscriptionRequest The UpdateTranscription request\n * @param options The options parameters.\n */\n updateTranscription(\n callConnectionId: string,\n updateTranscriptionRequest: UpdateTranscriptionRequest,\n options?: CallMediaUpdateTranscriptionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, updateTranscriptionRequest, options },\n updateTranscriptionOperationSpec,\n );\n }\n\n /**\n * Cancel all media operations in a call.\n * @param callConnectionId The call connection id\n * @param options The options parameters.\n */\n cancelAllMediaOperations(\n callConnectionId: string,\n options?: CallMediaCancelAllMediaOperationsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n cancelAllMediaOperationsOperationSpec,\n );\n }\n\n /**\n * Recognize media from call.\n * @param callConnectionId The call connection id\n * @param recognizeRequest The media recognize request\n * @param options The options parameters.\n */\n recognize(\n callConnectionId: string,\n recognizeRequest: RecognizeRequest,\n options?: CallMediaRecognizeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, recognizeRequest, options },\n recognizeOperationSpec,\n );\n }\n\n /**\n * Start continuous Dtmf recognition by subscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n startContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStartContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n startContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Stop continuous Dtmf recognition by unsubscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n stopContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStopContinuousDtmfRecognitionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, continuousDtmfRecognitionRequest, options },\n stopContinuousDtmfRecognitionOperationSpec,\n );\n }\n\n /**\n * Send dtmf tones.\n * @param callConnectionId The call connection id\n * @param sendDtmfTonesRequest The send dtmf tones request\n * @param options The options parameters.\n */\n sendDtmfTones(\n callConnectionId: string,\n sendDtmfTonesRequest: SendDtmfTonesRequest,\n options?: CallMediaSendDtmfTonesOptionalParams,\n ): Promise<CallMediaSendDtmfTonesResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, sendDtmfTonesRequest, options },\n sendDtmfTonesOperationSpec,\n );\n }\n\n /**\n * Hold participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param holdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n hold(\n callConnectionId: string,\n holdRequest: HoldRequest,\n options?: CallMediaHoldOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, holdRequest, options },\n holdOperationSpec,\n );\n }\n\n /**\n * Unhold participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unholdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n unhold(\n callConnectionId: string,\n unholdRequest: UnholdRequest,\n options?: CallMediaUnholdOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, unholdRequest, options },\n unholdOperationSpec,\n );\n }\n\n /**\n * Starts media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param startMediaStreamingRequest\n * @param options The options parameters.\n */\n startMediaStreaming(\n callConnectionId: string,\n startMediaStreamingRequest: StartMediaStreamingRequest,\n options?: CallMediaStartMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, startMediaStreamingRequest, options },\n startMediaStreamingOperationSpec,\n );\n }\n\n /**\n * Stops media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param stopMediaStreamingRequest stop media streaming request payload.\n * @param options The options parameters.\n */\n stopMediaStreaming(\n callConnectionId: string,\n stopMediaStreamingRequest: StopMediaStreamingRequest,\n options?: CallMediaStopMediaStreamingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, stopMediaStreamingRequest, options },\n stopMediaStreamingOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst playOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:play\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.playRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateTranscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:updateTranscription\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.updateTranscriptionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst cancelAllMediaOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:cancelAllMediaOperations\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst recognizeOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:recognize\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.recognizeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopContinuousDtmfRecognitionOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.continuousDtmfRecognitionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst sendDtmfTonesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:sendDtmfTones\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.SendDtmfTonesResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.sendDtmfTonesRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst holdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:hold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.holdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst unholdOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:unhold\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.unholdRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst startMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:startMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst stopMediaStreamingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:stopMediaStreaming\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.stopMediaStreamingRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CallRecording } from "../operationsInterfaces/index.js";
|
|
2
2
|
import { CallAutomationApiClient } from "../callAutomationApiClient.js";
|
|
3
|
-
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams
|
|
3
|
+
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams } from "../models/index.js";
|
|
4
4
|
/** Class containing CallRecording operations. */
|
|
5
5
|
export declare class CallRecordingImpl implements CallRecording {
|
|
6
6
|
private readonly client;
|
|
@@ -39,11 +39,5 @@ export declare class CallRecordingImpl implements CallRecording {
|
|
|
39
39
|
* @param options The options parameters.
|
|
40
40
|
*/
|
|
41
41
|
resumeRecording(recordingId: string, options?: CallRecordingResumeRecordingOptionalParams): Promise<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Get recording result. This includes the download URLs for the recording chunks.
|
|
44
|
-
* @param recordingId The recording id.
|
|
45
|
-
* @param options The options parameters.
|
|
46
|
-
*/
|
|
47
|
-
getRecordingResult(recordingId: string, options?: CallRecordingGetRecordingResultOptionalParams): Promise<CallRecordingGetRecordingResultResponse>;
|
|
48
42
|
}
|
|
49
43
|
//# sourceMappingURL=callRecording.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callRecording.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,yBAAyB,EACzB,yCAAyC,EACzC,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,
|
|
1
|
+
{"version":3,"file":"callRecording.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,yBAAyB,EACzB,yCAAyC,EACzC,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACH,cAAc,CACZ,kBAAkB,EAAE,yBAAyB,EAC7C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;OAIG;IACH,sBAAsB,CACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;OAIG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -57,14 +57,6 @@ export class CallRecordingImpl {
|
|
|
57
57
|
resumeRecording(recordingId, options) {
|
|
58
58
|
return this.client.sendOperationRequest({ recordingId, options }, resumeRecordingOperationSpec);
|
|
59
59
|
}
|
|
60
|
-
/**
|
|
61
|
-
* Get recording result. This includes the download URLs for the recording chunks.
|
|
62
|
-
* @param recordingId The recording id.
|
|
63
|
-
* @param options The options parameters.
|
|
64
|
-
*/
|
|
65
|
-
getRecordingResult(recordingId, options) {
|
|
66
|
-
return this.client.sendOperationRequest({ recordingId, options }, getRecordingResultOperationSpec);
|
|
67
|
-
}
|
|
68
60
|
}
|
|
69
61
|
// Operation Specifications
|
|
70
62
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -152,20 +144,4 @@ const resumeRecordingOperationSpec = {
|
|
|
152
144
|
headerParameters: [Parameters.accept],
|
|
153
145
|
serializer,
|
|
154
146
|
};
|
|
155
|
-
const getRecordingResultOperationSpec = {
|
|
156
|
-
path: "/calling/recordings/{recordingId}/result",
|
|
157
|
-
httpMethod: "GET",
|
|
158
|
-
responses: {
|
|
159
|
-
200: {
|
|
160
|
-
bodyMapper: Mappers.RecordingResultResponse,
|
|
161
|
-
},
|
|
162
|
-
default: {
|
|
163
|
-
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
queryParameters: [Parameters.apiVersion],
|
|
167
|
-
urlParameters: [Parameters.endpoint, Parameters.recordingId],
|
|
168
|
-
headerParameters: [Parameters.accept],
|
|
169
|
-
serializer,
|
|
170
|
-
};
|
|
171
147
|
//# sourceMappingURL=callRecording.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,cAAc,CACZ,kBAA6C,EAC7C,OAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAC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;IAC/C,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { CallRecording } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n StartCallRecordingRequest,\n CallRecordingStartRecordingOptionalParams,\n CallRecordingStartRecordingResponse,\n CallRecordingGetRecordingPropertiesOptionalParams,\n CallRecordingGetRecordingPropertiesResponse,\n CallRecordingStopRecordingOptionalParams,\n CallRecordingPauseRecordingOptionalParams,\n CallRecordingResumeRecordingOptionalParams,\n CallRecordingGetRecordingResultOptionalParams,\n CallRecordingGetRecordingResultResponse,\n} from \"../models/index.js\";\n\n/** Class containing CallRecording operations. */\nexport class CallRecordingImpl implements CallRecording {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallRecording class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Start recording the call.\n * @param startCallRecording The request body of start call recording request.\n * @param options The options parameters.\n */\n startRecording(\n startCallRecording: StartCallRecordingRequest,\n options?: CallRecordingStartRecordingOptionalParams,\n ): Promise<CallRecordingStartRecordingResponse> {\n return this.client.sendOperationRequest(\n { startCallRecording, options },\n startRecordingOperationSpec,\n );\n }\n\n /**\n * Get call recording properties.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingProperties(\n recordingId: string,\n options?: CallRecordingGetRecordingPropertiesOptionalParams,\n ): Promise<CallRecordingGetRecordingPropertiesResponse> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n getRecordingPropertiesOperationSpec,\n );\n }\n\n /**\n * Stop recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n stopRecording(\n recordingId: string,\n options?: CallRecordingStopRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n stopRecordingOperationSpec,\n );\n }\n\n /**\n * Pause recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n pauseRecording(\n recordingId: string,\n options?: CallRecordingPauseRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n pauseRecordingOperationSpec,\n );\n }\n\n /**\n * Resume recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n resumeRecording(\n recordingId: string,\n options?: CallRecordingResumeRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n resumeRecordingOperationSpec,\n );\n }\n\n /**\n * Get recording result. This includes the download URLs for the recording chunks.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingResult(\n recordingId: string,\n options?: CallRecordingGetRecordingResultOptionalParams,\n ): Promise<CallRecordingGetRecordingResultResponse> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n getRecordingResultOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst startRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n 202: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startCallRecording,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getRecordingPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst pauseRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:pause\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst resumeRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:resume\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getRecordingResultOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}/result\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingResultResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callRecording.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,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AAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,yCAAyC;IAC/C,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { CallRecording } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n StartCallRecordingRequest,\n CallRecordingStartRecordingOptionalParams,\n CallRecordingStartRecordingResponse,\n CallRecordingGetRecordingPropertiesOptionalParams,\n CallRecordingGetRecordingPropertiesResponse,\n CallRecordingStopRecordingOptionalParams,\n CallRecordingPauseRecordingOptionalParams,\n CallRecordingResumeRecordingOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing CallRecording operations. */\nexport class CallRecordingImpl implements CallRecording {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallRecording class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Start recording the call.\n * @param startCallRecording The request body of start call recording request.\n * @param options The options parameters.\n */\n startRecording(\n startCallRecording: StartCallRecordingRequest,\n options?: CallRecordingStartRecordingOptionalParams,\n ): Promise<CallRecordingStartRecordingResponse> {\n return this.client.sendOperationRequest(\n { startCallRecording, options },\n startRecordingOperationSpec,\n );\n }\n\n /**\n * Get call recording properties.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingProperties(\n recordingId: string,\n options?: CallRecordingGetRecordingPropertiesOptionalParams,\n ): Promise<CallRecordingGetRecordingPropertiesResponse> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n getRecordingPropertiesOperationSpec,\n );\n }\n\n /**\n * Stop recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n stopRecording(\n recordingId: string,\n options?: CallRecordingStopRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n stopRecordingOperationSpec,\n );\n }\n\n /**\n * Pause recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n pauseRecording(\n recordingId: string,\n options?: CallRecordingPauseRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n pauseRecordingOperationSpec,\n );\n }\n\n /**\n * Resume recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n resumeRecording(\n recordingId: string,\n options?: CallRecordingResumeRecordingOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { recordingId, options },\n resumeRecordingOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst startRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n 202: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.startCallRecording,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getRecordingPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordingStateResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst pauseRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:pause\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst resumeRecordingOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/recordings/{recordingId}:resume\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.recordingId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,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\nexport * from \"./callConnection.js\";\nexport * from \"./callMedia.js\";\nexport * from \"./callRecording.js\";\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse,
|
|
2
|
+
import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse, CancelAddParticipantRequest, CallConnectionCancelAddParticipantOptionalParams, CallConnectionCancelAddParticipantResponse, CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse } from "../models/index.js";
|
|
3
3
|
/** Interface representing a CallConnection. */
|
|
4
4
|
export interface CallConnection {
|
|
5
5
|
/**
|
|
@@ -37,7 +37,7 @@ export interface CallConnection {
|
|
|
37
37
|
/**
|
|
38
38
|
* Add a participant to the call.
|
|
39
39
|
* @param callConnectionId The call connection Id
|
|
40
|
-
* @param addParticipantRequest The
|
|
40
|
+
* @param addParticipantRequest The request payload for adding participant to the call.
|
|
41
41
|
* @param options The options parameters.
|
|
42
42
|
*/
|
|
43
43
|
addParticipant(callConnectionId: string, addParticipantRequest: AddParticipantRequest, options?: CallConnectionAddParticipantOptionalParams): Promise<CallConnectionAddParticipantResponse>;
|
|
@@ -55,13 +55,6 @@ export interface CallConnection {
|
|
|
55
55
|
* @param options The options parameters.
|
|
56
56
|
*/
|
|
57
57
|
mute(callConnectionId: string, muteParticipantsRequest: MuteParticipantsRequest, options?: CallConnectionMuteOptionalParams): Promise<CallConnectionMuteResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* Unmute participants from the call using identifier.
|
|
60
|
-
* @param callConnectionId The call connection id.
|
|
61
|
-
* @param unmuteParticipantsRequest The participants to be unmuted from the call.
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
unmute(callConnectionId: string, unmuteParticipantsRequest: UnmuteParticipantsRequest, options?: CallConnectionUnmuteOptionalParams): Promise<CallConnectionUnmuteResponse>;
|
|
65
58
|
/**
|
|
66
59
|
* Cancel add participant operation.
|
|
67
60
|
* @param callConnectionId The call connection Id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,2CAA2C,EAC3C,mCAAmC,EACnC,6BAA6B,EAC7B,sCAAsC,EACtC,yCAAyC,EACzC,4BAA4B,EAC5B,iDAAiD,EACjD,2CAA2C,EAC3C,qBAAqB,EACrB,0CAA0C,EAC1C,oCAAoC,EACpC,wBAAwB,EACxB,6CAA6C,EAC7C,uCAAuC,EACvC,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,
|
|
1
|
+
{"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,2CAA2C,EAC3C,mCAAmC,EACnC,6BAA6B,EAC7B,sCAAsC,EACtC,yCAAyC,EACzC,4BAA4B,EAC5B,iDAAiD,EACjD,2CAA2C,EAC3C,qBAAqB,E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;;;;;OAKG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;OAKG;IACH,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,EACxB,2BAA2B,EAAE,2BAA2B,EACxD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACvD;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CAClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n CallParticipantInternal,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetCallOptionalParams,\n CallConnectionGetCallResponse,\n CallConnectionHangupCallOptionalParams,\n CallConnectionTerminateCallOptionalParams,\n TransferToParticipantRequest,\n CallConnectionTransferToParticipantOptionalParams,\n CallConnectionTransferToParticipantResponse,\n AddParticipantRequest,\n CallConnectionAddParticipantOptionalParams,\n CallConnectionAddParticipantResponse,\n RemoveParticipantRequest,\n CallConnectionRemoveParticipantOptionalParams,\n CallConnectionRemoveParticipantResponse,\n MuteParticipantsRequest,\n CallConnectionMuteOptionalParams,\n CallConnectionMuteResponse,\n
|
|
1
|
+
{"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callConnection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n CallParticipantInternal,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetCallOptionalParams,\n CallConnectionGetCallResponse,\n CallConnectionHangupCallOptionalParams,\n CallConnectionTerminateCallOptionalParams,\n TransferToParticipantRequest,\n CallConnectionTransferToParticipantOptionalParams,\n CallConnectionTransferToParticipantResponse,\n AddParticipantRequest,\n CallConnectionAddParticipantOptionalParams,\n CallConnectionAddParticipantResponse,\n RemoveParticipantRequest,\n CallConnectionRemoveParticipantOptionalParams,\n CallConnectionRemoveParticipantResponse,\n MuteParticipantsRequest,\n CallConnectionMuteOptionalParams,\n CallConnectionMuteResponse,\n CancelAddParticipantRequest,\n CallConnectionCancelAddParticipantOptionalParams,\n CallConnectionCancelAddParticipantResponse,\n CallConnectionGetParticipantOptionalParams,\n CallConnectionGetParticipantResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CallConnection. */\nexport interface CallConnection {\n /**\n * Get participants from a call. Recording and transcription bots are omitted from this list.\n * @param callConnectionId The call connection Id\n * @param options The options parameters.\n */\n listParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): PagedAsyncIterableIterator<CallParticipantInternal>;\n /**\n * Get the detail properties of an ongoing call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n getCall(\n callConnectionId: string,\n options?: CallConnectionGetCallOptionalParams,\n ): Promise<CallConnectionGetCallResponse>;\n /**\n * Hang up call automation service from the call. This will make call automation service leave the\n * call, but does not terminate if there are more than 1 caller in the call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n hangupCall(\n callConnectionId: string,\n options?: CallConnectionHangupCallOptionalParams,\n ): Promise<void>;\n /**\n * Terminate a call using CallConnectionId.\n * @param callConnectionId The terminate call request.\n * @param options The options parameters.\n */\n terminateCall(\n callConnectionId: string,\n options?: CallConnectionTerminateCallOptionalParams,\n ): Promise<void>;\n /**\n * Transfer the call to a participant.\n * @param callConnectionId The call connection id.\n * @param transferToParticipantRequest The transfer to participant request.\n * @param options The options parameters.\n */\n transferToParticipant(\n callConnectionId: string,\n transferToParticipantRequest: TransferToParticipantRequest,\n options?: CallConnectionTransferToParticipantOptionalParams,\n ): Promise<CallConnectionTransferToParticipantResponse>;\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param addParticipantRequest The request payload for adding participant to the call.\n * @param options The options parameters.\n */\n addParticipant(\n callConnectionId: string,\n addParticipantRequest: AddParticipantRequest,\n options?: CallConnectionAddParticipantOptionalParams,\n ): Promise<CallConnectionAddParticipantResponse>;\n /**\n * Remove a participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param removeParticipantRequest The participant to be removed from the call.\n * @param options The options parameters.\n */\n removeParticipant(\n callConnectionId: string,\n removeParticipantRequest: RemoveParticipantRequest,\n options?: CallConnectionRemoveParticipantOptionalParams,\n ): Promise<CallConnectionRemoveParticipantResponse>;\n /**\n * Mute participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param muteParticipantsRequest The participants to be muted from the call.\n * @param options The options parameters.\n */\n mute(\n callConnectionId: string,\n muteParticipantsRequest: MuteParticipantsRequest,\n options?: CallConnectionMuteOptionalParams,\n ): Promise<CallConnectionMuteResponse>;\n /**\n * Cancel add participant operation.\n * @param callConnectionId The call connection Id\n * @param cancelAddParticipantRequest Cancellation request.\n * @param options The options parameters.\n */\n cancelAddParticipant(\n callConnectionId: string,\n cancelAddParticipantRequest: CancelAddParticipantRequest,\n options?: CallConnectionCancelAddParticipantOptionalParams,\n ): Promise<CallConnectionCancelAddParticipantResponse>;\n /**\n * Get participant from a call.\n * @param callConnectionId The call connection Id\n * @param participantRawId Raw id of the participant to retrieve.\n * @param options The options parameters.\n */\n getParticipant(\n callConnectionId: string,\n participantRawId: string,\n options?: CallConnectionGetParticipantOptionalParams,\n ): Promise<CallConnectionGetParticipantResponse>;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlayRequest, CallMediaPlayOptionalParams, StartTranscriptionRequest, CallMediaStartTranscriptionOptionalParams, StopTranscriptionRequest, CallMediaStopTranscriptionOptionalParams, CallMediaCancelAllMediaOperationsOptionalParams, RecognizeRequest, CallMediaRecognizeOptionalParams, ContinuousDtmfRecognitionRequest, CallMediaStartContinuousDtmfRecognitionOptionalParams, CallMediaStopContinuousDtmfRecognitionOptionalParams, SendDtmfTonesRequest, CallMediaSendDtmfTonesOptionalParams, CallMediaSendDtmfTonesResponse,
|
|
1
|
+
import { PlayRequest, CallMediaPlayOptionalParams, StartTranscriptionRequest, CallMediaStartTranscriptionOptionalParams, StopTranscriptionRequest, CallMediaStopTranscriptionOptionalParams, UpdateTranscriptionRequest, CallMediaUpdateTranscriptionOptionalParams, CallMediaCancelAllMediaOperationsOptionalParams, RecognizeRequest, CallMediaRecognizeOptionalParams, ContinuousDtmfRecognitionRequest, CallMediaStartContinuousDtmfRecognitionOptionalParams, CallMediaStopContinuousDtmfRecognitionOptionalParams, SendDtmfTonesRequest, CallMediaSendDtmfTonesOptionalParams, CallMediaSendDtmfTonesResponse, HoldRequest, CallMediaHoldOptionalParams, UnholdRequest, CallMediaUnholdOptionalParams, StartMediaStreamingRequest, CallMediaStartMediaStreamingOptionalParams, StopMediaStreamingRequest, CallMediaStopMediaStreamingOptionalParams } from "../models/index.js";
|
|
2
2
|
/** Interface representing a CallMedia. */
|
|
3
3
|
export interface CallMedia {
|
|
4
4
|
/**
|
|
@@ -22,6 +22,13 @@ export interface CallMedia {
|
|
|
22
22
|
* @param options The options parameters.
|
|
23
23
|
*/
|
|
24
24
|
stopTranscription(callConnectionId: string, stopTranscriptionRequest: StopTranscriptionRequest, options?: CallMediaStopTranscriptionOptionalParams): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* API to change transcription language.
|
|
27
|
+
* @param callConnectionId The call connection id
|
|
28
|
+
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
updateTranscription(callConnectionId: string, updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams): Promise<void>;
|
|
25
32
|
/**
|
|
26
33
|
* Cancel all media operations in a call.
|
|
27
34
|
* @param callConnectionId The call connection id
|
|
@@ -56,13 +63,6 @@ export interface CallMedia {
|
|
|
56
63
|
* @param options The options parameters.
|
|
57
64
|
*/
|
|
58
65
|
sendDtmfTones(callConnectionId: string, sendDtmfTonesRequest: SendDtmfTonesRequest, options?: CallMediaSendDtmfTonesOptionalParams): Promise<CallMediaSendDtmfTonesResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* API to change transcription language.
|
|
61
|
-
* @param callConnectionId The call connection id
|
|
62
|
-
* @param updateTranscriptionRequest The UpdateTranscription request
|
|
63
|
-
* @param options The options parameters.
|
|
64
|
-
*/
|
|
65
|
-
updateTranscription(callConnectionId: string, updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams): Promise<void>;
|
|
66
66
|
/**
|
|
67
67
|
* Hold participant from the call using identifier.
|
|
68
68
|
* @param callConnectionId The call connection id.
|
|
@@ -91,12 +91,5 @@ export interface CallMedia {
|
|
|
91
91
|
* @param options The options parameters.
|
|
92
92
|
*/
|
|
93
93
|
stopMediaStreaming(callConnectionId: string, stopMediaStreamingRequest: StopMediaStreamingRequest, options?: CallMediaStopMediaStreamingOptionalParams): Promise<void>;
|
|
94
|
-
/**
|
|
95
|
-
* Plays audio to participants in the call.
|
|
96
|
-
* @param callConnectionId The call connection id.
|
|
97
|
-
* @param interruptRequest play request payload.
|
|
98
|
-
* @param options The options parameters.
|
|
99
|
-
*/
|
|
100
|
-
interruptAudioAndAnnounce(callConnectionId: string, interruptRequest: InterruptAudioAndAnnounceRequest, options?: CallMediaInterruptAudioAndAnnounceOptionalParams): Promise<void>;
|
|
101
94
|
}
|
|
102
95
|
//# sourceMappingURL=callMedia.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callMedia.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callMedia.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,yBAAyB,EACzB,yCAAyC,EACzC,wBAAwB,EACxB,wCAAwC,EACxC,+CAA+C,EAC/C,gBAAgB,EAChB,gCAAgC,EAChC,gCAAgC,EAChC,qDAAqD,EACrD,oDAAoD,EACpD,oBAAoB,EACpB,oCAAoC,EACpC,8BAA8B,EAC9B,
|
|
1
|
+
{"version":3,"file":"callMedia.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callMedia.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,yBAAyB,EACzB,yCAAyC,EACzC,wBAAwB,EACxB,wCAAwC,EACxC,0BAA0B,EAC1B,0CAA0C,EAC1C,+CAA+C,EAC/C,gBAAgB,EAChB,gCAAgC,EAChC,gCAAgC,EAChC,qDAAqD,EACrD,oDAAoD,EACpD,oBAAoB,EACpB,oCAAoC,EACpC,8BAA8B,EAC9B,WAAW,EACX,2BAA2B,EAC3B,aAAa,EACb,6BAA6B,EAC7B,0BAA0B,EAC1B,0CAA0C,EAC1C,yBAAyB,EACzB,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC,C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AAI,CACF,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,MAAM,CACJ,gBAAgB,EAAE,MAAM,EACxB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,mBAAmB,CACjB,gBAAgB,EAAE,MAAM,EACxB,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAgB,EAAE,MAAM,EACxB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callMedia.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callMedia.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n PlayRequest,\n CallMediaPlayOptionalParams,\n StartTranscriptionRequest,\n CallMediaStartTranscriptionOptionalParams,\n StopTranscriptionRequest,\n CallMediaStopTranscriptionOptionalParams,\n CallMediaCancelAllMediaOperationsOptionalParams,\n RecognizeRequest,\n CallMediaRecognizeOptionalParams,\n ContinuousDtmfRecognitionRequest,\n CallMediaStartContinuousDtmfRecognitionOptionalParams,\n CallMediaStopContinuousDtmfRecognitionOptionalParams,\n SendDtmfTonesRequest,\n CallMediaSendDtmfTonesOptionalParams,\n CallMediaSendDtmfTonesResponse,\n
|
|
1
|
+
{"version":3,"file":"callMedia.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callMedia.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n PlayRequest,\n CallMediaPlayOptionalParams,\n StartTranscriptionRequest,\n CallMediaStartTranscriptionOptionalParams,\n StopTranscriptionRequest,\n CallMediaStopTranscriptionOptionalParams,\n UpdateTranscriptionRequest,\n CallMediaUpdateTranscriptionOptionalParams,\n CallMediaCancelAllMediaOperationsOptionalParams,\n RecognizeRequest,\n CallMediaRecognizeOptionalParams,\n ContinuousDtmfRecognitionRequest,\n CallMediaStartContinuousDtmfRecognitionOptionalParams,\n CallMediaStopContinuousDtmfRecognitionOptionalParams,\n SendDtmfTonesRequest,\n CallMediaSendDtmfTonesOptionalParams,\n CallMediaSendDtmfTonesResponse,\n HoldRequest,\n CallMediaHoldOptionalParams,\n UnholdRequest,\n CallMediaUnholdOptionalParams,\n StartMediaStreamingRequest,\n CallMediaStartMediaStreamingOptionalParams,\n StopMediaStreamingRequest,\n CallMediaStopMediaStreamingOptionalParams,\n} from \"../models/index.js\";\n\n/** Interface representing a CallMedia. */\nexport interface CallMedia {\n /**\n * Plays audio to participants in the call.\n * @param callConnectionId The call connection id.\n * @param playRequest play request payload.\n * @param options The options parameters.\n */\n play(\n callConnectionId: string,\n playRequest: PlayRequest,\n options?: CallMediaPlayOptionalParams,\n ): Promise<void>;\n /**\n * Starts transcription in the call\n * @param callConnectionId The call connection id.\n * @param startTranscriptionRequest\n * @param options The options parameters.\n */\n startTranscription(\n callConnectionId: string,\n startTranscriptionRequest: StartTranscriptionRequest,\n options?: CallMediaStartTranscriptionOptionalParams,\n ): Promise<void>;\n /**\n * Stops transcription in the call.\n * @param callConnectionId The call connection id.\n * @param stopTranscriptionRequest stop transcription request payload.\n * @param options The options parameters.\n */\n stopTranscription(\n callConnectionId: string,\n stopTranscriptionRequest: StopTranscriptionRequest,\n options?: CallMediaStopTranscriptionOptionalParams,\n ): Promise<void>;\n /**\n * API to change transcription language.\n * @param callConnectionId The call connection id\n * @param updateTranscriptionRequest The UpdateTranscription request\n * @param options The options parameters.\n */\n updateTranscription(\n callConnectionId: string,\n updateTranscriptionRequest: UpdateTranscriptionRequest,\n options?: CallMediaUpdateTranscriptionOptionalParams,\n ): Promise<void>;\n /**\n * Cancel all media operations in a call.\n * @param callConnectionId The call connection id\n * @param options The options parameters.\n */\n cancelAllMediaOperations(\n callConnectionId: string,\n options?: CallMediaCancelAllMediaOperationsOptionalParams,\n ): Promise<void>;\n /**\n * Recognize media from call.\n * @param callConnectionId The call connection id\n * @param recognizeRequest The media recognize request\n * @param options The options parameters.\n */\n recognize(\n callConnectionId: string,\n recognizeRequest: RecognizeRequest,\n options?: CallMediaRecognizeOptionalParams,\n ): Promise<void>;\n /**\n * Start continuous Dtmf recognition by subscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n startContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStartContinuousDtmfRecognitionOptionalParams,\n ): Promise<void>;\n /**\n * Stop continuous Dtmf recognition by unsubscribing to tones.\n * @param callConnectionId The call connection id\n * @param continuousDtmfRecognitionRequest The continuous recognize request\n * @param options The options parameters.\n */\n stopContinuousDtmfRecognition(\n callConnectionId: string,\n continuousDtmfRecognitionRequest: ContinuousDtmfRecognitionRequest,\n options?: CallMediaStopContinuousDtmfRecognitionOptionalParams,\n ): Promise<void>;\n /**\n * Send dtmf tones.\n * @param callConnectionId The call connection id\n * @param sendDtmfTonesRequest The send dtmf tones request\n * @param options The options parameters.\n */\n sendDtmfTones(\n callConnectionId: string,\n sendDtmfTonesRequest: SendDtmfTonesRequest,\n options?: CallMediaSendDtmfTonesOptionalParams,\n ): Promise<CallMediaSendDtmfTonesResponse>;\n /**\n * Hold participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param holdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n hold(\n callConnectionId: string,\n holdRequest: HoldRequest,\n options?: CallMediaHoldOptionalParams,\n ): Promise<void>;\n /**\n * Unhold participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unholdRequest The participants to be hold from the call.\n * @param options The options parameters.\n */\n unhold(\n callConnectionId: string,\n unholdRequest: UnholdRequest,\n options?: CallMediaUnholdOptionalParams,\n ): Promise<void>;\n /**\n * Starts media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param startMediaStreamingRequest\n * @param options The options parameters.\n */\n startMediaStreaming(\n callConnectionId: string,\n startMediaStreamingRequest: StartMediaStreamingRequest,\n options?: CallMediaStartMediaStreamingOptionalParams,\n ): Promise<void>;\n /**\n * Stops media streaming in the call.\n * @param callConnectionId The call connection id.\n * @param stopMediaStreamingRequest stop media streaming request payload.\n * @param options The options parameters.\n */\n stopMediaStreaming(\n callConnectionId: string,\n stopMediaStreamingRequest: StopMediaStreamingRequest,\n options?: CallMediaStopMediaStreamingOptionalParams,\n ): Promise<void>;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams
|
|
1
|
+
import { StartCallRecordingRequest, CallRecordingStartRecordingOptionalParams, CallRecordingStartRecordingResponse, CallRecordingGetRecordingPropertiesOptionalParams, CallRecordingGetRecordingPropertiesResponse, CallRecordingStopRecordingOptionalParams, CallRecordingPauseRecordingOptionalParams, CallRecordingResumeRecordingOptionalParams } from "../models/index.js";
|
|
2
2
|
/** Interface representing a CallRecording. */
|
|
3
3
|
export interface CallRecording {
|
|
4
4
|
/**
|
|
@@ -31,11 +31,5 @@ export interface CallRecording {
|
|
|
31
31
|
* @param options The options parameters.
|
|
32
32
|
*/
|
|
33
33
|
resumeRecording(recordingId: string, options?: CallRecordingResumeRecordingOptionalParams): Promise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* Get recording result. This includes the download URLs for the recording chunks.
|
|
36
|
-
* @param recordingId The recording id.
|
|
37
|
-
* @param options The options parameters.
|
|
38
|
-
*/
|
|
39
|
-
getRecordingResult(recordingId: string, options?: CallRecordingGetRecordingResultOptionalParams): Promise<CallRecordingGetRecordingResultResponse>;
|
|
40
34
|
}
|
|
41
35
|
//# sourceMappingURL=callRecording.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callRecording.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callRecording.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,yBAAyB,EACzB,yCAAyC,EACzC,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,
|
|
1
|
+
{"version":3,"file":"callRecording.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callRecording.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,yBAAyB,EACzB,yCAAyC,EACzC,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,cAAc,CACZ,kBAAkB,EAAE,yBAAyB,EAC7C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;OAIG;IACH,sBAAsB,CACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC,CAAC;IACxD;;;;OAIG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callRecording.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n StartCallRecordingRequest,\n CallRecordingStartRecordingOptionalParams,\n CallRecordingStartRecordingResponse,\n CallRecordingGetRecordingPropertiesOptionalParams,\n CallRecordingGetRecordingPropertiesResponse,\n CallRecordingStopRecordingOptionalParams,\n CallRecordingPauseRecordingOptionalParams,\n CallRecordingResumeRecordingOptionalParams,\n
|
|
1
|
+
{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/callRecording.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n StartCallRecordingRequest,\n CallRecordingStartRecordingOptionalParams,\n CallRecordingStartRecordingResponse,\n CallRecordingGetRecordingPropertiesOptionalParams,\n CallRecordingGetRecordingPropertiesResponse,\n CallRecordingStopRecordingOptionalParams,\n CallRecordingPauseRecordingOptionalParams,\n CallRecordingResumeRecordingOptionalParams,\n} from \"../models/index.js\";\n\n/** Interface representing a CallRecording. */\nexport interface CallRecording {\n /**\n * Start recording the call.\n * @param startCallRecording The request body of start call recording request.\n * @param options The options parameters.\n */\n startRecording(\n startCallRecording: StartCallRecordingRequest,\n options?: CallRecordingStartRecordingOptionalParams,\n ): Promise<CallRecordingStartRecordingResponse>;\n /**\n * Get call recording properties.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n getRecordingProperties(\n recordingId: string,\n options?: CallRecordingGetRecordingPropertiesOptionalParams,\n ): Promise<CallRecordingGetRecordingPropertiesResponse>;\n /**\n * Stop recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n stopRecording(\n recordingId: string,\n options?: CallRecordingStopRecordingOptionalParams,\n ): Promise<void>;\n /**\n * Pause recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n pauseRecording(\n recordingId: string,\n options?: CallRecordingPauseRecordingOptionalParams,\n ): Promise<void>;\n /**\n * Resume recording the call.\n * @param recordingId The recording id.\n * @param options The options parameters.\n */\n resumeRecording(\n recordingId: string,\n options?: CallRecordingResumeRecordingOptionalParams,\n ): Promise<void>;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,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\nexport * from \"./callConnection.js\";\nexport * from \"./callMedia.js\";\nexport * from \"./callRecording.js\";\n"]}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -7,8 +7,6 @@ export * from "./models/models.js";
|
|
|
7
7
|
export * from "./models/options.js";
|
|
8
8
|
export * from "./models/responses.js";
|
|
9
9
|
export * from "./models/events.js";
|
|
10
|
-
export * from "./eventprocessor/callAutomationEventProcessor.js";
|
|
11
|
-
export * from "./eventprocessor/eventResponses.js";
|
|
12
10
|
export * from "./streamingData.js";
|
|
13
11
|
export * from "./models/streaming.js";
|
|
14
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -9,8 +9,6 @@ export * from "./models/models.js";
|
|
|
9
9
|
export * from "./models/options.js";
|
|
10
10
|
export * from "./models/responses.js";
|
|
11
11
|
export * from "./models/events.js";
|
|
12
|
-
export * from "./eventprocessor/callAutomationEventProcessor.js";
|
|
13
|
-
export * from "./eventprocessor/eventResponses.js";
|
|
14
12
|
export * from "./streamingData.js";
|
|
15
13
|
export * from "./models/streaming.js";
|
|
16
14
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nexport * from \"./callAutomationClient.js\";\nexport * from \"./callConnection.js\";\nexport * from \"./callMedia.js\";\nexport * from \"./callRecording.js\";\nexport * from \"./callAutomationEventParser.js\";\nexport * from \"./models/models.js\";\nexport * from \"./models/options.js\";\nexport * from \"./models/responses.js\";\nexport * from \"./models/events.js\";\nexport * from \"./streamingData.js\";\nexport * from \"./models/streaming.js\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/models/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,cAAc,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"1.
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/models/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,cAAc,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"1.5.0-beta.1\";\n"]}
|