@azure/communication-call-automation 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -57
- package/dist/browser/callAutomationClient.d.ts +98 -0
- package/dist/browser/callAutomationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/callAutomationClient.js +5 -5
- package/dist/browser/callAutomationClient.js.map +1 -0
- package/dist/browser/callAutomationEventParser.d.ts +6 -0
- package/dist/browser/callAutomationEventParser.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/callAutomationEventParser.js +2 -2
- package/dist/browser/callAutomationEventParser.js.map +1 -0
- package/dist/browser/callConnection.d.ts +76 -0
- package/dist/browser/callConnection.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/callConnection.js +4 -4
- package/dist/browser/callConnection.js.map +1 -0
- package/dist/browser/callMedia.d.ts +84 -0
- package/dist/browser/callMedia.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/callMedia.js +2 -2
- package/dist/browser/callMedia.js.map +1 -0
- package/dist/browser/callRecording.d.ts +70 -0
- package/dist/browser/callRecording.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/callRecording.js +5 -5
- package/dist/browser/callRecording.js.map +1 -0
- package/dist/browser/contentDownloader.d.ts +25 -0
- package/dist/browser/contentDownloader.d.ts.map +1 -0
- package/dist/browser/contentDownloader.js.map +1 -0
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.d.ts +10 -0
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/credential/callAutomationAccessKeyCredentialPolicy.js +1 -1
- package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -0
- package/dist/browser/credential/callAutomationAuthPolicy.d.ts +22 -0
- package/dist/browser/credential/callAutomationAuthPolicy.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/credential/callAutomationAuthPolicy.js +2 -2
- package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -0
- package/dist/browser/credential/cryptoUtils-browser.d.mts.map +1 -0
- package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -0
- package/dist/browser/credential/cryptoUtils.d.ts +3 -0
- package/{dist-esm/src/credential/cryptoUtils.browser.js → dist/browser/credential/cryptoUtils.js} +2 -2
- package/dist/browser/credential/encodeUtils.browser.d.ts +4 -0
- package/dist/browser/credential/encodeUtils.browser.d.ts.map +1 -0
- package/dist/browser/generated/src/callAutomationApiClient.d.ts +49 -0
- package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/callAutomationApiClient.js +3 -3
- package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -0
- package/dist/browser/generated/src/index.d.ts +5 -0
- package/dist/browser/generated/src/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/index.js +4 -4
- package/dist/browser/generated/src/index.js.map +1 -0
- package/dist/browser/generated/src/models/index.d.ts +1494 -0
- package/dist/browser/generated/src/models/index.d.ts.map +1 -0
- package/dist/browser/generated/src/models/mappers.d.ts +82 -0
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/src/models/parameters.d.ts +29 -0
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js +1 -1
- package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/callConnection.d.ts +96 -0
- package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/callConnection.js +3 -3
- package/dist/browser/generated/src/operations/callConnection.js.map +1 -0
- package/dist/browser/generated/src/operations/callMedia.d.ts +68 -0
- package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/callMedia.js +2 -2
- package/dist/browser/generated/src/operations/callMedia.js.map +1 -0
- package/dist/browser/generated/src/operations/callRecording.d.ts +43 -0
- package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/callRecording.js +2 -2
- package/dist/browser/generated/src/operations/callRecording.js.map +1 -0
- package/dist/browser/generated/src/operations/index.d.ts +4 -0
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operationsInterfaces → dist/browser/generated/src/operations}/index.js +3 -3
- package/dist/browser/generated/src/operations/index.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +73 -0
- package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +60 -0
- package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +35 -0
- package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js +11 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/src/pagingHelper.d.ts +13 -0
- package/dist/browser/generated/src/pagingHelper.d.ts.map +1 -0
- package/dist/browser/index.d.ts +10 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +12 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/constants.d.ts +2 -0
- package/dist/browser/models/constants.d.ts.map +1 -0
- package/dist/browser/models/events.d.ts +395 -0
- package/dist/browser/models/events.d.ts.map +1 -0
- package/dist/browser/models/events.js.map +1 -0
- package/dist/browser/models/logger.d.ts +5 -0
- package/dist/browser/models/logger.d.ts.map +1 -0
- package/dist/browser/models/mapper.d.ts +3 -0
- package/dist/browser/models/mapper.d.ts.map +1 -0
- package/dist/browser/models/models.d.ts +188 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/models.js +1 -1
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/models/options.d.ts +315 -0
- package/dist/browser/models/options.d.ts.map +1 -0
- package/dist/browser/models/options.js.map +1 -0
- package/dist/browser/models/responses.d.ts +73 -0
- package/dist/browser/models/responses.d.ts.map +1 -0
- package/dist/browser/models/responses.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/utli/converters.d.ts +22 -0
- package/dist/browser/utli/converters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/utli/converters.js +15 -1
- package/dist/browser/utli/converters.js.map +1 -0
- package/dist/commonjs/callAutomationClient.d.ts +98 -0
- package/dist/commonjs/callAutomationClient.d.ts.map +1 -0
- package/dist/commonjs/callAutomationClient.js +218 -0
- package/{dist-esm/src → dist/commonjs}/callAutomationClient.js.map +1 -1
- package/dist/commonjs/callAutomationEventParser.d.ts +6 -0
- package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -0
- package/dist/commonjs/callAutomationEventParser.js +151 -0
- package/dist/commonjs/callAutomationEventParser.js.map +1 -0
- package/dist/commonjs/callConnection.d.ts +76 -0
- package/dist/commonjs/callConnection.d.ts.map +1 -0
- package/dist/commonjs/callConnection.js +215 -0
- package/dist/commonjs/callConnection.js.map +1 -0
- package/dist/commonjs/callMedia.d.ts +84 -0
- package/dist/commonjs/callMedia.d.ts.map +1 -0
- package/dist/commonjs/callMedia.js +326 -0
- package/{dist-esm/src → dist/commonjs}/callMedia.js.map +1 -1
- package/dist/commonjs/callRecording.d.ts +70 -0
- package/dist/commonjs/callRecording.d.ts.map +1 -0
- package/dist/commonjs/callRecording.js +184 -0
- package/dist/commonjs/callRecording.js.map +1 -0
- package/dist/commonjs/contentDownloader.d.ts +25 -0
- package/dist/commonjs/contentDownloader.d.ts.map +1 -0
- package/dist/commonjs/contentDownloader.js +108 -0
- package/dist/commonjs/contentDownloader.js.map +1 -0
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.d.ts +10 -0
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +42 -0
- package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -0
- package/dist/commonjs/credential/callAutomationAuthPolicy.d.ts +22 -0
- package/dist/commonjs/credential/callAutomationAuthPolicy.d.ts.map +1 -0
- package/dist/commonjs/credential/callAutomationAuthPolicy.js +57 -0
- package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -0
- package/dist/commonjs/credential/cryptoUtils.d.ts +3 -0
- package/dist/commonjs/credential/cryptoUtils.d.ts.map +1 -0
- package/dist/commonjs/credential/cryptoUtils.js +14 -0
- package/dist/commonjs/credential/cryptoUtils.js.map +1 -0
- package/dist/commonjs/credential/encodeUtils.browser.d.ts +4 -0
- package/dist/commonjs/credential/encodeUtils.browser.d.ts.map +1 -0
- package/dist/commonjs/credential/encodeUtils.browser.js +32 -0
- package/dist/commonjs/credential/encodeUtils.browser.js.map +1 -0
- package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +49 -0
- package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -0
- package/dist/commonjs/generated/src/callAutomationApiClient.js +231 -0
- package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -0
- package/dist/commonjs/generated/src/index.d.ts +5 -0
- package/dist/commonjs/generated/src/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/index.js +19 -0
- package/dist/commonjs/generated/src/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/index.d.ts +1494 -0
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/index.js +203 -0
- package/dist/commonjs/generated/src/models/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts +82 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.js +2857 -0
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts +29 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.js +183 -0
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/src/operations/callConnection.d.ts +96 -0
- package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/callConnection.js +406 -0
- package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -0
- package/dist/commonjs/generated/src/operations/callMedia.d.ts +68 -0
- package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/callMedia.js +232 -0
- package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -0
- package/dist/commonjs/generated/src/operations/callRecording.d.ts +43 -0
- package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/callRecording.js +149 -0
- package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -0
- package/dist/commonjs/generated/src/operations/index.d.ts +4 -0
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/index.js +14 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +73 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operations/index.js → dist/commonjs/generated/src/operationsInterfaces/callConnection.js} +3 -4
- package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +60 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +35 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/src/pagingHelper.d.ts +13 -0
- package/dist/commonjs/generated/src/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/generated/src/pagingHelper.js +36 -0
- package/dist/commonjs/generated/src/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +10 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +15 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/constants.d.ts +2 -0
- package/dist/commonjs/models/constants.d.ts.map +1 -0
- package/dist/commonjs/models/constants.js +7 -0
- package/dist/commonjs/models/constants.js.map +1 -0
- package/dist/commonjs/models/events.d.ts +395 -0
- package/dist/commonjs/models/events.d.ts.map +1 -0
- package/dist/commonjs/models/events.js +5 -0
- package/dist/commonjs/models/events.js.map +1 -0
- package/dist/commonjs/models/logger.d.ts +5 -0
- package/dist/commonjs/models/logger.d.ts.map +1 -0
- package/dist/commonjs/models/logger.js +11 -0
- package/dist/commonjs/models/logger.js.map +1 -0
- package/dist/commonjs/models/mapper.d.ts +3 -0
- package/dist/commonjs/models/mapper.d.ts.map +1 -0
- package/dist/commonjs/models/mapper.js +79 -0
- package/dist/commonjs/models/mapper.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +188 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +58 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/models/options.d.ts +315 -0
- package/dist/commonjs/models/options.d.ts.map +1 -0
- package/dist/commonjs/models/options.js +5 -0
- package/dist/commonjs/models/options.js.map +1 -0
- package/dist/commonjs/models/responses.d.ts +73 -0
- package/dist/commonjs/models/responses.d.ts.map +1 -0
- package/dist/commonjs/models/responses.js +5 -0
- package/dist/commonjs/models/responses.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/utli/converters.d.ts +22 -0
- package/dist/commonjs/utli/converters.d.ts.map +1 -0
- package/dist/commonjs/utli/converters.js +153 -0
- package/dist/commonjs/utli/converters.js.map +1 -0
- package/dist/esm/callAutomationClient.d.ts +98 -0
- package/dist/esm/callAutomationClient.d.ts.map +1 -0
- package/dist/esm/callAutomationClient.js +214 -0
- package/dist/esm/callAutomationClient.js.map +1 -0
- package/dist/esm/callAutomationEventParser.d.ts +6 -0
- package/dist/esm/callAutomationEventParser.d.ts.map +1 -0
- package/dist/esm/callAutomationEventParser.js +148 -0
- package/dist/esm/callAutomationEventParser.js.map +1 -0
- package/dist/esm/callConnection.d.ts +76 -0
- package/dist/esm/callConnection.d.ts.map +1 -0
- package/dist/esm/callConnection.js +211 -0
- package/dist/esm/callConnection.js.map +1 -0
- package/dist/esm/callMedia.d.ts +84 -0
- package/dist/esm/callMedia.d.ts.map +1 -0
- package/dist/esm/callMedia.js +322 -0
- package/dist/esm/callMedia.js.map +1 -0
- package/dist/esm/callRecording.d.ts +70 -0
- package/dist/esm/callRecording.d.ts.map +1 -0
- package/dist/esm/callRecording.js +179 -0
- package/dist/esm/callRecording.js.map +1 -0
- package/dist/esm/contentDownloader.d.ts +25 -0
- package/dist/esm/contentDownloader.d.ts.map +1 -0
- package/dist/esm/contentDownloader.js +104 -0
- package/dist/esm/contentDownloader.js.map +1 -0
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.d.ts +10 -0
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +39 -0
- package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -0
- package/dist/esm/credential/callAutomationAuthPolicy.d.ts +22 -0
- package/dist/esm/credential/callAutomationAuthPolicy.d.ts.map +1 -0
- package/dist/esm/credential/callAutomationAuthPolicy.js +53 -0
- package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -0
- package/dist/esm/credential/cryptoUtils.d.ts +3 -0
- package/dist/esm/credential/cryptoUtils.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/credential/cryptoUtils.js +1 -1
- package/{dist-esm/src → dist/esm}/credential/cryptoUtils.js.map +1 -1
- package/dist/esm/credential/encodeUtils.browser.d.ts +4 -0
- package/dist/esm/credential/encodeUtils.browser.d.ts.map +1 -0
- package/dist/esm/credential/encodeUtils.browser.js +26 -0
- package/dist/esm/credential/encodeUtils.browser.js.map +1 -0
- package/dist/esm/generated/src/callAutomationApiClient.d.ts +49 -0
- package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -0
- package/dist/esm/generated/src/callAutomationApiClient.js +226 -0
- package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -0
- package/dist/esm/generated/src/index.d.ts +5 -0
- package/dist/esm/generated/src/index.d.ts.map +1 -0
- package/dist/esm/generated/src/index.js +13 -0
- package/dist/esm/generated/src/index.js.map +1 -0
- package/dist/esm/generated/src/models/index.d.ts +1494 -0
- package/dist/esm/generated/src/models/index.d.ts.map +1 -0
- package/dist/esm/generated/src/models/index.js +200 -0
- package/dist/esm/generated/src/models/index.js.map +1 -0
- package/dist/esm/generated/src/models/mappers.d.ts +82 -0
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/src/models/mappers.js +2853 -0
- package/dist/esm/generated/src/models/mappers.js.map +1 -0
- package/dist/esm/generated/src/models/parameters.d.ts +29 -0
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/src/models/parameters.js +180 -0
- package/dist/esm/generated/src/models/parameters.js.map +1 -0
- package/dist/esm/generated/src/operations/callConnection.d.ts +96 -0
- package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/callConnection.js +402 -0
- package/dist/esm/generated/src/operations/callConnection.js.map +1 -0
- package/dist/esm/generated/src/operations/callMedia.d.ts +68 -0
- package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/callMedia.js +227 -0
- package/dist/esm/generated/src/operations/callMedia.js.map +1 -0
- package/dist/esm/generated/src/operations/callRecording.d.ts +43 -0
- package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/callRecording.js +144 -0
- package/dist/esm/generated/src/operations/callRecording.js.map +1 -0
- package/dist/esm/generated/src/operations/index.d.ts +4 -0
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/index.js +11 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +73 -0
- package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callConnection.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +60 -0
- package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callMedia.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +35 -0
- package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/callRecording.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js +11 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/src/pagingHelper.d.ts +13 -0
- package/dist/esm/generated/src/pagingHelper.d.ts.map +1 -0
- package/dist/esm/generated/src/pagingHelper.js +32 -0
- package/dist/esm/generated/src/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/constants.d.ts +2 -0
- package/dist/esm/models/constants.d.ts.map +1 -0
- package/dist/esm/models/constants.js +4 -0
- package/dist/esm/models/constants.js.map +1 -0
- package/dist/esm/models/events.d.ts +395 -0
- package/dist/esm/models/events.d.ts.map +1 -0
- package/dist/esm/models/events.js +4 -0
- package/dist/esm/models/events.js.map +1 -0
- package/dist/esm/models/logger.d.ts +5 -0
- package/dist/esm/models/logger.d.ts.map +1 -0
- package/dist/esm/models/logger.js +8 -0
- package/dist/esm/models/logger.js.map +1 -0
- package/dist/esm/models/mapper.d.ts +3 -0
- package/dist/esm/models/mapper.d.ts.map +1 -0
- package/dist/esm/models/mapper.js +76 -0
- package/dist/esm/models/mapper.js.map +1 -0
- package/dist/esm/models/models.d.ts +188 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +54 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/models/options.d.ts +315 -0
- package/dist/esm/models/options.d.ts.map +1 -0
- package/dist/esm/models/options.js +4 -0
- package/dist/esm/models/options.js.map +1 -0
- package/dist/esm/models/responses.d.ts +73 -0
- package/dist/esm/models/responses.d.ts.map +1 -0
- package/dist/esm/models/responses.js +4 -0
- package/dist/esm/models/responses.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/utli/converters.d.ts +22 -0
- package/dist/esm/utli/converters.d.ts.map +1 -0
- package/dist/esm/utli/converters.js +142 -0
- package/dist/esm/utli/converters.js.map +1 -0
- package/dist/react-native/callAutomationClient.d.ts +98 -0
- package/dist/react-native/callAutomationClient.d.ts.map +1 -0
- package/dist/react-native/callAutomationClient.js +214 -0
- package/dist/react-native/callAutomationClient.js.map +1 -0
- package/dist/react-native/callAutomationEventParser.d.ts +6 -0
- package/dist/react-native/callAutomationEventParser.d.ts.map +1 -0
- package/dist/react-native/callAutomationEventParser.js +148 -0
- package/dist/react-native/callAutomationEventParser.js.map +1 -0
- package/dist/react-native/callConnection.d.ts +76 -0
- package/dist/react-native/callConnection.d.ts.map +1 -0
- package/dist/react-native/callConnection.js +211 -0
- package/dist/react-native/callConnection.js.map +1 -0
- package/dist/react-native/callMedia.d.ts +84 -0
- package/dist/react-native/callMedia.d.ts.map +1 -0
- package/dist/react-native/callMedia.js +322 -0
- package/dist/react-native/callMedia.js.map +1 -0
- package/dist/react-native/callRecording.d.ts +70 -0
- package/dist/react-native/callRecording.d.ts.map +1 -0
- package/dist/react-native/callRecording.js +179 -0
- package/dist/react-native/callRecording.js.map +1 -0
- package/dist/react-native/contentDownloader.d.ts +25 -0
- package/dist/react-native/contentDownloader.d.ts.map +1 -0
- package/dist/react-native/contentDownloader.js +104 -0
- package/dist/react-native/contentDownloader.js.map +1 -0
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.d.ts +10 -0
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +39 -0
- package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -0
- package/dist/react-native/credential/callAutomationAuthPolicy.d.ts +22 -0
- package/dist/react-native/credential/callAutomationAuthPolicy.d.ts.map +1 -0
- package/dist/react-native/credential/callAutomationAuthPolicy.js +53 -0
- package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -0
- package/dist/react-native/credential/cryptoUtils.d.ts +3 -0
- package/dist/react-native/credential/cryptoUtils.d.ts.map +1 -0
- package/dist/react-native/credential/cryptoUtils.js +9 -0
- package/dist/react-native/credential/cryptoUtils.js.map +1 -0
- package/dist/react-native/credential/encodeUtils.browser.d.ts +4 -0
- package/dist/react-native/credential/encodeUtils.browser.d.ts.map +1 -0
- package/dist/react-native/credential/encodeUtils.browser.js +26 -0
- package/dist/react-native/credential/encodeUtils.browser.js.map +1 -0
- package/dist/react-native/generated/src/callAutomationApiClient.d.ts +49 -0
- package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -0
- package/dist/react-native/generated/src/callAutomationApiClient.js +226 -0
- package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -0
- package/dist/react-native/generated/src/index.d.ts +5 -0
- package/dist/react-native/generated/src/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/index.js +13 -0
- package/dist/react-native/generated/src/index.js.map +1 -0
- package/dist/react-native/generated/src/models/index.d.ts +1494 -0
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/index.js +200 -0
- package/dist/react-native/generated/src/models/index.js.map +1 -0
- package/dist/react-native/generated/src/models/mappers.d.ts +82 -0
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/mappers.js +2853 -0
- package/dist/react-native/generated/src/models/mappers.js.map +1 -0
- package/dist/react-native/generated/src/models/parameters.d.ts +29 -0
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/parameters.js +180 -0
- package/dist/react-native/generated/src/models/parameters.js.map +1 -0
- package/dist/react-native/generated/src/operations/callConnection.d.ts +96 -0
- package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/callConnection.js +402 -0
- package/dist/react-native/generated/src/operations/callConnection.js.map +1 -0
- package/dist/react-native/generated/src/operations/callMedia.d.ts +68 -0
- package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/callMedia.js +227 -0
- package/dist/react-native/generated/src/operations/callMedia.js.map +1 -0
- package/dist/react-native/generated/src/operations/callRecording.d.ts +43 -0
- package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/callRecording.js +144 -0
- package/dist/react-native/generated/src/operations/callRecording.js.map +1 -0
- package/dist/react-native/generated/src/operations/index.d.ts +4 -0
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/index.js +11 -0
- package/dist/react-native/generated/src/operations/index.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +73 -0
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +60 -0
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +35 -0
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js +11 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/src/pagingHelper.d.ts +13 -0
- package/dist/react-native/generated/src/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/generated/src/pagingHelper.js +32 -0
- package/dist/react-native/generated/src/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +10 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +12 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/constants.d.ts +2 -0
- package/dist/react-native/models/constants.d.ts.map +1 -0
- package/dist/react-native/models/constants.js +4 -0
- package/dist/react-native/models/constants.js.map +1 -0
- package/dist/react-native/models/events.d.ts +395 -0
- package/dist/react-native/models/events.d.ts.map +1 -0
- package/dist/react-native/models/events.js +4 -0
- package/dist/react-native/models/events.js.map +1 -0
- package/dist/react-native/models/logger.d.ts +5 -0
- package/dist/react-native/models/logger.d.ts.map +1 -0
- package/dist/react-native/models/logger.js +8 -0
- package/dist/react-native/models/logger.js.map +1 -0
- package/dist/react-native/models/mapper.d.ts +3 -0
- package/dist/react-native/models/mapper.d.ts.map +1 -0
- package/dist/react-native/models/mapper.js +76 -0
- package/dist/react-native/models/mapper.js.map +1 -0
- package/dist/react-native/models/models.d.ts +188 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +54 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/models/options.d.ts +315 -0
- package/dist/react-native/models/options.d.ts.map +1 -0
- package/dist/react-native/models/options.js +4 -0
- package/dist/react-native/models/options.js.map +1 -0
- package/dist/react-native/models/responses.d.ts +73 -0
- package/dist/react-native/models/responses.d.ts.map +1 -0
- package/dist/react-native/models/responses.js +4 -0
- package/dist/react-native/models/responses.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/utli/converters.d.ts +22 -0
- package/dist/react-native/utli/converters.d.ts.map +1 -0
- package/dist/react-native/utli/converters.js +142 -0
- package/dist/react-native/utli/converters.js.map +1 -0
- package/package.json +91 -53
- package/dist/index.js +0 -5763
- package/dist/index.js.map +0 -1
- package/dist-esm/src/callAutomationEventParser.js.map +0 -1
- package/dist-esm/src/callConnection.js.map +0 -1
- package/dist-esm/src/callRecording.js.map +0 -1
- package/dist-esm/src/contentDownloader.js.map +0 -1
- package/dist-esm/src/credential/callAutomationAccessKeyCredentialPolicy.js.map +0 -1
- package/dist-esm/src/credential/callAutomationAuthPolicy.js.map +0 -1
- package/dist-esm/src/credential/cryptoUtils.browser.js.map +0 -1
- package/dist-esm/src/generated/src/callAutomationApiClient.js.map +0 -1
- package/dist-esm/src/generated/src/index.js.map +0 -1
- package/dist-esm/src/generated/src/operations/callConnection.js.map +0 -1
- package/dist-esm/src/generated/src/operations/callMedia.js.map +0 -1
- package/dist-esm/src/generated/src/operations/callRecording.js.map +0 -1
- package/dist-esm/src/generated/src/operations/index.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/callConnection.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/callMedia.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/callRecording.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/index.js +0 -12
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/events.js.map +0 -1
- package/dist-esm/src/models/models.js.map +0 -1
- package/dist-esm/src/models/options.js.map +0 -1
- package/dist-esm/src/models/responses.js.map +0 -1
- package/dist-esm/src/utli/converters.js.map +0 -1
- package/types/communication-call-automation.d.ts +0 -2014
- /package/{dist-esm/src → dist/browser}/contentDownloader.js +0 -0
- /package/{dist-esm/src → dist/browser}/credential/encodeUtils.browser.js +0 -0
- /package/{dist-esm/src → dist/browser}/credential/encodeUtils.browser.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/callConnection.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/callMedia.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/callRecording.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/pagingHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/pagingHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/events.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mapper.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mapper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/options.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/responses.js +0 -0
|
@@ -0,0 +1,1494 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** The request payload for creating the call. */
|
|
3
|
+
export interface CreateCallRequest {
|
|
4
|
+
/** The targets of the call. */
|
|
5
|
+
targets: CommunicationIdentifierModel[];
|
|
6
|
+
/**
|
|
7
|
+
* The source caller Id, a phone number, that's shown to the PSTN participant being invited.
|
|
8
|
+
* Required only when calling a PSTN callee.
|
|
9
|
+
*/
|
|
10
|
+
sourceCallerIdNumber?: PhoneNumberIdentifierModel;
|
|
11
|
+
/** Display name of the call if dialing out to a pstn number */
|
|
12
|
+
sourceDisplayName?: string;
|
|
13
|
+
/** The identifier of the source of the call */
|
|
14
|
+
source?: CommunicationUserIdentifierModel;
|
|
15
|
+
/** A customer set value used to track the answering of a call. */
|
|
16
|
+
operationContext?: string;
|
|
17
|
+
/** The callback URI. */
|
|
18
|
+
callbackUri: string;
|
|
19
|
+
/** AI options for the call. */
|
|
20
|
+
callIntelligenceOptions?: CallIntelligenceOptionsInternal;
|
|
21
|
+
}
|
|
22
|
+
/** 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. */
|
|
23
|
+
export interface CommunicationIdentifierModel {
|
|
24
|
+
/** The identifier kind. Only required in responses. */
|
|
25
|
+
kind?: CommunicationIdentifierModelKind;
|
|
26
|
+
/** Raw Id of the identifier. Optional in requests, required in responses. */
|
|
27
|
+
rawId?: string;
|
|
28
|
+
/** The communication user. */
|
|
29
|
+
communicationUser?: CommunicationUserIdentifierModel;
|
|
30
|
+
/** The phone number. */
|
|
31
|
+
phoneNumber?: PhoneNumberIdentifierModel;
|
|
32
|
+
/** The Microsoft Teams user. */
|
|
33
|
+
microsoftTeamsUser?: MicrosoftTeamsUserIdentifierModel;
|
|
34
|
+
/** The Microsoft Teams application. */
|
|
35
|
+
microsoftTeamsApp?: MicrosoftTeamsAppIdentifierModel;
|
|
36
|
+
}
|
|
37
|
+
/** A user that got created with an Azure Communication Services resource. */
|
|
38
|
+
export interface CommunicationUserIdentifierModel {
|
|
39
|
+
/** The Id of the communication user. */
|
|
40
|
+
id: string;
|
|
41
|
+
}
|
|
42
|
+
/** A phone number. */
|
|
43
|
+
export interface PhoneNumberIdentifierModel {
|
|
44
|
+
/** The phone number in E.164 format. */
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
/** A Microsoft Teams user. */
|
|
48
|
+
export interface MicrosoftTeamsUserIdentifierModel {
|
|
49
|
+
/** The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user. */
|
|
50
|
+
userId: string;
|
|
51
|
+
/** True if the Microsoft Teams user is anonymous. By default false if missing. */
|
|
52
|
+
isAnonymous?: boolean;
|
|
53
|
+
/** The cloud that the Microsoft Teams user belongs to. By default 'public' if missing. */
|
|
54
|
+
cloud?: CommunicationCloudEnvironmentModel;
|
|
55
|
+
}
|
|
56
|
+
/** A Microsoft Teams application. */
|
|
57
|
+
export interface MicrosoftTeamsAppIdentifierModel {
|
|
58
|
+
/** The Id of the Microsoft Teams application. */
|
|
59
|
+
appId: string;
|
|
60
|
+
/** The cloud that the Microsoft Teams application belongs to. By default 'public' if missing. */
|
|
61
|
+
cloud?: CommunicationCloudEnvironmentModel;
|
|
62
|
+
}
|
|
63
|
+
/** AI options for the call. */
|
|
64
|
+
export interface CallIntelligenceOptionsInternal {
|
|
65
|
+
/** The identifier of the Cognitive Service resource assigned to this call. */
|
|
66
|
+
cognitiveServicesEndpoint?: string;
|
|
67
|
+
}
|
|
68
|
+
/** Properties of a call connection */
|
|
69
|
+
export interface CallConnectionPropertiesInternal {
|
|
70
|
+
/** The call connection id. */
|
|
71
|
+
callConnectionId?: string;
|
|
72
|
+
/** The server call id. */
|
|
73
|
+
serverCallId?: string;
|
|
74
|
+
/** The targets of the call. */
|
|
75
|
+
targets?: CommunicationIdentifierModel[];
|
|
76
|
+
/** The state of the call connection. */
|
|
77
|
+
callConnectionState?: CallConnectionStateModel;
|
|
78
|
+
/** The callback URI. */
|
|
79
|
+
callbackUri?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The source caller Id, a phone number, that's shown to the PSTN participant being invited.
|
|
82
|
+
* Only populated in outbound PSTN calls.
|
|
83
|
+
*/
|
|
84
|
+
sourceCallerIdNumber?: PhoneNumberIdentifierModel;
|
|
85
|
+
/** Display name of the call if dialing out to a pstn number. */
|
|
86
|
+
sourceDisplayName?: string;
|
|
87
|
+
/** Source identity. */
|
|
88
|
+
source?: CommunicationIdentifierModel;
|
|
89
|
+
/** The correlation ID. */
|
|
90
|
+
correlationId?: string;
|
|
91
|
+
/** Identity of the answering entity. Only populated when identity is provided in the request and an inbound call. */
|
|
92
|
+
answeredBy?: CommunicationUserIdentifierModel;
|
|
93
|
+
/** Identity of the original PSTN target of an incoming Call. Only populated when the original target is a PSTN number and an inbound call. */
|
|
94
|
+
answeredFor?: PhoneNumberIdentifierModel;
|
|
95
|
+
}
|
|
96
|
+
/** The Communication Services error. */
|
|
97
|
+
export interface CommunicationErrorResponse {
|
|
98
|
+
/** The Communication Services error. */
|
|
99
|
+
error: CommunicationError;
|
|
100
|
+
}
|
|
101
|
+
/** The Communication Services error. */
|
|
102
|
+
export interface CommunicationError {
|
|
103
|
+
/** The error code. */
|
|
104
|
+
code: string;
|
|
105
|
+
/** The error message. */
|
|
106
|
+
message: string;
|
|
107
|
+
/**
|
|
108
|
+
* The error target.
|
|
109
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
110
|
+
*/
|
|
111
|
+
readonly target?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Further details about specific errors that led to this error.
|
|
114
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
115
|
+
*/
|
|
116
|
+
readonly details?: CommunicationError[];
|
|
117
|
+
/**
|
|
118
|
+
* The inner error if any.
|
|
119
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
120
|
+
*/
|
|
121
|
+
readonly innerError?: CommunicationError;
|
|
122
|
+
}
|
|
123
|
+
/** The request payload for answering the call. */
|
|
124
|
+
export interface AnswerCallRequest {
|
|
125
|
+
/** The context associated with the call. */
|
|
126
|
+
incomingCallContext: string;
|
|
127
|
+
/** The callback uri. */
|
|
128
|
+
callbackUri: string;
|
|
129
|
+
/** A customer set value used to track the answering of a call. */
|
|
130
|
+
operationContext?: string;
|
|
131
|
+
/** AI options for the call. */
|
|
132
|
+
callIntelligenceOptions?: CallIntelligenceOptionsInternal;
|
|
133
|
+
/** The identifier of the call automation entity which answers the call */
|
|
134
|
+
answeredBy?: CommunicationUserIdentifierModel;
|
|
135
|
+
}
|
|
136
|
+
/** The request payload for redirecting the call. */
|
|
137
|
+
export interface RedirectCallRequest {
|
|
138
|
+
/** The context associated with the call. */
|
|
139
|
+
incomingCallContext: string;
|
|
140
|
+
/** The target identity to redirect the call to. */
|
|
141
|
+
target: CommunicationIdentifierModel;
|
|
142
|
+
}
|
|
143
|
+
/** The request payload for rejecting the call. */
|
|
144
|
+
export interface RejectCallRequest {
|
|
145
|
+
/** The context associated with the call. */
|
|
146
|
+
incomingCallContext: string;
|
|
147
|
+
/** The rejection reason. */
|
|
148
|
+
callRejectReason?: CallRejectReason;
|
|
149
|
+
}
|
|
150
|
+
/** The request payload for creating a connection to a CallLocator. */
|
|
151
|
+
export interface ConnectRequest {
|
|
152
|
+
/** The call locator. */
|
|
153
|
+
callLocator: CallLocator;
|
|
154
|
+
/** The callback URI. */
|
|
155
|
+
callbackUri: string;
|
|
156
|
+
/** Used by customers to correlate the request to the response event. */
|
|
157
|
+
operationContext?: string;
|
|
158
|
+
/** AI options for the call. */
|
|
159
|
+
callIntelligenceOptions?: CallIntelligenceOptionsInternal;
|
|
160
|
+
}
|
|
161
|
+
/** The locator used for joining or taking action on a call */
|
|
162
|
+
export interface CallLocator {
|
|
163
|
+
/** The group call id */
|
|
164
|
+
groupCallId?: string;
|
|
165
|
+
/** The server call id. */
|
|
166
|
+
serverCallId?: string;
|
|
167
|
+
/** The Acs room id */
|
|
168
|
+
roomId?: string;
|
|
169
|
+
/** The call locator kind. */
|
|
170
|
+
kind?: CallLocatorKind;
|
|
171
|
+
}
|
|
172
|
+
/** The request payload for transferring call to a participant. */
|
|
173
|
+
export interface TransferToParticipantRequest {
|
|
174
|
+
/** The identity of the target where call should be transferred to. */
|
|
175
|
+
targetParticipant: CommunicationIdentifierModel;
|
|
176
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
177
|
+
operationContext?: string;
|
|
178
|
+
/** Transferee is the participant who is transferred away. */
|
|
179
|
+
transferee?: CommunicationIdentifierModel;
|
|
180
|
+
/**
|
|
181
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
182
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
183
|
+
*/
|
|
184
|
+
operationCallbackUri?: string;
|
|
185
|
+
/** Used by customer to send custom calling context to targets */
|
|
186
|
+
customCallingContext?: CustomCallingContextInternal;
|
|
187
|
+
/** 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. */
|
|
188
|
+
sourceCallerIdNumber?: PhoneNumberIdentifierModel;
|
|
189
|
+
}
|
|
190
|
+
/** The custom calling context which will be sent to the target */
|
|
191
|
+
export interface CustomCallingContextInternal {
|
|
192
|
+
/** Custom calling context VoiP headers */
|
|
193
|
+
voipHeaders?: {
|
|
194
|
+
[propertyName: string]: string;
|
|
195
|
+
};
|
|
196
|
+
/** Custom calling context SIP headers */
|
|
197
|
+
sipHeaders?: {
|
|
198
|
+
[propertyName: string]: string;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
/** The response payload for transferring the call. */
|
|
202
|
+
export interface TransferCallResponse {
|
|
203
|
+
/** The operation context provided by client. */
|
|
204
|
+
operationContext?: string;
|
|
205
|
+
}
|
|
206
|
+
export interface PlayRequest {
|
|
207
|
+
/** The source of the audio to be played. */
|
|
208
|
+
playSources: PlaySourceInternal[];
|
|
209
|
+
/**
|
|
210
|
+
* The list of call participants play provided audio to.
|
|
211
|
+
* Plays to everyone in the call when not provided.
|
|
212
|
+
*/
|
|
213
|
+
playTo?: CommunicationIdentifierModel[];
|
|
214
|
+
/** If set play can barge into other existing queued-up/currently-processing requests. */
|
|
215
|
+
interruptCallMediaOperation?: boolean;
|
|
216
|
+
/** Defines options for playing the audio. */
|
|
217
|
+
playOptions?: PlayOptionsInternal;
|
|
218
|
+
/** The value to identify context of the operation. */
|
|
219
|
+
operationContext?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
222
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
223
|
+
*/
|
|
224
|
+
operationCallbackUri?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface PlaySourceInternal {
|
|
227
|
+
/** Defines the type of the play source */
|
|
228
|
+
kind: PlaySourceType;
|
|
229
|
+
/** Defines the identifier to be used for caching related media */
|
|
230
|
+
playSourceCacheId?: string;
|
|
231
|
+
/** Defines the file source info to be used for play */
|
|
232
|
+
file?: FileSourceInternal;
|
|
233
|
+
/** Defines the text source info to be used for play */
|
|
234
|
+
text?: TextSourceInternal;
|
|
235
|
+
/** Defines the ssml(Speech Synthesis Markup Language) source info to be used for play */
|
|
236
|
+
ssml?: SsmlSourceInternal;
|
|
237
|
+
}
|
|
238
|
+
export interface FileSourceInternal {
|
|
239
|
+
/** Uri for the audio file to be played */
|
|
240
|
+
uri: string;
|
|
241
|
+
}
|
|
242
|
+
export interface TextSourceInternal {
|
|
243
|
+
/** Text for the cognitive service to be played */
|
|
244
|
+
text: string;
|
|
245
|
+
/**
|
|
246
|
+
* Source language locale to be played
|
|
247
|
+
* Refer to available locales here: <seealso href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts" />
|
|
248
|
+
*/
|
|
249
|
+
sourceLocale?: string;
|
|
250
|
+
/** Voice kind type */
|
|
251
|
+
voiceKind?: VoiceKind;
|
|
252
|
+
/**
|
|
253
|
+
* Voice name to be played
|
|
254
|
+
* Refer to available Text-to-speech voices here: <seealso href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts" />
|
|
255
|
+
*/
|
|
256
|
+
voiceName?: string;
|
|
257
|
+
/** Endpoint where the custom voice was deployed. */
|
|
258
|
+
customVoiceEndpointId?: string;
|
|
259
|
+
}
|
|
260
|
+
export interface SsmlSourceInternal {
|
|
261
|
+
/** Ssml string for the cognitive service to be played */
|
|
262
|
+
ssmlText: string;
|
|
263
|
+
/** Endpoint where the custom voice was deployed. */
|
|
264
|
+
customVoiceEndpointId?: string;
|
|
265
|
+
}
|
|
266
|
+
export interface PlayOptionsInternal {
|
|
267
|
+
/** The option to play the provided audio source in loop when set to true */
|
|
268
|
+
loop: boolean;
|
|
269
|
+
}
|
|
270
|
+
export interface RecognizeRequest {
|
|
271
|
+
/** Determines the type of the recognition. */
|
|
272
|
+
recognizeInputType: RecognizeInputType;
|
|
273
|
+
/** The source of the audio to be played for recognition. */
|
|
274
|
+
playPrompt?: PlaySourceInternal;
|
|
275
|
+
/** The source of the audio to be played for recognition. */
|
|
276
|
+
playPrompts?: PlaySourceInternal[];
|
|
277
|
+
/** If set recognize can barge into other existing queued-up/currently-processing requests. */
|
|
278
|
+
interruptCallMediaOperation?: boolean;
|
|
279
|
+
/** Defines options for recognition. */
|
|
280
|
+
recognizeOptions: RecognizeOptions;
|
|
281
|
+
/** The value to identify context of the operation. */
|
|
282
|
+
operationContext?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
285
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
286
|
+
*/
|
|
287
|
+
operationCallbackUri?: string;
|
|
288
|
+
}
|
|
289
|
+
export interface RecognizeOptions {
|
|
290
|
+
/** Determines if we interrupt the prompt and start recognizing. */
|
|
291
|
+
interruptPrompt?: boolean;
|
|
292
|
+
/** Time to wait for first input after prompt (if any). */
|
|
293
|
+
initialSilenceTimeoutInSeconds?: number;
|
|
294
|
+
/** Target participant of DTMF tone recognition. */
|
|
295
|
+
targetParticipant: CommunicationIdentifierModel;
|
|
296
|
+
/** Speech language to be recognized, If not set default is en-US */
|
|
297
|
+
speechLanguage?: string;
|
|
298
|
+
/** Endpoint where the custom model was deployed. */
|
|
299
|
+
speechRecognitionModelEndpointId?: string;
|
|
300
|
+
/** Defines configurations for DTMF. */
|
|
301
|
+
dtmfOptions?: DtmfOptions;
|
|
302
|
+
/** Defines Ivr choices for recognize. */
|
|
303
|
+
choices?: Choice[];
|
|
304
|
+
/** Defines continuous speech recognition option. */
|
|
305
|
+
speechOptions?: SpeechOptions;
|
|
306
|
+
}
|
|
307
|
+
/** Options for DTMF recognition */
|
|
308
|
+
export interface DtmfOptions {
|
|
309
|
+
/** Time to wait between DTMF inputs to stop recognizing. */
|
|
310
|
+
interToneTimeoutInSeconds?: number;
|
|
311
|
+
/** Maximum number of DTMF tones to be collected. */
|
|
312
|
+
maxTonesToCollect?: number;
|
|
313
|
+
/** List of tones that will stop recognizing. */
|
|
314
|
+
stopTones?: Tone[];
|
|
315
|
+
}
|
|
316
|
+
export interface Choice {
|
|
317
|
+
/** Identifier for a given choice */
|
|
318
|
+
label: string;
|
|
319
|
+
/** List of phrases to recognize */
|
|
320
|
+
phrases: string[];
|
|
321
|
+
tone?: Tone;
|
|
322
|
+
}
|
|
323
|
+
/** Options for continuous speech recognition */
|
|
324
|
+
export interface SpeechOptions {
|
|
325
|
+
/** The length of end silence when user stops speaking and cogservice send response. */
|
|
326
|
+
endSilenceTimeoutInMs?: number;
|
|
327
|
+
}
|
|
328
|
+
export interface ContinuousDtmfRecognitionRequest {
|
|
329
|
+
/** Defines options for recognition. */
|
|
330
|
+
targetParticipant: CommunicationIdentifierModel;
|
|
331
|
+
/** The value to identify context of the operation. */
|
|
332
|
+
operationContext?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
335
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
336
|
+
*/
|
|
337
|
+
operationCallbackUri?: string;
|
|
338
|
+
}
|
|
339
|
+
export interface SendDtmfTonesRequest {
|
|
340
|
+
/** List of tones to be sent to target participant. */
|
|
341
|
+
tones: Tone[];
|
|
342
|
+
/** Target participant of send Dtmf tones. */
|
|
343
|
+
targetParticipant: CommunicationIdentifierModel;
|
|
344
|
+
/** The value to identify context of the operation. */
|
|
345
|
+
operationContext?: string;
|
|
346
|
+
/**
|
|
347
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
348
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
349
|
+
*/
|
|
350
|
+
operationCallbackUri?: string;
|
|
351
|
+
}
|
|
352
|
+
export interface SendDtmfTonesResult {
|
|
353
|
+
/** The operation context provided by client. */
|
|
354
|
+
operationContext?: string;
|
|
355
|
+
}
|
|
356
|
+
/** The request payload for holding participant from the call. */
|
|
357
|
+
export interface HoldRequest {
|
|
358
|
+
/** Participant to be held from the call. */
|
|
359
|
+
targetParticipant: CommunicationIdentifierModel;
|
|
360
|
+
/** Prompt to play while in hold. */
|
|
361
|
+
playSourceInfo?: PlaySourceInternal;
|
|
362
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
363
|
+
operationContext?: string;
|
|
364
|
+
/**
|
|
365
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
366
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
367
|
+
*/
|
|
368
|
+
operationCallbackUri?: string;
|
|
369
|
+
}
|
|
370
|
+
/** The request payload for holding participant from the call. */
|
|
371
|
+
export interface UnholdRequest {
|
|
372
|
+
/**
|
|
373
|
+
* Participants to be hold from the call.
|
|
374
|
+
* Only ACS Users are supported.
|
|
375
|
+
*/
|
|
376
|
+
targetParticipant: CommunicationIdentifierModel;
|
|
377
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
378
|
+
operationContext?: string;
|
|
379
|
+
}
|
|
380
|
+
/** The response payload for getting participants of the call. */
|
|
381
|
+
export interface GetParticipantsResponse {
|
|
382
|
+
/** List of the current participants in the call. */
|
|
383
|
+
value: CallParticipantInternal[];
|
|
384
|
+
/** Continue of the list of participants */
|
|
385
|
+
nextLink?: string;
|
|
386
|
+
}
|
|
387
|
+
/** A call participant. */
|
|
388
|
+
export interface CallParticipantInternal {
|
|
389
|
+
/** Communication identifier of the participant */
|
|
390
|
+
identifier?: CommunicationIdentifierModel;
|
|
391
|
+
/** Is participant muted */
|
|
392
|
+
isMuted?: boolean;
|
|
393
|
+
/** Is participant on hold. */
|
|
394
|
+
isOnHold?: boolean;
|
|
395
|
+
}
|
|
396
|
+
/** The request payload for adding participant to the call. */
|
|
397
|
+
export interface AddParticipantRequest {
|
|
398
|
+
/**
|
|
399
|
+
* The source caller Id, a phone number, that's shown to the PSTN participant being invited.
|
|
400
|
+
* Required only when inviting a PSTN participant.
|
|
401
|
+
*/
|
|
402
|
+
sourceCallerIdNumber?: PhoneNumberIdentifierModel;
|
|
403
|
+
/**
|
|
404
|
+
* (Optional) The display name of the source that is associated with this invite operation when
|
|
405
|
+
* adding a PSTN participant or teams user. Note: Will not update the display name in the roster.
|
|
406
|
+
*/
|
|
407
|
+
sourceDisplayName?: string;
|
|
408
|
+
/** The participant to invite. */
|
|
409
|
+
participantToAdd: CommunicationIdentifierModel;
|
|
410
|
+
/**
|
|
411
|
+
* Gets or sets the timeout to wait for the invited participant to pickup.
|
|
412
|
+
* The maximum value of this is 180 seconds
|
|
413
|
+
*/
|
|
414
|
+
invitationTimeoutInSeconds?: number;
|
|
415
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
416
|
+
operationContext?: string;
|
|
417
|
+
/**
|
|
418
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
419
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
420
|
+
*/
|
|
421
|
+
operationCallbackUri?: string;
|
|
422
|
+
/** Used by customer to send custom calling context to targets */
|
|
423
|
+
customCallingContext?: CustomCallingContextInternal;
|
|
424
|
+
}
|
|
425
|
+
/** The response payload for adding participants to the call. */
|
|
426
|
+
export interface AddParticipantResponse {
|
|
427
|
+
/** List of current participants in the call. */
|
|
428
|
+
participant?: CallParticipantInternal;
|
|
429
|
+
/** The operation context provided by client. */
|
|
430
|
+
operationContext?: string;
|
|
431
|
+
/** Invitation ID used to add a participant. */
|
|
432
|
+
invitationId?: string;
|
|
433
|
+
}
|
|
434
|
+
/** The remove participant by identifier request. */
|
|
435
|
+
export interface RemoveParticipantRequest {
|
|
436
|
+
/** The participants to be removed from the call. */
|
|
437
|
+
participantToRemove: CommunicationIdentifierModel;
|
|
438
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
439
|
+
operationContext?: string;
|
|
440
|
+
/**
|
|
441
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
442
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
443
|
+
*/
|
|
444
|
+
operationCallbackUri?: string;
|
|
445
|
+
}
|
|
446
|
+
/** The response payload for removing participants of the call. */
|
|
447
|
+
export interface RemoveParticipantResponse {
|
|
448
|
+
/** The operation context provided by client. */
|
|
449
|
+
operationContext?: string;
|
|
450
|
+
}
|
|
451
|
+
/** The request payload for muting participants from the call. */
|
|
452
|
+
export interface MuteParticipantsRequest {
|
|
453
|
+
/**
|
|
454
|
+
* Participants to be muted from the call.
|
|
455
|
+
* Only ACS Users are supported.
|
|
456
|
+
*/
|
|
457
|
+
targetParticipants: CommunicationIdentifierModel[];
|
|
458
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
459
|
+
operationContext?: string;
|
|
460
|
+
}
|
|
461
|
+
/** The result payload for muting participants from the call. */
|
|
462
|
+
export interface MuteParticipantsResult {
|
|
463
|
+
/** The operation context provided by client. */
|
|
464
|
+
operationContext?: string;
|
|
465
|
+
}
|
|
466
|
+
/** Request payload for cancelling add participant request. */
|
|
467
|
+
export interface CancelAddParticipantRequest {
|
|
468
|
+
/** Invitation ID used to add a participant. */
|
|
469
|
+
invitationId: string;
|
|
470
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
471
|
+
operationContext?: string;
|
|
472
|
+
/**
|
|
473
|
+
* Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
|
|
474
|
+
* This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
|
|
475
|
+
*/
|
|
476
|
+
operationCallbackUri?: string;
|
|
477
|
+
}
|
|
478
|
+
/** Response payload for cancel add participant request. */
|
|
479
|
+
export interface CancelAddParticipantResponse {
|
|
480
|
+
/** Invitation ID used to cancel the add participant action. */
|
|
481
|
+
invitationId?: string;
|
|
482
|
+
/** The operation context provided by client. */
|
|
483
|
+
operationContext?: string;
|
|
484
|
+
}
|
|
485
|
+
/** The request payload start for call recording operation with call locator. */
|
|
486
|
+
export interface StartCallRecordingRequest {
|
|
487
|
+
/** The call locator. */
|
|
488
|
+
callLocator: CallLocator;
|
|
489
|
+
/** The uri to send notifications to. */
|
|
490
|
+
recordingStateCallbackUri?: string;
|
|
491
|
+
/** The content type of call recording. */
|
|
492
|
+
recordingContentType?: RecordingContentType;
|
|
493
|
+
/** The channel type of call recording. */
|
|
494
|
+
recordingChannelType?: RecordingChannelType;
|
|
495
|
+
/** The format type of call recording. */
|
|
496
|
+
recordingFormatType?: RecordingFormatType;
|
|
497
|
+
/**
|
|
498
|
+
* The sequential order in which audio channels are assigned to participants in the unmixed recording.
|
|
499
|
+
* When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering is not specified,
|
|
500
|
+
* the audio channel to participant mapping will be automatically assigned based on the order in which participant
|
|
501
|
+
* first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.
|
|
502
|
+
*/
|
|
503
|
+
audioChannelParticipantOrdering?: CommunicationIdentifierModel[];
|
|
504
|
+
/**
|
|
505
|
+
* The channel affinity of call recording
|
|
506
|
+
* When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.
|
|
507
|
+
* Channel-Participant mapping details can be found in the metadata of the recording.
|
|
508
|
+
* ///
|
|
509
|
+
*/
|
|
510
|
+
channelAffinity?: ChannelAffinity[];
|
|
511
|
+
/** When set to true will start recording in Pause mode, which can be resumed. */
|
|
512
|
+
pauseOnStart?: boolean;
|
|
513
|
+
/** Optional property to specify location where recording will be stored */
|
|
514
|
+
recordingStorage?: RecordingStorage;
|
|
515
|
+
}
|
|
516
|
+
/** Channel affinity for a participant */
|
|
517
|
+
export interface ChannelAffinity {
|
|
518
|
+
/** Channel number to which bitstream from a particular participant will be written. */
|
|
519
|
+
channel?: number;
|
|
520
|
+
/**
|
|
521
|
+
* The identifier for the participant whose bitstream will be written to the channel
|
|
522
|
+
* represented by the channel number.
|
|
523
|
+
*/
|
|
524
|
+
participant: CommunicationIdentifierModel;
|
|
525
|
+
}
|
|
526
|
+
export interface RecordingStorage {
|
|
527
|
+
/** Defines the kind of external storage */
|
|
528
|
+
recordingStorageKind: RecordingStorageKind;
|
|
529
|
+
/** Uri of a container or a location within a container */
|
|
530
|
+
recordingDestinationContainerUrl?: string;
|
|
531
|
+
}
|
|
532
|
+
export interface RecordingStateResponse {
|
|
533
|
+
recordingId?: string;
|
|
534
|
+
recordingState?: RecordingState;
|
|
535
|
+
recordingKind?: RecordingKind;
|
|
536
|
+
}
|
|
537
|
+
/** The failed to add participants event. */
|
|
538
|
+
export interface AddParticipantFailed {
|
|
539
|
+
/** Call connection ID. */
|
|
540
|
+
callConnectionId?: string;
|
|
541
|
+
/** Server call ID. */
|
|
542
|
+
serverCallId?: string;
|
|
543
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
544
|
+
correlationId?: string;
|
|
545
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
546
|
+
operationContext?: string;
|
|
547
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
548
|
+
resultInformation?: ResultInformation;
|
|
549
|
+
/** Participant */
|
|
550
|
+
participant?: CommunicationIdentifierModel;
|
|
551
|
+
}
|
|
552
|
+
export interface ResultInformation {
|
|
553
|
+
/** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
|
|
554
|
+
code?: number;
|
|
555
|
+
/** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
|
|
556
|
+
subCode?: number;
|
|
557
|
+
/** Detail message that describes the current result. */
|
|
558
|
+
message?: string;
|
|
559
|
+
}
|
|
560
|
+
/** The participants successfully added event. */
|
|
561
|
+
export interface AddParticipantSucceeded {
|
|
562
|
+
/** Call connection ID. */
|
|
563
|
+
callConnectionId?: string;
|
|
564
|
+
/** Server call ID. */
|
|
565
|
+
serverCallId?: string;
|
|
566
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
567
|
+
correlationId?: string;
|
|
568
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
569
|
+
operationContext?: string;
|
|
570
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
571
|
+
resultInformation?: ResultInformation;
|
|
572
|
+
/** Participant */
|
|
573
|
+
participant?: CommunicationIdentifierModel;
|
|
574
|
+
}
|
|
575
|
+
/** The call connected event. */
|
|
576
|
+
export interface CallConnected {
|
|
577
|
+
/** Call connection ID. */
|
|
578
|
+
callConnectionId?: string;
|
|
579
|
+
/** Server call ID. */
|
|
580
|
+
serverCallId?: string;
|
|
581
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
582
|
+
correlationId?: string;
|
|
583
|
+
/** Used by customers to set the context for creating a new call. This property will be null for answering a call. */
|
|
584
|
+
operationContext?: string;
|
|
585
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
586
|
+
resultInformation?: ResultInformation;
|
|
587
|
+
}
|
|
588
|
+
/** The call disconnected event. */
|
|
589
|
+
export interface CallDisconnected {
|
|
590
|
+
/** Call connection ID. */
|
|
591
|
+
callConnectionId?: string;
|
|
592
|
+
/** Server call ID. */
|
|
593
|
+
serverCallId?: string;
|
|
594
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
595
|
+
correlationId?: string;
|
|
596
|
+
/** Used by customers to set the context for creating a new call. This property will be null for answering a call. */
|
|
597
|
+
operationContext?: string;
|
|
598
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
599
|
+
resultInformation?: ResultInformation;
|
|
600
|
+
}
|
|
601
|
+
/** The call transfer accepted event. */
|
|
602
|
+
export interface CallTransferAccepted {
|
|
603
|
+
/** Call connection ID. */
|
|
604
|
+
callConnectionId?: string;
|
|
605
|
+
/** Server call ID. */
|
|
606
|
+
serverCallId?: string;
|
|
607
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
608
|
+
correlationId?: string;
|
|
609
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
610
|
+
operationContext?: string;
|
|
611
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
612
|
+
resultInformation?: ResultInformation;
|
|
613
|
+
/** Target who the call is transferred to. */
|
|
614
|
+
transferTarget?: CommunicationIdentifierModel;
|
|
615
|
+
/** the participant who is being transferred away. */
|
|
616
|
+
transferee?: CommunicationIdentifierModel;
|
|
617
|
+
}
|
|
618
|
+
/** The call transfer failed event. */
|
|
619
|
+
export interface CallTransferFailed {
|
|
620
|
+
/** Call connection ID. */
|
|
621
|
+
callConnectionId?: string;
|
|
622
|
+
/** Server call ID. */
|
|
623
|
+
serverCallId?: string;
|
|
624
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
625
|
+
correlationId?: string;
|
|
626
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
627
|
+
operationContext?: string;
|
|
628
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
629
|
+
resultInformation?: ResultInformation;
|
|
630
|
+
}
|
|
631
|
+
/** The participants updated in a call event. */
|
|
632
|
+
export interface ParticipantsUpdated {
|
|
633
|
+
/** Call connection ID. */
|
|
634
|
+
callConnectionId?: string;
|
|
635
|
+
/** Server call ID. */
|
|
636
|
+
serverCallId?: string;
|
|
637
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
638
|
+
correlationId?: string;
|
|
639
|
+
/** The Sequence Number of the event */
|
|
640
|
+
sequenceNumber?: number;
|
|
641
|
+
/** The list of participants in the call. */
|
|
642
|
+
participants?: CallParticipantInternal[];
|
|
643
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
644
|
+
resultInformation?: ResultInformation;
|
|
645
|
+
}
|
|
646
|
+
/** The participant removed event. */
|
|
647
|
+
export interface RemoveParticipantSucceeded {
|
|
648
|
+
/** Call connection ID. */
|
|
649
|
+
callConnectionId?: string;
|
|
650
|
+
/** Server call ID. */
|
|
651
|
+
serverCallId?: string;
|
|
652
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
653
|
+
correlationId?: string;
|
|
654
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
655
|
+
operationContext?: string;
|
|
656
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
657
|
+
resultInformation?: ResultInformation;
|
|
658
|
+
/** Participant */
|
|
659
|
+
participant?: CommunicationIdentifierModel;
|
|
660
|
+
}
|
|
661
|
+
/** The failed to remove participant event. */
|
|
662
|
+
export interface RemoveParticipantFailed {
|
|
663
|
+
/** Call connection ID. */
|
|
664
|
+
callConnectionId?: string;
|
|
665
|
+
/** Server call ID. */
|
|
666
|
+
serverCallId?: string;
|
|
667
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
668
|
+
correlationId?: string;
|
|
669
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
670
|
+
operationContext?: string;
|
|
671
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
672
|
+
resultInformation?: ResultInformation;
|
|
673
|
+
/** Participant */
|
|
674
|
+
participant?: CommunicationIdentifierModel;
|
|
675
|
+
}
|
|
676
|
+
/** Successful cancel add participant event. */
|
|
677
|
+
export interface CancelAddParticipantSucceeded {
|
|
678
|
+
/** Call connection ID. */
|
|
679
|
+
callConnectionId?: string;
|
|
680
|
+
/** Server call ID. */
|
|
681
|
+
serverCallId?: string;
|
|
682
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
683
|
+
correlationId?: string;
|
|
684
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
685
|
+
operationContext?: string;
|
|
686
|
+
/** Invitation ID used to cancel the request. */
|
|
687
|
+
invitationId?: string;
|
|
688
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
689
|
+
resultInformation?: ResultInformation;
|
|
690
|
+
}
|
|
691
|
+
/** Failed cancel add participant event. */
|
|
692
|
+
export interface CancelAddParticipantFailed {
|
|
693
|
+
/** Call connection ID. */
|
|
694
|
+
callConnectionId?: string;
|
|
695
|
+
/** Server call ID. */
|
|
696
|
+
serverCallId?: string;
|
|
697
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
698
|
+
correlationId?: string;
|
|
699
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
700
|
+
operationContext?: string;
|
|
701
|
+
/** Contains the resulting SIP code/sub-code and message from NGC services. */
|
|
702
|
+
resultInformation?: ResultInformation;
|
|
703
|
+
/** Invitation ID used to cancel the request. */
|
|
704
|
+
invitationId?: string;
|
|
705
|
+
}
|
|
706
|
+
/** The failed to answer call event. */
|
|
707
|
+
export interface AnswerFailed {
|
|
708
|
+
/** Call connection ID. */
|
|
709
|
+
callConnectionId?: string;
|
|
710
|
+
/** Server call ID. */
|
|
711
|
+
serverCallId?: string;
|
|
712
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
713
|
+
correlationId?: string;
|
|
714
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
715
|
+
operationContext?: string;
|
|
716
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
717
|
+
resultInformation?: ResultInformation;
|
|
718
|
+
}
|
|
719
|
+
/** The create call failed event. */
|
|
720
|
+
export interface CreateCallFailed {
|
|
721
|
+
/** Call connection ID. */
|
|
722
|
+
callConnectionId?: string;
|
|
723
|
+
/** Server call ID. */
|
|
724
|
+
serverCallId?: string;
|
|
725
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
726
|
+
correlationId?: string;
|
|
727
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
728
|
+
operationContext?: string;
|
|
729
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
730
|
+
resultInformation?: ResultInformation;
|
|
731
|
+
}
|
|
732
|
+
export interface RecordingStateChanged {
|
|
733
|
+
/** Call connection ID. */
|
|
734
|
+
callConnectionId?: string;
|
|
735
|
+
/** Server call ID. */
|
|
736
|
+
serverCallId?: string;
|
|
737
|
+
/** Correlation ID for event to call correlation. */
|
|
738
|
+
correlationId?: string;
|
|
739
|
+
/**
|
|
740
|
+
* The call recording id
|
|
741
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
742
|
+
*/
|
|
743
|
+
readonly recordingId?: string;
|
|
744
|
+
state?: RecordingState;
|
|
745
|
+
/**
|
|
746
|
+
* The time of the recording started
|
|
747
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
748
|
+
*/
|
|
749
|
+
readonly startDateTime?: Date;
|
|
750
|
+
recordingKind?: RecordingKind;
|
|
751
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
752
|
+
resultInformation?: ResultInformation;
|
|
753
|
+
}
|
|
754
|
+
/** Play started event. */
|
|
755
|
+
export interface PlayStarted {
|
|
756
|
+
/** Gets or sets call connection ID. */
|
|
757
|
+
callConnectionId?: string;
|
|
758
|
+
/** Gets or sets server call ID. */
|
|
759
|
+
serverCallId?: string;
|
|
760
|
+
/** Gets or sets correlation ID for event to call correlation. */
|
|
761
|
+
correlationId?: string;
|
|
762
|
+
/** Gets or sets used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
763
|
+
operationContext?: string;
|
|
764
|
+
/** Gets or sets contains the resulting SIP code, sub-code and message. */
|
|
765
|
+
resultInformation?: ResultInformation;
|
|
766
|
+
}
|
|
767
|
+
export interface PlayCompleted {
|
|
768
|
+
/** Call connection ID. */
|
|
769
|
+
callConnectionId?: string;
|
|
770
|
+
/** Server call ID. */
|
|
771
|
+
serverCallId?: string;
|
|
772
|
+
/** Correlation ID for event to call correlation. */
|
|
773
|
+
correlationId?: string;
|
|
774
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
775
|
+
operationContext?: string;
|
|
776
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
777
|
+
resultInformation?: ResultInformation;
|
|
778
|
+
}
|
|
779
|
+
export interface PlayFailed {
|
|
780
|
+
/** Call connection ID. */
|
|
781
|
+
callConnectionId?: string;
|
|
782
|
+
/** Server call ID. */
|
|
783
|
+
serverCallId?: string;
|
|
784
|
+
/** Correlation ID for event to call correlation. */
|
|
785
|
+
correlationId?: string;
|
|
786
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
787
|
+
operationContext?: string;
|
|
788
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
789
|
+
resultInformation?: ResultInformation;
|
|
790
|
+
/** Contains the index of the failed play source. */
|
|
791
|
+
failedPlaySourceIndex?: number;
|
|
792
|
+
}
|
|
793
|
+
export interface PlayCanceled {
|
|
794
|
+
/** Call connection ID. */
|
|
795
|
+
callConnectionId?: string;
|
|
796
|
+
/** Server call ID. */
|
|
797
|
+
serverCallId?: string;
|
|
798
|
+
/** Correlation ID for event to call correlation. */
|
|
799
|
+
correlationId?: string;
|
|
800
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
801
|
+
operationContext?: string;
|
|
802
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
803
|
+
resultInformation?: ResultInformation;
|
|
804
|
+
}
|
|
805
|
+
export interface RecognizeCompleted {
|
|
806
|
+
/** Call connection ID. */
|
|
807
|
+
callConnectionId?: string;
|
|
808
|
+
/** Server call ID. */
|
|
809
|
+
serverCallId?: string;
|
|
810
|
+
/** Correlation ID for event to call correlation. */
|
|
811
|
+
correlationId?: string;
|
|
812
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
813
|
+
operationContext?: string;
|
|
814
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
815
|
+
resultInformation?: ResultInformation;
|
|
816
|
+
/**
|
|
817
|
+
* Determines the sub-type of the recognize operation.
|
|
818
|
+
* In case of cancel operation the this field is not set and is returned empty
|
|
819
|
+
*/
|
|
820
|
+
recognitionType?: RecognitionType;
|
|
821
|
+
/** Defines the result for RecognitionType = Dtmf */
|
|
822
|
+
dtmfResult?: DtmfResult;
|
|
823
|
+
/** Defines the result for RecognitionType = Choices */
|
|
824
|
+
choiceResult?: ChoiceResult;
|
|
825
|
+
/**
|
|
826
|
+
* Defines the result for RecognitionType = Speech and SpeechOrDtmf
|
|
827
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
828
|
+
*/
|
|
829
|
+
readonly speechResult?: SpeechResult;
|
|
830
|
+
}
|
|
831
|
+
export interface DtmfResult {
|
|
832
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
833
|
+
readonly tones?: Tone[];
|
|
834
|
+
}
|
|
835
|
+
export interface ChoiceResult {
|
|
836
|
+
/** Label is the primary identifier for the choice detected */
|
|
837
|
+
label?: string;
|
|
838
|
+
/**
|
|
839
|
+
* Phrases are set to the value if choice is selected via phrase detection.
|
|
840
|
+
* If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null
|
|
841
|
+
*/
|
|
842
|
+
recognizedPhrase?: string;
|
|
843
|
+
}
|
|
844
|
+
/** The speech status as a result. */
|
|
845
|
+
export interface SpeechResult {
|
|
846
|
+
/** The recognized speech in string. */
|
|
847
|
+
speech?: string;
|
|
848
|
+
}
|
|
849
|
+
export interface RecognizeFailed {
|
|
850
|
+
/** Call connection ID. */
|
|
851
|
+
callConnectionId?: string;
|
|
852
|
+
/** Server call ID. */
|
|
853
|
+
serverCallId?: string;
|
|
854
|
+
/** Correlation ID for event to call correlation. */
|
|
855
|
+
correlationId?: string;
|
|
856
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
857
|
+
operationContext?: string;
|
|
858
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
859
|
+
resultInformation?: ResultInformation;
|
|
860
|
+
/** Contains the index of the failed play source. */
|
|
861
|
+
failedPlaySourceIndex?: number;
|
|
862
|
+
}
|
|
863
|
+
export interface RecognizeCanceled {
|
|
864
|
+
/** Call connection ID. */
|
|
865
|
+
callConnectionId?: string;
|
|
866
|
+
/** Server call ID. */
|
|
867
|
+
serverCallId?: string;
|
|
868
|
+
/** Correlation ID for event to call correlation. */
|
|
869
|
+
correlationId?: string;
|
|
870
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
871
|
+
operationContext?: string;
|
|
872
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
873
|
+
resultInformation?: ResultInformation;
|
|
874
|
+
}
|
|
875
|
+
export interface ContinuousDtmfRecognitionToneFailed {
|
|
876
|
+
/** Call connection ID. */
|
|
877
|
+
callConnectionId?: string;
|
|
878
|
+
/** Server call ID. */
|
|
879
|
+
serverCallId?: string;
|
|
880
|
+
/** Correlation ID for event to call correlation. */
|
|
881
|
+
correlationId?: string;
|
|
882
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
883
|
+
resultInformation?: ResultInformation;
|
|
884
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
885
|
+
operationContext?: string;
|
|
886
|
+
}
|
|
887
|
+
export interface ContinuousDtmfRecognitionToneReceived {
|
|
888
|
+
/**
|
|
889
|
+
* The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.
|
|
890
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
891
|
+
*/
|
|
892
|
+
readonly sequenceId?: number;
|
|
893
|
+
tone?: Tone;
|
|
894
|
+
/** Call connection ID. */
|
|
895
|
+
callConnectionId?: string;
|
|
896
|
+
/** Server call ID. */
|
|
897
|
+
serverCallId?: string;
|
|
898
|
+
/** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */
|
|
899
|
+
correlationId?: string;
|
|
900
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
901
|
+
resultInformation?: ResultInformation;
|
|
902
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
903
|
+
operationContext?: string;
|
|
904
|
+
}
|
|
905
|
+
export interface ContinuousDtmfRecognitionStopped {
|
|
906
|
+
/** Call connection ID. */
|
|
907
|
+
callConnectionId?: string;
|
|
908
|
+
/** Server call ID. */
|
|
909
|
+
serverCallId?: string;
|
|
910
|
+
/** Correlation ID for event to call correlation. */
|
|
911
|
+
correlationId?: string;
|
|
912
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
913
|
+
operationContext?: string;
|
|
914
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
915
|
+
resultInformation?: ResultInformation;
|
|
916
|
+
}
|
|
917
|
+
export interface SendDtmfTonesCompleted {
|
|
918
|
+
/** Call connection ID. */
|
|
919
|
+
callConnectionId?: string;
|
|
920
|
+
/** Server call ID. */
|
|
921
|
+
serverCallId?: string;
|
|
922
|
+
/** Correlation ID for event to call correlation. */
|
|
923
|
+
correlationId?: string;
|
|
924
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
925
|
+
operationContext?: string;
|
|
926
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
927
|
+
resultInformation?: ResultInformation;
|
|
928
|
+
}
|
|
929
|
+
export interface SendDtmfTonesFailed {
|
|
930
|
+
/** Call connection ID. */
|
|
931
|
+
callConnectionId?: string;
|
|
932
|
+
/** Server call ID. */
|
|
933
|
+
serverCallId?: string;
|
|
934
|
+
/** Correlation ID for event to call correlation. */
|
|
935
|
+
correlationId?: string;
|
|
936
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
937
|
+
operationContext?: string;
|
|
938
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
939
|
+
resultInformation?: ResultInformation;
|
|
940
|
+
}
|
|
941
|
+
export interface HoldFailed {
|
|
942
|
+
/** Call connection ID. */
|
|
943
|
+
callConnectionId?: string;
|
|
944
|
+
/** Server call ID. */
|
|
945
|
+
serverCallId?: string;
|
|
946
|
+
/** Correlation ID for event to call correlation. */
|
|
947
|
+
correlationId?: string;
|
|
948
|
+
/** Used by customers when calling mid-call actions to correlate the request to the response event. */
|
|
949
|
+
operationContext?: string;
|
|
950
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
951
|
+
resultInformation?: ResultInformation;
|
|
952
|
+
}
|
|
953
|
+
/** The ConnectFailed event. */
|
|
954
|
+
export interface ConnectFailed {
|
|
955
|
+
/** Call connection ID. */
|
|
956
|
+
callConnectionId?: string;
|
|
957
|
+
/** Server call ID. */
|
|
958
|
+
serverCallId?: string;
|
|
959
|
+
/** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
|
|
960
|
+
correlationId?: string;
|
|
961
|
+
/** Used by customers to correlate the request to the response event. */
|
|
962
|
+
operationContext?: string;
|
|
963
|
+
/** Contains the resulting SIP code, sub-code and message. */
|
|
964
|
+
resultInformation?: ResultInformation;
|
|
965
|
+
}
|
|
966
|
+
/** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */
|
|
967
|
+
export declare enum KnownCommunicationIdentifierModelKind {
|
|
968
|
+
/** Unknown */
|
|
969
|
+
Unknown = "unknown",
|
|
970
|
+
/** CommunicationUser */
|
|
971
|
+
CommunicationUser = "communicationUser",
|
|
972
|
+
/** PhoneNumber */
|
|
973
|
+
PhoneNumber = "phoneNumber",
|
|
974
|
+
/** MicrosoftTeamsUser */
|
|
975
|
+
MicrosoftTeamsUser = "microsoftTeamsUser",
|
|
976
|
+
/** MicrosoftTeamsApp */
|
|
977
|
+
MicrosoftTeamsApp = "microsoftTeamsApp"
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* Defines values for CommunicationIdentifierModelKind. \
|
|
981
|
+
* {@link KnownCommunicationIdentifierModelKind} can be used interchangeably with CommunicationIdentifierModelKind,
|
|
982
|
+
* this enum contains the known values that the service supports.
|
|
983
|
+
* ### Known values supported by the service
|
|
984
|
+
* **unknown** \
|
|
985
|
+
* **communicationUser** \
|
|
986
|
+
* **phoneNumber** \
|
|
987
|
+
* **microsoftTeamsUser** \
|
|
988
|
+
* **microsoftTeamsApp**
|
|
989
|
+
*/
|
|
990
|
+
export type CommunicationIdentifierModelKind = string;
|
|
991
|
+
/** Known values of {@link CommunicationCloudEnvironmentModel} that the service accepts. */
|
|
992
|
+
export declare enum KnownCommunicationCloudEnvironmentModel {
|
|
993
|
+
/** Public */
|
|
994
|
+
Public = "public",
|
|
995
|
+
/** Dod */
|
|
996
|
+
Dod = "dod",
|
|
997
|
+
/** Gcch */
|
|
998
|
+
Gcch = "gcch"
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Defines values for CommunicationCloudEnvironmentModel. \
|
|
1002
|
+
* {@link KnownCommunicationCloudEnvironmentModel} can be used interchangeably with CommunicationCloudEnvironmentModel,
|
|
1003
|
+
* this enum contains the known values that the service supports.
|
|
1004
|
+
* ### Known values supported by the service
|
|
1005
|
+
* **public** \
|
|
1006
|
+
* **dod** \
|
|
1007
|
+
* **gcch**
|
|
1008
|
+
*/
|
|
1009
|
+
export type CommunicationCloudEnvironmentModel = string;
|
|
1010
|
+
/** Known values of {@link CallConnectionStateModel} that the service accepts. */
|
|
1011
|
+
export declare enum KnownCallConnectionStateModel {
|
|
1012
|
+
/** Unknown */
|
|
1013
|
+
Unknown = "unknown",
|
|
1014
|
+
/** Connecting */
|
|
1015
|
+
Connecting = "connecting",
|
|
1016
|
+
/** Connected */
|
|
1017
|
+
Connected = "connected",
|
|
1018
|
+
/** Transferring */
|
|
1019
|
+
Transferring = "transferring",
|
|
1020
|
+
/** TransferAccepted */
|
|
1021
|
+
TransferAccepted = "transferAccepted",
|
|
1022
|
+
/** Disconnecting */
|
|
1023
|
+
Disconnecting = "disconnecting",
|
|
1024
|
+
/** Disconnected */
|
|
1025
|
+
Disconnected = "disconnected"
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
* Defines values for CallConnectionStateModel. \
|
|
1029
|
+
* {@link KnownCallConnectionStateModel} can be used interchangeably with CallConnectionStateModel,
|
|
1030
|
+
* this enum contains the known values that the service supports.
|
|
1031
|
+
* ### Known values supported by the service
|
|
1032
|
+
* **unknown** \
|
|
1033
|
+
* **connecting** \
|
|
1034
|
+
* **connected** \
|
|
1035
|
+
* **transferring** \
|
|
1036
|
+
* **transferAccepted** \
|
|
1037
|
+
* **disconnecting** \
|
|
1038
|
+
* **disconnected**
|
|
1039
|
+
*/
|
|
1040
|
+
export type CallConnectionStateModel = string;
|
|
1041
|
+
/** Known values of {@link CallRejectReason} that the service accepts. */
|
|
1042
|
+
export declare enum KnownCallRejectReason {
|
|
1043
|
+
/** None */
|
|
1044
|
+
None = "none",
|
|
1045
|
+
/** Busy */
|
|
1046
|
+
Busy = "busy",
|
|
1047
|
+
/** Forbidden */
|
|
1048
|
+
Forbidden = "forbidden"
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* Defines values for CallRejectReason. \
|
|
1052
|
+
* {@link KnownCallRejectReason} can be used interchangeably with CallRejectReason,
|
|
1053
|
+
* this enum contains the known values that the service supports.
|
|
1054
|
+
* ### Known values supported by the service
|
|
1055
|
+
* **none** \
|
|
1056
|
+
* **busy** \
|
|
1057
|
+
* **forbidden**
|
|
1058
|
+
*/
|
|
1059
|
+
export type CallRejectReason = string;
|
|
1060
|
+
/** Known values of {@link CallLocatorKind} that the service accepts. */
|
|
1061
|
+
export declare enum KnownCallLocatorKind {
|
|
1062
|
+
/** Unknown */
|
|
1063
|
+
Unknown = "unknown",
|
|
1064
|
+
/** GroupCallLocator */
|
|
1065
|
+
GroupCallLocator = "groupCallLocator",
|
|
1066
|
+
/** ServerCallLocator */
|
|
1067
|
+
ServerCallLocator = "serverCallLocator",
|
|
1068
|
+
/** RoomCallLocator */
|
|
1069
|
+
RoomCallLocator = "roomCallLocator"
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Defines values for CallLocatorKind. \
|
|
1073
|
+
* {@link KnownCallLocatorKind} can be used interchangeably with CallLocatorKind,
|
|
1074
|
+
* this enum contains the known values that the service supports.
|
|
1075
|
+
* ### Known values supported by the service
|
|
1076
|
+
* **unknown** \
|
|
1077
|
+
* **groupCallLocator** \
|
|
1078
|
+
* **serverCallLocator** \
|
|
1079
|
+
* **roomCallLocator**
|
|
1080
|
+
*/
|
|
1081
|
+
export type CallLocatorKind = string;
|
|
1082
|
+
/** Known values of {@link PlaySourceType} that the service accepts. */
|
|
1083
|
+
export declare enum KnownPlaySourceType {
|
|
1084
|
+
/** File */
|
|
1085
|
+
File = "file",
|
|
1086
|
+
/** Text */
|
|
1087
|
+
Text = "text",
|
|
1088
|
+
/** Ssml */
|
|
1089
|
+
Ssml = "ssml"
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Defines values for PlaySourceType. \
|
|
1093
|
+
* {@link KnownPlaySourceType} can be used interchangeably with PlaySourceType,
|
|
1094
|
+
* this enum contains the known values that the service supports.
|
|
1095
|
+
* ### Known values supported by the service
|
|
1096
|
+
* **file** \
|
|
1097
|
+
* **text** \
|
|
1098
|
+
* **ssml**
|
|
1099
|
+
*/
|
|
1100
|
+
export type PlaySourceType = string;
|
|
1101
|
+
/** Known values of {@link VoiceKind} that the service accepts. */
|
|
1102
|
+
export declare enum KnownVoiceKind {
|
|
1103
|
+
/** Male */
|
|
1104
|
+
Male = "male",
|
|
1105
|
+
/** Female */
|
|
1106
|
+
Female = "female"
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* Defines values for VoiceKind. \
|
|
1110
|
+
* {@link KnownVoiceKind} can be used interchangeably with VoiceKind,
|
|
1111
|
+
* this enum contains the known values that the service supports.
|
|
1112
|
+
* ### Known values supported by the service
|
|
1113
|
+
* **male** \
|
|
1114
|
+
* **female**
|
|
1115
|
+
*/
|
|
1116
|
+
export type VoiceKind = string;
|
|
1117
|
+
/** Known values of {@link RecognizeInputType} that the service accepts. */
|
|
1118
|
+
export declare enum KnownRecognizeInputType {
|
|
1119
|
+
/** Dtmf */
|
|
1120
|
+
Dtmf = "dtmf",
|
|
1121
|
+
/** Speech */
|
|
1122
|
+
Speech = "speech",
|
|
1123
|
+
/** SpeechOrDtmf */
|
|
1124
|
+
SpeechOrDtmf = "speechOrDtmf",
|
|
1125
|
+
/** Choices */
|
|
1126
|
+
Choices = "choices"
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Defines values for RecognizeInputType. \
|
|
1130
|
+
* {@link KnownRecognizeInputType} can be used interchangeably with RecognizeInputType,
|
|
1131
|
+
* this enum contains the known values that the service supports.
|
|
1132
|
+
* ### Known values supported by the service
|
|
1133
|
+
* **dtmf** \
|
|
1134
|
+
* **speech** \
|
|
1135
|
+
* **speechOrDtmf** \
|
|
1136
|
+
* **choices**
|
|
1137
|
+
*/
|
|
1138
|
+
export type RecognizeInputType = string;
|
|
1139
|
+
/** Known values of {@link Tone} that the service accepts. */
|
|
1140
|
+
export declare enum KnownTone {
|
|
1141
|
+
/** Zero */
|
|
1142
|
+
Zero = "zero",
|
|
1143
|
+
/** One */
|
|
1144
|
+
One = "one",
|
|
1145
|
+
/** Two */
|
|
1146
|
+
Two = "two",
|
|
1147
|
+
/** Three */
|
|
1148
|
+
Three = "three",
|
|
1149
|
+
/** Four */
|
|
1150
|
+
Four = "four",
|
|
1151
|
+
/** Five */
|
|
1152
|
+
Five = "five",
|
|
1153
|
+
/** Six */
|
|
1154
|
+
Six = "six",
|
|
1155
|
+
/** Seven */
|
|
1156
|
+
Seven = "seven",
|
|
1157
|
+
/** Eight */
|
|
1158
|
+
Eight = "eight",
|
|
1159
|
+
/** Nine */
|
|
1160
|
+
Nine = "nine",
|
|
1161
|
+
/** A */
|
|
1162
|
+
A = "a",
|
|
1163
|
+
/** B */
|
|
1164
|
+
B = "b",
|
|
1165
|
+
/** C */
|
|
1166
|
+
C = "c",
|
|
1167
|
+
/** D */
|
|
1168
|
+
D = "d",
|
|
1169
|
+
/** Pound */
|
|
1170
|
+
Pound = "pound",
|
|
1171
|
+
/** Asterisk */
|
|
1172
|
+
Asterisk = "asterisk"
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* Defines values for Tone. \
|
|
1176
|
+
* {@link KnownTone} can be used interchangeably with Tone,
|
|
1177
|
+
* this enum contains the known values that the service supports.
|
|
1178
|
+
* ### Known values supported by the service
|
|
1179
|
+
* **zero** \
|
|
1180
|
+
* **one** \
|
|
1181
|
+
* **two** \
|
|
1182
|
+
* **three** \
|
|
1183
|
+
* **four** \
|
|
1184
|
+
* **five** \
|
|
1185
|
+
* **six** \
|
|
1186
|
+
* **seven** \
|
|
1187
|
+
* **eight** \
|
|
1188
|
+
* **nine** \
|
|
1189
|
+
* **a** \
|
|
1190
|
+
* **b** \
|
|
1191
|
+
* **c** \
|
|
1192
|
+
* **d** \
|
|
1193
|
+
* **pound** \
|
|
1194
|
+
* **asterisk**
|
|
1195
|
+
*/
|
|
1196
|
+
export type Tone = string;
|
|
1197
|
+
/** Known values of {@link RecordingContentType} that the service accepts. */
|
|
1198
|
+
export declare enum KnownRecordingContentType {
|
|
1199
|
+
/** Audio */
|
|
1200
|
+
Audio = "audio",
|
|
1201
|
+
/** AudioVideo */
|
|
1202
|
+
AudioVideo = "audioVideo"
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* Defines values for RecordingContentType. \
|
|
1206
|
+
* {@link KnownRecordingContentType} can be used interchangeably with RecordingContentType,
|
|
1207
|
+
* this enum contains the known values that the service supports.
|
|
1208
|
+
* ### Known values supported by the service
|
|
1209
|
+
* **audio** \
|
|
1210
|
+
* **audioVideo**
|
|
1211
|
+
*/
|
|
1212
|
+
export type RecordingContentType = string;
|
|
1213
|
+
/** Known values of {@link RecordingChannelType} that the service accepts. */
|
|
1214
|
+
export declare enum KnownRecordingChannelType {
|
|
1215
|
+
/** Mixed */
|
|
1216
|
+
Mixed = "mixed",
|
|
1217
|
+
/** Unmixed */
|
|
1218
|
+
Unmixed = "unmixed"
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Defines values for RecordingChannelType. \
|
|
1222
|
+
* {@link KnownRecordingChannelType} can be used interchangeably with RecordingChannelType,
|
|
1223
|
+
* this enum contains the known values that the service supports.
|
|
1224
|
+
* ### Known values supported by the service
|
|
1225
|
+
* **mixed** \
|
|
1226
|
+
* **unmixed**
|
|
1227
|
+
*/
|
|
1228
|
+
export type RecordingChannelType = string;
|
|
1229
|
+
/** Known values of {@link RecordingFormatType} that the service accepts. */
|
|
1230
|
+
export declare enum KnownRecordingFormatType {
|
|
1231
|
+
/** Wav */
|
|
1232
|
+
Wav = "wav",
|
|
1233
|
+
/** Mp3 */
|
|
1234
|
+
Mp3 = "mp3",
|
|
1235
|
+
/** Mp4 */
|
|
1236
|
+
Mp4 = "mp4"
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Defines values for RecordingFormatType. \
|
|
1240
|
+
* {@link KnownRecordingFormatType} can be used interchangeably with RecordingFormatType,
|
|
1241
|
+
* this enum contains the known values that the service supports.
|
|
1242
|
+
* ### Known values supported by the service
|
|
1243
|
+
* **wav** \
|
|
1244
|
+
* **mp3** \
|
|
1245
|
+
* **mp4**
|
|
1246
|
+
*/
|
|
1247
|
+
export type RecordingFormatType = string;
|
|
1248
|
+
/** Known values of {@link RecordingStorageKind} that the service accepts. */
|
|
1249
|
+
export declare enum KnownRecordingStorageKind {
|
|
1250
|
+
/** Storage managed by Azure Communication Services */
|
|
1251
|
+
AzureCommunicationServices = "AzureCommunicationServices",
|
|
1252
|
+
/** Storage managed by provided Azure blob */
|
|
1253
|
+
AzureBlobStorage = "AzureBlobStorage"
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Defines values for RecordingStorageKind. \
|
|
1257
|
+
* {@link KnownRecordingStorageKind} can be used interchangeably with RecordingStorageKind,
|
|
1258
|
+
* this enum contains the known values that the service supports.
|
|
1259
|
+
* ### Known values supported by the service
|
|
1260
|
+
* **AzureCommunicationServices**: Storage managed by Azure Communication Services \
|
|
1261
|
+
* **AzureBlobStorage**: Storage managed by provided Azure blob
|
|
1262
|
+
*/
|
|
1263
|
+
export type RecordingStorageKind = string;
|
|
1264
|
+
/** Known values of {@link RecordingState} that the service accepts. */
|
|
1265
|
+
export declare enum KnownRecordingState {
|
|
1266
|
+
/** Active */
|
|
1267
|
+
Active = "active",
|
|
1268
|
+
/** Inactive */
|
|
1269
|
+
Inactive = "inactive"
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* Defines values for RecordingState. \
|
|
1273
|
+
* {@link KnownRecordingState} can be used interchangeably with RecordingState,
|
|
1274
|
+
* this enum contains the known values that the service supports.
|
|
1275
|
+
* ### Known values supported by the service
|
|
1276
|
+
* **active** \
|
|
1277
|
+
* **inactive**
|
|
1278
|
+
*/
|
|
1279
|
+
export type RecordingState = string;
|
|
1280
|
+
/** Known values of {@link RecordingKind} that the service accepts. */
|
|
1281
|
+
export declare enum KnownRecordingKind {
|
|
1282
|
+
/** Recording initiated by Azure Communication Services */
|
|
1283
|
+
AzureCommunicationServices = "AzureCommunicationServices",
|
|
1284
|
+
/** Recording initiated by Teams user */
|
|
1285
|
+
Teams = "Teams",
|
|
1286
|
+
/** Recording initiated by Teams compliance policy */
|
|
1287
|
+
TeamsCompliance = "TeamsCompliance"
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Defines values for RecordingKind. \
|
|
1291
|
+
* {@link KnownRecordingKind} can be used interchangeably with RecordingKind,
|
|
1292
|
+
* this enum contains the known values that the service supports.
|
|
1293
|
+
* ### Known values supported by the service
|
|
1294
|
+
* **AzureCommunicationServices**: Recording initiated by Azure Communication Services \
|
|
1295
|
+
* **Teams**: Recording initiated by Teams user \
|
|
1296
|
+
* **TeamsCompliance**: Recording initiated by Teams compliance policy
|
|
1297
|
+
*/
|
|
1298
|
+
export type RecordingKind = string;
|
|
1299
|
+
/** Known values of {@link RecognitionType} that the service accepts. */
|
|
1300
|
+
export declare enum KnownRecognitionType {
|
|
1301
|
+
/** Dtmf */
|
|
1302
|
+
Dtmf = "dtmf",
|
|
1303
|
+
/** Speech */
|
|
1304
|
+
Speech = "speech",
|
|
1305
|
+
/** Choices */
|
|
1306
|
+
Choices = "choices"
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Defines values for RecognitionType. \
|
|
1310
|
+
* {@link KnownRecognitionType} can be used interchangeably with RecognitionType,
|
|
1311
|
+
* this enum contains the known values that the service supports.
|
|
1312
|
+
* ### Known values supported by the service
|
|
1313
|
+
* **dtmf** \
|
|
1314
|
+
* **speech** \
|
|
1315
|
+
* **choices**
|
|
1316
|
+
*/
|
|
1317
|
+
export type RecognitionType = string;
|
|
1318
|
+
/** Optional parameters. */
|
|
1319
|
+
export interface CreateCallOptionalParams extends coreClient.OperationOptions {
|
|
1320
|
+
/** 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. */
|
|
1321
|
+
repeatabilityRequestID?: string;
|
|
1322
|
+
/** 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. */
|
|
1323
|
+
repeatabilityFirstSent?: Date;
|
|
1324
|
+
}
|
|
1325
|
+
/** Contains response data for the createCall operation. */
|
|
1326
|
+
export type CreateCallResponse = CallConnectionPropertiesInternal;
|
|
1327
|
+
/** Optional parameters. */
|
|
1328
|
+
export interface AnswerCallOptionalParams extends coreClient.OperationOptions {
|
|
1329
|
+
/** 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. */
|
|
1330
|
+
repeatabilityRequestID?: string;
|
|
1331
|
+
/** 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. */
|
|
1332
|
+
repeatabilityFirstSent?: Date;
|
|
1333
|
+
}
|
|
1334
|
+
/** Contains response data for the answerCall operation. */
|
|
1335
|
+
export type AnswerCallResponse = CallConnectionPropertiesInternal;
|
|
1336
|
+
/** Optional parameters. */
|
|
1337
|
+
export interface RedirectCallOptionalParams extends coreClient.OperationOptions {
|
|
1338
|
+
/** 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. */
|
|
1339
|
+
repeatabilityRequestID?: string;
|
|
1340
|
+
/** 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. */
|
|
1341
|
+
repeatabilityFirstSent?: Date;
|
|
1342
|
+
}
|
|
1343
|
+
/** Optional parameters. */
|
|
1344
|
+
export interface RejectCallOptionalParams extends coreClient.OperationOptions {
|
|
1345
|
+
/** 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. */
|
|
1346
|
+
repeatabilityRequestID?: string;
|
|
1347
|
+
/** 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. */
|
|
1348
|
+
repeatabilityFirstSent?: Date;
|
|
1349
|
+
}
|
|
1350
|
+
/** Optional parameters. */
|
|
1351
|
+
export interface ConnectOptionalParams extends coreClient.OperationOptions {
|
|
1352
|
+
/** 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. */
|
|
1353
|
+
repeatabilityRequestID?: string;
|
|
1354
|
+
/** 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. */
|
|
1355
|
+
repeatabilityFirstSent?: Date;
|
|
1356
|
+
}
|
|
1357
|
+
/** Contains response data for the connect operation. */
|
|
1358
|
+
export type ConnectResponse = CallConnectionPropertiesInternal;
|
|
1359
|
+
/** Optional parameters. */
|
|
1360
|
+
export interface CallConnectionGetCallOptionalParams extends coreClient.OperationOptions {
|
|
1361
|
+
}
|
|
1362
|
+
/** Contains response data for the getCall operation. */
|
|
1363
|
+
export type CallConnectionGetCallResponse = CallConnectionPropertiesInternal;
|
|
1364
|
+
/** Optional parameters. */
|
|
1365
|
+
export interface CallConnectionHangupCallOptionalParams extends coreClient.OperationOptions {
|
|
1366
|
+
}
|
|
1367
|
+
/** Optional parameters. */
|
|
1368
|
+
export interface CallConnectionTerminateCallOptionalParams extends coreClient.OperationOptions {
|
|
1369
|
+
/** 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. */
|
|
1370
|
+
repeatabilityRequestID?: string;
|
|
1371
|
+
/** 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. */
|
|
1372
|
+
repeatabilityFirstSent?: Date;
|
|
1373
|
+
}
|
|
1374
|
+
/** Optional parameters. */
|
|
1375
|
+
export interface CallConnectionTransferToParticipantOptionalParams extends coreClient.OperationOptions {
|
|
1376
|
+
/** 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. */
|
|
1377
|
+
repeatabilityRequestID?: string;
|
|
1378
|
+
/** 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. */
|
|
1379
|
+
repeatabilityFirstSent?: Date;
|
|
1380
|
+
}
|
|
1381
|
+
/** Contains response data for the transferToParticipant operation. */
|
|
1382
|
+
export type CallConnectionTransferToParticipantResponse = TransferCallResponse;
|
|
1383
|
+
/** Optional parameters. */
|
|
1384
|
+
export interface CallConnectionGetParticipantsOptionalParams extends coreClient.OperationOptions {
|
|
1385
|
+
}
|
|
1386
|
+
/** Contains response data for the getParticipants operation. */
|
|
1387
|
+
export type CallConnectionGetParticipantsResponse = GetParticipantsResponse;
|
|
1388
|
+
/** Optional parameters. */
|
|
1389
|
+
export interface CallConnectionAddParticipantOptionalParams extends coreClient.OperationOptions {
|
|
1390
|
+
/** 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. */
|
|
1391
|
+
repeatabilityRequestID?: string;
|
|
1392
|
+
/** 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. */
|
|
1393
|
+
repeatabilityFirstSent?: Date;
|
|
1394
|
+
}
|
|
1395
|
+
/** Contains response data for the addParticipant operation. */
|
|
1396
|
+
export type CallConnectionAddParticipantResponse = AddParticipantResponse;
|
|
1397
|
+
/** Optional parameters. */
|
|
1398
|
+
export interface CallConnectionRemoveParticipantOptionalParams extends coreClient.OperationOptions {
|
|
1399
|
+
/** 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. */
|
|
1400
|
+
repeatabilityRequestID?: string;
|
|
1401
|
+
/** 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. */
|
|
1402
|
+
repeatabilityFirstSent?: Date;
|
|
1403
|
+
}
|
|
1404
|
+
/** Contains response data for the removeParticipant operation. */
|
|
1405
|
+
export type CallConnectionRemoveParticipantResponse = RemoveParticipantResponse;
|
|
1406
|
+
/** Optional parameters. */
|
|
1407
|
+
export interface CallConnectionMuteOptionalParams extends coreClient.OperationOptions {
|
|
1408
|
+
/** 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. */
|
|
1409
|
+
repeatabilityRequestID?: string;
|
|
1410
|
+
/** 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. */
|
|
1411
|
+
repeatabilityFirstSent?: Date;
|
|
1412
|
+
}
|
|
1413
|
+
/** Contains response data for the mute operation. */
|
|
1414
|
+
export type CallConnectionMuteResponse = MuteParticipantsResult;
|
|
1415
|
+
/** Optional parameters. */
|
|
1416
|
+
export interface CallConnectionCancelAddParticipantOptionalParams extends coreClient.OperationOptions {
|
|
1417
|
+
/** 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. */
|
|
1418
|
+
repeatabilityRequestID?: string;
|
|
1419
|
+
/** 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. */
|
|
1420
|
+
repeatabilityFirstSent?: Date;
|
|
1421
|
+
}
|
|
1422
|
+
/** Contains response data for the cancelAddParticipant operation. */
|
|
1423
|
+
export type CallConnectionCancelAddParticipantResponse = CancelAddParticipantResponse;
|
|
1424
|
+
/** Optional parameters. */
|
|
1425
|
+
export interface CallConnectionGetParticipantOptionalParams extends coreClient.OperationOptions {
|
|
1426
|
+
}
|
|
1427
|
+
/** Contains response data for the getParticipant operation. */
|
|
1428
|
+
export type CallConnectionGetParticipantResponse = CallParticipantInternal;
|
|
1429
|
+
/** Optional parameters. */
|
|
1430
|
+
export interface CallConnectionGetParticipantsNextOptionalParams extends coreClient.OperationOptions {
|
|
1431
|
+
}
|
|
1432
|
+
/** Contains response data for the getParticipantsNext operation. */
|
|
1433
|
+
export type CallConnectionGetParticipantsNextResponse = GetParticipantsResponse;
|
|
1434
|
+
/** Optional parameters. */
|
|
1435
|
+
export interface CallMediaPlayOptionalParams extends coreClient.OperationOptions {
|
|
1436
|
+
}
|
|
1437
|
+
/** Optional parameters. */
|
|
1438
|
+
export interface CallMediaCancelAllMediaOperationsOptionalParams extends coreClient.OperationOptions {
|
|
1439
|
+
}
|
|
1440
|
+
/** Optional parameters. */
|
|
1441
|
+
export interface CallMediaRecognizeOptionalParams extends coreClient.OperationOptions {
|
|
1442
|
+
}
|
|
1443
|
+
/** Optional parameters. */
|
|
1444
|
+
export interface CallMediaStartContinuousDtmfRecognitionOptionalParams extends coreClient.OperationOptions {
|
|
1445
|
+
}
|
|
1446
|
+
/** Optional parameters. */
|
|
1447
|
+
export interface CallMediaStopContinuousDtmfRecognitionOptionalParams extends coreClient.OperationOptions {
|
|
1448
|
+
}
|
|
1449
|
+
/** Optional parameters. */
|
|
1450
|
+
export interface CallMediaSendDtmfTonesOptionalParams extends coreClient.OperationOptions {
|
|
1451
|
+
/** 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. */
|
|
1452
|
+
repeatabilityRequestID?: string;
|
|
1453
|
+
/** 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. */
|
|
1454
|
+
repeatabilityFirstSent?: Date;
|
|
1455
|
+
}
|
|
1456
|
+
/** Contains response data for the sendDtmfTones operation. */
|
|
1457
|
+
export type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult;
|
|
1458
|
+
/** Optional parameters. */
|
|
1459
|
+
export interface CallMediaHoldOptionalParams extends coreClient.OperationOptions {
|
|
1460
|
+
}
|
|
1461
|
+
/** Optional parameters. */
|
|
1462
|
+
export interface CallMediaUnholdOptionalParams extends coreClient.OperationOptions {
|
|
1463
|
+
}
|
|
1464
|
+
/** Optional parameters. */
|
|
1465
|
+
export interface CallRecordingStartRecordingOptionalParams extends coreClient.OperationOptions {
|
|
1466
|
+
/** 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. */
|
|
1467
|
+
repeatabilityRequestID?: string;
|
|
1468
|
+
/** 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. */
|
|
1469
|
+
repeatabilityFirstSent?: Date;
|
|
1470
|
+
}
|
|
1471
|
+
/** Contains response data for the startRecording operation. */
|
|
1472
|
+
export type CallRecordingStartRecordingResponse = RecordingStateResponse;
|
|
1473
|
+
/** Optional parameters. */
|
|
1474
|
+
export interface CallRecordingGetRecordingPropertiesOptionalParams extends coreClient.OperationOptions {
|
|
1475
|
+
}
|
|
1476
|
+
/** Contains response data for the getRecordingProperties operation. */
|
|
1477
|
+
export type CallRecordingGetRecordingPropertiesResponse = RecordingStateResponse;
|
|
1478
|
+
/** Optional parameters. */
|
|
1479
|
+
export interface CallRecordingStopRecordingOptionalParams extends coreClient.OperationOptions {
|
|
1480
|
+
}
|
|
1481
|
+
/** Optional parameters. */
|
|
1482
|
+
export interface CallRecordingPauseRecordingOptionalParams extends coreClient.OperationOptions {
|
|
1483
|
+
}
|
|
1484
|
+
/** Optional parameters. */
|
|
1485
|
+
export interface CallRecordingResumeRecordingOptionalParams extends coreClient.OperationOptions {
|
|
1486
|
+
}
|
|
1487
|
+
/** Optional parameters. */
|
|
1488
|
+
export interface CallAutomationApiClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
1489
|
+
/** Api Version */
|
|
1490
|
+
apiVersion?: string;
|
|
1491
|
+
/** Overrides client endpoint. */
|
|
1492
|
+
endpoint?: string;
|
|
1493
|
+
}
|
|
1494
|
+
//# sourceMappingURL=index.d.ts.map
|