@azure/ai-text-analytics 5.1.1-alpha.20241204.1 → 5.1.1-alpha.20241209.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/dist/browser/analyzeActionsResult.d.ts +200 -0
- package/dist/browser/analyzeActionsResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeActionsResult.js +6 -6
- package/dist/browser/analyzeActionsResult.js.map +1 -0
- package/dist/browser/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/browser/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeHealthcareEntitiesResult.js +2 -2
- package/dist/browser/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/browser/analyzeSentimentResult.d.ts +123 -0
- package/dist/browser/analyzeSentimentResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeSentimentResult.js +2 -2
- package/dist/browser/analyzeSentimentResult.js.map +1 -0
- package/dist/browser/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/browser/analyzeSentimentResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/analyzeSentimentResultArray.js +2 -2
- package/dist/browser/analyzeSentimentResultArray.js.map +1 -0
- package/dist/browser/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/browser/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/browser/constants.d.ts +5 -0
- package/dist/browser/constants.d.ts.map +1 -0
- package/dist/browser/detectLanguageResult.d.ts +29 -0
- package/dist/browser/detectLanguageResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/detectLanguageResult.js +1 -1
- package/dist/browser/detectLanguageResult.js.map +1 -0
- package/dist/browser/detectLanguageResultArray.d.ts +24 -0
- package/dist/browser/detectLanguageResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/detectLanguageResultArray.js +2 -2
- package/dist/browser/detectLanguageResultArray.js.map +1 -0
- package/dist/browser/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/browser/extractKeyPhrasesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/extractKeyPhrasesResult.js +1 -1
- package/dist/browser/extractKeyPhrasesResult.js.map +1 -0
- package/dist/browser/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/browser/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/extractKeyPhrasesResultArray.js +2 -2
- package/dist/browser/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/browser/generated/generatedClient.d.ts +99 -0
- package/dist/browser/generated/generatedClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/generatedClient.js +2 -2
- package/dist/browser/generated/generatedClient.js.map +1 -0
- package/dist/browser/generated/index.d.ts +3 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/index.js +2 -2
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +1498 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +83 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +20 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
- package/dist/browser/generated/models/parameters.js.map +1 -0
- package/dist/browser/index.d.ts +21 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +2 -2
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +6 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/lro/analyze/operation.d.ts +95 -0
- package/dist/browser/lro/analyze/operation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/analyze/operation.js +4 -4
- package/dist/browser/lro/analyze/operation.js.map +1 -0
- package/dist/browser/lro/analyze/poller.d.ts +27 -0
- package/dist/browser/lro/analyze/poller.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/analyze/poller.js +3 -3
- package/dist/browser/lro/analyze/poller.js.map +1 -0
- package/dist/browser/lro/health/operation.d.ts +73 -0
- package/dist/browser/lro/health/operation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/health/operation.js +4 -4
- package/dist/browser/lro/health/operation.js.map +1 -0
- package/dist/browser/lro/health/poller.d.ts +85 -0
- package/dist/browser/lro/health/poller.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/health/poller.js +3 -3
- package/dist/browser/lro/health/poller.js.map +1 -0
- package/dist/browser/lro/poller.d.ts +83 -0
- package/dist/browser/lro/poller.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro/poller.js +1 -1
- package/dist/browser/lro/poller.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/browser/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeCategorizedEntitiesResult.js +1 -1
- package/dist/browser/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/browser/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/browser/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeCategorizedEntitiesResultArray.js +2 -2
- package/dist/browser/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/browser/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/browser/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeLinkedEntitiesResult.js +1 -1
- package/dist/browser/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/browser/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/browser/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizeLinkedEntitiesResultArray.js +2 -2
- package/dist/browser/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/browser/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/browser/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizePiiEntitiesResult.js +1 -1
- package/dist/browser/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/browser/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/browser/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recognizePiiEntitiesResultArray.js +2 -2
- package/dist/browser/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/browser/textAnalyticsAction.d.ts +15 -0
- package/dist/browser/textAnalyticsAction.d.ts.map +1 -0
- package/dist/browser/textAnalyticsClient.d.ts +473 -0
- package/dist/browser/textAnalyticsClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/textAnalyticsClient.js +13 -13
- package/dist/browser/textAnalyticsClient.js.map +1 -0
- package/dist/browser/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/browser/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/browser/textAnalyticsResult.d.ts +136 -0
- package/dist/browser/textAnalyticsResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/textAnalyticsResult.js +1 -1
- package/dist/browser/textAnalyticsResult.js.map +1 -0
- package/dist/browser/util.d.ts +112 -0
- package/dist/browser/util.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util.js +1 -1
- package/dist/browser/util.js.map +1 -0
- package/dist/commonjs/analyzeActionsResult.d.ts +200 -0
- package/dist/commonjs/analyzeActionsResult.d.ts.map +1 -0
- package/dist/commonjs/analyzeActionsResult.js +161 -0
- package/dist/commonjs/analyzeActionsResult.js.map +1 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.js +57 -0
- package/dist/commonjs/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/commonjs/analyzeSentimentResult.d.ts +123 -0
- package/dist/commonjs/analyzeSentimentResult.d.ts.map +1 -0
- package/dist/commonjs/analyzeSentimentResult.js +78 -0
- package/dist/commonjs/analyzeSentimentResult.js.map +1 -0
- package/dist/commonjs/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/commonjs/analyzeSentimentResultArray.d.ts.map +1 -0
- package/dist/commonjs/analyzeSentimentResultArray.js +14 -0
- package/dist/commonjs/analyzeSentimentResultArray.js.map +1 -0
- package/dist/commonjs/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/commonjs/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/azureKeyCredentialPolicy.js +25 -0
- package/dist/commonjs/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/commonjs/constants.d.ts +5 -0
- package/dist/commonjs/constants.d.ts.map +1 -0
- package/dist/commonjs/constants.js +10 -0
- package/dist/commonjs/constants.js.map +1 -0
- package/dist/commonjs/detectLanguageResult.d.ts +29 -0
- package/dist/commonjs/detectLanguageResult.d.ts.map +1 -0
- package/dist/commonjs/detectLanguageResult.js +21 -0
- package/dist/commonjs/detectLanguageResult.js.map +1 -0
- package/dist/commonjs/detectLanguageResultArray.d.ts +24 -0
- package/dist/commonjs/detectLanguageResultArray.d.ts.map +1 -0
- package/dist/commonjs/detectLanguageResultArray.js +14 -0
- package/dist/commonjs/detectLanguageResultArray.js.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/commonjs/extractKeyPhrasesResult.d.ts.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResult.js +21 -0
- package/dist/commonjs/extractKeyPhrasesResult.js.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.js +14 -0
- package/dist/commonjs/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/commonjs/generated/generatedClient.d.ts +99 -0
- package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClient.js +416 -0
- package/dist/commonjs/generated/generatedClient.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +3 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +15 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +1498 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +525 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +83 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +2441 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +20 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +188 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/index.d.ts +21 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +6 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +12 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/lro/analyze/operation.d.ts +95 -0
- package/dist/commonjs/lro/analyze/operation.d.ts.map +1 -0
- package/dist/commonjs/lro/analyze/operation.js +171 -0
- package/dist/commonjs/lro/analyze/operation.js.map +1 -0
- package/dist/commonjs/lro/analyze/poller.d.ts +27 -0
- package/dist/commonjs/lro/analyze/poller.d.ts.map +1 -0
- package/dist/commonjs/lro/analyze/poller.js +30 -0
- package/dist/commonjs/lro/analyze/poller.js.map +1 -0
- package/dist/commonjs/lro/health/operation.d.ts +73 -0
- package/dist/commonjs/lro/health/operation.d.ts.map +1 -0
- package/dist/commonjs/lro/health/operation.js +201 -0
- package/dist/commonjs/lro/health/operation.js.map +1 -0
- package/dist/commonjs/lro/health/poller.d.ts +85 -0
- package/dist/commonjs/lro/health/poller.d.ts.map +1 -0
- package/dist/commonjs/lro/health/poller.js +30 -0
- package/dist/commonjs/lro/health/poller.js.map +1 -0
- package/dist/commonjs/lro/poller.d.ts +83 -0
- package/dist/commonjs/lro/poller.d.ts.map +1 -0
- package/dist/commonjs/lro/poller.js +46 -0
- package/dist/commonjs/lro/poller.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.js +21 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.js +14 -0
- package/dist/commonjs/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.js +21 -0
- package/dist/commonjs/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.js +14 -0
- package/dist/commonjs/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/commonjs/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResult.js +22 -0
- package/dist/commonjs/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.js +14 -0
- package/dist/commonjs/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/commonjs/textAnalyticsAction.d.ts +15 -0
- package/dist/commonjs/textAnalyticsAction.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsAction.js +5 -0
- package/dist/commonjs/textAnalyticsAction.js.map +1 -0
- package/dist/commonjs/textAnalyticsClient.d.ts +473 -0
- package/dist/commonjs/textAnalyticsClient.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsClient.js +417 -0
- package/dist/commonjs/textAnalyticsClient.js.map +1 -0
- package/dist/commonjs/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/commonjs/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsOperationOptions.js +5 -0
- package/dist/commonjs/textAnalyticsOperationOptions.js.map +1 -0
- package/dist/commonjs/textAnalyticsResult.d.ts +136 -0
- package/dist/commonjs/textAnalyticsResult.d.ts.map +1 -0
- package/dist/commonjs/textAnalyticsResult.js +75 -0
- package/dist/commonjs/textAnalyticsResult.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/util.d.ts +112 -0
- package/dist/commonjs/util.d.ts.map +1 -0
- package/dist/commonjs/util.js +217 -0
- package/dist/commonjs/util.js.map +1 -0
- package/dist/esm/analyzeActionsResult.d.ts +200 -0
- package/dist/esm/analyzeActionsResult.d.ts.map +1 -0
- package/dist/esm/analyzeActionsResult.js +157 -0
- package/dist/esm/analyzeActionsResult.js.map +1 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.js +53 -0
- package/dist/esm/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/esm/analyzeSentimentResult.d.ts +123 -0
- package/dist/esm/analyzeSentimentResult.d.ts.map +1 -0
- package/dist/esm/analyzeSentimentResult.js +74 -0
- package/dist/esm/analyzeSentimentResult.js.map +1 -0
- package/dist/esm/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/esm/analyzeSentimentResultArray.d.ts.map +1 -0
- package/dist/esm/analyzeSentimentResultArray.js +11 -0
- package/dist/esm/analyzeSentimentResultArray.js.map +1 -0
- package/dist/esm/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/esm/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/esm/azureKeyCredentialPolicy.js +22 -0
- package/dist/esm/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/esm/constants.d.ts +5 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +7 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/detectLanguageResult.d.ts +29 -0
- package/dist/esm/detectLanguageResult.d.ts.map +1 -0
- package/dist/esm/detectLanguageResult.js +17 -0
- package/dist/esm/detectLanguageResult.js.map +1 -0
- package/dist/esm/detectLanguageResultArray.d.ts +24 -0
- package/dist/esm/detectLanguageResultArray.d.ts.map +1 -0
- package/dist/esm/detectLanguageResultArray.js +11 -0
- package/dist/esm/detectLanguageResultArray.js.map +1 -0
- package/dist/esm/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/esm/extractKeyPhrasesResult.d.ts.map +1 -0
- package/dist/esm/extractKeyPhrasesResult.js +17 -0
- package/dist/esm/extractKeyPhrasesResult.js.map +1 -0
- package/dist/esm/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/esm/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/dist/esm/extractKeyPhrasesResultArray.js +11 -0
- package/dist/esm/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/esm/generated/generatedClient.d.ts +99 -0
- package/dist/esm/generated/generatedClient.d.ts.map +1 -0
- package/dist/esm/generated/generatedClient.js +411 -0
- package/dist/esm/generated/generatedClient.js.map +1 -0
- package/dist/esm/generated/index.d.ts +3 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +10 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +1498 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +522 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +83 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +2437 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +20 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +185 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +6 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +9 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/lro/analyze/operation.d.ts +95 -0
- package/dist/esm/lro/analyze/operation.d.ts.map +1 -0
- package/dist/esm/lro/analyze/operation.js +167 -0
- package/dist/esm/lro/analyze/operation.js.map +1 -0
- package/dist/esm/lro/analyze/poller.d.ts +27 -0
- package/dist/esm/lro/analyze/poller.d.ts.map +1 -0
- package/dist/esm/lro/analyze/poller.js +26 -0
- package/dist/esm/lro/analyze/poller.js.map +1 -0
- package/dist/esm/lro/health/operation.d.ts +73 -0
- package/dist/esm/lro/health/operation.d.ts.map +1 -0
- package/dist/esm/lro/health/operation.js +197 -0
- package/dist/esm/lro/health/operation.js.map +1 -0
- package/dist/esm/lro/health/poller.d.ts +85 -0
- package/dist/esm/lro/health/poller.d.ts.map +1 -0
- package/dist/esm/lro/health/poller.js +26 -0
- package/dist/esm/lro/health/poller.js.map +1 -0
- package/dist/esm/lro/poller.d.ts +83 -0
- package/dist/esm/lro/poller.d.ts.map +1 -0
- package/dist/esm/lro/poller.js +41 -0
- package/dist/esm/lro/poller.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.js +17 -0
- package/dist/esm/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.js +11 -0
- package/dist/esm/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/esm/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResult.js +17 -0
- package/dist/esm/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.js +11 -0
- package/dist/esm/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/esm/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/esm/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/dist/esm/recognizePiiEntitiesResult.js +18 -0
- package/dist/esm/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/esm/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/esm/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/dist/esm/recognizePiiEntitiesResultArray.js +11 -0
- package/dist/esm/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/esm/textAnalyticsAction.d.ts +15 -0
- package/dist/esm/textAnalyticsAction.d.ts.map +1 -0
- package/dist/esm/textAnalyticsAction.js +4 -0
- package/dist/esm/textAnalyticsAction.js.map +1 -0
- package/dist/esm/textAnalyticsClient.d.ts +473 -0
- package/dist/esm/textAnalyticsClient.d.ts.map +1 -0
- package/dist/esm/textAnalyticsClient.js +413 -0
- package/dist/esm/textAnalyticsClient.js.map +1 -0
- package/dist/esm/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/esm/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/esm/textAnalyticsOperationOptions.js +4 -0
- package/dist/esm/textAnalyticsOperationOptions.js.map +1 -0
- package/dist/esm/textAnalyticsResult.d.ts +136 -0
- package/dist/esm/textAnalyticsResult.d.ts.map +1 -0
- package/dist/esm/textAnalyticsResult.js +68 -0
- package/dist/esm/textAnalyticsResult.js.map +1 -0
- package/dist/esm/util.d.ts +112 -0
- package/dist/esm/util.d.ts.map +1 -0
- package/dist/esm/util.js +201 -0
- package/dist/esm/util.js.map +1 -0
- package/dist/react-native/analyzeActionsResult.d.ts +200 -0
- package/dist/react-native/analyzeActionsResult.d.ts.map +1 -0
- package/dist/react-native/analyzeActionsResult.js +157 -0
- package/dist/react-native/analyzeActionsResult.js.map +1 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.d.ts +159 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.js +53 -0
- package/dist/react-native/analyzeHealthcareEntitiesResult.js.map +1 -0
- package/dist/react-native/analyzeSentimentResult.d.ts +123 -0
- package/dist/react-native/analyzeSentimentResult.d.ts.map +1 -0
- package/dist/react-native/analyzeSentimentResult.js +74 -0
- package/dist/react-native/analyzeSentimentResult.js.map +1 -0
- package/dist/react-native/analyzeSentimentResultArray.d.ts +24 -0
- package/dist/react-native/analyzeSentimentResultArray.d.ts.map +1 -0
- package/dist/react-native/analyzeSentimentResultArray.js +11 -0
- package/dist/react-native/analyzeSentimentResultArray.js.map +1 -0
- package/dist/react-native/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/react-native/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/azureKeyCredentialPolicy.js +22 -0
- package/dist/react-native/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/react-native/constants.d.ts +5 -0
- package/dist/react-native/constants.d.ts.map +1 -0
- package/dist/react-native/constants.js +7 -0
- package/dist/react-native/constants.js.map +1 -0
- package/dist/react-native/detectLanguageResult.d.ts +29 -0
- package/dist/react-native/detectLanguageResult.d.ts.map +1 -0
- package/dist/react-native/detectLanguageResult.js +17 -0
- package/dist/react-native/detectLanguageResult.js.map +1 -0
- package/dist/react-native/detectLanguageResultArray.d.ts +24 -0
- package/dist/react-native/detectLanguageResultArray.d.ts.map +1 -0
- package/dist/react-native/detectLanguageResultArray.js +11 -0
- package/dist/react-native/detectLanguageResultArray.js.map +1 -0
- package/dist/react-native/extractKeyPhrasesResult.d.ts +30 -0
- package/dist/react-native/extractKeyPhrasesResult.d.ts.map +1 -0
- package/dist/react-native/extractKeyPhrasesResult.js +17 -0
- package/dist/react-native/extractKeyPhrasesResult.js.map +1 -0
- package/dist/react-native/extractKeyPhrasesResultArray.d.ts +24 -0
- package/dist/react-native/extractKeyPhrasesResultArray.d.ts.map +1 -0
- package/dist/react-native/extractKeyPhrasesResultArray.js +11 -0
- package/dist/react-native/extractKeyPhrasesResultArray.js.map +1 -0
- package/dist/react-native/generated/generatedClient.d.ts +99 -0
- package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClient.js +411 -0
- package/dist/react-native/generated/generatedClient.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +3 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +10 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +1498 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +522 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +83 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +2437 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +20 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +185 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/index.d.ts +21 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +7 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +6 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +9 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/lro/analyze/operation.d.ts +95 -0
- package/dist/react-native/lro/analyze/operation.d.ts.map +1 -0
- package/dist/react-native/lro/analyze/operation.js +167 -0
- package/dist/react-native/lro/analyze/operation.js.map +1 -0
- package/dist/react-native/lro/analyze/poller.d.ts +27 -0
- package/dist/react-native/lro/analyze/poller.d.ts.map +1 -0
- package/dist/react-native/lro/analyze/poller.js +26 -0
- package/dist/react-native/lro/analyze/poller.js.map +1 -0
- package/dist/react-native/lro/health/operation.d.ts +73 -0
- package/dist/react-native/lro/health/operation.d.ts.map +1 -0
- package/dist/react-native/lro/health/operation.js +197 -0
- package/dist/react-native/lro/health/operation.js.map +1 -0
- package/dist/react-native/lro/health/poller.d.ts +85 -0
- package/dist/react-native/lro/health/poller.d.ts.map +1 -0
- package/dist/react-native/lro/health/poller.js +26 -0
- package/dist/react-native/lro/health/poller.js.map +1 -0
- package/dist/react-native/lro/poller.d.ts +83 -0
- package/dist/react-native/lro/poller.d.ts.map +1 -0
- package/dist/react-native/lro/poller.js +41 -0
- package/dist/react-native/lro/poller.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.d.ts +35 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.js +17 -0
- package/dist/react-native/recognizeCategorizedEntitiesResult.js.map +1 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.d.ts +24 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.d.ts.map +1 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.js +11 -0
- package/dist/react-native/recognizeCategorizedEntitiesResultArray.js.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.d.ts +29 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.js +17 -0
- package/dist/react-native/recognizeLinkedEntitiesResult.js.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.d.ts +24 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.d.ts.map +1 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.js +11 -0
- package/dist/react-native/recognizeLinkedEntitiesResultArray.js.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResult.d.ts +39 -0
- package/dist/react-native/recognizePiiEntitiesResult.d.ts.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResult.js +18 -0
- package/dist/react-native/recognizePiiEntitiesResult.js.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.d.ts +24 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.d.ts.map +1 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.js +11 -0
- package/dist/react-native/recognizePiiEntitiesResultArray.js.map +1 -0
- package/dist/react-native/textAnalyticsAction.d.ts +15 -0
- package/dist/react-native/textAnalyticsAction.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsAction.js +4 -0
- package/dist/react-native/textAnalyticsAction.js.map +1 -0
- package/dist/react-native/textAnalyticsClient.d.ts +473 -0
- package/dist/react-native/textAnalyticsClient.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsClient.js +413 -0
- package/dist/react-native/textAnalyticsClient.js.map +1 -0
- package/dist/react-native/textAnalyticsOperationOptions.d.ts +26 -0
- package/dist/react-native/textAnalyticsOperationOptions.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsOperationOptions.js +4 -0
- package/dist/react-native/textAnalyticsOperationOptions.js.map +1 -0
- package/dist/react-native/textAnalyticsResult.d.ts +136 -0
- package/dist/react-native/textAnalyticsResult.d.ts.map +1 -0
- package/dist/react-native/textAnalyticsResult.js +68 -0
- package/dist/react-native/textAnalyticsResult.js.map +1 -0
- package/dist/react-native/util.d.ts +112 -0
- package/dist/react-native/util.d.ts.map +1 -0
- package/dist/react-native/util.js +201 -0
- package/dist/react-native/util.js.map +1 -0
- package/package.json +68 -53
- package/dist/index.js +0 -5219
- package/dist/index.js.map +0 -1
- package/dist-esm/src/analyzeActionsResult.js.map +0 -1
- package/dist-esm/src/analyzeHealthcareEntitiesResult.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResult.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResultArray.js.map +0 -1
- package/dist-esm/src/detectLanguageResult.js.map +0 -1
- package/dist-esm/src/detectLanguageResultArray.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResult.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResultArray.js.map +0 -1
- package/dist-esm/src/generated/generatedClient.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/models/parameters.js.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lro/analyze/operation.js.map +0 -1
- package/dist-esm/src/lro/analyze/poller.js.map +0 -1
- package/dist-esm/src/lro/health/operation.js.map +0 -1
- package/dist-esm/src/lro/health/poller.js.map +0 -1
- package/dist-esm/src/lro/poller.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/textAnalyticsClient.js.map +0 -1
- package/dist-esm/src/textAnalyticsResult.js.map +0 -1
- package/dist-esm/src/util.js.map +0 -1
- package/types/ai-text-analytics.d.ts +0 -1971
- /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsAction.js +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsAction.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsOperationOptions.js +0 -0
- /package/{dist-esm/src → dist/browser}/textAnalyticsOperationOptions.js.map +0 -0
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/constants.ts","../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClient.ts","../src/logger.ts","../src/util.ts","../src/textAnalyticsResult.ts","../src/detectLanguageResult.ts","../src/detectLanguageResultArray.ts","../src/recognizeCategorizedEntitiesResult.ts","../src/recognizeCategorizedEntitiesResultArray.ts","../src/analyzeSentimentResult.ts","../src/analyzeSentimentResultArray.ts","../src/extractKeyPhrasesResult.ts","../src/extractKeyPhrasesResultArray.ts","../src/recognizePiiEntitiesResult.ts","../src/recognizePiiEntitiesResultArray.ts","../src/recognizeLinkedEntitiesResult.ts","../src/recognizeLinkedEntitiesResultArray.ts","../src/azureKeyCredentialPolicy.ts","../src/lro/poller.ts","../src/analyzeHealthcareEntitiesResult.ts","../src/lro/health/operation.ts","../src/lro/health/poller.ts","../src/analyzeActionsResult.ts","../src/lro/analyze/operation.ts","../src/lro/analyze/poller.ts","../src/textAnalyticsClient.ts","../src/generated/models/index.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @internal\n */\nexport const SDK_VERSION: string = \"5.1.1\";\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const JobDescriptor: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobDescriptor\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AnalysisInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalysisInput\",\n modelProperties: {\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageBatchInput\"\n }\n }\n }\n }\n};\n\nexport const MultiLanguageBatchInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MultiLanguageBatchInput\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextDocumentInput\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TextDocumentInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TextDocumentInput\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n language: {\n serializedName: \"language\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const JobManifest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobManifest\",\n modelProperties: {\n tasks: {\n serializedName: \"tasks\",\n type: {\n name: \"Composite\",\n className: \"JobManifestTasks\"\n }\n }\n }\n }\n};\n\nexport const JobManifestTasks: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobManifestTasks\",\n modelProperties: {\n entityRecognitionTasks: {\n serializedName: \"entityRecognitionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EntitiesTask\"\n }\n }\n }\n },\n entityRecognitionPiiTasks: {\n serializedName: \"entityRecognitionPiiTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PiiTask\"\n }\n }\n }\n },\n keyPhraseExtractionTasks: {\n serializedName: \"keyPhraseExtractionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesTask\"\n }\n }\n }\n },\n entityLinkingTasks: {\n serializedName: \"entityLinkingTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTask\"\n }\n }\n }\n },\n sentimentAnalysisTasks: {\n serializedName: \"sentimentAnalysisTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTask\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EntitiesTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntitiesTaskParameters\"\n }\n }\n }\n }\n};\n\nexport const EntitiesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PiiTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"PiiTaskParameters\"\n }\n }\n }\n }\n};\n\nexport const PiiTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiTaskParameters\",\n modelProperties: {\n domain: {\n defaultValue: \"none\",\n serializedName: \"domain\",\n type: {\n name: \"String\"\n }\n },\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: true,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n piiCategories: {\n constraints: {\n UniqueItems: true\n },\n serializedName: \"piiCategories\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyPhrasesTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesTaskParameters\"\n }\n }\n }\n }\n};\n\nexport const KeyPhrasesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskParameters\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTaskParameters\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n opinionMining: {\n defaultValue: false,\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsError\"\n }\n }\n }\n }\n};\n\nexport const TextAnalyticsError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n innererror: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"InnerError\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsError\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const InnerError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InnerError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n innererror: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"InnerError\"\n }\n }\n }\n }\n};\n\nexport const JobMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobMetadata\",\n modelProperties: {\n createdDateTime: {\n serializedName: \"createdDateTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n expirationDateTime: {\n serializedName: \"expirationDateTime\",\n type: {\n name: \"DateTime\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n lastUpdateDateTime: {\n serializedName: \"lastUpdateDateTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"notStarted\",\n \"running\",\n \"succeeded\",\n \"failed\",\n \"rejected\",\n \"cancelled\",\n \"cancelling\"\n ]\n }\n }\n }\n }\n};\n\nexport const AnalyzeJobDisplayName: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeJobDisplayName\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TasksState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksState\",\n modelProperties: {\n tasks: {\n serializedName: \"tasks\",\n type: {\n name: \"Composite\",\n className: \"TasksStateTasks\"\n }\n }\n }\n }\n};\n\nexport const TasksStateTasks: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasks\",\n modelProperties: {\n completed: {\n serializedName: \"completed\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n failed: {\n serializedName: \"failed\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n inProgress: {\n serializedName: \"inProgress\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n total: {\n serializedName: \"total\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n entityRecognitionTasks: {\n serializedName: \"entityRecognitionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksEntityRecognitionTasksItem\"\n }\n }\n }\n },\n entityRecognitionPiiTasks: {\n serializedName: \"entityRecognitionPiiTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksEntityRecognitionPiiTasksItem\"\n }\n }\n }\n },\n keyPhraseExtractionTasks: {\n serializedName: \"keyPhraseExtractionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksKeyPhraseExtractionTasksItem\"\n }\n }\n }\n },\n entityLinkingTasks: {\n serializedName: \"entityLinkingTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksEntityLinkingTasksItem\"\n }\n }\n }\n },\n sentimentAnalysisTasks: {\n serializedName: \"sentimentAnalysisTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksSentimentAnalysisTasksItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TaskState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TaskState\",\n modelProperties: {\n lastUpdateDateTime: {\n serializedName: \"lastUpdateDateTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"notStarted\",\n \"running\",\n \"succeeded\",\n \"failed\",\n \"rejected\",\n \"cancelled\",\n \"cancelling\"\n ]\n }\n }\n }\n }\n};\n\nexport const EntitiesTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"EntitiesResult\"\n }\n }\n }\n }\n};\n\nexport const EntitiesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentEntities\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentEntities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentEntities\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n entities: {\n serializedName: \"entities\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Entity\"\n }\n }\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n }\n }\n }\n};\n\nexport const Entity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Entity\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n category: {\n serializedName: \"category\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n subCategory: {\n serializedName: \"subcategory\",\n type: {\n name: \"String\"\n }\n },\n offset: {\n serializedName: \"offset\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n length: {\n serializedName: \"length\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n confidenceScore: {\n serializedName: \"confidenceScore\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const TextAnalyticsWarning: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TextDocumentStatistics: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\",\n modelProperties: {\n characterCount: {\n serializedName: \"charactersCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n transactionCount: {\n serializedName: \"transactionsCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const DocumentError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentError\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsError\"\n }\n }\n }\n }\n};\n\nexport const TextDocumentBatchStatistics: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\",\n modelProperties: {\n documentCount: {\n serializedName: \"documentsCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n validDocumentCount: {\n serializedName: \"validDocumentsCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n erroneousDocumentCount: {\n serializedName: \"erroneousDocumentsCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n transactionCount: {\n serializedName: \"transactionsCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const PiiTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"PiiResult\"\n }\n }\n }\n }\n};\n\nexport const PiiResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PiiDocumentEntities\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PiiDocumentEntities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiDocumentEntities\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n redactedText: {\n serializedName: \"redactedText\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n entities: {\n serializedName: \"entities\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Entity\"\n }\n }\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n }\n }\n }\n};\n\nexport const KeyPhraseTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhraseTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResult\"\n }\n }\n }\n }\n};\n\nexport const KeyPhraseResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentKeyPhrases\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentKeyPhrases: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentKeyPhrases\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n keyPhrases: {\n serializedName: \"keyPhrases\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResult\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentLinkedEntities\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentLinkedEntities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentLinkedEntities\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n entities: {\n serializedName: \"entities\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"LinkedEntity\"\n }\n }\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n }\n }\n }\n};\n\nexport const LinkedEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LinkedEntity\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n matches: {\n serializedName: \"matches\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Match\"\n }\n }\n }\n },\n language: {\n serializedName: \"language\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n dataSourceEntityId: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n dataSource: {\n serializedName: \"dataSource\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n bingEntitySearchApiId: {\n serializedName: \"bingId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Match: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Match\",\n modelProperties: {\n confidenceScore: {\n serializedName: \"confidenceScore\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n offset: {\n serializedName: \"offset\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n length: {\n serializedName: \"length\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const SentimentTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"SentimentResponse\"\n }\n }\n }\n }\n};\n\nexport const SentimentResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentResponse\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentSentiment\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentSentiment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentSentiment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n sentiment: {\n serializedName: \"sentiment\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"positive\", \"neutral\", \"negative\", \"mixed\"]\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n },\n confidenceScores: {\n serializedName: \"confidenceScores\",\n type: {\n name: \"Composite\",\n className: \"SentimentConfidenceScores\"\n }\n },\n sentenceSentiments: {\n serializedName: \"sentences\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SentenceSentiment\"\n }\n }\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SentimentConfidenceScores: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentConfidenceScores\",\n modelProperties: {\n positive: {\n serializedName: \"positive\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n neutral: {\n serializedName: \"neutral\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n negative: {\n serializedName: \"negative\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const SentenceSentiment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentenceSentiment\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n sentiment: {\n serializedName: \"sentiment\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"positive\", \"neutral\", \"negative\"]\n }\n },\n confidenceScores: {\n serializedName: \"confidenceScores\",\n type: {\n name: \"Composite\",\n className: \"SentimentConfidenceScores\"\n }\n },\n offset: {\n serializedName: \"offset\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n length: {\n serializedName: \"length\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n targets: {\n serializedName: \"targets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SentenceTarget\"\n }\n }\n }\n },\n assessments: {\n serializedName: \"assessments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SentenceAssessment\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SentenceTarget: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentenceTarget\",\n modelProperties: {\n sentiment: {\n serializedName: \"sentiment\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"positive\", \"mixed\", \"negative\"]\n }\n },\n confidenceScores: {\n serializedName: \"confidenceScores\",\n type: {\n name: \"Composite\",\n className: \"TargetConfidenceScoreLabel\"\n }\n },\n offset: {\n serializedName: \"offset\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n length: {\n serializedName: \"length\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n relations: {\n serializedName: \"relations\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TargetRelation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const TargetConfidenceScoreLabel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetConfidenceScoreLabel\",\n modelProperties: {\n positive: {\n serializedName: \"positive\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n negative: {\n serializedName: \"negative\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const TargetRelation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetRelation\",\n modelProperties: {\n relationType: {\n serializedName: \"relationType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"assessment\", \"target\"]\n }\n },\n ref: {\n serializedName: \"ref\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SentenceAssessment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentenceAssessment\",\n modelProperties: {\n sentiment: {\n serializedName: \"sentiment\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"positive\", \"mixed\", \"negative\"]\n }\n },\n confidenceScores: {\n serializedName: \"confidenceScores\",\n type: {\n name: \"Composite\",\n className: \"TargetConfidenceScoreLabel\"\n }\n },\n offset: {\n serializedName: \"offset\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n length: {\n serializedName: \"length\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n isNegated: {\n serializedName: \"isNegated\",\n required: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeJobErrorsAndStatistics: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeJobErrorsAndStatistics\",\n modelProperties: {\n errors: {\n serializedName: \"errors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n }\n }\n }\n};\n\nexport const Pagination: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Pagination\",\n modelProperties: {\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HealthcareTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"HealthcareResult\"\n }\n },\n errors: {\n serializedName: \"errors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsError\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HealthcareResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentHealthcareEntities\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentHealthcareEntities: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentHealthcareEntities\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n entities: {\n serializedName: \"entities\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntity\"\n }\n }\n }\n },\n relations: {\n serializedName: \"relations\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HealthcareRelation\"\n }\n }\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n }\n }\n }\n};\n\nexport const HealthcareEntityProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntityProperties\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n category: {\n serializedName: \"category\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n subcategory: {\n serializedName: \"subcategory\",\n type: {\n name: \"String\"\n }\n },\n offset: {\n serializedName: \"offset\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n length: {\n serializedName: \"length\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n confidenceScore: {\n serializedName: \"confidenceScore\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const HealthcareLinkingProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareLinkingProperties\",\n modelProperties: {\n assertion: {\n serializedName: \"assertion\",\n type: {\n name: \"Composite\",\n className: \"HealthcareAssertion\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n links: {\n serializedName: \"links\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntityLink\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HealthcareAssertion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareAssertion\",\n modelProperties: {\n conditionality: {\n serializedName: \"conditionality\",\n type: {\n name: \"Enum\",\n allowedValues: [\"hypothetical\", \"conditional\"]\n }\n },\n certainty: {\n serializedName: \"certainty\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"positive\",\n \"positivePossible\",\n \"neutralPossible\",\n \"negativePossible\",\n \"negative\"\n ]\n }\n },\n association: {\n serializedName: \"association\",\n type: {\n name: \"Enum\",\n allowedValues: [\"subject\", \"other\"]\n }\n }\n }\n }\n};\n\nexport const HealthcareEntityLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntityLink\",\n modelProperties: {\n dataSource: {\n serializedName: \"dataSource\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HealthcareRelation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareRelation\",\n modelProperties: {\n relationType: {\n serializedName: \"relationType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n entities: {\n serializedName: \"entities\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HealthcareRelationEntity\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HealthcareRelationEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareRelationEntity\",\n modelProperties: {\n ref: {\n serializedName: \"ref\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n role: {\n serializedName: \"role\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LanguageBatchInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageBatchInput\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DetectLanguageInput\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DetectLanguageInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DetectLanguageInput\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n countryHint: {\n serializedName: \"countryHint\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LanguageResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentLanguage\"\n }\n }\n }\n },\n errors: {\n serializedName: \"errors\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentError\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\n }\n },\n modelVersion: {\n serializedName: \"modelVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentLanguage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentLanguage\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n detectedLanguage: {\n serializedName: \"detectedLanguage\",\n type: {\n name: \"Composite\",\n className: \"DetectedLanguage\"\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TextAnalyticsWarning\"\n }\n }\n }\n },\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentStatistics\"\n }\n }\n }\n }\n};\n\nexport const DetectedLanguage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DetectedLanguage\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n iso6391Name: {\n serializedName: \"iso6391Name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n confidenceScore: {\n serializedName: \"confidenceScore\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeBatchInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeBatchInput\",\n modelProperties: {\n ...JobDescriptor.type.modelProperties,\n ...AnalysisInput.type.modelProperties,\n ...JobManifest.type.modelProperties\n }\n }\n};\n\nexport const AnalyzeJobMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeJobMetadata\",\n modelProperties: {\n ...JobMetadata.type.modelProperties,\n ...AnalyzeJobDisplayName.type.modelProperties\n }\n }\n};\n\nexport const HealthcareJobState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareJobState\",\n modelProperties: {\n ...JobMetadata.type.modelProperties,\n ...HealthcareTaskResult.type.modelProperties,\n ...Pagination.type.modelProperties\n }\n }\n};\n\nexport const AnalyzeJobState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeJobState\",\n modelProperties: {\n ...AnalyzeJobMetadata.type.modelProperties,\n ...TasksState.type.modelProperties,\n ...AnalyzeJobErrorsAndStatistics.type.modelProperties,\n ...Pagination.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksEntityRecognitionTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksEntityRecognitionTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...EntitiesTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksEntityRecognitionPiiTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksEntityRecognitionPiiTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...PiiTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksKeyPhraseExtractionTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksKeyPhraseExtractionTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...KeyPhraseTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksEntityLinkingTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksEntityLinkingTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...EntityLinkingTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksSentimentAnalysisTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksSentimentAnalysisTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...SentimentTaskResult.type.modelProperties\n }\n }\n};\n\nexport const HealthcareEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntity\",\n modelProperties: {\n ...HealthcareEntityProperties.type.modelProperties,\n ...HealthcareLinkingProperties.type.modelProperties\n }\n }\n};\n\nexport const GeneratedClientAnalyzeHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientAnalyzeHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCancelHealthJobHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCancelHealthJobHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientHealthHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientHealthHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n AnalyzeBatchInput as AnalyzeBatchInputMapper,\n MultiLanguageBatchInput as MultiLanguageBatchInputMapper,\n LanguageBatchInput as LanguageBatchInputMapper\n} from \"../models/mappers\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: AnalyzeBatchInputMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"Endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationURLParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"v3.1\",\n isConstant: true,\n serializedName: \"ApiVersion\",\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const jobId: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeStatistics: OperationQueryParameter = {\n parameterPath: [\"options\", \"includeStatistics\"],\n mapper: {\n serializedName: \"showStats\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 20,\n constraints: {\n InclusiveMaximum: 50,\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n defaultValue: 0,\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const jobId1: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const input: OperationParameter = {\n parameterPath: \"input\",\n mapper: MultiLanguageBatchInputMapper\n};\n\nexport const modelVersion: OperationQueryParameter = {\n parameterPath: [\"options\", \"modelVersion\"],\n mapper: {\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const stringIndexType: OperationQueryParameter = {\n parameterPath: [\"options\", \"stringIndexType\"],\n mapper: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const loggingOptOut: OperationQueryParameter = {\n parameterPath: [\"options\", \"loggingOptOut\"],\n mapper: {\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const domain: OperationQueryParameter = {\n parameterPath: [\"options\", \"domain\"],\n mapper: {\n serializedName: \"domain\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const piiCategories: OperationQueryParameter = {\n parameterPath: [\"options\", \"piiCategories\"],\n mapper: {\n constraints: {\n UniqueItems: true\n },\n serializedName: \"piiCategories\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const input1: OperationParameter = {\n parameterPath: \"input\",\n mapper: LanguageBatchInputMapper\n};\n\nexport const opinionMining: OperationQueryParameter = {\n parameterPath: [\"options\", \"opinionMining\"],\n mapper: {\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n GeneratedClientOptionalParams,\n AnalyzeOptionalParams,\n AnalyzeResponse,\n AnalyzeStatusOptionalParams,\n AnalyzeStatusResponse,\n HealthStatusOptionalParams,\n HealthStatusResponse,\n CancelHealthJobOptionalParams,\n CancelHealthJobResponse,\n MultiLanguageBatchInput,\n HealthOptionalParams,\n HealthResponse,\n EntitiesRecognitionGeneralOptionalParams,\n EntitiesRecognitionGeneralResponse,\n EntitiesRecognitionPiiOptionalParams,\n EntitiesRecognitionPiiResponse,\n EntitiesLinkingOptionalParams,\n EntitiesLinkingResponse,\n KeyPhrasesOptionalParams,\n KeyPhrasesResponse,\n LanguageBatchInput,\n LanguagesOptionalParams,\n LanguagesResponse,\n SentimentOptionalParams,\n SentimentOperationResponse\n} from \"./models\";\n\n/** @internal */\nexport class GeneratedClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example:\n * https://westus.api.cognitive.microsoft.com).\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-ai-text-analytics/5.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ??\n options.baseUri ??\n \"{Endpoint}/text/analytics/{ApiVersion}\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"v3.1\";\n }\n\n /**\n * Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed.\n * @param options The options parameters.\n */\n analyze(options?: AnalyzeOptionalParams): Promise<AnalyzeResponse> {\n return this.sendOperationRequest({ options }, analyzeOperationSpec);\n }\n\n /**\n * Get the status of an analysis job. A job may consist of one or more tasks. Once all tasks are\n * completed, the job will transition to the completed state and results will be available for each\n * task.\n * @param jobId Job ID for Analyze\n * @param options The options parameters.\n */\n analyzeStatus(\n jobId: string,\n options?: AnalyzeStatusOptionalParams\n ): Promise<AnalyzeStatusResponse> {\n return this.sendOperationRequest(\n { jobId, options },\n analyzeStatusOperationSpec\n );\n }\n\n /**\n * Get details of the healthcare prediction job specified by the jobId.\n * @param jobId Job ID\n * @param options The options parameters.\n */\n healthStatus(\n jobId: string,\n options?: HealthStatusOptionalParams\n ): Promise<HealthStatusResponse> {\n return this.sendOperationRequest(\n { jobId, options },\n healthStatusOperationSpec\n );\n }\n\n /**\n * Cancel healthcare prediction job.\n * @param jobId Job ID\n * @param options The options parameters.\n */\n cancelHealthJob(\n jobId: string,\n options?: CancelHealthJobOptionalParams\n ): Promise<CancelHealthJobResponse> {\n return this.sendOperationRequest(\n { jobId, options },\n cancelHealthJobOperationSpec\n );\n }\n\n /**\n * Start a healthcare analysis job to recognize healthcare related entities (drugs, conditions,\n * symptoms, etc) and their relations.\n * @param input Collection of documents to analyze.\n * @param options The options parameters.\n */\n health(\n input: MultiLanguageBatchInput,\n options?: HealthOptionalParams\n ): Promise<HealthResponse> {\n return this.sendOperationRequest({ input, options }, healthOperationSpec);\n }\n\n /**\n * The API returns a list of general named entities in a given document. For the list of supported\n * entity types, check <a href=\"https://aka.ms/taner\">Supported Entity Types in Text Analytics API</a>.\n * See the <a href=\"https://aka.ms/talangs\">Supported languages in Text Analytics API</a> for the list\n * of enabled languages.\n * @param input Collection of documents to analyze.\n * @param options The options parameters.\n */\n entitiesRecognitionGeneral(\n input: MultiLanguageBatchInput,\n options?: EntitiesRecognitionGeneralOptionalParams\n ): Promise<EntitiesRecognitionGeneralResponse> {\n return this.sendOperationRequest(\n { input, options },\n entitiesRecognitionGeneralOperationSpec\n );\n }\n\n /**\n * The API returns a list of entities with personal information (\\\"SSN\\\", \\\"Bank Account\\\" etc) in the\n * document. For the list of supported entity types, check <a href=\"https://aka.ms/tanerpii\">Supported\n * Entity Types in Text Analytics API</a>. See the <a href=\"https://aka.ms/talangs\">Supported languages\n * in Text Analytics API</a> for the list of enabled languages.\n *\n * @param input Collection of documents to analyze.\n * @param options The options parameters.\n */\n entitiesRecognitionPii(\n input: MultiLanguageBatchInput,\n options?: EntitiesRecognitionPiiOptionalParams\n ): Promise<EntitiesRecognitionPiiResponse> {\n return this.sendOperationRequest(\n { input, options },\n entitiesRecognitionPiiOperationSpec\n );\n }\n\n /**\n * The API returns a list of recognized entities with links to a well known knowledge base. See the <a\n * href=\"https://aka.ms/talangs\">Supported languages in Text Analytics API</a> for the list of enabled\n * languages.\n * @param input Collection of documents to analyze.\n * @param options The options parameters.\n */\n entitiesLinking(\n input: MultiLanguageBatchInput,\n options?: EntitiesLinkingOptionalParams\n ): Promise<EntitiesLinkingResponse> {\n return this.sendOperationRequest(\n { input, options },\n entitiesLinkingOperationSpec\n );\n }\n\n /**\n * The API returns a list of strings denoting the key phrases in the input text. See the <a\n * href=\"https://aka.ms/talangs\">Supported languages in Text Analytics API</a> for the list of enabled\n * languages.\n * @param input Collection of documents to analyze.\n * @param options The options parameters.\n */\n keyPhrases(\n input: MultiLanguageBatchInput,\n options?: KeyPhrasesOptionalParams\n ): Promise<KeyPhrasesResponse> {\n return this.sendOperationRequest(\n { input, options },\n keyPhrasesOperationSpec\n );\n }\n\n /**\n * The API returns the detected language and a numeric score between 0 and 1. Scores close to 1\n * indicate 100% certainty that the identified language is true. See the <a\n * href=\"https://aka.ms/talangs\">Supported languages in Text Analytics API</a> for the list of enabled\n * languages.\n * @param input Collection of documents to analyze for language endpoint.\n * @param options The options parameters.\n */\n languages(\n input: LanguageBatchInput,\n options?: LanguagesOptionalParams\n ): Promise<LanguagesResponse> {\n return this.sendOperationRequest(\n { input, options },\n languagesOperationSpec\n );\n }\n\n /**\n * The API returns a detailed sentiment analysis for the input text. The analysis is done in multiple\n * levels of granularity, start from the a document level, down to sentence and key terms (targets and\n * assessments).\n * @param input Collection of documents to analyze.\n * @param options The options parameters.\n */\n sentiment(\n input: MultiLanguageBatchInput,\n options?: SentimentOptionalParams\n ): Promise<SentimentOperationResponse> {\n return this.sendOperationRequest(\n { input, options },\n sentimentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst analyzeOperationSpec: coreClient.OperationSpec = {\n path: \"/analyze\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n headersMapper: Mappers.GeneratedClientAnalyzeHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body,\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst analyzeStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/analyze/jobs/{jobId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AnalyzeJobState\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.top,\n Parameters.skip\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst healthStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/entities/health/jobs/{jobId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.HealthcareJobState\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.top,\n Parameters.skip\n ],\n urlParameters: [\n Parameters.endpoint,\n Parameters.apiVersion,\n Parameters.jobId1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst cancelHealthJobOperationSpec: coreClient.OperationSpec = {\n path: \"/entities/health/jobs/{jobId}\",\n httpMethod: \"DELETE\",\n responses: {\n 202: {\n headersMapper: Mappers.GeneratedClientCancelHealthJobHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.apiVersion,\n Parameters.jobId1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst healthOperationSpec: coreClient.OperationSpec = {\n path: \"/entities/health/jobs\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n headersMapper: Mappers.GeneratedClientHealthHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input,\n queryParameters: [\n Parameters.modelVersion,\n Parameters.stringIndexType,\n Parameters.loggingOptOut\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst entitiesRecognitionGeneralOperationSpec: coreClient.OperationSpec = {\n path: \"/entities/recognition/general\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EntitiesResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input,\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.modelVersion,\n Parameters.stringIndexType,\n Parameters.loggingOptOut\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst entitiesRecognitionPiiOperationSpec: coreClient.OperationSpec = {\n path: \"/entities/recognition/pii\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PiiResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input,\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.modelVersion,\n Parameters.stringIndexType,\n Parameters.loggingOptOut,\n Parameters.domain,\n Parameters.piiCategories\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst entitiesLinkingOperationSpec: coreClient.OperationSpec = {\n path: \"/entities/linking\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.EntityLinkingResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input,\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.modelVersion,\n Parameters.stringIndexType,\n Parameters.loggingOptOut\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst keyPhrasesOperationSpec: coreClient.OperationSpec = {\n path: \"/keyPhrases\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyPhraseResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input,\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.modelVersion,\n Parameters.loggingOptOut\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst languagesOperationSpec: coreClient.OperationSpec = {\n path: \"/languages\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LanguageResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input1,\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.modelVersion,\n Parameters.loggingOptOut\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst sentimentOperationSpec: coreClient.OperationSpec = {\n path: \"/sentiment\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SentimentResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.input,\n queryParameters: [\n Parameters.includeStatistics,\n Parameters.modelVersion,\n Parameters.stringIndexType,\n Parameters.loggingOptOut,\n Parameters.opinionMining\n ],\n urlParameters: [Parameters.endpoint, Parameters.apiVersion],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The `@azure/logger` configuration for this package.\n * @internal\n */\nexport const logger = createClientLogger(\"ai-text-analytics\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\nimport { logger } from \"./logger\";\nimport type {\n ErrorResponse,\n StringIndexType as GeneratedStringIndexType,\n InnerError,\n TextAnalyticsError,\n} from \"./generated\";\nimport type { TextAnalyticsAction } from \"./textAnalyticsAction\";\n\n/**\n * @internal\n */\ninterface IdObject {\n id: string;\n}\n\n/**\n * Given a sorted array of input objects (with a unique ID) and an unsorted array of results,\n * return a sorted array of results.\n *\n * @internal\n * @param sortedArray - An array of entries sorted by `id`\n * @param unsortedArray - An array of entries that contain `id` but are not sorted\n */\nexport function sortResponseIdObjects<T extends IdObject, U extends IdObject>(\n sortedArray: T[],\n unsortedArray: U[],\n): U[] {\n const unsortedMap = new Map<string, U>();\n for (const item of unsortedArray) {\n unsortedMap.set(item.id, item);\n }\n\n if (unsortedArray.length !== sortedArray.length) {\n const ordinal = unsortedArray.length > sortedArray.length ? \"more\" : \"fewer\";\n logger.warning(\n `The service returned ${ordinal} responses than inputs. Some errors may be treated as fatal.`,\n );\n }\n\n const result: U[] = [];\n for (const sortedItem of sortedArray) {\n const item = unsortedMap.get(sortedItem.id);\n if (item) {\n result.push(item);\n }\n }\n return result;\n}\n\n/**\n * @internal\n */\nexport interface AssessmentIndex {\n document: number;\n sentence: number;\n assessment: number;\n}\n\n/**\n * @internal\n */\nexport function parseAssessmentIndex(pointer: string): AssessmentIndex {\n const regex = new RegExp(/#\\/documents\\/(\\d+)\\/sentences\\/(\\d+)\\/assessments\\/(\\d+)/);\n const res = regex.exec(pointer);\n if (res !== null) {\n const assessmentIndex: AssessmentIndex = {\n document: parseInt(res[1]),\n sentence: parseInt(res[2]),\n assessment: parseInt(res[3]),\n };\n return assessmentIndex;\n } else {\n throw new Error(`Pointer \"${pointer}\" is not a valid Assessment pointer`);\n }\n}\n\n/**\n * Parses the index of the healthcare entity from a JSON pointer.\n * @param pointer - a JSON pointer representing an entity\n * @internal\n */\nexport function parseHealthcareEntityIndex(pointer: string): number {\n const regex = new RegExp(/#\\/results\\/documents\\/(\\d+)\\/entities\\/(\\d+)/);\n const res = regex.exec(pointer);\n if (res !== null) {\n return parseInt(res[2]);\n } else {\n throw new Error(`Pointer \"${pointer}\" is not a valid healthcare entity pointer`);\n }\n}\n\nconst jsEncodingUnit = \"Utf16CodeUnit\";\n\n/**\n * Measurement units that can used to calculate the offset and length properties.\n */\nexport type StringIndexType = \"TextElement_v8\" | \"UnicodeCodePoint\" | \"Utf16CodeUnit\";\n\n/**\n * @internal\n */\nexport function addStrEncodingParam<Options extends { stringIndexType?: StringIndexType }>(\n options: Options,\n): Options & { stringIndexType: StringIndexType } {\n return { ...options, stringIndexType: options.stringIndexType || jsEncodingUnit };\n}\n\n/**\n * Set the stringIndexType property with default if it does not exist in x.\n * @param options - operation options bag that has a {@link StringIndexType}\n * @internal\n */\nexport function setStrEncodingParam<X extends { stringIndexType?: GeneratedStringIndexType }>(\n x: X,\n): X & { stringIndexType: GeneratedStringIndexType } {\n return { ...x, stringIndexType: x.stringIndexType || jsEncodingUnit };\n}\n\nexport function setStrEncodingParamValue(\n stringIndexType?: GeneratedStringIndexType,\n): GeneratedStringIndexType {\n return stringIndexType || jsEncodingUnit;\n}\n\n/**\n * Set the opinion mining property\n * @internal\n */\nexport function setOpinionMining<X extends { includeOpinionMining?: boolean }>(\n x: X,\n): X & { opinionMining?: boolean } {\n return { ...x, opinionMining: x.includeOpinionMining };\n}\n\n/**\n * Set the pii categories property\n * @internal\n */\nexport function setCategoriesFilter<X extends { categoriesFilter?: string[] }>(\n x: X,\n): X & { piiCategories?: string[] } {\n return { ...x, piiCategories: x.categoriesFilter };\n}\n\n/**\n * @internal\n */\nexport function addParamsToTask<X extends TextAnalyticsAction>(\n action: X,\n): { parameters?: Omit<X, \"actionName\">; taskName?: string } {\n const { actionName, ...params } = action;\n return { parameters: params, taskName: actionName };\n}\n\n/**\n * @internal\n */\ninterface PageParam {\n top: number;\n skip: number;\n}\n\n/**\n * @internal\n */\nexport function nextLinkToTopAndSkip(nextLink: string): PageParam {\n const url = new URL(nextLink);\n const searchParams = new URLSearchParams(url.searchParams);\n let top: number;\n if (searchParams.has(\"$top\")) {\n top = parseInt(searchParams.get(\"$top\")!);\n } else {\n throw new Error(`nextLink URL does not have the $top param: ${nextLink}`);\n }\n let skip: number;\n if (searchParams.has(\"$skip\")) {\n skip = parseInt(searchParams.get(\"$skip\")!);\n } else {\n throw new Error(`nextLink URL does not have the $skip param: ${nextLink}`);\n }\n return {\n skip: skip,\n top: top,\n };\n}\n\n/**\n * @internal\n */\nexport function getOperationId(operationLocation: string): string {\n const lastSlashIndex = operationLocation.lastIndexOf(\"/\");\n return operationLocation.substring(lastSlashIndex + 1);\n}\n\nfunction appendReadableErrorMessage(currentMessage: string, innerMessage: string): string {\n let message = currentMessage;\n if (message.slice(-1) !== \".\") {\n message = message + \".\";\n }\n return message + \" \" + innerMessage;\n}\n\n/**\n * @internal\n * parses incoming errors from the service/\n * @param error - the incoming error\n */\nfunction transformError(errorResponse: unknown): any {\n const strongErrorResponse = errorResponse as {\n response: {\n parsedBody?: ErrorResponse;\n };\n statusCode: number;\n };\n if (!strongErrorResponse.response) {\n throw errorResponse;\n }\n const topLevelError = strongErrorResponse.response.parsedBody?.error;\n if (!topLevelError) return errorResponse;\n let errorMessage = topLevelError.message;\n let code = topLevelError.code;\n function unwrap(error: TextAnalyticsError | InnerError): TextAnalyticsError {\n const innerError = error.innererror;\n if (innerError) {\n if (innerError.message) {\n errorMessage = appendReadableErrorMessage(errorMessage, innerError.message);\n }\n if (innerError.code) {\n code = innerError.code;\n }\n return unwrap(innerError);\n }\n return error as TextAnalyticsError;\n }\n unwrap(topLevelError);\n return new RestError(errorMessage, {\n code: code === \"InvalidDocumentBatch\" ? code : topLevelError.code,\n statusCode: strongErrorResponse.statusCode,\n });\n}\n\nexport async function throwError<T>(p: Promise<T>): Promise<T> {\n try {\n return await p;\n } catch (e: unknown) {\n throw transformError(e);\n }\n}\n\n/**\n * A wrapper for setTimeout that resolves a promise after t milliseconds.\n * @internal\n * @param timeInMs - The number of milliseconds to be delayed.\n * @returns Resolved promise\n */\nexport function delay(timeInMs: number): Promise<void> {\n return new Promise((resolve) => setTimeout(() => resolve(), timeInMs));\n}\n\n/**\n * @internal\n */\nexport function compose<T1, T2, T3>(fn1: (x: T1) => T2, fn2: (y: T2) => T3): (x: T1) => T3 {\n return (value: T1) => fn2(fn1(value));\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n DocumentError,\n ErrorCodeValue,\n TextAnalyticsError as GeneratedTextAnalyticsErrorModel,\n InnerError,\n InnerErrorCodeValue,\n TextAnalyticsWarning,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n TextDocumentStatistics,\n} from \"./generated/models\";\nimport { sortResponseIdObjects } from \"./util\";\n\n/**\n * An Error Code returned from the Text Analytics service. Possible\n * values include:\n *\n * For more information about the error, see the `message` property of the associated error.\n */\nexport type ErrorCode = ErrorCodeValue | InnerErrorCodeValue;\n\n/**\n * Type describing an error from the Text Analytics service.\n */\nexport interface TextAnalyticsError {\n /**\n * A code describing the kind of error produced\n */\n readonly code: ErrorCode;\n /**\n * A message from the service explaining the error\n */\n readonly message: string;\n /**\n * The target of the particular error (for example, the name of an invalid parameter)\n */\n readonly target?: string;\n}\n\n/**\n * Base type for results of text analytics operations corresponding to a single\n * input document.\n */\nexport interface TextAnalyticsSuccessResult {\n /**\n * Unique, non-empty document identifier.\n */\n readonly id: string;\n\n /**\n * Statistics about the input document and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n readonly statistics?: TextDocumentStatistics;\n\n /**\n * An array of warning data corresponding to this document.\n *\n * If no warnings were returned, this array will be empty.\n */\n readonly warnings: TextAnalyticsWarning[];\n\n /**\n * Discriminant to determine if that this is an error result.\n */\n readonly error?: undefined;\n}\n\n/**\n * Base type for error results of text analytics operations corresponding to a\n * single document.\n */\nexport interface TextAnalyticsErrorResult {\n /**\n * Unique, non-empty document identifier.\n */\n readonly id: string;\n\n /**\n * The Error for this document result.\n */\n readonly error: TextAnalyticsError;\n}\n\n/**\n * @internal\n */\ninterface TextAnalyticsResultArray<T1 extends TextAnalyticsSuccessResult>\n extends Array<T1 | TextAnalyticsErrorResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\ninterface TextAnalyticsResponse<T1 extends TextAnalyticsSuccessResult> {\n /**\n * Response by document\n */\n documents: T1[];\n /**\n * Errors by document id.\n */\n errors: DocumentError[];\n /**\n * if includeStatistics=true was specified in the request this field will contain information about the request payload.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * This field indicates which model is used for scoring.\n */\n modelVersion: string;\n}\n\n/**\n * Helper function for converting nested service error into\n * the unified TextAnalyticsError\n * @internal\n */\nexport function intoTextAnalyticsError(\n errorModel: GeneratedTextAnalyticsErrorModel | InnerError,\n): TextAnalyticsError {\n // Return the deepest error. This will always be at most\n // one level for TextAnalytics\n if (errorModel.innererror !== undefined) {\n return intoTextAnalyticsError(errorModel.innererror);\n }\n\n return {\n code: errorModel.code,\n message: errorModel.message,\n target: errorModel.target,\n };\n}\n\n/**\n * @internal\n */\nexport function makeTextAnalyticsSuccessResult(\n id: string,\n warnings: TextAnalyticsWarning[],\n statistics?: TextDocumentStatistics,\n): TextAnalyticsSuccessResult {\n return {\n id,\n statistics,\n warnings,\n };\n}\n\n/**\n * @internal\n */\nexport function makeTextAnalyticsErrorResult(\n id: string,\n error: GeneratedTextAnalyticsErrorModel,\n): TextAnalyticsErrorResult {\n return {\n id,\n error: intoTextAnalyticsError(error),\n };\n}\n\n/**\n * @internal\n * combines successful and erroneous results into a single array of results and\n * sort them so that the IDs order match that of the input documents array.\n * @param input - the array of documents sent to the service for processing.\n * @param response - the response received from the service.\n * @param process - a function to convert the results from one type to another.\n */\nexport function processAndCombineSuccessfulAndErroneousDocuments<\n TSuccessService extends TextAnalyticsSuccessResult,\n TSuccessSDK extends TextAnalyticsSuccessResult,\n TError extends TextAnalyticsErrorResult,\n>(\n input: TextDocumentInput[],\n response: TextAnalyticsResponse<TSuccessService>,\n processSuccess: (successResult: TSuccessService) => TSuccessSDK,\n processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError,\n): (TSuccessSDK | TextAnalyticsErrorResult)[] {\n const successResults: (TSuccessSDK | TextAnalyticsErrorResult)[] =\n response.documents.map(processSuccess);\n const unsortedResults = successResults.concat(\n response.errors.map((error) => processError(error.id, error.error)),\n );\n\n return sortResponseIdObjects(input, unsortedResults);\n}\n\n/**\n * @internal\n * combines successful and erroneous results into a single array of results and\n * sort them so that the IDs order match that of the input documents array. It\n * also attaches statistics and modelVersion to the returned array.\n * @param input - the array of documents sent to the service for processing.\n * @param response - the response received from the service.\n */\nexport function combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion<\n TSuccessService extends TextAnalyticsSuccessResult,\n TSuccessSDK extends TextAnalyticsSuccessResult,\n TError extends TextAnalyticsErrorResult,\n>(\n input: TextDocumentInput[],\n response: TextAnalyticsResponse<TSuccessService>,\n processSuccess: (doc: TSuccessService) => TSuccessSDK,\n processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError,\n): TextAnalyticsResultArray<TSuccessSDK> {\n const sorted = processAndCombineSuccessfulAndErroneousDocuments(\n input,\n response,\n processSuccess,\n processError,\n );\n return Object.assign(sorted, {\n statistics: response.statistics,\n modelVersion: response.modelVersion,\n });\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport type { DetectedLanguage, DocumentLanguage, TextAnalyticsError } from \"./generated/models\";\n\n/**\n * The result of the detect language operation on a single document.\n */\nexport type DetectLanguageResult = DetectLanguageSuccessResult | DetectLanguageErrorResult;\n\n/**\n * The result of the detect language operation on a single document,\n * containing a prediction of what language the document is written in.\n */\nexport interface DetectLanguageSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The top detected language by confidence score.\n */\n readonly primaryLanguage: DetectedLanguage;\n}\n\n/**\n * An error result from the detect languge operation on a single document.\n */\nexport type DetectLanguageErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeDetectLanguageResult(response: DocumentLanguage): DetectLanguageSuccessResult {\n const { id, warnings, statistics, detectedLanguage } = response;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n primaryLanguage: detectedLanguage,\n };\n}\n\n/**\n * @internal\n */\nexport function makeDetectLanguageErrorResult(\n id: string,\n error: TextAnalyticsError,\n): DetectLanguageErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n LanguageResult,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"./generated/models\";\nimport type { DetectLanguageResult } from \"./detectLanguageResult\";\nimport { makeDetectLanguageErrorResult, makeDetectLanguageResult } from \"./detectLanguageResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Array of `DetectLanguageResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface DetectLanguageResultArray extends Array<DetectLanguageResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\nexport function makeDetectLanguageResultArray(\n input: TextDocumentInput[],\n response: LanguageResult,\n): DetectLanguageResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeDetectLanguageResult,\n makeDetectLanguageErrorResult,\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport type { DocumentEntities, Entity, TextAnalyticsError } from \"./generated/models\";\n\n/**\n * An entity from text analysis with information about its categorical\n * classification.\n */\nexport interface CategorizedEntity extends Entity {}\n\n/**\n * The result of the recognize entities operation on a single document.\n */\nexport type RecognizeCategorizedEntitiesResult =\n | RecognizeCategorizedEntitiesSuccessResult\n | RecognizeCategorizedEntitiesErrorResult;\n\n/**\n * The result of the recognize entities operation on a single document, containing the collection of\n * `Entity` objects identified in that document.\n */\nexport interface RecognizeCategorizedEntitiesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: CategorizedEntity[];\n}\n\n/**\n * An error result from the recognize entities operation on a single document.\n */\nexport type RecognizeCategorizedEntitiesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeRecognizeCategorizedEntitiesResult(\n result: DocumentEntities,\n): RecognizeCategorizedEntitiesSuccessResult {\n const { entities, statistics, warnings, id } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n entities,\n };\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeCategorizedEntitiesErrorResult(\n id: string,\n error: TextAnalyticsError,\n): RecognizeCategorizedEntitiesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n EntitiesResult,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"./generated/models\";\nimport type { RecognizeCategorizedEntitiesResult } from \"./recognizeCategorizedEntitiesResult\";\nimport {\n makeRecognizeCategorizedEntitiesErrorResult,\n makeRecognizeCategorizedEntitiesResult,\n} from \"./recognizeCategorizedEntitiesResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Array of `RecognizeCategorizedEntitiesResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface RecognizeCategorizedEntitiesResultArray\n extends Array<RecognizeCategorizedEntitiesResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeCategorizedEntitiesResultArray(\n input: TextDocumentInput[],\n response: EntitiesResult,\n): RecognizeCategorizedEntitiesResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeRecognizeCategorizedEntitiesResult,\n makeRecognizeCategorizedEntitiesErrorResult,\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport type {\n DocumentSentiment,\n DocumentSentimentLabel,\n SentenceSentiment as GeneratedSentenceSentiment,\n SentenceAssessment,\n SentenceSentimentLabel,\n SentenceTarget,\n TokenSentimentValue as SentenceTargetSentiment,\n SentimentConfidenceScores,\n TargetConfidenceScoreLabel,\n TargetRelation,\n TextAnalyticsError,\n} from \"./generated/models\";\nimport type { AssessmentIndex } from \"./util\";\nimport { parseAssessmentIndex } from \"./util\";\n\n/**\n * The result of the analyze sentiment operation on a single document.\n */\nexport type AnalyzeSentimentResult = AnalyzeSentimentSuccessResult | AnalyzeSentimentErrorResult;\n\n/**\n * The result of the analyze sentiment operation on a single document,\n * containing the predicted sentiment for each sentence as well as for the full document.\n */\nexport interface AnalyzeSentimentSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * Predicted sentiment for document. Possible values\n * include: 'positive', 'neutral', 'negative', 'mixed'\n */\n sentiment: DocumentSentimentLabel;\n /**\n * Document level sentiment confidence scores between 0 and 1 for each sentiment class.\n */\n confidenceScores: SentimentConfidenceScores;\n /**\n * The predicted sentiment for each sentence in the corresponding document.\n */\n sentences: SentenceSentiment[];\n}\n\n/**\n * The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis.\n */\nexport interface SentenceSentiment {\n /**\n * The sentence text.\n */\n text: string;\n /**\n * The predicted Sentiment for the sentence.\n */\n sentiment: SentenceSentimentLabel;\n /**\n * The sentiment confidence score between 0 and 1 for the sentence for all classes.\n */\n confidenceScores: SentimentConfidenceScores;\n /**\n * The sentence text offset from the start of the document.\n */\n offset: number;\n /**\n * The length of the sentence text.\n */\n length: number;\n /**\n * The list of opinions mined from this sentence. For example in \"The food is\n * good, but the service is bad\", we would mine these two opinions \"food is\n * good\", \"service is bad\". Only returned if `includeOpinionMining` is set to\n * True in the call to `analyzeSentiment`.\n */\n opinions: Opinion[];\n}\n\n/**\n * TargetSentiment contains the predicted sentiment, confidence scores and other\n * information about an target of a product. A target of a product/service is a\n * key component of that product/service. For example in \"The food at Hotel Foo\n * is good\", \"food\" is a target of \"Hotel Foo\".\n */\nexport interface TargetSentiment {\n /**\n * The sentiment confidence score between 0 and 1 for the target for\n * 'positive' and 'negative' labels.\n */\n confidenceScores: TargetConfidenceScoreLabel;\n /**\n * The predicted Sentiment for the Target. Possible values include 'positive',\n * 'mixed', and 'negative'.\n */\n sentiment: SentenceTargetSentiment;\n /**\n * The target text.\n */\n text: string;\n /**\n * The Target text offset from the start of the sentence.\n */\n offset: number;\n /**\n * The length of the Target text.\n */\n length: number;\n}\n\n/**\n * AssessmentSentiment contains the predicted sentiment, confidence scores and\n * other information about an assessment of a target. For example, in the sentence\n * \"The food is good\", the assessment of the target 'food' is 'good'.\n */\nexport interface AssessmentSentiment extends SentenceAssessment {}\n\n/**\n * A mined opinion object represents an opinion we've extracted from a sentence.\n * It consists of both a target that these assessments are about, and the actual\n * assessments themselves.\n */\nexport interface Opinion {\n /**\n * The target of a product/service that this assessment is about.\n */\n target: TargetSentiment;\n /**\n * The actual assessments of the target.\n */\n assessments: AssessmentSentiment[];\n}\n\n/**\n * An error result from the analyze sentiment operation on a single document.\n */\nexport type AnalyzeSentimentErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @param document - A document result coming from the service.\n * @internal\n */\nexport function makeAnalyzeSentimentResult(\n result: DocumentSentiment,\n): AnalyzeSentimentSuccessResult {\n const {\n id,\n sentiment,\n confidenceScores,\n sentenceSentiments: sentences,\n warnings,\n statistics,\n } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n sentiment,\n confidenceScores,\n sentences: sentences.map((sentence) => convertGeneratedSentenceSentiment(sentence, result)),\n };\n}\n\n/**\n * @internal\n */\nexport function makeAnalyzeSentimentErrorResult(\n id: string,\n error: TextAnalyticsError,\n): AnalyzeSentimentErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n\n/**\n * Converts a sentence sentiment object returned by the service to another that\n * is user-friendly.\n *\n * @param sentence - The sentence sentiment object to be converted.\n * @param response - The entire response returned by the service.\n * @returns The user-friendly sentence sentiment object.\n * @internal\n */\nfunction convertGeneratedSentenceSentiment(\n sentence: GeneratedSentenceSentiment,\n result: DocumentSentiment,\n): SentenceSentiment {\n return {\n confidenceScores: sentence.confidenceScores,\n sentiment: sentence.sentiment,\n text: sentence.text,\n offset: sentence.offset,\n length: sentence.length,\n opinions: sentence.targets\n ? sentence.targets.map(\n (target: SentenceTarget): Opinion => ({\n target: {\n confidenceScores: target.confidenceScores,\n sentiment: target.sentiment,\n text: target.text,\n offset: target.offset,\n length: target.length,\n },\n assessments: target.relations\n .filter((relation) => relation.relationType === \"assessment\")\n .map((relation) => convertTargetRelationToAssessmentSentiment(relation, result)),\n }),\n )\n : [],\n };\n}\n\n/**\n * Converts a target relation object returned by the service to an assessment\n * sentiment object where JSON pointers in the former are realized in the\n * latter.\n *\n * @param targetRelation - The target relation object to be converted.\n * @param response - The entire response returned by the service.\n * @returns The user-friendly assessment sentiment object.\n * @internal\n */\nfunction convertTargetRelationToAssessmentSentiment(\n targetRelation: TargetRelation,\n result: DocumentSentiment,\n): AssessmentSentiment {\n const assessmentPtr = targetRelation.ref;\n const assessmentIndex: AssessmentIndex = parseAssessmentIndex(assessmentPtr);\n const assessment: SentenceAssessment | undefined =\n result.sentenceSentiments?.[assessmentIndex.sentence].assessments?.[assessmentIndex.assessment];\n if (assessment !== undefined) {\n return assessment;\n } else {\n throw new Error(`Pointer \"${assessmentPtr}\" is not a valid Assessment pointer`);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n SentimentResponse,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"./generated/models\";\nimport type { AnalyzeSentimentResult } from \"./analyzeSentimentResult\";\nimport {\n makeAnalyzeSentimentErrorResult,\n makeAnalyzeSentimentResult,\n} from \"./analyzeSentimentResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Array of `AnalyzeSentimentResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface AnalyzeSentimentResultArray extends Array<AnalyzeSentimentResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\nexport function makeAnalyzeSentimentResultArray(\n input: TextDocumentInput[],\n response: SentimentResponse,\n): AnalyzeSentimentResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeAnalyzeSentimentResult,\n makeAnalyzeSentimentErrorResult,\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport type { DocumentKeyPhrases, TextAnalyticsError } from \"./generated/models\";\n\n/**\n * The result of the extract key phrases operation on a single document.\n */\nexport type ExtractKeyPhrasesResult = ExtractKeyPhrasesSuccessResult | ExtractKeyPhrasesErrorResult;\n\n/**\n * The result of the extract key phrases operation on a single document,\n * containing a collection of the key phrases identified in that document.\n */\nexport interface ExtractKeyPhrasesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * A list of representative words or phrases. The number of key phrases returned is proportional\n * to the number of words in the input document.\n */\n keyPhrases: string[];\n}\n\n/**\n * An error result from the extract key phrases operation on a single document.\n */\nexport type ExtractKeyPhrasesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeExtractKeyPhrasesResult(\n result: DocumentKeyPhrases,\n): ExtractKeyPhrasesSuccessResult {\n const { id, warnings, statistics, keyPhrases } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n keyPhrases,\n };\n}\n\n/**\n * @internal\n */\nexport function makeExtractKeyPhrasesErrorResult(\n id: string,\n error: TextAnalyticsError,\n): ExtractKeyPhrasesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n KeyPhraseResult,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"./generated/models\";\nimport type { ExtractKeyPhrasesResult } from \"./extractKeyPhrasesResult\";\nimport {\n makeExtractKeyPhrasesErrorResult,\n makeExtractKeyPhrasesResult,\n} from \"./extractKeyPhrasesResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Array of `ExtractKeyPhrasesResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface ExtractKeyPhrasesResultArray extends Array<ExtractKeyPhrasesResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\nexport function makeExtractKeyPhrasesResultArray(\n input: TextDocumentInput[],\n response: KeyPhraseResult,\n): ExtractKeyPhrasesResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeExtractKeyPhrasesResult,\n makeExtractKeyPhrasesErrorResult,\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport type { Entity, PiiDocumentEntities, TextAnalyticsError } from \"./generated/models\";\n\n/**\n * An entity from PII recognition with information about the kind of PII\n * encountered.\n */\nexport interface PiiEntity extends Entity {}\n\n/**\n * The result of the recognize entities operation on a single document.\n */\nexport type RecognizePiiEntitiesResult =\n | RecognizePiiEntitiesSuccessResult\n | RecognizePiiEntitiesErrorResult;\n\n/**\n * The result of the recognize entities operation on a single document, containing the collection of\n * `Entity` objects identified in that document.\n */\nexport interface RecognizePiiEntitiesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: PiiEntity[];\n /**\n * The text redacted.\n */\n redactedText: string;\n}\n\n/**\n * An error result from the recognize entities operation on a single document.\n */\nexport type RecognizePiiEntitiesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeRecognizePiiEntitiesResult(\n document: PiiDocumentEntities,\n): RecognizePiiEntitiesSuccessResult {\n const { id, entities, warnings, statistics, redactedText } = document;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n entities,\n redactedText,\n };\n}\n\n/**\n * @internal\n */\nexport function makeRecognizePiiEntitiesErrorResult(\n id: string,\n error: TextAnalyticsError,\n): RecognizePiiEntitiesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { PiiResult, TextDocumentBatchStatistics, TextDocumentInput } from \"./generated/models\";\nimport type { RecognizePiiEntitiesResult } from \"./recognizePiiEntitiesResult\";\nimport {\n makeRecognizePiiEntitiesErrorResult,\n makeRecognizePiiEntitiesResult,\n} from \"./recognizePiiEntitiesResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Collection of `RecognizePiiEntitiesResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface RecognizePiiEntitiesResultArray extends Array<RecognizePiiEntitiesResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\nexport function makeRecognizePiiEntitiesResultArray(\n input: TextDocumentInput[],\n response: PiiResult,\n): RecognizePiiEntitiesResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeRecognizePiiEntitiesResult,\n makeRecognizePiiEntitiesErrorResult,\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport type { DocumentLinkedEntities, LinkedEntity, TextAnalyticsError } from \"./generated/models\";\n\n/**\n * The result of the recognize linked entities operation on a single document.\n */\nexport type RecognizeLinkedEntitiesResult =\n | RecognizeLinkedEntitiesSuccessResult\n | RecognizeLinkedEntitiesErrorResult;\n\n/**\n * The result of the recognize linked entities operation on a single document,\n * containing a collection of the `LinkedEntity` objects identified in that document.\n */\nexport interface RecognizeLinkedEntitiesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: LinkedEntity[];\n}\n\n/**\n * An error result from the recognize linked entities operation on a single document.\n */\nexport type RecognizeLinkedEntitiesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeRecognizeLinkedEntitiesResult(\n result: DocumentLinkedEntities,\n): RecognizeLinkedEntitiesSuccessResult {\n const { statistics, id, warnings, entities } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n entities,\n };\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeLinkedEntitiesErrorResult(\n id: string,\n error: TextAnalyticsError,\n): RecognizeLinkedEntitiesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n EntityLinkingResult,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"./generated/models\";\nimport type { RecognizeLinkedEntitiesResult } from \"./recognizeLinkedEntitiesResult\";\nimport {\n makeRecognizeLinkedEntitiesErrorResult,\n makeRecognizeLinkedEntitiesResult,\n} from \"./recognizeLinkedEntitiesResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Array of `RecognizeLinkedEntitiesResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface RecognizeLinkedEntitiesResultArray extends Array<RecognizeLinkedEntitiesResult> {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeLinkedEntitiesResultArray(\n input: TextDocumentInput[],\n response: EntityLinkingResult,\n): RecognizeLinkedEntitiesResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeRecognizeLinkedEntitiesResult,\n makeRecognizeLinkedEntitiesErrorResult,\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { KeyCredential } from \"@azure/core-auth\";\nimport type {\n PipelinePolicy,\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\n\nconst API_KEY_HEADER_NAME = \"Ocp-Apim-Subscription-Key\";\n\n/**\n * The programmatic identifier of the textAnalyticsAzureKeyCredentialPolicy.\n */\nconst textAnalyticsAzureKeyCredentialPolicyName = \"textAnalyticsAzureKeyCredentialPolicy\";\n\n/**\n * Create an HTTP pipeline policy to authenticate a request\n * using an `AzureKeyCredential` for Text Analytics\n * @internal\n */\nexport function textAnalyticsAzureKeyCredentialPolicy(credential: KeyCredential): PipelinePolicy {\n return {\n name: textAnalyticsAzureKeyCredentialPolicyName,\n sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n request.headers.set(API_KEY_HEADER_NAME, credential.key);\n return next(request);\n },\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { PollOperation, PollOperationState } from \"@azure/core-lro\";\nimport { Poller } from \"@azure/core-lro\";\nimport type { TracingClient } from \"@azure/core-tracing\";\nimport type { GeneratedClient } from \"../generated/generatedClient\";\nimport type { State, TextDocumentInput } from \"../generated/models\";\nimport { delay } from \"../util\";\n\n/**\n * Common parameters to a Poller.\n * @internal\n */\nexport interface AnalysisPollerOptions {\n readonly client: GeneratedClient;\n readonly tracing: TracingClient;\n readonly documents: TextDocumentInput[];\n updateIntervalInMs?: number;\n resumeFrom?: string;\n}\n\n/**\n * Metadata information for an analysis poller operation.\n */\nexport interface OperationMetadata {\n /**\n * The date and time the operation was created.\n */\n createdOn: Date;\n /**\n * The date and time when the operation results will expire on the server.\n */\n expiresOn?: Date;\n /**\n * The operation id.\n */\n operationId: string;\n /**\n * The time the operation status was last updated.\n */\n lastModifiedOn: Date;\n /**\n * The current status of the operation.\n */\n status: State;\n}\n\n/**\n * An interface representing the state of an analysis poller operation.\n */\nexport interface AnalysisPollOperationState<TResult>\n extends PollOperationState<TResult>,\n OperationMetadata {}\n\n/**\n * Common properties and methods of analysis Pollers.\n * @internal\n */\nexport abstract class AnalysisPoller<\n TState extends PollOperationState<TResult>,\n TResult,\n> extends Poller<TState, TResult> {\n /**\n * Defines how much time the poller is going to wait before making a new request to the service.\n */\n public updateIntervalInMs: number = 2000;\n\n /**\n * The method used by the poller to wait before attempting to update its operation.\n */\n async delay(): Promise<void> {\n return delay(this.updateIntervalInMs);\n }\n}\n\n/**\n * Common properties and methods of polling operations.\n * @internal\n */\nexport abstract class AnalysisPollOperation<TState, TResult>\n implements PollOperation<TState, TResult>\n{\n constructor(public state: TState) {}\n\n /**\n * Meant to reach to the service and update the Poller operation.\n * @param options - The optional parameters, which is only an abortSignal from \\@azure/abort-controller\n */\n public abstract update(): Promise<PollOperation<TState, TResult>>;\n\n /**\n * Meant to reach to the service and cancel the Poller operation.\n * @param options - The optional parameters, which is only an abortSignal from \\@azure/abort-controller\n */\n public abstract cancel(): Promise<PollOperation<TState, TResult>>;\n\n /**\n * Serializes the Poller operation.\n */\n public toString(): string {\n return JSON.stringify({\n state: this.state,\n });\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type {\n DocumentHealthcareEntities,\n Entity,\n HealthcareEntity as GeneratedHealthcareEntity,\n HealthcareAssertion,\n HealthcareEntityCategory,\n HealthcareRelation,\n HealthcareRelationEntity,\n RelationType,\n TextAnalyticsError,\n TextDocumentBatchStatistics,\n} from \"./generated/models\";\nimport type { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from \"./textAnalyticsResult\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n} from \"./textAnalyticsResult\";\nimport { parseHealthcareEntityIndex } from \"./util\";\n\n/**\n * A type representing a reference for the healthcare entity into a specific\n * entity catalog.\n */\nexport interface EntityDataSource {\n /**\n * Entity Catalog. Examples include: UMLS, CHV, MSH, etc.\n */\n name: string;\n /**\n * Entity id in the given source catalog.\n */\n entityId: string;\n}\n\n/**\n * A healthcare entity represented as a node in a directed graph where the edges are\n * a particular type of relationship between the source and target nodes.\n */\nexport interface HealthcareEntity extends Entity {\n /**\n * Normalized name for the entity. For example, the normalized text for \"histologically\" is \"histologic\".\n */\n normalizedText?: string;\n /**\n * Whether the entity is negated.\n */\n assertion?: HealthcareAssertion;\n /**\n * Entity references in known data sources.\n */\n dataSources: EntityDataSource[];\n /**\n * Defines values for HealthcareEntityCategory.\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE**\n * **AGE**\n * **GENDER**\n * **EXAMINATION_NAME**\n * **DATE**\n * **DIRECTION**\n * **FREQUENCY**\n * **MEASUREMENT_VALUE**\n * **MEASUREMENT_UNIT**\n * **RELATIONAL_OPERATOR**\n * **TIME**\n * **GENE_OR_PROTEIN**\n * **VARIANT**\n * **ADMINISTRATIVE_EVENT**\n * **CARE_ENVIRONMENT**\n * **HEALTHCARE_PROFESSION**\n * **DIAGNOSIS**\n * **SYMPTOM_OR_SIGN**\n * **CONDITION_QUALIFIER**\n * **MEDICATION_CLASS**\n * **MEDICATION_NAME**\n * **DOSAGE**\n * **MEDICATION_FORM**\n * **MEDICATION_ROUTE**\n * **FAMILY_RELATION**\n * **TREATMENT_NAME**\n */\n category: HealthcareEntityCategory;\n}\n\n/**\n * The type of different roles a healthcare entity can play in a relation.\n */\nexport type HealthcareEntityRelationRoleType = string;\n\n/**\n * A healthcare entity that plays a specific role in a relation.\n */\nexport interface HealthcareEntityRelationRole {\n /**\n * A healthcare entity\n */\n entity: HealthcareEntity;\n /**\n * The role of the healthcare entity in a particular relation.\n */\n name: HealthcareEntityRelationRoleType;\n}\n\n/**\n * A relationship between two or more healthcare entities.\n */\nexport interface HealthcareEntityRelation {\n /**\n * The type of the healthcare relation.\n */\n relationType: RelationType;\n /**\n * The list of healthcare entities and their roles in the healthcare relation.\n */\n roles: HealthcareEntityRelationRole[];\n}\n\n/**\n * The results of a successful healthcare operation for a single document.\n */\nexport interface AnalyzeHealthcareEntitiesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * Healthcare entities.\n */\n entities: HealthcareEntity[];\n /**\n * Relations between healthcare entities.\n */\n entityRelations: HealthcareEntityRelation[];\n}\n\n/**\n * An error result from the healthcare operation on a single document.\n */\nexport type AnalyzeHealthcareEntitiesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * The result of the healthcare operation on a single document.\n */\nexport type AnalyzeHealthcareEntitiesResult =\n | AnalyzeHealthcareEntitiesSuccessResult\n | AnalyzeHealthcareEntitiesErrorResult;\n\n/**\n * Array of {@link AnalyzeHealthcareEntitiesResult}\n */\nexport interface AnalyzeHealthcareEntitiesResultArray\n extends Array<AnalyzeHealthcareEntitiesResult> {}\n\n/**\n * The results of a healthcare operation represented as a paged iterator that can\n * either iterate over the results on a document-by-document basis or, by\n * byPage(), can iterate over pages of documents.\n */\nexport type PagedAsyncIterableAnalyzeHealthcareEntitiesResult = PagedAsyncIterableIterator<\n AnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareEntitiesResultArray\n>;\n\n/**\n * The results of a healthcare operation represented as a paged iterator that can\n * either iterate over the results on a document-by-document basis or, by\n * byPage(), can iterate over pages of documents.\n */\nexport interface PagedAnalyzeHealthcareEntitiesResult\n extends PagedAsyncIterableAnalyzeHealthcareEntitiesResult {\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion: string;\n}\n\n/**\n * Creates a user-friendly healthcare entity represented as a node in a graph\n * @param entity - the healthcare entity returned by the service\n * @internal\n */\nfunction makeHealthcareEntitiesWithoutNeighbors(\n entity: GeneratedHealthcareEntity,\n): HealthcareEntity {\n const { category, confidenceScore, assertion, offset, text, links, subcategory, length, name } =\n entity;\n return {\n category,\n confidenceScore,\n assertion,\n offset,\n length,\n text,\n normalizedText: name,\n subCategory: subcategory,\n dataSources:\n links?.map(({ dataSource, id }): EntityDataSource => ({ name: dataSource, entityId: id })) ??\n [],\n };\n}\n\n/**\n * @internal\n */\nfunction makeHealthcareRelations(\n entities: HealthcareEntity[],\n relations: HealthcareRelation[],\n): HealthcareEntityRelation[] {\n return relations.map(\n (relation: HealthcareRelation): HealthcareEntityRelation => ({\n relationType: relation.relationType,\n roles: relation.entities.map(\n (role: HealthcareRelationEntity): HealthcareEntityRelationRole => ({\n entity: entities[parseHealthcareEntityIndex(role.ref)],\n name: role.role,\n }),\n ),\n }),\n );\n}\n\n/**\n * Creates a healthcare entity in the convenience layer from the one sent by the service.\n * @param document - incoming results sent by the service for a particular document\n * @internal\n */\nexport function makeHealthcareEntitiesResult(\n document: DocumentHealthcareEntities,\n): AnalyzeHealthcareEntitiesSuccessResult {\n const { id, entities, relations, warnings, statistics } = document;\n const newEntities = entities.map(makeHealthcareEntitiesWithoutNeighbors);\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n entities: newEntities,\n entityRelations: makeHealthcareRelations(newEntities, relations),\n };\n}\n\n/**\n * @internal\n */\nexport function makeHealthcareEntitiesErrorResult(\n id: string,\n error: TextAnalyticsError,\n): AnalyzeHealthcareEntitiesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { OperationOptions } from \"@azure/core-client\";\n\nimport type {\n HealthResponse as BeginAnalyzeHealthcareResponse,\n HealthcareJobState,\n HealthStatusOptionalParams as HealthcareJobStatusOptions,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"../../generated/models\";\nimport type {\n AnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareEntitiesResultArray,\n PagedAnalyzeHealthcareEntitiesResult,\n PagedAsyncIterableAnalyzeHealthcareEntitiesResult,\n} from \"../../analyzeHealthcareEntitiesResult\";\nimport {\n makeHealthcareEntitiesErrorResult,\n makeHealthcareEntitiesResult,\n} from \"../../analyzeHealthcareEntitiesResult\";\nimport type { PageSettings } from \"@azure/core-paging\";\nimport type { StringIndexType } from \"../../util\";\nimport { addStrEncodingParam, getOperationId, nextLinkToTopAndSkip, throwError } from \"../../util\";\nimport type {\n AnalysisPollOperationState,\n OperationMetadata as AnalyzeHealthcareEntitiesOperationMetadata,\n} from \"../poller\";\nimport { AnalysisPollOperation } from \"../poller\";\nimport type { GeneratedClient as Client } from \"../../generated\";\nimport { processAndCombineSuccessfulAndErroneousDocuments } from \"../../textAnalyticsResult\";\nimport type { TextAnalyticsOperationOptions } from \"../../textAnalyticsOperationOptions\";\nimport type { TracingClient } from \"@azure/core-tracing\";\n\n/**\n * @internal\n */\ninterface AnalyzeHealthcareEntitiesResultWithPagination {\n result: AnalyzeHealthcareEntitiesResultArray;\n top?: number;\n skip?: number;\n}\n\n/**\n * @internal\n */\ninterface HealthcareJobStatus {\n done: boolean;\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n /**\n * The version of the text analytics model used by this operation on this\n * batch of input documents.\n */\n modelVersion?: string;\n operationMetdata: Omit<AnalyzeHealthcareEntitiesOperationMetadata, \"operationId\">;\n}\n\n/**\n * @internal\n */\ninterface BeginAnalyzeHealthcareInternalOptions extends OperationOptions {\n /**\n * This value indicates which model will be used for scoring. If a model-version is\n * not specified, the API should default to the latest, non-preview version.\n * For supported model versions, see operation-specific documentation, for example:\n * https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis#model-versioning\n */\n modelVersion?: string;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n /**\n * If set to false, you opt-in to have your text input logged for troubleshooting. By default, Text Analytics\n * will not log your input text for healthcare entities analysis. Setting this parameter to false,\n * enables input logging.\n */\n loggingOptOut?: boolean;\n}\n\n/**\n * Options for the begin analyze healthcare entities operation.\n */\nexport interface BeginAnalyzeHealthcareEntitiesOptions extends TextAnalyticsOperationOptions {\n /**\n * Delay to wait until next poll, in milliseconds.\n */\n stringIndexType?: StringIndexType;\n /**\n * Delay to wait until next poll, in milliseconds.\n */\n updateIntervalInMs?: number;\n /**\n * A serialized poller which can be used to resume an existing paused Long-Running-Operation.\n */\n resumeFrom?: string;\n}\n\n/**\n * The state of the begin analyze healthcare polling operation.\n */\nexport interface AnalyzeHealthcareOperationState\n extends AnalysisPollOperationState<PagedAnalyzeHealthcareEntitiesResult> {}\n\n/**\n * @internal\n */\nfunction getMetaInfoFromResponse(\n response: HealthcareJobState,\n): Omit<AnalyzeHealthcareEntitiesOperationMetadata, \"operationId\"> {\n return {\n createdOn: response.createdDateTime,\n lastModifiedOn: response.lastUpdateDateTime,\n expiresOn: response.expirationDateTime,\n status: response.status,\n };\n}\n\n/**\n * Class that represents a poller that waits for the healthcare results.\n * @internal\n */\nexport class BeginAnalyzeHealthcarePollerOperation extends AnalysisPollOperation<\n AnalyzeHealthcareOperationState,\n PagedAnalyzeHealthcareEntitiesResult\n> {\n constructor(\n public state: AnalyzeHealthcareOperationState,\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n private client: Client,\n private tracing: TracingClient,\n private documents: TextDocumentInput[],\n private options: BeginAnalyzeHealthcareEntitiesOptions = {},\n ) {\n super(state);\n }\n\n /**\n * should be called only after all the status of the healthcare operations became\n * \"succeeded\" and it returns an iterator for the results and provides a\n * byPage method to return the results paged.\n */\n private listHealthcareEntitiesByPage(\n operationId: string,\n options: HealthcareJobStatusOptions = {},\n ): PagedAsyncIterableAnalyzeHealthcareEntitiesResult {\n const iter = this._listHealthcareEntities(operationId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n const pageOptions = { ...options, top: settings?.maxPageSize };\n return this._listHealthcareEntitiesPaged(operationId, pageOptions);\n },\n };\n }\n\n /**\n * returns an iterator to the results of a healthcare operation.\n */\n private async *_listHealthcareEntities(\n operationId: string,\n options?: HealthcareJobStatusOptions,\n ): AsyncIterableIterator<AnalyzeHealthcareEntitiesResult> {\n for await (const page of this._listHealthcareEntitiesPaged(operationId, options)) {\n yield* page;\n }\n }\n\n /**\n * returns an iterator to arrays of the results of a healthcare operation.\n */\n private async *_listHealthcareEntitiesPaged(\n operationId: string,\n options?: HealthcareJobStatusOptions,\n ): AsyncIterableIterator<AnalyzeHealthcareEntitiesResultArray> {\n let response = await this._listHealthcareEntitiesSinglePage(operationId, options);\n yield response.result;\n while (response.skip) {\n const optionsWithContinuation: HealthcareJobStatusOptions = {\n ...options,\n top: response.top,\n skip: response.skip,\n };\n response = await this._listHealthcareEntitiesSinglePage(operationId, optionsWithContinuation);\n yield response.result;\n }\n }\n\n /**\n * returns an iterator to arrays of the sorted results of a healthcare operation.\n */\n private async _listHealthcareEntitiesSinglePage(\n operationId: string,\n options?: HealthcareJobStatusOptions,\n ): Promise<AnalyzeHealthcareEntitiesResultWithPagination> {\n const response = await this.tracing.withSpan(\n \"TextAnalyticsClient-_listHealthcareEntitiesSinglePage\",\n options || {},\n (finalOptions) => this.client.healthStatus(operationId, finalOptions),\n );\n if (response.results) {\n const result = processAndCombineSuccessfulAndErroneousDocuments(\n this.documents,\n response.results,\n makeHealthcareEntitiesResult,\n makeHealthcareEntitiesErrorResult,\n );\n return response.nextLink\n ? { result, ...nextLinkToTopAndSkip(response.nextLink) }\n : { result };\n } else {\n throw new Error(\"Healthcare action has succeeded but the there are no results!\");\n }\n }\n\n /**\n * returns whether the healthcare operation is done and if so returns also\n * statistics and the model version used.\n */\n private async getHealthStatus(\n operationId: string,\n options?: HealthcareJobStatusOptions,\n ): Promise<HealthcareJobStatus> {\n const response = await this.tracing.withSpan(\n \"TextAnalyticsClient-getHealthStatus\",\n options || {},\n (finalOptions) => this.client.healthStatus(operationId, finalOptions),\n );\n switch (response.status) {\n case \"notStarted\":\n case \"running\":\n break;\n case \"failed\": {\n const errors = response.errors\n ?.map((e) => ` code ${e.code}, message: '${e.message}'`)\n .join(\"\\n\");\n const message = `Healthcare analysis failed. Error(s): ${errors || \"\"}`;\n throw new Error(message);\n }\n default: {\n if (response.results) {\n return {\n done: true,\n statistics: response.results.statistics,\n modelVersion: response.results.modelVersion,\n operationMetdata: getMetaInfoFromResponse(response),\n };\n } else {\n throw new Error(\"Healthcare action has finished but the there are no results!\");\n }\n }\n }\n return { done: false, operationMetdata: getMetaInfoFromResponse(response) };\n }\n\n private async beginAnalyzeHealthcare(\n documents: TextDocumentInput[],\n options?: BeginAnalyzeHealthcareInternalOptions,\n ): Promise<BeginAnalyzeHealthcareResponse> {\n return this.tracing.withSpan(\n \"TextAnalyticsClient-beginAnalyzeHealthcare\",\n addStrEncodingParam(options || {}),\n (finalOptions) => throwError(this.client.health({ documents: documents }, finalOptions)),\n );\n }\n\n async update(\n options: {\n abortSignal?: AbortSignalLike;\n fireProgress?: (state: AnalyzeHealthcareOperationState) => void;\n } = {},\n ): Promise<BeginAnalyzeHealthcarePollerOperation> {\n const state = this.state;\n const updatedAbortSignal = options.abortSignal;\n if (!state.isStarted) {\n state.isStarted = true;\n const response = await this.beginAnalyzeHealthcare(this.documents, {\n requestOptions: this.options.requestOptions,\n tracingOptions: this.options.tracingOptions,\n abortSignal: updatedAbortSignal ? updatedAbortSignal : options.abortSignal,\n modelVersion: this.options.modelVersion,\n stringIndexType: this.options.stringIndexType,\n loggingOptOut: this.options.disableServiceLogs,\n });\n if (!response.operationLocation) {\n throw new Error(\n \"Expects a valid 'operationLocation' to retrieve health results but did not find any\",\n );\n }\n state.operationId = getOperationId(response.operationLocation);\n }\n const operationStatus = await this.getHealthStatus(state.operationId!, {\n abortSignal: updatedAbortSignal ? updatedAbortSignal : options.abortSignal,\n includeStatistics: this.options.includeStatistics,\n tracingOptions: this.options.tracingOptions,\n onResponse: this.options.onResponse,\n serializerOptions: this.options.serializerOptions,\n });\n\n state.createdOn = operationStatus.operationMetdata.createdOn;\n state.expiresOn = operationStatus.operationMetdata.expiresOn;\n state.lastModifiedOn = operationStatus.operationMetdata.lastModifiedOn;\n state.status = operationStatus.operationMetdata.status;\n\n if (!state.isCompleted && operationStatus.done) {\n const pagedIterator = this.listHealthcareEntitiesByPage(state.operationId!, {\n abortSignal: this.options.abortSignal,\n tracingOptions: this.options.tracingOptions,\n });\n state.result = Object.assign(pagedIterator, {\n statistics: operationStatus.statistics,\n modelVersion: operationStatus.modelVersion!,\n });\n state.isCompleted = true;\n }\n if (typeof options.fireProgress === \"function\") {\n options.fireProgress(state);\n }\n return this;\n }\n\n async cancel(): Promise<BeginAnalyzeHealthcarePollerOperation> {\n const state = this.state;\n if (state.operationId) {\n await this.client.cancelHealthJob(state.operationId, {\n abortSignal: this.options.abortSignal,\n tracingOptions: this.options.tracingOptions,\n });\n }\n state.isCancelled = true;\n return this;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { CancelOnProgress, PollOperationState } from \"@azure/core-lro\";\nimport type { PagedAnalyzeHealthcareEntitiesResult } from \"../../analyzeHealthcareEntitiesResult\";\nimport { delay } from \"../../util\";\n\nimport type { AnalysisPollerOptions } from \"../poller\";\nimport { AnalysisPoller } from \"../poller\";\nimport type {\n AnalyzeHealthcareOperationState,\n BeginAnalyzeHealthcareEntitiesOptions,\n} from \"./operation\";\nimport { BeginAnalyzeHealthcarePollerOperation } from \"./operation\";\n\n/**\n * Abstract representation of a poller, intended to expose just the minimal API that the user needs to work with.\n */\nexport interface PollerLikeWithCancellation<TState extends PollOperationState<TResult>, TResult> {\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n */\n poll(options?: { abortSignal?: AbortSignalLike }): Promise<void>;\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n pollUntilDone(): Promise<TResult>;\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback: (state: TState) => void): CancelOnProgress;\n /**\n * Returns true if the poller has finished polling.\n */\n isDone(): boolean;\n /**\n * Stops the poller. After this, no manual or automated requests can be sent.\n */\n stopPolling(): void;\n /**\n * Returns true if the poller is stopped.\n */\n isStopped(): boolean;\n /**\n * Attempts to cancel the underlying operation.\n */\n cancelOperation(options?: { abortSignal?: AbortSignalLike }): Promise<void>;\n /**\n * Returns the state of the operation.\n * The TState defined in PollerLike can be a subset of the TState defined in\n * the Poller implementation.\n */\n getOperationState(): TState;\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult(): TResult | undefined;\n /**\n * Returns a serialized version of the poller's operation\n * by invoking the operation's toString method.\n */\n toString(): string;\n}\n\n/**\n * @internal\n */\ninterface HealthcarePollerOptions extends AnalysisPollerOptions {\n readonly options?: BeginAnalyzeHealthcareEntitiesOptions;\n}\n\n/**\n * Result type of the Health Long-Running-Operation (LRO)\n */\nexport type AnalyzeHealthcareEntitiesPollerLike = PollerLikeWithCancellation<\n AnalyzeHealthcareOperationState,\n PagedAnalyzeHealthcareEntitiesResult\n>;\n\n/**\n * Class that represents a poller that waits for the healthcare results.\n * @internal\n */\nexport class BeginAnalyzeHealthcarePoller extends AnalysisPoller<\n AnalyzeHealthcareOperationState,\n PagedAnalyzeHealthcareEntitiesResult\n> {\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n constructor(inputs: HealthcarePollerOptions) {\n const { client, tracing, documents, options, updateIntervalInMs = 5000, resumeFrom } = inputs;\n\n let state: AnalyzeHealthcareOperationState | undefined;\n\n if (resumeFrom) {\n state = JSON.parse(resumeFrom).state;\n }\n const operation = new BeginAnalyzeHealthcarePollerOperation(\n (state || {}) as any,\n client,\n tracing,\n documents,\n options,\n );\n\n super(operation);\n\n this.updateIntervalInMs = updateIntervalInMs;\n }\n\n public delay(): Promise<void> {\n return delay(this.updateIntervalInMs);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { AnalyzeSentimentResultArray } from \"./analyzeSentimentResultArray\";\nimport { makeAnalyzeSentimentResultArray } from \"./analyzeSentimentResultArray\";\nimport type { ExtractKeyPhrasesResultArray } from \"./extractKeyPhrasesResultArray\";\nimport { makeExtractKeyPhrasesResultArray } from \"./extractKeyPhrasesResultArray\";\nimport type { AnalyzeJobState as GeneratedResponse, TextDocumentInput } from \"./generated/models\";\nimport type { RecognizeCategorizedEntitiesResultArray } from \"./recognizeCategorizedEntitiesResultArray\";\nimport { makeRecognizeCategorizedEntitiesResultArray } from \"./recognizeCategorizedEntitiesResultArray\";\nimport type { RecognizeLinkedEntitiesResultArray } from \"./recognizeLinkedEntitiesResultArray\";\nimport { makeRecognizeLinkedEntitiesResultArray } from \"./recognizeLinkedEntitiesResultArray\";\nimport type { RecognizePiiEntitiesResultArray } from \"./recognizePiiEntitiesResultArray\";\nimport { makeRecognizePiiEntitiesResultArray } from \"./recognizePiiEntitiesResultArray\";\nimport type { ErrorCode, TextAnalyticsError } from \"./textAnalyticsResult\";\nimport { intoTextAnalyticsError } from \"./textAnalyticsResult\";\n\n/**\n * The results of an analyze Actions operation.\n */\nexport interface AnalyzeActionsResult {\n /**\n * Array of the results for each categorized entities recognition action.\n */\n recognizeEntitiesResults: RecognizeCategorizedEntitiesActionResult[];\n /**\n * Array of the results for each Pii entities recognition action.\n */\n recognizePiiEntitiesResults: RecognizePiiEntitiesActionResult[];\n /**\n * Array of the results for each key phrases extraction action.\n */\n extractKeyPhrasesResults: ExtractKeyPhrasesActionResult[];\n /**\n * Array of the results for each linked entities recognition action.\n */\n recognizeLinkedEntitiesResults: RecognizeLinkedEntitiesActionResult[];\n /**\n * Array of the results for each analyze sentiment action.\n */\n analyzeSentimentResults: AnalyzeSentimentActionResult[];\n}\n\n/**\n * The state of a succeeded action.\n */\nexport interface TextAnalyticsActionSuccessState {\n /**\n * When this action was completed by the service.\n */\n readonly completedOn: Date;\n /**\n * Discriminant to determine if that this is an error result.\n */\n readonly error?: undefined;\n}\n\n/**\n * The error of an analyze batch action.\n */\nexport interface TextAnalyticsActionErrorResult {\n /**\n * When this action was completed by the service.\n */\n readonly failedOn: Date;\n /**\n * The Error for this action result.\n */\n readonly error: TextAnalyticsError;\n}\n\n/**\n * The error of a recognize categorized entities action.\n */\nexport type RecognizeCategorizedEntitiesActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded recognize categorized entities action.\n */\nexport interface RecognizeCategorizedEntitiesActionSuccessResult\n extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each categorized entities recognition action.\n */\n results: RecognizeCategorizedEntitiesResultArray;\n}\n\n/**\n * The result of a recognize categorized entities action.\n */\nexport type RecognizeCategorizedEntitiesActionResult =\n | RecognizeCategorizedEntitiesActionSuccessResult\n | RecognizeCategorizedEntitiesActionErrorResult;\n\n/**\n * The error of a recognize pii entities action.\n */\nexport type RecognizePiiEntitiesActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded recognize pii entities action.\n */\nexport interface RecognizePiiEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each pii entities recognition action.\n */\n results: RecognizePiiEntitiesResultArray;\n}\n\n/**\n * The result of a recognize pii entities action.\n */\nexport type RecognizePiiEntitiesActionResult =\n | RecognizePiiEntitiesActionSuccessResult\n | RecognizePiiEntitiesActionErrorResult;\n\n/**\n * The error of a extract key phrases action.\n */\nexport type ExtractKeyPhrasesActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded extract key phrases action.\n */\nexport interface ExtractKeyPhrasesActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each extract key phrases action.\n */\n results: ExtractKeyPhrasesResultArray;\n}\n\n/**\n * The result of a extract key phrases action.\n */\nexport type ExtractKeyPhrasesActionResult =\n | ExtractKeyPhrasesActionSuccessResult\n | ExtractKeyPhrasesActionErrorResult;\n\n/**\n * The error of a recognize linked entities action.\n */\nexport type RecognizeLinkedEntitiesActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded recognize linked entities action.\n */\nexport interface RecognizeLinkedEntitiesActionSuccessResult\n extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each linked entities recognition action.\n */\n results: RecognizeLinkedEntitiesResultArray;\n}\n\n/**\n * The result of a recognize linked entities action.\n */\nexport type RecognizeLinkedEntitiesActionResult =\n | RecognizeLinkedEntitiesActionSuccessResult\n | RecognizeLinkedEntitiesActionErrorResult;\n\n/**\n * The error of an analyze sentiment action.\n */\nexport type AnalyzeSentimentActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded analyze sentiment action.\n */\nexport interface AnalyzeSentimentActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each analyze sentiment action.\n */\n results: AnalyzeSentimentResultArray;\n}\n\n/**\n * The result of an analyze sentiment action.\n */\nexport type AnalyzeSentimentActionResult =\n | AnalyzeSentimentActionSuccessResult\n | AnalyzeSentimentActionErrorResult;\n\n/**\n * The results of an analyze Actions operation represented as a paged iterator that\n * iterates over the results of the requested actions.\n */\nexport type PagedAsyncIterableAnalyzeActionsResult = PagedAsyncIterableIterator<\n AnalyzeActionsResult,\n AnalyzeActionsResult\n>;\n\n/**\n * The results of an analyze actions operation represented as a paged iterator that\n * iterates over the results of the requested actions.\n */\nexport interface PagedAnalyzeActionsResult extends PagedAsyncIterableAnalyzeActionsResult {\n // /**\n // * Statistics about the input document batch and how it was processed\n // * by the service. This property will have a value when includeStatistics is set to true\n // * in the client call.\n // */\n // statistics?: TextDocumentBatchStatistics;\n}\n\n/**\n * The type of different actions supported by the begin analyze actions operation.\n * @internal\n */\ntype TextAnalyticsActionType =\n | \"RecognizeCategorizedEntities\"\n | \"RecognizePiiEntities\"\n | \"ExtractKeyPhrases\"\n | \"RecognizeLinkedEntities\"\n | \"AnalyzeSentiment\";\n\n/**\n * The type of an action error with the type of the action that erred and its\n * index in the list of input actions.\n * @internal\n */\ninterface TextAnalyticsActionError {\n /**\n * A code describing the kind of error produced\n */\n readonly code: ErrorCode;\n /**\n * A message from the service explaining the error\n */\n readonly message: string;\n /**\n * The type of the action that erred\n */\n readonly type: TextAnalyticsActionType;\n /**\n * The index of the action that erred in the list of input actions\n */\n readonly index: number;\n}\n\n/**\n * Converts the service task name (in the JSON pointer in an action error) to an action type name.\n * @param serviceActionType - The task type name the service uses.\n * @returns the action type name that the package uses\n * @internal\n */\nfunction convertTaskTypeToActionType(taskType: string): TextAnalyticsActionType {\n switch (taskType) {\n case \"entityRecognitionTasks\": {\n return \"RecognizeCategorizedEntities\";\n }\n case \"entityRecognitionPiiTasks\": {\n return \"RecognizePiiEntities\";\n }\n case \"keyPhraseExtractionTasks\": {\n return \"ExtractKeyPhrases\";\n }\n case \"entityLinkingTasks\": {\n return \"RecognizeLinkedEntities\";\n }\n case \"sentimentAnalysisTasks\": {\n return \"AnalyzeSentiment\";\n }\n default: {\n throw new Error(`unexpected action type from the service: ${taskType}`);\n }\n }\n}\n\n/**\n * Converts a service action error to one with the JSON pointer converted to an action index.\n * @param erredActions - the action error the service sent\n * @returns an action error with an action type and index\n * @internal\n */\nexport function parseActionError(erredActions: TextAnalyticsError): TextAnalyticsActionError {\n if (erredActions.target) {\n const regex = new RegExp(\n /#\\/tasks\\/(entityRecognitionTasks|entityRecognitionPiiTasks|keyPhraseExtractionTasks|entityLinkingTasks|sentimentAnalysisTasks)\\/(\\d+)/,\n );\n const result = regex.exec(erredActions.target);\n if (result !== null) {\n return {\n code: erredActions.code,\n message: erredActions.message,\n index: parseInt(result[2]),\n type: convertTaskTypeToActionType(result[1]),\n };\n } else {\n throw new Error(`Pointer \"${erredActions.target}\" is not a valid action pointer`);\n }\n } else {\n throw new Error(\n \"expected an error with a target field referencing an action but did not get one\",\n );\n }\n}\n\n/**\n * Categorize each action error into a bucket according to its action type.\n * @param erredActions - list of action errors\n * @param recognizeEntitiesActionErrors - a list of recognize entities action errors to be filled from the errors list\n * @param recognizePiiEntitiesActionErrors - a list of recognize pii entities action errors to be filled from the errors list\n * @param extractKeyPhrasesActionErrors - a list of extract key phrases action errors to be filled from the errors list\n * @internal\n */\nfunction categorizeActionErrors(\n erredActions: TextAnalyticsError[],\n recognizeEntitiesActionErrors: TextAnalyticsActionError[],\n recognizePiiEntitiesActionErrors: TextAnalyticsActionError[],\n extractKeyPhrasesActionErrors: TextAnalyticsActionError[],\n recognizeLinkedEntitiesActionErrors: TextAnalyticsActionError[],\n analyzeSentimentActionErrors: TextAnalyticsActionError[],\n): void {\n for (const error of erredActions) {\n const actionError = parseActionError(error);\n switch (actionError.type) {\n case \"RecognizeCategorizedEntities\": {\n recognizeEntitiesActionErrors.push(actionError);\n break;\n }\n case \"RecognizePiiEntities\": {\n recognizePiiEntitiesActionErrors.push(actionError);\n break;\n }\n case \"ExtractKeyPhrases\": {\n extractKeyPhrasesActionErrors.push(actionError);\n break;\n }\n case \"RecognizeLinkedEntities\": {\n recognizeLinkedEntitiesActionErrors.push(actionError);\n break;\n }\n case \"AnalyzeSentiment\": {\n analyzeSentimentActionErrors.push(actionError);\n break;\n }\n }\n }\n}\n\n/**\n * @internal\n * @param error - the error the service sent for a task\n * @param lastUpdateDateTime - the time when this task failed\n */\nfunction createErredAction(\n error: TextAnalyticsActionError,\n lastUpdateDateTime: Date,\n): TextAnalyticsActionErrorResult {\n return { error: intoTextAnalyticsError(error), failedOn: lastUpdateDateTime };\n}\n\ninterface TaskSuccessResult<T> {\n results?: T;\n lastUpdateDateTime: Date;\n}\n\ntype ActionResult<TSuccess> =\n | {\n results: TSuccess;\n completedOn: Date;\n }\n | TextAnalyticsActionErrorResult;\n\n/**\n * Creates a list of results for any action.\n * @param documents - list of input documents\n * @param makeResultsArray - a function to convert the results of a service response to the SDK's one\n * @param succeededTasks - list of succeeded action results\n * @param erredActions - list of erred actions\n * @internal\n */\nfunction makeActionResult<TTaskResult, TActionResult>(\n documents: TextDocumentInput[],\n makeResultsArray: (docs: TextDocumentInput[], x: TTaskResult) => TActionResult,\n succeededTasks: TaskSuccessResult<TTaskResult>[],\n erredActions: TextAnalyticsActionError[],\n): ActionResult<TActionResult>[] {\n let errorIndex = 0;\n function convertTasksToActions(\n actions: ActionResult<TActionResult>[],\n task: TaskSuccessResult<TTaskResult>,\n ): ActionResult<TActionResult>[] {\n const { results: actionResults, lastUpdateDateTime } = task;\n if (actionResults !== undefined) {\n const recognizeEntitiesResults = makeResultsArray(documents, actionResults);\n return [\n ...actions,\n {\n results: recognizeEntitiesResults,\n completedOn: lastUpdateDateTime,\n },\n ];\n } else {\n return [...actions, createErredAction(erredActions[errorIndex++], lastUpdateDateTime)];\n }\n }\n return succeededTasks.reduce(convertTasksToActions, []);\n}\n\n/**\n * Creates the user-friendly action results object for the begin analyze actions operation.\n * @param response - the begin analyze actions operation response\n * @param documents - the list of input documents\n * @returns - the user-friendly action results object\n * @internal\n */\nexport function createAnalyzeActionsResult(\n response: GeneratedResponse,\n documents: TextDocumentInput[],\n): AnalyzeActionsResult {\n const recognizeEntitiesActionErrors: TextAnalyticsActionError[] = [];\n const recognizePiiEntitiesActionErrors: TextAnalyticsActionError[] = [];\n const extractKeyPhrasesActionErrors: TextAnalyticsActionError[] = [];\n const recognizeLinkedEntitiesActionErrors: TextAnalyticsActionError[] = [];\n const analyzeSentimentActionErrors: TextAnalyticsActionError[] = [];\n categorizeActionErrors(\n response?.errors ?? [],\n recognizeEntitiesActionErrors,\n recognizePiiEntitiesActionErrors,\n extractKeyPhrasesActionErrors,\n recognizeLinkedEntitiesActionErrors,\n analyzeSentimentActionErrors,\n );\n return {\n recognizeEntitiesResults: makeActionResult(\n documents,\n makeRecognizeCategorizedEntitiesResultArray,\n response.tasks.entityRecognitionTasks ?? [],\n recognizeEntitiesActionErrors,\n ),\n recognizePiiEntitiesResults: makeActionResult(\n documents,\n makeRecognizePiiEntitiesResultArray,\n response.tasks.entityRecognitionPiiTasks ?? [],\n recognizePiiEntitiesActionErrors,\n ),\n extractKeyPhrasesResults: makeActionResult(\n documents,\n makeExtractKeyPhrasesResultArray,\n response.tasks.keyPhraseExtractionTasks ?? [],\n extractKeyPhrasesActionErrors,\n ),\n recognizeLinkedEntitiesResults: makeActionResult(\n documents,\n makeRecognizeLinkedEntitiesResultArray,\n response.tasks.entityLinkingTasks ?? [],\n recognizeLinkedEntitiesActionErrors,\n ),\n analyzeSentimentResults: makeActionResult(\n documents,\n makeAnalyzeSentimentResultArray,\n response.tasks.sentimentAnalysisTasks ?? [],\n analyzeSentimentActionErrors,\n ),\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure/core-client\";\n\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\n\nimport type {\n AnalyzeStatusOptionalParams as AnalyzeActionsOperationStatusOptions,\n AnalyzeJobState,\n AnalyzeResponse as BeginAnalyzeResponse,\n JobManifestTasks as GeneratedActions,\n TextDocumentBatchStatistics,\n TextDocumentInput,\n} from \"../../generated/models\";\nimport type {\n AnalyzeActionsResult,\n PagedAnalyzeActionsResult,\n PagedAsyncIterableAnalyzeActionsResult,\n} from \"../../analyzeActionsResult\";\nimport { createAnalyzeActionsResult } from \"../../analyzeActionsResult\";\nimport type { PageSettings } from \"@azure/core-paging\";\nimport { getOperationId, nextLinkToTopAndSkip, throwError } from \"../../util\";\nimport type { AnalysisPollOperationState, OperationMetadata } from \"../poller\";\nimport { AnalysisPollOperation } from \"../poller\";\nimport type { GeneratedClient as Client } from \"../../generated\";\nimport { logger } from \"../../logger\";\nimport type { TracingClient } from \"@azure/core-tracing\";\n\n/**\n * @internal\n */\ninterface AnalyzeResultsWithPagination {\n result: AnalyzeActionsResult;\n top?: number;\n skip?: number;\n}\n\n/**\n * The metadata for beginAnalyzeActions operations.\n */\nexport interface AnalyzeActionsOperationMetadata extends OperationMetadata {\n /**\n * Number of successfully completed actions.\n */\n actionsSucceededCount: number;\n /**\n * Number of failed actions.\n */\n actionsFailedCount: number;\n /**\n * Number of actions still in progress.\n */\n actionsInProgressCount: number;\n /**\n * The operation's display name.\n */\n displayName?: string;\n}\n\n/**\n * @internal\n */\ninterface AnalyzeActionsOperationStatus {\n done: boolean;\n /**\n * Statistics about the input document batch and how it was processed\n * by the service. This property will have a value when includeStatistics is set to true\n * in the client call.\n */\n statistics?: TextDocumentBatchStatistics;\n operationMetdata: Omit<AnalyzeActionsOperationMetadata, \"operationId\">;\n}\n\n/**\n * @internal\n */\ninterface BeginAnalyzeInternalOptions extends OperationOptions {\n displayName?: string;\n}\n\n/**\n * Options for the begin analyze actions operation.\n */\nexport interface BeginAnalyzeActionsOptions extends OperationOptions {\n /**\n * Delay to wait until next poll, in milliseconds.\n */\n updateIntervalInMs?: number;\n /**\n * A serialized poller which can be used to resume an existing paused Long-Running-Operation.\n */\n resumeFrom?: string;\n /**\n * If set to true, response will contain input and document level statistics.\n */\n includeStatistics?: boolean;\n /**\n * The operation's display name.\n */\n displayName?: string;\n}\n\n/**\n * The state of the begin analyze polling operation.\n */\nexport interface AnalyzeActionsOperationState\n extends AnalysisPollOperationState<PagedAnalyzeActionsResult>,\n AnalyzeActionsOperationMetadata {}\n\n/**\n * @internal\n */\nfunction getMetaInfoFromResponse(\n response: AnalyzeJobState,\n): Omit<AnalyzeActionsOperationMetadata, \"operationId\"> {\n return {\n createdOn: response.createdDateTime,\n lastModifiedOn: response.lastUpdateDateTime,\n expiresOn: response.expirationDateTime,\n status: response.status,\n actionsSucceededCount: response.tasks.completed,\n actionsFailedCount: response.tasks.failed,\n actionsInProgressCount: response.tasks.inProgress,\n displayName: response.displayName,\n };\n}\n\n/**\n * Class that represents a poller that waits for results of the analyze\n * operation.\n * @internal\n */\nexport class BeginAnalyzeActionsPollerOperation extends AnalysisPollOperation<\n AnalyzeActionsOperationState,\n PagedAnalyzeActionsResult\n> {\n constructor(\n public state: AnalyzeActionsOperationState,\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n private client: Client,\n private tracing: TracingClient,\n private documents: TextDocumentInput[],\n private actions: GeneratedActions,\n private options: BeginAnalyzeActionsOptions = {},\n ) {\n super(state);\n }\n\n /**\n * should be called only after all the status of the analyze actions operations became\n * \"succeeded\" and it returns an iterator for the results and provides a\n * byPage method to return the results paged.\n */\n private listAnalyzeActionsResults(\n operationId: string,\n options: AnalyzeActionsOperationStatusOptions = {},\n ): PagedAsyncIterableAnalyzeActionsResult {\n const iter = this._listAnalyzeActionsResultsPaged(operationId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n const pageOptions = { ...options, top: settings?.maxPageSize };\n return this._listAnalyzeActionsResultsPaged(operationId, pageOptions);\n },\n };\n }\n\n /**\n * returns an iterator to arrays of the results of an analyze actions operation.\n */\n private async *_listAnalyzeActionsResultsPaged(\n operationId: string,\n options?: AnalyzeActionsOperationStatusOptions,\n ): AsyncIterableIterator<AnalyzeActionsResult> {\n let response = await this._listAnalyzeActionsResultsSinglePage(operationId, options);\n yield response.result;\n while (response.skip) {\n const optionsWithContinuation: AnalyzeActionsOperationStatusOptions = {\n ...options,\n top: response.top,\n skip: response.skip,\n };\n response = await this._listAnalyzeActionsResultsSinglePage(\n operationId,\n optionsWithContinuation,\n );\n yield response.result;\n }\n }\n\n /**\n * returns an iterator to arrays of the sorted results of an analyze actions operation.\n */\n private async _listAnalyzeActionsResultsSinglePage(\n operationId: string,\n options?: AnalyzeActionsOperationStatusOptions,\n ): Promise<AnalyzeResultsWithPagination> {\n const response = await this.tracing.withSpan(\n \"TextAnalyticsClient-_listAnalyzeActionsResultsSinglePage\",\n options || {},\n (finalOptions) => this.client.analyzeStatus(operationId, finalOptions),\n );\n const result = createAnalyzeActionsResult(response, this.documents);\n return response.nextLink ? { result, ...nextLinkToTopAndSkip(response.nextLink) } : { result };\n }\n\n /**\n * returns whether the analyze actions operation is done and if so returns also\n * statistics.\n */\n private async getAnalyzeActionsOperationStatus(\n operationId: string,\n options?: AnalyzeActionsOperationStatusOptions,\n ): Promise<AnalyzeActionsOperationStatus> {\n const response = await this.tracing.withSpan(\n \"TextAnalyticsClient-getAnalyzeActionsOperationStatus\",\n options || {},\n (finalOptions) => this.client.analyzeStatus(operationId, finalOptions),\n );\n switch (response.status) {\n case \"notStarted\":\n case \"running\":\n break;\n default: {\n return {\n done: true,\n statistics: response.statistics,\n operationMetdata: getMetaInfoFromResponse(response),\n };\n }\n }\n return { done: false, operationMetdata: getMetaInfoFromResponse(response) };\n }\n\n private async beginAnalyzeActions(\n documents: TextDocumentInput[],\n actions: GeneratedActions,\n options?: BeginAnalyzeInternalOptions,\n ): Promise<BeginAnalyzeResponse> {\n return this.tracing.withSpan(\n \"TextAnalyticsClient-beginAnalyze\",\n options || {},\n (finalOptions) =>\n throwError(\n this.client.analyze({\n body: {\n analysisInput: { documents: documents },\n tasks: actions,\n displayName: options?.displayName,\n },\n ...finalOptions,\n }),\n ),\n );\n }\n\n async update(\n options: {\n abortSignal?: AbortSignalLike;\n fireProgress?: (state: AnalyzeActionsOperationState) => void;\n } = {},\n ): Promise<BeginAnalyzeActionsPollerOperation> {\n const state = this.state;\n const updatedAbortSignal = options.abortSignal;\n if (!state.isStarted) {\n state.isStarted = true;\n const response = await this.beginAnalyzeActions(this.documents, this.actions, {\n displayName: this.options.displayName,\n tracingOptions: this.options.tracingOptions,\n requestOptions: this.options.requestOptions,\n abortSignal: updatedAbortSignal ? updatedAbortSignal : this.options.abortSignal,\n });\n if (!response.operationLocation) {\n throw new Error(\n \"Expects a valid 'operationLocation' to retrieve analyze results but did not find any\",\n );\n }\n state.operationId = getOperationId(response.operationLocation);\n }\n\n const operationStatus = await this.getAnalyzeActionsOperationStatus(state.operationId!, {\n abortSignal: updatedAbortSignal ? updatedAbortSignal : options.abortSignal,\n includeStatistics: this.options.includeStatistics,\n tracingOptions: this.options.tracingOptions,\n });\n\n state.createdOn = operationStatus.operationMetdata.createdOn;\n state.expiresOn = operationStatus.operationMetdata.expiresOn;\n state.lastModifiedOn = operationStatus.operationMetdata.lastModifiedOn;\n state.status = operationStatus.operationMetdata.status;\n state.actionsSucceededCount = operationStatus.operationMetdata.actionsSucceededCount;\n state.actionsFailedCount = operationStatus.operationMetdata.actionsFailedCount;\n state.actionsInProgressCount = operationStatus.operationMetdata.actionsInProgressCount;\n state.displayName = operationStatus.operationMetdata?.displayName;\n\n if (!state.isCompleted && operationStatus.done) {\n const pagedIterator = this.listAnalyzeActionsResults(state.operationId!, {\n abortSignal: this.options.abortSignal,\n tracingOptions: this.options.tracingOptions,\n includeStatistics: this.options.includeStatistics,\n onResponse: this.options.onResponse,\n serializerOptions: this.options.serializerOptions,\n });\n // Attach stats if the service starts to return them\n // https://github.com/Azure/azure-sdk-for-js/issues/14139\n // state.result = Object.assign(pagedIterator, {\n // statistics: operationStatus.statistics\n // });\n state.result = pagedIterator;\n state.isCompleted = true;\n }\n\n if (typeof options.fireProgress === \"function\") {\n options.fireProgress(state);\n }\n return this;\n }\n\n async cancel(): Promise<BeginAnalyzeActionsPollerOperation> {\n const state = this.state;\n logger.warning(`The service does not yet support cancellation for beginAnalyze.`);\n state.isCancelled = true;\n return this;\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { PollerLike } from \"@azure/core-lro\";\nimport type { PagedAnalyzeActionsResult } from \"../../analyzeActionsResult\";\nimport type { JobManifestTasks as GeneratedActions } from \"../../generated/models\";\nimport { delay } from \"../../util\";\n\nimport type { AnalysisPollerOptions } from \"../poller\";\nimport { AnalysisPoller } from \"../poller\";\nimport type { AnalyzeActionsOperationState, BeginAnalyzeActionsOptions } from \"./operation\";\nimport { BeginAnalyzeActionsPollerOperation } from \"./operation\";\n\n/**\n * @internal\n */\ninterface AnalyzeActionsPollerOptions extends AnalysisPollerOptions {\n actions: GeneratedActions;\n readonly options: BeginAnalyzeActionsOptions;\n}\n\n/**\n * Result type of the Begin Analyze Actions Long-Running-Operation (LRO).\n */\nexport type AnalyzeActionsPollerLike = PollerLike<\n AnalyzeActionsOperationState,\n PagedAnalyzeActionsResult\n>;\n\n/**\n * Class that represents a poller that waits for the analyze actions results.\n * @internal\n */\nexport class BeginAnalyzeActionsPoller extends AnalysisPoller<\n AnalyzeActionsOperationState,\n PagedAnalyzeActionsResult\n> {\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n constructor(pollerOptions: AnalyzeActionsPollerOptions) {\n const {\n client,\n tracing,\n documents,\n actions,\n options,\n updateIntervalInMs = 5000,\n resumeFrom,\n } = pollerOptions;\n\n let state: AnalyzeActionsOperationState | undefined;\n\n if (resumeFrom) {\n state = JSON.parse(resumeFrom).state;\n }\n const operation = new BeginAnalyzeActionsPollerOperation(\n (state || {}) as any,\n client,\n tracing,\n documents,\n actions,\n options,\n );\n\n super(operation);\n\n this.updateIntervalInMs = updateIntervalInMs;\n }\n\n public delay(): Promise<void> {\n return delay(this.updateIntervalInMs);\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommonClientOptions } from \"@azure/core-client\";\nimport type { InternalPipelineOptions } from \"@azure/core-rest-pipeline\";\nimport { bearerTokenAuthenticationPolicy } from \"@azure/core-rest-pipeline\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport { SDK_VERSION } from \"./constants\";\nimport { GeneratedClient } from \"./generated/generatedClient\";\nimport { logger } from \"./logger\";\nimport type {\n DetectLanguageInput,\n JobManifestTasks as GeneratedActions,\n SentimentOptionalParams as GeneratedAnalyzeSentimentOptions,\n LanguagesOptionalParams as GeneratedDetectLanguageOptions,\n KeyPhrasesOptionalParams as GeneratedExtractKeyPhrasesOptions,\n EntitiesRecognitionGeneralOptionalParams as GeneratedRecognizeCategorizedEntitiesOptions,\n EntitiesLinkingOptionalParams as GeneratedRecognizeLinkedEntitiesOptions,\n EntitiesRecognitionPiiOptionalParams as GeneratedRecognizePiiEntitiesOptions,\n PiiCategory,\n TextDocumentInput,\n} from \"./generated/models\";\nimport type { DetectLanguageResultArray } from \"./detectLanguageResultArray\";\nimport { makeDetectLanguageResultArray } from \"./detectLanguageResultArray\";\nimport type { RecognizeCategorizedEntitiesResultArray } from \"./recognizeCategorizedEntitiesResultArray\";\nimport { makeRecognizeCategorizedEntitiesResultArray } from \"./recognizeCategorizedEntitiesResultArray\";\nimport type { AnalyzeSentimentResultArray } from \"./analyzeSentimentResultArray\";\nimport { makeAnalyzeSentimentResultArray } from \"./analyzeSentimentResultArray\";\nimport type { ExtractKeyPhrasesResultArray } from \"./extractKeyPhrasesResultArray\";\nimport { makeExtractKeyPhrasesResultArray } from \"./extractKeyPhrasesResultArray\";\nimport type { RecognizePiiEntitiesResultArray } from \"./recognizePiiEntitiesResultArray\";\nimport { makeRecognizePiiEntitiesResultArray } from \"./recognizePiiEntitiesResultArray\";\nimport type { RecognizeLinkedEntitiesResultArray } from \"./recognizeLinkedEntitiesResultArray\";\nimport { makeRecognizeLinkedEntitiesResultArray } from \"./recognizeLinkedEntitiesResultArray\";\nimport type { TracingClient } from \"@azure/core-tracing\";\nimport { createTracingClient } from \"@azure/core-tracing\";\nimport { textAnalyticsAzureKeyCredentialPolicy } from \"./azureKeyCredentialPolicy\";\nimport {\n StringIndexType,\n addParamsToTask,\n compose,\n setCategoriesFilter,\n setOpinionMining,\n setStrEncodingParam,\n setStrEncodingParamValue,\n throwError,\n} from \"./util\";\nimport {\n AnalyzeHealthcareEntitiesPollerLike,\n BeginAnalyzeHealthcarePoller,\n PollerLikeWithCancellation,\n} from \"./lro/health/poller\";\nimport {\n AnalyzeHealthcareOperationState,\n BeginAnalyzeHealthcareEntitiesOptions,\n} from \"./lro/health/operation\";\nimport type { TextAnalyticsOperationOptions } from \"./textAnalyticsOperationOptions\";\nimport { AnalyzeActionsPollerLike, BeginAnalyzeActionsPoller } from \"./lro/analyze/poller\";\nimport {\n AnalyzeActionsOperationMetadata,\n AnalyzeActionsOperationState,\n BeginAnalyzeActionsOptions,\n} from \"./lro/analyze/operation\";\nimport { AnalysisPollOperationState, OperationMetadata } from \"./lro/poller\";\nimport type { TextAnalyticsAction } from \"./textAnalyticsAction\";\n\nexport {\n BeginAnalyzeActionsOptions,\n AnalyzeActionsPollerLike,\n AnalyzeActionsOperationState,\n BeginAnalyzeHealthcareEntitiesOptions,\n PollerLikeWithCancellation,\n AnalyzeHealthcareEntitiesPollerLike,\n AnalyzeHealthcareOperationState,\n AnalysisPollOperationState,\n OperationMetadata,\n AnalyzeActionsOperationMetadata,\n StringIndexType,\n};\n\nconst DEFAULT_COGNITIVE_SCOPE = \"https://cognitiveservices.azure.com/.default\";\n\n/**\n * Client options used to configure TextAnalytics API requests.\n */\nexport interface TextAnalyticsClientOptions extends CommonClientOptions {\n /**\n * The default country hint to use. Defaults to \"us\".\n */\n defaultCountryHint?: string;\n\n /**\n * The default language to use. Defaults to \"en\".\n */\n defaultLanguage?: string;\n}\n\n/**\n * Options for the detect languages operation.\n */\nexport interface DetectLanguageOptions extends TextAnalyticsOperationOptions {}\n\n/**\n * Options for the recognize entities operation.\n */\nexport interface RecognizeCategorizedEntitiesOptions extends TextAnalyticsOperationOptions {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n}\n\n/**\n * Options for the analyze sentiment operation.\n */\nexport interface AnalyzeSentimentOptions extends TextAnalyticsOperationOptions {\n /**\n * Whether to mine the opinions of a sentence and conduct more granular\n * analysis around the aspects of a product or service (also known as\n * aspect-based sentiment analysis). If set to true, the returned\n * `SentenceSentiment` objects will have property `opinions` containing\n * the result of this analysis.\n * More information about the feature can be found here: {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis?tabs=version-3-1#opinion-mining}\n */\n includeOpinionMining?: boolean;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n}\n\n/**\n * The types of PII domains the user can choose from.\n */\nexport enum PiiEntityDomain {\n /**\n * @see {@link https://aka.ms/tanerpii} for more information.\n */\n PROTECTED_HEALTH_INFORMATION = \"PHI\",\n}\n\n/**\n * Options for the recognize PII entities operation.\n */\nexport interface RecognizePiiEntitiesOptions extends TextAnalyticsOperationOptions {\n /**\n * Filters entities to ones only included in the specified domain (e.g., if\n * set to 'PHI', entities in the Protected Healthcare Information domain will\n * only be returned). @see {@link https://aka.ms/tanerpii} for more information.\n */\n domainFilter?: PiiEntityDomain;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n /**\n * Filters entities to ones only included in the specified array of categories\n */\n categoriesFilter?: PiiCategory[];\n}\n\n/**\n * Options for the extract key phrases operation.\n */\nexport interface ExtractKeyPhrasesOptions extends TextAnalyticsOperationOptions {}\n\n/**\n * Options for the recognize linked entities operation.\n */\nexport interface RecognizeLinkedEntitiesOptions extends TextAnalyticsOperationOptions {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n}\n\n/**\n * Options for an entities recognition action.\n */\nexport interface RecognizeCategorizedEntitiesAction extends TextAnalyticsAction {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics\n * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,\n * disables input logging and may limit our ability to remediate issues that occur.\n */\n disableServiceLogs?: boolean;\n}\n\n/**\n * Options for a Pii entities recognition action.\n */\nexport interface RecognizePiiEntitiesAction extends TextAnalyticsAction {\n /**\n * Filters entities to ones only included in the specified domain (e.g., if\n * set to 'PHI', entities in the Protected Healthcare Information domain will\n * only be returned). @see {@link https://aka.ms/tanerpii} for more information.\n */\n domainFilter?: PiiEntityDomain;\n /**\n * Filters entities to ones only included in the specified array of categories\n */\n categoriesFilter?: PiiCategory[];\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n /**\n * If set to false, you opt-in to have your text input logged for troubleshooting. By default, Text Analytics\n * will not log your input text for pii entities recognition. Setting this parameter to false,\n * enables input logging.\n */\n disableServiceLogs?: boolean;\n}\n\n/**\n * Options for a key phrases recognition action.\n */\nexport interface ExtractKeyPhrasesAction extends TextAnalyticsAction {\n /**\n * If set to false, you opt-in to have your text input logged for troubleshooting. By default, Text Analytics\n * will not log your input text for pii entities recognition. Setting this parameter to false,\n * enables input logging.\n */\n disableServiceLogs?: boolean;\n}\n\n/**\n * Options for an entities linking action.\n */\nexport interface RecognizeLinkedEntitiesAction extends TextAnalyticsAction {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics\n * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,\n * disables input logging and may limit our ability to remediate issues that occur.\n */\n disableServiceLogs?: boolean;\n}\n\n/**\n * Options for an analyze sentiment action.\n */\nexport interface AnalyzeSentimentAction extends TextAnalyticsAction {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties.\n * Possible units are \"TextElements_v8\", \"UnicodeCodePoint\", and \"Utf16CodeUnit\".\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics\n * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true,\n * disables input logging and may limit our ability to remediate issues that occur.\n */\n disableServiceLogs?: boolean;\n /**\n * Whether to mine the opinions of a sentence and conduct more granular\n * analysis around the aspects of a product or service (also known as\n * aspect-based sentiment analysis). If set to true, the returned\n * `SentenceSentiment` objects will have property `opinions` containing\n * the result of this analysis.\n * More information about the feature can be found here: {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis?tabs=version-3-1#opinion-mining}\n */\n includeOpinionMining?: boolean;\n}\n\n/**\n * Description of collection of actions for the analyze API to perform on input documents. However, currently, the service can accept up to one action only per action type.\n */\nexport interface TextAnalyticsActions {\n /**\n * A collection of descriptions of entities recognition actions. However, currently, the service can accept up to one action only for `recognizeEntities`.\n */\n recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[];\n /**\n * A collection of descriptions of Pii entities recognition actions. However, currently, the service can accept up to one action only for `recognizePiiEntities`.\n */\n recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[];\n /**\n * A collection of descriptions of key phrases recognition actions. However, currently, the service can accept up to one action only for `extractKeyPhrases`.\n */\n extractKeyPhrasesActions?: ExtractKeyPhrasesAction[];\n /**\n * A collection of descriptions of entities linking actions. However, currently, the service can accept up to one action only for `recognizeLinkedEntities`.\n */\n recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[];\n /**\n * A collection of descriptions of sentiment analysis actions. However, currently, the service can accept up to one action only for `analyzeSentiment`.\n */\n analyzeSentimentActions?: AnalyzeSentimentAction[];\n}\n/**\n * Client class for interacting with Azure Text Analytics.\n */\nexport class TextAnalyticsClient {\n /**\n * The URL to the TextAnalytics endpoint\n */\n public readonly endpointUrl: string;\n\n /**\n * The default country hint to use. Defaults to \"us\".\n */\n public defaultCountryHint: string;\n\n /**\n * The default language to use. Defaults to \"en\".\n */\n public defaultLanguage: string;\n\n /**\n * @internal\n * A reference to the auto-generated TextAnalytics HTTP client.\n */\n private readonly client: GeneratedClient;\n private readonly _tracing: TracingClient;\n\n /**\n * Creates an instance of TextAnalyticsClient.\n *\n * Example usage:\n * ```ts\n * import { TextAnalyticsClient, AzureKeyCredential } from \"@azure/ai-text-analytics\";\n *\n * const client = new TextAnalyticsClient(\n * \"<service endpoint>\",\n * new AzureKeyCredential(\"<api key>\")\n * );\n * ```\n * @param endpointUrl - The URL to the TextAnalytics endpoint\n * @param credential - Used to authenticate requests to the service.\n * @param options - Used to configure the TextAnalytics client.\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential | KeyCredential,\n options: TextAnalyticsClientOptions = {},\n ) {\n this.endpointUrl = endpointUrl;\n const { defaultCountryHint = \"us\", defaultLanguage = \"en\", ...pipelineOptions } = options;\n this.defaultCountryHint = defaultCountryHint;\n this.defaultLanguage = defaultLanguage;\n\n const libInfo = `azsdk-js-ai-textanalytics/${SDK_VERSION}`;\n if (!pipelineOptions.userAgentOptions) {\n pipelineOptions.userAgentOptions = {};\n }\n if (pipelineOptions.userAgentOptions.userAgentPrefix) {\n pipelineOptions.userAgentOptions.userAgentPrefix = `${pipelineOptions.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n pipelineOptions.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...pipelineOptions,\n ...{\n loggingOptions: {\n logger: logger.info,\n additionalAllowedHeaderNames: [\"x-ms-correlation-request-id\", \"x-ms-request-id\"],\n },\n },\n };\n\n this.client = new GeneratedClient(this.endpointUrl, internalPipelineOptions);\n\n const authPolicy = isTokenCredential(credential)\n ? bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_COGNITIVE_SCOPE })\n : textAnalyticsAzureKeyCredentialPolicy(credential);\n\n this.client.pipeline.addPolicy(authPolicy);\n this._tracing = createTracingClient({\n packageName: \"@azure/ai-text-analytics\",\n packageVersion: SDK_VERSION,\n namespace: \"Microsoft.CognitiveServices\",\n });\n }\n\n /**\n * Runs a predictive model to determine the language that the passed-in\n * input strings are written in, and returns, for each one, the detected\n * language as well as a score indicating the model's confidence that the\n * inferred language is correct. Scores close to 1 indicate high certainty in\n * the result. 120 languages are supported.\n * @param documents - A collection of input strings to analyze.\n * @param countryHint - Indicates the country of origin for all of\n * the input strings to assist the text analytics model in predicting\n * the language they are written in. If unspecified, this value will be\n * set to the default country hint in `TextAnalyticsClientOptions`.\n * If set to an empty string, or the string \"none\", the service will apply a\n * model where the country is explicitly unset.\n * The same country hint is applied to all strings in the input collection.\n * @param options - Optional parameters for the operation.\n */\n public async detectLanguage(\n documents: string[],\n countryHint?: string,\n options?: DetectLanguageOptions,\n ): Promise<DetectLanguageResultArray>;\n /**\n * Runs a predictive model to determine the language that the passed-in\n * input document are written in, and returns, for each one, the detected\n * language as well as a score indicating the model's confidence that the\n * inferred language is correct. Scores close to 1 indicate high certainty in\n * the result. 120 languages are supported.\n * @param documents - A collection of input documents to analyze.\n * @param options - Optional parameters for the operation.\n */\n public async detectLanguage(\n documents: DetectLanguageInput[],\n options?: DetectLanguageOptions,\n ): Promise<DetectLanguageResultArray>;\n public async detectLanguage(\n documents: string[] | DetectLanguageInput[],\n countryHintOrOptions?: string | DetectLanguageOptions,\n options?: DetectLanguageOptions,\n ): Promise<DetectLanguageResultArray> {\n let realOptions: DetectLanguageOptions;\n let realInputs: DetectLanguageInput[];\n\n if (!Array.isArray(documents) || documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n if (isStringArray(documents)) {\n const countryHint = (countryHintOrOptions as string) || this.defaultCountryHint;\n realInputs = convertToDetectLanguageInput(documents, countryHint);\n realOptions = options || {};\n } else {\n // Replace \"none\" hints with \"\"\n realInputs = documents.map((input) => ({\n ...input,\n countryHint: input.countryHint === \"none\" ? \"\" : input.countryHint,\n }));\n realOptions = (countryHintOrOptions as DetectLanguageOptions) || {};\n }\n\n return this._tracing.withSpan(\n \"TextAnalyticsClient-detectLanguages\",\n makeGeneratedDetectLanguageOptions(realOptions),\n (finalOptions) =>\n this.client\n .languages(\n {\n documents: realInputs,\n },\n finalOptions,\n )\n .then((result) => makeDetectLanguageResultArray(realInputs, result)),\n );\n }\n\n /**\n * Runs a predictive model to identify a collection of named entities\n * in the passed-in input strings, and categorize those entities into types\n * such as person, location, or organization. For more information on \n * available categories, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types}.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input strings to analyze.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`. \n If set to an empty string, the service will apply a model\n where the language is explicitly set to \"None\".\n * @param options - Optional parameters for the operation.\n */\n public async recognizeEntities(\n documents: string[],\n language?: string,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options?: RecognizeCategorizedEntitiesOptions,\n ): Promise<RecognizeCategorizedEntitiesResultArray>;\n /**\n * Runs a predictive model to identify a collection of named entities\n * in the passed-in input documents, and categorize those entities into types\n * such as person, location, or organization. For more information on\n * available categories, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types}.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input documents to analyze.\n * @param options - Optional parameters for the operation.\n */\n public async recognizeEntities(\n documents: TextDocumentInput[],\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options?: RecognizeCategorizedEntitiesOptions,\n ): Promise<RecognizeCategorizedEntitiesResultArray>;\n public async recognizeEntities(\n documents: string[] | TextDocumentInput[],\n languageOrOptions?: string | RecognizeCategorizedEntitiesOptions,\n // eslint-disable-next-line @azure/azure-sdk/ts-naming-options\n options?: RecognizeCategorizedEntitiesOptions,\n ): Promise<RecognizeCategorizedEntitiesResultArray> {\n let realOptions: RecognizeCategorizedEntitiesOptions;\n let realInputs: TextDocumentInput[];\n\n if (!Array.isArray(documents) || documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n if (isStringArray(documents)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(documents, language);\n realOptions = options || {};\n } else {\n realInputs = documents;\n realOptions = (languageOrOptions as RecognizeCategorizedEntitiesOptions) || {};\n }\n\n return this._tracing.withSpan(\n \"TextAnalyticsClient-recognizeEntities\",\n makeGeneratedRecognizeCategorizedEntitiesOptions(realOptions),\n (finalOptions) =>\n throwError(\n this.client.entitiesRecognitionGeneral(\n {\n documents: realInputs,\n },\n finalOptions,\n ),\n ).then((result) => makeRecognizeCategorizedEntitiesResultArray(realInputs, result)),\n );\n }\n\n /**\n * Runs a predictive model to identify the positive, negative, neutral, or mixed\n * sentiment contained in the input strings, as well as scores indicating\n * the model's confidence in each of the predicted sentiments. Optionally it\n * can also identify targets in the text and assessments about it through\n * opinion mining. For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input strings to analyze.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`. \n If set to an empty string, the service will apply a model\n where the lanuage is explicitly set to \"None\".\n * @param options - Optional parameters that includes enabling opinion mining.\n */\n public async analyzeSentiment(\n documents: string[],\n language?: string,\n options?: AnalyzeSentimentOptions,\n ): Promise<AnalyzeSentimentResultArray>;\n /**\n * Runs a predictive model to identify the positive, negative or neutral, or mixed\n * sentiment contained in the input documents, as well as scores indicating\n * the model's confidence in each of the predicted sentiments.Optionally it\n * can also identify targets in the text and assessments about it through\n * opinion mining. For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input documents to analyze.\n * @param options - Optional parameters that includes enabling opinion mining.\n */\n public async analyzeSentiment(\n documents: TextDocumentInput[],\n options?: AnalyzeSentimentOptions,\n ): Promise<AnalyzeSentimentResultArray>;\n public async analyzeSentiment(\n documents: string[] | TextDocumentInput[],\n languageOrOptions?: string | AnalyzeSentimentOptions,\n options?: AnalyzeSentimentOptions,\n ): Promise<AnalyzeSentimentResultArray> {\n let realOptions: AnalyzeSentimentOptions;\n let realInputs: TextDocumentInput[];\n\n if (!Array.isArray(documents) || documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n if (isStringArray(documents)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(documents, language);\n realOptions = options || {};\n } else {\n realInputs = documents;\n realOptions = (languageOrOptions as AnalyzeSentimentOptions) || {};\n }\n\n return this._tracing.withSpan(\n \"TextAnalyticsClient-analyzeSentiment\",\n makeGeneratedAnalyzeSentimentOptions(realOptions),\n (finalOptions) =>\n this.client\n .sentiment(\n {\n documents: realInputs,\n },\n finalOptions,\n )\n .then((result) => makeAnalyzeSentimentResultArray(realInputs, result)),\n );\n }\n\n /**\n * Runs a model to identify a collection of significant phrases\n * found in the passed-in input strings.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input strings to analyze.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`. \n If set to an empty string, the service will apply a model\n where the language is explicitly set to \"None\".\n * @param options - Options for the operation.\n */\n public async extractKeyPhrases(\n documents: string[],\n language?: string,\n options?: ExtractKeyPhrasesOptions,\n ): Promise<ExtractKeyPhrasesResultArray>;\n /**\n * Runs a model to identify a collection of significant phrases\n * found in the passed-in input documents.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input documents to analyze.\n * @param options - Options for the operation.\n */\n public async extractKeyPhrases(\n documents: TextDocumentInput[],\n options?: ExtractKeyPhrasesOptions,\n ): Promise<ExtractKeyPhrasesResultArray>;\n public async extractKeyPhrases(\n documents: string[] | TextDocumentInput[],\n languageOrOptions?: string | ExtractKeyPhrasesOptions,\n options?: ExtractKeyPhrasesOptions,\n ): Promise<ExtractKeyPhrasesResultArray> {\n let realOptions: ExtractKeyPhrasesOptions;\n let realInputs: TextDocumentInput[];\n\n if (!Array.isArray(documents) || documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n if (isStringArray(documents)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(documents, language);\n realOptions = options || {};\n } else {\n realInputs = documents;\n realOptions = (languageOrOptions as ExtractKeyPhrasesOptions) || {};\n }\n\n return this._tracing.withSpan(\n \"TextAnalyticsClient-extractKeyPhrases\",\n makeGeneratedExtractKeyPhrasesOptions(realOptions),\n (finalOptions) =>\n this.client\n .keyPhrases(\n {\n documents: realInputs,\n },\n finalOptions,\n )\n .then((result) => makeExtractKeyPhrasesResultArray(realInputs, result)),\n );\n }\n\n /**\n * Runs a predictive model to identify a collection of entities containing\n * personally identifiable information found in the passed-in input strings,\n * and categorize those entities into types such as US social security\n * number, drivers license number, or credit card number.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support}.\n * @param inputs - The input strings to analyze.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`. \n If set to an empty string, the service will apply a model\n where the language is explicitly set to \"None\".\n * @param options - Options for the operation.\n */\n public async recognizePiiEntities(\n inputs: string[],\n language?: string,\n options?: RecognizePiiEntitiesOptions,\n ): Promise<RecognizePiiEntitiesResultArray>;\n /**\n * Runs a predictive model to identify a collection of entities containing\n * personally identifiable information found in the passed-in input documents,\n * and categorize those entities into types such as US social security\n * number, drivers license number, or credit card number.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support}.\n * @param inputs - The input documents to analyze.\n * @param options - Optional parameters for the operation.\n */\n public async recognizePiiEntities(\n inputs: TextDocumentInput[],\n options?: RecognizePiiEntitiesOptions,\n ): Promise<RecognizePiiEntitiesResultArray>;\n public async recognizePiiEntities(\n inputs: string[] | TextDocumentInput[],\n languageOrOptions?: string | RecognizePiiEntitiesOptions,\n options?: RecognizePiiEntitiesOptions,\n ): Promise<RecognizePiiEntitiesResultArray> {\n let realOptions: RecognizePiiEntitiesOptions;\n let realInputs: TextDocumentInput[];\n\n if (isStringArray(inputs)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(inputs, language);\n realOptions = options || {};\n } else {\n realInputs = inputs;\n realOptions = (languageOrOptions as RecognizePiiEntitiesOptions) || {};\n }\n\n return this._tracing.withSpan(\n \"TextAnalyticsClient-recognizePiiEntities\",\n makeGeneratedRecognizePiiEntitiesOptions(realOptions),\n (finalOptions) =>\n this.client\n .entitiesRecognitionPii(\n {\n documents: realInputs,\n },\n finalOptions,\n )\n .then((result) => makeRecognizePiiEntitiesResultArray(realInputs, result)),\n );\n }\n\n /**\n * Runs a predictive model to identify a collection of entities\n * found in the passed-in input strings, and include information linking the\n * entities to their corresponding entries in a well-known knowledge base.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input strings to analyze.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`. \n If set to an empty string, the service will apply a model\n where the language is explicitly set to \"None\".\n * @param options - Options for the operation.\n */\n public async recognizeLinkedEntities(\n documents: string[],\n language?: string,\n options?: RecognizeLinkedEntitiesOptions,\n ): Promise<RecognizeLinkedEntitiesResultArray>;\n /**\n * Runs a predictive model to identify a collection of entities\n * found in the passed-in input documents, and include information linking the\n * entities to their corresponding entries in a well-known knowledge base.\n * For a list of languages supported by this operation, @see\n * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}.\n * @param documents - The input documents to analyze.\n * @param options - Options for the operation.\n */\n public async recognizeLinkedEntities(\n documents: TextDocumentInput[],\n options?: RecognizeLinkedEntitiesOptions,\n ): Promise<RecognizeLinkedEntitiesResultArray>;\n public async recognizeLinkedEntities(\n documents: string[] | TextDocumentInput[],\n languageOrOptions?: string | RecognizeLinkedEntitiesOptions,\n options?: RecognizeLinkedEntitiesOptions,\n ): Promise<RecognizeLinkedEntitiesResultArray> {\n let realOptions: RecognizeLinkedEntitiesOptions;\n let realInputs: TextDocumentInput[];\n\n if (!Array.isArray(documents) || documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n if (isStringArray(documents)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(documents, language);\n realOptions = options || {};\n } else {\n realInputs = documents;\n realOptions = (languageOrOptions as RecognizeLinkedEntitiesOptions) || {};\n }\n\n return this._tracing.withSpan(\n \"TextAnalyticsClient-recognizeLinkedEntities\",\n makeGeneratedRecognizeLinkingEntitiesOptions(realOptions),\n (finalOptions) =>\n this.client\n .entitiesLinking(\n {\n documents: realInputs,\n },\n finalOptions,\n )\n .then((result) => makeRecognizeLinkedEntitiesResultArray(realInputs, result)),\n );\n }\n\n /**\n * Start a healthcare analysis operation to recognize healthcare related entities (drugs, conditions,\n * symptoms, etc) and their relations.\n * @param documents - Collection of documents to analyze.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`.\n If set to an empty string, the service will apply a model\n where the language is explicitly set to \"None\".\n * @param options - Options for the operation.\n */\n async beginAnalyzeHealthcareEntities(\n documents: string[],\n language?: string,\n options?: BeginAnalyzeHealthcareEntitiesOptions,\n ): Promise<AnalyzeHealthcareEntitiesPollerLike>;\n /**\n * Start a healthcare analysis operation to recognize healthcare related entities (drugs, conditions,\n * symptoms, etc) and their relations.\n * @param documents - Collection of documents to analyze.\n * @param options - Options for the operation.\n */\n async beginAnalyzeHealthcareEntities(\n documents: TextDocumentInput[],\n options?: BeginAnalyzeHealthcareEntitiesOptions,\n ): Promise<AnalyzeHealthcareEntitiesPollerLike>;\n\n async beginAnalyzeHealthcareEntities(\n documents: string[] | TextDocumentInput[],\n languageOrOptions?: string | BeginAnalyzeHealthcareEntitiesOptions,\n options?: BeginAnalyzeHealthcareEntitiesOptions,\n ): Promise<AnalyzeHealthcareEntitiesPollerLike> {\n let realOptions: BeginAnalyzeHealthcareEntitiesOptions;\n let realInputs: TextDocumentInput[];\n if (isStringArray(documents)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(documents, language);\n realOptions = options || {};\n } else {\n realInputs = documents;\n realOptions = (languageOrOptions as BeginAnalyzeHealthcareEntitiesOptions) || {};\n }\n\n const { updateIntervalInMs, resumeFrom, ...restOptions } = realOptions;\n const poller = new BeginAnalyzeHealthcarePoller({\n client: this.client,\n tracing: this._tracing,\n documents: realInputs,\n options: restOptions,\n updateIntervalInMs: updateIntervalInMs,\n resumeFrom: resumeFrom,\n });\n\n await poller.poll();\n return poller;\n }\n\n /**\n * Submit a collection of text documents for analysis. Specify one or more unique actions to be executed.\n * @param documents - Collection of documents to analyze\n * @param actions - TextAnalyticsActions to execute.\n * @param language - The language that all the input strings are\n written in. If unspecified, this value will be set to the default\n language in `TextAnalyticsClientOptions`.\n If set to an empty string, the service will apply a model\n where the language is explicitly set to \"None\".\n * @param options - Options for the operation.\n */\n public async beginAnalyzeActions(\n documents: string[],\n actions: TextAnalyticsActions,\n language?: string,\n options?: BeginAnalyzeActionsOptions,\n ): Promise<AnalyzeActionsPollerLike>;\n /**\n * Submit a collection of text documents for analysis. Specify one or more unique actions to be executed.\n * @param documents - Collection of documents to analyze\n * @param actions - TextAnalyticsActions to execute.\n * @param options - Options for the operation.\n */\n public async beginAnalyzeActions(\n documents: TextDocumentInput[],\n actions: TextAnalyticsActions,\n options?: BeginAnalyzeActionsOptions,\n ): Promise<AnalyzeActionsPollerLike>;\n public async beginAnalyzeActions(\n documents: string[] | TextDocumentInput[],\n actions: TextAnalyticsActions,\n languageOrOptions?: string | BeginAnalyzeActionsOptions,\n options?: BeginAnalyzeActionsOptions,\n ): Promise<AnalyzeActionsPollerLike> {\n let realOptions: BeginAnalyzeActionsOptions;\n let realInputs: TextDocumentInput[];\n\n if (!Array.isArray(documents) || documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n if (isStringArray(documents)) {\n const language = (languageOrOptions as string) || this.defaultLanguage;\n realInputs = convertToTextDocumentInput(documents, language);\n realOptions = options || {};\n } else {\n realInputs = documents;\n realOptions = (languageOrOptions as BeginAnalyzeActionsOptions) || {};\n }\n const compiledActions = compileAnalyzeInput(actions);\n const { updateIntervalInMs, resumeFrom, ...restOptions } = realOptions;\n const poller = new BeginAnalyzeActionsPoller({\n client: this.client,\n tracing: this._tracing,\n documents: realInputs,\n actions: compiledActions,\n options: restOptions,\n resumeFrom: resumeFrom,\n updateIntervalInMs: updateIntervalInMs,\n });\n\n await poller.poll();\n return poller;\n }\n}\n\n/**\n * @internal\n */\nfunction compileAnalyzeInput(actions: TextAnalyticsActions): GeneratedActions {\n return {\n entityRecognitionPiiTasks: actions.recognizePiiEntitiesActions?.map(\n compose(setStrEncodingParam, compose(setCategoriesFilter, addParamsToTask)),\n ),\n entityRecognitionTasks: actions.recognizeEntitiesActions?.map(\n compose(setStrEncodingParam, addParamsToTask),\n ),\n keyPhraseExtractionTasks: actions.extractKeyPhrasesActions?.map(addParamsToTask),\n entityLinkingTasks: actions.recognizeLinkedEntitiesActions?.map(\n compose(setStrEncodingParam, addParamsToTask),\n ),\n sentimentAnalysisTasks: actions.analyzeSentimentActions?.map(\n compose(setStrEncodingParam, compose(setOpinionMining, addParamsToTask)),\n ),\n };\n}\n\nfunction isStringArray(documents: any[]): documents is string[] {\n return typeof documents[0] === \"string\";\n}\n\n/**\n * @internal\n */\nfunction convertToDetectLanguageInput(\n inputs: string[],\n countryHint: string,\n): DetectLanguageInput[] {\n if (countryHint === \"none\") {\n countryHint = \"\";\n }\n return inputs.map((text: string, index): DetectLanguageInput => {\n return {\n id: String(index),\n countryHint,\n text,\n };\n });\n}\n\n/**\n * @internal\n */\nfunction convertToTextDocumentInput(inputs: string[], language: string): TextDocumentInput[] {\n return inputs.map((text: string, index): TextDocumentInput => {\n return {\n id: String(index),\n language,\n text,\n };\n });\n}\n\n/**\n * Creates the options the service expects for the analyze sentiment API from the user friendly ones.\n * @param params - the user friendly parameters\n * @internal\n */\nfunction makeGeneratedAnalyzeSentimentOptions(\n params: AnalyzeSentimentOptions,\n): GeneratedAnalyzeSentimentOptions {\n return {\n abortSignal: params.abortSignal,\n opinionMining: params.includeOpinionMining,\n includeStatistics: params.includeStatistics,\n modelVersion: params.modelVersion,\n requestOptions: params.requestOptions,\n stringIndexType: setStrEncodingParamValue(params.stringIndexType),\n tracingOptions: params.tracingOptions,\n onResponse: params.onResponse,\n serializerOptions: params.serializerOptions,\n loggingOptOut: params.disableServiceLogs,\n };\n}\n\n/**\n * Creates the options the service expects for the recognize pii entities API from the user friendly ones.\n * @param params - the user friendly parameters\n * @internal\n */\nfunction makeGeneratedRecognizePiiEntitiesOptions(\n params: RecognizePiiEntitiesOptions,\n): GeneratedRecognizePiiEntitiesOptions {\n return {\n abortSignal: params.abortSignal,\n domain: params.domainFilter,\n includeStatistics: params.includeStatistics,\n modelVersion: params.modelVersion,\n requestOptions: params.requestOptions,\n stringIndexType: setStrEncodingParamValue(params.stringIndexType),\n tracingOptions: params.tracingOptions,\n piiCategories: params.categoriesFilter,\n onResponse: params.onResponse,\n serializerOptions: params.serializerOptions,\n loggingOptOut: params.disableServiceLogs,\n };\n}\n\n/**\n * Creates the options the service expects for the recognize entities API from the user friendly ones.\n * @param params - the user friendly parameters\n * @internal\n */\nfunction makeGeneratedRecognizeCategorizedEntitiesOptions(\n params: RecognizeCategorizedEntitiesOptions,\n): GeneratedRecognizeCategorizedEntitiesOptions {\n return {\n abortSignal: params.abortSignal,\n includeStatistics: params.includeStatistics,\n modelVersion: params.modelVersion,\n requestOptions: params.requestOptions,\n stringIndexType: setStrEncodingParamValue(params.stringIndexType),\n tracingOptions: params.tracingOptions,\n onResponse: params.onResponse,\n serializerOptions: params.serializerOptions,\n loggingOptOut: params.disableServiceLogs,\n };\n}\n\n/**\n * Creates the options the service expects for the detect language API from the user friendly ones.\n * @param params - the user friendly parameters\n * @internal\n */\nfunction makeGeneratedDetectLanguageOptions(\n params: DetectLanguageOptions,\n): GeneratedDetectLanguageOptions {\n return {\n abortSignal: params.abortSignal,\n includeStatistics: params.includeStatistics,\n modelVersion: params.modelVersion,\n requestOptions: params.requestOptions,\n tracingOptions: params.tracingOptions,\n onResponse: params.onResponse,\n serializerOptions: params.serializerOptions,\n loggingOptOut: params.disableServiceLogs,\n };\n}\n\n/**\n * Creates the options the service expects for the extract key phrases API from the user friendly ones.\n * @param params - the user friendly parameters\n * @internal\n */\nfunction makeGeneratedExtractKeyPhrasesOptions(\n params: ExtractKeyPhrasesOptions,\n): GeneratedExtractKeyPhrasesOptions {\n return {\n abortSignal: params.abortSignal,\n includeStatistics: params.includeStatistics,\n modelVersion: params.modelVersion,\n requestOptions: params.requestOptions,\n tracingOptions: params.tracingOptions,\n onResponse: params.onResponse,\n serializerOptions: params.serializerOptions,\n loggingOptOut: params.disableServiceLogs,\n };\n}\n\n/**\n * Creates the options the service expects for the recognize linked entities API from the user friendly ones.\n * @param params - the user friendly parameters\n * @internal\n */\nfunction makeGeneratedRecognizeLinkingEntitiesOptions(\n params: RecognizeLinkedEntitiesOptions,\n): GeneratedRecognizeLinkedEntitiesOptions {\n return {\n abortSignal: params.abortSignal,\n includeStatistics: params.includeStatistics,\n modelVersion: params.modelVersion,\n requestOptions: params.requestOptions,\n tracingOptions: params.tracingOptions,\n onResponse: params.onResponse,\n serializerOptions: params.serializerOptions,\n loggingOptOut: params.disableServiceLogs,\n stringIndexType: setStrEncodingParamValue(params.stringIndexType),\n };\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport interface JobDescriptor {\n /** Optional display name for the analysis job. */\n displayName?: string;\n}\n\nexport interface AnalysisInput {\n /** Contains a set of input documents to be analyzed by the service. */\n analysisInput: MultiLanguageBatchInput;\n}\n\n/** Contains a set of input documents to be analyzed by the service. */\nexport interface MultiLanguageBatchInput {\n /** The set of documents to process as part of this batch. */\n documents: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */\nexport interface TextDocumentInput {\n /** A unique, non-empty document identifier. */\n id: string;\n /** The input text to process. */\n text: string;\n /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default. */\n language?: string;\n}\n\nexport interface JobManifest {\n /** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */\n tasks: JobManifestTasks;\n}\n\n/** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */\nexport interface JobManifestTasks {\n entityRecognitionTasks?: EntitiesTask[];\n entityRecognitionPiiTasks?: PiiTask[];\n keyPhraseExtractionTasks?: KeyPhrasesTask[];\n entityLinkingTasks?: EntityLinkingTask[];\n sentimentAnalysisTasks?: SentimentAnalysisTask[];\n}\n\nexport interface EntitiesTask {\n parameters?: EntitiesTaskParameters;\n}\n\nexport interface EntitiesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface PiiTask {\n parameters?: PiiTaskParameters;\n}\n\nexport interface PiiTaskParameters {\n domain?: PiiTaskParametersDomain;\n modelVersion?: string;\n loggingOptOut?: boolean;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n stringIndexType?: StringIndexType;\n}\n\nexport interface KeyPhrasesTask {\n parameters?: KeyPhrasesTaskParameters;\n}\n\nexport interface KeyPhrasesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n}\n\nexport interface EntityLinkingTask {\n parameters?: EntityLinkingTaskParameters;\n}\n\nexport interface EntityLinkingTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface SentimentAnalysisTask {\n parameters?: SentimentAnalysisTaskParameters;\n}\n\nexport interface SentimentAnalysisTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n opinionMining?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface ErrorResponse {\n /** Document Error. */\n error: TextAnalyticsError;\n}\n\nexport interface TextAnalyticsError {\n /** Error code. */\n code: ErrorCodeValue;\n /** Error message. */\n message: string;\n /** Error target. */\n target?: string;\n /** Inner error contains more specific information. */\n innererror?: InnerError;\n /** Details about specific errors that led to this reported error. */\n details?: TextAnalyticsError[];\n}\n\nexport interface InnerError {\n /** Error code. */\n code: InnerErrorCodeValue;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** Inner error contains more specific information. */\n innererror?: InnerError;\n}\n\nexport interface JobMetadata {\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeJobDisplayName {\n displayName?: string;\n}\n\nexport interface TasksState {\n tasks: TasksStateTasks;\n}\n\nexport interface TasksStateTasks {\n completed: number;\n failed: number;\n inProgress: number;\n total: number;\n entityRecognitionTasks?: TasksStateTasksEntityRecognitionTasksItem[];\n entityRecognitionPiiTasks?: TasksStateTasksEntityRecognitionPiiTasksItem[];\n keyPhraseExtractionTasks?: TasksStateTasksKeyPhraseExtractionTasksItem[];\n entityLinkingTasks?: TasksStateTasksEntityLinkingTasksItem[];\n sentimentAnalysisTasks?: TasksStateTasksSentimentAnalysisTasksItem[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface EntitiesTaskResult {\n results?: EntitiesResult;\n}\n\nexport interface EntitiesResult {\n /** Response by document */\n documents: DocumentEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types . */\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface TextAnalyticsWarning {\n /** Error code. */\n code: WarningCode;\n /** Warning message. */\n message: string;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\nexport interface TextDocumentStatistics {\n /** Number of text elements recognized in the document. */\n characterCount: number;\n /** Number of transactions for the document. */\n transactionCount: number;\n}\n\nexport interface DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: TextAnalyticsError;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\nexport interface TextDocumentBatchStatistics {\n /** Number of documents submitted in the request. */\n documentCount: number;\n /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */\n validDocumentCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousDocumentCount: number;\n /** Number of transactions for the request. */\n transactionCount: number;\n}\n\nexport interface PiiTaskResult {\n results?: PiiResult;\n}\n\nexport interface PiiResult {\n /** Response by document */\n documents: PiiDocumentEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface PiiDocumentEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface KeyPhraseTaskResult {\n results?: KeyPhraseResult;\n}\n\nexport interface KeyPhraseResult {\n /** Response by document */\n documents: DocumentKeyPhrases[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentKeyPhrases {\n /** Unique, non-empty document identifier. */\n id: string;\n /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */\n keyPhrases: string[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface EntityLinkingTaskResult {\n results?: EntityLinkingResult;\n}\n\nexport interface EntityLinkingResult {\n /** Response by document */\n documents: DocumentLinkedEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentLinkedEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */\nexport interface LinkedEntity {\n /** Entity Linking formal name. */\n name: string;\n /** List of instances this entity appears in the text. */\n matches: Match[];\n /** Language used in the data source. */\n language: string;\n /** Unique identifier of the recognized entity from the data source. */\n dataSourceEntityId?: string;\n /** URL for the entity's page from the data source. */\n url: string;\n /** Data source used to extract entity linking, such as Wiki/Bing etc. */\n dataSource: string;\n /** Bing Entity Search API unique identifier of the recognized entity. */\n bingEntitySearchApiId?: string;\n}\n\n/** Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model. */\nexport interface Match {\n /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */\n confidenceScore: number;\n /** Entity text as appears in the request. */\n text: string;\n /** Start position for the entity match text. */\n offset: number;\n /** Length for the entity match text. */\n length: number;\n}\n\nexport interface SentimentTaskResult {\n results?: SentimentResponse;\n}\n\nexport interface SentimentResponse {\n /** Sentiment analysis per document. */\n documents: DocumentSentiment[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentSentiment {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentenceSentiments: SentenceSentiment[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n}\n\n/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */\nexport interface SentimentConfidenceScores {\n positive: number;\n neutral: number;\n negative: number;\n}\n\n/** The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. */\nexport interface SentenceSentiment {\n /** The sentence text. */\n text: string;\n /** The predicted Sentiment for the sentence. */\n sentiment: SentenceSentimentLabel;\n /** The sentiment confidence score between 0 and 1 for the sentence for all classes. */\n confidenceScores: SentimentConfidenceScores;\n /** The sentence offset from the start of the document. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n /** The array of sentence targets for the sentence. */\n targets?: SentenceTarget[];\n /** The array of assessments for the sentence. */\n assessments?: SentenceAssessment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentValue;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScoreLabel;\n /** The target offset from the start of the sentence. */\n offset: number;\n /** The length of the target. */\n length: number;\n /** The target text detected. */\n text: string;\n /** The array of either assessment or target objects which is related to the target. */\n relations: TargetRelation[];\n}\n\n/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */\nexport interface TargetConfidenceScoreLabel {\n positive: number;\n negative: number;\n}\n\nexport interface TargetRelation {\n /** The type related to the target. */\n relationType: TargetRelationType;\n /** The JSON pointer indicating the linked object. */\n ref: string;\n}\n\nexport interface SentenceAssessment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentValue;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScoreLabel;\n /** The assessment offset from the start of the sentence. */\n offset: number;\n /** The length of the assessment. */\n length: number;\n /** The assessment text detected. */\n text: string;\n /** The indicator representing if the assessment is negated. */\n isNegated: boolean;\n}\n\nexport interface AnalyzeJobErrorsAndStatistics {\n errors?: TextAnalyticsError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n}\n\nexport interface Pagination {\n nextLink?: string;\n}\n\nexport interface HealthcareTaskResult {\n results?: HealthcareResult;\n errors?: TextAnalyticsError[];\n}\n\nexport interface HealthcareResult {\n /** Response by document */\n documents: DocumentHealthcareEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentHealthcareEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface HealthcareEntityProperties {\n /** Entity text as appears in the request. */\n text: string;\n /** Healthcare Entity Category. */\n category: HealthcareEntityCategory;\n /** (Optional) Entity sub type. */\n subcategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\nexport interface HealthcareLinkingProperties {\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n name?: string;\n /** Entity references in known data sources. */\n links?: HealthcareEntityLink[];\n}\n\nexport interface HealthcareAssertion {\n /** Describes any conditionality on the entity. */\n conditionality?: Conditionality;\n /** Describes the entities certainty and polarity. */\n certainty?: Certainty;\n /** Describes if the entity is the subject of the text or if it describes someone else. */\n association?: Association;\n}\n\nexport interface HealthcareEntityLink {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n dataSource: string;\n /** Entity id in the given source catalog. */\n id: string;\n}\n\n/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */\nexport interface HealthcareRelation {\n /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */\n relationType: RelationType;\n /** The entities in the relation. */\n entities: HealthcareRelationEntity[];\n}\n\nexport interface HealthcareRelationEntity {\n /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */\n ref: string;\n /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */\n role: string;\n}\n\nexport interface LanguageBatchInput {\n documents: DetectLanguageInput[];\n}\n\n/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the text analytics predictive model in detecting the document's language. */\nexport interface DetectLanguageInput {\n /** Unique, non-empty document identifier. */\n id: string;\n text: string;\n countryHint?: string;\n}\n\nexport interface LanguageResult {\n /** Response by document */\n documents: DocumentLanguage[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentLanguage {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Information about the language of a document as identified by the Text Analytics service. */\nexport interface DetectedLanguage {\n /** Long name of a detected language (e.g. English, French). */\n name: string;\n /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */\n iso6391Name: string;\n /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */\n confidenceScore: number;\n}\n\nexport interface AnalyzeBatchInput\n extends JobDescriptor,\n AnalysisInput,\n JobManifest {}\n\nexport interface AnalyzeJobMetadata\n extends JobMetadata,\n AnalyzeJobDisplayName {}\n\nexport interface HealthcareJobState\n extends JobMetadata,\n HealthcareTaskResult,\n Pagination {}\n\nexport interface AnalyzeJobState\n extends AnalyzeJobMetadata,\n TasksState,\n AnalyzeJobErrorsAndStatistics,\n Pagination {}\n\nexport interface TasksStateTasksEntityRecognitionTasksItem\n extends TaskState,\n EntitiesTaskResult {}\n\nexport interface TasksStateTasksEntityRecognitionPiiTasksItem\n extends TaskState,\n PiiTaskResult {}\n\nexport interface TasksStateTasksKeyPhraseExtractionTasksItem\n extends TaskState,\n KeyPhraseTaskResult {}\n\nexport interface TasksStateTasksEntityLinkingTasksItem\n extends TaskState,\n EntityLinkingTaskResult {}\n\nexport interface TasksStateTasksSentimentAnalysisTasksItem\n extends TaskState,\n SentimentTaskResult {}\n\nexport interface HealthcareEntity\n extends HealthcareEntityProperties,\n HealthcareLinkingProperties {}\n\n/** Defines headers for GeneratedClient_analyze operation. */\nexport interface GeneratedClientAnalyzeHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for GeneratedClient_cancelHealthJob operation. */\nexport interface GeneratedClientCancelHealthJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for GeneratedClient_health operation. */\nexport interface GeneratedClientHealthHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementV8 = \"TextElement_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\"\n}\n\n/**\n * Defines values for StringIndexType. \\\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElement_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \\\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \\\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link PiiTaskParametersDomain} that the service accepts. */\nexport enum KnownPiiTaskParametersDomain {\n /** Phi */\n Phi = \"phi\",\n /** None */\n None = \"none\"\n}\n\n/**\n * Defines values for PiiTaskParametersDomain. \\\n * {@link KnownPiiTaskParametersDomain} can be used interchangeably with PiiTaskParametersDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi** \\\n * **none**\n */\nexport type PiiTaskParametersDomain = string;\n\n/** Known values of {@link PiiCategory} that the service accepts. */\nexport enum KnownPiiCategory {\n /** ABARoutingNumber */\n ABARoutingNumber = \"ABARoutingNumber\",\n /** ARNationalIdentityNumber */\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n /** AUBankAccountNumber */\n AUBankAccountNumber = \"AUBankAccountNumber\",\n /** AUDriversLicenseNumber */\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n /** AUMedicalAccountNumber */\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n /** AUPassportNumber */\n AUPassportNumber = \"AUPassportNumber\",\n /** AUTaxFileNumber */\n AUTaxFileNumber = \"AUTaxFileNumber\",\n /** AUBusinessNumber */\n AUBusinessNumber = \"AUBusinessNumber\",\n /** AUCompanyNumber */\n AUCompanyNumber = \"AUCompanyNumber\",\n /** ATIdentityCard */\n ATIdentityCard = \"ATIdentityCard\",\n /** ATTaxIdentificationNumber */\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n /** ATValueAddedTaxNumber */\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n /** AzureDocumentDBAuthKey */\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n /** AzureIaasDatabaseConnectionAndSQLString */\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n /** AzureIoTConnectionString */\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n /** AzurePublishSettingPassword */\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n /** AzureRedisCacheString */\n AzureRedisCacheString = \"AzureRedisCacheString\",\n /** AzureSAS */\n AzureSAS = \"AzureSAS\",\n /** AzureServiceBusString */\n AzureServiceBusString = \"AzureServiceBusString\",\n /** AzureStorageAccountKey */\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n /** AzureStorageAccountGeneric */\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n /** BENationalNumber */\n BENationalNumber = \"BENationalNumber\",\n /** BENationalNumberV2 */\n BENationalNumberV2 = \"BENationalNumberV2\",\n /** BEValueAddedTaxNumber */\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n /** BrcpfNumber */\n BrcpfNumber = \"BRCPFNumber\",\n /** BRLegalEntityNumber */\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n /** BRNationalIdrg */\n BRNationalIdrg = \"BRNationalIDRG\",\n /** BGUniformCivilNumber */\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n /** CABankAccountNumber */\n CABankAccountNumber = \"CABankAccountNumber\",\n /** CADriversLicenseNumber */\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n /** CAHealthServiceNumber */\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n /** CAPassportNumber */\n CAPassportNumber = \"CAPassportNumber\",\n /** CAPersonalHealthIdentification */\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n /** CASocialInsuranceNumber */\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n /** CLIdentityCardNumber */\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n /** CNResidentIdentityCardNumber */\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n /** CreditCardNumber */\n CreditCardNumber = \"CreditCardNumber\",\n /** HRIdentityCardNumber */\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n /** HRNationalIDNumber */\n HRNationalIDNumber = \"HRNationalIDNumber\",\n /** HRPersonalIdentificationNumber */\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n /** HRPersonalIdentificationOIBNumberV2 */\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n /** CYIdentityCard */\n CYIdentityCard = \"CYIdentityCard\",\n /** CYTaxIdentificationNumber */\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n /** CZPersonalIdentityNumber */\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n /** CZPersonalIdentityV2 */\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n /** DKPersonalIdentificationNumber */\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n /** DKPersonalIdentificationV2 */\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n /** DrugEnforcementAgencyNumber */\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n /** EEPersonalIdentificationCode */\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n /** EUDebitCardNumber */\n EUDebitCardNumber = \"EUDebitCardNumber\",\n /** EUDriversLicenseNumber */\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n /** EugpsCoordinates */\n EugpsCoordinates = \"EUGPSCoordinates\",\n /** EUNationalIdentificationNumber */\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n /** EUPassportNumber */\n EUPassportNumber = \"EUPassportNumber\",\n /** EUSocialSecurityNumber */\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n /** EUTaxIdentificationNumber */\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n /** FIEuropeanHealthNumber */\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n /** FINationalID */\n FINationalID = \"FINationalID\",\n /** FINationalIDV2 */\n FINationalIDV2 = \"FINationalIDV2\",\n /** FIPassportNumber */\n FIPassportNumber = \"FIPassportNumber\",\n /** FRDriversLicenseNumber */\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n /** FRHealthInsuranceNumber */\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n /** FRNationalID */\n FRNationalID = \"FRNationalID\",\n /** FRPassportNumber */\n FRPassportNumber = \"FRPassportNumber\",\n /** FRSocialSecurityNumber */\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n /** FRTaxIdentificationNumber */\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n /** FRValueAddedTaxNumber */\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n /** DEDriversLicenseNumber */\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n /** DEPassportNumber */\n DEPassportNumber = \"DEPassportNumber\",\n /** DEIdentityCardNumber */\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n /** DETaxIdentificationNumber */\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n /** DEValueAddedNumber */\n DEValueAddedNumber = \"DEValueAddedNumber\",\n /** GRNationalIDCard */\n GRNationalIDCard = \"GRNationalIDCard\",\n /** GRNationalIDV2 */\n GRNationalIDV2 = \"GRNationalIDV2\",\n /** GRTaxIdentificationNumber */\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n /** HKIdentityCardNumber */\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n /** HUValueAddedNumber */\n HUValueAddedNumber = \"HUValueAddedNumber\",\n /** HUPersonalIdentificationNumber */\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n /** HUTaxIdentificationNumber */\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n /** INPermanentAccount */\n INPermanentAccount = \"INPermanentAccount\",\n /** INUniqueIdentificationNumber */\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n /** IDIdentityCardNumber */\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n /** InternationalBankingAccountNumber */\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n /** IEPersonalPublicServiceNumber */\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n /** IEPersonalPublicServiceNumberV2 */\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n /** ILBankAccountNumber */\n ILBankAccountNumber = \"ILBankAccountNumber\",\n /** ILNationalID */\n ILNationalID = \"ILNationalID\",\n /** ITDriversLicenseNumber */\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n /** ITFiscalCode */\n ITFiscalCode = \"ITFiscalCode\",\n /** ITValueAddedTaxNumber */\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n /** JPBankAccountNumber */\n JPBankAccountNumber = \"JPBankAccountNumber\",\n /** JPDriversLicenseNumber */\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n /** JPPassportNumber */\n JPPassportNumber = \"JPPassportNumber\",\n /** JPResidentRegistrationNumber */\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n /** JPSocialInsuranceNumber */\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n /** JPMyNumberCorporate */\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n /** JPMyNumberPersonal */\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n /** JPResidenceCardNumber */\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n /** LVPersonalCode */\n LVPersonalCode = \"LVPersonalCode\",\n /** LTPersonalCode */\n LTPersonalCode = \"LTPersonalCode\",\n /** LUNationalIdentificationNumberNatural */\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n /** LUNationalIdentificationNumberNonNatural */\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n /** MYIdentityCardNumber */\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n /** MTIdentityCardNumber */\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n /** MTTaxIDNumber */\n MTTaxIDNumber = \"MTTaxIDNumber\",\n /** NLCitizensServiceNumber */\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n /** NLCitizensServiceNumberV2 */\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n /** NLTaxIdentificationNumber */\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n /** NLValueAddedTaxNumber */\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n /** NZBankAccountNumber */\n NZBankAccountNumber = \"NZBankAccountNumber\",\n /** NZDriversLicenseNumber */\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n /** NZInlandRevenueNumber */\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n /** NZMinistryOfHealthNumber */\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n /** NZSocialWelfareNumber */\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n /** NOIdentityNumber */\n NOIdentityNumber = \"NOIdentityNumber\",\n /** PHUnifiedMultiPurposeIDNumber */\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n /** PLIdentityCard */\n PLIdentityCard = \"PLIdentityCard\",\n /** PLNationalID */\n PLNationalID = \"PLNationalID\",\n /** PLNationalIDV2 */\n PLNationalIDV2 = \"PLNationalIDV2\",\n /** PLPassportNumber */\n PLPassportNumber = \"PLPassportNumber\",\n /** PLTaxIdentificationNumber */\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n /** PlregonNumber */\n PlregonNumber = \"PLREGONNumber\",\n /** PTCitizenCardNumber */\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n /** PTCitizenCardNumberV2 */\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n /** PTTaxIdentificationNumber */\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n /** ROPersonalNumericalCode */\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n /** RUPassportNumberDomestic */\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n /** RUPassportNumberInternational */\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n /** SANationalID */\n SANationalID = \"SANationalID\",\n /** SGNationalRegistrationIdentityCardNumber */\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n /** SKPersonalNumber */\n SKPersonalNumber = \"SKPersonalNumber\",\n /** SITaxIdentificationNumber */\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n /** SIUniqueMasterCitizenNumber */\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n /** ZAIdentificationNumber */\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n /** KRResidentRegistrationNumber */\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n /** Esdni */\n Esdni = \"ESDNI\",\n /** ESSocialSecurityNumber */\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n /** ESTaxIdentificationNumber */\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n /** SQLServerConnectionString */\n SQLServerConnectionString = \"SQLServerConnectionString\",\n /** SENationalID */\n SENationalID = \"SENationalID\",\n /** SENationalIDV2 */\n SENationalIDV2 = \"SENationalIDV2\",\n /** SEPassportNumber */\n SEPassportNumber = \"SEPassportNumber\",\n /** SETaxIdentificationNumber */\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n /** SwiftCode */\n SwiftCode = \"SWIFTCode\",\n /** CHSocialSecurityNumber */\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n /** TWNationalID */\n TWNationalID = \"TWNationalID\",\n /** TWPassportNumber */\n TWPassportNumber = \"TWPassportNumber\",\n /** TWResidentCertificate */\n TWResidentCertificate = \"TWResidentCertificate\",\n /** THPopulationIdentificationCode */\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n /** TRNationalIdentificationNumber */\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n /** UKDriversLicenseNumber */\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n /** UKElectoralRollNumber */\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n /** UKNationalHealthNumber */\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n /** UKNationalInsuranceNumber */\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n /** UKUniqueTaxpayerNumber */\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n /** UsukPassportNumber */\n UsukPassportNumber = \"USUKPassportNumber\",\n /** USBankAccountNumber */\n USBankAccountNumber = \"USBankAccountNumber\",\n /** USDriversLicenseNumber */\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n /** USIndividualTaxpayerIdentification */\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n /** USSocialSecurityNumber */\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n /** UAPassportNumberDomestic */\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n /** UAPassportNumberInternational */\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n /** Organization */\n Organization = \"Organization\",\n /** Email */\n Email = \"Email\",\n /** URL */\n URL = \"URL\",\n /** Age */\n Age = \"Age\",\n /** PhoneNumber */\n PhoneNumber = \"PhoneNumber\",\n /** IPAddress */\n IPAddress = \"IPAddress\",\n /** Date */\n Date = \"Date\",\n /** Person */\n Person = \"Person\",\n /** Address */\n Address = \"Address\",\n /** All */\n All = \"All\",\n /** Default */\n Default = \"Default\"\n}\n\n/**\n * Defines values for PiiCategory. \\\n * {@link KnownPiiCategory} can be used interchangeably with PiiCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ABARoutingNumber** \\\n * **ARNationalIdentityNumber** \\\n * **AUBankAccountNumber** \\\n * **AUDriversLicenseNumber** \\\n * **AUMedicalAccountNumber** \\\n * **AUPassportNumber** \\\n * **AUTaxFileNumber** \\\n * **AUBusinessNumber** \\\n * **AUCompanyNumber** \\\n * **ATIdentityCard** \\\n * **ATTaxIdentificationNumber** \\\n * **ATValueAddedTaxNumber** \\\n * **AzureDocumentDBAuthKey** \\\n * **AzureIAASDatabaseConnectionAndSQLString** \\\n * **AzureIoTConnectionString** \\\n * **AzurePublishSettingPassword** \\\n * **AzureRedisCacheString** \\\n * **AzureSAS** \\\n * **AzureServiceBusString** \\\n * **AzureStorageAccountKey** \\\n * **AzureStorageAccountGeneric** \\\n * **BENationalNumber** \\\n * **BENationalNumberV2** \\\n * **BEValueAddedTaxNumber** \\\n * **BRCPFNumber** \\\n * **BRLegalEntityNumber** \\\n * **BRNationalIDRG** \\\n * **BGUniformCivilNumber** \\\n * **CABankAccountNumber** \\\n * **CADriversLicenseNumber** \\\n * **CAHealthServiceNumber** \\\n * **CAPassportNumber** \\\n * **CAPersonalHealthIdentification** \\\n * **CASocialInsuranceNumber** \\\n * **CLIdentityCardNumber** \\\n * **CNResidentIdentityCardNumber** \\\n * **CreditCardNumber** \\\n * **HRIdentityCardNumber** \\\n * **HRNationalIDNumber** \\\n * **HRPersonalIdentificationNumber** \\\n * **HRPersonalIdentificationOIBNumberV2** \\\n * **CYIdentityCard** \\\n * **CYTaxIdentificationNumber** \\\n * **CZPersonalIdentityNumber** \\\n * **CZPersonalIdentityV2** \\\n * **DKPersonalIdentificationNumber** \\\n * **DKPersonalIdentificationV2** \\\n * **DrugEnforcementAgencyNumber** \\\n * **EEPersonalIdentificationCode** \\\n * **EUDebitCardNumber** \\\n * **EUDriversLicenseNumber** \\\n * **EUGPSCoordinates** \\\n * **EUNationalIdentificationNumber** \\\n * **EUPassportNumber** \\\n * **EUSocialSecurityNumber** \\\n * **EUTaxIdentificationNumber** \\\n * **FIEuropeanHealthNumber** \\\n * **FINationalID** \\\n * **FINationalIDV2** \\\n * **FIPassportNumber** \\\n * **FRDriversLicenseNumber** \\\n * **FRHealthInsuranceNumber** \\\n * **FRNationalID** \\\n * **FRPassportNumber** \\\n * **FRSocialSecurityNumber** \\\n * **FRTaxIdentificationNumber** \\\n * **FRValueAddedTaxNumber** \\\n * **DEDriversLicenseNumber** \\\n * **DEPassportNumber** \\\n * **DEIdentityCardNumber** \\\n * **DETaxIdentificationNumber** \\\n * **DEValueAddedNumber** \\\n * **GRNationalIDCard** \\\n * **GRNationalIDV2** \\\n * **GRTaxIdentificationNumber** \\\n * **HKIdentityCardNumber** \\\n * **HUValueAddedNumber** \\\n * **HUPersonalIdentificationNumber** \\\n * **HUTaxIdentificationNumber** \\\n * **INPermanentAccount** \\\n * **INUniqueIdentificationNumber** \\\n * **IDIdentityCardNumber** \\\n * **InternationalBankingAccountNumber** \\\n * **IEPersonalPublicServiceNumber** \\\n * **IEPersonalPublicServiceNumberV2** \\\n * **ILBankAccountNumber** \\\n * **ILNationalID** \\\n * **ITDriversLicenseNumber** \\\n * **ITFiscalCode** \\\n * **ITValueAddedTaxNumber** \\\n * **JPBankAccountNumber** \\\n * **JPDriversLicenseNumber** \\\n * **JPPassportNumber** \\\n * **JPResidentRegistrationNumber** \\\n * **JPSocialInsuranceNumber** \\\n * **JPMyNumberCorporate** \\\n * **JPMyNumberPersonal** \\\n * **JPResidenceCardNumber** \\\n * **LVPersonalCode** \\\n * **LTPersonalCode** \\\n * **LUNationalIdentificationNumberNatural** \\\n * **LUNationalIdentificationNumberNonNatural** \\\n * **MYIdentityCardNumber** \\\n * **MTIdentityCardNumber** \\\n * **MTTaxIDNumber** \\\n * **NLCitizensServiceNumber** \\\n * **NLCitizensServiceNumberV2** \\\n * **NLTaxIdentificationNumber** \\\n * **NLValueAddedTaxNumber** \\\n * **NZBankAccountNumber** \\\n * **NZDriversLicenseNumber** \\\n * **NZInlandRevenueNumber** \\\n * **NZMinistryOfHealthNumber** \\\n * **NZSocialWelfareNumber** \\\n * **NOIdentityNumber** \\\n * **PHUnifiedMultiPurposeIDNumber** \\\n * **PLIdentityCard** \\\n * **PLNationalID** \\\n * **PLNationalIDV2** \\\n * **PLPassportNumber** \\\n * **PLTaxIdentificationNumber** \\\n * **PLREGONNumber** \\\n * **PTCitizenCardNumber** \\\n * **PTCitizenCardNumberV2** \\\n * **PTTaxIdentificationNumber** \\\n * **ROPersonalNumericalCode** \\\n * **RUPassportNumberDomestic** \\\n * **RUPassportNumberInternational** \\\n * **SANationalID** \\\n * **SGNationalRegistrationIdentityCardNumber** \\\n * **SKPersonalNumber** \\\n * **SITaxIdentificationNumber** \\\n * **SIUniqueMasterCitizenNumber** \\\n * **ZAIdentificationNumber** \\\n * **KRResidentRegistrationNumber** \\\n * **ESDNI** \\\n * **ESSocialSecurityNumber** \\\n * **ESTaxIdentificationNumber** \\\n * **SQLServerConnectionString** \\\n * **SENationalID** \\\n * **SENationalIDV2** \\\n * **SEPassportNumber** \\\n * **SETaxIdentificationNumber** \\\n * **SWIFTCode** \\\n * **CHSocialSecurityNumber** \\\n * **TWNationalID** \\\n * **TWPassportNumber** \\\n * **TWResidentCertificate** \\\n * **THPopulationIdentificationCode** \\\n * **TRNationalIdentificationNumber** \\\n * **UKDriversLicenseNumber** \\\n * **UKElectoralRollNumber** \\\n * **UKNationalHealthNumber** \\\n * **UKNationalInsuranceNumber** \\\n * **UKUniqueTaxpayerNumber** \\\n * **USUKPassportNumber** \\\n * **USBankAccountNumber** \\\n * **USDriversLicenseNumber** \\\n * **USIndividualTaxpayerIdentification** \\\n * **USSocialSecurityNumber** \\\n * **UAPassportNumberDomestic** \\\n * **UAPassportNumberInternational** \\\n * **Organization** \\\n * **Email** \\\n * **URL** \\\n * **Age** \\\n * **PhoneNumber** \\\n * **IPAddress** \\\n * **Date** \\\n * **Person** \\\n * **Address** \\\n * **All** \\\n * **Default**\n */\nexport type PiiCategory = string;\n\n/** Known values of {@link ErrorCodeValue} that the service accepts. */\nexport enum KnownErrorCodeValue {\n /** InvalidRequest */\n InvalidRequest = \"InvalidRequest\",\n /** InvalidArgument */\n InvalidArgument = \"InvalidArgument\",\n /** InternalServerError */\n InternalServerError = \"InternalServerError\",\n /** ServiceUnavailable */\n ServiceUnavailable = \"ServiceUnavailable\",\n /** NotFound */\n NotFound = \"NotFound\"\n}\n\n/**\n * Defines values for ErrorCodeValue. \\\n * {@link KnownErrorCodeValue} can be used interchangeably with ErrorCodeValue,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **InternalServerError** \\\n * **ServiceUnavailable** \\\n * **NotFound**\n */\nexport type ErrorCodeValue = string;\n\n/** Known values of {@link InnerErrorCodeValue} that the service accepts. */\nexport enum KnownInnerErrorCodeValue {\n /** InvalidParameterValue */\n InvalidParameterValue = \"InvalidParameterValue\",\n /** InvalidRequestBodyFormat */\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n /** EmptyRequest */\n EmptyRequest = \"EmptyRequest\",\n /** MissingInputRecords */\n MissingInputRecords = \"MissingInputRecords\",\n /** InvalidDocument */\n InvalidDocument = \"InvalidDocument\",\n /** ModelVersionIncorrect */\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n /** InvalidDocumentBatch */\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n /** UnsupportedLanguageCode */\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n /** InvalidCountryHint */\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCodeValue. \\\n * {@link KnownInnerErrorCodeValue} can be used interchangeably with InnerErrorCodeValue,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidParameterValue** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputRecords** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCodeValue = string;\n\n/** Known values of {@link WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n /** LongWordsInDocument */\n LongWordsInDocument = \"LongWordsInDocument\",\n /** DocumentTruncated */\n DocumentTruncated = \"DocumentTruncated\"\n}\n\n/**\n * Defines values for WarningCode. \\\n * {@link KnownWarningCode} can be used interchangeably with WarningCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LongWordsInDocument** \\\n * **DocumentTruncated**\n */\nexport type WarningCode = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n /** BodyStructure */\n BodyStructure = \"BODY_STRUCTURE\",\n /** AGE */\n AGE = \"AGE\",\n /** Gender */\n Gender = \"GENDER\",\n /** ExaminationName */\n ExaminationName = \"EXAMINATION_NAME\",\n /** Date */\n Date = \"DATE\",\n /** Direction */\n Direction = \"DIRECTION\",\n /** Frequency */\n Frequency = \"FREQUENCY\",\n /** MeasurementValue */\n MeasurementValue = \"MEASUREMENT_VALUE\",\n /** MeasurementUnit */\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n /** RelationalOperator */\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n /** Time */\n Time = \"TIME\",\n /** GeneORProtein */\n GeneORProtein = \"GENE_OR_PROTEIN\",\n /** Variant */\n Variant = \"VARIANT\",\n /** AdministrativeEvent */\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n /** CareEnvironment */\n CareEnvironment = \"CARE_ENVIRONMENT\",\n /** HealthcareProfession */\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n /** Diagnosis */\n Diagnosis = \"DIAGNOSIS\",\n /** SymptomORSign */\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n /** ConditionQualifier */\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n /** MedicationClass */\n MedicationClass = \"MEDICATION_CLASS\",\n /** MedicationName */\n MedicationName = \"MEDICATION_NAME\",\n /** Dosage */\n Dosage = \"DOSAGE\",\n /** MedicationForm */\n MedicationForm = \"MEDICATION_FORM\",\n /** MedicationRoute */\n MedicationRoute = \"MEDICATION_ROUTE\",\n /** FamilyRelation */\n FamilyRelation = \"FAMILY_RELATION\",\n /** TreatmentName */\n TreatmentName = \"TREATMENT_NAME\"\n}\n\n/**\n * Defines values for HealthcareEntityCategory. \\\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE** \\\n * **AGE** \\\n * **GENDER** \\\n * **EXAMINATION_NAME** \\\n * **DATE** \\\n * **DIRECTION** \\\n * **FREQUENCY** \\\n * **MEASUREMENT_VALUE** \\\n * **MEASUREMENT_UNIT** \\\n * **RELATIONAL_OPERATOR** \\\n * **TIME** \\\n * **GENE_OR_PROTEIN** \\\n * **VARIANT** \\\n * **ADMINISTRATIVE_EVENT** \\\n * **CARE_ENVIRONMENT** \\\n * **HEALTHCARE_PROFESSION** \\\n * **DIAGNOSIS** \\\n * **SYMPTOM_OR_SIGN** \\\n * **CONDITION_QUALIFIER** \\\n * **MEDICATION_CLASS** \\\n * **MEDICATION_NAME** \\\n * **DOSAGE** \\\n * **MEDICATION_FORM** \\\n * **MEDICATION_ROUTE** \\\n * **FAMILY_RELATION** \\\n * **TREATMENT_NAME**\n */\nexport type HealthcareEntityCategory = string;\n\n/** Known values of {@link RelationType} that the service accepts. */\nexport enum KnownRelationType {\n /** Abbreviation */\n Abbreviation = \"Abbreviation\",\n /** DirectionOfBodyStructure */\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n /** DirectionOfCondition */\n DirectionOfCondition = \"DirectionOfCondition\",\n /** DirectionOfExamination */\n DirectionOfExamination = \"DirectionOfExamination\",\n /** DirectionOfTreatment */\n DirectionOfTreatment = \"DirectionOfTreatment\",\n /** DosageOfMedication */\n DosageOfMedication = \"DosageOfMedication\",\n /** FormOfMedication */\n FormOfMedication = \"FormOfMedication\",\n /** FrequencyOfMedication */\n FrequencyOfMedication = \"FrequencyOfMedication\",\n /** FrequencyOfTreatment */\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n /** QualifierOfCondition */\n QualifierOfCondition = \"QualifierOfCondition\",\n /** RelationOfExamination */\n RelationOfExamination = \"RelationOfExamination\",\n /** RouteOfMedication */\n RouteOfMedication = \"RouteOfMedication\",\n /** TimeOfCondition */\n TimeOfCondition = \"TimeOfCondition\",\n /** TimeOfEvent */\n TimeOfEvent = \"TimeOfEvent\",\n /** TimeOfExamination */\n TimeOfExamination = \"TimeOfExamination\",\n /** TimeOfMedication */\n TimeOfMedication = \"TimeOfMedication\",\n /** TimeOfTreatment */\n TimeOfTreatment = \"TimeOfTreatment\",\n /** UnitOfCondition */\n UnitOfCondition = \"UnitOfCondition\",\n /** UnitOfExamination */\n UnitOfExamination = \"UnitOfExamination\",\n /** ValueOfCondition */\n ValueOfCondition = \"ValueOfCondition\",\n /** ValueOfExamination */\n ValueOfExamination = \"ValueOfExamination\"\n}\n\n/**\n * Defines values for RelationType. \\\n * {@link KnownRelationType} can be used interchangeably with RelationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Abbreviation** \\\n * **DirectionOfBodyStructure** \\\n * **DirectionOfCondition** \\\n * **DirectionOfExamination** \\\n * **DirectionOfTreatment** \\\n * **DosageOfMedication** \\\n * **FormOfMedication** \\\n * **FrequencyOfMedication** \\\n * **FrequencyOfTreatment** \\\n * **QualifierOfCondition** \\\n * **RelationOfExamination** \\\n * **RouteOfMedication** \\\n * **TimeOfCondition** \\\n * **TimeOfEvent** \\\n * **TimeOfExamination** \\\n * **TimeOfMedication** \\\n * **TimeOfTreatment** \\\n * **UnitOfCondition** \\\n * **UnitOfExamination** \\\n * **ValueOfCondition** \\\n * **ValueOfExamination**\n */\nexport type RelationType = string;\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"failed\"\n | \"rejected\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for DocumentSentimentLabel. */\nexport type DocumentSentimentLabel =\n | \"positive\"\n | \"neutral\"\n | \"negative\"\n | \"mixed\";\n/** Defines values for SentenceSentimentLabel. */\nexport type SentenceSentimentLabel = \"positive\" | \"neutral\" | \"negative\";\n/** Defines values for TokenSentimentValue. */\nexport type TokenSentimentValue = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n/** Defines values for Conditionality. */\nexport type Conditionality = \"hypothetical\" | \"conditional\";\n/** Defines values for Certainty. */\nexport type Certainty =\n | \"positive\"\n | \"positivePossible\"\n | \"neutralPossible\"\n | \"negativePossible\"\n | \"negative\";\n/** Defines values for Association. */\nexport type Association = \"subject\" | \"other\";\n\n/** Optional parameters. */\nexport interface AnalyzeOptionalParams extends coreClient.OperationOptions {\n /** Collection of documents to analyze and tasks to execute. */\n body?: AnalyzeBatchInput;\n}\n\n/** Contains response data for the analyze operation. */\nexport type AnalyzeResponse = GeneratedClientAnalyzeHeaders;\n\n/** Optional parameters. */\nexport interface AnalyzeStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */\n top?: number;\n /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */\n skip?: number;\n}\n\n/** Contains response data for the analyzeStatus operation. */\nexport type AnalyzeStatusResponse = AnalyzeJobState;\n\n/** Optional parameters. */\nexport interface HealthStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */\n top?: number;\n /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */\n skip?: number;\n}\n\n/** Contains response data for the healthStatus operation. */\nexport type HealthStatusResponse = HealthcareJobState;\n\n/** Optional parameters. */\nexport interface CancelHealthJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelHealthJob operation. */\nexport type CancelHealthJobResponse = GeneratedClientCancelHealthJobHeaders;\n\n/** Optional parameters. */\nexport interface HealthOptionalParams extends coreClient.OperationOptions {\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the health operation. */\nexport type HealthResponse = GeneratedClientHealthHeaders;\n\n/** Optional parameters. */\nexport interface EntitiesRecognitionGeneralOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the entitiesRecognitionGeneral operation. */\nexport type EntitiesRecognitionGeneralResponse = EntitiesResult;\n\n/** Optional parameters. */\nexport interface EntitiesRecognitionPiiOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n /** (Optional) if specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'PHI', 'none'. */\n domain?: string;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n}\n\n/** Contains response data for the entitiesRecognitionPii operation. */\nexport type EntitiesRecognitionPiiResponse = PiiResult;\n\n/** Optional parameters. */\nexport interface EntitiesLinkingOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the entitiesLinking operation. */\nexport type EntitiesLinkingResponse = EntityLinkingResult;\n\n/** Optional parameters. */\nexport interface KeyPhrasesOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the keyPhrases operation. */\nexport type KeyPhrasesResponse = KeyPhraseResult;\n\n/** Optional parameters. */\nexport interface LanguagesOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the languages operation. */\nexport type LanguagesResponse = LanguageResult;\n\n/** Optional parameters. */\nexport interface SentimentOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n /** (Optional) if set to true, response will contain not only sentiment prediction but also opinion mining (aspect-based sentiment analysis) results. */\n opinionMining?: boolean;\n}\n\n/** Contains response data for the sentiment operation. */\nexport type SentimentOperationResponse = SentimentResponse;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Text Analytics API version (for example, v3.0). */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"],"names":["AnalyzeBatchInputMapper","MultiLanguageBatchInputMapper","LanguageBatchInputMapper","coreClient","coreRestPipeline","Mappers.GeneratedClientAnalyzeHeaders","Mappers.ErrorResponse","Parameters.body","Parameters.endpoint","Parameters.apiVersion","Parameters.contentType","Parameters.accept","Mappers.AnalyzeJobState","Parameters.includeStatistics","Parameters.top","Parameters.skip","Parameters.jobId","Mappers.HealthcareJobState","Parameters.jobId1","Mappers.GeneratedClientCancelHealthJobHeaders","Mappers.GeneratedClientHealthHeaders","Parameters.input","Parameters.modelVersion","Parameters.stringIndexType","Parameters.loggingOptOut","Mappers.EntitiesResult","Mappers.PiiResult","Parameters.domain","Parameters.piiCategories","Mappers.EntityLinkingResult","Mappers.KeyPhraseResult","Mappers.LanguageResult","Parameters.input1","Mappers.SentimentResponse","Parameters.opinionMining","createClientLogger","__rest","RestError","Poller","getMetaInfoFromResponse","__asyncValues","__await","__asyncDelegator","PiiEntityDomain","isTokenCredential","bearerTokenAuthenticationPolicy","createTracingClient","KnownInnerErrorCodeValue","KnownWarningCode","KnownHealthcareEntityCategory"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;AAEG;AACI,MAAM,WAAW,GAAW,OAAO;;ACN1C;;;;;;AAMG;AAII,MAAM,aAAa,GAA+B;AACvD,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,WAA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