@azure/communication-call-automation 1.5.0 → 1.6.0-alpha.20250901.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist/browser/callAutomationClient.d.ts +8 -0
- package/dist/browser/callAutomationClient.d.ts.map +1 -1
- package/dist/browser/callAutomationClient.js +141 -84
- package/dist/browser/callAutomationClient.js.map +1 -1
- package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
- package/dist/browser/callAutomationEventParser.js +56 -9
- package/dist/browser/callAutomationEventParser.js.map +1 -1
- package/dist/browser/callConnection.d.ts +15 -5
- package/dist/browser/callConnection.d.ts.map +1 -1
- package/dist/browser/callConnection.js +193 -86
- package/dist/browser/callConnection.js.map +1 -1
- package/dist/browser/callMedia.d.ts +19 -9
- package/dist/browser/callMedia.d.ts.map +1 -1
- package/dist/browser/callMedia.js +175 -28
- package/dist/browser/callMedia.js.map +1 -1
- package/dist/browser/callRecording.d.ts +8 -2
- package/dist/browser/callRecording.d.ts.map +1 -1
- package/dist/browser/callRecording.js +26 -16
- package/dist/browser/callRecording.js.map +1 -1
- package/dist/browser/contentDownloader.js +12 -11
- package/dist/browser/contentDownloader.js.map +1 -1
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/browser/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -1
- package/dist/browser/credential/cryptoUtils.js +2 -1
- package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
- package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
- package/dist/browser/eventprocessor/callAutomationEventProcessor.js +137 -0
- package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +1 -0
- package/dist/browser/eventprocessor/eventResponses.d.ts +134 -0
- package/dist/browser/eventprocessor/eventResponses.d.ts.map +1 -0
- package/dist/browser/eventprocessor/eventResponses.js +4 -0
- package/dist/browser/eventprocessor/eventResponses.js.map +1 -0
- package/dist/browser/generated/src/callAutomationApiClient.d.ts +2 -1
- package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/browser/generated/src/callAutomationApiClient.js +7 -15
- package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/browser/generated/src/models/index.d.ts +1129 -347
- package/dist/browser/generated/src/models/index.d.ts.map +1 -1
- package/dist/browser/generated/src/models/index.js +159 -75
- package/dist/browser/generated/src/models/index.js.map +1 -1
- package/dist/browser/generated/src/models/mappers.d.ts +88 -47
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/browser/generated/src/models/mappers.js +2136 -499
- package/dist/browser/generated/src/models/mappers.js.map +1 -1
- package/dist/browser/generated/src/models/parameters.d.ts +8 -1
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/models/parameters.js +45 -6
- package/dist/browser/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/callConnection.d.ts +16 -2
- package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callConnection.js +105 -24
- package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
- package/dist/browser/generated/src/operations/callDialog.d.ts +35 -0
- package/dist/browser/generated/src/operations/callDialog.d.ts.map +1 -0
- package/dist/browser/generated/src/operations/callDialog.js +111 -0
- package/dist/browser/generated/src/operations/callDialog.js.map +1 -0
- package/dist/browser/generated/src/operations/callMedia.d.ts +15 -8
- package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callMedia.js +50 -26
- package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
- package/dist/browser/generated/src/operations/callRecording.d.ts +7 -1
- package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/callRecording.js +24 -1
- package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
- package/dist/browser/generated/src/operations/index.d.ts +1 -0
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
- package/dist/browser/generated/src/operations/index.js +1 -0
- package/dist/browser/generated/src/operations/index.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
- 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/callDialog.d.ts +27 -0
- package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callDialog.js +9 -0
- package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
- 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 +7 -1
- 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 +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/index.js +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/generated/src/pagingHelper.js +4 -2
- package/dist/browser/generated/src/pagingHelper.js.map +1 -1
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/constants.d.ts.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 +336 -296
- package/dist/browser/models/events.d.ts.map +1 -1
- package/dist/browser/models/events.js.map +1 -1
- package/dist/browser/models/models.d.ts +76 -38
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +3 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/models/options.d.ts +34 -4
- 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 +82 -10
- package/dist/browser/models/responses.d.ts.map +1 -1
- package/dist/browser/models/responses.js.map +1 -1
- package/dist/browser/models/streaming.d.ts +27 -26
- package/dist/browser/models/streaming.d.ts.map +1 -1
- package/dist/browser/models/streaming.js +57 -28
- package/dist/browser/models/streaming.js.map +1 -1
- package/dist/browser/streamingData.d.ts.map +1 -1
- package/dist/browser/streamingData.js +1 -10
- package/dist/browser/streamingData.js.map +1 -1
- package/dist/browser/utli/converters.d.ts +26 -2
- package/dist/browser/utli/converters.d.ts.map +1 -1
- package/dist/browser/utli/converters.js +122 -48
- package/dist/browser/utli/converters.js.map +1 -1
- package/dist/commonjs/callAutomationClient.d.ts +8 -0
- package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
- package/dist/commonjs/callAutomationClient.js +139 -82
- package/dist/commonjs/callAutomationClient.js.map +1 -1
- package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
- package/dist/commonjs/callAutomationEventParser.js +55 -8
- package/dist/commonjs/callAutomationEventParser.js.map +1 -1
- package/dist/commonjs/callConnection.d.ts +15 -5
- package/dist/commonjs/callConnection.d.ts.map +1 -1
- package/dist/commonjs/callConnection.js +194 -87
- package/dist/commonjs/callConnection.js.map +1 -1
- package/dist/commonjs/callMedia.d.ts +19 -9
- package/dist/commonjs/callMedia.d.ts.map +1 -1
- package/dist/commonjs/callMedia.js +183 -36
- package/dist/commonjs/callMedia.js.map +1 -1
- package/dist/commonjs/callRecording.d.ts +8 -2
- package/dist/commonjs/callRecording.d.ts.map +1 -1
- package/dist/commonjs/callRecording.js +27 -17
- package/dist/commonjs/callRecording.js.map +1 -1
- package/dist/commonjs/contentDownloader.js +12 -11
- package/dist/commonjs/contentDownloader.js.map +1 -1
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/commonjs/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +141 -0
- package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +1 -0
- package/dist/commonjs/eventprocessor/eventResponses.d.ts +134 -0
- package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +1 -0
- package/dist/commonjs/eventprocessor/eventResponses.js +5 -0
- package/dist/commonjs/eventprocessor/eventResponses.js.map +1 -0
- package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +2 -1
- package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/commonjs/generated/src/callAutomationApiClient.js +6 -14
- package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.d.ts +1129 -347
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/index.js +160 -76
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +88 -47
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +2139 -502
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +8 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +45 -6
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callConnection.d.ts +16 -2
- package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callConnection.js +104 -24
- package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callDialog.d.ts +35 -0
- package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/callDialog.js +116 -0
- package/dist/commonjs/generated/src/operations/callDialog.js.map +1 -0
- package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -8
- package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callMedia.js +50 -26
- package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
- package/dist/commonjs/generated/src/operations/callRecording.d.ts +7 -1
- package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/callRecording.js +24 -1
- package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
- package/dist/commonjs/generated/src/operations/index.d.ts +1 -0
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operations/index.js +1 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
- 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/callDialog.d.ts +27 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
- 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 +7 -1
- 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 +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/generated/src/pagingHelper.js +4 -2
- package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +2 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/constants.d.ts.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 +336 -296
- package/dist/commonjs/models/events.d.ts.map +1 -1
- package/dist/commonjs/models/events.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +76 -38
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +21 -2
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/models/options.d.ts +34 -4
- 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 +82 -10
- package/dist/commonjs/models/responses.d.ts.map +1 -1
- package/dist/commonjs/models/responses.js.map +1 -1
- package/dist/commonjs/models/streaming.d.ts +27 -26
- package/dist/commonjs/models/streaming.d.ts.map +1 -1
- package/dist/commonjs/models/streaming.js +59 -31
- package/dist/commonjs/models/streaming.js.map +1 -1
- package/dist/commonjs/streamingData.d.ts.map +1 -1
- package/dist/commonjs/streamingData.js +1 -10
- package/dist/commonjs/streamingData.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/commonjs/utli/converters.d.ts +26 -2
- package/dist/commonjs/utli/converters.d.ts.map +1 -1
- package/dist/commonjs/utli/converters.js +127 -47
- package/dist/commonjs/utli/converters.js.map +1 -1
- package/dist/esm/callAutomationClient.d.ts +8 -0
- package/dist/esm/callAutomationClient.d.ts.map +1 -1
- package/dist/esm/callAutomationClient.js +141 -84
- package/dist/esm/callAutomationClient.js.map +1 -1
- package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
- package/dist/esm/callAutomationEventParser.js +56 -9
- package/dist/esm/callAutomationEventParser.js.map +1 -1
- package/dist/esm/callConnection.d.ts +15 -5
- package/dist/esm/callConnection.d.ts.map +1 -1
- package/dist/esm/callConnection.js +193 -86
- package/dist/esm/callConnection.js.map +1 -1
- package/dist/esm/callMedia.d.ts +19 -9
- package/dist/esm/callMedia.d.ts.map +1 -1
- package/dist/esm/callMedia.js +175 -28
- package/dist/esm/callMedia.js.map +1 -1
- package/dist/esm/callRecording.d.ts +8 -2
- package/dist/esm/callRecording.d.ts.map +1 -1
- package/dist/esm/callRecording.js +26 -16
- package/dist/esm/callRecording.js.map +1 -1
- package/dist/esm/contentDownloader.js +12 -11
- package/dist/esm/contentDownloader.js.map +1 -1
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/esm/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
- package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
- package/dist/esm/eventprocessor/callAutomationEventProcessor.js +137 -0
- package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +1 -0
- package/dist/esm/eventprocessor/eventResponses.d.ts +134 -0
- package/dist/esm/eventprocessor/eventResponses.d.ts.map +1 -0
- package/dist/esm/eventprocessor/eventResponses.js +4 -0
- package/dist/esm/eventprocessor/eventResponses.js.map +1 -0
- package/dist/esm/generated/src/callAutomationApiClient.d.ts +2 -1
- package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/esm/generated/src/callAutomationApiClient.js +7 -15
- package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/esm/generated/src/models/index.d.ts +1129 -347
- package/dist/esm/generated/src/models/index.d.ts.map +1 -1
- package/dist/esm/generated/src/models/index.js +159 -75
- package/dist/esm/generated/src/models/index.js.map +1 -1
- package/dist/esm/generated/src/models/mappers.d.ts +88 -47
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/esm/generated/src/models/mappers.js +2136 -499
- package/dist/esm/generated/src/models/mappers.js.map +1 -1
- package/dist/esm/generated/src/models/parameters.d.ts +8 -1
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/models/parameters.js +45 -6
- package/dist/esm/generated/src/models/parameters.js.map +1 -1
- package/dist/esm/generated/src/operations/callConnection.d.ts +16 -2
- package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callConnection.js +105 -24
- package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
- package/dist/esm/generated/src/operations/callDialog.d.ts +35 -0
- package/dist/esm/generated/src/operations/callDialog.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/callDialog.js +111 -0
- package/dist/esm/generated/src/operations/callDialog.js.map +1 -0
- package/dist/esm/generated/src/operations/callMedia.d.ts +15 -8
- package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callMedia.js +50 -26
- package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
- package/dist/esm/generated/src/operations/callRecording.d.ts +7 -1
- package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/callRecording.js +24 -1
- package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
- package/dist/esm/generated/src/operations/index.d.ts +1 -0
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
- package/dist/esm/generated/src/operations/index.js +1 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
- 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/callDialog.d.ts +27 -0
- package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callDialog.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
- 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 +7 -1
- 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 +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/generated/src/operationsInterfaces/index.js +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/generated/src/pagingHelper.js +4 -2
- package/dist/esm/generated/src/pagingHelper.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/constants.d.ts.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 +336 -296
- package/dist/esm/models/events.d.ts.map +1 -1
- package/dist/esm/models/events.js.map +1 -1
- package/dist/esm/models/models.d.ts +76 -38
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +3 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/models/options.d.ts +34 -4
- 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 +82 -10
- package/dist/esm/models/responses.d.ts.map +1 -1
- package/dist/esm/models/responses.js.map +1 -1
- package/dist/esm/models/streaming.d.ts +27 -26
- package/dist/esm/models/streaming.d.ts.map +1 -1
- package/dist/esm/models/streaming.js +57 -28
- package/dist/esm/models/streaming.js.map +1 -1
- package/dist/esm/streamingData.d.ts.map +1 -1
- package/dist/esm/streamingData.js +1 -10
- package/dist/esm/streamingData.js.map +1 -1
- package/dist/esm/utli/converters.d.ts +26 -2
- package/dist/esm/utli/converters.d.ts.map +1 -1
- package/dist/esm/utli/converters.js +122 -48
- package/dist/esm/utli/converters.js.map +1 -1
- package/dist/react-native/callAutomationClient.d.ts +8 -0
- package/dist/react-native/callAutomationClient.d.ts.map +1 -1
- package/dist/react-native/callAutomationClient.js +141 -84
- 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 +56 -9
- package/dist/react-native/callAutomationEventParser.js.map +1 -1
- package/dist/react-native/callConnection.d.ts +15 -5
- package/dist/react-native/callConnection.d.ts.map +1 -1
- package/dist/react-native/callConnection.js +193 -86
- package/dist/react-native/callConnection.js.map +1 -1
- package/dist/react-native/callMedia.d.ts +19 -9
- package/dist/react-native/callMedia.d.ts.map +1 -1
- package/dist/react-native/callMedia.js +175 -28
- package/dist/react-native/callMedia.js.map +1 -1
- package/dist/react-native/callRecording.d.ts +8 -2
- package/dist/react-native/callRecording.d.ts.map +1 -1
- package/dist/react-native/callRecording.js +26 -16
- package/dist/react-native/callRecording.js.map +1 -1
- package/dist/react-native/contentDownloader.js +12 -11
- package/dist/react-native/contentDownloader.js.map +1 -1
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
- package/dist/react-native/credential/callAutomationAuthPolicy.js +1 -1
- package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -1
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +137 -0
- package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +1 -0
- package/dist/react-native/eventprocessor/eventResponses.d.ts +134 -0
- package/dist/react-native/eventprocessor/eventResponses.d.ts.map +1 -0
- package/dist/react-native/eventprocessor/eventResponses.js +4 -0
- package/dist/react-native/eventprocessor/eventResponses.js.map +1 -0
- package/dist/react-native/generated/src/callAutomationApiClient.d.ts +2 -1
- package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
- package/dist/react-native/generated/src/callAutomationApiClient.js +7 -15
- package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
- package/dist/react-native/generated/src/models/index.d.ts +1129 -347
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/index.js +159 -75
- package/dist/react-native/generated/src/models/index.js.map +1 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +88 -47
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/mappers.js +2136 -499
- package/dist/react-native/generated/src/models/mappers.js.map +1 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +8 -1
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/models/parameters.js +45 -6
- package/dist/react-native/generated/src/models/parameters.js.map +1 -1
- package/dist/react-native/generated/src/operations/callConnection.d.ts +16 -2
- package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callConnection.js +105 -24
- package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
- package/dist/react-native/generated/src/operations/callDialog.d.ts +35 -0
- package/dist/react-native/generated/src/operations/callDialog.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/callDialog.js +111 -0
- package/dist/react-native/generated/src/operations/callDialog.js.map +1 -0
- package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -8
- package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callMedia.js +50 -26
- package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
- package/dist/react-native/generated/src/operations/callRecording.d.ts +7 -1
- package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/callRecording.js +24 -1
- package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
- package/dist/react-native/generated/src/operations/index.d.ts +1 -0
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/operations/index.js +1 -0
- package/dist/react-native/generated/src/operations/index.js.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
- 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/callDialog.d.ts +27 -0
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
- 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 +7 -1
- 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 +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.js +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/generated/src/pagingHelper.js +4 -2
- package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
- package/dist/react-native/index.d.ts +2 -0
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/constants.d.ts.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 +336 -296
- package/dist/react-native/models/events.d.ts.map +1 -1
- package/dist/react-native/models/events.js.map +1 -1
- package/dist/react-native/models/models.d.ts +76 -38
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +3 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/models/options.d.ts +34 -4
- 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 +82 -10
- package/dist/react-native/models/responses.d.ts.map +1 -1
- package/dist/react-native/models/responses.js.map +1 -1
- package/dist/react-native/models/streaming.d.ts +27 -26
- package/dist/react-native/models/streaming.d.ts.map +1 -1
- package/dist/react-native/models/streaming.js +57 -28
- package/dist/react-native/models/streaming.js.map +1 -1
- package/dist/react-native/streamingData.d.ts.map +1 -1
- package/dist/react-native/streamingData.js +1 -10
- package/dist/react-native/streamingData.js.map +1 -1
- package/dist/react-native/utli/converters.d.ts +26 -2
- package/dist/react-native/utli/converters.d.ts.map +1 -1
- package/dist/react-native/utli/converters.js +122 -48
- package/dist/react-native/utli/converters.js.map +1 -1
- package/package.json +36 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
2
|
+
export type BaseDialogUnion = BaseDialog | AzureOpenAIDialog | PowerVirtualAgentsDialog;
|
|
3
|
+
export type DialogUpdateBaseUnion = DialogUpdateBase | AzureOpenAIDialogUpdate;
|
|
4
4
|
/** The request payload for creating the call. */
|
|
5
5
|
export interface CreateCallRequest {
|
|
6
6
|
/** The targets of the call. */
|
|
@@ -20,12 +20,14 @@ export interface CreateCallRequest {
|
|
|
20
20
|
callbackUri: string;
|
|
21
21
|
/** AI options for the call. */
|
|
22
22
|
callIntelligenceOptions?: CallIntelligenceOptionsInternal;
|
|
23
|
-
/** Media Streaming Options. */
|
|
24
|
-
mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
|
|
25
|
-
/** Transcription Options. */
|
|
26
|
-
transcriptionOptions?: TranscriptionOptionsInternalUnion;
|
|
27
23
|
/** The identifier of the source for creating call with Teams resource account ID. */
|
|
28
24
|
teamsAppSource?: MicrosoftTeamsAppIdentifierModel;
|
|
25
|
+
/** Used by customer to send custom calling context to targets */
|
|
26
|
+
customCallingContext?: CustomCallingContextInternal;
|
|
27
|
+
/** Media Streaming Options. */
|
|
28
|
+
mediaStreamingOptions?: MediaStreamingOptions;
|
|
29
|
+
/** Transcription Options. */
|
|
30
|
+
transcriptionOptions?: TranscriptionOptionsInternal;
|
|
29
31
|
}
|
|
30
32
|
/** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value. */
|
|
31
33
|
export interface CommunicationIdentifierModel {
|
|
@@ -89,20 +91,106 @@ export interface TeamsExtensionUserIdentifierModel {
|
|
|
89
91
|
export interface CallIntelligenceOptionsInternal {
|
|
90
92
|
/** The identifier of the Cognitive Service resource assigned to this call. */
|
|
91
93
|
cognitiveServicesEndpoint?: string;
|
|
94
|
+
/** A backup identifier of the Cognitive Service resource assigned to this call. */
|
|
95
|
+
backupCognitiveServicesEndpoint?: string;
|
|
92
96
|
}
|
|
93
|
-
/**
|
|
94
|
-
export interface
|
|
95
|
-
/**
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
/** The custom calling context which will be sent to the target */
|
|
98
|
+
export interface CustomCallingContextInternal {
|
|
99
|
+
/** Custom calling context VoiP headers */
|
|
100
|
+
voipHeaders?: {
|
|
101
|
+
[propertyName: string]: string;
|
|
102
|
+
};
|
|
103
|
+
/** Custom calling context SIP headers */
|
|
104
|
+
sipHeaders?: {
|
|
105
|
+
[propertyName: string]: string;
|
|
106
|
+
};
|
|
107
|
+
/** Custom calling context TeamsPhoneCallDetails */
|
|
108
|
+
teamsPhoneCallDetails?: TeamsPhoneCallDetailsInternal;
|
|
109
|
+
}
|
|
110
|
+
/** The call details which will be sent to the target */
|
|
111
|
+
export interface TeamsPhoneCallDetailsInternal {
|
|
112
|
+
/** Container for details relating to the original caller of the call */
|
|
113
|
+
teamsPhoneCallerDetails?: TeamsPhoneCallerDetailsInternal;
|
|
114
|
+
/** Container for details relating to the entity responsible for the creation of these call details */
|
|
115
|
+
teamsPhoneSourceDetails?: TeamsPhoneSourceDetailsInternal;
|
|
116
|
+
/** Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. */
|
|
117
|
+
sessionId?: string;
|
|
118
|
+
/** The intent of the call */
|
|
119
|
+
intent?: string;
|
|
120
|
+
/** A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification */
|
|
121
|
+
callTopic?: string;
|
|
122
|
+
/** A summary of the call thus far. It will be displayed on a side panel in the Teams UI */
|
|
123
|
+
callContext?: string;
|
|
124
|
+
/** Url for fetching the transcript of the call */
|
|
125
|
+
transcriptUrl?: string;
|
|
126
|
+
/** Sentiment of the call thus far */
|
|
127
|
+
callSentiment?: string;
|
|
128
|
+
/** Recommendations for resolving the issue based on the customer’s intent and interaction history */
|
|
129
|
+
suggestedActions?: string;
|
|
130
|
+
}
|
|
131
|
+
/** Container for details relating to the original caller of the call */
|
|
132
|
+
export interface TeamsPhoneCallerDetailsInternal {
|
|
133
|
+
/** Caller's ID */
|
|
134
|
+
caller: CommunicationIdentifierModel;
|
|
135
|
+
/** Caller's name */
|
|
136
|
+
name: string;
|
|
137
|
+
/** Caller's phone number */
|
|
138
|
+
phoneNumber: string;
|
|
139
|
+
/** Caller's record ID (ex in CRM) */
|
|
140
|
+
recordId?: string;
|
|
141
|
+
/** Caller's screen pop URL */
|
|
142
|
+
screenPopUrl?: string;
|
|
143
|
+
/** Flag indicating whether the caller was authenticated */
|
|
144
|
+
isAuthenticated?: boolean;
|
|
145
|
+
/** A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent */
|
|
146
|
+
additionalCallerInformation?: {
|
|
147
|
+
[propertyName: string]: string;
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
/** Container for details relating to the entity responsible for the creation of these call details */
|
|
151
|
+
export interface TeamsPhoneSourceDetailsInternal {
|
|
152
|
+
/** ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA) */
|
|
153
|
+
source: CommunicationIdentifierModel;
|
|
154
|
+
/** Language of the source entity passing along the call details, passed in the ISO-639 standard */
|
|
155
|
+
language: string;
|
|
156
|
+
/** Status of the source entity passing along the call details */
|
|
157
|
+
status: string;
|
|
158
|
+
/** Intended targets of the source entity passing along the call details */
|
|
159
|
+
intendedTargets?: {
|
|
160
|
+
[propertyName: string]: CommunicationIdentifierModel;
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/** Configuration of Media streaming. */
|
|
164
|
+
export interface MediaStreamingOptions {
|
|
165
|
+
/** Transport URL for media streaming */
|
|
166
|
+
transportUrl: string;
|
|
167
|
+
/** The type of transport to be used for media streaming, eg. Websocket */
|
|
168
|
+
transportType: MediaStreamingTransportType;
|
|
169
|
+
/** Content type to stream, eg. audio */
|
|
170
|
+
contentType: MediaStreamingContentType;
|
|
171
|
+
/** Audio channel type to stream, eg. unmixed audio, mixed audio */
|
|
98
172
|
audioChannelType: MediaStreamingAudioChannelType;
|
|
173
|
+
/** Determines if the media streaming should be started immediately after call is answered or not. */
|
|
174
|
+
startMediaStreaming?: boolean;
|
|
175
|
+
/** A value indicating whether bidirectional streaming is enabled. */
|
|
176
|
+
enableBidirectional?: boolean;
|
|
177
|
+
/** Specifies the audio format used for encoding, including sample rate and channel type. */
|
|
178
|
+
audioFormat?: AudioFormat;
|
|
99
179
|
}
|
|
100
|
-
/**
|
|
180
|
+
/** Configuration of live transcription. */
|
|
101
181
|
export interface TranscriptionOptionsInternal {
|
|
102
|
-
/**
|
|
103
|
-
|
|
104
|
-
/**
|
|
182
|
+
/** Transport URL for live transcription */
|
|
183
|
+
transportUrl: string;
|
|
184
|
+
/** The type of transport to be used for live transcription, eg. Websocket */
|
|
185
|
+
transportType: TranscriptionTransportType;
|
|
186
|
+
/** Defines the locale for the data e.g en-CA, en-AU */
|
|
105
187
|
locale: string;
|
|
188
|
+
/** Endpoint where the custom model was deployed. */
|
|
189
|
+
speechModelEndpointId?: string;
|
|
190
|
+
/** Determines if the transcription should be started immediately after call is answered or not. */
|
|
191
|
+
startTranscription: boolean;
|
|
192
|
+
/** Enables intermediate results for the transcribed speech. */
|
|
193
|
+
enableIntermediateResults?: boolean;
|
|
106
194
|
}
|
|
107
195
|
/** Properties of a call connection */
|
|
108
196
|
export interface CallConnectionPropertiesInternal {
|
|
@@ -129,6 +217,10 @@ export interface CallConnectionPropertiesInternal {
|
|
|
129
217
|
correlationId?: string;
|
|
130
218
|
/** Identity of the answering entity. Only populated when identity is provided in the request. */
|
|
131
219
|
answeredBy?: CommunicationUserIdentifierModel;
|
|
220
|
+
/** SubscriptionId for media streaming */
|
|
221
|
+
mediaSubscriptionId?: string;
|
|
222
|
+
/** SubscriptionId for transcription */
|
|
223
|
+
dataSubscriptionId?: string;
|
|
132
224
|
/** The state of media streaming subscription for the call */
|
|
133
225
|
mediaStreamingSubscription?: MediaStreamingSubscription;
|
|
134
226
|
/** Transcription Subscription. */
|
|
@@ -153,8 +245,6 @@ export interface TranscriptionSubscription {
|
|
|
153
245
|
state?: TranscriptionSubscriptionState;
|
|
154
246
|
/** Subscribed transcription result types. */
|
|
155
247
|
subscribedResultStates?: TranscriptionResultState[];
|
|
156
|
-
/** Specifies the locale used for transcription, e.g., en-CA or en-AU. */
|
|
157
|
-
locale?: string;
|
|
158
248
|
}
|
|
159
249
|
/** The Communication Services error. */
|
|
160
250
|
export interface CommunicationErrorResponse {
|
|
@@ -189,6 +279,8 @@ export interface AnswerCallRequest {
|
|
|
189
279
|
incomingCallContext: string;
|
|
190
280
|
/** The callback uri. */
|
|
191
281
|
callbackUri: string;
|
|
282
|
+
/** Used by customer to send custom calling context to targets when answering On-Behalf-Of call */
|
|
283
|
+
customCallingContext?: CustomCallingContextInternal;
|
|
192
284
|
/** A customer set value used to track the answering of a call. */
|
|
193
285
|
operationContext?: string;
|
|
194
286
|
/** AI options for the call. */
|
|
@@ -196,9 +288,9 @@ export interface AnswerCallRequest {
|
|
|
196
288
|
/** The identifier of the call automation entity which answers the call */
|
|
197
289
|
answeredBy?: CommunicationUserIdentifierModel;
|
|
198
290
|
/** Media Streaming Options. */
|
|
199
|
-
mediaStreamingOptions?:
|
|
291
|
+
mediaStreamingOptions?: MediaStreamingOptions;
|
|
200
292
|
/** Transcription Options. */
|
|
201
|
-
transcriptionOptions?:
|
|
293
|
+
transcriptionOptions?: TranscriptionOptionsInternal;
|
|
202
294
|
}
|
|
203
295
|
/** The request payload for redirecting the call. */
|
|
204
296
|
export interface RedirectCallRequest {
|
|
@@ -206,6 +298,8 @@ export interface RedirectCallRequest {
|
|
|
206
298
|
incomingCallContext: string;
|
|
207
299
|
/** The target identity to redirect the call to. */
|
|
208
300
|
target: CommunicationIdentifierModel;
|
|
301
|
+
/** Used by customer to send custom calling context to targets */
|
|
302
|
+
customCallingContext?: CustomCallingContextInternal;
|
|
209
303
|
}
|
|
210
304
|
/** The request payload for rejecting the call. */
|
|
211
305
|
export interface RejectCallRequest {
|
|
@@ -225,9 +319,9 @@ export interface ConnectRequest {
|
|
|
225
319
|
/** AI options for the call. */
|
|
226
320
|
callIntelligenceOptions?: CallIntelligenceOptionsInternal;
|
|
227
321
|
/** Media Streaming Options. */
|
|
228
|
-
mediaStreamingOptions?:
|
|
322
|
+
mediaStreamingOptions?: MediaStreamingOptions;
|
|
229
323
|
/** Transcription Options. */
|
|
230
|
-
transcriptionOptions?:
|
|
324
|
+
transcriptionOptions?: TranscriptionOptionsInternal;
|
|
231
325
|
}
|
|
232
326
|
/** The locator used for joining or taking action on a call */
|
|
233
327
|
export interface CallLocator {
|
|
@@ -258,17 +352,6 @@ export interface TransferToParticipantRequest {
|
|
|
258
352
|
/** The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call to a Pstn target. */
|
|
259
353
|
sourceCallerIdNumber?: PhoneNumberIdentifierModel;
|
|
260
354
|
}
|
|
261
|
-
/** The custom calling context which will be sent to the target */
|
|
262
|
-
export interface CustomCallingContextInternal {
|
|
263
|
-
/** Custom calling context VoiP headers */
|
|
264
|
-
voipHeaders?: {
|
|
265
|
-
[propertyName: string]: string;
|
|
266
|
-
};
|
|
267
|
-
/** Custom calling context SIP headers */
|
|
268
|
-
sipHeaders?: {
|
|
269
|
-
[propertyName: string]: string;
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
355
|
/** The response payload for transferring the call. */
|
|
273
356
|
export interface TransferCallResponse {
|
|
274
357
|
/** The operation context provided by client. */
|
|
@@ -282,8 +365,6 @@ export interface PlayRequest {
|
|
|
282
365
|
* Plays to everyone in the call when not provided.
|
|
283
366
|
*/
|
|
284
367
|
playTo?: CommunicationIdentifierModel[];
|
|
285
|
-
/** If set play can barge into other existing queued-up/currently-processing requests. */
|
|
286
|
-
interruptCallMediaOperation?: boolean;
|
|
287
368
|
/** Defines options for playing the audio. */
|
|
288
369
|
playOptions?: PlayOptionsInternal;
|
|
289
370
|
/** The value to identify context of the operation. */
|
|
@@ -337,11 +418,15 @@ export interface SsmlSourceInternal {
|
|
|
337
418
|
export interface PlayOptionsInternal {
|
|
338
419
|
/** The option to play the provided audio source in loop when set to true */
|
|
339
420
|
loop: boolean;
|
|
421
|
+
/** If set play can barge into other existing queued-up/currently-processing requests. */
|
|
422
|
+
interruptCallMediaOperation?: boolean;
|
|
423
|
+
/** If set, hold audio will be interrupted, then this request will be played, and then the hold audio will be resumed. */
|
|
424
|
+
interruptHoldAudio?: boolean;
|
|
340
425
|
}
|
|
341
426
|
export interface StartTranscriptionRequest {
|
|
342
|
-
/**
|
|
427
|
+
/** Defines Locale for the transcription e,g en-US */
|
|
343
428
|
locale?: string;
|
|
344
|
-
/**
|
|
429
|
+
/** Endpoint where the custom model was deployed. */
|
|
345
430
|
speechModelEndpointId?: string;
|
|
346
431
|
/** The value to identify context of the operation. */
|
|
347
432
|
operationContext?: string;
|
|
@@ -360,19 +445,6 @@ export interface StopTranscriptionRequest {
|
|
|
360
445
|
*/
|
|
361
446
|
operationCallbackUri?: string;
|
|
362
447
|
}
|
|
363
|
-
export interface UpdateTranscriptionRequest {
|
|
364
|
-
/** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */
|
|
365
|
-
locale?: string;
|
|
366
|
-
/** The ID of the deployed custom model, in GUID format, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */
|
|
367
|
-
speechModelEndpointId?: string;
|
|
368
|
-
/** The value to identify context of the operation. */
|
|
369
|
-
operationContext?: string;
|
|
370
|
-
/**
|
|
371
|
-
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
372
|
-
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
373
|
-
*/
|
|
374
|
-
operationCallbackUri?: string;
|
|
375
|
-
}
|
|
376
448
|
export interface RecognizeRequest {
|
|
377
449
|
/** Determines the type of the recognition. */
|
|
378
450
|
recognizeInputType: RecognizeInputType;
|
|
@@ -459,6 +531,19 @@ export interface SendDtmfTonesResult {
|
|
|
459
531
|
/** The operation context provided by client. */
|
|
460
532
|
operationContext?: string;
|
|
461
533
|
}
|
|
534
|
+
export interface UpdateTranscriptionRequest {
|
|
535
|
+
/** Defines new locale for transcription. */
|
|
536
|
+
locale?: string;
|
|
537
|
+
/** Sets Endpoint id where the custom model was deployed. */
|
|
538
|
+
speechModelEndpointId?: string;
|
|
539
|
+
/** The value to identify context of the operation. */
|
|
540
|
+
operationContext?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
543
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
544
|
+
*/
|
|
545
|
+
operationCallbackUri?: string;
|
|
546
|
+
}
|
|
462
547
|
/** The request payload for holding participant from the call. */
|
|
463
548
|
export interface HoldRequest {
|
|
464
549
|
/** Participant to be held from the call. */
|
|
@@ -482,13 +567,17 @@ export interface UnholdRequest {
|
|
|
482
567
|
targetParticipant: CommunicationIdentifierModel;
|
|
483
568
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
484
569
|
operationContext?: string;
|
|
570
|
+
}
|
|
571
|
+
export interface StartMediaStreamingRequest {
|
|
485
572
|
/**
|
|
486
573
|
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
487
574
|
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
488
575
|
*/
|
|
489
576
|
operationCallbackUri?: string;
|
|
577
|
+
/** The value to identify context of the operation. */
|
|
578
|
+
operationContext?: string;
|
|
490
579
|
}
|
|
491
|
-
export interface
|
|
580
|
+
export interface StopMediaStreamingRequest {
|
|
492
581
|
/**
|
|
493
582
|
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
494
583
|
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
@@ -497,7 +586,47 @@ export interface StartMediaStreamingRequest {
|
|
|
497
586
|
/** The value to identify context of the operation. */
|
|
498
587
|
operationContext?: string;
|
|
499
588
|
}
|
|
500
|
-
export interface
|
|
589
|
+
export interface InterruptAudioAndAnnounceRequest {
|
|
590
|
+
/** The source of the audio to be played. */
|
|
591
|
+
playSources: PlaySourceInternal[];
|
|
592
|
+
/**
|
|
593
|
+
* The list of call participants play provided audio to.
|
|
594
|
+
* Plays to everyone in the call when not provided.
|
|
595
|
+
*/
|
|
596
|
+
playTo: CommunicationIdentifierModel;
|
|
597
|
+
/** The value to identify context of the operation. */
|
|
598
|
+
operationContext?: string;
|
|
599
|
+
}
|
|
600
|
+
export interface StartDialogRequest {
|
|
601
|
+
/** Defines the dialog. */
|
|
602
|
+
dialog: BaseDialogUnion;
|
|
603
|
+
/**
|
|
604
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
605
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
606
|
+
*/
|
|
607
|
+
operationCallbackUri?: string;
|
|
608
|
+
/** The value to identify context of the operation. */
|
|
609
|
+
operationContext?: string;
|
|
610
|
+
}
|
|
611
|
+
export interface BaseDialog {
|
|
612
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
613
|
+
kind: "azureOpenAI" | "powerVirtualAgents";
|
|
614
|
+
/** Dialog context. */
|
|
615
|
+
context: {
|
|
616
|
+
[propertyName: string]: Record<string, unknown>;
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
export interface DialogStateResponse {
|
|
620
|
+
/** The dialog ID. */
|
|
621
|
+
dialogId?: string;
|
|
622
|
+
/** Defines dialog. */
|
|
623
|
+
dialog?: BaseDialogUnion;
|
|
624
|
+
/** The value to identify context of the operation. */
|
|
625
|
+
operationContext?: string;
|
|
626
|
+
}
|
|
627
|
+
export interface UpdateDialogRequest {
|
|
628
|
+
/** Dialog context. */
|
|
629
|
+
dialog: DialogUpdateBaseUnion;
|
|
501
630
|
/**
|
|
502
631
|
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
503
632
|
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
@@ -506,6 +635,14 @@ export interface StopMediaStreamingRequest {
|
|
|
506
635
|
/** The value to identify context of the operation. */
|
|
507
636
|
operationContext?: string;
|
|
508
637
|
}
|
|
638
|
+
export interface DialogUpdateBase {
|
|
639
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
640
|
+
kind: "azureOpenAI";
|
|
641
|
+
/** Dialog context. */
|
|
642
|
+
context?: {
|
|
643
|
+
[propertyName: string]: Record<string, unknown>;
|
|
644
|
+
};
|
|
645
|
+
}
|
|
509
646
|
/** The response payload for getting participants of the call. */
|
|
510
647
|
export interface GetParticipantsResponse {
|
|
511
648
|
/** List of the current participants in the call. */
|
|
@@ -592,6 +729,21 @@ export interface MuteParticipantsResult {
|
|
|
592
729
|
/** The operation context provided by client. */
|
|
593
730
|
operationContext?: string;
|
|
594
731
|
}
|
|
732
|
+
/** The request payload for unmuting participant from the call. */
|
|
733
|
+
export interface UnmuteParticipantsRequest {
|
|
734
|
+
/**
|
|
735
|
+
* Participants to be unmuted from the call.
|
|
736
|
+
* Only ACS Users are supported.
|
|
737
|
+
*/
|
|
738
|
+
targetParticipants: CommunicationIdentifierModel[];
|
|
739
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
740
|
+
operationContext?: string;
|
|
741
|
+
}
|
|
742
|
+
/** The response payload for unmuting participants from the call. */
|
|
743
|
+
export interface UnmuteParticipantsResponse {
|
|
744
|
+
/** The operation context provided by client. */
|
|
745
|
+
operationContext?: string;
|
|
746
|
+
}
|
|
595
747
|
/** Request payload for cancelling add participant request. */
|
|
596
748
|
export interface CancelAddParticipantRequest {
|
|
597
749
|
/** Invitation ID used to add a participant. */
|
|
@@ -611,11 +763,34 @@ export interface CancelAddParticipantResponse {
|
|
|
611
763
|
/** The operation context provided by client. */
|
|
612
764
|
operationContext?: string;
|
|
613
765
|
}
|
|
766
|
+
/** The request payload for moving participant to the call. */
|
|
767
|
+
export interface MoveParticipantsRequest {
|
|
768
|
+
/** The participant to Move. */
|
|
769
|
+
targetParticipants: CommunicationIdentifierModel[];
|
|
770
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
771
|
+
operationContext?: string;
|
|
772
|
+
/**
|
|
773
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
774
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
775
|
+
*/
|
|
776
|
+
operationCallbackUri?: string;
|
|
777
|
+
/** The CallConnectionId for the call you want to move the participant from */
|
|
778
|
+
fromCall: string;
|
|
779
|
+
}
|
|
780
|
+
/** The response payload for moving participants to the call. */
|
|
781
|
+
export interface MoveParticipantsResponse {
|
|
782
|
+
/** List of current participants in the call. */
|
|
783
|
+
participants?: CallParticipantInternal[];
|
|
784
|
+
/** The operation context provided by client. */
|
|
785
|
+
operationContext?: string;
|
|
786
|
+
/** The CallConnectionId for the call you want to move the participant from */
|
|
787
|
+
fromCall?: string;
|
|
788
|
+
}
|
|
614
789
|
/** The request payload start for call recording operation with call locator. */
|
|
615
790
|
export interface StartCallRecordingRequest {
|
|
616
791
|
/** The call locator. (Only one of callLocator or callConnectionId to be used) */
|
|
617
792
|
callLocator?: CallLocator;
|
|
618
|
-
/** The call
|
|
793
|
+
/** The call connectionId. (Only one of callLocator or callConnectionId to be used) */
|
|
619
794
|
callConnectionId?: string;
|
|
620
795
|
/** The uri to send notifications to. */
|
|
621
796
|
recordingStateCallbackUri?: string;
|
|
@@ -643,6 +818,8 @@ export interface StartCallRecordingRequest {
|
|
|
643
818
|
pauseOnStart?: boolean;
|
|
644
819
|
/** Optional property to specify location where recording will be stored */
|
|
645
820
|
recordingStorage?: RecordingStorage;
|
|
821
|
+
/** The post processing options for the recording. */
|
|
822
|
+
postProcessingOptions?: PostProcessingOptions;
|
|
646
823
|
}
|
|
647
824
|
/** Channel affinity for a participant */
|
|
648
825
|
export interface ChannelAffinity {
|
|
@@ -660,13 +837,107 @@ export interface RecordingStorage {
|
|
|
660
837
|
/** Uri of a container or a location within a container */
|
|
661
838
|
recordingDestinationContainerUrl?: string;
|
|
662
839
|
}
|
|
840
|
+
export interface PostProcessingOptions {
|
|
841
|
+
/**
|
|
842
|
+
* The identifier of the Cognitive Service resource assigned to the post recording processing.
|
|
843
|
+
* The Cognitive Service resource will be used by the summarization feature.
|
|
844
|
+
*/
|
|
845
|
+
cognitiveServicesEndpoint?: string;
|
|
846
|
+
/** Define options of the transcription for the post recording processing. */
|
|
847
|
+
transcription: Transcription;
|
|
848
|
+
/** Define options of the summarization for the post recording processing. */
|
|
849
|
+
summarization?: Summarization;
|
|
850
|
+
}
|
|
851
|
+
export interface Transcription {
|
|
852
|
+
/** Determine if the Transcription should be enabled for the post recording processing. */
|
|
853
|
+
enableTranscription: boolean;
|
|
854
|
+
}
|
|
855
|
+
export interface Summarization {
|
|
856
|
+
/** Determine if the summarization should be enabled for the post recording processing. */
|
|
857
|
+
enableSummarization: boolean;
|
|
858
|
+
}
|
|
663
859
|
export interface RecordingStateResponse {
|
|
664
860
|
recordingId?: string;
|
|
665
861
|
recordingState?: RecordingState;
|
|
666
862
|
recordingKind?: RecordingKind;
|
|
667
863
|
}
|
|
668
|
-
/**
|
|
669
|
-
export interface
|
|
864
|
+
/** Recording result data */
|
|
865
|
+
export interface RecordingResultResponse {
|
|
866
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
867
|
+
readonly recordingId?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Container for chunks
|
|
870
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
871
|
+
*/
|
|
872
|
+
readonly recordingStorageInfo?: RecordingStorageInfo;
|
|
873
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
874
|
+
readonly errors?: ErrorModel[];
|
|
875
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
876
|
+
readonly recordingStartTime?: Date;
|
|
877
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
878
|
+
readonly recordingDurationMs?: number;
|
|
879
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
880
|
+
readonly sessionEndReason?: CallSessionEndReason;
|
|
881
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
882
|
+
readonly recordingExpirationTime?: Date;
|
|
883
|
+
}
|
|
884
|
+
/** Container for chunks */
|
|
885
|
+
export interface RecordingStorageInfo {
|
|
886
|
+
/** Collection of {Microsoft.Skype.Platform.ExecutionAgent.Azure.Communication.Service.ServerCalling.Content.Contracts.ALPHA4_2024_09_01_preview.Models.RecordingChunkStorageInfo} */
|
|
887
|
+
recordingChunks?: RecordingChunkStorageInfo[];
|
|
888
|
+
}
|
|
889
|
+
/** Recording chunk data */
|
|
890
|
+
export interface RecordingChunkStorageInfo {
|
|
891
|
+
/** Chunk document id */
|
|
892
|
+
documentId?: string;
|
|
893
|
+
/** Chunks order in a multi chunk recording */
|
|
894
|
+
index?: number;
|
|
895
|
+
/** Reason this chunk ended */
|
|
896
|
+
endReason?: ChunkEndReason;
|
|
897
|
+
/** Location of the chunk */
|
|
898
|
+
contentLocation?: string;
|
|
899
|
+
/** Location of chunk metadata */
|
|
900
|
+
metadataLocation?: string;
|
|
901
|
+
/** Callback for deleting chunk */
|
|
902
|
+
deleteLocation?: string;
|
|
903
|
+
}
|
|
904
|
+
/** Error details */
|
|
905
|
+
export interface ErrorModel {
|
|
906
|
+
/** Error code */
|
|
907
|
+
code?: string;
|
|
908
|
+
/** Error message */
|
|
909
|
+
message?: string;
|
|
910
|
+
/** Inner error details */
|
|
911
|
+
innerError?: ErrorModel;
|
|
912
|
+
}
|
|
913
|
+
export interface DtmfResult {
|
|
914
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
915
|
+
readonly tones?: Tone[];
|
|
916
|
+
}
|
|
917
|
+
export interface ChoiceResult {
|
|
918
|
+
/** Label is the primary identifier for the choice detected */
|
|
919
|
+
label?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Phrases are set to the value if choice is selected via phrase detection.
|
|
922
|
+
* If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null
|
|
923
|
+
*/
|
|
924
|
+
recognizedPhrase?: string;
|
|
925
|
+
}
|
|
926
|
+
/** The speech status as a result. */
|
|
927
|
+
export interface SpeechResult {
|
|
928
|
+
/** The recognized speech in string. */
|
|
929
|
+
speech?: string;
|
|
930
|
+
/** The confidence of the recognized speech. */
|
|
931
|
+
confidence?: number;
|
|
932
|
+
}
|
|
933
|
+
export interface DialogCompleted {
|
|
934
|
+
/** Determines the type of the dialog. */
|
|
935
|
+
dialogInputType?: DialogInputType;
|
|
936
|
+
/**
|
|
937
|
+
* Dialog ID
|
|
938
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
939
|
+
*/
|
|
940
|
+
readonly dialogId?: string;
|
|
670
941
|
/** Call connection ID. */
|
|
671
942
|
callConnectionId?: string;
|
|
672
943
|
/** Server call ID. */
|
|
@@ -676,11 +947,9 @@ export interface AddParticipantFailed {
|
|
|
676
947
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
677
948
|
operationContext?: string;
|
|
678
949
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
679
|
-
resultInformation?:
|
|
680
|
-
/** Participant */
|
|
681
|
-
participant?: CommunicationIdentifierModel;
|
|
950
|
+
resultInformation?: RestResultInformation;
|
|
682
951
|
}
|
|
683
|
-
export interface
|
|
952
|
+
export interface RestResultInformation {
|
|
684
953
|
/** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
|
|
685
954
|
code?: number;
|
|
686
955
|
/** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
|
|
@@ -688,8 +957,14 @@ export interface ResultInformation {
|
|
|
688
957
|
/** Detail message that describes the current result. */
|
|
689
958
|
message?: string;
|
|
690
959
|
}
|
|
691
|
-
|
|
692
|
-
|
|
960
|
+
export interface DialogFailed {
|
|
961
|
+
/** Determines the type of the dialog. */
|
|
962
|
+
dialogInputType?: DialogInputType;
|
|
963
|
+
/**
|
|
964
|
+
* Dialog ID
|
|
965
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
966
|
+
*/
|
|
967
|
+
readonly dialogId?: string;
|
|
693
968
|
/** Call connection ID. */
|
|
694
969
|
callConnectionId?: string;
|
|
695
970
|
/** Server call ID. */
|
|
@@ -699,12 +974,21 @@ export interface AddParticipantSucceeded {
|
|
|
699
974
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
700
975
|
operationContext?: string;
|
|
701
976
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
702
|
-
resultInformation?:
|
|
703
|
-
/** Participant */
|
|
704
|
-
participant?: CommunicationIdentifierModel;
|
|
977
|
+
resultInformation?: RestResultInformation;
|
|
705
978
|
}
|
|
706
|
-
|
|
707
|
-
|
|
979
|
+
export interface DialogConsent {
|
|
980
|
+
/** Determines the type of the dialog. */
|
|
981
|
+
dialogInputType?: DialogInputType;
|
|
982
|
+
/**
|
|
983
|
+
* UserConsent data from the Conversation Conductor
|
|
984
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
985
|
+
*/
|
|
986
|
+
readonly userConsent?: UserConsent;
|
|
987
|
+
/**
|
|
988
|
+
* Dialog ID
|
|
989
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
990
|
+
*/
|
|
991
|
+
readonly dialogId?: string;
|
|
708
992
|
/** Call connection ID. */
|
|
709
993
|
callConnectionId?: string;
|
|
710
994
|
/** Server call ID. */
|
|
@@ -714,10 +998,19 @@ export interface CallConnected {
|
|
|
714
998
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
715
999
|
operationContext?: string;
|
|
716
1000
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
717
|
-
resultInformation?:
|
|
1001
|
+
resultInformation?: RestResultInformation;
|
|
718
1002
|
}
|
|
719
|
-
|
|
720
|
-
|
|
1003
|
+
export interface UserConsent {
|
|
1004
|
+
recording?: number;
|
|
1005
|
+
}
|
|
1006
|
+
export interface DialogStarted {
|
|
1007
|
+
/** Determines the type of the dialog. */
|
|
1008
|
+
dialogInputType?: DialogInputType;
|
|
1009
|
+
/**
|
|
1010
|
+
* Dialog ID
|
|
1011
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1012
|
+
*/
|
|
1013
|
+
readonly dialogId?: string;
|
|
721
1014
|
/** Call connection ID. */
|
|
722
1015
|
callConnectionId?: string;
|
|
723
1016
|
/** Server call ID. */
|
|
@@ -727,10 +1020,21 @@ export interface CallDisconnected {
|
|
|
727
1020
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
728
1021
|
operationContext?: string;
|
|
729
1022
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
730
|
-
resultInformation?:
|
|
1023
|
+
resultInformation?: RestResultInformation;
|
|
731
1024
|
}
|
|
732
|
-
|
|
733
|
-
|
|
1025
|
+
export interface DialogHangup {
|
|
1026
|
+
/** Determines the type of the dialog. */
|
|
1027
|
+
dialogInputType?: DialogInputType;
|
|
1028
|
+
/**
|
|
1029
|
+
* Dialog ID
|
|
1030
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1031
|
+
*/
|
|
1032
|
+
readonly dialogId?: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Ivr Context
|
|
1035
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1036
|
+
*/
|
|
1037
|
+
readonly ivrContext?: Record<string, unknown>;
|
|
734
1038
|
/** Call connection ID. */
|
|
735
1039
|
callConnectionId?: string;
|
|
736
1040
|
/** Server call ID. */
|
|
@@ -740,14 +1044,31 @@ export interface CallTransferAccepted {
|
|
|
740
1044
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
741
1045
|
operationContext?: string;
|
|
742
1046
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
743
|
-
resultInformation?:
|
|
744
|
-
/** Target who the call is transferred to. */
|
|
745
|
-
transferTarget?: CommunicationIdentifierModel;
|
|
746
|
-
/** the participant who is being transferred away. */
|
|
747
|
-
transferee?: CommunicationIdentifierModel;
|
|
1047
|
+
resultInformation?: RestResultInformation;
|
|
748
1048
|
}
|
|
749
|
-
|
|
750
|
-
|
|
1049
|
+
export interface DialogTransfer {
|
|
1050
|
+
/** Determines the type of the dialog. */
|
|
1051
|
+
dialogInputType?: DialogInputType;
|
|
1052
|
+
/**
|
|
1053
|
+
* Dialog ID
|
|
1054
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1055
|
+
*/
|
|
1056
|
+
readonly dialogId?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Transfer type
|
|
1059
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1060
|
+
*/
|
|
1061
|
+
readonly transferType?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Transfer destination
|
|
1064
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1065
|
+
*/
|
|
1066
|
+
readonly transferDestination?: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* IVR context
|
|
1069
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1070
|
+
*/
|
|
1071
|
+
readonly ivrContext?: Record<string, unknown>;
|
|
751
1072
|
/** Call connection ID. */
|
|
752
1073
|
callConnectionId?: string;
|
|
753
1074
|
/** Server call ID. */
|
|
@@ -757,25 +1078,26 @@ export interface CallTransferFailed {
|
|
|
757
1078
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
758
1079
|
operationContext?: string;
|
|
759
1080
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
760
|
-
resultInformation?:
|
|
761
|
-
}
|
|
762
|
-
/** The participants updated in a call event. */
|
|
763
|
-
export interface ParticipantsUpdated {
|
|
764
|
-
/** Call connection ID. */
|
|
765
|
-
callConnectionId?: string;
|
|
766
|
-
/** Server call ID. */
|
|
767
|
-
serverCallId?: string;
|
|
768
|
-
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
769
|
-
correlationId?: string;
|
|
770
|
-
/** The Sequence Number of the event */
|
|
771
|
-
sequenceNumber?: number;
|
|
772
|
-
/** The list of participants in the call. */
|
|
773
|
-
participants?: CallParticipantInternal[];
|
|
774
|
-
/** Contains the resulting SIP code, sub-code and message. */
|
|
775
|
-
resultInformation?: ResultInformation;
|
|
1081
|
+
resultInformation?: RestResultInformation;
|
|
776
1082
|
}
|
|
777
|
-
|
|
778
|
-
|
|
1083
|
+
export interface DialogLanguageChange {
|
|
1084
|
+
/** Determines the type of the dialog. */
|
|
1085
|
+
dialogInputType?: DialogInputType;
|
|
1086
|
+
/**
|
|
1087
|
+
* Dialog ID
|
|
1088
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1089
|
+
*/
|
|
1090
|
+
readonly dialogId?: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Selected Language
|
|
1093
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1094
|
+
*/
|
|
1095
|
+
readonly selectedLanguage?: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* Ivr Context
|
|
1098
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1099
|
+
*/
|
|
1100
|
+
readonly ivrContext?: Record<string, unknown>;
|
|
779
1101
|
/** Call connection ID. */
|
|
780
1102
|
callConnectionId?: string;
|
|
781
1103
|
/** Server call ID. */
|
|
@@ -785,12 +1107,21 @@ export interface RemoveParticipantSucceeded {
|
|
|
785
1107
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
786
1108
|
operationContext?: string;
|
|
787
1109
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
788
|
-
resultInformation?:
|
|
789
|
-
/** Participant */
|
|
790
|
-
participant?: CommunicationIdentifierModel;
|
|
1110
|
+
resultInformation?: RestResultInformation;
|
|
791
1111
|
}
|
|
792
|
-
|
|
793
|
-
|
|
1112
|
+
export interface DialogSensitivityUpdate {
|
|
1113
|
+
/** Determines the type of the dialog. */
|
|
1114
|
+
dialogInputType?: DialogInputType;
|
|
1115
|
+
/**
|
|
1116
|
+
* Dialog ID
|
|
1117
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1118
|
+
*/
|
|
1119
|
+
readonly dialogId?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* SensitiveMask
|
|
1122
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1123
|
+
*/
|
|
1124
|
+
readonly sensitiveMask?: boolean;
|
|
794
1125
|
/** Call connection ID. */
|
|
795
1126
|
callConnectionId?: string;
|
|
796
1127
|
/** Server call ID. */
|
|
@@ -800,12 +1131,21 @@ export interface RemoveParticipantFailed {
|
|
|
800
1131
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
801
1132
|
operationContext?: string;
|
|
802
1133
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
803
|
-
resultInformation?:
|
|
804
|
-
/** Participant */
|
|
805
|
-
participant?: CommunicationIdentifierModel;
|
|
1134
|
+
resultInformation?: RestResultInformation;
|
|
806
1135
|
}
|
|
807
|
-
|
|
808
|
-
|
|
1136
|
+
export interface DialogUpdated {
|
|
1137
|
+
/** Determines the type of the dialog. */
|
|
1138
|
+
dialogInputType?: DialogInputType;
|
|
1139
|
+
/**
|
|
1140
|
+
* Dialog ID
|
|
1141
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1142
|
+
*/
|
|
1143
|
+
readonly dialogId?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* IVR context
|
|
1146
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1147
|
+
*/
|
|
1148
|
+
readonly ivrContext?: Record<string, unknown>;
|
|
809
1149
|
/** Call connection ID. */
|
|
810
1150
|
callConnectionId?: string;
|
|
811
1151
|
/** Server call ID. */
|
|
@@ -814,13 +1154,20 @@ export interface CancelAddParticipantSucceeded {
|
|
|
814
1154
|
correlationId?: string;
|
|
815
1155
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
816
1156
|
operationContext?: string;
|
|
817
|
-
/** Invitation ID used to cancel the request. */
|
|
818
|
-
invitationId?: string;
|
|
819
1157
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
820
|
-
resultInformation?:
|
|
1158
|
+
resultInformation?: RestResultInformation;
|
|
821
1159
|
}
|
|
822
|
-
|
|
823
|
-
|
|
1160
|
+
export interface TranscriptionUpdate {
|
|
1161
|
+
transcriptionStatus?: TranscriptionStatus;
|
|
1162
|
+
transcriptionStatusDetails?: TranscriptionStatusDetails;
|
|
1163
|
+
}
|
|
1164
|
+
export interface MediaStreamingUpdate {
|
|
1165
|
+
contentType?: string;
|
|
1166
|
+
mediaStreamingStatus?: MediaStreamingStatus;
|
|
1167
|
+
mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
|
|
1168
|
+
}
|
|
1169
|
+
/** The participants successfully added event. */
|
|
1170
|
+
export interface RestAddParticipantSucceeded {
|
|
824
1171
|
/** Call connection ID. */
|
|
825
1172
|
callConnectionId?: string;
|
|
826
1173
|
/** Server call ID. */
|
|
@@ -830,12 +1177,12 @@ export interface CancelAddParticipantFailed {
|
|
|
830
1177
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
831
1178
|
operationContext?: string;
|
|
832
1179
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
833
|
-
resultInformation?:
|
|
834
|
-
/**
|
|
835
|
-
|
|
1180
|
+
resultInformation?: RestResultInformation;
|
|
1181
|
+
/** Participant */
|
|
1182
|
+
participant?: CommunicationIdentifierModel;
|
|
836
1183
|
}
|
|
837
|
-
/** The failed to
|
|
838
|
-
export interface
|
|
1184
|
+
/** The failed to add participants event. */
|
|
1185
|
+
export interface RestAddParticipantFailed {
|
|
839
1186
|
/** Call connection ID. */
|
|
840
1187
|
callConnectionId?: string;
|
|
841
1188
|
/** Server call ID. */
|
|
@@ -845,10 +1192,14 @@ export interface AnswerFailed {
|
|
|
845
1192
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
846
1193
|
operationContext?: string;
|
|
847
1194
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
848
|
-
resultInformation?:
|
|
1195
|
+
resultInformation?: RestResultInformation;
|
|
1196
|
+
/** Participant */
|
|
1197
|
+
participant?: CommunicationIdentifierModel;
|
|
849
1198
|
}
|
|
850
|
-
/**
|
|
851
|
-
export interface
|
|
1199
|
+
/** Moving the participant successfully event. */
|
|
1200
|
+
export interface RestMoveParticipantSucceeded {
|
|
1201
|
+
/** The CallConnectionId for the call you want to move the participant from */
|
|
1202
|
+
fromCall?: string;
|
|
852
1203
|
/** Call connection ID. */
|
|
853
1204
|
callConnectionId?: string;
|
|
854
1205
|
/** Server call ID. */
|
|
@@ -858,10 +1209,85 @@ export interface CreateCallFailed {
|
|
|
858
1209
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
859
1210
|
operationContext?: string;
|
|
860
1211
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
861
|
-
resultInformation?:
|
|
1212
|
+
resultInformation?: RestResultInformation;
|
|
1213
|
+
/** Participant */
|
|
1214
|
+
participant?: CommunicationIdentifierModel;
|
|
862
1215
|
}
|
|
863
|
-
/**
|
|
864
|
-
export interface
|
|
1216
|
+
/** Moving the participant failed event. */
|
|
1217
|
+
export interface RestMoveParticipantFailed {
|
|
1218
|
+
/** The CallConnectionId for the call you want to move the participant from */
|
|
1219
|
+
fromCall?: string;
|
|
1220
|
+
/** Call connection ID. */
|
|
1221
|
+
callConnectionId?: string;
|
|
1222
|
+
/** Server call ID. */
|
|
1223
|
+
serverCallId?: string;
|
|
1224
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1225
|
+
correlationId?: string;
|
|
1226
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1227
|
+
operationContext?: string;
|
|
1228
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1229
|
+
resultInformation?: RestResultInformation;
|
|
1230
|
+
/** Participant */
|
|
1231
|
+
participant?: CommunicationIdentifierModel;
|
|
1232
|
+
}
|
|
1233
|
+
/** The participant removed event. */
|
|
1234
|
+
export interface RestRemoveParticipantSucceeded {
|
|
1235
|
+
/** Call connection ID. */
|
|
1236
|
+
callConnectionId?: string;
|
|
1237
|
+
/** Server call ID. */
|
|
1238
|
+
serverCallId?: string;
|
|
1239
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1240
|
+
correlationId?: string;
|
|
1241
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1242
|
+
operationContext?: string;
|
|
1243
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1244
|
+
resultInformation?: RestResultInformation;
|
|
1245
|
+
/** Participant */
|
|
1246
|
+
participant?: CommunicationIdentifierModel;
|
|
1247
|
+
}
|
|
1248
|
+
/** The failed to remove participant event. */
|
|
1249
|
+
export interface RestRemoveParticipantFailed {
|
|
1250
|
+
/** Call connection ID. */
|
|
1251
|
+
callConnectionId?: string;
|
|
1252
|
+
/** Server call ID. */
|
|
1253
|
+
serverCallId?: string;
|
|
1254
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1255
|
+
correlationId?: string;
|
|
1256
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1257
|
+
operationContext?: string;
|
|
1258
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1259
|
+
resultInformation?: RestResultInformation;
|
|
1260
|
+
/** Participant */
|
|
1261
|
+
participant?: CommunicationIdentifierModel;
|
|
1262
|
+
}
|
|
1263
|
+
/** The call connected event. */
|
|
1264
|
+
export interface RestCallConnected {
|
|
1265
|
+
/** Call connection ID. */
|
|
1266
|
+
callConnectionId?: string;
|
|
1267
|
+
/** Server call ID. */
|
|
1268
|
+
serverCallId?: string;
|
|
1269
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1270
|
+
correlationId?: string;
|
|
1271
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1272
|
+
operationContext?: string;
|
|
1273
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1274
|
+
resultInformation?: RestResultInformation;
|
|
1275
|
+
}
|
|
1276
|
+
/** The call disconnected event. */
|
|
1277
|
+
export interface RestCallDisconnected {
|
|
1278
|
+
/** Call connection ID. */
|
|
1279
|
+
callConnectionId?: string;
|
|
1280
|
+
/** Server call ID. */
|
|
1281
|
+
serverCallId?: string;
|
|
1282
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1283
|
+
correlationId?: string;
|
|
1284
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1285
|
+
operationContext?: string;
|
|
1286
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1287
|
+
resultInformation?: RestResultInformation;
|
|
1288
|
+
}
|
|
1289
|
+
/** The call transfer accepted event. */
|
|
1290
|
+
export interface RestCallTransferAccepted {
|
|
865
1291
|
/** Call connection ID. */
|
|
866
1292
|
callConnectionId?: string;
|
|
867
1293
|
/** Server call ID. */
|
|
@@ -871,9 +1297,26 @@ export interface ConnectFailed {
|
|
|
871
1297
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
872
1298
|
operationContext?: string;
|
|
873
1299
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
874
|
-
resultInformation?:
|
|
1300
|
+
resultInformation?: RestResultInformation;
|
|
1301
|
+
/** Target who the call is transferred to. */
|
|
1302
|
+
transferTarget?: CommunicationIdentifierModel;
|
|
1303
|
+
/** the participant who is being transferred away. */
|
|
1304
|
+
transferee?: CommunicationIdentifierModel;
|
|
875
1305
|
}
|
|
876
|
-
|
|
1306
|
+
/** The call transfer failed event. */
|
|
1307
|
+
export interface RestCallTransferFailed {
|
|
1308
|
+
/** Call connection ID. */
|
|
1309
|
+
callConnectionId?: string;
|
|
1310
|
+
/** Server call ID. */
|
|
1311
|
+
serverCallId?: string;
|
|
1312
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1313
|
+
correlationId?: string;
|
|
1314
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1315
|
+
operationContext?: string;
|
|
1316
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1317
|
+
resultInformation?: RestResultInformation;
|
|
1318
|
+
}
|
|
1319
|
+
export interface RestRecordingStateChanged {
|
|
877
1320
|
/** Call connection ID. */
|
|
878
1321
|
callConnectionId?: string;
|
|
879
1322
|
/** Server call ID. */
|
|
@@ -893,22 +1336,24 @@ export interface RecordingStateChanged {
|
|
|
893
1336
|
readonly startDateTime?: Date;
|
|
894
1337
|
recordingKind?: RecordingKind;
|
|
895
1338
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
896
|
-
resultInformation?:
|
|
1339
|
+
resultInformation?: RestResultInformation;
|
|
897
1340
|
}
|
|
898
|
-
/**
|
|
899
|
-
export interface
|
|
1341
|
+
/** The participants updated in a call event. */
|
|
1342
|
+
export interface RestParticipantsUpdated {
|
|
900
1343
|
/** Call connection ID. */
|
|
901
1344
|
callConnectionId?: string;
|
|
902
1345
|
/** Server call ID. */
|
|
903
1346
|
serverCallId?: string;
|
|
904
1347
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
905
1348
|
correlationId?: string;
|
|
906
|
-
/**
|
|
907
|
-
|
|
1349
|
+
/** The Sequence Number of the event */
|
|
1350
|
+
sequenceNumber?: number;
|
|
1351
|
+
/** The list of participants in the call. */
|
|
1352
|
+
participants?: CallParticipantInternal[];
|
|
908
1353
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
909
|
-
resultInformation?:
|
|
1354
|
+
resultInformation?: RestResultInformation;
|
|
910
1355
|
}
|
|
911
|
-
export interface
|
|
1356
|
+
export interface RestPlayCompleted {
|
|
912
1357
|
/** Call connection ID. */
|
|
913
1358
|
callConnectionId?: string;
|
|
914
1359
|
/** Server call ID. */
|
|
@@ -918,9 +1363,9 @@ export interface PlayCompleted {
|
|
|
918
1363
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
919
1364
|
operationContext?: string;
|
|
920
1365
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
921
|
-
resultInformation?:
|
|
1366
|
+
resultInformation?: RestResultInformation;
|
|
922
1367
|
}
|
|
923
|
-
export interface
|
|
1368
|
+
export interface RestPlayFailed {
|
|
924
1369
|
/** Call connection ID. */
|
|
925
1370
|
callConnectionId?: string;
|
|
926
1371
|
/** Server call ID. */
|
|
@@ -930,11 +1375,11 @@ export interface PlayFailed {
|
|
|
930
1375
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
931
1376
|
operationContext?: string;
|
|
932
1377
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
933
|
-
resultInformation?:
|
|
1378
|
+
resultInformation?: RestResultInformation;
|
|
934
1379
|
/** Contains the index of the failed play source. */
|
|
935
1380
|
failedPlaySourceIndex?: number;
|
|
936
1381
|
}
|
|
937
|
-
export interface
|
|
1382
|
+
export interface RestPlayCanceled {
|
|
938
1383
|
/** Call connection ID. */
|
|
939
1384
|
callConnectionId?: string;
|
|
940
1385
|
/** Server call ID. */
|
|
@@ -944,9 +1389,9 @@ export interface PlayCanceled {
|
|
|
944
1389
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
945
1390
|
operationContext?: string;
|
|
946
1391
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
947
|
-
resultInformation?:
|
|
1392
|
+
resultInformation?: RestResultInformation;
|
|
948
1393
|
}
|
|
949
|
-
export interface
|
|
1394
|
+
export interface RestRecognizeCompleted {
|
|
950
1395
|
/** Call connection ID. */
|
|
951
1396
|
callConnectionId?: string;
|
|
952
1397
|
/** Server call ID. */
|
|
@@ -956,7 +1401,7 @@ export interface RecognizeCompleted {
|
|
|
956
1401
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
957
1402
|
operationContext?: string;
|
|
958
1403
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
959
|
-
resultInformation?:
|
|
1404
|
+
resultInformation?: RestResultInformation;
|
|
960
1405
|
/**
|
|
961
1406
|
* Determines the sub-type of the recognize operation.
|
|
962
1407
|
* In case of cancel operation the this field is not set and is returned empty
|
|
@@ -972,29 +1417,63 @@ export interface RecognizeCompleted {
|
|
|
972
1417
|
*/
|
|
973
1418
|
readonly speechResult?: SpeechResult;
|
|
974
1419
|
}
|
|
975
|
-
export interface
|
|
976
|
-
/**
|
|
977
|
-
|
|
1420
|
+
export interface RestRecognizeFailed {
|
|
1421
|
+
/** Call connection ID. */
|
|
1422
|
+
callConnectionId?: string;
|
|
1423
|
+
/** Server call ID. */
|
|
1424
|
+
serverCallId?: string;
|
|
1425
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1426
|
+
correlationId?: string;
|
|
1427
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1428
|
+
operationContext?: string;
|
|
1429
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1430
|
+
resultInformation?: RestResultInformation;
|
|
1431
|
+
/** Contains the index of the failed play source. */
|
|
1432
|
+
failedPlaySourceIndex?: number;
|
|
978
1433
|
}
|
|
979
|
-
export interface
|
|
980
|
-
/**
|
|
981
|
-
|
|
1434
|
+
export interface RestRecognizeCanceled {
|
|
1435
|
+
/** Call connection ID. */
|
|
1436
|
+
callConnectionId?: string;
|
|
1437
|
+
/** Server call ID. */
|
|
1438
|
+
serverCallId?: string;
|
|
1439
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1440
|
+
correlationId?: string;
|
|
1441
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1442
|
+
operationContext?: string;
|
|
1443
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1444
|
+
resultInformation?: RestResultInformation;
|
|
1445
|
+
}
|
|
1446
|
+
export interface RestContinuousDtmfRecognitionToneReceived {
|
|
982
1447
|
/**
|
|
983
|
-
*
|
|
984
|
-
*
|
|
1448
|
+
* The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.
|
|
1449
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
985
1450
|
*/
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1451
|
+
readonly sequenceId?: number;
|
|
1452
|
+
tone?: Tone;
|
|
1453
|
+
/** Call connection ID. */
|
|
1454
|
+
callConnectionId?: string;
|
|
1455
|
+
/** Server call ID. */
|
|
1456
|
+
serverCallId?: string;
|
|
1457
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1458
|
+
correlationId?: string;
|
|
1459
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1460
|
+
operationContext?: string;
|
|
1461
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1462
|
+
resultInformation?: RestResultInformation;
|
|
989
1463
|
}
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1464
|
+
export interface RestContinuousDtmfRecognitionToneFailed {
|
|
1465
|
+
/** Call connection ID. */
|
|
1466
|
+
callConnectionId?: string;
|
|
1467
|
+
/** Server call ID. */
|
|
1468
|
+
serverCallId?: string;
|
|
1469
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1470
|
+
correlationId?: string;
|
|
1471
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1472
|
+
resultInformation?: RestResultInformation;
|
|
1473
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1474
|
+
operationContext?: string;
|
|
996
1475
|
}
|
|
997
|
-
export interface
|
|
1476
|
+
export interface RestContinuousDtmfRecognitionStopped {
|
|
998
1477
|
/** Call connection ID. */
|
|
999
1478
|
callConnectionId?: string;
|
|
1000
1479
|
/** Server call ID. */
|
|
@@ -1004,11 +1483,9 @@ export interface RecognizeFailed {
|
|
|
1004
1483
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1005
1484
|
operationContext?: string;
|
|
1006
1485
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1007
|
-
resultInformation?:
|
|
1008
|
-
/** Contains the index of the failed play source. */
|
|
1009
|
-
failedPlaySourceIndex?: number;
|
|
1486
|
+
resultInformation?: RestResultInformation;
|
|
1010
1487
|
}
|
|
1011
|
-
export interface
|
|
1488
|
+
export interface RestSendDtmfTonesCompleted {
|
|
1012
1489
|
/** Call connection ID. */
|
|
1013
1490
|
callConnectionId?: string;
|
|
1014
1491
|
/** Server call ID. */
|
|
@@ -1018,27 +1495,107 @@ export interface RecognizeCanceled {
|
|
|
1018
1495
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1019
1496
|
operationContext?: string;
|
|
1020
1497
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1021
|
-
resultInformation?:
|
|
1498
|
+
resultInformation?: RestResultInformation;
|
|
1022
1499
|
}
|
|
1023
|
-
export interface
|
|
1500
|
+
export interface RestSendDtmfTonesFailed {
|
|
1024
1501
|
/** Call connection ID. */
|
|
1025
1502
|
callConnectionId?: string;
|
|
1026
1503
|
/** Server call ID. */
|
|
1027
1504
|
serverCallId?: string;
|
|
1028
1505
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1029
1506
|
correlationId?: string;
|
|
1507
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1508
|
+
operationContext?: string;
|
|
1030
1509
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1031
|
-
resultInformation?:
|
|
1510
|
+
resultInformation?: RestResultInformation;
|
|
1511
|
+
}
|
|
1512
|
+
/** Successful cancel add participant event. */
|
|
1513
|
+
export interface RestCancelAddParticipantSucceeded {
|
|
1514
|
+
/** Call connection ID. */
|
|
1515
|
+
callConnectionId?: string;
|
|
1516
|
+
/** Server call ID. */
|
|
1517
|
+
serverCallId?: string;
|
|
1518
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1519
|
+
correlationId?: string;
|
|
1032
1520
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1033
1521
|
operationContext?: string;
|
|
1522
|
+
/** Invitation ID used to cancel the request. */
|
|
1523
|
+
invitationId?: string;
|
|
1524
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1525
|
+
resultInformation?: RestResultInformation;
|
|
1034
1526
|
}
|
|
1035
|
-
|
|
1527
|
+
/** Failed cancel add participant event. */
|
|
1528
|
+
export interface RestCancelAddParticipantFailed {
|
|
1529
|
+
/** Call connection ID. */
|
|
1530
|
+
callConnectionId?: string;
|
|
1531
|
+
/** Server call ID. */
|
|
1532
|
+
serverCallId?: string;
|
|
1533
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1534
|
+
correlationId?: string;
|
|
1535
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1536
|
+
operationContext?: string;
|
|
1537
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1538
|
+
resultInformation?: RestResultInformation;
|
|
1539
|
+
/** Invitation ID used to cancel the request. */
|
|
1540
|
+
invitationId?: string;
|
|
1541
|
+
}
|
|
1542
|
+
export interface RestTranscriptionStarted {
|
|
1036
1543
|
/**
|
|
1037
|
-
*
|
|
1544
|
+
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1038
1545
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1039
1546
|
*/
|
|
1040
|
-
readonly
|
|
1041
|
-
|
|
1547
|
+
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1548
|
+
/** Call connection ID. */
|
|
1549
|
+
callConnectionId?: string;
|
|
1550
|
+
/** Server call ID. */
|
|
1551
|
+
serverCallId?: string;
|
|
1552
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1553
|
+
correlationId?: string;
|
|
1554
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1555
|
+
operationContext?: string;
|
|
1556
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1557
|
+
resultInformation?: RestResultInformation;
|
|
1558
|
+
}
|
|
1559
|
+
export interface RestTranscriptionStopped {
|
|
1560
|
+
/**
|
|
1561
|
+
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1562
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1563
|
+
*/
|
|
1564
|
+
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1565
|
+
/** Call connection ID. */
|
|
1566
|
+
callConnectionId?: string;
|
|
1567
|
+
/** Server call ID. */
|
|
1568
|
+
serverCallId?: string;
|
|
1569
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1570
|
+
correlationId?: string;
|
|
1571
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1572
|
+
operationContext?: string;
|
|
1573
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1574
|
+
resultInformation?: RestResultInformation;
|
|
1575
|
+
}
|
|
1576
|
+
export interface RestTranscriptionUpdated {
|
|
1577
|
+
/**
|
|
1578
|
+
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1579
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1580
|
+
*/
|
|
1581
|
+
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1582
|
+
/** Call connection ID. */
|
|
1583
|
+
callConnectionId?: string;
|
|
1584
|
+
/** Server call ID. */
|
|
1585
|
+
serverCallId?: string;
|
|
1586
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1587
|
+
correlationId?: string;
|
|
1588
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1589
|
+
operationContext?: string;
|
|
1590
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1591
|
+
resultInformation?: RestResultInformation;
|
|
1592
|
+
}
|
|
1593
|
+
export interface RestTranscriptionFailed {
|
|
1594
|
+
/**
|
|
1595
|
+
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1596
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1597
|
+
*/
|
|
1598
|
+
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1042
1599
|
/** Call connection ID. */
|
|
1043
1600
|
callConnectionId?: string;
|
|
1044
1601
|
/** Server call ID. */
|
|
@@ -1048,9 +1605,10 @@ export interface ContinuousDtmfRecognitionToneReceived {
|
|
|
1048
1605
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1049
1606
|
operationContext?: string;
|
|
1050
1607
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1051
|
-
resultInformation?:
|
|
1608
|
+
resultInformation?: RestResultInformation;
|
|
1052
1609
|
}
|
|
1053
|
-
|
|
1610
|
+
/** The create call failed event. */
|
|
1611
|
+
export interface RestCreateCallFailed {
|
|
1054
1612
|
/** Call connection ID. */
|
|
1055
1613
|
callConnectionId?: string;
|
|
1056
1614
|
/** Server call ID. */
|
|
@@ -1060,9 +1618,10 @@ export interface ContinuousDtmfRecognitionStopped {
|
|
|
1060
1618
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1061
1619
|
operationContext?: string;
|
|
1062
1620
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1063
|
-
resultInformation?:
|
|
1621
|
+
resultInformation?: RestResultInformation;
|
|
1064
1622
|
}
|
|
1065
|
-
|
|
1623
|
+
/** The failed to answer call event. */
|
|
1624
|
+
export interface RestAnswerFailed {
|
|
1066
1625
|
/** Call connection ID. */
|
|
1067
1626
|
callConnectionId?: string;
|
|
1068
1627
|
/** Server call ID. */
|
|
@@ -1072,9 +1631,10 @@ export interface SendDtmfTonesCompleted {
|
|
|
1072
1631
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1073
1632
|
operationContext?: string;
|
|
1074
1633
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1075
|
-
resultInformation?:
|
|
1634
|
+
resultInformation?: RestResultInformation;
|
|
1076
1635
|
}
|
|
1077
|
-
|
|
1636
|
+
/** Hold Failed event. */
|
|
1637
|
+
export interface RestHoldFailed {
|
|
1078
1638
|
/** Call connection ID. */
|
|
1079
1639
|
callConnectionId?: string;
|
|
1080
1640
|
/** Server call ID. */
|
|
@@ -1084,9 +1644,65 @@ export interface SendDtmfTonesFailed {
|
|
|
1084
1644
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1085
1645
|
operationContext?: string;
|
|
1086
1646
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1087
|
-
resultInformation?:
|
|
1647
|
+
resultInformation?: RestResultInformation;
|
|
1088
1648
|
}
|
|
1089
|
-
|
|
1649
|
+
/** The incoming call event. */
|
|
1650
|
+
export interface RestIncomingCall {
|
|
1651
|
+
/**
|
|
1652
|
+
* The communication identifier of the target user.
|
|
1653
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1654
|
+
*/
|
|
1655
|
+
readonly to?: CommunicationIdentifierModel;
|
|
1656
|
+
/**
|
|
1657
|
+
* The communication identifier of the user who initiated the call.
|
|
1658
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1659
|
+
*/
|
|
1660
|
+
readonly from?: CommunicationIdentifierModel;
|
|
1661
|
+
/**
|
|
1662
|
+
* Display name of caller.
|
|
1663
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1664
|
+
*/
|
|
1665
|
+
readonly callerDisplayName?: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* The server call id.
|
|
1668
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1669
|
+
*/
|
|
1670
|
+
readonly serverCallId?: string;
|
|
1671
|
+
/**
|
|
1672
|
+
* Custom Context of Incoming Call
|
|
1673
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1674
|
+
*/
|
|
1675
|
+
readonly customContext?: CustomCallingContextInternal;
|
|
1676
|
+
/**
|
|
1677
|
+
* Incoming call context.
|
|
1678
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1679
|
+
*/
|
|
1680
|
+
readonly incomingCallContext?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* The communication identifier of the user on behalf of whom the call is made.
|
|
1683
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1684
|
+
*/
|
|
1685
|
+
readonly onBehalfOfCallee?: CommunicationIdentifierModel;
|
|
1686
|
+
/**
|
|
1687
|
+
* Correlation ID for event to call correlation. Also called ChainId for skype chain ID.
|
|
1688
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1689
|
+
*/
|
|
1690
|
+
readonly correlationId?: string;
|
|
1691
|
+
}
|
|
1692
|
+
/** The ConnectFailed event. */
|
|
1693
|
+
export interface RestConnectFailed {
|
|
1694
|
+
/** Call connection ID. */
|
|
1695
|
+
callConnectionId?: string;
|
|
1696
|
+
/** Server call ID. */
|
|
1697
|
+
serverCallId?: string;
|
|
1698
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1699
|
+
correlationId?: string;
|
|
1700
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1701
|
+
operationContext?: string;
|
|
1702
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1703
|
+
resultInformation?: RestResultInformation;
|
|
1704
|
+
}
|
|
1705
|
+
export interface RestMediaStreamingStopped {
|
|
1090
1706
|
/**
|
|
1091
1707
|
* Defines the result for MediaStreamingUpdate with the current status and the details about the status
|
|
1092
1708
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1101,14 +1717,9 @@ export interface MediaStreamingFailed {
|
|
|
1101
1717
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1102
1718
|
operationContext?: string;
|
|
1103
1719
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1104
|
-
resultInformation?:
|
|
1720
|
+
resultInformation?: RestResultInformation;
|
|
1105
1721
|
}
|
|
1106
|
-
export interface
|
|
1107
|
-
contentType?: string;
|
|
1108
|
-
mediaStreamingStatus?: MediaStreamingStatus;
|
|
1109
|
-
mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
|
|
1110
|
-
}
|
|
1111
|
-
export interface MediaStreamingStarted {
|
|
1722
|
+
export interface RestMediaStreamingStarted {
|
|
1112
1723
|
/**
|
|
1113
1724
|
* Defines the result for MediaStreamingUpdate with the current status and the details about the status
|
|
1114
1725
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1123,9 +1734,9 @@ export interface MediaStreamingStarted {
|
|
|
1123
1734
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1124
1735
|
operationContext?: string;
|
|
1125
1736
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1126
|
-
resultInformation?:
|
|
1737
|
+
resultInformation?: RestResultInformation;
|
|
1127
1738
|
}
|
|
1128
|
-
export interface
|
|
1739
|
+
export interface RestMediaStreamingFailed {
|
|
1129
1740
|
/**
|
|
1130
1741
|
* Defines the result for MediaStreamingUpdate with the current status and the details about the status
|
|
1131
1742
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1140,9 +1751,34 @@ export interface MediaStreamingStopped {
|
|
|
1140
1751
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1141
1752
|
operationContext?: string;
|
|
1142
1753
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1143
|
-
resultInformation?:
|
|
1754
|
+
resultInformation?: RestResultInformation;
|
|
1755
|
+
}
|
|
1756
|
+
export interface RestStartRecordingFailed {
|
|
1757
|
+
/** Call connection ID. */
|
|
1758
|
+
callConnectionId?: string;
|
|
1759
|
+
/** Correlation ID for event to call correlation. */
|
|
1760
|
+
correlationId?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* The call recording id
|
|
1763
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1764
|
+
*/
|
|
1765
|
+
readonly recordingId?: string;
|
|
1766
|
+
}
|
|
1767
|
+
/** Play started event. */
|
|
1768
|
+
export interface RestPlayStarted {
|
|
1769
|
+
/** Call connection ID. */
|
|
1770
|
+
callConnectionId?: string;
|
|
1771
|
+
/** Server call ID. */
|
|
1772
|
+
serverCallId?: string;
|
|
1773
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
1774
|
+
correlationId?: string;
|
|
1775
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1776
|
+
operationContext?: string;
|
|
1777
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
1778
|
+
resultInformation?: RestResultInformation;
|
|
1144
1779
|
}
|
|
1145
|
-
|
|
1780
|
+
/** Play Paused event. */
|
|
1781
|
+
export interface RestPlayPaused {
|
|
1146
1782
|
/** Call connection ID. */
|
|
1147
1783
|
callConnectionId?: string;
|
|
1148
1784
|
/** Server call ID. */
|
|
@@ -1152,14 +1788,10 @@ export interface HoldFailed {
|
|
|
1152
1788
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1153
1789
|
operationContext?: string;
|
|
1154
1790
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1155
|
-
resultInformation?:
|
|
1791
|
+
resultInformation?: RestResultInformation;
|
|
1156
1792
|
}
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
* The call recording Id.
|
|
1160
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1161
|
-
*/
|
|
1162
|
-
readonly recordingId?: string;
|
|
1793
|
+
/** Play Resumed event. */
|
|
1794
|
+
export interface RestPlayResumed {
|
|
1163
1795
|
/** Call connection ID. */
|
|
1164
1796
|
callConnectionId?: string;
|
|
1165
1797
|
/** Server call ID. */
|
|
@@ -1169,14 +1801,10 @@ export interface StartRecordingFailed {
|
|
|
1169
1801
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1170
1802
|
operationContext?: string;
|
|
1171
1803
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1172
|
-
resultInformation?:
|
|
1804
|
+
resultInformation?: RestResultInformation;
|
|
1173
1805
|
}
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1177
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1178
|
-
*/
|
|
1179
|
-
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1806
|
+
/** Hold Audio Started event. */
|
|
1807
|
+
export interface RestHoldAudioStarted {
|
|
1180
1808
|
/** Call connection ID. */
|
|
1181
1809
|
callConnectionId?: string;
|
|
1182
1810
|
/** Server call ID. */
|
|
@@ -1186,18 +1814,10 @@ export interface TranscriptionFailed {
|
|
|
1186
1814
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1187
1815
|
operationContext?: string;
|
|
1188
1816
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1189
|
-
resultInformation?:
|
|
1190
|
-
}
|
|
1191
|
-
export interface TranscriptionUpdate {
|
|
1192
|
-
transcriptionStatus?: TranscriptionStatus;
|
|
1193
|
-
transcriptionStatusDetails?: TranscriptionStatusDetails;
|
|
1817
|
+
resultInformation?: RestResultInformation;
|
|
1194
1818
|
}
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1198
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1199
|
-
*/
|
|
1200
|
-
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1819
|
+
/** Hold Audio Paused event. */
|
|
1820
|
+
export interface RestHoldAudioPaused {
|
|
1201
1821
|
/** Call connection ID. */
|
|
1202
1822
|
callConnectionId?: string;
|
|
1203
1823
|
/** Server call ID. */
|
|
@@ -1207,14 +1827,10 @@ export interface TranscriptionStarted {
|
|
|
1207
1827
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1208
1828
|
operationContext?: string;
|
|
1209
1829
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1210
|
-
resultInformation?:
|
|
1830
|
+
resultInformation?: RestResultInformation;
|
|
1211
1831
|
}
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1215
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1216
|
-
*/
|
|
1217
|
-
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1832
|
+
/** Hold Audio Resumed event. */
|
|
1833
|
+
export interface RestHoldAudioResumed {
|
|
1218
1834
|
/** Call connection ID. */
|
|
1219
1835
|
callConnectionId?: string;
|
|
1220
1836
|
/** Server call ID. */
|
|
@@ -1224,14 +1840,10 @@ export interface TranscriptionStopped {
|
|
|
1224
1840
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1225
1841
|
operationContext?: string;
|
|
1226
1842
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1227
|
-
resultInformation?:
|
|
1843
|
+
resultInformation?: RestResultInformation;
|
|
1228
1844
|
}
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
* Defines the result for TranscriptionUpdate with the current status and the details about the status
|
|
1232
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1233
|
-
*/
|
|
1234
|
-
readonly transcriptionUpdate?: TranscriptionUpdate;
|
|
1845
|
+
/** Hold Audio Completed event. */
|
|
1846
|
+
export interface RestHoldAudioCompleted {
|
|
1235
1847
|
/** Call connection ID. */
|
|
1236
1848
|
callConnectionId?: string;
|
|
1237
1849
|
/** Server call ID. */
|
|
@@ -1241,36 +1853,26 @@ export interface TranscriptionUpdated {
|
|
|
1241
1853
|
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
1242
1854
|
operationContext?: string;
|
|
1243
1855
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
1244
|
-
resultInformation?:
|
|
1856
|
+
resultInformation?: RestResultInformation;
|
|
1245
1857
|
}
|
|
1246
|
-
/**
|
|
1247
|
-
export interface
|
|
1858
|
+
/** Azure Open AI Dialog */
|
|
1859
|
+
export interface AzureOpenAIDialog extends BaseDialog {
|
|
1248
1860
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1249
|
-
|
|
1250
|
-
/** The transport URL for media streaming. */
|
|
1251
|
-
transportUrl?: string;
|
|
1252
|
-
contentType?: MediaStreamingContentType;
|
|
1253
|
-
/** A value indicating whether the media streaming should start immediately after the call is answered. */
|
|
1254
|
-
startMediaStreaming?: boolean;
|
|
1255
|
-
/** A value indicating whether bidirectional streaming is enabled. */
|
|
1256
|
-
enableBidirectional?: boolean;
|
|
1257
|
-
/** The audio format used for encoding, including sample rate and channel type. The default is Pcm16KMono. */
|
|
1258
|
-
audioFormat?: AudioFormat;
|
|
1259
|
-
/** A value that indicates whether to stream the DTMF tones. */
|
|
1260
|
-
enableDtmfTones?: boolean;
|
|
1861
|
+
kind: "azureOpenAI";
|
|
1261
1862
|
}
|
|
1262
|
-
/**
|
|
1263
|
-
export interface
|
|
1863
|
+
/** Power Virtual Agents Dialog */
|
|
1864
|
+
export interface PowerVirtualAgentsDialog extends BaseDialog {
|
|
1264
1865
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1265
|
-
|
|
1266
|
-
/**
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1866
|
+
kind: "powerVirtualAgents";
|
|
1867
|
+
/** Bot identifier. */
|
|
1868
|
+
botAppId: string;
|
|
1869
|
+
/** Language. */
|
|
1870
|
+
language?: string;
|
|
1871
|
+
}
|
|
1872
|
+
/** Azure Open AI Dialog for UpdateDialog API Call */
|
|
1873
|
+
export interface AzureOpenAIDialogUpdate extends DialogUpdateBase {
|
|
1874
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1875
|
+
kind: "azureOpenAI";
|
|
1274
1876
|
}
|
|
1275
1877
|
/** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */
|
|
1276
1878
|
export declare enum KnownCommunicationIdentifierModelKind {
|
|
@@ -1319,19 +1921,32 @@ export declare enum KnownCommunicationCloudEnvironmentModel {
|
|
|
1319
1921
|
* **gcch**
|
|
1320
1922
|
*/
|
|
1321
1923
|
export type CommunicationCloudEnvironmentModel = string;
|
|
1322
|
-
/** Known values of {@link
|
|
1323
|
-
export declare enum
|
|
1924
|
+
/** Known values of {@link MediaStreamingTransportType} that the service accepts. */
|
|
1925
|
+
export declare enum KnownMediaStreamingTransportType {
|
|
1324
1926
|
/** Websocket */
|
|
1325
1927
|
Websocket = "websocket"
|
|
1326
1928
|
}
|
|
1327
1929
|
/**
|
|
1328
|
-
* Defines values for
|
|
1329
|
-
* {@link
|
|
1930
|
+
* Defines values for MediaStreamingTransportType. \
|
|
1931
|
+
* {@link KnownMediaStreamingTransportType} can be used interchangeably with MediaStreamingTransportType,
|
|
1330
1932
|
* this enum contains the known values that the service supports.
|
|
1331
1933
|
* ### Known values supported by the service
|
|
1332
1934
|
* **websocket**
|
|
1333
1935
|
*/
|
|
1334
|
-
export type
|
|
1936
|
+
export type MediaStreamingTransportType = string;
|
|
1937
|
+
/** Known values of {@link MediaStreamingContentType} that the service accepts. */
|
|
1938
|
+
export declare enum KnownMediaStreamingContentType {
|
|
1939
|
+
/** Audio */
|
|
1940
|
+
Audio = "audio"
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* Defines values for MediaStreamingContentType. \
|
|
1944
|
+
* {@link KnownMediaStreamingContentType} can be used interchangeably with MediaStreamingContentType,
|
|
1945
|
+
* this enum contains the known values that the service supports.
|
|
1946
|
+
* ### Known values supported by the service
|
|
1947
|
+
* **audio**
|
|
1948
|
+
*/
|
|
1949
|
+
export type MediaStreamingContentType = string;
|
|
1335
1950
|
/** Known values of {@link MediaStreamingAudioChannelType} that the service accepts. */
|
|
1336
1951
|
export declare enum KnownMediaStreamingAudioChannelType {
|
|
1337
1952
|
/** Mixed */
|
|
@@ -1348,6 +1963,35 @@ export declare enum KnownMediaStreamingAudioChannelType {
|
|
|
1348
1963
|
* **unmixed**
|
|
1349
1964
|
*/
|
|
1350
1965
|
export type MediaStreamingAudioChannelType = string;
|
|
1966
|
+
/** Known values of {@link AudioFormat} that the service accepts. */
|
|
1967
|
+
export declare enum KnownAudioFormat {
|
|
1968
|
+
/** Pcm16KMono */
|
|
1969
|
+
Pcm16KMono = "Pcm16KMono",
|
|
1970
|
+
/** Pcm24KMono */
|
|
1971
|
+
Pcm24KMono = "Pcm24KMono"
|
|
1972
|
+
}
|
|
1973
|
+
/**
|
|
1974
|
+
* Defines values for AudioFormat. \
|
|
1975
|
+
* {@link KnownAudioFormat} can be used interchangeably with AudioFormat,
|
|
1976
|
+
* this enum contains the known values that the service supports.
|
|
1977
|
+
* ### Known values supported by the service
|
|
1978
|
+
* **Pcm16KMono**: Pcm16KMono \
|
|
1979
|
+
* **Pcm24KMono**: Pcm24KMono
|
|
1980
|
+
*/
|
|
1981
|
+
export type AudioFormat = string;
|
|
1982
|
+
/** Known values of {@link TranscriptionTransportType} that the service accepts. */
|
|
1983
|
+
export declare enum KnownTranscriptionTransportType {
|
|
1984
|
+
/** Websocket */
|
|
1985
|
+
Websocket = "websocket"
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* Defines values for TranscriptionTransportType. \
|
|
1989
|
+
* {@link KnownTranscriptionTransportType} can be used interchangeably with TranscriptionTransportType,
|
|
1990
|
+
* this enum contains the known values that the service supports.
|
|
1991
|
+
* ### Known values supported by the service
|
|
1992
|
+
* **websocket**
|
|
1993
|
+
*/
|
|
1994
|
+
export type TranscriptionTransportType = string;
|
|
1351
1995
|
/** Known values of {@link CallConnectionStateModel} that the service accepts. */
|
|
1352
1996
|
export declare enum KnownCallConnectionStateModel {
|
|
1353
1997
|
/** Unknown */
|
|
@@ -1398,19 +2042,6 @@ export declare enum KnownMediaStreamingSubscriptionState {
|
|
|
1398
2042
|
* **active**
|
|
1399
2043
|
*/
|
|
1400
2044
|
export type MediaStreamingSubscriptionState = string;
|
|
1401
|
-
/** Known values of {@link MediaStreamingContentType} that the service accepts. */
|
|
1402
|
-
export declare enum KnownMediaStreamingContentType {
|
|
1403
|
-
/** Audio */
|
|
1404
|
-
Audio = "audio"
|
|
1405
|
-
}
|
|
1406
|
-
/**
|
|
1407
|
-
* Defines values for MediaStreamingContentType. \
|
|
1408
|
-
* {@link KnownMediaStreamingContentType} can be used interchangeably with MediaStreamingContentType,
|
|
1409
|
-
* this enum contains the known values that the service supports.
|
|
1410
|
-
* ### Known values supported by the service
|
|
1411
|
-
* **audio**
|
|
1412
|
-
*/
|
|
1413
|
-
export type MediaStreamingContentType = string;
|
|
1414
2045
|
/** Known values of {@link TranscriptionSubscriptionState} that the service accepts. */
|
|
1415
2046
|
export declare enum KnownTranscriptionSubscriptionState {
|
|
1416
2047
|
/** Disabled */
|
|
@@ -1599,6 +2230,22 @@ export declare enum KnownTone {
|
|
|
1599
2230
|
* **asterisk**
|
|
1600
2231
|
*/
|
|
1601
2232
|
export type Tone = string;
|
|
2233
|
+
/** Known values of {@link DialogInputType} that the service accepts. */
|
|
2234
|
+
export declare enum KnownDialogInputType {
|
|
2235
|
+
/** PowerVirtualAgents */
|
|
2236
|
+
PowerVirtualAgents = "powerVirtualAgents",
|
|
2237
|
+
/** AzureOpenAI */
|
|
2238
|
+
AzureOpenAI = "azureOpenAI"
|
|
2239
|
+
}
|
|
2240
|
+
/**
|
|
2241
|
+
* Defines values for DialogInputType. \
|
|
2242
|
+
* {@link KnownDialogInputType} can be used interchangeably with DialogInputType,
|
|
2243
|
+
* this enum contains the known values that the service supports.
|
|
2244
|
+
* ### Known values supported by the service
|
|
2245
|
+
* **powerVirtualAgents** \
|
|
2246
|
+
* **azureOpenAI**
|
|
2247
|
+
*/
|
|
2248
|
+
export type DialogInputType = string;
|
|
1602
2249
|
/** Known values of {@link RecordingContentType} that the service accepts. */
|
|
1603
2250
|
export declare enum KnownRecordingContentType {
|
|
1604
2251
|
/** Audio */
|
|
@@ -1701,65 +2348,149 @@ export declare enum KnownRecordingKind {
|
|
|
1701
2348
|
* **TeamsCompliance**: Recording initiated by Teams compliance policy
|
|
1702
2349
|
*/
|
|
1703
2350
|
export type RecordingKind = string;
|
|
1704
|
-
/** Known values of {@link
|
|
1705
|
-
export declare enum
|
|
1706
|
-
/**
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
|
|
2351
|
+
/** Known values of {@link ChunkEndReason} that the service accepts. */
|
|
2352
|
+
export declare enum KnownChunkEndReason {
|
|
2353
|
+
/** ChunkIsBeingRecorded */
|
|
2354
|
+
ChunkIsBeingRecorded = "chunkIsBeingRecorded",
|
|
2355
|
+
/** SessionEnded */
|
|
2356
|
+
SessionEnded = "sessionEnded",
|
|
2357
|
+
/** ChunkMaximumSizeExceeded */
|
|
2358
|
+
ChunkMaximumSizeExceeded = "chunkMaximumSizeExceeded",
|
|
2359
|
+
/** ChunkMaximumTimeExceeded */
|
|
2360
|
+
ChunkMaximumTimeExceeded = "chunkMaximumTimeExceeded",
|
|
2361
|
+
/** ChunkUploadFailure */
|
|
2362
|
+
ChunkUploadFailure = "chunkUploadFailure"
|
|
1710
2363
|
}
|
|
1711
2364
|
/**
|
|
1712
|
-
* Defines values for
|
|
1713
|
-
* {@link
|
|
2365
|
+
* Defines values for ChunkEndReason. \
|
|
2366
|
+
* {@link KnownChunkEndReason} can be used interchangeably with ChunkEndReason,
|
|
1714
2367
|
* this enum contains the known values that the service supports.
|
|
1715
2368
|
* ### Known values supported by the service
|
|
1716
|
-
* **
|
|
1717
|
-
* **
|
|
2369
|
+
* **chunkIsBeingRecorded** \
|
|
2370
|
+
* **sessionEnded** \
|
|
2371
|
+
* **chunkMaximumSizeExceeded** \
|
|
2372
|
+
* **chunkMaximumTimeExceeded** \
|
|
2373
|
+
* **chunkUploadFailure**
|
|
1718
2374
|
*/
|
|
1719
|
-
export type
|
|
1720
|
-
/** Known values of {@link
|
|
1721
|
-
export declare enum
|
|
1722
|
-
/**
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
|
|
1726
|
-
/**
|
|
1727
|
-
|
|
2375
|
+
export type ChunkEndReason = string;
|
|
2376
|
+
/** Known values of {@link CallSessionEndReason} that the service accepts. */
|
|
2377
|
+
export declare enum KnownCallSessionEndReason {
|
|
2378
|
+
/** SessionStillOngoing */
|
|
2379
|
+
SessionStillOngoing = "sessionStillOngoing",
|
|
2380
|
+
/** CallEnded */
|
|
2381
|
+
CallEnded = "callEnded",
|
|
2382
|
+
/** InitiatorLeft */
|
|
2383
|
+
InitiatorLeft = "initiatorLeft",
|
|
2384
|
+
/** HandedOverOrTransfered */
|
|
2385
|
+
HandedOverOrTransfered = "handedOverOrTransfered",
|
|
2386
|
+
/** MaximumSessionTimeReached */
|
|
2387
|
+
MaximumSessionTimeReached = "maximumSessionTimeReached",
|
|
2388
|
+
/** CallStartTimeout */
|
|
2389
|
+
CallStartTimeout = "callStartTimeout",
|
|
2390
|
+
/** MediaTimeout */
|
|
2391
|
+
MediaTimeout = "mediaTimeout",
|
|
2392
|
+
/** AudioStreamFailure */
|
|
2393
|
+
AudioStreamFailure = "audioStreamFailure",
|
|
2394
|
+
/** AllInstancesBusy */
|
|
2395
|
+
AllInstancesBusy = "allInstancesBusy",
|
|
2396
|
+
/** TeamsTokenConversionFailed */
|
|
2397
|
+
TeamsTokenConversionFailed = "teamsTokenConversionFailed",
|
|
2398
|
+
/** ReportCallStateFailed */
|
|
2399
|
+
ReportCallStateFailed = "reportCallStateFailed",
|
|
2400
|
+
/** ReportCallStateFailedAndSessionMustBeDiscarded */
|
|
2401
|
+
ReportCallStateFailedAndSessionMustBeDiscarded = "reportCallStateFailedAndSessionMustBeDiscarded",
|
|
2402
|
+
/** CouldNotRejoinCall */
|
|
2403
|
+
CouldNotRejoinCall = "couldNotRejoinCall",
|
|
2404
|
+
/** InvalidBotData */
|
|
2405
|
+
InvalidBotData = "invalidBotData",
|
|
2406
|
+
/** CouldNotStart */
|
|
2407
|
+
CouldNotStart = "couldNotStart",
|
|
2408
|
+
/** AppHostedMediaFailureOutcomeWithError */
|
|
2409
|
+
AppHostedMediaFailureOutcomeWithError = "appHostedMediaFailureOutcomeWithError",
|
|
2410
|
+
/** AppHostedMediaFailureOutcomeGracefully */
|
|
2411
|
+
AppHostedMediaFailureOutcomeGracefully = "appHostedMediaFailureOutcomeGracefully",
|
|
2412
|
+
/** HandedOverDueToMediaTimeout */
|
|
2413
|
+
HandedOverDueToMediaTimeout = "handedOverDueToMediaTimeout",
|
|
2414
|
+
/** HandedOverDueToAudioStreamFailure */
|
|
2415
|
+
HandedOverDueToAudioStreamFailure = "handedOverDueToAudioStreamFailure",
|
|
2416
|
+
/** SpeechRecognitionSessionNonRetriableError */
|
|
2417
|
+
SpeechRecognitionSessionNonRetriableError = "speechRecognitionSessionNonRetriableError",
|
|
2418
|
+
/** SpeechRecognitionSessionRetriableErrorMaxRetryCountReached */
|
|
2419
|
+
SpeechRecognitionSessionRetriableErrorMaxRetryCountReached = "speechRecognitionSessionRetriableErrorMaxRetryCountReached",
|
|
2420
|
+
/** HandedOverDueToChunkCreationFailure */
|
|
2421
|
+
HandedOverDueToChunkCreationFailure = "handedOverDueToChunkCreationFailure",
|
|
2422
|
+
/** ChunkCreationFailed */
|
|
2423
|
+
ChunkCreationFailed = "chunkCreationFailed",
|
|
2424
|
+
/** HandedOverDueToProcessingTimeout */
|
|
2425
|
+
HandedOverDueToProcessingTimeout = "handedOverDueToProcessingTimeout",
|
|
2426
|
+
/** ProcessingTimeout */
|
|
2427
|
+
ProcessingTimeout = "processingTimeout",
|
|
2428
|
+
/** TranscriptObjectCreationFailed */
|
|
2429
|
+
TranscriptObjectCreationFailed = "transcriptObjectCreationFailed"
|
|
1728
2430
|
}
|
|
1729
2431
|
/**
|
|
1730
|
-
* Defines values for
|
|
1731
|
-
* {@link
|
|
2432
|
+
* Defines values for CallSessionEndReason. \
|
|
2433
|
+
* {@link KnownCallSessionEndReason} can be used interchangeably with CallSessionEndReason,
|
|
1732
2434
|
* this enum contains the known values that the service supports.
|
|
1733
2435
|
* ### Known values supported by the service
|
|
1734
|
-
* **
|
|
1735
|
-
* **
|
|
1736
|
-
* **
|
|
2436
|
+
* **sessionStillOngoing** \
|
|
2437
|
+
* **callEnded** \
|
|
2438
|
+
* **initiatorLeft** \
|
|
2439
|
+
* **handedOverOrTransfered** \
|
|
2440
|
+
* **maximumSessionTimeReached** \
|
|
2441
|
+
* **callStartTimeout** \
|
|
2442
|
+
* **mediaTimeout** \
|
|
2443
|
+
* **audioStreamFailure** \
|
|
2444
|
+
* **allInstancesBusy** \
|
|
2445
|
+
* **teamsTokenConversionFailed** \
|
|
2446
|
+
* **reportCallStateFailed** \
|
|
2447
|
+
* **reportCallStateFailedAndSessionMustBeDiscarded** \
|
|
2448
|
+
* **couldNotRejoinCall** \
|
|
2449
|
+
* **invalidBotData** \
|
|
2450
|
+
* **couldNotStart** \
|
|
2451
|
+
* **appHostedMediaFailureOutcomeWithError** \
|
|
2452
|
+
* **appHostedMediaFailureOutcomeGracefully** \
|
|
2453
|
+
* **handedOverDueToMediaTimeout** \
|
|
2454
|
+
* **handedOverDueToAudioStreamFailure** \
|
|
2455
|
+
* **speechRecognitionSessionNonRetriableError** \
|
|
2456
|
+
* **speechRecognitionSessionRetriableErrorMaxRetryCountReached** \
|
|
2457
|
+
* **handedOverDueToChunkCreationFailure** \
|
|
2458
|
+
* **chunkCreationFailed** \
|
|
2459
|
+
* **handedOverDueToProcessingTimeout** \
|
|
2460
|
+
* **processingTimeout** \
|
|
2461
|
+
* **transcriptObjectCreationFailed**
|
|
1737
2462
|
*/
|
|
1738
|
-
export type
|
|
1739
|
-
/** Known values of {@link
|
|
1740
|
-
export declare enum
|
|
1741
|
-
/**
|
|
1742
|
-
|
|
1743
|
-
/**
|
|
1744
|
-
|
|
1745
|
-
/**
|
|
1746
|
-
|
|
2463
|
+
export type CallSessionEndReason = string;
|
|
2464
|
+
/** Known values of {@link TranscriptionStatus} that the service accepts. */
|
|
2465
|
+
export declare enum KnownTranscriptionStatus {
|
|
2466
|
+
/** TranscriptionStarted */
|
|
2467
|
+
TranscriptionStarted = "transcriptionStarted",
|
|
2468
|
+
/** TranscriptionFailed */
|
|
2469
|
+
TranscriptionFailed = "transcriptionFailed",
|
|
2470
|
+
/** TranscriptionResumed */
|
|
2471
|
+
TranscriptionResumed = "transcriptionResumed",
|
|
2472
|
+
/** TranscriptionUpdated */
|
|
2473
|
+
TranscriptionUpdated = "transcriptionUpdated",
|
|
2474
|
+
/** TranscriptionStopped */
|
|
2475
|
+
TranscriptionStopped = "transcriptionStopped",
|
|
1747
2476
|
/** UnspecifiedError */
|
|
1748
2477
|
UnspecifiedError = "unspecifiedError"
|
|
1749
2478
|
}
|
|
1750
2479
|
/**
|
|
1751
|
-
* Defines values for
|
|
1752
|
-
* {@link
|
|
2480
|
+
* Defines values for TranscriptionStatus. \
|
|
2481
|
+
* {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,
|
|
1753
2482
|
* this enum contains the known values that the service supports.
|
|
1754
2483
|
* ### Known values supported by the service
|
|
1755
|
-
* **
|
|
1756
|
-
* **
|
|
1757
|
-
* **
|
|
2484
|
+
* **transcriptionStarted** \
|
|
2485
|
+
* **transcriptionFailed** \
|
|
2486
|
+
* **transcriptionResumed** \
|
|
2487
|
+
* **transcriptionUpdated** \
|
|
2488
|
+
* **transcriptionStopped** \
|
|
1758
2489
|
* **unspecifiedError**
|
|
1759
2490
|
*/
|
|
1760
|
-
export type
|
|
1761
|
-
/** Known values of {@link
|
|
1762
|
-
export declare enum
|
|
2491
|
+
export type TranscriptionStatus = string;
|
|
2492
|
+
/** Known values of {@link TranscriptionStatusDetails} that the service accepts. */
|
|
2493
|
+
export declare enum KnownTranscriptionStatusDetails {
|
|
1763
2494
|
/** SubscriptionStarted */
|
|
1764
2495
|
SubscriptionStarted = "subscriptionStarted",
|
|
1765
2496
|
/** StreamConnectionReestablished */
|
|
@@ -1788,12 +2519,12 @@ export declare enum KnownMediaStreamingStatusDetails {
|
|
|
1788
2519
|
Forbidden = "forbidden",
|
|
1789
2520
|
/** ServiceTimeout */
|
|
1790
2521
|
ServiceTimeout = "serviceTimeout",
|
|
1791
|
-
/**
|
|
1792
|
-
|
|
2522
|
+
/** TranscriptionLocaleUpdated */
|
|
2523
|
+
TranscriptionLocaleUpdated = "transcriptionLocaleUpdated"
|
|
1793
2524
|
}
|
|
1794
2525
|
/**
|
|
1795
|
-
* Defines values for
|
|
1796
|
-
* {@link
|
|
2526
|
+
* Defines values for TranscriptionStatusDetails. \
|
|
2527
|
+
* {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,
|
|
1797
2528
|
* this enum contains the known values that the service supports.
|
|
1798
2529
|
* ### Known values supported by the service
|
|
1799
2530
|
* **subscriptionStarted** \
|
|
@@ -1810,39 +2541,33 @@ export declare enum KnownMediaStreamingStatusDetails {
|
|
|
1810
2541
|
* **tooManyRequests** \
|
|
1811
2542
|
* **forbidden** \
|
|
1812
2543
|
* **serviceTimeout** \
|
|
1813
|
-
* **
|
|
2544
|
+
* **transcriptionLocaleUpdated**
|
|
1814
2545
|
*/
|
|
1815
|
-
export type
|
|
1816
|
-
/** Known values of {@link
|
|
1817
|
-
export declare enum
|
|
1818
|
-
/**
|
|
1819
|
-
|
|
1820
|
-
/**
|
|
1821
|
-
|
|
1822
|
-
/**
|
|
1823
|
-
|
|
1824
|
-
/** TranscriptionUpdated */
|
|
1825
|
-
TranscriptionUpdated = "transcriptionUpdated",
|
|
1826
|
-
/** TranscriptionStopped */
|
|
1827
|
-
TranscriptionStopped = "transcriptionStopped",
|
|
2546
|
+
export type TranscriptionStatusDetails = string;
|
|
2547
|
+
/** Known values of {@link MediaStreamingStatus} that the service accepts. */
|
|
2548
|
+
export declare enum KnownMediaStreamingStatus {
|
|
2549
|
+
/** MediaStreamingStarted */
|
|
2550
|
+
MediaStreamingStarted = "mediaStreamingStarted",
|
|
2551
|
+
/** MediaStreamingFailed */
|
|
2552
|
+
MediaStreamingFailed = "mediaStreamingFailed",
|
|
2553
|
+
/** MediaStreamingStopped */
|
|
2554
|
+
MediaStreamingStopped = "mediaStreamingStopped",
|
|
1828
2555
|
/** UnspecifiedError */
|
|
1829
2556
|
UnspecifiedError = "unspecifiedError"
|
|
1830
2557
|
}
|
|
1831
2558
|
/**
|
|
1832
|
-
* Defines values for
|
|
1833
|
-
* {@link
|
|
2559
|
+
* Defines values for MediaStreamingStatus. \
|
|
2560
|
+
* {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,
|
|
1834
2561
|
* this enum contains the known values that the service supports.
|
|
1835
2562
|
* ### Known values supported by the service
|
|
1836
|
-
* **
|
|
1837
|
-
* **
|
|
1838
|
-
* **
|
|
1839
|
-
* **transcriptionUpdated** \
|
|
1840
|
-
* **transcriptionStopped** \
|
|
2563
|
+
* **mediaStreamingStarted** \
|
|
2564
|
+
* **mediaStreamingFailed** \
|
|
2565
|
+
* **mediaStreamingStopped** \
|
|
1841
2566
|
* **unspecifiedError**
|
|
1842
2567
|
*/
|
|
1843
|
-
export type
|
|
1844
|
-
/** Known values of {@link
|
|
1845
|
-
export declare enum
|
|
2568
|
+
export type MediaStreamingStatus = string;
|
|
2569
|
+
/** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */
|
|
2570
|
+
export declare enum KnownMediaStreamingStatusDetails {
|
|
1846
2571
|
/** SubscriptionStarted */
|
|
1847
2572
|
SubscriptionStarted = "subscriptionStarted",
|
|
1848
2573
|
/** StreamConnectionReestablished */
|
|
@@ -1871,12 +2596,12 @@ export declare enum KnownTranscriptionStatusDetails {
|
|
|
1871
2596
|
Forbidden = "forbidden",
|
|
1872
2597
|
/** ServiceTimeout */
|
|
1873
2598
|
ServiceTimeout = "serviceTimeout",
|
|
1874
|
-
/**
|
|
1875
|
-
|
|
2599
|
+
/** InitialWebSocketConnectionFailed */
|
|
2600
|
+
InitialWebSocketConnectionFailed = "initialWebSocketConnectionFailed"
|
|
1876
2601
|
}
|
|
1877
2602
|
/**
|
|
1878
|
-
* Defines values for
|
|
1879
|
-
* {@link
|
|
2603
|
+
* Defines values for MediaStreamingStatusDetails. \
|
|
2604
|
+
* {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,
|
|
1880
2605
|
* this enum contains the known values that the service supports.
|
|
1881
2606
|
* ### Known values supported by the service
|
|
1882
2607
|
* **subscriptionStarted** \
|
|
@@ -1893,9 +2618,28 @@ export declare enum KnownTranscriptionStatusDetails {
|
|
|
1893
2618
|
* **tooManyRequests** \
|
|
1894
2619
|
* **forbidden** \
|
|
1895
2620
|
* **serviceTimeout** \
|
|
1896
|
-
* **
|
|
2621
|
+
* **initialWebSocketConnectionFailed**
|
|
1897
2622
|
*/
|
|
1898
|
-
export type
|
|
2623
|
+
export type MediaStreamingStatusDetails = string;
|
|
2624
|
+
/** Known values of {@link RecognitionType} that the service accepts. */
|
|
2625
|
+
export declare enum KnownRecognitionType {
|
|
2626
|
+
/** Dtmf */
|
|
2627
|
+
Dtmf = "dtmf",
|
|
2628
|
+
/** Speech */
|
|
2629
|
+
Speech = "speech",
|
|
2630
|
+
/** Choices */
|
|
2631
|
+
Choices = "choices"
|
|
2632
|
+
}
|
|
2633
|
+
/**
|
|
2634
|
+
* Defines values for RecognitionType. \
|
|
2635
|
+
* {@link KnownRecognitionType} can be used interchangeably with RecognitionType,
|
|
2636
|
+
* this enum contains the known values that the service supports.
|
|
2637
|
+
* ### Known values supported by the service
|
|
2638
|
+
* **dtmf** \
|
|
2639
|
+
* **speech** \
|
|
2640
|
+
* **choices**
|
|
2641
|
+
*/
|
|
2642
|
+
export type RecognitionType = string;
|
|
1899
2643
|
/** Optional parameters. */
|
|
1900
2644
|
export interface CreateCallOptionalParams extends coreClient.OperationOptions {
|
|
1901
2645
|
/** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
|
|
@@ -1994,6 +2738,15 @@ export interface CallConnectionMuteOptionalParams extends coreClient.OperationOp
|
|
|
1994
2738
|
/** Contains response data for the mute operation. */
|
|
1995
2739
|
export type CallConnectionMuteResponse = MuteParticipantsResult;
|
|
1996
2740
|
/** Optional parameters. */
|
|
2741
|
+
export interface CallConnectionUnmuteOptionalParams extends coreClient.OperationOptions {
|
|
2742
|
+
/** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
|
|
2743
|
+
repeatabilityRequestID?: string;
|
|
2744
|
+
/** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */
|
|
2745
|
+
repeatabilityFirstSent?: Date;
|
|
2746
|
+
}
|
|
2747
|
+
/** Contains response data for the unmute operation. */
|
|
2748
|
+
export type CallConnectionUnmuteResponse = UnmuteParticipantsResponse;
|
|
2749
|
+
/** Optional parameters. */
|
|
1997
2750
|
export interface CallConnectionCancelAddParticipantOptionalParams extends coreClient.OperationOptions {
|
|
1998
2751
|
/** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
|
|
1999
2752
|
repeatabilityRequestID?: string;
|
|
@@ -2003,6 +2756,15 @@ export interface CallConnectionCancelAddParticipantOptionalParams extends coreCl
|
|
|
2003
2756
|
/** Contains response data for the cancelAddParticipant operation. */
|
|
2004
2757
|
export type CallConnectionCancelAddParticipantResponse = CancelAddParticipantResponse;
|
|
2005
2758
|
/** Optional parameters. */
|
|
2759
|
+
export interface CallConnectionMoveParticipantsOptionalParams extends coreClient.OperationOptions {
|
|
2760
|
+
/** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
|
|
2761
|
+
repeatabilityRequestID?: string;
|
|
2762
|
+
/** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */
|
|
2763
|
+
repeatabilityFirstSent?: Date;
|
|
2764
|
+
}
|
|
2765
|
+
/** Contains response data for the moveParticipants operation. */
|
|
2766
|
+
export type CallConnectionMoveParticipantsResponse = MoveParticipantsResponse;
|
|
2767
|
+
/** Optional parameters. */
|
|
2006
2768
|
export interface CallConnectionGetParticipantOptionalParams extends coreClient.OperationOptions {
|
|
2007
2769
|
}
|
|
2008
2770
|
/** Contains response data for the getParticipant operation. */
|
|
@@ -2022,9 +2784,6 @@ export interface CallMediaStartTranscriptionOptionalParams extends coreClient.Op
|
|
|
2022
2784
|
export interface CallMediaStopTranscriptionOptionalParams extends coreClient.OperationOptions {
|
|
2023
2785
|
}
|
|
2024
2786
|
/** Optional parameters. */
|
|
2025
|
-
export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
|
|
2026
|
-
}
|
|
2027
|
-
/** Optional parameters. */
|
|
2028
2787
|
export interface CallMediaCancelAllMediaOperationsOptionalParams extends coreClient.OperationOptions {
|
|
2029
2788
|
}
|
|
2030
2789
|
/** Optional parameters. */
|
|
@@ -2046,6 +2805,9 @@ export interface CallMediaSendDtmfTonesOptionalParams extends coreClient.Operati
|
|
|
2046
2805
|
/** Contains response data for the sendDtmfTones operation. */
|
|
2047
2806
|
export type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult;
|
|
2048
2807
|
/** Optional parameters. */
|
|
2808
|
+
export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
|
|
2809
|
+
}
|
|
2810
|
+
/** Optional parameters. */
|
|
2049
2811
|
export interface CallMediaHoldOptionalParams extends coreClient.OperationOptions {
|
|
2050
2812
|
}
|
|
2051
2813
|
/** Optional parameters. */
|
|
@@ -2058,6 +2820,21 @@ export interface CallMediaStartMediaStreamingOptionalParams extends coreClient.O
|
|
|
2058
2820
|
export interface CallMediaStopMediaStreamingOptionalParams extends coreClient.OperationOptions {
|
|
2059
2821
|
}
|
|
2060
2822
|
/** Optional parameters. */
|
|
2823
|
+
export interface CallMediaInterruptAudioAndAnnounceOptionalParams extends coreClient.OperationOptions {
|
|
2824
|
+
}
|
|
2825
|
+
/** Optional parameters. */
|
|
2826
|
+
export interface CallDialogStartDialogOptionalParams extends coreClient.OperationOptions {
|
|
2827
|
+
}
|
|
2828
|
+
/** Contains response data for the startDialog operation. */
|
|
2829
|
+
export type CallDialogStartDialogResponse = DialogStateResponse;
|
|
2830
|
+
/** Optional parameters. */
|
|
2831
|
+
export interface CallDialogStopDialogOptionalParams extends coreClient.OperationOptions {
|
|
2832
|
+
operationCallbackUri?: string;
|
|
2833
|
+
}
|
|
2834
|
+
/** Optional parameters. */
|
|
2835
|
+
export interface CallDialogUpdateDialogOptionalParams extends coreClient.OperationOptions {
|
|
2836
|
+
}
|
|
2837
|
+
/** Optional parameters. */
|
|
2061
2838
|
export interface CallRecordingStartRecordingOptionalParams extends coreClient.OperationOptions {
|
|
2062
2839
|
/** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
|
|
2063
2840
|
repeatabilityRequestID?: string;
|
|
@@ -2081,6 +2858,11 @@ export interface CallRecordingPauseRecordingOptionalParams extends coreClient.Op
|
|
|
2081
2858
|
export interface CallRecordingResumeRecordingOptionalParams extends coreClient.OperationOptions {
|
|
2082
2859
|
}
|
|
2083
2860
|
/** Optional parameters. */
|
|
2861
|
+
export interface CallRecordingGetRecordingResultOptionalParams extends coreClient.OperationOptions {
|
|
2862
|
+
}
|
|
2863
|
+
/** Contains response data for the getRecordingResult operation. */
|
|
2864
|
+
export type CallRecordingGetRecordingResultResponse = RecordingResultResponse;
|
|
2865
|
+
/** Optional parameters. */
|
|
2084
2866
|
export interface CallAutomationApiClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
2085
2867
|
/** Api Version */
|
|
2086
2868
|
apiVersion?: string;
|