@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,15 +1,9 @@
|
|
|
1
1
|
import type { CommunicationIdentifier } from "@azure/communication-common";
|
|
2
|
-
import {
|
|
3
|
-
import type { CallParticipant } from "./models.js";
|
|
2
|
+
import type { Tone, ChoiceResult, DtmfResult, RecognitionType, SpeechResult, MediaStreamingUpdate, TranscriptionUpdate, RecordingKind } from "../generated/src/models/index.js";
|
|
3
|
+
import type { CallParticipant, RecordingState, CustomCallingContext } from "./models.js";
|
|
4
4
|
/** Callback events for Call Automation */
|
|
5
|
-
export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | PlayStarted |
|
|
6
|
-
export
|
|
7
|
-
export interface ResultInformation
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated RestResultInformation is deprecated.
|
|
10
|
-
* Use ResultInformation instead.
|
|
11
|
-
*/
|
|
12
|
-
extends Omit<RestResultInformation, "code" | "subCode" | "message"> {
|
|
5
|
+
export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | MoveParticipantSucceeded | MoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | StartRecordingFailed | PlayStarted | PlayPaused | PlayResumed | HoldAudioStarted | HoldAudioPaused | HoldAudioResumed | HoldAudioCompleted | IncomingCall;
|
|
6
|
+
export interface ResultInformation {
|
|
13
7
|
/** The error code. */
|
|
14
8
|
code: number;
|
|
15
9
|
/** The sub code of error. */
|
|
@@ -18,19 +12,16 @@ export interface ResultInformation
|
|
|
18
12
|
message: string;
|
|
19
13
|
}
|
|
20
14
|
/** The participant successfully added event. */
|
|
21
|
-
export interface AddParticipantSucceeded
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated RestAddParticipantSucceeded is deprecated.
|
|
24
|
-
* Use AddParticipantSucceeded instead.
|
|
25
|
-
*/
|
|
26
|
-
extends Omit<RestAddParticipantSucceeded, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
|
|
15
|
+
export interface AddParticipantSucceeded {
|
|
27
16
|
/** Call connection ID. */
|
|
28
17
|
callConnectionId: string;
|
|
29
18
|
/** Server call ID. */
|
|
30
19
|
serverCallId: string;
|
|
31
20
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
32
21
|
correlationId: string;
|
|
33
|
-
/**
|
|
22
|
+
/** Used this to correlate the request to the response event. */
|
|
23
|
+
operationContext?: string;
|
|
24
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
34
25
|
resultInformation?: ResultInformation;
|
|
35
26
|
/** The participant in the call. */
|
|
36
27
|
participant?: CommunicationIdentifier;
|
|
@@ -38,19 +29,16 @@ export interface AddParticipantSucceeded
|
|
|
38
29
|
kind: "AddParticipantSucceeded";
|
|
39
30
|
}
|
|
40
31
|
/** The failed to add participant event. */
|
|
41
|
-
export interface AddParticipantFailed
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated RestAddParticipantFailed is deprecated.
|
|
44
|
-
* Use AddParticipantFailed instead.
|
|
45
|
-
*/
|
|
46
|
-
extends Omit<RestAddParticipantFailed, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
|
|
32
|
+
export interface AddParticipantFailed {
|
|
47
33
|
/** Call connection ID. */
|
|
48
34
|
callConnectionId: string;
|
|
49
35
|
/** Server call ID. */
|
|
50
36
|
serverCallId: string;
|
|
51
37
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
52
38
|
correlationId: string;
|
|
53
|
-
/**
|
|
39
|
+
/** Used this to correlate the request to the response event. */
|
|
40
|
+
operationContext?: string;
|
|
41
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
54
42
|
resultInformation?: ResultInformation;
|
|
55
43
|
/** The participant in the call. */
|
|
56
44
|
participant?: CommunicationIdentifier;
|
|
@@ -58,19 +46,16 @@ export interface AddParticipantFailed
|
|
|
58
46
|
kind: "AddParticipantFailed";
|
|
59
47
|
}
|
|
60
48
|
/** The participant successfully removed event. */
|
|
61
|
-
export interface RemoveParticipantSucceeded
|
|
62
|
-
/**
|
|
63
|
-
* @deprecated RestRemoveParticipantSucceeded is deprecated.
|
|
64
|
-
* Use RemoveParticipantSucceeded instead.
|
|
65
|
-
*/
|
|
66
|
-
extends Omit<RestRemoveParticipantSucceeded, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
|
|
49
|
+
export interface RemoveParticipantSucceeded {
|
|
67
50
|
/** Call connection ID. */
|
|
68
51
|
callConnectionId: string;
|
|
69
52
|
/** Server call ID. */
|
|
70
53
|
serverCallId: string;
|
|
71
54
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
72
55
|
correlationId: string;
|
|
73
|
-
/**
|
|
56
|
+
/** Used this to correlate the request to the response event. */
|
|
57
|
+
operationContext?: string;
|
|
58
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
74
59
|
resultInformation?: ResultInformation;
|
|
75
60
|
/** The participant in the call. */
|
|
76
61
|
participant?: CommunicationIdentifier;
|
|
@@ -78,287 +63,290 @@ export interface RemoveParticipantSucceeded
|
|
|
78
63
|
kind: "RemoveParticipantSucceeded";
|
|
79
64
|
}
|
|
80
65
|
/** The failed to remove participant event. */
|
|
81
|
-
export interface RemoveParticipantFailed
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated RestRemoveParticipantFailed is deprecated.
|
|
84
|
-
* Use RemoveParticipantFailed instead.
|
|
85
|
-
*/
|
|
86
|
-
extends Omit<RestRemoveParticipantFailed, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
|
|
66
|
+
export interface RemoveParticipantFailed {
|
|
87
67
|
/** Call connection ID. */
|
|
88
68
|
callConnectionId: string;
|
|
89
69
|
/** Server call ID. */
|
|
90
70
|
serverCallId: string;
|
|
91
71
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
92
72
|
correlationId: string;
|
|
93
|
-
/**
|
|
73
|
+
/** Used this to correlate the request to the response event. */
|
|
74
|
+
operationContext?: string;
|
|
75
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
94
76
|
resultInformation?: ResultInformation;
|
|
95
77
|
/** The participant in the call. */
|
|
96
78
|
participant?: CommunicationIdentifier;
|
|
97
79
|
/** kind of this event. */
|
|
98
80
|
kind: "RemoveParticipantFailed";
|
|
99
81
|
}
|
|
100
|
-
/**
|
|
101
|
-
export interface
|
|
102
|
-
/**
|
|
103
|
-
|
|
104
|
-
* Use CallConnected instead.
|
|
105
|
-
*/
|
|
106
|
-
extends Omit<RestCallConnected, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
82
|
+
/** The participant successfully moved event. */
|
|
83
|
+
export interface MoveParticipantSucceeded {
|
|
84
|
+
/** The CallConnectionId for the call you want to move the participant from */
|
|
85
|
+
fromCall?: string;
|
|
107
86
|
/** Call connection ID. */
|
|
108
87
|
callConnectionId: string;
|
|
109
88
|
/** Server call ID. */
|
|
110
89
|
serverCallId: string;
|
|
111
90
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
112
91
|
correlationId: string;
|
|
113
|
-
/**
|
|
92
|
+
/** Used this to correlate the request to the response event. */
|
|
93
|
+
operationContext?: string;
|
|
94
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
114
95
|
resultInformation?: ResultInformation;
|
|
96
|
+
/** The participant in the call. */
|
|
97
|
+
participant?: CommunicationIdentifier;
|
|
115
98
|
/** kind of this event. */
|
|
116
|
-
kind: "
|
|
99
|
+
kind: "MoveParticipantSucceeded";
|
|
117
100
|
}
|
|
118
|
-
/**
|
|
119
|
-
export interface
|
|
120
|
-
/**
|
|
121
|
-
|
|
122
|
-
* Use CallDisconnected instead.
|
|
123
|
-
*/
|
|
124
|
-
extends Omit<RestCallDisconnected, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
101
|
+
/** The failed to move participant event. */
|
|
102
|
+
export interface MoveParticipantFailed {
|
|
103
|
+
/** The CallConnectionId for the call you want to move the participant from */
|
|
104
|
+
fromCall?: string;
|
|
125
105
|
/** Call connection ID. */
|
|
126
106
|
callConnectionId: string;
|
|
127
107
|
/** Server call ID. */
|
|
128
108
|
serverCallId: string;
|
|
129
109
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
130
110
|
correlationId: string;
|
|
131
|
-
/**
|
|
111
|
+
/** Used this to correlate the request to the response event. */
|
|
112
|
+
operationContext?: string;
|
|
113
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
132
114
|
resultInformation?: ResultInformation;
|
|
115
|
+
/** The participant in the call. */
|
|
116
|
+
participant?: CommunicationIdentifier;
|
|
133
117
|
/** kind of this event. */
|
|
134
|
-
kind: "
|
|
118
|
+
kind: "MoveParticipantFailed";
|
|
135
119
|
}
|
|
136
|
-
/** Event when
|
|
137
|
-
export interface
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated RestCallTransferAccepted is deprecated.
|
|
140
|
-
* Use CallTransferAccepted instead.
|
|
141
|
-
*/
|
|
142
|
-
extends Omit<RestCallTransferAccepted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" | "transferee" | "transferTarget"> {
|
|
120
|
+
/** Event when call was established. */
|
|
121
|
+
export interface CallConnected {
|
|
143
122
|
/** Call connection ID. */
|
|
144
123
|
callConnectionId: string;
|
|
145
124
|
/** Server call ID. */
|
|
146
125
|
serverCallId: string;
|
|
147
126
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
148
127
|
correlationId: string;
|
|
149
|
-
/**
|
|
128
|
+
/** Used this to correlate the request to the response event. */
|
|
129
|
+
operationContext?: string;
|
|
130
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
150
131
|
resultInformation?: ResultInformation;
|
|
151
|
-
/** Participant that was transferred away */
|
|
152
|
-
transferee: CommunicationIdentifier;
|
|
153
|
-
/** Target that transferee is transferred to */
|
|
154
|
-
transferTarget: CommunicationIdentifier;
|
|
155
132
|
/** kind of this event. */
|
|
156
|
-
kind: "
|
|
133
|
+
kind: "CallConnected";
|
|
157
134
|
}
|
|
158
|
-
/** Event when
|
|
159
|
-
export interface
|
|
160
|
-
/**
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
135
|
+
/** Event when call was initiated. */
|
|
136
|
+
export interface IncomingCall {
|
|
137
|
+
/** Call connection ID. */
|
|
138
|
+
callConnectionId: string;
|
|
139
|
+
/** The communication identifier of the target user.*/
|
|
140
|
+
to?: CommunicationIdentifier;
|
|
141
|
+
/** The communication identifier of the user who initiated the call.*/
|
|
142
|
+
from?: CommunicationIdentifier;
|
|
143
|
+
/** Display name of caller.*/
|
|
144
|
+
callerDisplayName?: string;
|
|
145
|
+
/** Custom Context of Incoming Call */
|
|
146
|
+
customContext?: CustomCallingContext;
|
|
147
|
+
/** Incoming call context.*/
|
|
148
|
+
incomingCallContext?: string;
|
|
149
|
+
/** The communication identifier of the user on behalf of whom the call is made.*/
|
|
150
|
+
onBehalfOfCallee?: CommunicationIdentifier;
|
|
151
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
152
|
+
correlationId: string;
|
|
153
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
154
|
+
resultInformation?: ResultInformation;
|
|
155
|
+
/** kind of this event. */
|
|
156
|
+
kind: "IncomingCall";
|
|
157
|
+
}
|
|
158
|
+
/** Event when all participants left and call was terminated. */
|
|
159
|
+
export interface CallDisconnected {
|
|
165
160
|
/** Call connection ID. */
|
|
166
161
|
callConnectionId: string;
|
|
167
162
|
/** Server call ID. */
|
|
168
163
|
serverCallId: string;
|
|
169
164
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
170
165
|
correlationId: string;
|
|
171
|
-
/**
|
|
166
|
+
/** Used this to correlate the request to the response event. */
|
|
167
|
+
operationContext?: string;
|
|
168
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
172
169
|
resultInformation?: ResultInformation;
|
|
173
170
|
/** kind of this event. */
|
|
174
|
-
kind: "
|
|
171
|
+
kind: "CallDisconnected";
|
|
175
172
|
}
|
|
176
|
-
/** Event when
|
|
177
|
-
export interface
|
|
178
|
-
/**
|
|
179
|
-
* @deprecated RestParticipantsUpdated is deprecated.
|
|
180
|
-
* Use ParticipantsUpdated instead.
|
|
181
|
-
*/
|
|
182
|
-
extends Omit<RestParticipantsUpdated, "callConnectionId" | "serverCallId" | "correlationId" | "participants" | "resultInformation"> {
|
|
173
|
+
/** Event when transfer request was successful. */
|
|
174
|
+
export interface CallTransferAccepted {
|
|
183
175
|
/** Call connection ID. */
|
|
184
176
|
callConnectionId: string;
|
|
185
177
|
/** Server call ID. */
|
|
186
178
|
serverCallId: string;
|
|
187
179
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
188
180
|
correlationId: string;
|
|
189
|
-
/**
|
|
190
|
-
|
|
191
|
-
/** Contains the resulting SIP code/sub-code and message
|
|
181
|
+
/** Used this to correlate the request to the response event. */
|
|
182
|
+
operationContext?: string;
|
|
183
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
192
184
|
resultInformation?: ResultInformation;
|
|
185
|
+
/** Participant that was transferred away */
|
|
186
|
+
transferee: CommunicationIdentifier;
|
|
187
|
+
/** Target that transferee is transferred to */
|
|
188
|
+
transferTarget: CommunicationIdentifier;
|
|
193
189
|
/** kind of this event. */
|
|
194
|
-
kind: "
|
|
190
|
+
kind: "CallTransferAccepted";
|
|
195
191
|
}
|
|
196
|
-
/** Event when
|
|
197
|
-
export interface
|
|
198
|
-
/**
|
|
199
|
-
* @deprecated RestRecordingStateChanged is deprecated.
|
|
200
|
-
* Use RecordingStateChanged instead.
|
|
201
|
-
*/
|
|
202
|
-
extends Omit<RestRecordingStateChanged, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
192
|
+
/** Event when transfer request was failed. */
|
|
193
|
+
export interface CallTransferFailed {
|
|
203
194
|
/** Call connection ID. */
|
|
204
195
|
callConnectionId: string;
|
|
205
196
|
/** Server call ID. */
|
|
206
197
|
serverCallId: string;
|
|
207
198
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
208
199
|
correlationId: string;
|
|
209
|
-
/**
|
|
200
|
+
/** Used this to correlate the request to the response event. */
|
|
201
|
+
operationContext?: string;
|
|
202
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
210
203
|
resultInformation?: ResultInformation;
|
|
211
204
|
/** kind of this event. */
|
|
212
|
-
kind: "
|
|
205
|
+
kind: "CallTransferFailed";
|
|
213
206
|
}
|
|
214
|
-
/** Event when
|
|
215
|
-
export interface
|
|
207
|
+
/** Event when there was an update to participant(s). */
|
|
208
|
+
export interface ParticipantsUpdated {
|
|
216
209
|
/** Call connection ID. */
|
|
217
210
|
callConnectionId: string;
|
|
218
211
|
/** Server call ID. */
|
|
219
212
|
serverCallId: string;
|
|
220
213
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
221
214
|
correlationId: string;
|
|
215
|
+
/** The list of participants in the call. */
|
|
216
|
+
participants: CallParticipant[];
|
|
217
|
+
/** The Sequence Number of the event */
|
|
218
|
+
sequenceNumber?: number;
|
|
222
219
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
223
220
|
resultInformation?: ResultInformation;
|
|
224
|
-
/** The call recording id */
|
|
225
|
-
recordingId?: string;
|
|
226
221
|
/** kind of this event. */
|
|
227
|
-
kind: "
|
|
222
|
+
kind: "ParticipantsUpdated";
|
|
228
223
|
}
|
|
229
|
-
/** Event when
|
|
230
|
-
export interface
|
|
231
|
-
/**
|
|
232
|
-
* @deprecated RestPlayStarted is deprecated.
|
|
233
|
-
* Use PlayStarted instead.
|
|
234
|
-
*/
|
|
235
|
-
extends Omit<RestPlayStarted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
224
|
+
/** Event when Recording state has been changed. */
|
|
225
|
+
export interface RecordingStateChanged {
|
|
236
226
|
/** Call connection ID. */
|
|
237
227
|
callConnectionId: string;
|
|
238
228
|
/** Server call ID. */
|
|
239
229
|
serverCallId: string;
|
|
240
230
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
241
231
|
correlationId: string;
|
|
242
|
-
/** Contains the resulting SIP code
|
|
232
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
243
233
|
resultInformation?: ResultInformation;
|
|
234
|
+
/** The call recording id*/
|
|
235
|
+
recordingId?: string;
|
|
236
|
+
state?: RecordingState;
|
|
237
|
+
/** The time of the recording started*/
|
|
238
|
+
startDateTime?: Date;
|
|
239
|
+
recordingKind?: RecordingKind;
|
|
244
240
|
/** kind of this event. */
|
|
245
|
-
kind: "
|
|
241
|
+
kind: "RecordingStateChanged";
|
|
246
242
|
}
|
|
247
243
|
/** Event when Media play was successfully completed. */
|
|
248
|
-
export interface PlayCompleted
|
|
249
|
-
/**
|
|
250
|
-
* @deprecated RestPlayCompleted is deprecated.
|
|
251
|
-
* Use PlayCompleted instead.
|
|
252
|
-
*/
|
|
253
|
-
extends Omit<RestPlayCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
244
|
+
export interface PlayCompleted {
|
|
254
245
|
/** Call connection ID. */
|
|
255
246
|
callConnectionId: string;
|
|
256
247
|
/** Server call ID. */
|
|
257
248
|
serverCallId: string;
|
|
258
|
-
/** Contains the resulting SIP code/sub-code and message
|
|
249
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
259
250
|
resultInformation?: ResultInformation;
|
|
260
251
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
261
252
|
correlationId: string;
|
|
253
|
+
/** Used this to correlate the request to the response event. */
|
|
254
|
+
operationContext?: string;
|
|
262
255
|
/** kind of this event. */
|
|
263
256
|
kind: "PlayCompleted";
|
|
264
257
|
}
|
|
265
258
|
/** Event when Media play was failed. */
|
|
266
|
-
export interface PlayFailed
|
|
267
|
-
/**
|
|
268
|
-
* @deprecated RestPlayFailed is deprecated.
|
|
269
|
-
* Use PlayFailed instead.
|
|
270
|
-
*/
|
|
271
|
-
extends Omit<RestPlayFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
259
|
+
export interface PlayFailed {
|
|
272
260
|
/** Call connection ID. */
|
|
273
261
|
callConnectionId: string;
|
|
274
262
|
/** Server call ID. */
|
|
275
263
|
serverCallId: string;
|
|
276
|
-
/** Contains the resulting SIP code/sub-code and message
|
|
264
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
277
265
|
resultInformation?: ResultInformation;
|
|
278
266
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
279
267
|
correlationId: string;
|
|
268
|
+
/** Used this to correlate the request to the response event. */
|
|
269
|
+
operationContext?: string;
|
|
270
|
+
/** Contains the index of the failed play source. */
|
|
271
|
+
failedPlaySourceIndex?: number;
|
|
280
272
|
/** kind of this event. */
|
|
281
273
|
kind: "PlayFailed";
|
|
282
274
|
}
|
|
283
275
|
/** Event when Media play was canceled by Cancel operation. */
|
|
284
|
-
export interface PlayCanceled
|
|
285
|
-
/**
|
|
286
|
-
* @deprecated RestPlayCanceled is deprecated.
|
|
287
|
-
* Use PlayCanceled instead.
|
|
288
|
-
*/
|
|
289
|
-
extends Omit<RestPlayCanceled, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
276
|
+
export interface PlayCanceled {
|
|
290
277
|
/** Call connection ID. */
|
|
291
278
|
callConnectionId: string;
|
|
292
279
|
/** Server call ID. */
|
|
293
280
|
serverCallId: string;
|
|
294
281
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
295
282
|
correlationId: string;
|
|
296
|
-
/**
|
|
283
|
+
/** Used this to correlate the request to the response event. */
|
|
284
|
+
operationContext?: string;
|
|
285
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
297
286
|
resultInformation?: ResultInformation;
|
|
298
287
|
/** kind of this event. */
|
|
299
288
|
kind: "PlayCanceled";
|
|
300
289
|
}
|
|
301
290
|
/** Event when Media recognize was successfully completed. */
|
|
302
|
-
export interface RecognizeCompleted
|
|
303
|
-
/**
|
|
304
|
-
* @deprecated RestRecognizeCompleted is deprecated.
|
|
305
|
-
* Use RecognizeCompleted instead.
|
|
306
|
-
*/
|
|
307
|
-
extends Omit<RestRecognizeCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
291
|
+
export interface RecognizeCompleted {
|
|
308
292
|
/** Call connection ID. */
|
|
309
293
|
callConnectionId: string;
|
|
310
294
|
/** Server call ID. */
|
|
311
295
|
serverCallId: string;
|
|
312
|
-
/** Contains the resulting SIP code/sub-code and message
|
|
296
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
313
297
|
resultInformation?: ResultInformation;
|
|
314
298
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
315
299
|
correlationId: string;
|
|
300
|
+
/** Used this to correlate the request to the response event. */
|
|
301
|
+
operationContext?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Determines the sub-type of the recognize operation.
|
|
304
|
+
* In case of cancel operation the this field is not set and is returned empty
|
|
305
|
+
*/
|
|
306
|
+
recognitionType?: RecognitionType;
|
|
307
|
+
/** Defines the result for RecognitionType = Dtmf */
|
|
308
|
+
dtmfResult?: DtmfResult;
|
|
309
|
+
/** Defines the result for RecognitionType = Choices */
|
|
310
|
+
choiceResult?: ChoiceResult;
|
|
311
|
+
/** Defines the result for RecognitionType = Speech and SpeechOrDtmf */
|
|
312
|
+
speechResult?: SpeechResult;
|
|
316
313
|
/** kind of this event. */
|
|
317
314
|
kind: "RecognizeCompleted";
|
|
318
315
|
}
|
|
319
316
|
/** Event when Media recognize was failed. */
|
|
320
|
-
export interface RecognizeFailed
|
|
321
|
-
/**
|
|
322
|
-
* @deprecated RestRecognizeFailed is deprecated.
|
|
323
|
-
* Use RecognizeFailed instead.
|
|
324
|
-
*/
|
|
325
|
-
extends Omit<RestRecognizeFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
317
|
+
export interface RecognizeFailed {
|
|
326
318
|
/** Call connection ID. */
|
|
327
319
|
callConnectionId: string;
|
|
328
320
|
/** Server call ID. */
|
|
329
321
|
serverCallId: string;
|
|
330
|
-
/** Contains the resulting SIP code/sub-code and message
|
|
322
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
331
323
|
resultInformation?: ResultInformation;
|
|
332
324
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
333
325
|
correlationId: string;
|
|
326
|
+
/** Used this to correlate the request to the response event. */
|
|
327
|
+
operationContext?: string;
|
|
328
|
+
/** Contains the index of the failed play source. */
|
|
329
|
+
failedPlaySourceIndex?: number;
|
|
334
330
|
/** kind of this event. */
|
|
335
331
|
kind: "RecognizeFailed";
|
|
336
332
|
}
|
|
337
333
|
/** Event when Media recognize was canceled by Cancel operation. */
|
|
338
|
-
export interface RecognizeCanceled
|
|
339
|
-
/**
|
|
340
|
-
* @deprecated RestRecognizeCanceled is deprecated.
|
|
341
|
-
* Use RecognizeCanceled instead.
|
|
342
|
-
*/
|
|
343
|
-
extends Omit<RestRecognizeCanceled, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
334
|
+
export interface RecognizeCanceled {
|
|
344
335
|
/** Call connection ID. */
|
|
345
336
|
callConnectionId: string;
|
|
346
337
|
/** Server call ID. */
|
|
347
338
|
serverCallId: string;
|
|
348
339
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
349
340
|
correlationId: string;
|
|
350
|
-
/**
|
|
341
|
+
/** Used this to correlate the request to the response event. */
|
|
342
|
+
operationContext?: string;
|
|
343
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
351
344
|
resultInformation?: ResultInformation;
|
|
352
345
|
/** kind of this event. */
|
|
353
346
|
kind: "RecognizeCanceled";
|
|
354
347
|
}
|
|
355
348
|
/** Event sent when Dtmf tone received from targeted participant in call. */
|
|
356
|
-
export interface ContinuousDtmfRecognitionToneReceived
|
|
357
|
-
/**
|
|
358
|
-
* @deprecated RestContinuousDtmfRecognitionToneReceived is deprecated.
|
|
359
|
-
* Use ContinuousDtmfRecognitionToneReceived instead.
|
|
360
|
-
*/
|
|
361
|
-
extends Omit<RestContinuousDtmfRecognitionToneReceived, "sequenceId" | "tone" | "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
349
|
+
export interface ContinuousDtmfRecognitionToneReceived {
|
|
362
350
|
/** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */
|
|
363
351
|
sequenceId: number;
|
|
364
352
|
/** Defines values for Tone. */
|
|
@@ -369,314 +357,276 @@ export interface ContinuousDtmfRecognitionToneReceived
|
|
|
369
357
|
serverCallId: string;
|
|
370
358
|
/** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */
|
|
371
359
|
correlationId: string;
|
|
372
|
-
/**
|
|
360
|
+
/** Used this to correlate the request to the response event. */
|
|
361
|
+
operationContext?: string;
|
|
362
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
373
363
|
resultInformation?: ResultInformation;
|
|
374
364
|
/** kind of this event. */
|
|
375
365
|
kind: "ContinuousDtmfRecognitionToneReceived";
|
|
376
366
|
}
|
|
377
367
|
/** Event sent when failed to recognize continuous Dtmf tone. */
|
|
378
|
-
export interface ContinuousDtmfRecognitionToneFailed
|
|
379
|
-
/**
|
|
380
|
-
* @deprecated RestContinuousDtmfRecognitionToneFailed is deprecated.
|
|
381
|
-
* Use ContinuousDtmfRecognitionToneFailed instead.
|
|
382
|
-
*/
|
|
383
|
-
extends Omit<RestContinuousDtmfRecognitionToneFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
368
|
+
export interface ContinuousDtmfRecognitionToneFailed {
|
|
384
369
|
/** Call connection ID. */
|
|
385
370
|
callConnectionId: string;
|
|
386
371
|
/** Server call ID. */
|
|
387
372
|
serverCallId: string;
|
|
388
373
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
389
374
|
correlationId: string;
|
|
390
|
-
/**
|
|
375
|
+
/** Used this to correlate the request to the response event. */
|
|
376
|
+
operationContext?: string;
|
|
377
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
391
378
|
resultInformation?: ResultInformation;
|
|
392
379
|
/** kind of this event. */
|
|
393
380
|
kind: "ContinuousDtmfRecognitionToneFailed";
|
|
394
381
|
}
|
|
395
382
|
/** Event sent when continuous Dtmf recognition stopped. */
|
|
396
|
-
export interface ContinuousDtmfRecognitionStopped
|
|
397
|
-
/**
|
|
398
|
-
* @deprecated RestContinuousDtmfRecognitionStopped is deprecated.
|
|
399
|
-
* Use ContinuousDtmfRecognitionStopped instead.
|
|
400
|
-
*/
|
|
401
|
-
extends Omit<RestContinuousDtmfRecognitionStopped, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
383
|
+
export interface ContinuousDtmfRecognitionStopped {
|
|
402
384
|
/** Call connection ID. */
|
|
403
385
|
callConnectionId: string;
|
|
404
386
|
/** Server call ID. */
|
|
405
387
|
serverCallId: string;
|
|
406
388
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
407
389
|
correlationId: string;
|
|
408
|
-
/**
|
|
390
|
+
/** Used this to correlate the request to the response event. */
|
|
391
|
+
operationContext?: string;
|
|
392
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
409
393
|
resultInformation?: ResultInformation;
|
|
410
394
|
/** kind of this event. */
|
|
411
395
|
kind: "ContinuousDtmfRecognitionStopped";
|
|
412
396
|
}
|
|
413
397
|
/** Event sent when Dtmf tones send successfully. */
|
|
414
|
-
export interface SendDtmfTonesCompleted
|
|
415
|
-
/**
|
|
416
|
-
* @deprecated RestSendDtmfTonesCompleted is deprecated.
|
|
417
|
-
* Use SendDtmfTonesCompleted instead.
|
|
418
|
-
*/
|
|
419
|
-
extends Omit<RestSendDtmfTonesCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
398
|
+
export interface SendDtmfTonesCompleted {
|
|
420
399
|
/** Call connection ID. */
|
|
421
400
|
callConnectionId: string;
|
|
422
401
|
/** Server call ID. */
|
|
423
402
|
serverCallId: string;
|
|
424
403
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
425
404
|
correlationId: string;
|
|
426
|
-
/**
|
|
405
|
+
/** Used this to correlate the request to the response event. */
|
|
406
|
+
operationContext?: string;
|
|
407
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
427
408
|
resultInformation?: ResultInformation;
|
|
428
409
|
/** kind of this event. */
|
|
429
410
|
kind: "SendDtmfTonesCompleted";
|
|
430
411
|
}
|
|
431
412
|
/** Event sent when Dtmf tones send failed. */
|
|
432
|
-
export interface SendDtmfTonesFailed
|
|
433
|
-
/**
|
|
434
|
-
* @deprecated RestSendDtmfTonesFailed is deprecated.
|
|
435
|
-
* Use SendDtmfTonesFailed instead.
|
|
436
|
-
*/
|
|
437
|
-
extends Omit<RestSendDtmfTonesFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
413
|
+
export interface SendDtmfTonesFailed {
|
|
438
414
|
/** Call connection ID. */
|
|
439
415
|
callConnectionId: string;
|
|
440
416
|
/** Server call ID. */
|
|
441
417
|
serverCallId: string;
|
|
442
418
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
443
419
|
correlationId: string;
|
|
444
|
-
/**
|
|
420
|
+
/** Used this to correlate the request to the response event. */
|
|
421
|
+
operationContext?: string;
|
|
422
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
445
423
|
resultInformation?: ResultInformation;
|
|
446
424
|
/** kind of this event. */
|
|
447
425
|
kind: "SendDtmfTonesFailed";
|
|
448
426
|
}
|
|
449
427
|
/** Successful cancel add participant event. */
|
|
450
|
-
export interface CancelAddParticipantSucceeded
|
|
451
|
-
/**
|
|
452
|
-
* @deprecated RestCancelAddParticipantSucceeded is deprecated.
|
|
453
|
-
* Use CancelAddParticipantSucceeded instead.
|
|
454
|
-
*/
|
|
455
|
-
extends Omit<RestCancelAddParticipantSucceeded, "callConnectionId" | "serverCallId" | "correlationId" | "invitationId" | "resultInformation"> {
|
|
428
|
+
export interface CancelAddParticipantSucceeded {
|
|
456
429
|
/** Call connection ID. */
|
|
457
430
|
callConnectionId: string;
|
|
458
431
|
/** Server call ID. */
|
|
459
432
|
serverCallId: string;
|
|
460
433
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
461
434
|
correlationId: string;
|
|
435
|
+
/** Used this to correlate the request to the response event. */
|
|
436
|
+
operationContext?: string;
|
|
437
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
438
|
+
resultInformation?: ResultInformation;
|
|
462
439
|
/** Invitation ID used to cancel the add participant request. */
|
|
463
440
|
invitationId: string;
|
|
464
|
-
/** Contains the resulting SIP code/sub-code and message from NGC services. */
|
|
465
|
-
resultInformation?: ResultInformation;
|
|
466
441
|
/** kind of this event. */
|
|
467
442
|
kind: "CancelAddParticipantSucceeded";
|
|
468
443
|
}
|
|
469
444
|
/** The failed to cancel add participant event. */
|
|
470
|
-
export interface CancelAddParticipantFailed
|
|
471
|
-
/**
|
|
472
|
-
* @deprecated RestCancelAddParticipantFailed is deprecated.
|
|
473
|
-
* Use CancelAddParticipantFailed instead.
|
|
474
|
-
*/
|
|
475
|
-
extends Omit<RestCancelAddParticipantFailed, "callConnectionId" | "serverCallId" | "correlationId" | "invitationId" | "resultInformation"> {
|
|
445
|
+
export interface CancelAddParticipantFailed {
|
|
476
446
|
/** Call connection ID. */
|
|
477
447
|
callConnectionId: string;
|
|
478
448
|
/** Server call ID. */
|
|
479
449
|
serverCallId: string;
|
|
480
450
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
481
451
|
correlationId: string;
|
|
452
|
+
/** Used this to correlate the request to the response event. */
|
|
453
|
+
operationContext?: string;
|
|
482
454
|
/** Invitation ID used to cancel the add participant request. */
|
|
483
455
|
invitationId: string;
|
|
484
|
-
/** Contains the resulting SIP code/sub-code and message
|
|
456
|
+
/** Contains the resulting SIP code/sub-code and message. */
|
|
485
457
|
resultInformation?: ResultInformation;
|
|
486
458
|
/** kind of this event. */
|
|
487
459
|
kind: "CancelAddParticipantFailed";
|
|
488
460
|
}
|
|
489
|
-
export interface
|
|
490
|
-
/**
|
|
491
|
-
|
|
492
|
-
* Use ConnectFailed instead.
|
|
493
|
-
*/
|
|
494
|
-
extends Omit<RestConnectFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
461
|
+
export interface TranscriptionStarted {
|
|
462
|
+
/** Defines the result for TranscriptionUpdate with the current status and the details about the status */
|
|
463
|
+
transcriptionUpdate?: TranscriptionUpdate;
|
|
495
464
|
/** Call connection ID. */
|
|
496
465
|
callConnectionId: string;
|
|
466
|
+
/** Server call ID. */
|
|
467
|
+
serverCallId: string;
|
|
497
468
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
498
469
|
correlationId: string;
|
|
470
|
+
/** Used this to correlate the request to the response event. */
|
|
471
|
+
operationContext?: string;
|
|
499
472
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
500
473
|
resultInformation?: ResultInformation;
|
|
501
474
|
/** kind of this event. */
|
|
502
|
-
kind: "
|
|
475
|
+
kind: "TranscriptionStarted";
|
|
503
476
|
}
|
|
504
|
-
export interface
|
|
505
|
-
/**
|
|
506
|
-
|
|
507
|
-
* Use HoldFailed instead.
|
|
508
|
-
*/
|
|
509
|
-
extends Omit<RestHoldFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
477
|
+
export interface TranscriptionStopped {
|
|
478
|
+
/** Defines the result for TranscriptionUpdate with the current status and the details about the status */
|
|
479
|
+
transcriptionUpdate?: TranscriptionUpdate;
|
|
510
480
|
/** Call connection ID. */
|
|
511
481
|
callConnectionId: string;
|
|
512
482
|
/** Server call ID. */
|
|
513
483
|
serverCallId: string;
|
|
514
484
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
515
485
|
correlationId: string;
|
|
486
|
+
/** Used this to correlate the request to the response event. */
|
|
487
|
+
operationContext?: string;
|
|
516
488
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
517
489
|
resultInformation?: ResultInformation;
|
|
518
490
|
/** kind of this event. */
|
|
519
|
-
kind: "
|
|
491
|
+
kind: "TranscriptionStopped";
|
|
520
492
|
}
|
|
521
|
-
export interface
|
|
522
|
-
/**
|
|
523
|
-
|
|
524
|
-
* Use AnswerFailed instead.
|
|
525
|
-
*/
|
|
526
|
-
extends Omit<RestAnswerFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
493
|
+
export interface TranscriptionUpdated {
|
|
494
|
+
/** Defines the result for TranscriptionUpdate with the current status and the details about the status */
|
|
495
|
+
transcriptionUpdate?: TranscriptionUpdate;
|
|
527
496
|
/** Call connection ID. */
|
|
528
497
|
callConnectionId: string;
|
|
529
498
|
/** Server call ID. */
|
|
530
499
|
serverCallId: string;
|
|
531
500
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
532
501
|
correlationId: string;
|
|
502
|
+
/** Used this to correlate the request to the response event. */
|
|
503
|
+
operationContext?: string;
|
|
533
504
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
534
505
|
resultInformation?: ResultInformation;
|
|
535
506
|
/** kind of this event. */
|
|
536
|
-
kind: "
|
|
507
|
+
kind: "TranscriptionUpdated";
|
|
537
508
|
}
|
|
538
|
-
export interface
|
|
539
|
-
/**
|
|
540
|
-
|
|
541
|
-
* Use CreateCallFailed instead.
|
|
542
|
-
*/
|
|
543
|
-
extends Omit<RestCreateCallFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
509
|
+
export interface TranscriptionFailed {
|
|
510
|
+
/** Defines the result for TranscriptionUpdate with the current status and the details about the status */
|
|
511
|
+
transcriptionUpdate?: TranscriptionUpdate;
|
|
544
512
|
/** Call connection ID. */
|
|
545
513
|
callConnectionId: string;
|
|
546
514
|
/** Server call ID. */
|
|
547
515
|
serverCallId: string;
|
|
548
516
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
549
517
|
correlationId: string;
|
|
518
|
+
/** Used this to correlate the request to the response event. */
|
|
519
|
+
operationContext?: string;
|
|
550
520
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
551
521
|
resultInformation?: ResultInformation;
|
|
552
522
|
/** kind of this event. */
|
|
553
|
-
kind: "
|
|
523
|
+
kind: "TranscriptionFailed";
|
|
554
524
|
}
|
|
555
|
-
export interface
|
|
556
|
-
/**
|
|
557
|
-
* @deprecated RestTranscriptionStarted is deprecated.
|
|
558
|
-
* Use TranscriptionStarted instead.
|
|
559
|
-
*/
|
|
560
|
-
extends Omit<RestTranscriptionStarted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
525
|
+
export interface CreateCallFailed {
|
|
561
526
|
/** Call connection ID. */
|
|
562
527
|
callConnectionId: string;
|
|
563
528
|
/** Server call ID. */
|
|
564
529
|
serverCallId: string;
|
|
565
530
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
566
531
|
correlationId: string;
|
|
532
|
+
/** Used this to correlate the request to the response event. */
|
|
533
|
+
operationContext?: string;
|
|
567
534
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
568
|
-
resultInformation?:
|
|
535
|
+
resultInformation?: ResultInformation;
|
|
569
536
|
/** kind of this event. */
|
|
570
|
-
kind: "
|
|
537
|
+
kind: "CreateCallFailed";
|
|
571
538
|
}
|
|
572
|
-
export interface
|
|
573
|
-
/**
|
|
574
|
-
* @deprecated RestTranscriptionStopped is deprecated.
|
|
575
|
-
* Use TranscriptionStopped instead.
|
|
576
|
-
*/
|
|
577
|
-
extends Omit<RestTranscriptionStopped, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
539
|
+
export interface AnswerFailed {
|
|
578
540
|
/** Call connection ID. */
|
|
579
541
|
callConnectionId: string;
|
|
580
542
|
/** Server call ID. */
|
|
581
543
|
serverCallId: string;
|
|
582
544
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
583
545
|
correlationId: string;
|
|
546
|
+
/** Used this to correlate the request to the response event. */
|
|
547
|
+
operationContext?: string;
|
|
584
548
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
585
|
-
resultInformation?:
|
|
549
|
+
resultInformation?: ResultInformation;
|
|
586
550
|
/** kind of this event. */
|
|
587
|
-
kind: "
|
|
551
|
+
kind: "AnswerFailed";
|
|
588
552
|
}
|
|
589
|
-
export interface
|
|
590
|
-
/**
|
|
591
|
-
* @deprecated RestTranscriptionUpdated is deprecated.
|
|
592
|
-
* Use TranscriptionUpdated instead.
|
|
593
|
-
*/
|
|
594
|
-
extends Omit<RestTranscriptionUpdated, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
553
|
+
export interface HoldFailed {
|
|
595
554
|
/** Call connection ID. */
|
|
596
555
|
callConnectionId: string;
|
|
597
556
|
/** Server call ID. */
|
|
598
557
|
serverCallId: string;
|
|
599
558
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
600
559
|
correlationId: string;
|
|
560
|
+
/** Used this to correlate the request to the response event. */
|
|
561
|
+
operationContext?: string;
|
|
601
562
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
602
|
-
resultInformation?:
|
|
563
|
+
resultInformation?: ResultInformation;
|
|
603
564
|
/** kind of this event. */
|
|
604
|
-
kind: "
|
|
565
|
+
kind: "HoldFailed";
|
|
605
566
|
}
|
|
606
|
-
export interface
|
|
607
|
-
/**
|
|
608
|
-
* @deprecated RestTranscriptionFailed is deprecated.
|
|
609
|
-
* Use TranscriptionFailed instead.
|
|
610
|
-
*/
|
|
611
|
-
extends Omit<RestTranscriptionFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
567
|
+
export interface ConnectFailed {
|
|
612
568
|
/** Call connection ID. */
|
|
613
569
|
callConnectionId: string;
|
|
614
570
|
/** Server call ID. */
|
|
615
571
|
serverCallId: string;
|
|
616
572
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
617
573
|
correlationId: string;
|
|
574
|
+
/** Used this to correlate the request to the response event. */
|
|
575
|
+
operationContext?: string;
|
|
618
576
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
619
|
-
resultInformation?:
|
|
577
|
+
resultInformation?: ResultInformation;
|
|
620
578
|
/** kind of this event. */
|
|
621
|
-
kind: "
|
|
579
|
+
kind: "ConnectFailed";
|
|
622
580
|
}
|
|
623
|
-
export interface MediaStreamingStarted
|
|
624
|
-
/**
|
|
625
|
-
|
|
626
|
-
* Use MediaStreamingStarted instead.
|
|
627
|
-
*/
|
|
628
|
-
extends Omit<RestMediaStreamingStarted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
581
|
+
export interface MediaStreamingStarted {
|
|
582
|
+
/** Defines the result for MediaStreamingUpdate with the current status and the details about the status */
|
|
583
|
+
mediaStreamingUpdate?: MediaStreamingUpdate;
|
|
629
584
|
/** Call connection ID. */
|
|
630
585
|
callConnectionId: string;
|
|
631
586
|
/** Server call ID. */
|
|
632
587
|
serverCallId: string;
|
|
633
588
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
634
589
|
correlationId: string;
|
|
590
|
+
/** Used this to correlate the request to the response event. */
|
|
591
|
+
operationContext?: string;
|
|
635
592
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
636
593
|
resultInformation?: ResultInformation;
|
|
637
594
|
/** kind of this event. */
|
|
638
595
|
kind: "MediaStreamingStarted";
|
|
639
596
|
}
|
|
640
|
-
export interface MediaStreamingStopped
|
|
641
|
-
/**
|
|
642
|
-
|
|
643
|
-
* Use MediaStreamingStopped instead.
|
|
644
|
-
*/
|
|
645
|
-
extends Omit<RestMediaStreamingStopped, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
597
|
+
export interface MediaStreamingStopped {
|
|
598
|
+
/** Defines the result for MediaStreamingUpdate with the current status and the details about the status */
|
|
599
|
+
mediaStreamingUpdate?: MediaStreamingUpdate;
|
|
646
600
|
/** Call connection ID. */
|
|
647
601
|
callConnectionId: string;
|
|
648
602
|
/** Server call ID. */
|
|
649
603
|
serverCallId: string;
|
|
650
604
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
651
605
|
correlationId: string;
|
|
606
|
+
/** Used this to correlate the request to the response event. */
|
|
607
|
+
operationContext?: string;
|
|
652
608
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
653
609
|
resultInformation?: ResultInformation;
|
|
654
610
|
/** kind of this event. */
|
|
655
611
|
kind: "MediaStreamingStopped";
|
|
656
612
|
}
|
|
657
|
-
export interface MediaStreamingFailed
|
|
658
|
-
/**
|
|
659
|
-
|
|
660
|
-
* Use MediaStreamingFailed instead.
|
|
661
|
-
*/
|
|
662
|
-
extends Omit<RestMediaStreamingFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
613
|
+
export interface MediaStreamingFailed {
|
|
614
|
+
/** Defines the result for MediaStreamingUpdate with the current status and the details about the status */
|
|
615
|
+
mediaStreamingUpdate?: MediaStreamingUpdate;
|
|
663
616
|
/** Call connection ID. */
|
|
664
617
|
callConnectionId: string;
|
|
665
618
|
/** Server call ID. */
|
|
666
619
|
serverCallId: string;
|
|
667
620
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
668
621
|
correlationId: string;
|
|
622
|
+
/** Used this to correlate the request to the response event. */
|
|
623
|
+
operationContext?: string;
|
|
669
624
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
670
625
|
resultInformation?: ResultInformation;
|
|
671
626
|
/** kind of this event. */
|
|
672
627
|
kind: "MediaStreamingFailed";
|
|
673
628
|
}
|
|
674
|
-
export interface
|
|
675
|
-
/**
|
|
676
|
-
* @deprecated RestCreateCallFailed is deprecated.
|
|
677
|
-
* Use CreateCallFailed instead.
|
|
678
|
-
*/
|
|
679
|
-
extends Omit<RestCreateCallFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
629
|
+
export interface StartRecordingFailed {
|
|
680
630
|
/** Call connection ID. */
|
|
681
631
|
callConnectionId: string;
|
|
682
632
|
/** Server call ID. */
|
|
@@ -685,24 +635,114 @@ export interface CreateCallFailed
|
|
|
685
635
|
correlationId: string;
|
|
686
636
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
687
637
|
resultInformation?: ResultInformation;
|
|
638
|
+
/** The call recording id */
|
|
639
|
+
recordingId?: string;
|
|
688
640
|
/** kind of this event. */
|
|
689
|
-
kind: "
|
|
641
|
+
kind: "StartRecordingFailed";
|
|
690
642
|
}
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
* @deprecated RestAnswerFailed is deprecated.
|
|
694
|
-
* Use AnswerFailed instead.
|
|
695
|
-
*/
|
|
696
|
-
extends Omit<RestAnswerFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
|
|
643
|
+
/** Event when Media play was successfully started. */
|
|
644
|
+
export interface PlayStarted {
|
|
697
645
|
/** Call connection ID. */
|
|
698
646
|
callConnectionId: string;
|
|
699
647
|
/** Server call ID. */
|
|
700
648
|
serverCallId: string;
|
|
701
649
|
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
702
650
|
correlationId: string;
|
|
651
|
+
/** Used this to correlate the request to the response event. */
|
|
652
|
+
operationContext?: string;
|
|
703
653
|
/** Contains the resulting SIP code, sub-code and message. */
|
|
704
654
|
resultInformation?: ResultInformation;
|
|
705
655
|
/** kind of this event. */
|
|
706
|
-
kind: "
|
|
656
|
+
kind: "PlayStarted";
|
|
657
|
+
}
|
|
658
|
+
/** Event when Media play was successfully paused. */
|
|
659
|
+
export interface PlayPaused {
|
|
660
|
+
/** Call connection ID. */
|
|
661
|
+
callConnectionId: string;
|
|
662
|
+
/** Server call ID. */
|
|
663
|
+
serverCallId: string;
|
|
664
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
665
|
+
correlationId: string;
|
|
666
|
+
/** Used this to correlate the request to the response event. */
|
|
667
|
+
operationContext?: string;
|
|
668
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
669
|
+
resultInformation?: ResultInformation;
|
|
670
|
+
/** kind of this event. */
|
|
671
|
+
kind: "PlayPaused";
|
|
672
|
+
}
|
|
673
|
+
/** Event when Media play was successfully paused. */
|
|
674
|
+
export interface PlayResumed {
|
|
675
|
+
/** Call connection ID. */
|
|
676
|
+
callConnectionId: string;
|
|
677
|
+
/** Server call ID. */
|
|
678
|
+
serverCallId: string;
|
|
679
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
680
|
+
correlationId: string;
|
|
681
|
+
/** Used this to correlate the request to the response event. */
|
|
682
|
+
operationContext?: string;
|
|
683
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
684
|
+
resultInformation?: ResultInformation;
|
|
685
|
+
/** kind of this event. */
|
|
686
|
+
kind: "PlayResumed";
|
|
687
|
+
}
|
|
688
|
+
/** Event when hold audio play was successfully started. */
|
|
689
|
+
export interface HoldAudioStarted {
|
|
690
|
+
/** Call connection ID. */
|
|
691
|
+
callConnectionId: string;
|
|
692
|
+
/** Server call ID. */
|
|
693
|
+
serverCallId: string;
|
|
694
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
695
|
+
correlationId: string;
|
|
696
|
+
/** Used this to correlate the request to the response event. */
|
|
697
|
+
operationContext?: string;
|
|
698
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
699
|
+
resultInformation?: ResultInformation;
|
|
700
|
+
/** kind of this event. */
|
|
701
|
+
kind: "HoldAudioStarted";
|
|
702
|
+
}
|
|
703
|
+
/** Event when hold audio play was successfully paused. */
|
|
704
|
+
export interface HoldAudioPaused {
|
|
705
|
+
/** Call connection ID. */
|
|
706
|
+
callConnectionId: string;
|
|
707
|
+
/** Server call ID. */
|
|
708
|
+
serverCallId: string;
|
|
709
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
710
|
+
correlationId: string;
|
|
711
|
+
/** Used this to correlate the request to the response event. */
|
|
712
|
+
operationContext?: string;
|
|
713
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
714
|
+
resultInformation?: ResultInformation;
|
|
715
|
+
/** kind of this event. */
|
|
716
|
+
kind: "HoldAudioPaused";
|
|
717
|
+
}
|
|
718
|
+
/** Event when hold audio play was successfully resumed. */
|
|
719
|
+
export interface HoldAudioResumed {
|
|
720
|
+
/** Call connection ID. */
|
|
721
|
+
callConnectionId: string;
|
|
722
|
+
/** Server call ID. */
|
|
723
|
+
serverCallId: string;
|
|
724
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
725
|
+
correlationId: string;
|
|
726
|
+
/** Used this to correlate the request to the response event. */
|
|
727
|
+
operationContext?: string;
|
|
728
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
729
|
+
resultInformation?: ResultInformation;
|
|
730
|
+
/** kind of this event. */
|
|
731
|
+
kind: "HoldAudioResumed";
|
|
732
|
+
}
|
|
733
|
+
/** Event when hold audio play was successfully completed. */
|
|
734
|
+
export interface HoldAudioCompleted {
|
|
735
|
+
/** Call connection ID. */
|
|
736
|
+
callConnectionId: string;
|
|
737
|
+
/** Server call ID. */
|
|
738
|
+
serverCallId: string;
|
|
739
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
740
|
+
correlationId: string;
|
|
741
|
+
/** Used this to correlate the request to the response event. */
|
|
742
|
+
operationContext?: string;
|
|
743
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
744
|
+
resultInformation?: ResultInformation;
|
|
745
|
+
/** kind of this event. */
|
|
746
|
+
kind: "HoldAudioCompleted";
|
|
707
747
|
}
|
|
708
748
|
//# sourceMappingURL=events.d.ts.map
|