@azure/ai-text-analytics 5.2.0-beta.1 → 6.0.0-alpha.20220517.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +376 -132
- package/dist/index.js +2803 -3497
- package/dist/index.js.map +1 -1
- package/dist-esm/src/azureKeyCredentialPolicy.js +2 -2
- package/dist-esm/src/azureKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/constants.js +16 -0
- package/dist-esm/src/constants.js.map +1 -0
- package/dist-esm/src/generated/generatedClient.js +80 -334
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/index.js +1 -1
- package/dist-esm/src/generated/index.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +106 -35
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +1607 -1464
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +18 -104
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/operations/analyzeText.js +105 -0
- package/dist-esm/src/generated/operations/analyzeText.js.map +1 -0
- package/dist-esm/src/generated/operations/index.js +9 -0
- package/dist-esm/src/generated/operations/index.js.map +1 -0
- package/dist-esm/src/generated/operationsInterfaces/analyzeText.js +9 -0
- package/dist-esm/src/generated/operationsInterfaces/analyzeText.js.map +1 -0
- package/dist-esm/src/generated/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/generated/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/index.js +14 -5
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lro.js +195 -0
- package/dist-esm/src/lro.js.map +1 -0
- package/dist-esm/src/models.js +42 -0
- package/dist-esm/src/models.js.map +1 -0
- package/dist-esm/src/textAnalysisClient.js +197 -0
- package/dist-esm/src/textAnalysisClient.js.map +1 -0
- package/dist-esm/src/transforms.js +279 -0
- package/dist-esm/src/transforms.js.map +1 -0
- package/dist-esm/src/util.js +36 -158
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +28 -38
- package/types/ai-text-analytics.d.ts +1432 -1143
- package/CHANGELOG.md +0 -143
- package/LICENSE +0 -21
- package/dist-esm/src/analyzeActionsResult.js +0 -167
- package/dist-esm/src/analyzeActionsResult.js.map +0 -1
- package/dist-esm/src/analyzeHealthcareEntitiesResult.js +0 -53
- package/dist-esm/src/analyzeHealthcareEntitiesResult.js.map +0 -1
- package/dist-esm/src/analyzeLro.js +0 -130
- package/dist-esm/src/analyzeLro.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResult.js +0 -74
- package/dist-esm/src/analyzeSentimentResult.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResultArray.js +0 -11
- package/dist-esm/src/analyzeSentimentResultArray.js.map +0 -1
- package/dist-esm/src/detectLanguageResult.js +0 -17
- package/dist-esm/src/detectLanguageResult.js.map +0 -1
- package/dist-esm/src/detectLanguageResultArray.js +0 -11
- package/dist-esm/src/detectLanguageResultArray.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResult.js +0 -17
- package/dist-esm/src/extractKeyPhrasesResult.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResultArray.js +0 -11
- package/dist-esm/src/extractKeyPhrasesResultArray.js.map +0 -1
- package/dist-esm/src/extractSummaryResult.js +0 -17
- package/dist-esm/src/extractSummaryResult.js.map +0 -1
- package/dist-esm/src/extractSummaryResultArray.js +0 -11
- package/dist-esm/src/extractSummaryResultArray.js.map +0 -1
- package/dist-esm/src/generated/generatedClientContext.js +0 -42
- package/dist-esm/src/generated/generatedClientContext.js.map +0 -1
- package/dist-esm/src/healthLro.js +0 -131
- package/dist-esm/src/healthLro.js.map +0 -1
- package/dist-esm/src/paging.js +0 -83
- package/dist-esm/src/paging.js.map +0 -1
- package/dist-esm/src/pollerModels.js +0 -4
- package/dist-esm/src/pollerModels.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResult.js +0 -17
- package/dist-esm/src/recognizeCategorizedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js +0 -11
- package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResult.js +0 -17
- package/dist-esm/src/recognizeLinkedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResultArray.js +0 -11
- package/dist-esm/src/recognizeLinkedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResult.js +0 -18
- package/dist-esm/src/recognizePiiEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResultArray.js +0 -11
- package/dist-esm/src/recognizePiiEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/textAnalyticsAction.js +0 -4
- package/dist-esm/src/textAnalyticsAction.js.map +0 -1
- package/dist-esm/src/textAnalyticsClient.js +0 -523
- package/dist-esm/src/textAnalyticsClient.js.map +0 -1
- package/dist-esm/src/textAnalyticsOperationOptions.js +0 -4
- package/dist-esm/src/textAnalyticsOperationOptions.js.map +0 -1
- package/dist-esm/src/textAnalyticsResult.js +0 -78
- package/dist-esm/src/textAnalyticsResult.js.map +0 -1
- package/dist-esm/src/tracing.js +0 -12
- package/dist-esm/src/tracing.js.map +0 -1
- package/dist-esm/src/utils/url.browser.js +0 -6
- package/dist-esm/src/utils/url.browser.js.map +0 -1
- package/dist-esm/src/utils/url.js +0 -4
- package/dist-esm/src/utils/url.js.map +0 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClientContext.ts","../src/generated/generatedClient.ts","../src/logger.ts","../src/tracing.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/analyzeHealthcareEntitiesResult.ts","../src/paging.ts","../src/healthLro.ts","../src/extractSummaryResult.ts","../src/extractSummaryResultArray.ts","../src/analyzeActionsResult.ts","../src/analyzeLro.ts","../src/textAnalyticsClient.ts","../src/generated/models/index.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * 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 extractiveSummarizationTasks: {\n serializedName: \"extractiveSummarizationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationTask\"\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 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 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 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 serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n opinionMining: {\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 ExtractiveSummarizationTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationTaskParameters\"\n }\n }\n }\n }\n};\n\nexport const ExtractiveSummarizationTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationTaskParameters\",\n modelProperties: {\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 stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n },\n sentenceCount: {\n defaultValue: 3,\n serializedName: \"sentenceCount\",\n type: {\n name: \"Number\"\n }\n },\n sortBy: {\n defaultValue: \"Offset\",\n serializedName: \"sortBy\",\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 extractiveSummarizationTasks: {\n serializedName: \"extractiveSummarizationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksExtractiveSummarizationTasksItem\"\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 ExtractiveSummarizationTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationResult\"\n }\n }\n }\n }\n};\n\nexport const ExtractiveSummarizationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtractedDocumentSummary\"\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 ExtractedDocumentSummary: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractedDocumentSummary\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n sentences: {\n serializedName: \"sentences\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtractedSummarySentence\"\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 ExtractedSummarySentence: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractedSummarySentence\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n rankScore: {\n serializedName: \"rankScore\",\n required: true,\n type: {\n name: \"Number\"\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 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 TasksStateTasksExtractiveSummarizationTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksExtractiveSummarizationTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...ExtractiveSummarizationTaskResult.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.2-preview.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 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 { GeneratedClientOptionalParams } from \"./models\";\n\n/** @internal */\nexport class GeneratedClientContext extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext 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.2.0-beta.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: options.endpoint || \"{Endpoint}/text/analytics/{ApiVersion}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"v3.2-preview.1\";\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 Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GeneratedClientAnalyzeOptionalParams,\n GeneratedClientAnalyzeResponse,\n GeneratedClientAnalyzeStatusOptionalParams,\n GeneratedClientAnalyzeStatusResponse,\n GeneratedClientHealthStatusOptionalParams,\n GeneratedClientHealthStatusResponse,\n GeneratedClientCancelHealthJobOptionalParams,\n GeneratedClientCancelHealthJobResponse,\n MultiLanguageBatchInput,\n GeneratedClientHealthOptionalParams,\n GeneratedClientHealthResponse,\n GeneratedClientEntitiesRecognitionGeneralOptionalParams,\n GeneratedClientEntitiesRecognitionGeneralResponse,\n GeneratedClientEntitiesRecognitionPiiOptionalParams,\n GeneratedClientEntitiesRecognitionPiiResponse,\n GeneratedClientEntitiesLinkingOptionalParams,\n GeneratedClientEntitiesLinkingResponse,\n GeneratedClientKeyPhrasesOptionalParams,\n GeneratedClientKeyPhrasesResponse,\n LanguageBatchInput,\n GeneratedClientLanguagesOptionalParams,\n GeneratedClientLanguagesResponse,\n GeneratedClientSentimentOptionalParams,\n GeneratedClientSentimentResponse\n} from \"./models\";\n\n/** @internal */\nexport class GeneratedClient extends GeneratedClientContext {\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 super(endpoint, options);\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(\n options?: GeneratedClientAnalyzeOptionalParams\n ): Promise<GeneratedClientAnalyzeResponse> {\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?: GeneratedClientAnalyzeStatusOptionalParams\n ): Promise<GeneratedClientAnalyzeStatusResponse> {\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?: GeneratedClientHealthStatusOptionalParams\n ): Promise<GeneratedClientHealthStatusResponse> {\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?: GeneratedClientCancelHealthJobOptionalParams\n ): Promise<GeneratedClientCancelHealthJobResponse> {\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?: GeneratedClientHealthOptionalParams\n ): Promise<GeneratedClientHealthResponse> {\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?: GeneratedClientEntitiesRecognitionGeneralOptionalParams\n ): Promise<GeneratedClientEntitiesRecognitionGeneralResponse> {\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?: GeneratedClientEntitiesRecognitionPiiOptionalParams\n ): Promise<GeneratedClientEntitiesRecognitionPiiResponse> {\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?: GeneratedClientEntitiesLinkingOptionalParams\n ): Promise<GeneratedClientEntitiesLinkingResponse> {\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?: GeneratedClientKeyPhrasesOptionalParams\n ): Promise<GeneratedClientKeyPhrasesResponse> {\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?: GeneratedClientLanguagesOptionalParams\n ): Promise<GeneratedClientLanguagesResponse> {\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?: GeneratedClientSentimentOptionalParams\n ): Promise<GeneratedClientSentimentResponse> {\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 { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n * @internal\n */\nexport const createSpan = createSpanFunction({\n packagePrefix: \"Azure.CognitiveServices.TextAnalytics\",\n namespace: \"Microsoft.CognitiveServices\"\n});\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\nimport { FullOperationResponse, OperationOptions, OperationSpec } from \"@azure/core-client\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { URL, URLSearchParams } from \"./utils/url\";\nimport { logger } from \"./logger\";\nimport { GeneratedClient, StringIndexType as GeneratedStringIndexType } from \"./generated\";\nimport { TextAnalyticsAction } from \"./textAnalyticsAction\";\nimport { createSpan } from \"./tracing\";\nimport { LroResponse } from \"@azure/core-lro\";\n\n/**\n * @internal\n */\nexport interface 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\nexport function setSentenceCount<X extends { maxSentenceCount?: number }>(\n x: X\n): X & { sentenceCount?: number } {\n return { ...x, sentenceCount: x.maxSentenceCount };\n}\n\nexport function setOrderBy<X extends { orderBy?: string }>(x: X): X & { sortBy?: string } {\n return { ...x, sortBy: x.orderBy };\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 * Set the modelVersion 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 setModelVersionParam<X extends { modelVersion?: string }>(\n x: X\n): X & { modelVersion: string } {\n return { ...x, modelVersion: x.modelVersion || \"latest\" };\n}\n\n/**\n * @internal\n */\nexport interface 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\n/**\n * @internal\n * parses incoming errors from the service and if the inner error code is\n * InvalidDocumentBatch, it exposes that as the statusCode instead.\n * @param error - the incoming error\n */\nexport function handleInvalidDocumentBatch(error: unknown): any {\n const castError = error as {\n response: {\n parsedBody?: {\n error?: {\n innererror?: {\n code: string;\n message: string;\n };\n };\n };\n };\n statusCode: number;\n };\n const innerCode = castError.response?.parsedBody?.error?.innererror?.code;\n const innerMessage = castError.response?.parsedBody?.error?.innererror?.message;\n if (innerMessage) {\n return innerCode === \"InvalidDocumentBatch\"\n ? new RestError(innerMessage, { code: innerCode, statusCode: castError.statusCode })\n : error;\n } else {\n // unfortunately, the service currently does not follow the swagger definition\n // for errors in some cases.\n // Issue: https://msazure.visualstudio.com/Cognitive%20Services/_workitems/edit/8775003/?workitem=8972164\n // throw new Error(\n // `The error coming from the service does not follow the expected structure: ${error}`\n // );\n logger.warning(\n `The error coming from the service does not follow the expected structure: ${error}`\n );\n return error;\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\n/**\n * @internal\n */\nexport async function getRawResponse<TOptions extends OperationOptions, TResult>(\n f: (options: TOptions) => Promise<TResult>,\n options: TOptions\n): Promise<LroResponse<TResult>> {\n const { onResponse } = options || {};\n let rawResponse: FullOperationResponse | undefined = undefined;\n const flatResponse = await f({\n ...options,\n onResponse: (response: FullOperationResponse, flatResponseParam: unknown) => {\n rawResponse = response;\n onResponse?.(response, flatResponseParam);\n }\n });\n return {\n flatResponse,\n rawResponse: {\n statusCode: rawResponse!.status,\n headers: rawResponse!.headers.toJSON(),\n body: rawResponse!.parsedBody\n }\n };\n}\n\n/**\n * @internal\n */\nexport async function sendGetRequest<TOptions extends OperationOptions>(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n spec: OperationSpec,\n spanStr: string,\n options: TOptions,\n path: string\n): Promise<LroResponse<unknown>> {\n const { span, updatedOptions: finalOptions } = createSpan(\n `TextAnalyticsClient-${spanStr}`,\n options\n );\n try {\n const { flatResponse, rawResponse } = await getRawResponse(\n (paramOptions) =>\n client.sendOperationRequest(\n { options: paramOptions },\n {\n ...spec,\n path,\n httpMethod: \"GET\"\n }\n ),\n finalOptions\n );\n return {\n flatResponse: flatResponse,\n rawResponse\n };\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message\n });\n throw e;\n } finally {\n span.end();\n }\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentStatistics,\n TextAnalyticsError as GeneratedTextAnalyticsErrorModel,\n InnerError,\n ErrorCodeValue,\n InnerErrorCodeValue,\n TextAnalyticsWarning,\n DocumentError,\n TextDocumentBatchStatistics,\n TextDocumentInput\n} from \"./generated/models\";\nimport { sortResponseIdObjects } from \"./util\";\n\n/**\n * The result of a text analytics operation on a single input document.\n * @internal\n */\nexport type TextAnalyticsResult = TextAnalyticsSuccessResult | TextAnalyticsErrorResult;\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 */\nexport interface 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 */\nexport interface 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 */\nexport function combineSuccessfulAndErroneousDocuments<TSuccess extends TextAnalyticsSuccessResult>(\n input: TextDocumentInput[],\n response: TextAnalyticsResponse<TSuccess>\n): (TSuccess | TextAnalyticsErrorResult)[] {\n return processAndCombineSuccessfulAndErroneousDocuments(\n input,\n response,\n (x) => x,\n makeTextAnalyticsErrorResult\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)[] = response.documents.map(\n processSuccess\n );\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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { DetectedLanguage, TextAnalyticsError, DocumentLanguage } 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 { TextDocumentBatchStatistics, LanguageResult, TextDocumentInput } from \"./generated/models\";\nimport {\n DetectLanguageResult,\n makeDetectLanguageResult,\n makeDetectLanguageErrorResult\n} 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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { Entity, TextAnalyticsError, DocumentEntities } 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 { TextDocumentBatchStatistics, TextDocumentInput, EntitiesResult } from \"./generated/models\";\nimport {\n RecognizeCategorizedEntitiesResult,\n makeRecognizeCategorizedEntitiesResult,\n makeRecognizeCategorizedEntitiesErrorResult\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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport {\n TextAnalyticsError,\n DocumentSentimentLabel,\n SentimentConfidenceScores,\n SentenceSentiment as GeneratedSentenceSentiment,\n SentenceSentimentLabel,\n DocumentSentiment,\n SentenceTarget,\n TargetRelation,\n SentenceAssessment,\n TokenSentimentValue as SentenceTargetSentiment,\n TargetConfidenceScoreLabel\n} from \"./generated/models\";\nimport { AssessmentIndex, 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 {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n SentimentResponse\n} from \"./generated/models\";\nimport {\n AnalyzeSentimentResult,\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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { TextAnalyticsError, DocumentKeyPhrases } 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 {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n KeyPhraseResult\n} from \"./generated/models\";\nimport {\n ExtractKeyPhrasesResult,\n makeExtractKeyPhrasesResult,\n makeExtractKeyPhrasesErrorResult\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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { 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 { TextDocumentBatchStatistics, TextDocumentInput, PiiResult } from \"./generated/models\";\nimport {\n RecognizePiiEntitiesResult,\n makeRecognizePiiEntitiesResult,\n makeRecognizePiiEntitiesErrorResult\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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { TextAnalyticsError, LinkedEntity, DocumentLinkedEntities } 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 {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n EntityLinkingResult\n} from \"./generated/models\";\nimport {\n RecognizeLinkedEntitiesResult,\n makeRecognizeLinkedEntitiesResult,\n makeRecognizeLinkedEntitiesErrorResult\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 { KeyCredential } from \"@azure/core-auth\";\nimport {\n PipelineResponse,\n PipelineRequest,\n SendRequest,\n PipelinePolicy\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 */\nexport const 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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n DocumentHealthcareEntities,\n Entity,\n HealthcareRelation,\n TextDocumentBatchStatistics,\n HealthcareEntity as GeneratedHealthcareEntity,\n TextAnalyticsError,\n HealthcareAssertion,\n RelationType,\n HealthcareRelationEntity,\n HealthcareEntityCategory\n} from \"./generated/models\";\nimport {\n makeTextAnalyticsErrorResult,\n makeTextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n TextAnalyticsSuccessResult\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 {\n category,\n confidenceScore,\n assertion,\n offset,\n text,\n links,\n subcategory,\n length,\n 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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\n\n/**\n * an interface that describes how to communicate with the service and how to build a page of items.\n */\nexport interface PagedResult<TOptions extends Record<string, any>, TResponse, TPage> {\n /**\n * A method that send a GET request to the service and returns a response.\n */\n sendGetRequest: (path: string, options: TOptions) => Promise<TResponse>;\n /**\n * A method that extracts the link to the next page of results from the response.\n */\n getNextLink?: (response: TResponse) => string | undefined;\n /**\n * A method to build a page of items from the response.\n */\n buildPage?: (response: TResponse) => TPage;\n}\n\n/**\n * @internal\n *\n * returns an async iterator that will retrieve items from the server. It also has a `byPage`\n * method that can return pages of items at once.\n *\n * @param pagedResult - an object that describes how to communicate with the service and how to build a page of items.\n * @param path - the path to the resource to retrieve\n * @param options - the options to pass to the service\n * @returns a paged async iterator that will retrieve items from the server.\n */\nexport function getPagedAsyncIterator<\n TOptions extends Record<string, any>,\n TResponse,\n TElement,\n TPage = TElement[]\n>(\n pagedResult: PagedResult<TOptions, TResponse, TPage>,\n path: string,\n options: TOptions\n): PagedAsyncIterableIterator<TElement, TPage> {\n const iter = getItemAsyncIterator<TOptions, TResponse, TElement, TPage>(\n pagedResult,\n path,\n options\n );\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 getPageAsyncIterator(pagedResult, path, pageOptions);\n }\n };\n}\n\nasync function* getItemAsyncIterator<\n TOptions extends Record<string, unknown>,\n TResponse,\n TElement,\n TPage\n>(\n pagedResult: PagedResult<TOptions, TResponse, TPage>,\n path: string,\n options: TOptions\n): AsyncIterableIterator<TElement> {\n const metaInfo = { isArray: false };\n const pages = getPageAsyncIterator(pagedResult, path, options, metaInfo);\n const firstVal = await pages.next();\n // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is\n if (!metaInfo.isArray) {\n yield firstVal.value;\n yield* (pages as unknown) as AsyncIterableIterator<TElement>;\n } else {\n yield* firstVal.value;\n for await (const page of pages) {\n yield* page as any;\n }\n }\n}\n\nasync function* getPageAsyncIterator<TOptions extends Record<string, unknown>, TResponse, TPage>(\n pagedResult: PagedResult<TOptions, TResponse, TPage>,\n path: string,\n options: TOptions,\n metaInfo: { isArray: boolean } = { isArray: true }\n): AsyncIterableIterator<TPage> {\n let response = await retrievePage<TOptions, TResponse, TPage>(pagedResult, path, options);\n metaInfo.isArray = Array.isArray(response.result);\n yield response.result;\n while (response.nextLink) {\n response = await retrievePage(pagedResult, response.nextLink, options);\n yield response.result;\n }\n}\n\nfunction getDefaultNextLink<TResponse>(response: TResponse): string | undefined {\n return (response as any).nextLink;\n}\n\ninterface ResultWithPaging<TPage> {\n result: TPage;\n nextLink?: string;\n}\n\nasync function retrievePage<TOptions extends Record<string, unknown>, TResponse, TPage>(\n pagedResult: PagedResult<TOptions, TResponse, TPage>,\n path: string,\n options: TOptions\n): Promise<ResultWithPaging<TPage>> {\n const response = await pagedResult.sendGetRequest(path, options);\n const result: TPage = pagedResult.buildPage?.(response) ?? (response as any).results;\n const getNextLink = pagedResult.getNextLink ?? getDefaultNextLink;\n return {\n result,\n nextLink: getNextLink(response)\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { LongRunningOperation, LroResponse, PollerLike, RawResponse } from \"@azure/core-lro\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createSerializer, OperationOptions, OperationSpec } from \"@azure/core-client\";\nimport {\n AnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareEntitiesResultArray,\n makeHealthcareEntitiesErrorResult,\n makeHealthcareEntitiesResult,\n PagedAnalyzeHealthcareEntitiesResult\n} from \"./analyzeHealthcareEntitiesResult\";\nimport {\n GeneratedClient,\n GeneratedClientHealthStatusResponse,\n TextDocumentInput\n} from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport {\n addStrEncodingParam,\n getRawResponse,\n handleInvalidDocumentBatch,\n sendGetRequest,\n StringIndexType\n} from \"./util\";\nimport * as Mappers from \"./generated/models/mappers\";\nimport {\n accept,\n apiVersion,\n endpoint,\n includeStatistics,\n skip,\n top\n} from \"./generated/models/parameters\";\nimport { processAndCombineSuccessfulAndErroneousDocuments } from \"./textAnalyticsResult\";\nimport { getPagedAsyncIterator, PagedResult } from \"./paging\";\nimport { AnalysisPollOperationState } from \"./pollerModels\";\nimport { TextAnalyticsOperationOptions } from \"./textAnalyticsOperationOptions\";\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 * Result type of the Health Long-Running-Operation (LRO)\n */\nexport type AnalyzeHealthcareEntitiesPollerLike = PollerLike<\n AnalyzeHealthcareOperationState,\n PagedAnalyzeHealthcareEntitiesResult\n>;\n\n/**\n * The state of the begin analyze healthcare polling operation.\n */\nexport interface AnalyzeHealthcareOperationState\n extends AnalysisPollOperationState<PagedAnalyzeHealthcareEntitiesResult> {}\n\nconst serializer = createSerializer(Mappers, /* isXml */ false);\n\n// Consider whether the spec can be exported by code gen\nconst healthStatusOperationSpec: 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: [includeStatistics, top, skip],\n urlParameters: [endpoint, apiVersion],\n headerParameters: [accept],\n serializer\n};\n\n/**\n * @internal\n */\nexport class HealthLro implements LongRunningOperation<PagedAnalyzeHealthcareEntitiesResult> {\n public requestMethod = \"POST\";\n public requestPath = \"/entities/health/jobs\";\n constructor(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n private client: GeneratedClient,\n private baseOptions: OperationOptions,\n private initOptions: {\n modelVersion?: string;\n stringIndexType?: StringIndexType;\n loggingOptOut?: boolean;\n },\n private pollOptions: {\n includeStatistics?: boolean;\n },\n private documents: TextDocumentInput[]\n ) {}\n async sendInitialRequest(): Promise<LroResponse<PagedAnalyzeHealthcareEntitiesResult>> {\n const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-beginAnalyzeHealthcare\",\n {\n ...this.baseOptions,\n ...addStrEncodingParam(this.initOptions)\n }\n );\n try {\n const { flatResponse, rawResponse } = await getRawResponse(\n (paramOptions) => this.client.health({ documents: this.documents }, paramOptions),\n finalOptions\n );\n return {\n flatResponse: flatResponse as PagedAnalyzeHealthcareEntitiesResult,\n rawResponse\n };\n } catch (e) {\n const exception = handleInvalidDocumentBatch(e);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: exception.message\n });\n throw exception;\n } finally {\n span.end();\n }\n }\n async sendPollRequest(path: string): Promise<LroResponse<PagedAnalyzeHealthcareEntitiesResult>> {\n return sendGetRequest(\n this.client,\n healthStatusOperationSpec,\n \"HealthStatus\",\n { ...this.baseOptions, ...this.pollOptions },\n path\n ) as Promise<LroResponse<PagedAnalyzeHealthcareEntitiesResult>>;\n }\n}\n\n/**\n * @internal\n */\nexport function isHealthDone(response: unknown): boolean {\n const castResponse = response as GeneratedClientHealthStatusResponse;\n switch (castResponse.status) {\n case \"notStarted\":\n case \"running\":\n return false;\n case \"failed\": {\n const errors = castResponse.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 (castResponse.results) {\n return true;\n } else {\n throw new Error(\"Healthcare action has finished but the there are no results!\");\n }\n }\n }\n}\n\n/**\n * @internal\n */\nexport function processHealthResult<TOptions extends OperationOptions>(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n documents: TextDocumentInput[],\n options: TOptions\n): (\n result: unknown,\n state: AnalyzeHealthcareOperationState\n) => PagedAnalyzeHealthcareEntitiesResult {\n const pagedResult: PagedResult<\n TOptions,\n GeneratedClientHealthStatusResponse,\n AnalyzeHealthcareEntitiesResultArray\n > = {\n sendGetRequest: (path: string, optionsParam: TOptions) =>\n sendGetRequest(client, healthStatusOperationSpec, \"HealthStatus\", optionsParam, path).then(\n (response) => response.flatResponse as GeneratedClientHealthStatusResponse\n ),\n buildPage: (flatResponse: GeneratedClientHealthStatusResponse) => {\n if (flatResponse.results) {\n return processAndCombineSuccessfulAndErroneousDocuments(\n documents,\n flatResponse.results,\n makeHealthcareEntitiesResult,\n makeHealthcareEntitiesErrorResult\n );\n } else {\n throw new Error(\"Healthcare action has succeeded but there are no results!\");\n }\n }\n };\n return (\n result: unknown,\n state: AnalyzeHealthcareOperationState\n ): PagedAnalyzeHealthcareEntitiesResult => {\n const pollingURL = (state as any).pollingURL;\n const pagedIterator = getPagedAsyncIterator<\n TOptions,\n GeneratedClientHealthStatusResponse,\n AnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareEntitiesResultArray\n >(pagedResult, pollingURL, options);\n return Object.assign(pagedIterator, {\n statistics: (result as any).results.statistics,\n modelVersion: (result as any).results.modelVersion!\n });\n };\n}\n\n/**\n * @internal\n */\nexport function updateHealthState(\n state: AnalyzeHealthcareOperationState,\n lastResponse: RawResponse\n): void {\n const response = lastResponse.body as any;\n state.createdOn = response.createdDateTime;\n state.lastModifiedOn = response.lastUpdateDateTime;\n state.expiresOn = response.expirationDateTime;\n state.status = response.status;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport {\n TextAnalyticsError,\n ExtractedDocumentSummary,\n ExtractedSummarySentence as GeneratedSummarySentences\n} from \"./generated/models\";\n\n/**\n * The result of the extract summary operation on a single document.\n */\nexport type ExtractSummaryResult = ExtractSummarySuccessResult | ExtractSummaryErrorResult;\n\n/**\n * The result of the extract summary operation on a single document,\n * containing a collection of the summary identified in that document.\n */\nexport interface ExtractSummarySuccessResult extends TextAnalyticsSuccessResult {\n /**\n * A list of sentences composing a summary of the input document.\n */\n sentences: SummarySentence[];\n}\n\n/**\n * An extracted sentence as part of the summary of a document.\n */\nexport interface SummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the stringIndexType parameter. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\n/**\n * An error result from the extract summary operation on a single document.\n */\nexport type ExtractSummaryErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeExtractSummaryResult(\n result: ExtractedDocumentSummary\n): ExtractSummarySuccessResult {\n const { id, warnings, statistics, sentences } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n sentences: sentences.map((sentence: GeneratedSummarySentences) => ({\n ...sentence\n }))\n };\n}\n\n/**\n * @internal\n */\nexport function makeExtractSummaryErrorResult(\n id: string,\n error: TextAnalyticsError\n): ExtractSummaryErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n ExtractiveSummarizationResult\n} from \"./generated/models\";\nimport {\n ExtractSummaryResult,\n makeExtractSummaryResult,\n makeExtractSummaryErrorResult\n} from \"./extractSummaryResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from \"./textAnalyticsResult\";\n\n/**\n * Array of `ExtractSummaryResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface ExtractSummaryResultArray extends Array<ExtractSummaryResult> {\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 makeExtractSummaryResultArray(\n input: TextDocumentInput[],\n response: ExtractiveSummarizationResult\n): ExtractSummaryResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion(\n input,\n response,\n makeExtractSummaryResult,\n makeExtractSummaryErrorResult\n );\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n AnalyzeSentimentResultArray,\n makeAnalyzeSentimentResultArray\n} from \"./analyzeSentimentResultArray\";\nimport {\n ExtractKeyPhrasesResultArray,\n makeExtractKeyPhrasesResultArray\n} from \"./extractKeyPhrasesResultArray\";\nimport {\n ExtractSummaryResultArray,\n makeExtractSummaryResultArray\n} from \"./extractSummaryResultArray\";\nimport { AnalyzeJobState as GeneratedResponse, TextDocumentInput } from \"./generated/models\";\nimport {\n makeRecognizeCategorizedEntitiesResultArray,\n RecognizeCategorizedEntitiesResultArray\n} from \"./recognizeCategorizedEntitiesResultArray\";\nimport {\n makeRecognizeLinkedEntitiesResultArray,\n RecognizeLinkedEntitiesResultArray\n} from \"./recognizeLinkedEntitiesResultArray\";\nimport {\n makeRecognizePiiEntitiesResultArray,\n RecognizePiiEntitiesResultArray\n} from \"./recognizePiiEntitiesResultArray\";\nimport { ErrorCode, intoTextAnalyticsError, TextAnalyticsError } 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 * Array of the results for each extract summary action.\n */\n extractSummaryResults: ExtractSummaryActionResult[];\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 error of an extract summary action.\n */\nexport type ExtractSummaryActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded extract summary action.\n */\nexport interface ExtractSummaryActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each extract summary action.\n */\n results: ExtractSummaryResultArray;\n}\n\n/**\n * The result of an extract summary action.\n */\nexport type ExtractSummaryActionResult =\n | ExtractSummaryActionSuccessResult\n | ExtractSummaryActionErrorResult;\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 | \"ExtractSummary\";\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 case \"extractiveSummarizationTasks\": {\n return \"ExtractSummary\";\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|extractiveSummarizationTasks)\\/(\\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 extractSummarySentencesActionErrors: 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 case \"ExtractSummary\": {\n extractSummarySentencesActionErrors.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 const extractSummarySentencesActionErrors: TextAnalyticsActionError[] = [];\n categorizeActionErrors(\n response?.errors ?? [],\n recognizeEntitiesActionErrors,\n recognizePiiEntitiesActionErrors,\n extractKeyPhrasesActionErrors,\n recognizeLinkedEntitiesActionErrors,\n analyzeSentimentActionErrors,\n extractSummarySentencesActionErrors\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 extractSummaryResults: makeActionResult(\n documents,\n makeExtractSummaryResultArray,\n response.tasks.extractiveSummarizationTasks ?? [],\n extractSummarySentencesActionErrors\n )\n };\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { LongRunningOperation, LroResponse, PollerLike, RawResponse } from \"@azure/core-lro\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createSerializer, OperationOptions, OperationSpec } from \"@azure/core-client\";\nimport {\n GeneratedClient,\n GeneratedClientAnalyzeStatusResponse,\n JobManifestTasks,\n TextDocumentInput\n} from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { getRawResponse, handleInvalidDocumentBatch, sendGetRequest } from \"./util\";\nimport * as Mappers from \"./generated/models/mappers\";\nimport {\n accept,\n apiVersion,\n endpoint,\n includeStatistics,\n skip,\n top\n} from \"./generated/models/parameters\";\nimport { getPagedAsyncIterator, PagedResult } from \"./paging\";\nimport { AnalysisPollOperationState, OperationMetadata } from \"./pollerModels\";\nimport {\n AnalyzeActionsResult,\n createAnalyzeActionsResult,\n PagedAnalyzeActionsResult\n} from \"./analyzeActionsResult\";\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 * Result type of the Begin Analyze Actions Long-Running-Operation (LRO).\n */\nexport type AnalyzeActionsPollerLike = PollerLike<\n AnalyzeActionsOperationState,\n PagedAnalyzeActionsResult\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 * The state of the begin analyze polling operation.\n */\nexport interface AnalyzeActionsOperationState\n extends AnalysisPollOperationState<PagedAnalyzeActionsResult>,\n AnalyzeActionsOperationMetadata {}\n\nconst serializer = createSerializer(Mappers, /* isXml */ false);\n\n// Consider whether the spec can be exported by code gen\nconst analyzeStatusOperationSpec: 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: [includeStatistics, top, skip],\n urlParameters: [endpoint, apiVersion],\n headerParameters: [accept],\n serializer\n};\n\n/**\n * @internal\n */\nexport class AnalyzeLro implements LongRunningOperation<PagedAnalyzeActionsResult> {\n public requestMethod = \"POST\";\n public requestPath = \"/analyze\";\n constructor(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n private client: GeneratedClient,\n private baseOptions: OperationOptions,\n private initOptions: {\n displayName?: string;\n },\n private pollOptions: {\n includeStatistics?: boolean;\n },\n private documents: TextDocumentInput[],\n private tasks: JobManifestTasks\n ) {}\n async sendInitialRequest(): Promise<LroResponse<PagedAnalyzeActionsResult>> {\n const { span, updatedOptions: finalOptions } = createSpan(\"TextAnalyticsClient-beginAnalyze\", {\n ...this.baseOptions,\n ...this.initOptions\n });\n try {\n const { flatResponse, rawResponse } = await getRawResponse(\n (paramOptions) =>\n this.client.analyze({\n body: {\n analysisInput: { documents: this.documents },\n tasks: this.tasks,\n displayName: this.initOptions.displayName\n },\n ...paramOptions\n }),\n finalOptions\n );\n return {\n flatResponse: flatResponse as PagedAnalyzeActionsResult,\n rawResponse\n };\n } catch (e) {\n const exception = handleInvalidDocumentBatch(e);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: exception.message\n });\n throw exception;\n } finally {\n span.end();\n }\n }\n async sendPollRequest(path: string): Promise<LroResponse<PagedAnalyzeActionsResult>> {\n return sendGetRequest(\n this.client,\n analyzeStatusOperationSpec,\n \"AnalyzeStatus\",\n { ...this.baseOptions, ...this.pollOptions },\n path\n ) as Promise<LroResponse<PagedAnalyzeActionsResult>>;\n }\n}\n\n/**\n * @internal\n */\nexport function isAnalyzeDone(response: unknown): boolean {\n const castResponse = response as GeneratedClientAnalyzeStatusResponse;\n switch (castResponse.status) {\n case \"notStarted\":\n case \"running\":\n return false;\n default: {\n return true;\n }\n }\n}\n\n/**\n * @internal\n */\nexport function processAnalyzeResult<TOptions extends OperationOptions>(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n documents: TextDocumentInput[],\n options: TOptions\n): (result: unknown, state: AnalyzeActionsOperationState) => PagedAnalyzeActionsResult {\n const pagedResult: PagedResult<\n TOptions,\n GeneratedClientAnalyzeStatusResponse,\n AnalyzeActionsResult\n > = {\n sendGetRequest: (path: string, optionsParam: TOptions) =>\n sendGetRequest(client, analyzeStatusOperationSpec, \"AnalyzeStatus\", optionsParam, path).then(\n (response) => response.flatResponse as GeneratedClientAnalyzeStatusResponse\n ),\n buildPage: (flatResponse: GeneratedClientAnalyzeStatusResponse) => {\n if (flatResponse) {\n return createAnalyzeActionsResult(flatResponse, documents);\n } else {\n throw new Error(\"Analyze action has succeeded but there are no results!\");\n }\n }\n };\n return (_result: unknown, state: AnalyzeActionsOperationState): PagedAnalyzeActionsResult => {\n const pollingURL = (state as any).pollingURL;\n const pagedIterator = getPagedAsyncIterator<\n TOptions,\n GeneratedClientAnalyzeStatusResponse,\n AnalyzeActionsResult,\n AnalyzeActionsResult\n >(pagedResult, pollingURL, options);\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 return pagedIterator;\n };\n}\n\n/**\n * @internal\n */\nexport function updateAnalyzeState(\n state: AnalyzeActionsOperationState,\n lastResponse: RawResponse\n): void {\n const response = lastResponse.body as GeneratedClientAnalyzeStatusResponse;\n state.createdOn = response.createdDateTime;\n state.lastModifiedOn = response.lastUpdateDateTime;\n state.expiresOn = response.expirationDateTime;\n state.status = response.status;\n state.actionsSucceededCount = response.tasks.completed;\n state.actionsFailedCount = response.tasks.failed;\n state.actionsInProgressCount = response.tasks.inProgress;\n state.displayName = response.displayName;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { CommonClientOptions } from \"@azure/core-client\";\nimport {\n InternalPipelineOptions,\n bearerTokenAuthenticationPolicy\n} from \"@azure/core-rest-pipeline\";\nimport { TokenCredential, KeyCredential, isTokenCredential } from \"@azure/core-auth\";\nimport { GeneratedClient } from \"./generated/generatedClient\";\nimport { logger } from \"./logger\";\nimport {\n JobManifestTasks as GeneratedActions,\n DetectLanguageInput,\n GeneratedClientEntitiesRecognitionPiiOptionalParams as GeneratedRecognizePiiEntitiesOptions,\n GeneratedClientSentimentOptionalParams as GeneratedAnalyzeSentimentOptions,\n GeneratedClientEntitiesRecognitionGeneralOptionalParams as GeneratedRecognizeCategorizedEntitiesOptions,\n GeneratedClientEntitiesLinkingOptionalParams as GeneratedRecognizeLinkedEntitiesOptions,\n GeneratedClientKeyPhrasesOptionalParams as GeneratedExtractKeyPhrasesOptions,\n GeneratedClientLanguagesOptionalParams as GeneratedDetectLanguageOptions,\n TextDocumentInput,\n PiiCategory\n} from \"./generated/models\";\nimport {\n DetectLanguageResultArray,\n makeDetectLanguageResultArray\n} from \"./detectLanguageResultArray\";\nimport {\n RecognizeCategorizedEntitiesResultArray,\n makeRecognizeCategorizedEntitiesResultArray\n} from \"./recognizeCategorizedEntitiesResultArray\";\nimport {\n AnalyzeSentimentResultArray,\n makeAnalyzeSentimentResultArray\n} from \"./analyzeSentimentResultArray\";\nimport {\n makeExtractKeyPhrasesResultArray,\n ExtractKeyPhrasesResultArray\n} from \"./extractKeyPhrasesResultArray\";\nimport {\n RecognizePiiEntitiesResultArray,\n makeRecognizePiiEntitiesResultArray\n} from \"./recognizePiiEntitiesResultArray\";\nimport {\n RecognizeLinkedEntitiesResultArray,\n makeRecognizeLinkedEntitiesResultArray\n} from \"./recognizeLinkedEntitiesResultArray\";\nimport { createSpan } from \"./tracing\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { textAnalyticsAzureKeyCredentialPolicy } from \"./azureKeyCredentialPolicy\";\nimport {\n addParamsToTask,\n compose,\n handleInvalidDocumentBatch,\n setCategoriesFilter,\n setOpinionMining,\n setOrderBy,\n setSentenceCount,\n setStrEncodingParam,\n setStrEncodingParamValue,\n StringIndexType\n} from \"./util\";\nimport { TextAnalyticsOperationOptions } from \"./textAnalyticsOperationOptions\";\nimport { AnalysisPollOperationState, OperationMetadata } from \"./pollerModels\";\nimport { TextAnalyticsAction } from \"./textAnalyticsAction\";\nimport {\n AnalyzeHealthcareEntitiesPollerLike,\n AnalyzeHealthcareOperationState,\n BeginAnalyzeHealthcareEntitiesOptions,\n HealthLro,\n isHealthDone,\n processHealthResult,\n updateHealthState\n} from \"./healthLro\";\nimport { LroEngine } from \"@azure/core-lro\";\nimport { PagedAnalyzeHealthcareEntitiesResult } from \"./analyzeHealthcareEntitiesResult\";\nimport {\n AnalyzeActionsOperationMetadata,\n AnalyzeActionsOperationState,\n AnalyzeActionsPollerLike,\n AnalyzeLro,\n BeginAnalyzeActionsOptions,\n isAnalyzeDone,\n processAnalyzeResult,\n updateAnalyzeState\n} from \"./analyzeLro\";\nimport { PagedAnalyzeActionsResult } from \"./analyzeActionsResult\";\n\nexport {\n BeginAnalyzeActionsOptions,\n AnalyzeActionsPollerLike,\n AnalyzeActionsOperationState,\n BeginAnalyzeHealthcareEntitiesOptions,\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 * A type representing how to sort sentences for the summarization extraction action.\n */\nexport type KnownSummarySentencesSortBy = \"Offset\" | \"Rank\";\n\n/**\n * Options for an extract summary action.\n */\nexport interface ExtractSummaryAction 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 * Specifies the number of summary sentences to return. The default number of sentences is 3.\n */\n maxSentenceCount?: number;\n /**\n * Specifies how to sort the returned sentences. Please refer to {@link KnownSummarySentencesSortBy} for possible values.\n */\n orderBy?: string;\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 * A collection of descriptions of summarization extraction actions. However, currently, the service can accept up to one action only for `extractSummary`.\n */\n extractSummaryActions?: ExtractSummaryAction[];\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\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 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 }\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 const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-detectLanguages\",\n makeGeneratedDetectLanguageOptions(realOptions)\n );\n\n try {\n const result = await this.client.languages(\n {\n documents: realInputs\n },\n finalOptions\n );\n\n return makeDetectLanguageResultArray(realInputs, result);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message\n });\n throw e;\n } finally {\n span.end();\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 const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-recognizeEntities\",\n makeGeneratedRecognizeCategorizedEntitiesOptions(realOptions)\n );\n\n try {\n const result = await this.client.entitiesRecognitionGeneral(\n {\n documents: realInputs\n },\n finalOptions\n );\n\n return makeRecognizeCategorizedEntitiesResultArray(realInputs, result);\n } catch (e) {\n /**\n * This special logic handles REST exception with code\n * InvalidDocumentBatch and is needed to maintain backward compatability\n * with sdk v5.0.0 and earlier. In general, REST exceptions are thrown as\n * is and include both outer and inner exception codes. However, the\n * earlier versions were throwing an exception that included the inner\n * code only.\n */\n const backwardCompatibleException = handleInvalidDocumentBatch(e);\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: backwardCompatibleException.message\n });\n throw backwardCompatibleException;\n } finally {\n span.end();\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 const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-analyzeSentiment\",\n makeGeneratedAnalyzeSentimentOptions(realOptions)\n );\n\n try {\n const result = await this.client.sentiment(\n {\n documents: realInputs\n },\n finalOptions\n );\n\n return makeAnalyzeSentimentResultArray(realInputs, result);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message\n });\n throw e;\n } finally {\n span.end();\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 const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-extractKeyPhrases\",\n makeGeneratedExtractKeyPhrasesOptions(realOptions)\n );\n\n try {\n const result = await this.client.keyPhrases(\n {\n documents: realInputs\n },\n finalOptions\n );\n\n return makeExtractKeyPhrasesResultArray(realInputs, result);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message\n });\n throw e;\n } finally {\n span.end();\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 const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-recognizePiiEntities\",\n makeGeneratedRecognizePiiEntitiesOptions(realOptions)\n );\n\n try {\n const result = await this.client.entitiesRecognitionPii(\n {\n documents: realInputs\n },\n finalOptions\n );\n\n return makeRecognizePiiEntitiesResultArray(realInputs, result);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message\n });\n throw e;\n } finally {\n span.end();\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 const { span, updatedOptions: finalOptions } = createSpan(\n \"TextAnalyticsClient-recognizeLinkedEntities\",\n makeGeneratedRecognizeLinkingEntitiesOptions(realOptions)\n );\n\n try {\n const result = await this.client.entitiesLinking(\n {\n documents: realInputs\n },\n finalOptions\n );\n\n return makeRecognizeLinkedEntitiesResultArray(realInputs, result);\n } catch (e) {\n span.setStatus({\n code: SpanStatusCode.ERROR,\n message: e.message\n });\n throw e;\n } finally {\n span.end();\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 {\n updateIntervalInMs,\n resumeFrom,\n onResponse,\n disableServiceLogs,\n modelVersion,\n requestOptions,\n serializerOptions,\n abortSignal,\n stringIndexType,\n includeStatistics,\n tracingOptions\n } = realOptions;\n const lro = new HealthLro(\n this.client,\n {\n onResponse,\n requestOptions,\n serializerOptions,\n abortSignal,\n tracingOptions\n },\n { loggingOptOut: disableServiceLogs, stringIndexType, modelVersion },\n { includeStatistics },\n realInputs\n );\n\n const poller = new LroEngine<\n PagedAnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareOperationState\n >(lro, {\n intervalInMs: updateIntervalInMs,\n resumeFrom: resumeFrom,\n processResult: processHealthResult(this.client, realInputs, {\n onResponse,\n requestOptions,\n serializerOptions,\n abortSignal,\n tracingOptions,\n includeStatistics\n }),\n isDone: isHealthDone,\n updateState: updateHealthState\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 validateActions(actions);\n const compiledActions = compileAnalyzeInput(actions);\n const {\n updateIntervalInMs,\n resumeFrom,\n displayName,\n includeStatistics,\n onResponse,\n requestOptions,\n serializerOptions,\n abortSignal,\n tracingOptions\n } = realOptions;\n const lro = new AnalyzeLro(\n this.client,\n {\n onResponse,\n requestOptions,\n serializerOptions,\n abortSignal,\n tracingOptions\n },\n { displayName },\n { includeStatistics },\n realInputs,\n compiledActions\n );\n\n const poller = new LroEngine<PagedAnalyzeActionsResult, AnalyzeActionsOperationState>(lro, {\n intervalInMs: updateIntervalInMs,\n resumeFrom: resumeFrom,\n processResult: processAnalyzeResult(this.client, realInputs, {\n onResponse,\n requestOptions,\n serializerOptions,\n abortSignal,\n tracingOptions,\n includeStatistics\n }),\n isDone: isAnalyzeDone,\n updateState: updateAnalyzeState\n });\n\n await poller.poll();\n return poller;\n }\n}\n\nfunction validateActions(actions: TextAnalyticsActions): void {\n function validateActionType(actionList: unknown[] | undefined, actionType: string): void {\n if ((actionList?.length ?? 0) > 1) {\n throw new Error(\n `beginAnalyzeActions: Currently, the service can accept up to one action only for ${actionType} actions.`\n );\n }\n }\n validateActionType(actions.analyzeSentimentActions, `analyzeSentiment`);\n validateActionType(actions.extractKeyPhrasesActions, `extractKeyPhrases`);\n validateActionType(actions.recognizeEntitiesActions, `recognizeEntities`);\n validateActionType(actions.recognizeLinkedEntitiesActions, `recognizeLinkedEntities`);\n validateActionType(actions.recognizePiiEntitiesActions, `recognizePiiEntities`);\n validateActionType(actions.extractSummaryActions, `extractSummary`);\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 extractiveSummarizationTasks: actions.extractSummaryActions?.map(\n compose(setStrEncodingParam, compose(setSentenceCount, compose(setOrderBy, 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(\n (text: string, index): DetectLanguageInput => {\n return {\n id: String(index),\n countryHint,\n text\n };\n }\n );\n}\n\n/**\n * @internal\n */\nfunction convertToTextDocumentInput(inputs: string[], language: string): TextDocumentInput[] {\n return inputs.map(\n (text: string, index): TextDocumentInput => {\n return {\n id: String(index),\n language,\n text\n };\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 extractiveSummarizationTasks?: ExtractiveSummarizationTask[];\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 ExtractiveSummarizationTask {\n parameters?: ExtractiveSummarizationTaskParameters;\n}\n\nexport interface ExtractiveSummarizationTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n sentenceCount?: number;\n sortBy?: ExtractiveSummarizationTaskParametersSortBy;\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 extractiveSummarizationTasks?: TasksStateTasksExtractiveSummarizationTasksItem[];\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 ExtractiveSummarizationTaskResult {\n results?: ExtractiveSummarizationResult;\n}\n\nexport interface ExtractiveSummarizationResult {\n /** Response by document */\n documents: ExtractedDocumentSummary[];\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 ExtractedDocumentSummary {\n /** Unique, non-empty document identifier. */\n id: string;\n /** A ranked list of sentences representing the extracted summary. */\n sentences: ExtractedSummarySentence[];\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 ExtractedSummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\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 type AnalyzeBatchInput = JobDescriptor &\n AnalysisInput &\n JobManifest & {};\n\nexport type AnalyzeJobMetadata = JobMetadata & AnalyzeJobDisplayName & {};\n\nexport type HealthcareJobState = JobMetadata &\n HealthcareTaskResult &\n Pagination & {};\n\nexport type AnalyzeJobState = AnalyzeJobMetadata &\n TasksState &\n AnalyzeJobErrorsAndStatistics &\n Pagination & {};\n\nexport type TasksStateTasksEntityRecognitionTasksItem = TaskState &\n EntitiesTaskResult & {};\n\nexport type TasksStateTasksEntityRecognitionPiiTasksItem = TaskState &\n PiiTaskResult & {};\n\nexport type TasksStateTasksKeyPhraseExtractionTasksItem = TaskState &\n KeyPhraseTaskResult & {};\n\nexport type TasksStateTasksEntityLinkingTasksItem = TaskState &\n EntityLinkingTaskResult & {};\n\nexport type TasksStateTasksSentimentAnalysisTasksItem = TaskState &\n SentimentTaskResult & {};\n\nexport type TasksStateTasksExtractiveSummarizationTasksItem = TaskState &\n ExtractiveSummarizationTaskResult & {};\n\nexport type HealthcareEntity = 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 = \"phi\",\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 = \"ABARoutingNumber\",\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n AUBankAccountNumber = \"AUBankAccountNumber\",\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n AUPassportNumber = \"AUPassportNumber\",\n AUTaxFileNumber = \"AUTaxFileNumber\",\n AUBusinessNumber = \"AUBusinessNumber\",\n AUCompanyNumber = \"AUCompanyNumber\",\n ATIdentityCard = \"ATIdentityCard\",\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n AzureRedisCacheString = \"AzureRedisCacheString\",\n AzureSAS = \"AzureSAS\",\n AzureServiceBusString = \"AzureServiceBusString\",\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n BENationalNumber = \"BENationalNumber\",\n BENationalNumberV2 = \"BENationalNumberV2\",\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n BrcpfNumber = \"BRCPFNumber\",\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n BRNationalIdrg = \"BRNationalIDRG\",\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n CABankAccountNumber = \"CABankAccountNumber\",\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n CAPassportNumber = \"CAPassportNumber\",\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n CreditCardNumber = \"CreditCardNumber\",\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n HRNationalIDNumber = \"HRNationalIDNumber\",\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n CYIdentityCard = \"CYIdentityCard\",\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n EUDebitCardNumber = \"EUDebitCardNumber\",\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n EugpsCoordinates = \"EUGPSCoordinates\",\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n EUPassportNumber = \"EUPassportNumber\",\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n FINationalID = \"FINationalID\",\n FINationalIDV2 = \"FINationalIDV2\",\n FIPassportNumber = \"FIPassportNumber\",\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n FRNationalID = \"FRNationalID\",\n FRPassportNumber = \"FRPassportNumber\",\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n DEPassportNumber = \"DEPassportNumber\",\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n DEValueAddedNumber = \"DEValueAddedNumber\",\n GRNationalIDCard = \"GRNationalIDCard\",\n GRNationalIDV2 = \"GRNationalIDV2\",\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n HUValueAddedNumber = \"HUValueAddedNumber\",\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n INPermanentAccount = \"INPermanentAccount\",\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n ILBankAccountNumber = \"ILBankAccountNumber\",\n ILNationalID = \"ILNationalID\",\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n ITFiscalCode = \"ITFiscalCode\",\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n JPBankAccountNumber = \"JPBankAccountNumber\",\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n JPPassportNumber = \"JPPassportNumber\",\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n LVPersonalCode = \"LVPersonalCode\",\n LTPersonalCode = \"LTPersonalCode\",\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n MTTaxIDNumber = \"MTTaxIDNumber\",\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n NZBankAccountNumber = \"NZBankAccountNumber\",\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n NOIdentityNumber = \"NOIdentityNumber\",\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n PLIdentityCard = \"PLIdentityCard\",\n PLNationalID = \"PLNationalID\",\n PLNationalIDV2 = \"PLNationalIDV2\",\n PLPassportNumber = \"PLPassportNumber\",\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n PlregonNumber = \"PLREGONNumber\",\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n SANationalID = \"SANationalID\",\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n SKPersonalNumber = \"SKPersonalNumber\",\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n Esdni = \"ESDNI\",\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n SQLServerConnectionString = \"SQLServerConnectionString\",\n SENationalID = \"SENationalID\",\n SENationalIDV2 = \"SENationalIDV2\",\n SEPassportNumber = \"SEPassportNumber\",\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n SwiftCode = \"SWIFTCode\",\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n TWNationalID = \"TWNationalID\",\n TWPassportNumber = \"TWPassportNumber\",\n TWResidentCertificate = \"TWResidentCertificate\",\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n UsukPassportNumber = \"USUKPassportNumber\",\n USBankAccountNumber = \"USBankAccountNumber\",\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n Organization = \"Organization\",\n Email = \"Email\",\n URL = \"URL\",\n Age = \"Age\",\n PhoneNumber = \"PhoneNumber\",\n IPAddress = \"IPAddress\",\n Date = \"Date\",\n Person = \"Person\",\n Address = \"Address\",\n All = \"All\",\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 ExtractiveSummarizationTaskParametersSortBy} that the service accepts. */\nexport enum KnownExtractiveSummarizationTaskParametersSortBy {\n Offset = \"Offset\",\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationTaskParametersSortBy. \\\n * {@link KnownExtractiveSummarizationTaskParametersSortBy} can be used interchangeably with ExtractiveSummarizationTaskParametersSortBy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset** \\\n * **Rank**\n */\nexport type ExtractiveSummarizationTaskParametersSortBy = string;\n\n/** Known values of {@link ErrorCodeValue} that the service accepts. */\nexport enum KnownErrorCodeValue {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\",\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 = \"InvalidParameterValue\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputRecords = \"MissingInputRecords\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\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 = \"LongWordsInDocument\",\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 = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\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 = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\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 GeneratedClientAnalyzeOptionalParams\n 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 GeneratedClientAnalyzeResponse = GeneratedClientAnalyzeHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientAnalyzeStatusOptionalParams\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 GeneratedClientAnalyzeStatusResponse = AnalyzeJobState;\n\n/** Optional parameters. */\nexport interface GeneratedClientHealthStatusOptionalParams\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 GeneratedClientHealthStatusResponse = HealthcareJobState;\n\n/** Optional parameters. */\nexport interface GeneratedClientCancelHealthJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelHealthJob operation. */\nexport type GeneratedClientCancelHealthJobResponse = GeneratedClientCancelHealthJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientHealthOptionalParams\n 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 GeneratedClientHealthResponse = GeneratedClientHealthHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesRecognitionGeneralOptionalParams\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 GeneratedClientEntitiesRecognitionGeneralResponse = EntitiesResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesRecognitionPiiOptionalParams\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 GeneratedClientEntitiesRecognitionPiiResponse = PiiResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesLinkingOptionalParams\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 GeneratedClientEntitiesLinkingResponse = EntityLinkingResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientKeyPhrasesOptionalParams\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) 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 GeneratedClientKeyPhrasesResponse = KeyPhraseResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientLanguagesOptionalParams\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) 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 GeneratedClientLanguagesResponse = LanguageResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientSentimentOptionalParams\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 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 GeneratedClientSentimentResponse = 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.ServiceClient","coreClient.createSerializer","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","createSpanFunction","RestError","SpanStatusCode","__asyncDelegator","__asyncValues","serializer","createSerializer","healthStatusOperationSpec","analyzeStatusOperationSpec","PiiEntityDomain","isTokenCredential","bearerTokenAuthenticationPolicy","LroEngine","KnownInnerErrorCodeValue","KnownWarningCode","KnownHealthcareEntityCategory"],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;AAUO,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEK,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,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,qEAAoC,CAAA;IACpC,mEAAkC,CAAA;IAClC,iEAAgC,CAAA;AAClC,CAAC,EA3BWC,qCAA6B,KAA7BA,qCAA6B,QA2BxC;AAoCD;AACA,AAAA,IAAY,iBAsBX;AAtBD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,0EAAqD,CAAA;IACrD,kEAA6C,CAAA;IAC7C,sEAAiD,CAAA;IACjD,kEAA6C,CAAA;IAC7C,8DAAyC,CAAA;IACzC,0DAAqC,CAAA;IACrC,oEAA+C,CAAA;IAC/C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,oEAA+C,CAAA;IAC/C,4DAAuC,CAAA;IACvC,wDAAmC,CAAA;IACnC,gDAA2B,CAAA;IAC3B,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,wDAAmC,CAAA;IACnC,wDAAmC,CAAA;IACnC,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,8DAAyC,CAAA;AAC3C,CAAC,EAtBW,iBAAiB,KAAjB,iBAAiB,QAsB5B;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/constants.ts","../src/logger.ts","../src/util.ts","../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/transforms.ts","../src/lro.ts","../src/generated/operations/analyzeText.ts","../src/generated/generatedClient.ts","../src/azureKeyCredentialPolicy.ts","../src/textAnalysisClient.ts","../src/generated/models/index.ts","../src/models.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * The default AAD permissions scope for Cognitive Services.\n * @internal\n */\nexport const DEFAULT_COGNITIVE_SCOPE = \"https://cognitiveservices.azure.com/.default\";\n\n/**\n * @internal\n */\nexport const SDK_VERSION = \"6.0.0-beta.1\";\n\n/**\n * @internal\n */\nexport const clientName = \"TextAnalysisClient\";\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 { LanguageDetectionInput, TextDocumentInput } from \"./generated\";\nimport { TextAnalysisOperationOptions } from \"./models\";\nimport { logger } from \"./logger\";\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<U extends IdObject>(\n sortedArray: IdObject[],\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 /**\n * When the results are returned in pages, sortedArray will probably have more\n * items than unsortedArray so it is ok to ignore the case when a sorted item\n * ID is not found in `unsortedMap`.\n */\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\n/**\n * @internal\n */\nexport function isStringArray(documents: unknown[]): documents is string[] {\n return typeof documents[0] === \"string\";\n}\n\n/**\n * @internal\n */\nexport function convertToTextDocumentInput(\n inputs: string[],\n language?: string\n): 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 * @internal\n */\nexport function convertToLanguageDetectionInput(\n inputs: string[],\n countryHint?: string\n): LanguageDetectionInput[] {\n return inputs.map((text: string, index): LanguageDetectionInput => {\n return {\n id: String(index),\n countryHint,\n text,\n };\n });\n}\n\n/**\n * @internal\n */\nexport function getOperationOptions<OptionsT extends TextAnalysisOperationOptions>(\n options: OptionsT\n): {\n options: TextAnalysisOperationOptions;\n rest: Omit<\n OptionsT,\n | \"onResponse\"\n | \"abortSignal\"\n | \"apiVersion\"\n | \"includeStatistics\"\n | \"requestOptions\"\n | \"serializerOptions\"\n | \"tracingOptions\"\n >;\n} {\n const {\n abortSignal,\n apiVersion,\n includeStatistics,\n onResponse,\n requestOptions,\n serializerOptions,\n tracingOptions,\n ...rest\n } = options;\n return {\n options: {\n abortSignal,\n apiVersion,\n includeStatistics,\n onResponse,\n requestOptions,\n serializerOptions,\n tracingOptions,\n },\n rest,\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 const AnalyzeAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeAction\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: {\n serializedName: \"kind\",\n clientName: \"kind\"\n },\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator: {\n serializedName: \"kind\",\n clientName: \"kind\"\n },\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n required: true,\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: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n additionalProperties: { type: { name: \"Object\" } },\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 details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n },\n innererror: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"InnerErrorModel\"\n }\n }\n }\n }\n};\n\nexport const InnerErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InnerErrorModel\",\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: \"InnerErrorModel\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextJobsInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextJobsInput\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\"\n }\n },\n tasks: {\n serializedName: \"tasks\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AnalyzeBatchAction\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MultiLanguageAnalysisInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\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 BatchActionState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BatchActionState\",\n modelProperties: {\n actionName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const JobState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobState\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\n createdOn: {\n serializedName: \"createdDateTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n expiresOn: {\n serializedName: \"expirationDateTime\",\n type: {\n name: \"DateTime\"\n }\n },\n operationId: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n lastModifiedOn: {\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 \"partiallySucceeded\",\n \"failed\",\n \"cancelled\",\n \"cancelling\"\n ]\n }\n },\n errors: {\n serializedName: \"errors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\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 items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextLROResult\"\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 \"partiallySucceeded\",\n \"failed\",\n \"cancelled\",\n \"cancelling\"\n ]\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextJobStatistics: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextJobStatistics\",\n modelProperties: {\n statistics: {\n serializedName: \"statistics\",\n type: {\n name: \"Composite\",\n className: \"TextDocumentBatchStatistics\"\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 LanguageDetectionAnalysisInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionAnalysisInput\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionInput\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const LanguageDetectionInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionInput\",\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 ActionCommon: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ActionCommon\",\n modelProperties: {\n disableServiceLogs: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const PreBuiltResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PreBuiltResult\",\n modelProperties: {\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 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: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const CustomResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomResult\",\n modelProperties: {\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 projectName: {\n serializedName: \"projectName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deploymentName\",\n required: true,\n type: {\n name: \"String\"\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 DocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n warnings: {\n serializedName: \"warnings\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentWarning\"\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 DocumentWarning: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentWarning\",\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 ClassificationCategory: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ClassificationCategory\",\n modelProperties: {\n category: {\n serializedName: \"category\",\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 HealthcareEntity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntity\",\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 assertion: {\n serializedName: \"assertion\",\n type: {\n name: \"Composite\",\n className: \"HealthcareAssertion\"\n }\n },\n normalizedText: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n dataSources: {\n serializedName: \"links\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EntityDataSource\"\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 EntityDataSource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityDataSource\",\n modelProperties: {\n name: {\n serializedName: \"dataSource\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n entityId: {\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 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: \"AssessmentSentiment\"\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: \"TargetConfidenceScores\"\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 TargetConfidenceScores: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetConfidenceScores\",\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 AssessmentSentiment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AssessmentSentiment\",\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: \"TargetConfidenceScores\"\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 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 SummarySentence: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SummarySentence\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n rankScore: {\n serializedName: \"rankScore\",\n required: true,\n type: {\n name: \"Number\"\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 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 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 JobMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobMetadata\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\"\n }\n },\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 \"partiallySucceeded\",\n \"failed\",\n \"cancelled\",\n \"cancelling\"\n ]\n }\n }\n }\n }\n};\n\nexport const JobErrors: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"JobErrors\",\n modelProperties: {\n errors: {\n serializedName: \"errors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextEntityLinkingInput: coreClient.CompositeMapper = {\n serializedName: \"EntityLinking\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextEntityLinkingInput\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeAction.type.modelProperties,\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingAction\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextEntityRecognitionInput: coreClient.CompositeMapper = {\n serializedName: \"EntityRecognition\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextEntityRecognitionInput\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeAction.type.modelProperties,\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityRecognitionAction\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextKeyPhraseExtractionInput: coreClient.CompositeMapper = {\n serializedName: \"KeyPhraseExtraction\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextKeyPhraseExtractionInput\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeAction.type.modelProperties,\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseExtractionAction\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextPiiEntitiesRecognitionInput: coreClient.CompositeMapper = {\n serializedName: \"PiiEntityRecognition\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextPiiEntitiesRecognitionInput\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeAction.type.modelProperties,\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"PiiEntityRecognitionAction\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextLanguageDetectionInput: coreClient.CompositeMapper = {\n serializedName: \"LanguageDetection\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextLanguageDetectionInput\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeAction.type.modelProperties,\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionAnalysisInput\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionAction\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextSentimentAnalysisInput: coreClient.CompositeMapper = {\n serializedName: \"SentimentAnalysis\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextSentimentAnalysisInput\",\n uberParent: \"AnalyzeAction\",\n polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeAction.type.modelProperties,\n analysisInput: {\n serializedName: \"analysisInput\",\n type: {\n name: \"Composite\",\n className: \"MultiLanguageAnalysisInput\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisAction\"\n }\n }\n }\n }\n};\n\nexport const SentimentTaskResult: coreClient.CompositeMapper = {\n serializedName: \"SentimentAnalysisResults\",\n type: {\n name: \"Composite\",\n className: \"SentimentTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator:\n AnalyzeTextTaskResult.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextTaskResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"SentimentResponse\"\n }\n }\n }\n }\n};\n\nexport const EntitiesTaskResult: coreClient.CompositeMapper = {\n serializedName: \"EntityRecognitionResults\",\n type: {\n name: \"Composite\",\n className: \"EntitiesTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator:\n AnalyzeTextTaskResult.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextTaskResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"EntitiesResult\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTaskResult: coreClient.CompositeMapper = {\n serializedName: \"EntityLinkingResults\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator:\n AnalyzeTextTaskResult.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextTaskResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResult\"\n }\n }\n }\n }\n};\n\nexport const PiiTaskResult: coreClient.CompositeMapper = {\n serializedName: \"PiiEntityRecognitionResults\",\n type: {\n name: \"Composite\",\n className: \"PiiTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator:\n AnalyzeTextTaskResult.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextTaskResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"PiiResult\"\n }\n }\n }\n }\n};\n\nexport const KeyPhraseTaskResult: coreClient.CompositeMapper = {\n serializedName: \"KeyPhraseExtractionResults\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator:\n AnalyzeTextTaskResult.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextTaskResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResult\"\n }\n }\n }\n }\n};\n\nexport const LanguageDetectionTaskResult: coreClient.CompositeMapper = {\n serializedName: \"LanguageDetectionResults\",\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionTaskResult\",\n uberParent: \"AnalyzeTextTaskResult\",\n polymorphicDiscriminator:\n AnalyzeTextTaskResult.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextTaskResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionResult\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeBatchAction: coreClient.CompositeMapper = {\n serializedName: \"AnalyzeBatchAction\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeBatchAction\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: {\n serializedName: \"kind\",\n clientName: \"kind\"\n },\n modelProperties: {\n ...BatchActionState.type.modelProperties,\n kind: {\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextLROResult: coreClient.CompositeMapper = {\n serializedName: \"AnalyzeTextLROResult\",\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: {\n serializedName: \"kind\",\n clientName: \"kind\"\n },\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...BatchActionState.type.modelProperties,\n kind: {\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextJobState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextJobState\",\n modelProperties: {\n ...JobState.type.modelProperties,\n ...TasksState.type.modelProperties,\n ...AnalyzeTextJobStatistics.type.modelProperties\n }\n }\n};\n\nexport const ActionPrebuilt: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ActionPrebuilt\",\n modelProperties: {\n ...ActionCommon.type.modelProperties,\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"modelVersion\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ActionCustom: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ActionCustom\",\n modelProperties: {\n ...ActionCommon.type.modelProperties,\n projectName: {\n serializedName: \"projectName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deploymentName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HealthcareResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HealthcareResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SentimentResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentResponse\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SentimentResponseDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EntitiesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EntitiesResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EntityLinkingResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const PiiResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PiiResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ExtractiveSummarizationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const KeyPhraseResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const LanguageDetectionResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionResult\",\n modelProperties: {\n ...PreBuiltResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionDocumentResult\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CustomEntitiesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResult\",\n modelProperties: {\n ...CustomResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CustomSingleLabelClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationResult\",\n modelProperties: {\n ...CustomResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CustomMultiLabelClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationResult\",\n modelProperties: {\n ...CustomResult.type.modelProperties,\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationResultDocumentsItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EntitiesDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\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 }\n }\n};\n\nexport const SingleClassificationDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SingleClassificationDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\n classification: {\n serializedName: \"class\",\n type: {\n name: \"Composite\",\n className: \"ClassificationCategory\"\n }\n }\n }\n }\n};\n\nexport const MultiClassificationDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MultiClassificationDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\n classifications: {\n serializedName: \"class\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ClassificationCategory\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HealthcareEntitiesDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareEntitiesDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\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 fhirBundle: {\n serializedName: \"fhirBundle\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const SentimentDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\n sentiment: {\n serializedName: \"sentiment\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"positive\", \"neutral\", \"negative\", \"mixed\"]\n }\n },\n confidenceScores: {\n serializedName: \"confidenceScores\",\n type: {\n name: \"Composite\",\n className: \"SentimentConfidenceScores\"\n }\n },\n sentences: {\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 }\n }\n};\n\nexport const LinkedEntitiesDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LinkedEntitiesDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\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 }\n }\n};\n\nexport const PiiEntitiesDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiEntitiesDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\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 }\n }\n};\n\nexport const ExtractedSummaryDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractedSummaryDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\n sentences: {\n serializedName: \"sentences\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SummarySentence\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const KeyPhrasesDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\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 }\n }\n};\n\nexport const LanguageDetectionDocumentResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionDocumentResult\",\n modelProperties: {\n ...DocumentResult.type.modelProperties,\n detectedLanguage: {\n serializedName: \"detectedLanguage\",\n type: {\n name: \"Composite\",\n className: \"DetectedLanguage\"\n }\n }\n }\n }\n};\n\nexport const CustomEntitiesLROTask: coreClient.CompositeMapper = {\n serializedName: \"CustomEntityRecognition\",\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomEntityRecognitionAction\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleLabelClassificationLROTask: coreClient.CompositeMapper = {\n serializedName: \"CustomSingleLabelClassification\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationAction\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiLabelClassificationLROTask: coreClient.CompositeMapper = {\n serializedName: \"CustomMultiLabelClassification\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationAction\"\n }\n }\n }\n }\n};\n\nexport const HealthcareLROTask: coreClient.CompositeMapper = {\n serializedName: \"Healthcare\",\n type: {\n name: \"Composite\",\n className: \"HealthcareLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"HealthcareAction\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisLROTask: coreClient.CompositeMapper = {\n serializedName: \"SentimentAnalysis\",\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisAction\"\n }\n }\n }\n }\n};\n\nexport const EntitiesLROTask: coreClient.CompositeMapper = {\n serializedName: \"EntityRecognition\",\n type: {\n name: \"Composite\",\n className: \"EntitiesLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityRecognitionAction\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingLROTask: coreClient.CompositeMapper = {\n serializedName: \"EntityLinking\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingAction\"\n }\n }\n }\n }\n};\n\nexport const PiiLROTask: coreClient.CompositeMapper = {\n serializedName: \"PiiEntityRecognition\",\n type: {\n name: \"Composite\",\n className: \"PiiLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"PiiEntityRecognitionAction\"\n }\n }\n }\n }\n};\n\nexport const ExtractiveSummarizationLROTask: coreClient.CompositeMapper = {\n serializedName: \"ExtractiveSummarization\",\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationAction\"\n }\n }\n }\n }\n};\n\nexport const KeyPhraseLROTask: coreClient.CompositeMapper = {\n serializedName: \"KeyPhraseExtraction\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseLROTask\",\n uberParent: \"BatchActionState\",\n polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeBatchAction.type.modelProperties,\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseExtractionAction\"\n }\n }\n }\n }\n};\n\nexport const EntityRecognitionLROResult: coreClient.CompositeMapper = {\n serializedName: \"EntityRecognitionLROResults\",\n type: {\n name: \"Composite\",\n className: \"EntityRecognitionLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"EntitiesResult\"\n }\n }\n }\n }\n};\n\nexport const CustomEntityRecognitionLROResult: coreClient.CompositeMapper = {\n serializedName: \"CustomEntityRecognitionLROResults\",\n type: {\n name: \"Composite\",\n className: \"CustomEntityRecognitionLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResult\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleLabelClassificationLROResult: coreClient.CompositeMapper = {\n serializedName: \"CustomSingleLabelClassificationLROResults\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationResult\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiLabelClassificationLROResult: coreClient.CompositeMapper = {\n serializedName: \"CustomMultiLabelClassificationLROResults\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationResult\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingLROResult: coreClient.CompositeMapper = {\n serializedName: \"EntityLinkingLROResults\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResult\"\n }\n }\n }\n }\n};\n\nexport const PiiEntityRecognitionLROResult: coreClient.CompositeMapper = {\n serializedName: \"PiiEntityRecognitionLROResults\",\n type: {\n name: \"Composite\",\n className: \"PiiEntityRecognitionLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"PiiResult\"\n }\n }\n }\n }\n};\n\nexport const ExtractiveSummarizationLROResult: coreClient.CompositeMapper = {\n serializedName: \"ExtractiveSummarizationLROResults\",\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationResult\"\n }\n }\n }\n }\n};\n\nexport const HealthcareLROResult: coreClient.CompositeMapper = {\n serializedName: \"HealthcareLROResults\",\n type: {\n name: \"Composite\",\n className: \"HealthcareLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"HealthcareResult\"\n }\n }\n }\n }\n};\n\nexport const SentimentLROResult: coreClient.CompositeMapper = {\n serializedName: \"SentimentAnalysisLROResults\",\n type: {\n name: \"Composite\",\n className: \"SentimentLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"SentimentResponse\"\n }\n }\n }\n }\n};\n\nexport const KeyPhraseExtractionLROResult: coreClient.CompositeMapper = {\n serializedName: \"KeyPhraseExtractionLROResults\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseExtractionLROResult\",\n uberParent: \"TaskState\",\n polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,\n modelProperties: {\n ...AnalyzeTextLROResult.type.modelProperties,\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResult\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties,\n stringIndexType: {\n defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EntityRecognitionAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityRecognitionAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties,\n stringIndexType: {\n defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyPhraseExtractionAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhraseExtractionAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties\n }\n }\n};\n\nexport const PiiEntityRecognitionAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiEntityRecognitionAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties,\n domainFilter: {\n defaultValue: \"none\",\n serializedName: \"domain\",\n type: {\n name: \"String\"\n }\n },\n categoriesFilter: {\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 defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LanguageDetectionAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LanguageDetectionAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties\n }\n }\n};\n\nexport const SentimentAnalysisAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties,\n includeOpinionMining: {\n defaultValue: false,\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HealthcareAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties,\n fhirVersion: {\n serializedName: \"fhirVersion\",\n type: {\n name: \"String\"\n }\n },\n stringIndexType: {\n defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ExtractiveSummarizationAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationAction\",\n modelProperties: {\n ...ActionPrebuilt.type.modelProperties,\n maxSentenceCount: {\n defaultValue: 3,\n serializedName: \"sentenceCount\",\n type: {\n name: \"Number\"\n }\n },\n orderBy: {\n defaultValue: \"Offset\",\n serializedName: \"sortBy\",\n type: {\n name: \"String\"\n }\n },\n stringIndexType: {\n defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomEntityRecognitionAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntityRecognitionAction\",\n modelProperties: {\n ...ActionCustom.type.modelProperties,\n stringIndexType: {\n defaultValue: \"Utf16CodeUnit\",\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleLabelClassificationAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationAction\",\n modelProperties: {\n ...ActionCustom.type.modelProperties\n }\n }\n};\n\nexport const CustomMultiLabelClassificationAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationAction\",\n modelProperties: {\n ...ActionCustom.type.modelProperties\n }\n }\n};\n\nexport const CustomEntitiesResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResultDocumentsItem\",\n modelProperties: {\n ...EntitiesDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const EntitiesResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesResultDocumentsItem\",\n modelProperties: {\n ...EntitiesDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const CustomSingleLabelClassificationResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleLabelClassificationResultDocumentsItem\",\n modelProperties: {\n ...SingleClassificationDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const CustomMultiLabelClassificationResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiLabelClassificationResultDocumentsItem\",\n modelProperties: {\n ...MultiClassificationDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const HealthcareResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HealthcareResultDocumentsItem\",\n modelProperties: {\n ...HealthcareEntitiesDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const SentimentResponseDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentResponseDocumentsItem\",\n modelProperties: {\n ...SentimentDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const EntityLinkingResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingResultDocumentsItem\",\n modelProperties: {\n ...LinkedEntitiesDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const PiiResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiResultDocumentsItem\",\n modelProperties: {\n ...PiiEntitiesDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const ExtractiveSummarizationResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtractiveSummarizationResultDocumentsItem\",\n modelProperties: {\n ...ExtractedSummaryDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const KeyPhraseResultDocumentsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhraseResultDocumentsItem\",\n modelProperties: {\n ...KeyPhrasesDocumentResult.type.modelProperties\n }\n }\n};\n\nexport const AnalyzeTextSubmitJobHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextSubmitJobHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AnalyzeTextCancelJobHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnalyzeTextCancelJobHeaders\",\n modelProperties: {\n operationLocation: {\n serializedName: \"operation-location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport let discriminators = {\n AnalyzeAction: AnalyzeAction,\n AnalyzeTextTaskResult: AnalyzeTextTaskResult,\n \"AnalyzeAction.EntityLinking\": AnalyzeTextEntityLinkingInput,\n \"AnalyzeAction.EntityRecognition\": AnalyzeTextEntityRecognitionInput,\n \"AnalyzeAction.KeyPhraseExtraction\": AnalyzeTextKeyPhraseExtractionInput,\n \"AnalyzeAction.PiiEntityRecognition\": AnalyzeTextPiiEntitiesRecognitionInput,\n \"AnalyzeAction.LanguageDetection\": AnalyzeTextLanguageDetectionInput,\n \"AnalyzeAction.SentimentAnalysis\": AnalyzeTextSentimentAnalysisInput,\n \"AnalyzeTextTaskResult.SentimentAnalysisResults\": SentimentTaskResult,\n \"AnalyzeTextTaskResult.EntityRecognitionResults\": EntitiesTaskResult,\n \"AnalyzeTextTaskResult.EntityLinkingResults\": EntityLinkingTaskResult,\n \"AnalyzeTextTaskResult.PiiEntityRecognitionResults\": PiiTaskResult,\n \"AnalyzeTextTaskResult.KeyPhraseExtractionResults\": KeyPhraseTaskResult,\n \"AnalyzeTextTaskResult.LanguageDetectionResults\": LanguageDetectionTaskResult,\n \"BatchActionState.AnalyzeBatchAction\": AnalyzeBatchAction,\n \"TaskState.AnalyzeTextLROResult\": AnalyzeTextLROResult,\n \"BatchActionState.CustomEntityRecognition\": CustomEntitiesLROTask,\n \"BatchActionState.CustomSingleLabelClassification\": CustomSingleLabelClassificationLROTask,\n \"BatchActionState.CustomMultiLabelClassification\": CustomMultiLabelClassificationLROTask,\n \"BatchActionState.Healthcare\": HealthcareLROTask,\n \"BatchActionState.SentimentAnalysis\": SentimentAnalysisLROTask,\n \"BatchActionState.EntityRecognition\": EntitiesLROTask,\n \"BatchActionState.EntityLinking\": EntityLinkingLROTask,\n \"BatchActionState.PiiEntityRecognition\": PiiLROTask,\n \"BatchActionState.ExtractiveSummarization\": ExtractiveSummarizationLROTask,\n \"BatchActionState.KeyPhraseExtraction\": KeyPhraseLROTask,\n \"TaskState.EntityRecognitionLROResults\": EntityRecognitionLROResult,\n \"TaskState.CustomEntityRecognitionLROResults\": CustomEntityRecognitionLROResult,\n \"TaskState.CustomSingleLabelClassificationLROResults\": CustomSingleLabelClassificationLROResult,\n \"TaskState.CustomMultiLabelClassificationLROResults\": CustomMultiLabelClassificationLROResult,\n \"TaskState.EntityLinkingLROResults\": EntityLinkingLROResult,\n \"TaskState.PiiEntityRecognitionLROResults\": PiiEntityRecognitionLROResult,\n \"TaskState.ExtractiveSummarizationLROResults\": ExtractiveSummarizationLROResult,\n \"TaskState.HealthcareLROResults\": HealthcareLROResult,\n \"TaskState.SentimentAnalysisLROResults\": SentimentLROResult,\n \"TaskState.KeyPhraseExtractionLROResults\": KeyPhraseExtractionLROResult\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 AnalyzeAction as AnalyzeActionMapper,\n AnalyzeTextJobsInput as AnalyzeTextJobsInputMapper\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: \"body\",\n mapper: AnalyzeActionMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/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: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-04-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\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 body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: AnalyzeTextJobsInputMapper\n};\n\nexport const jobId: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n AnalyzeActionName,\n AnalyzeBatchResult,\n AnalyzeResult,\n CustomSingleLabelClassificationResult,\n CustomSingleLabelClassificationSuccessResult,\n EntityLinkingResult,\n EntityRecognitionResult,\n HealthcareEntity,\n HealthcareEntityRelation,\n HealthcareEntityRelationRole,\n HealthcareResult,\n HealthcareSuccessResult,\n KeyPhraseExtractionResult,\n LanguageDetectionResult,\n Opinion,\n PiiEntityRecognitionResult,\n SentenceSentiment,\n SentimentAnalysisResult,\n TextAnalysisError,\n TextAnalysisErrorResult,\n TextAnalysisSuccessResult,\n} from \"./models\";\nimport {\n AnalyzeResponse,\n AnalyzeTextLROResultUnion,\n AssessmentSentiment,\n CustomEntityRecognitionLROResult,\n CustomMultiLabelClassificationLROResult,\n CustomSingleLabelClassificationLROResult,\n DocumentError,\n EntitiesTaskResult,\n EntityLinkingLROResult,\n EntityLinkingTaskResult,\n EntityRecognitionLROResult,\n ErrorModel,\n ErrorResponse,\n ExtractiveSummarizationLROResult,\n CustomSingleLabelClassificationResult as GeneratedCustomSingleLabelClassificationResult,\n EntityLinkingResult as GeneratedEntityLinkingResult,\n EntitiesResult as GeneratedEntityRecognitionResult,\n HealthcareEntity as GeneratedHealthcareEntity,\n HealthcareResult as GeneratedHealthcareResult,\n KeyPhraseResult as GeneratedKeyPhraseExtractionResult,\n LanguageDetectionResult as GeneratedLanguageDetectionResult,\n PiiResult as GeneratedPiiEntityRecognitionResult,\n SentenceSentiment as GeneratedSentenceSentiment,\n SentimentResponse as GeneratedSentimentAnalysisResult,\n HealthcareEntitiesDocumentResult,\n HealthcareLROResult,\n HealthcareRelation,\n HealthcareRelationEntity,\n InnerErrorModel,\n KeyPhraseExtractionLROResult,\n KeyPhraseTaskResult,\n KnownAnalyzeTextLROResultsKind,\n LanguageDetectionInput,\n LanguageDetectionTaskResult,\n PiiEntityRecognitionLROResult,\n PiiTaskResult,\n SentenceTarget,\n SentimentLROResult,\n SentimentTaskResult,\n SingleClassificationDocumentResult,\n TargetRelation,\n TextDocumentInput,\n} from \"./generated\";\nimport {\n AssessmentIndex,\n parseAssessmentIndex,\n parseHealthcareEntityIndex,\n sortResponseIdObjects,\n} from \"./util\";\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\n/**\n * Helper function for converting nested service error to the unified\n * TextAnalysisError\n */\nfunction toTextAnalysisError(errorModel: ErrorModel | InnerErrorModel): TextAnalysisError {\n // Return the deepest error.\n if (errorModel.innererror !== undefined) {\n return toTextAnalysisError(errorModel.innererror);\n }\n\n return {\n ...errorModel,\n };\n}\n\nfunction makeTextAnalysisErrorResult(id: string, error: ErrorModel): TextAnalysisErrorResult {\n return {\n id,\n error: toTextAnalysisError(error),\n };\n}\n\n/**\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 options - an options bag that includes functions to process the results.\n */\nfunction transformDocumentResults<\n DocumentSuccess extends TextAnalysisSuccessResult,\n PublicDocumentSuccess extends TextAnalysisSuccessResult = DocumentSuccess,\n TError extends TextAnalysisErrorResult = TextAnalysisErrorResult\n>(\n input: TextDocumentInput[],\n response: {\n documents: DocumentSuccess[];\n errors: DocumentError[];\n },\n options?: {\n processSuccess?: (successResult: DocumentSuccess) => PublicDocumentSuccess;\n processError?: (id: string, error: ErrorModel) => TError;\n }\n): (PublicDocumentSuccess | TextAnalysisErrorResult)[] {\n const { processError = makeTextAnalysisErrorResult, processSuccess } = options || {};\n const successResults = processSuccess\n ? response.documents.map(processSuccess)\n : response.documents;\n const unsortedResults = (\n successResults as (PublicDocumentSuccess | TextAnalysisErrorResult)[]\n ).concat(response.errors.map((error) => processError(error.id, error.error)));\n\n return sortResponseIdObjects(input, unsortedResults);\n}\n\nfunction toLanguageDetectionResult(\n documents: LanguageDetectionInput[],\n results: GeneratedLanguageDetectionResult\n): LanguageDetectionResult[] {\n return transformDocumentResults(documents, results, {\n processSuccess: ({ detectedLanguage, ...rest }) => ({\n primaryLanguage: detectedLanguage,\n ...rest,\n }),\n });\n}\n\nfunction toPiiEntityRecognitionResult(\n documents: TextDocumentInput[],\n results: GeneratedPiiEntityRecognitionResult\n): PiiEntityRecognitionResult[] {\n return transformDocumentResults(documents, results);\n}\n\nfunction toSentimentAnalysisResult(\n documents: TextDocumentInput[],\n results: GeneratedSentimentAnalysisResult\n): SentimentAnalysisResult[] {\n return transformDocumentResults(documents, results, {\n processSuccess: ({ sentences, ...rest }) => ({\n ...rest,\n sentences: sentences.map((sentence) =>\n convertGeneratedSentenceSentiment(sentence, sentences)\n ),\n }),\n });\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 { targets, assessments: _, ...rest }: GeneratedSentenceSentiment,\n sentences: GeneratedSentenceSentiment[]\n): SentenceSentiment {\n return {\n ...rest,\n opinions:\n targets?.map(\n // eslint-disable-next-line @typescript-eslint/no-shadow\n ({ relations, ...rest }: SentenceTarget): Opinion => ({\n target: rest,\n assessments: relations\n .filter((relation) => relation.relationType === \"assessment\")\n .map((relation) => convertTargetRelationToAssessmentSentiment(relation, sentences)),\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 sentences: GeneratedSentenceSentiment[]\n): AssessmentSentiment {\n const assessmentPtr = targetRelation.ref;\n const assessmentIndex: AssessmentIndex = parseAssessmentIndex(assessmentPtr);\n const assessment =\n sentences?.[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\nfunction toEntityLinkingResult(\n documents: TextDocumentInput[],\n results: GeneratedEntityLinkingResult\n): EntityLinkingResult[] {\n return transformDocumentResults(documents, results);\n}\n\nfunction toKeyPhraseExtractionResult(\n documents: TextDocumentInput[],\n results: GeneratedKeyPhraseExtractionResult\n): KeyPhraseExtractionResult[] {\n return transformDocumentResults(documents, results);\n}\n\nfunction toEntityRecognitionResult(\n documents: TextDocumentInput[],\n results: GeneratedEntityRecognitionResult\n): EntityRecognitionResult[] {\n return transformDocumentResults(documents, results);\n}\n\n/**\n * @internal\n */\nexport function transformActionResult<ActionName extends AnalyzeActionName>(\n actionName: ActionName,\n input: TextDocumentInput[] | LanguageDetectionInput[],\n response: AnalyzeResponse\n): AnalyzeResult<AnalyzeActionName> {\n switch (response.kind) {\n case \"EntityLinkingResults\": {\n return toEntityLinkingResult(input, (response as EntityLinkingTaskResult).results);\n }\n case \"EntityRecognitionResults\": {\n return toEntityRecognitionResult(input, (response as EntitiesTaskResult).results);\n }\n case \"KeyPhraseExtractionResults\": {\n return toKeyPhraseExtractionResult(input, (response as KeyPhraseTaskResult).results);\n }\n case \"PiiEntityRecognitionResults\": {\n return toPiiEntityRecognitionResult(input, (response as PiiTaskResult).results);\n }\n case \"SentimentAnalysisResults\": {\n return toSentimentAnalysisResult(input, (response as SentimentTaskResult).results);\n }\n case \"LanguageDetectionResults\": {\n return toLanguageDetectionResult(input, (response as LanguageDetectionTaskResult).results);\n }\n default: {\n const __exhaust: never = response;\n throw new Error(`Unsupported results kind: ${__exhaust} for an action of type ${actionName}`);\n }\n }\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 */\nexport function 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: ErrorModel | InnerErrorModel): ErrorModel {\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 ErrorModel;\n }\n unwrap(topLevelError);\n return new RestError(errorMessage, {\n code,\n statusCode: strongErrorResponse.statusCode,\n });\n}\n\nfunction toHealthcareResult(\n documents: TextDocumentInput[],\n results: GeneratedHealthcareResult\n): HealthcareResult[] {\n function makeHealthcareEntity(entity: GeneratedHealthcareEntity): HealthcareEntity {\n const { dataSources, ...rest } = entity;\n return {\n dataSources: dataSources ?? [],\n ...rest,\n };\n }\n function makeHealthcareRelation(\n entities: HealthcareEntity[]\n ): (relation: HealthcareRelation) => HealthcareEntityRelation {\n return (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 return transformDocumentResults<HealthcareEntitiesDocumentResult, HealthcareSuccessResult>(\n documents,\n results,\n {\n processSuccess: ({ entities, relations, ...rest }) => {\n const newEntities = entities.map(makeHealthcareEntity);\n return {\n entities: newEntities,\n entityRelations: relations.map(makeHealthcareRelation(newEntities)),\n ...rest,\n };\n },\n }\n );\n}\n\nfunction toCustomSingleLabelClassificationResult(\n documents: TextDocumentInput[],\n results: GeneratedCustomSingleLabelClassificationResult\n): CustomSingleLabelClassificationResult[] {\n return transformDocumentResults<\n SingleClassificationDocumentResult,\n CustomSingleLabelClassificationSuccessResult\n >(documents, results, {\n processSuccess: ({ classification, ...rest }) => {\n return {\n classifications: [classification],\n ...rest,\n };\n },\n });\n}\n\n/**\n * @internal\n */\nexport function transformAnalyzeBatchResults(\n documents: TextDocumentInput[],\n response: AnalyzeTextLROResultUnion[] = []\n): AnalyzeBatchResult[] {\n return response.map((actionData) => {\n const { lastUpdateDateTime: completedOn, actionName, kind } = actionData;\n switch (kind as KnownAnalyzeTextLROResultsKind) {\n case \"SentimentAnalysisLROResults\": {\n const { results } = actionData as SentimentLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"SentimentAnalysis\",\n results: toSentimentAnalysisResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n case \"EntityRecognitionLROResults\": {\n const { results } = actionData as EntityRecognitionLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"EntityRecognition\",\n results: toEntityRecognitionResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n case \"PiiEntityRecognitionLROResults\": {\n const { results } = actionData as PiiEntityRecognitionLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"PiiEntityRecognition\",\n results: toPiiEntityRecognitionResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n case \"KeyPhraseExtractionLROResults\": {\n const { results } = actionData as KeyPhraseExtractionLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"KeyPhraseExtraction\",\n results: toKeyPhraseExtractionResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n case \"EntityLinkingLROResults\": {\n const { results } = actionData as EntityLinkingLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"EntityLinking\",\n results: toEntityLinkingResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n case \"HealthcareLROResults\": {\n const { results } = actionData as HealthcareLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"Healthcare\",\n results: toHealthcareResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n case \"CustomEntityRecognitionLROResults\": {\n const { results } = actionData as CustomEntityRecognitionLROResult;\n const { deploymentName, projectName, statistics } = results;\n return {\n kind: \"CustomEntityRecognition\",\n results: transformDocumentResults(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n deploymentName,\n projectName,\n };\n }\n case \"CustomSingleLabelClassificationLROResults\": {\n const { results } = actionData as CustomSingleLabelClassificationLROResult;\n const { deploymentName, projectName, statistics } = results;\n return {\n kind: \"CustomSingleLabelClassification\",\n results: toCustomSingleLabelClassificationResult(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n deploymentName,\n projectName,\n };\n }\n case \"CustomMultiLabelClassificationLROResults\": {\n const { results } = actionData as CustomMultiLabelClassificationLROResult;\n const { deploymentName, projectName, statistics } = results;\n return {\n kind: \"CustomMultiLabelClassification\",\n results: transformDocumentResults(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n deploymentName,\n projectName,\n };\n }\n case \"ExtractiveSummarizationLROResults\": {\n const { results } = actionData as ExtractiveSummarizationLROResult;\n const { modelVersion, statistics } = results;\n return {\n kind: \"ExtractiveSummarization\",\n results: transformDocumentResults(documents, results),\n completedOn,\n ...(actionName ? { actionName } : {}),\n ...(statistics ? { statistics } : {}),\n modelVersion,\n };\n }\n default: {\n throw new Error(`Unsupported results kind: ${kind}`);\n }\n }\n });\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport * as Mappers from \"./generated/models/mappers\";\nimport * as Parameters from \"./generated/models/parameters\";\nimport {\n AnalyzeBatchActionUnion,\n AnalyzeTextJobStatusOptionalParams,\n AnalyzeTextJobStatusResponse,\n GeneratedClient,\n TextDocumentInput,\n} from \"./generated\";\nimport { AnalyzeBatchOperationState, AnalyzeBatchResult, PagedAnalyzeBatchResult } from \"./models\";\nimport {\n FullOperationResponse,\n OperationOptions,\n OperationSpec,\n createSerializer,\n} from \"@azure/core-client\";\nimport { LongRunningOperation, LroResponse, RawResponse } from \"@azure/core-lro\";\nimport { PagedResult, getPagedAsyncIterator } from \"@azure/core-paging\";\nimport { transformAnalyzeBatchResults, transformError } from \"./transforms\";\nimport { HttpMethods } from \"@azure/core-rest-pipeline\";\nimport { TracingClient } from \"@azure/core-tracing\";\nimport { clientName } from \"./constants\";\nimport { logger } from \"./logger\";\n\nconst serializer = createSerializer(Mappers, /* isXml */ false);\n\nconst jobStatusOperationSpec: OperationSpec = {\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AnalyzeTextJobState,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n headerParameters: [Parameters.accept],\n queryParameters: [Parameters.top, Parameters.skip, Parameters.includeStatistics],\n serializer,\n};\n\nasync function getRawResponse<TOptions extends OperationOptions, TResponse>(\n getResponse: (options: TOptions) => Promise<TResponse>,\n options: TOptions\n): Promise<LroResponse<TResponse>> {\n const { onResponse } = options || {};\n let rawResponse: FullOperationResponse | undefined = undefined;\n const flatResponse = await getResponse({\n ...options,\n onResponse: (response: FullOperationResponse, flatResponseParam: unknown) => {\n rawResponse = response;\n onResponse?.(response, flatResponseParam);\n },\n });\n return {\n flatResponse,\n rawResponse: {\n statusCode: rawResponse!.status,\n headers: rawResponse!.headers.toJSON(),\n body: rawResponse!.parsedBody,\n },\n };\n}\n\nasync function sendRequest<TOptions extends OperationOptions>(settings: {\n client: GeneratedClient;\n tracing: TracingClient;\n spec: OperationSpec;\n spanStr: string;\n opOptions: TOptions;\n path: string;\n httpMethod?: HttpMethods;\n}): Promise<LroResponse<unknown>> {\n const { client, opOptions, path, spanStr, spec, tracing, httpMethod = \"GET\" } = settings;\n return tracing.withSpan(spanStr, opOptions, async (finalOptions: TOptions) => {\n try {\n const response = getRawResponse(\n (options) =>\n client.sendOperationRequest(\n { options },\n {\n ...spec,\n path,\n httpMethod,\n }\n ),\n finalOptions\n );\n return response;\n } catch (e: unknown) {\n throw transformError(e);\n }\n });\n}\n\n/**\n * @internal\n */\nexport function createSendPollRequest<TOptions extends OperationOptions>(settings: {\n client: GeneratedClient;\n tracing: TracingClient;\n options: TOptions;\n spanStr: string;\n}): (path: string) => Promise<LroResponse<unknown>> {\n const { client, options, tracing, spanStr } = settings;\n return async (path: string): Promise<LroResponse<unknown>> => {\n return throwTransformErrors(\n sendRequest({\n client,\n opOptions: options,\n path,\n spanStr,\n spec: jobStatusOperationSpec,\n tracing,\n })\n );\n };\n}\n\n/**\n * @internal\n */\nexport function createAnalyzeBatchLro(settings: {\n client: GeneratedClient;\n tracing: TracingClient;\n commonOptions: OperationOptions;\n initialRequestOptions: {\n displayName?: string;\n };\n pollRequestOptions: {\n includeStatistics?: boolean;\n };\n documents: TextDocumentInput[];\n tasks: AnalyzeBatchActionUnion[];\n}): LongRunningOperation<unknown> {\n const {\n client,\n commonOptions,\n documents,\n initialRequestOptions,\n pollRequestOptions,\n tasks,\n tracing,\n } = settings;\n return {\n requestMethod: \"POST\",\n requestPath: \"/analyze-text/jobs\",\n async sendInitialRequest(): Promise<LroResponse<unknown>> {\n return tracing.withSpan(\n `${clientName}.beginAnalyzeBatch`,\n {\n ...commonOptions,\n ...initialRequestOptions,\n },\n async (finalOptions) =>\n throwTransformErrors(\n getRawResponse(\n (paramOptions) =>\n client.analyzeText.submitJob(\n {\n tasks,\n analysisInput: {\n documents,\n },\n displayName: initialRequestOptions.displayName,\n },\n paramOptions\n ),\n finalOptions\n )\n )\n );\n },\n sendPollRequest: createSendPollRequest({\n client,\n options: { ...commonOptions, ...pollRequestOptions },\n spanStr: `${clientName}.beginAnalyzeBatch`,\n tracing,\n }),\n };\n}\n\n/**\n * @internal\n */\nexport function getDocsFromState(serializedState: string): TextDocumentInput[] {\n try {\n const { documents } = JSON.parse(serializedState).state;\n return documents;\n } catch (e) {\n logger.error(\n `Documents are not found in the LRO's state. The results may not be ordered correctly.`\n );\n return [];\n }\n}\n\n/**\n * @internal\n */\nexport function createCreateAnalyzeBatchPollerLro<OptionsT extends OperationOptions>(settings: {\n client: GeneratedClient;\n tracing: TracingClient;\n options: OptionsT;\n}): LongRunningOperation<unknown> {\n const { client, options, tracing } = settings;\n return {\n requestMethod: \"POST\",\n requestPath: \"/analyze-text/jobs\",\n async sendInitialRequest(): Promise<LroResponse<unknown>> {\n throw new Error(`The operation has already started`);\n },\n sendPollRequest: createSendPollRequest({\n client,\n options,\n spanStr: `${clientName}.beginAnalyzeBatch`,\n tracing,\n }),\n };\n}\n\n/**\n * @internal\n */\nexport function processAnalyzeResult(options: {\n client: GeneratedClient;\n tracing: TracingClient;\n documents: TextDocumentInput[];\n opOptions: AnalyzeTextJobStatusOptionalParams;\n continuationToken?: string;\n}): (result: unknown, state: AnalyzeBatchOperationState) => PagedAnalyzeBatchResult {\n return (_result: unknown, state: AnalyzeBatchOperationState): PagedAnalyzeBatchResult => {\n const { client, documents, opOptions, tracing, continuationToken } = options;\n const pageURL = continuationToken ?? (state as any).pollingURL;\n const pagedResult: PagedResult<AnalyzeBatchResult[]> = {\n firstPageLink: pageURL,\n getPage: async (pageLink: string, maxPageSize?: number) => {\n const response = await sendRequest({\n client,\n spec: jobStatusOperationSpec,\n spanStr: `${clientName}.beginAnalyzeBatch`,\n // if `top` is set to `undefined`, the default value will not be sent\n // as part of the request.\n opOptions: maxPageSize ? { ...opOptions, top: maxPageSize } : opOptions,\n path: pageLink,\n tracing,\n });\n const flatResponse = response.flatResponse as AnalyzeTextJobStatusResponse;\n return {\n page: transformAnalyzeBatchResults(documents, flatResponse.tasks.items),\n nextPageLink: flatResponse.nextLink,\n };\n },\n };\n return getPagedAsyncIterator(pagedResult);\n };\n}\n\ntype Writable<T> = {\n -readonly [P in keyof T]: T[P];\n};\n\n/**\n * @internal\n */\nexport function createUpdateAnalyzeState(documents?: TextDocumentInput[]) {\n return (state: AnalyzeBatchOperationState, lastResponse: RawResponse): void => {\n const { createdOn, lastModifiedOn, operationId, status, displayName, expiresOn, tasks } =\n lastResponse.body as AnalyzeTextJobStatusResponse;\n const mutableState = state as Writable<AnalyzeBatchOperationState> & {\n documents?: TextDocumentInput[];\n };\n mutableState.createdOn = createdOn;\n mutableState.lastModifiedOn = lastModifiedOn;\n mutableState.expiresOn = expiresOn;\n mutableState.displayName = displayName;\n mutableState.operationId = operationId;\n mutableState.status = status;\n mutableState.actionSucceededCount = tasks.completed;\n mutableState.actionFailedCount = tasks.failed;\n mutableState.actionInProgressCount = tasks.inProgress;\n if (mutableState.documents === undefined && documents !== undefined) {\n mutableState.documents = documents;\n }\n };\n}\n\nasync function throwTransformErrors<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 * @internal\n */\nexport function createCancelOperation(settings: {\n client: GeneratedClient;\n tracing: TracingClient;\n options: AnalyzeTextJobStatusOptionalParams;\n}): (state: AnalyzeBatchOperationState) => Promise<void> {\n return async ({ operationId }): Promise<void> => {\n const { client, options, tracing } = settings;\n await tracing.withSpan(`${clientName}.beginAnalyzeBatch`, options, async (finalOptions) =>\n throwTransformErrors(\n getRawResponse(\n (paramOptions) => client.analyzeText.cancelJob(operationId, paramOptions),\n finalOptions\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 { AnalyzeText } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { GeneratedClient } from \"../generatedClient\";\nimport {\n AnalyzeTextJobsInput,\n AnalyzeTextSubmitJobOptionalParams,\n AnalyzeTextSubmitJobResponse,\n AnalyzeTextJobStatusOptionalParams,\n AnalyzeTextJobStatusResponse,\n AnalyzeTextCancelJobOptionalParams,\n AnalyzeTextCancelJobResponse\n} from \"../models\";\n\n/** Class containing AnalyzeText operations. */\nexport class AnalyzeTextImpl implements AnalyzeText {\n private readonly client: GeneratedClient;\n\n /**\n * Initialize a new instance of the class AnalyzeText class.\n * @param client Reference to the service client\n */\n constructor(client: GeneratedClient) {\n this.client = client;\n }\n\n /**\n * Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed\n * as a long-running operation.\n * @param body Collection of documents to analyze and one or more tasks to execute.\n * @param options The options parameters.\n */\n submitJob(\n body: AnalyzeTextJobsInput,\n options?: AnalyzeTextSubmitJobOptionalParams\n ): Promise<AnalyzeTextSubmitJobResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n submitJobOperationSpec\n );\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 * succeeded, the job will transition to the succeeded state and results will be available for each\n * task.\n * @param jobId Job ID\n * @param options The options parameters.\n */\n jobStatus(\n jobId: string,\n options?: AnalyzeTextJobStatusOptionalParams\n ): Promise<AnalyzeTextJobStatusResponse> {\n return this.client.sendOperationRequest(\n { jobId, options },\n jobStatusOperationSpec\n );\n }\n\n /**\n * Cancel a long-running Text Analysis job.\n * @param jobId Job ID\n * @param options The options parameters.\n */\n cancelJob(\n jobId: string,\n options?: AnalyzeTextCancelJobOptionalParams\n ): Promise<AnalyzeTextCancelJobResponse> {\n return this.client.sendOperationRequest(\n { jobId, options },\n cancelJobOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst submitJobOperationSpec: coreClient.OperationSpec = {\n path: \"/analyze-text/jobs\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n headersMapper: Mappers.AnalyzeTextSubmitJobHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst jobStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/analyze-text/jobs/{jobId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AnalyzeTextJobState\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.includeStatistics,\n Parameters.top,\n Parameters.skip\n ],\n urlParameters: [Parameters.endpoint, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst cancelJobOperationSpec: coreClient.OperationSpec = {\n path: \"/analyze-text/jobs/{jobId}:cancel\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n headersMapper: Mappers.AnalyzeTextCancelJobHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\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 {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport { AnalyzeTextImpl } from \"./operations\";\nimport { AnalyzeText } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n GeneratedClientOptionalParams,\n AnalyzeActionUnion,\n AnalyzeOptionalParams,\n AnalyzeResponse\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 endpoint (e.g.,\n * https://<resource-name>.api.cognitiveservices.azure.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/6.0.0-beta.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: options.endpoint ?? options.baseUri ?? \"{Endpoint}/language\"\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 || \"2022-04-01-preview\";\n this.analyzeText = new AnalyzeTextImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return item.replace(/(?<==).*$/, apiVersion);\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Submit a collection of text documents for analysis. Specify a single unique task to be executed\n * immediately.\n * @param body Collection of documents to analyze and a single task to execute.\n * @param options The options parameters.\n */\n analyze(\n body: AnalyzeActionUnion,\n options?: AnalyzeOptionalParams\n ): Promise<AnalyzeResponse> {\n return this.sendOperationRequest({ body, options }, analyzeOperationSpec);\n }\n\n analyzeText: AnalyzeText;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst analyzeOperationSpec: coreClient.OperationSpec = {\n path: \"/:analyze-text\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AnalyzeTextTaskResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion, Parameters.includeStatistics],\n urlParameters: [Parameters.endpoint],\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 {\n PipelinePolicy,\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport { KeyCredential } from \"@azure/core-auth\";\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 {\n AnalyzeActionName,\n AnalyzeActionParameters,\n AnalyzeBatchAction,\n AnalyzeBatchOperationState,\n AnalyzeBatchPoller,\n AnalyzeResult,\n BeginAnalyzeBatchOptions,\n PagedAnalyzeBatchResult,\n RestoreAnalyzeBatchPollerOptions,\n TextAnalysisClientOptions,\n TextAnalysisOperationOptions,\n} from \"./models\";\nimport {\n AnalyzeBatchActionUnion,\n LanguageDetectionInput,\n TextDocumentInput,\n} from \"./generated/models\";\nimport { DEFAULT_COGNITIVE_SCOPE, SDK_VERSION } from \"./constants\";\nimport {\n InternalPipelineOptions,\n RestError,\n bearerTokenAuthenticationPolicy,\n} from \"@azure/core-rest-pipeline\";\nimport { KeyCredential, TokenCredential, isTokenCredential } from \"@azure/core-auth\";\nimport { LongRunningOperation, LroEngine } from \"@azure/core-lro\";\nimport { TracingClient, createTracingClient } from \"@azure/core-tracing\";\nimport {\n convertToLanguageDetectionInput,\n convertToTextDocumentInput,\n getOperationOptions,\n isStringArray,\n} from \"./util\";\nimport {\n createAnalyzeBatchLro,\n createCancelOperation,\n createCreateAnalyzeBatchPollerLro,\n createUpdateAnalyzeState,\n getDocsFromState,\n processAnalyzeResult,\n} from \"./lro\";\nimport { transformActionResult, transformError } from \"./transforms\";\nimport { GeneratedClient } from \"./generated/generatedClient\";\nimport { logger } from \"./logger\";\nimport { textAnalyticsAzureKeyCredentialPolicy } from \"./azureKeyCredentialPolicy\";\n\n/**\n * A client for interacting with the text analysis features in Azure Cognitive\n * Language Service.\n *\n * The client needs the endpoint of a Language resource and an authentication\n * method such as an API key or AAD. The API key and endpoint can be found in\n * the Language resource page in the Azure portal. They will be located in the\n * resource's Keys and Endpoint page, under Resource Management.\n *\n * ### Examples for authentication:\n *\n * #### API Key\n *\n * ```js\n * import { TextAnalysisClient, AzureKeyCredential } from \"@azure/ai-text-analytics\";\n *\n * const endpoint = \"https://<resource name>.cognitiveservices.azure.com\";\n * const credential = new AzureKeyCredential(\"<api key>\");\n *\n * const client = new TextAnalysisClient(endpoint, credential);\n * ```\n *\n * #### Azure Active Directory\n *\n * See the [`@azure/identity`](https://npmjs.com/package/\\@azure/identity)\n * package for more information about authenticating with Azure Active Directory.\n *\n * ```js\n * import { TextAnalysisClient } from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const endpoint = \"https://<resource name>.cognitiveservices.azure.com\";\n * const credential = new DefaultAzureCredential();\n *\n * const client = new TextAnalysisClient(endpoint, credential);\n * ```\n */\nexport class TextAnalysisClient {\n private readonly _client: GeneratedClient;\n private readonly _tracing: TracingClient;\n private readonly defaultCountryHint: string;\n private readonly defaultLanguage: string;\n\n /**\n * Creates an instance of TextAnalysisClient with the endpoint of a Language\n * resource and an authentication method such as an API key or AAD.\n *\n * The API key and endpoint can be found in the Language resource page in the\n * Azure portal. They will be located in the resource's Keys and Endpoint page,\n * under Resource Management.\n *\n * ### Example\n *\n * ```js\n * import { TextAnalysisClient, AzureKeyCredential } from \"@azure/ai-text-analytics\";\n *\n * const endpoint = \"https://<resource name>.cognitiveservices.azure.com\";\n * const credential = new AzureKeyCredential(\"<api key>\");\n *\n * const client = new TextAnalysisClient(endpoint, credential);\n * ```\n *\n * @param endpointUrl - The URL to the endpoint of a Cognitive Language Service resource\n * @param credential - Key credential to be used to authenticate requests to the service.\n * @param options - Used to configure the TextAnalytics client.\n */\n constructor(endpointUrl: string, credential: KeyCredential, options?: TextAnalysisClientOptions);\n /**\n * Creates an instance of TextAnalysisClient with the endpoint of a Language\n * resource and an authentication method such as an API key or AAD.\n *\n * The API key and endpoint can be found in the Language resource page in the\n * Azure portal. They will be located in the resource's Keys and Endpoint page,\n * under Resource Management.\n *\n * ### Example\n *\n * See the [`@azure/identity`](https://npmjs.com/package/\\@azure/identity)\n * package for more information about authenticating with Azure Active Directory.\n *\n * ```js\n * import { TextAnalysisClient } from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential } from \"@azure/identity\";\n *\n * const endpoint = \"https://<resource name>.cognitiveservices.azure.com\";\n * const credential = new DefaultAzureCredential();\n *\n * const client = new TextAnalysisClient(endpoint, credential);\n * ```\n *\n * @param endpointUrl - The URL to the endpoint of a Cognitive Language Service resource\n * @param credential - Token credential to be 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,\n options?: TextAnalysisClientOptions\n );\n constructor(\n endpointUrl: string,\n credential: TokenCredential | KeyCredential,\n options: TextAnalysisClientOptions = {}\n ) {\n const { defaultCountryHint = \"us\", defaultLanguage = \"en\", ...pipelineOptions } = options;\n this.defaultCountryHint = defaultCountryHint;\n this.defaultLanguage = defaultLanguage;\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(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 *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits}\n * for data limits.\n *\n * ### Examples\n *\n * #### Language detection\n *\n * ```js\n * const documents = [<input strings>];\n * const countryHint = \"us\";\n * const results = await client.analyze(\"LanguageDetection\", documents, countryHint);\n *\n * for (let i = 0; i < results.length; i++) {\n * const result = results[i];\n * if (result.error) {\n * // a document has an error instead of results\n * } else {\n * const { name, confidenceScore, iso6391Name } = result.primaryLanguage;\n * }\n * }\n * ```\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/language-detection/overview}\n * for more information on language detection.\n *\n * @param actionName - the name of the action to be performed on the input\n * documents, see ${@link AnalyzeActionName}\n * @param documents - the input documents to be analyzed\n * @param options - optional action parameters and settings for the operation\n *\n * @returns an array of results where each element contains the primary language\n * for the corresponding input document.\n */\n public async analyze<ActionName extends \"LanguageDetection\">(\n actionName: ActionName,\n documents: LanguageDetectionInput[],\n options?: AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions\n ): Promise<AnalyzeResult<ActionName>>;\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 *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits}\n * for data limits.\n *\n * ### Examples\n *\n * #### Language detection\n *\n * ```js\n * const documents = [<input strings>];\n * const countryHint = \"us\";\n * const results = await client.analyze(\"LanguageDetection\", documents, countryHint);\n *\n * for (const result of results) {\n * if (result.error) {\n * // a document has an error instead of results\n * } else {\n * const { name, confidenceScore, iso6391Name } = result.primaryLanguage;\n * }\n * }\n * ```\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/language-detection/overview}\n * for more information on language detection.\n *\n * @param actionName - the name of the action to be performed on the input\n * documents, see ${@link AnalyzeActionName}\n * @param documents - the input documents to be analyzed\n * @param countryHint - Indicates the country of origin for all of\n * the input strings to assist the model in predicting the language they are\n * written in. If unspecified, this value will be set to the default\n * country hint in `TextAnalysisClientOptions`. If set to an empty string,\n * or the string \"none\", the service will apply a model where the country is\n * explicitly unset. The same country hint is applied to all strings in the\n * input collection.\n * @param options - optional action parameters and settings for the operation\n *\n * @returns an array of results where each element contains the primary language\n * for the corresponding input document.\n */\n public async analyze<ActionName extends \"LanguageDetection\">(\n actionName: ActionName,\n documents: string[],\n countryHint?: string,\n options?: AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions\n ): Promise<AnalyzeResult<ActionName>>;\n /**\n * Runs a predictive model to perform the action of choice on the input\n * documents. See ${@link AnalyzeActionName} for a list of supported\n * actions.\n *\n * The layout of each item in the results array depends on the action chosen.\n * For example, each PIIEntityRecognition document result consists of both\n * `entities` and `redactedText` where the former is a list of all Pii entities\n * in the text and the latter is the original text after all such Pii entities\n * have been redacted from it.\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits}\n * for data limits.\n *\n * ### Examples\n *\n * #### Opinion mining\n *\n * ```js\n * const documents = [{\n * id: \"1\",\n * text: \"The food and service aren't the best\",\n * language: \"en\"\n * }];\n * const results = await client.analyze(\"SentimentAnalysis\", documents, {\n * includeOpinionMining: true,\n * });\n *\n * for (const result of results) {\n * if (result.error) {\n * // a document has an error instead of results\n * } else {\n * const { sentiment, confidenceScores, sentences } = result;\n * for (const { sentiment, confidenceScores, opinions } of sentences) {\n * for (const { target, assessments } of opinions) {\n * const { text, sentiment, confidenceScores } = target;\n * for (const { text, sentiment } of assessments) {\n * // Do something\n * }\n * }\n * }\n * }\n * }\n * ```\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview}\n * for more information on opinion mining.\n *\n * #### Personally identifiable information\n *\n * ```js\n * const documents = [<input documents>];\n * const categoriesFilter = [KnownPiiCategory.USSocialSecurityNumber];\n * const domainFilter = KnownPiiDomain.Phi;\n * const results = await client.analyze(\"PiiEntityRecognition\", documents, {\n * domainFilter, categoriesFilter\n * });\n *\n * for (const result of results) {\n * if (result.error) {\n * // a document has an error instead of results\n * } else {\n * const { entities, redactedText } = result;\n * for (const { text, category, confidenceScore, length, offset } of entities) {\n * // Do something\n * }\n * }\n * }\n * ```\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/personally-identifiable-information/overview}\n * for more information on personally identifiable information.\n *\n * @param actionName - the name of the action to be performed on the input\n * documents, see ${@link AnalyzeActionName}\n * @param documents - the input documents to be analyzed\n * @param options - optional action parameters and settings for the operation\n *\n * @returns an array of results corresponding to the input documents\n */\n public async analyze<ActionName extends AnalyzeActionName = AnalyzeActionName>(\n actionName: ActionName,\n documents: TextDocumentInput[],\n options?: AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions\n ): Promise<AnalyzeResult<ActionName>>;\n\n /**\n * Runs a predictive model to perform the action of choice on the input\n * strings. See ${@link AnalyzeActionName} for a list of supported\n * actions.\n *\n * The layout of each item in the results array depends on the action chosen.\n * For example, each PIIEntityRecognition document result consists of both\n * `entities` and `redactedText` where the former is a list of all Pii entities\n * in the text and the latter is the original text after all such Pii entities\n * have been redacted from it.\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits}\n * for data limits.\n *\n * ### Examples\n *\n * #### Opinion mining\n *\n * ```js\n * const documents = [\"The food and service aren't the best\"];\n * const results = await client.analyze(\"SentimentAnalysis\", documents, {\n * includeOpinionMining: true,\n * });\n *\n * for (const result of results) {\n * if (result.error) {\n * // a document has an error instead of results\n * } else {\n * const { sentiment, confidenceScores, sentences } = result;\n * for (const { sentiment, confidenceScores, opinions } of sentences) {\n * for (const { target, assessments } of opinions) {\n * const { text, sentiment, confidenceScores } = target;\n * for (const { text, sentiment } of assessments) {\n * // Do something\n * }\n * }\n * }\n * }\n * }\n * ```\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview}\n * for more information on opinion mining.\n *\n * #### Personally identifiable information\n *\n * ```js\n * const documents = [<input strings>];\n * const languageHint = \"en\";\n * const categoriesFilter = [KnownPiiCategory.USSocialSecurityNumber];\n * const domainFilter = KnownPiiDomain.Phi;\n * const results = await client.analyze(\"PiiEntityRecognition\", documents, languageHint, {\n * domainFilter, categoriesFilter\n * });\n *\n * for (const result of results) {\n * if (result.error) {\n * // a document has an error instead of results\n * } else {\n * const { entities, redactedText } = result;\n * for (const { text, category, confidenceScore, length, offset } of entities) {\n * // Do something\n * }\n * }\n * }\n * ```\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/personally-identifiable-information/overview}\n * for more information on personally identifiable information.\n *\n * @param actionName - the name of the action to be performed on the input\n * documents, see ${@link AnalyzeActionName}\n * @param documents - the input documents to be analyzed\n * @param languageCode - the code of the language that all the input strings are\n * written in. If unspecified, this value will be set to the default\n * language in `TextAnalysisClientOptions`. If set to an empty string,\n * the service will apply a model where the language is explicitly set to\n * \"None\". Language support varies per action, for example, more information\n * about the languages supported for Entity Recognition actions can be\n * found in {@link https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/language-support}\n * @param options - optional action parameters and settings for the operation\n *\n * @returns an array of results corresponding to the input documents\n */\n public async analyze<ActionName extends AnalyzeActionName = AnalyzeActionName>(\n actionName: ActionName,\n documents: string[],\n languageCode?: string,\n options?: AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions\n ): Promise<AnalyzeResult<ActionName>>;\n // implementation\n public async analyze<ActionName extends AnalyzeActionName = AnalyzeActionName>(\n actionName: ActionName,\n documents: string[] | LanguageDetectionInput[] | TextDocumentInput[],\n languageOrCountryHintOrOptions?:\n | string\n | (AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions),\n options?: AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions\n ): Promise<AnalyzeResult<ActionName>> {\n let realOptions: AnalyzeActionParameters<ActionName> & TextAnalysisOperationOptions;\n\n if (documents.length === 0) {\n throw new Error(\"'documents' must be a non-empty array\");\n }\n\n let realInputs: LanguageDetectionInput[] | TextDocumentInput[];\n if (isStringArray(documents)) {\n if (actionName === \"LanguageDetection\") {\n realInputs = convertToLanguageDetectionInput(\n documents,\n typeof languageOrCountryHintOrOptions === \"string\"\n ? languageOrCountryHintOrOptions\n : this.defaultCountryHint\n );\n } else {\n realInputs = convertToTextDocumentInput(\n documents,\n typeof languageOrCountryHintOrOptions === \"string\"\n ? languageOrCountryHintOrOptions\n : this.defaultLanguage\n );\n }\n realOptions = options || ({} as any);\n } else {\n realInputs = documents;\n realOptions =\n (languageOrCountryHintOrOptions as AnalyzeActionParameters<ActionName> &\n TextAnalysisOperationOptions) || {};\n }\n const { options: operationOptions, rest: action } = getOperationOptions(realOptions);\n return this._tracing.withSpan(\n \"TextAnalysisClient.analyze\",\n operationOptions,\n async (updatedOptions: TextAnalysisOperationOptions) => {\n try {\n const result = await this._client.analyze(\n {\n kind: actionName,\n analysisInput: {\n documents: realInputs,\n },\n parameters: action,\n } as any,\n updatedOptions\n );\n return transformActionResult(actionName, realInputs, result) as AnalyzeResult<ActionName>;\n } catch (e: unknown) {\n throw transformError(e as RestError);\n }\n }\n );\n }\n\n /**\n * Performs an array (batch) of actions on the input documents. Each action has\n * a `kind` field that specifies the nature of the action. See ${@link AnalyzeBatchActionNames}\n * for a list of supported actions. In addition to `kind`, actions could also\n * have other parameters such as `disableServiceLogs` and `modelVersion`.\n *\n * The results array contains the results for those input actions where each\n * item also has a `kind` field that specifies the type of the results.\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits}\n * for data limits.\n *\n * ### Examples\n *\n * #### Key phrase extraction and Pii entity recognition\n *\n * ```js\n * const poller = await client.beginAnalyzeBatch(\n * [{ kind: \"KeyPhraseExtraction\" }, { kind: \"PiiEntityRecognition\" }],\n * documents\n * );\n * const actionResults = await poller.pollUntilDone();\n *\n * for await (const actionResult of actionResults) {\n * if (actionResult.error) {\n * throw new Error(`Unexpected error`);\n * }\n * switch (actionResult.kind) {\n * case \"KeyPhraseExtraction\": {\n * for (const doc of actionResult.results) {\n * // do something\n * }\n * break;\n * }\n * case \"PiiEntityRecognition\": {\n * for (const doc of actionResult.results) {\n * // do something\n * }\n * break;\n * }\n * }\n * }\n * ```\n *\n * @param actions - an array of actions that will be run on the input documents\n * @param documents - the input documents to be analyzed\n * @param languageCode - the code of the language that all the input strings are\n * written in. If unspecified, this value will be set to the default\n * language in `TextAnalysisClientOptions`. If set to an empty string,\n * the service will apply a model where the language is explicitly set to\n * \"None\". Language support varies per action, for example, more information\n * about the languages supported for Entity Recognition actions can be\n * found in {@link https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/language-support}\n * @param options - optional settings for the operation\n *\n * @returns an array of results corresponding to the input actions\n */\n async beginAnalyzeBatch(\n actions: AnalyzeBatchAction[],\n documents: string[],\n languageCode?: string,\n options?: BeginAnalyzeBatchOptions\n ): Promise<AnalyzeBatchPoller>;\n /**\n * Performs an array (batch) of actions on the input documents. Each action has\n * a `kind` field that specifies the nature of the action. See ${@link AnalyzeBatchActionNames}\n * for a list of supported actions. In addition to `kind`, actions could also\n * have other parameters such as `disableServiceLogs` and `modelVersion`.\n *\n * The results array contains the results for those input actions where each\n * item also has a `kind` field that specifies the type of the results.\n *\n * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits}\n * for data limits.\n *\n * ### Examples\n *\n * #### Keyphrase extraction and Pii entity recognition\n *\n * ```js\n * const poller = await client.beginAnalyzeBatch(\n * [{ kind: \"KeyPhraseExtraction\" }, { kind: \"PiiEntityRecognition\" }],\n * documents\n * );\n * const actionResults = await poller.pollUntilDone();\n *\n * for await (const actionResult of actionResults) {\n * if (actionResult.error) {\n * throw new Error(`Unexpected error`);\n * }\n * switch (actionResult.kind) {\n * case \"KeyPhraseExtraction\": {\n * for (const doc of actionResult.results) {\n * // do something\n * }\n * break;\n * }\n * case \"PiiEntityRecognition\": {\n * for (const doc of actionResult.results) {\n * // do something\n * }\n * break;\n * }\n * }\n * }\n * ```\n *\n * @param actions - an array of actions that will be run on the input documents\n * @param documents - the input documents to be analyzed\n * @param options - optional settings for the operation\n *\n * @returns an array of results corresponding to the input actions\n */\n async beginAnalyzeBatch(\n actions: AnalyzeBatchAction[],\n documents: TextDocumentInput[],\n options?: BeginAnalyzeBatchOptions\n ): Promise<AnalyzeBatchPoller>;\n // implementation\n async beginAnalyzeBatch(\n actions: AnalyzeBatchAction[],\n documents: TextDocumentInput[] | string[],\n languageOrOptions?: BeginAnalyzeBatchOptions | string,\n options: BeginAnalyzeBatchOptions = {}\n ): Promise<AnalyzeBatchPoller> {\n let realOptions: BeginAnalyzeBatchOptions;\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 BeginAnalyzeBatchOptions;\n }\n const realActions = actions.map(\n ({ kind, actionName, ...rest }): AnalyzeBatchActionUnion => ({\n kind,\n actionName,\n parameters: rest,\n })\n );\n const { includeStatistics, updateIntervalInMs, displayName, ...rest } = realOptions;\n const lro = createAnalyzeBatchLro({\n client: this._client,\n commonOptions: rest,\n documents: realInputs,\n initialRequestOptions: { displayName },\n pollRequestOptions: { includeStatistics },\n tasks: realActions,\n tracing: this._tracing,\n });\n\n const poller = new LroEngine<PagedAnalyzeBatchResult, AnalyzeBatchOperationState>(\n lro as LongRunningOperation<PagedAnalyzeBatchResult>,\n {\n intervalInMs: updateIntervalInMs,\n processResult: processAnalyzeResult({\n client: this._client,\n tracing: this._tracing,\n documents: realInputs,\n opOptions: { ...rest, includeStatistics },\n }),\n updateState: createUpdateAnalyzeState(realInputs),\n cancel: createCancelOperation({\n client: this._client,\n tracing: this._tracing,\n options: rest,\n }),\n }\n );\n\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n *\n * @param serializedState - the serialized state of another poller. It is the\n * result of `poller.toString()`\n * @param options - optional settings for the operation\n *\n * # Example\n *\n * `client.beginAnalyzeBatch` returns a promise that will resolve to a poller.\n * The state of the poller can be serialized and used to create another as follows:\n *\n * ```js\n * const serializedState = poller.toString();\n * const rehydratedPoller = await client.createAnalyzeBatchPoller(serializedState);\n * const actionResults = await rehydratedPoller.pollUntilDone();\n * ```\n */\n async restoreAnalyzeBatchPoller(\n serializedState: string,\n options?: RestoreAnalyzeBatchPollerOptions\n ): Promise<AnalyzeBatchPoller>;\n // implementation\n async restoreAnalyzeBatchPoller(\n serializedState: string,\n options: RestoreAnalyzeBatchPollerOptions = {}\n ): Promise<AnalyzeBatchPoller> {\n const { includeStatistics, updateIntervalInMs, ...rest } = options;\n const documents = getDocsFromState(serializedState);\n const lro = createCreateAnalyzeBatchPollerLro({\n client: this._client,\n options: { ...rest, includeStatistics },\n tracing: this._tracing,\n });\n\n const poller = new LroEngine<PagedAnalyzeBatchResult, AnalyzeBatchOperationState>(\n lro as LongRunningOperation<PagedAnalyzeBatchResult>,\n {\n intervalInMs: updateIntervalInMs,\n resumeFrom: serializedState,\n processResult: processAnalyzeResult({\n client: this._client,\n tracing: this._tracing,\n documents,\n opOptions: { ...rest, includeStatistics },\n }),\n updateState: createUpdateAnalyzeState(),\n cancel: createCancelOperation({\n client: this._client,\n tracing: this._tracing,\n options: rest,\n }),\n }\n );\n\n await poller.poll();\n return poller;\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 type AnalyzeActionUnion =\n | AnalyzeAction\n | AnalyzeTextEntityLinkingInput\n | AnalyzeTextEntityRecognitionInput\n | AnalyzeTextKeyPhraseExtractionInput\n | AnalyzeTextPiiEntitiesRecognitionInput\n | AnalyzeTextLanguageDetectionInput\n | AnalyzeTextSentimentAnalysisInput;\nexport type AnalyzeTextTaskResultUnion =\n | AnalyzeTextTaskResult\n | SentimentTaskResult\n | EntitiesTaskResult\n | EntityLinkingTaskResult\n | PiiTaskResult\n | KeyPhraseTaskResult\n | LanguageDetectionTaskResult;\nexport type AnalyzeBatchActionUnion =\n | AnalyzeBatchAction\n | CustomEntitiesLROTask\n | CustomSingleLabelClassificationLROTask\n | CustomMultiLabelClassificationLROTask\n | HealthcareLROTask\n | SentimentAnalysisLROTask\n | EntitiesLROTask\n | EntityLinkingLROTask\n | PiiLROTask\n | ExtractiveSummarizationLROTask\n | KeyPhraseLROTask;\nexport type AnalyzeTextLROResultUnion =\n | AnalyzeTextLROResult\n | EntityRecognitionLROResult\n | CustomEntityRecognitionLROResult\n | CustomSingleLabelClassificationLROResult\n | CustomMultiLabelClassificationLROResult\n | EntityLinkingLROResult\n | PiiEntityRecognitionLROResult\n | ExtractiveSummarizationLROResult\n | HealthcareLROResult\n | SentimentLROResult\n | KeyPhraseExtractionLROResult;\n\nexport interface AnalyzeAction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"EntityLinking\"\n | \"EntityRecognition\"\n | \"KeyPhraseExtraction\"\n | \"PiiEntityRecognition\"\n | \"LanguageDetection\"\n | \"SentimentAnalysis\";\n}\n\nexport interface AnalyzeTextTaskResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"SentimentAnalysisResults\"\n | \"EntityRecognitionResults\"\n | \"EntityLinkingResults\"\n | \"PiiEntityRecognitionResults\"\n | \"KeyPhraseExtractionResults\"\n | \"LanguageDetectionResults\";\n}\n\n/** Error response. */\nexport interface ErrorResponse {\n /** The error object. */\n error: ErrorModel;\n}\n\n/** The error object. */\nexport interface ErrorModel {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** One of a server-defined set of error codes. */\n code: ErrorCode;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorModel[];\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\n/** An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. */\nexport interface InnerErrorModel {\n /** One of a server-defined set of error codes. */\n code: InnerErrorCode;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\nexport interface AnalyzeTextJobsInput {\n /** Optional display name for the analysis job. */\n displayName?: string;\n analysisInput: MultiLanguageAnalysisInput;\n /** The set of tasks to execute on the input documents. */\n tasks: AnalyzeBatchActionUnion[];\n}\n\nexport interface MultiLanguageAnalysisInput {\n documents?: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Language 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\n/** The State of a batched action */\nexport interface BatchActionState {\n /** The name of the action */\n actionName?: string;\n}\n\nexport interface JobState {\n displayName?: string;\n createdOn: Date;\n expiresOn?: Date;\n operationId: string;\n lastModifiedOn: Date;\n status: OperationStatus;\n errors?: ErrorModel[];\n nextLink?: 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 items?: AnalyzeTextLROResultUnion[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeTextJobStatistics {\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\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 LanguageDetectionAnalysisInput {\n documents?: LanguageDetectionInput[];\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 Language predictive model in detecting the document's language. */\nexport interface LanguageDetectionInput {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Full text of the input document. */\n text: string;\n /** A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\n countryHint?: string;\n}\n\n/** Configuration common to all actions. */\nexport interface ActionCommon {\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Cognitive Language Service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, disables in logging and may limit our ability to remediate issues that occur.\n *\n * Default is false.\n */\n disableServiceLogs?: boolean;\n}\n\nexport interface PreBuiltResult {\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 DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: ErrorModel;\n}\n\nexport interface CustomResult {\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 the project name for the model. */\n projectName: string;\n /** This field indicates the deployment name for the model. */\n deploymentName: string;\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 Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories . */\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\nexport interface DocumentResult {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Warnings encountered while processing document. */\n warnings: DocumentWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface DocumentWarning {\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\n/** A classification result from a custom classify document single category action */\nexport interface ClassificationCategory {\n /** Classification type. */\n category: string;\n /** Confidence score between 0 and 1 of the recognized class. */\n confidenceScore: number;\n}\n\nexport interface HealthcareEntity {\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 /** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n normalizedText?: string;\n /** Entity references in known data sources. */\n dataSources?: EntityDataSource[];\n}\n\n/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\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\n/** A type representing a reference for the healthcare entity into a specific entity catalog. */\nexport interface EntityDataSource {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n name: string;\n /** Entity id in the given source catalog. */\n entityId: 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\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, seehttps://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview. */\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?: AssessmentSentiment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScores;\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 TargetConfidenceScores {\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\n/** An object that contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence \"The food is good\", the assessment of the target 'food' is 'good'. */\nexport interface AssessmentSentiment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScores;\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\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 Language 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\n/** A sentence that is part of the extracted summary. */\nexport interface SummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\n/** Information about the language of a document as identified by the Language 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 Pagination {\n nextLink?: string;\n}\n\nexport interface JobMetadata {\n displayName?: string;\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface JobErrors {\n errors?: ErrorModel[];\n}\n\nexport type AnalyzeTextEntityLinkingInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinking\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\nexport type AnalyzeTextEntityRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\nexport type AnalyzeTextKeyPhraseExtractionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtraction\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type AnalyzeTextPiiEntitiesRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\nexport type AnalyzeTextLanguageDetectionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetection\";\n analysisInput?: LanguageDetectionAnalysisInput;\n /** Options for a language detection action. */\n parameters?: LanguageDetectionAction;\n};\n\nexport type AnalyzeTextSentimentAnalysisInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysis\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\nexport type SentimentTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysisResults\";\n results: SentimentResponse;\n};\n\nexport type EntitiesTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognitionResults\";\n results: EntitiesResult;\n};\n\nexport type EntityLinkingTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinkingResults\";\n results: EntityLinkingResult;\n};\n\nexport type PiiTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognitionResults\";\n results: PiiResult;\n};\n\nexport type KeyPhraseTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtractionResults\";\n results: KeyPhraseResult;\n};\n\nexport type LanguageDetectionTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetectionResults\";\n results: LanguageDetectionResult;\n};\n\nexport type AnalyzeBatchAction = BatchActionState & {\n /** Enumeration of supported long-running Text Analysis tasks. */\n kind: AnalyzeTextLROTaskKind;\n};\n\nexport type AnalyzeTextLROResult = TaskState &\n BatchActionState & {\n /** Enumeration of supported Text Analysis long-running operation task results. */\n kind: AnalyzeTextLROResultsKind;\n };\n\nexport type AnalyzeTextJobState = JobState &\n TasksState &\n AnalyzeTextJobStatistics;\n\n/** Configuration common to all actions that use prebuilt models. */\nexport type ActionPrebuilt = ActionCommon & {\n /** The version of the model to be used by the action. */\n modelVersion?: string;\n};\n\n/** Parameters object for a text analysis task using custom models. */\nexport type ActionCustom = ActionCommon & {\n projectName: string;\n deploymentName: string;\n};\n\nexport type HealthcareResult = PreBuiltResult & {\n documents: HealthcareResultDocumentsItem[];\n};\n\nexport type SentimentResponse = PreBuiltResult & {\n /** Sentiment analysis per document. */\n documents: SentimentResponseDocumentsItem[];\n};\n\nexport type EntitiesResult = PreBuiltResult & {\n /** Response by document */\n documents: EntitiesResultDocumentsItem[];\n};\n\nexport type EntityLinkingResult = PreBuiltResult & {\n /** Response by document */\n documents: EntityLinkingResultDocumentsItem[];\n};\n\nexport type PiiResult = PreBuiltResult & {\n /** Response by document */\n documents: PiiResultDocumentsItem[];\n};\n\nexport type ExtractiveSummarizationResult = PreBuiltResult & {\n /** Response by document */\n documents: ExtractiveSummarizationResultDocumentsItem[];\n};\n\nexport type KeyPhraseResult = PreBuiltResult & {\n /** Response by document */\n documents: KeyPhraseResultDocumentsItem[];\n};\n\nexport type LanguageDetectionResult = PreBuiltResult & {\n /** Response by document */\n documents: LanguageDetectionDocumentResult[];\n};\n\nexport type CustomEntitiesResult = CustomResult & {\n /** Response by document */\n documents: CustomEntitiesResultDocumentsItem[];\n};\n\nexport type CustomSingleLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomSingleLabelClassificationResultDocumentsItem[];\n};\n\nexport type CustomMultiLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomMultiLabelClassificationResultDocumentsItem[];\n};\n\nexport type EntitiesDocumentResult = DocumentResult & {\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type SingleClassificationDocumentResult = DocumentResult & {\n /** A classification result from a custom classify document single category action */\n classification: ClassificationCategory;\n};\n\nexport type MultiClassificationDocumentResult = DocumentResult & {\n classifications: ClassificationCategory[];\n};\n\nexport type HealthcareEntitiesDocumentResult = DocumentResult & {\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** JSON bundle containing a FHIR compatible object for consumption in other Healthcare tools. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirBundle?: { [propertyName: string]: any };\n};\n\nexport type SentimentDocumentResult = DocumentResult & {\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentences: SentenceSentiment[];\n};\n\nexport type LinkedEntitiesDocumentResult = DocumentResult & {\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n};\n\nexport type PiiEntitiesDocumentResult = DocumentResult & {\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type ExtractedSummaryDocumentResult = DocumentResult & {\n /** A ranked list of sentences representing the extracted summary. */\n sentences: SummarySentence[];\n};\n\nexport type KeyPhrasesDocumentResult = DocumentResult & {\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};\n\nexport type LanguageDetectionDocumentResult = DocumentResult & {\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n};\n\n/** Use custom models to ease the process of information extraction from unstructured documents like contracts or financial documents */\nexport type CustomEntitiesLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Custom Entities task. */\n parameters?: CustomEntityRecognitionAction;\n};\n\n/** Use custom models to classify text into single label taxonomy */\nexport type CustomSingleLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a single-label classification custom action */\n parameters?: CustomSingleLabelClassificationAction;\n};\n\n/** Use custom models to classify text into multi label taxonomy */\nexport type CustomMultiLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a multi-label classification custom action */\n parameters?: CustomMultiLabelClassificationAction;\n};\n\nexport type HealthcareLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Healthcare task. */\n parameters?: HealthcareAction;\n};\n\n/** An object representing the task definition for a Sentiment Analysis task. */\nexport type SentimentAnalysisLROTask = AnalyzeBatchAction & {\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\n/** An object representing the task definition for an Entities Recognition task. */\nexport type EntitiesLROTask = AnalyzeBatchAction & {\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Entity Linking task. */\nexport type EntityLinkingLROTask = AnalyzeBatchAction & {\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\n/** An object representing the task definition for a PII Entities Recognition task. */\nexport type PiiLROTask = AnalyzeBatchAction & {\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Extractive Summarization task. */\nexport type ExtractiveSummarizationLROTask = AnalyzeBatchAction & {\n /** Supported parameters for an Extractive Summarization task. */\n parameters?: ExtractiveSummarizationAction;\n};\n\n/** An object representing the task definition for a Key Phrase Extraction task. */\nexport type KeyPhraseLROTask = AnalyzeBatchAction & {\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type EntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: EntitiesResult;\n};\n\nexport type CustomEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: CustomEntitiesResult;\n};\n\nexport type CustomSingleLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomSingleLabelClassificationResult;\n};\n\nexport type CustomMultiLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomMultiLabelClassificationResult;\n};\n\nexport type EntityLinkingLROResult = AnalyzeTextLROResult & {\n results: EntityLinkingResult;\n};\n\nexport type PiiEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: PiiResult;\n};\n\nexport type ExtractiveSummarizationLROResult = AnalyzeTextLROResult & {\n results: ExtractiveSummarizationResult;\n};\n\nexport type HealthcareLROResult = AnalyzeTextLROResult & {\n results: HealthcareResult;\n};\n\nexport type SentimentLROResult = AnalyzeTextLROResult & {\n results: SentimentResponse;\n};\n\nexport type KeyPhraseExtractionLROResult = AnalyzeTextLROResult & {\n results: KeyPhraseResult;\n};\n\n/** Options for an entity linking action. */\nexport type EntityLinkingAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for an entity recognition action. */\nexport type EntityRecognitionAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a key phrase recognition action. */\nexport type KeyPhraseExtractionAction = ActionPrebuilt;\n\n/** Options for a Pii entity recognition action. */\nexport type PiiEntityRecognitionAction = ActionPrebuilt & {\n /**\n * Filters entities to ones only included in the specified domain (e.g., if set to `Phi`, only entities in the Protected Healthcare Information domain will be returned). For a list of possible domains, see {@link PiiDomain}.\n *\n * See {@link https://aka.ms/tanerpii the service documentation} for more information.\n */\n domainFilter?: PiiDomain;\n /** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */\n categoriesFilter?: PiiCategory[];\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a language detection action. */\nexport type LanguageDetectionAction = ActionPrebuilt;\n\n/** Options for a sentiment analysis action. */\nexport type SentimentAnalysisAction = ActionPrebuilt & {\n /** Enables performing opinion mining on the input documents, a more granular analysis around the aspects of a product or service (also known as aspect-based sentiment analysis). If set to true, {@link SentenceSentiment.opinions} will contain the results of this analysis. See {@link https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview#opinion-mining the service documentation} for more information. */\n includeOpinionMining?: boolean;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Healthcare task. */\nexport type HealthcareAction = ActionPrebuilt & {\n /** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirVersion?: FhirVersion;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for an Extractive Summarization task. */\nexport type ExtractiveSummarizationAction = ActionPrebuilt & {\n maxSentenceCount?: number;\n /** The sorting criteria to use for the results of Extractive Summarization. */\n orderBy?: ExtractiveSummarizationOrderingCriteria;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Custom Entities task. */\nexport type CustomEntityRecognitionAction = ActionCustom & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a single-label classification custom action */\nexport type CustomSingleLabelClassificationAction = ActionCustom;\n\n/** Options for a multi-label classification custom action */\nexport type CustomMultiLabelClassificationAction = ActionCustom;\n\nexport type CustomEntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type EntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type CustomSingleLabelClassificationResultDocumentsItem = SingleClassificationDocumentResult;\n\nexport type CustomMultiLabelClassificationResultDocumentsItem = MultiClassificationDocumentResult;\n\nexport type HealthcareResultDocumentsItem = HealthcareEntitiesDocumentResult;\n\nexport type SentimentResponseDocumentsItem = SentimentDocumentResult;\n\nexport type EntityLinkingResultDocumentsItem = LinkedEntitiesDocumentResult;\n\nexport type PiiResultDocumentsItem = PiiEntitiesDocumentResult;\n\nexport type ExtractiveSummarizationResultDocumentsItem = ExtractedSummaryDocumentResult;\n\nexport type KeyPhraseResultDocumentsItem = KeyPhrasesDocumentResult;\n\n/** Defines headers for AnalyzeText_submitJob operation. */\nexport interface AnalyzeTextSubmitJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for AnalyzeText_cancelJob operation. */\nexport interface AnalyzeTextCancelJobHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n LanguageDetection = \"LanguageDetection\",\n EntityLinking = \"EntityLinking\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskKind. \\\n * {@link KnownAnalyzeTextTaskKind} can be used interchangeably with AnalyzeTextTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **LanguageDetection** \\\n * **EntityLinking**\n */\nexport type AnalyzeTextTaskKind = string;\n\n/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskResultsKind {\n SentimentAnalysisResults = \"SentimentAnalysisResults\",\n EntityRecognitionResults = \"EntityRecognitionResults\",\n PiiEntityRecognitionResults = \"PiiEntityRecognitionResults\",\n KeyPhraseExtractionResults = \"KeyPhraseExtractionResults\",\n LanguageDetectionResults = \"LanguageDetectionResults\",\n EntityLinkingResults = \"EntityLinkingResults\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskResultsKind. \\\n * {@link KnownAnalyzeTextTaskResultsKind} can be used interchangeably with AnalyzeTextTaskResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisResults** \\\n * **EntityRecognitionResults** \\\n * **PiiEntityRecognitionResults** \\\n * **KeyPhraseExtractionResults** \\\n * **LanguageDetectionResults** \\\n * **EntityLinkingResults**\n */\nexport type AnalyzeTextTaskResultsKind = string;\n\n/** Known values of {@link ErrorCode} that the service accepts. */\nexport enum KnownErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n Unauthorized = \"Unauthorized\",\n Forbidden = \"Forbidden\",\n NotFound = \"NotFound\",\n ProjectNotFound = \"ProjectNotFound\",\n OperationNotFound = \"OperationNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchIndexNotFound = \"AzureCognitiveSearchIndexNotFound\",\n TooManyRequests = \"TooManyRequests\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n AzureCognitiveSearchIndexLimitReached = \"AzureCognitiveSearchIndexLimitReached\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\"\n}\n\n/**\n * Defines values for ErrorCode. \\\n * {@link KnownErrorCode} can be used interchangeably with ErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **Unauthorized** \\\n * **Forbidden** \\\n * **NotFound** \\\n * **ProjectNotFound** \\\n * **OperationNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchIndexNotFound** \\\n * **TooManyRequests** \\\n * **AzureCognitiveSearchThrottling** \\\n * **AzureCognitiveSearchIndexLimitReached** \\\n * **InternalServerError** \\\n * **ServiceUnavailable**\n */\nexport type ErrorCode = string;\n\n/** Known values of {@link InnerErrorCode} that the service accepts. */\nexport enum KnownInnerErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidParameterValue = \"InvalidParameterValue\",\n KnowledgeBaseNotFound = \"KnowledgeBaseNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n ExtractionFailure = \"ExtractionFailure\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputDocuments = \"MissingInputDocuments\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCode. \\\n * {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidParameterValue** \\\n * **KnowledgeBaseNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchThrottling** \\\n * **ExtractionFailure** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputDocuments** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCode = string;\n\n/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n EntityLinking = \"EntityLinking\",\n Healthcare = \"Healthcare\",\n ExtractiveSummarization = \"ExtractiveSummarization\",\n CustomEntityRecognition = \"CustomEntityRecognition\",\n CustomSingleLabelClassification = \"CustomSingleLabelClassification\",\n CustomMultiLabelClassification = \"CustomMultiLabelClassification\"\n}\n\n/**\n * Defines values for AnalyzeTextLROTaskKind. \\\n * {@link KnownAnalyzeTextLROTaskKind} can be used interchangeably with AnalyzeTextLROTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **EntityLinking** \\\n * **Healthcare** \\\n * **ExtractiveSummarization** \\\n * **CustomEntityRecognition** \\\n * **CustomSingleLabelClassification** \\\n * **CustomMultiLabelClassification**\n */\nexport type AnalyzeTextLROTaskKind = string;\n\n/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROResultsKind {\n SentimentAnalysisLROResults = \"SentimentAnalysisLROResults\",\n EntityRecognitionLROResults = \"EntityRecognitionLROResults\",\n PiiEntityRecognitionLROResults = \"PiiEntityRecognitionLROResults\",\n KeyPhraseExtractionLROResults = \"KeyPhraseExtractionLROResults\",\n EntityLinkingLROResults = \"EntityLinkingLROResults\",\n HealthcareLROResults = \"HealthcareLROResults\",\n ExtractiveSummarizationLROResults = \"ExtractiveSummarizationLROResults\",\n CustomEntityRecognitionLROResults = \"CustomEntityRecognitionLROResults\",\n CustomSingleLabelClassificationLROResults = \"CustomSingleLabelClassificationLROResults\",\n CustomMultiLabelClassificationLROResults = \"CustomMultiLabelClassificationLROResults\"\n}\n\n/**\n * Defines values for AnalyzeTextLROResultsKind. \\\n * {@link KnownAnalyzeTextLROResultsKind} can be used interchangeably with AnalyzeTextLROResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisLROResults** \\\n * **EntityRecognitionLROResults** \\\n * **PiiEntityRecognitionLROResults** \\\n * **KeyPhraseExtractionLROResults** \\\n * **EntityLinkingLROResults** \\\n * **HealthcareLROResults** \\\n * **ExtractiveSummarizationLROResults** \\\n * **CustomEntityRecognitionLROResults** \\\n * **CustomSingleLabelClassificationLROResults** \\\n * **CustomMultiLabelClassificationLROResults**\n */\nexport type AnalyzeTextLROResultsKind = string;\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 TextElementsV8 = \"TextElements_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 * **TextElements_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 PiiDomain} that the service accepts. */\nexport enum KnownPiiDomain {\n /** Indicates that entities in the Personal Health Information domain should be redacted. */\n Phi = \"phi\",\n /** Indicates that no domain is specified. */\n None = \"none\"\n}\n\n/**\n * Defines values for PiiDomain. \\\n * {@link KnownPiiDomain} can be used interchangeably with PiiDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \\\n * **none**: Indicates that no domain is specified.\n */\nexport type PiiDomain = string;\n\n/** Known values of {@link PiiCategory} that the service accepts. */\nexport enum KnownPiiCategory {\n ABARoutingNumber = \"ABARoutingNumber\",\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n AUBankAccountNumber = \"AUBankAccountNumber\",\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n AUPassportNumber = \"AUPassportNumber\",\n AUTaxFileNumber = \"AUTaxFileNumber\",\n AUBusinessNumber = \"AUBusinessNumber\",\n AUCompanyNumber = \"AUCompanyNumber\",\n ATIdentityCard = \"ATIdentityCard\",\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n AzureRedisCacheString = \"AzureRedisCacheString\",\n AzureSAS = \"AzureSAS\",\n AzureServiceBusString = \"AzureServiceBusString\",\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n BENationalNumber = \"BENationalNumber\",\n BENationalNumberV2 = \"BENationalNumberV2\",\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n BrcpfNumber = \"BRCPFNumber\",\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n BRNationalIdrg = \"BRNationalIDRG\",\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n CABankAccountNumber = \"CABankAccountNumber\",\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n CAPassportNumber = \"CAPassportNumber\",\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n CreditCardNumber = \"CreditCardNumber\",\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n HRNationalIDNumber = \"HRNationalIDNumber\",\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n CYIdentityCard = \"CYIdentityCard\",\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n EUDebitCardNumber = \"EUDebitCardNumber\",\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n EugpsCoordinates = \"EUGPSCoordinates\",\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n EUPassportNumber = \"EUPassportNumber\",\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n FINationalID = \"FINationalID\",\n FINationalIDV2 = \"FINationalIDV2\",\n FIPassportNumber = \"FIPassportNumber\",\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n FRNationalID = \"FRNationalID\",\n FRPassportNumber = \"FRPassportNumber\",\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n DEPassportNumber = \"DEPassportNumber\",\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n DEValueAddedNumber = \"DEValueAddedNumber\",\n GRNationalIDCard = \"GRNationalIDCard\",\n GRNationalIDV2 = \"GRNationalIDV2\",\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n HUValueAddedNumber = \"HUValueAddedNumber\",\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n INPermanentAccount = \"INPermanentAccount\",\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n ILBankAccountNumber = \"ILBankAccountNumber\",\n ILNationalID = \"ILNationalID\",\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n ITFiscalCode = \"ITFiscalCode\",\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n JPBankAccountNumber = \"JPBankAccountNumber\",\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n JPPassportNumber = \"JPPassportNumber\",\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n LVPersonalCode = \"LVPersonalCode\",\n LTPersonalCode = \"LTPersonalCode\",\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n MTTaxIDNumber = \"MTTaxIDNumber\",\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n NZBankAccountNumber = \"NZBankAccountNumber\",\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n NOIdentityNumber = \"NOIdentityNumber\",\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n PLIdentityCard = \"PLIdentityCard\",\n PLNationalID = \"PLNationalID\",\n PLNationalIDV2 = \"PLNationalIDV2\",\n PLPassportNumber = \"PLPassportNumber\",\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n PlregonNumber = \"PLREGONNumber\",\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n SANationalID = \"SANationalID\",\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n SKPersonalNumber = \"SKPersonalNumber\",\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n Esdni = \"ESDNI\",\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n SQLServerConnectionString = \"SQLServerConnectionString\",\n SENationalID = \"SENationalID\",\n SENationalIDV2 = \"SENationalIDV2\",\n SEPassportNumber = \"SEPassportNumber\",\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n SwiftCode = \"SWIFTCode\",\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n TWNationalID = \"TWNationalID\",\n TWPassportNumber = \"TWPassportNumber\",\n TWResidentCertificate = \"TWResidentCertificate\",\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n UsukPassportNumber = \"USUKPassportNumber\",\n USBankAccountNumber = \"USBankAccountNumber\",\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n Organization = \"Organization\",\n Email = \"Email\",\n URL = \"URL\",\n Age = \"Age\",\n PhoneNumber = \"PhoneNumber\",\n IPAddress = \"IPAddress\",\n Date = \"Date\",\n Person = \"Person\",\n Address = \"Address\",\n All = \"All\",\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 WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n LongWordsInDocument = \"LongWordsInDocument\",\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 FhirVersion} that the service accepts. */\nexport enum KnownFhirVersion {\n Four01 = \"4.0.1\"\n}\n\n/**\n * Defines values for FhirVersion. \\\n * {@link KnownFhirVersion} can be used interchangeably with FhirVersion,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **4.0.1**\n */\nexport type FhirVersion = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n BodyStructure = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\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 = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\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\n/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */\nexport enum KnownExtractiveSummarizationOrderingCriteria {\n /** Indicates that results should be sorted in order of appearance in the text. */\n Offset = \"Offset\",\n /** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationOrderingCriteria. \\\n * {@link KnownExtractiveSummarizationOrderingCriteria} can be used interchangeably with ExtractiveSummarizationOrderingCriteria,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset**: Indicates that results should be sorted in order of appearance in the text. \\\n * **Rank**: Indicates that results should be sorted in order of importance (i.e. rank score) according to the model.\n */\nexport type ExtractiveSummarizationOrderingCriteria = string;\n/** Defines values for OperationStatus. */\nexport type OperationStatus =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\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/** 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 TokenSentimentLabel. */\nexport type TokenSentimentLabel = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n\n/** Optional parameters. */\nexport interface AnalyzeOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n}\n\n/** Contains response data for the analyze operation. */\nexport type AnalyzeResponse = AnalyzeTextTaskResultUnion;\n\n/** Optional parameters. */\nexport interface AnalyzeTextSubmitJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the submitJob operation. */\nexport type AnalyzeTextSubmitJobResponse = AnalyzeTextSubmitJobHeaders;\n\n/** Optional parameters. */\nexport interface AnalyzeTextJobStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** The maximum number of resources to return from the collection. */\n top?: number;\n /** An offset into the collection of the first resource to be returned. */\n skip?: number;\n}\n\n/** Contains response data for the jobStatus operation. */\nexport type AnalyzeTextJobStatusResponse = AnalyzeTextJobState;\n\n/** Optional parameters. */\nexport interface AnalyzeTextCancelJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelJob operation. */\nexport type AnalyzeTextCancelJobResponse = AnalyzeTextCancelJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n AssessmentSentiment,\n ClassificationCategory,\n CustomEntityRecognitionAction,\n CustomMultiLabelClassificationAction,\n CustomSingleLabelClassificationAction,\n DetectedLanguage,\n DocumentSentimentLabel,\n DocumentWarning,\n Entity,\n EntityDataSource,\n EntityLinkingAction,\n EntityRecognitionAction,\n ExtractiveSummarizationAction,\n HealthcareAction,\n HealthcareAssertion,\n HealthcareEntityCategory,\n KeyPhraseExtractionAction,\n KnownErrorCode,\n KnownInnerErrorCode,\n LanguageDetectionAction,\n LinkedEntity,\n OperationStatus,\n PiiEntityRecognitionAction,\n RelationType,\n SentenceSentimentLabel,\n SentimentAnalysisAction,\n SentimentConfidenceScores,\n SummarySentence,\n TargetConfidenceScores,\n TextDocumentBatchStatistics,\n TextDocumentStatistics,\n TokenSentimentLabel,\n} from \"./generated\";\nimport { CommonClientOptions, OperationOptions } from \"@azure/core-client\";\nimport { PollOperationState, PollerLike } from \"@azure/core-lro\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/**\n * Configuration options for {@link TextAnalysisClient}.\n */\nexport interface TextAnalysisClientOptions 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 * The version of the Cognitive Language Service API to use.\n */\n apiVersion?: string;\n}\n\n/**\n * Options common to all operations.\n */\nexport interface TextAnalysisOperationOptions extends OperationOptions {\n /**\n * If set to true, response will contain input and document level statistics.\n */\n includeStatistics?: boolean;\n /**\n * The version of the Cognitive Language Service API to use.\n */\n apiVersion?: string;\n}\n\n/**\n * Options for the begin analyze actions operation.\n */\nexport interface BeginAnalyzeBatchOptions extends TextAnalysisOperationOptions {\n /**\n * Time delay between poll requests, in milliseconds.\n */\n updateIntervalInMs?: number;\n /**\n * The operation's display name.\n */\n displayName?: string;\n}\n\n/**\n * Options for the begin analyze actions operation.\n */\nexport interface RestoreAnalyzeBatchPollerOptions extends TextAnalysisOperationOptions {\n /**\n * Time delay between poll requests, in milliseconds.\n */\n updateIntervalInMs?: number;\n}\n\n/**\n * Type of actions supported by the {@link TextAnalysisClient.analyze} method.\n */\nexport const AnalyzeActionNames = {\n EntityLinking: \"EntityLinking\",\n EntityRecognition: \"EntityRecognition\",\n KeyPhraseExtraction: \"KeyPhraseExtraction\",\n PiiEntityRecognition: \"PiiEntityRecognition\",\n LanguageDetection: \"LanguageDetection\",\n SentimentAnalysis: \"SentimentAnalysis\",\n} as const;\n\n/**\n * Type of actions supported by the {@link TextAnalysisClient.beginAnalyzeBatch} method.\n */\nexport const AnalyzeBatchActionNames = {\n SentimentAnalysis: \"SentimentAnalysis\",\n EntityRecognition: \"EntityRecognition\",\n PiiEntityRecognition: \"PiiEntityRecognition\",\n KeyPhraseExtraction: \"KeyPhraseExtraction\",\n EntityLinking: \"EntityLinking\",\n Healthcare: \"Healthcare\",\n ExtractiveSummarization: \"ExtractiveSummarization\",\n CustomEntityRecognition: \"CustomEntityRecognition\",\n CustomSingleLabelClassification: \"CustomSingleLabelClassification\",\n CustomMultiLabelClassification: \"CustomMultiLabelClassification\",\n} as const;\n\n/**\n * Type of actions supported by the {@link TextAnalysisClient.analyze} method.\n */\nexport type AnalyzeActionName = keyof typeof AnalyzeActionNames;\n\n/**\n * The type of parameters for every action in ${@link AnalyzeActionNames}.\n */\nexport type AnalyzeActionParameters<ActionName extends AnalyzeActionName> = {\n EntityLinking: EntityLinkingAction;\n EntityRecognition: EntityRecognitionAction;\n PiiEntityRecognition: PiiEntityRecognitionAction;\n KeyPhraseExtraction: KeyPhraseExtractionAction;\n SentimentAnalysis: SentimentAnalysisAction;\n LanguageDetection: LanguageDetectionAction;\n}[ActionName];\n\n/**\n * Known values of the {@link HealthcareAction.fhirVersion} parameter.\n */\nexport enum KnownFhirVersion {\n /** 4.0.1 */\n \"4.0.1\" = \"4.0.1\",\n}\n\n/**\n * The type of results of every action in ${@link AnalyzeActionNames}.\n */\nexport type AnalyzeResult<ActionName extends AnalyzeActionName> = {\n EntityLinking: EntityLinkingResult[];\n EntityRecognition: EntityRecognitionResult[];\n PiiEntityRecognition: PiiEntityRecognitionResult[];\n KeyPhraseExtraction: KeyPhraseExtractionResult[];\n SentimentAnalysis: SentimentAnalysisResult[];\n LanguageDetection: LanguageDetectionResult[];\n}[ActionName];\n\n/**\n * Enum of possible error codes of a {@link TextAnalysisError}.\n */\nexport const KnownTextAnalysisErrorCode = { ...KnownErrorCode, ...KnownInnerErrorCode };\n\n/**\n * Type describing an API error.\n */\nexport interface TextAnalysisError {\n /**\n * A code describing the kind of error produced. See {@link KnownTextAnalysisErrorCode}.\n */\n readonly code: string;\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 an action corresponding to a single input document.\n */\nexport interface TextAnalysisSuccessResult {\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 by the service.\n * This property will have a value when includeStatistics is set to true in\n * 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: DocumentWarning[];\n\n /**\n * Discriminant to determine if this is an error result.\n */\n readonly error?: undefined;\n}\n\n/**\n * Base type for error results of an action corresponding to a single document.\n */\nexport interface TextAnalysisErrorResult {\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: TextAnalysisError;\n}\n\n/**\n * The result of an entity recognition action on a single document.\n */\nexport type EntityRecognitionResult = EntityRecognitionSuccessResult | EntityRecognitionErrorResult;\n\n/**\n * The result of an entity recognition action on a single document, containing\n * a collection of {@link Entity} objects identified in that document.\n */\nexport interface EntityRecognitionSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: Entity[];\n}\n\n/**\n * An error result from an entity recognition action on a single document.\n */\nexport type EntityRecognitionErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of an entity recognition action on a single document.\n */\nexport type PiiEntityRecognitionResult =\n | PiiEntityRecognitionSuccessResult\n | PiiEntityRecognitionErrorResult;\n\n/**\n * The result of a pii entity recognition action on a single document,\n * containing the collection of {@link Entity} objects identified in that\n * document.\n */\nexport interface PiiEntityRecognitionSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: Entity[];\n /**\n * The text redacted.\n */\n readonly redactedText: string;\n}\n\n/**\n * An error result from a pii entity recognition action on a single document.\n */\nexport type PiiEntityRecognitionErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of an entity linking action on a single document.\n */\nexport type EntityLinkingResult = EntityLinkingSuccessResult | EntityLinkingErrorResult;\n\n/**\n * The result of a entity linking action on a single document, containing a\n * collection of the {@link LinkedEntity} objects identified in that document.\n */\nexport interface EntityLinkingSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: LinkedEntity[];\n}\n\n/**\n * An error result from an entity linking action on a single document.\n */\nexport type EntityLinkingErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of a language detection action on a single document.\n */\nexport type LanguageDetectionResult = LanguageDetectionSuccessResult | LanguageDetectionErrorResult;\n\n/**\n * The result of a language detection action on a single document,\n * containing a prediction of what language the document is written in.\n */\nexport interface LanguageDetectionSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The top detected language by confidence score.\n */\n readonly primaryLanguage: DetectedLanguage;\n}\n\n/**\n * An error result from a language detection action on a single document.\n */\nexport type LanguageDetectionErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of a sentiment analysis action on a single document.\n */\nexport type KeyPhraseExtractionResult =\n | KeyPhraseExtractionSuccessResult\n | KeyPhraseExtractionErrorResult;\n\n/**\n * The result of a key phrase extraction action on a single document,\n * containing a collection of the key phrases identified in that document.\n */\nexport interface KeyPhraseExtractionSuccessResult extends TextAnalysisSuccessResult {\n /**\n * A list of representative words or phrases. The number of key phrases\n * returned is proportional to the number of words in the input document.\n */\n readonly keyPhrases: string[];\n}\n\n/**\n * An error result from a key phrase extraction action on a single document.\n */\nexport type KeyPhraseExtractionErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of a sentiment analysis action on a single document.\n */\nexport type SentimentAnalysisResult = SentimentAnalysisSuccessResult | SentimentAnalysisErrorResult;\n\n/**\n * The result of a sentiment analysis action on a single document,\n * containing the predicted sentiment for each sentence as well as for the full\n * document.\n */\nexport interface SentimentAnalysisSuccessResult extends TextAnalysisSuccessResult {\n /**\n * Predicted sentiment for document. For a list of possible values, see {@link DocumentSentimentLabel}\n */\n readonly sentiment: DocumentSentimentLabel;\n /**\n * Document level sentiment confidence scores between 0 and 1 for each\n * sentiment class.\n */\n readonly confidenceScores: SentimentConfidenceScores;\n /**\n * The predicted sentiment for each sentence in the corresponding document.\n */\n readonly sentences: SentenceSentiment[];\n}\n\n/**\n * The predicted sentiment for a given span of text. For more information\n * regarding text sentiment, see {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview}.\n */\nexport interface SentenceSentiment {\n /**\n * The sentence text.\n */\n readonly text: string;\n /**\n * The predicted Sentiment for the sentence. For a list of possible values,\n * see {@link SentenceSentimentLabel}\n */\n readonly sentiment: SentenceSentimentLabel;\n /**\n * The sentiment confidence score between 0 and 1 for the sentence for all\n * classes.\n */\n readonly confidenceScores: SentimentConfidenceScores;\n /**\n * The sentence text offset from the start of the document.\n */\n readonly offset: number;\n /**\n * The length of the sentence text.\n */\n readonly 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\", the following two opinions will be returned:\n * \"food is good\" and \"service is bad\".\n *\n * It is non-empty only returned if {@link includeOpinionMining} was set to\n * `true`.\n */\n readonly opinions: Opinion[];\n}\n\n/**\n * TargetSentiment contains the predicted sentiment, confidence scores and other\n * information about a 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 readonly confidenceScores: TargetConfidenceScores;\n /**\n * The predicted Sentiment for the Target. For a list of possible values,\n * see {@link TokenSentimentLabel}\n */\n readonly sentiment: TokenSentimentLabel;\n /**\n * The target text.\n */\n readonly text: string;\n /**\n * The Target text offset from the start of the sentence.\n */\n readonly offset: number;\n /**\n * The length of the Target text.\n */\n readonly length: number;\n}\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 readonly target: TargetSentiment;\n /**\n * The actual assessments of the target.\n */\n readonly assessments: AssessmentSentiment[];\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 readonly normalizedText?: string;\n /**\n * Whether the entity is negated.\n */\n readonly assertion?: HealthcareAssertion;\n /**\n * Entity references in known data sources.\n */\n readonly 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 readonly 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 readonly entity: HealthcareEntity;\n /**\n * The role of the healthcare entity in a particular relation.\n */\n readonly 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 readonly relationType: RelationType;\n /**\n * The list of healthcare entities and their roles in the healthcare relation.\n */\n readonly roles: HealthcareEntityRelationRole[];\n}\n\n/**\n * The results of a successful healthcare operation for a single document.\n */\nexport interface HealthcareSuccessResult extends TextAnalysisSuccessResult {\n /**\n * Healthcare entities.\n */\n readonly entities: HealthcareEntity[];\n /**\n * Relations between healthcare entities.\n */\n readonly entityRelations: HealthcareEntityRelation[];\n /**\n * JSON bundle containing a FHIR compatible object for consumption in other\n * Healthcare tools. For additional information see {@link https://www.hl7.org/fhir/overview.html}.\n */\n readonly fhirBundle?: Record<string, any>;\n}\n\n/**\n * An error result from the healthcare operation on a single document.\n */\nexport type HealthcareErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of the healthcare operation on a single document.\n */\nexport type HealthcareResult = HealthcareSuccessResult | HealthcareErrorResult;\n\n/**\n * The result of the extract summary operation on a single document.\n */\nexport type SummarizationExtractionResult =\n | SummarizationExtractionSuccessResult\n | SummarizationExtractionErrorResult;\n\n/**\n * The result of the summarization extraction action on a single document,\n * containing a collection of the summary identified in that document.\n */\nexport interface SummarizationExtractionSuccessResult extends TextAnalysisSuccessResult {\n /**\n * A list of sentences composing a summary of the input document.\n */\n readonly sentences: SummarySentence[];\n}\n\n/**\n * An error result from the extract summary operation on a single document.\n */\nexport type SummarizationExtractionErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of the custom recognize entities operation on a single document.\n */\nexport type CustomEntityRecognitionResult =\n | CustomEntityRecognitionSuccessResult\n | CustomEntityRecognitionErrorResult;\n\n/**\n * The result of the recognize custom entities operation on a single document,\n * containing a collection of the entities identified in that document.\n */\nexport interface CustomEntityRecognitionSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n readonly entities: Entity[];\n}\n\n/**\n * An error result from the recognize custom entities operation on a single document.\n */\nexport type CustomEntityRecognitionErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of the custom classify document single category operation on a single document.\n */\nexport type CustomSingleLabelClassificationResult =\n | CustomSingleLabelClassificationSuccessResult\n | CustomSingleLabelClassificationErrorResult;\n\n/**\n * The result of the custom classify document single category operation on a single document,\n * containing the result of the classification.\n */\nexport interface CustomSingleLabelClassificationSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The collection of classifications in the input document.\n */\n readonly classifications: ClassificationCategory[];\n}\n\n/**\n * An error result from the custom classify document single category operation on a single document.\n */\nexport type CustomSingleLabelClassificationErrorResult = TextAnalysisErrorResult;\n\n/**\n * The result of the custom classify document multi categories operation on a multi document.\n */\nexport type CustomMultiLabelClassificationResult =\n | CustomMultiLabelClassificationSuccessResult\n | CustomMultiLabelClassificationErrorResult;\n\n/**\n * The result of the custom classify document multi categories operation on a multi document,\n * containing the result of the classification.\n */\nexport interface CustomMultiLabelClassificationSuccessResult extends TextAnalysisSuccessResult {\n /**\n * The collection of classifications in the input document.\n */\n readonly classifications: ClassificationCategory[];\n}\n\n/**\n * An error result from the custom classify document multi category operation on a multi document.\n */\nexport type CustomMultiLabelClassificationErrorResult = TextAnalysisErrorResult;\n\n/**\n * Options common to all batch actions.\n */\nexport interface AnalyzeBatchActionCommon {\n /**\n * The name of the action.\n */\n actionName?: string;\n}\n\n/** Options for an entity linking batch action. */\nexport interface EntityLinkingBatchAction extends AnalyzeBatchActionCommon, EntityLinkingAction {\n /**\n * The kind of the action.\n */\n kind: \"EntityLinking\";\n}\n\n/** Options for an entity recognition batch action. */\nexport interface EntityRecognitionBatchAction\n extends AnalyzeBatchActionCommon,\n EntityRecognitionAction {\n /**\n * The kind of the action.\n */\n kind: \"EntityRecognition\";\n}\n\n/** Options for an key phrase extraction batch action. */\nexport interface KeyPhraseExtractionBatchAction\n extends AnalyzeBatchActionCommon,\n KeyPhraseExtractionAction {\n /**\n * The kind of the action.\n */\n kind: \"KeyPhraseExtraction\";\n}\n\n/** Options for a pii entity recognition batch action. */\nexport interface PiiEntityRecognitionBatchAction\n extends AnalyzeBatchActionCommon,\n PiiEntityRecognitionAction {\n /**\n * The kind of the action.\n */\n kind: \"PiiEntityRecognition\";\n}\n\n/** Options for a healthcare batch action. */\nexport interface HealthcareBatchAction extends AnalyzeBatchActionCommon, HealthcareAction {\n /**\n * The kind of the action.\n */\n kind: \"Healthcare\";\n}\n\n/** Options for an extractive summarization batch action. */\nexport interface ExtractiveSummarizationBatchAction\n extends AnalyzeBatchActionCommon,\n ExtractiveSummarizationAction {\n /**\n * The kind of the action.\n */\n kind: \"ExtractiveSummarization\";\n}\n\n/** Options for a sentiment analysis batch action. */\nexport interface SentimentAnalysisBatchAction\n extends AnalyzeBatchActionCommon,\n SentimentAnalysisAction {\n /**\n * The kind of the action.\n */\n kind: \"SentimentAnalysis\";\n}\n\n/** Options for a custom entity recognition batch action. */\nexport interface CustomEntityRecognitionBatchAction\n extends AnalyzeBatchActionCommon,\n CustomEntityRecognitionAction {\n /**\n * The kind of the action.\n */\n kind: \"CustomEntityRecognition\";\n}\n\n/** Options for a custom single-label classification batch action. */\nexport interface CustomSingleLabelClassificationBatchAction\n extends AnalyzeBatchActionCommon,\n CustomSingleLabelClassificationAction {\n /**\n * The kind of the action.\n */\n kind: \"CustomSingleLabelClassification\";\n}\n\n/** Options for a custom multi-label classification batch action. */\nexport interface CustomMultiLabelClassificationBatchAction\n extends AnalyzeBatchActionCommon,\n CustomMultiLabelClassificationAction {\n /**\n * The kind of the action.\n */\n kind: \"CustomMultiLabelClassification\";\n}\n\n/**\n * Batch of actions.\n */\nexport type AnalyzeBatchAction =\n | EntityLinkingBatchAction\n | EntityRecognitionBatchAction\n | KeyPhraseExtractionBatchAction\n | PiiEntityRecognitionBatchAction\n | HealthcareBatchAction\n | ExtractiveSummarizationBatchAction\n | SentimentAnalysisBatchAction\n | CustomEntityRecognitionBatchAction\n | CustomSingleLabelClassificationBatchAction\n | CustomMultiLabelClassificationBatchAction;\n\n/**\n * Type of actions supported by the {@link TextAnalysisClient.beginAnalyzeBatch} method.\n */\nexport type AnalyzeBatchActionName = keyof typeof AnalyzeBatchActionNames;\n\n/** The State of a batched action */\nexport interface BatchActionState<Kind extends AnalyzeBatchActionName> {\n /**\n * The kind of the action results.\n */\n readonly kind: Kind;\n /**\n * The name of the action.\n */\n readonly actionName?: string;\n /**\n * Action statistics.\n */\n readonly statistics?: TextDocumentBatchStatistics;\n}\n\n/**\n * Action metadata.\n */\nexport interface ActionMetadata {\n /**\n * The model version used to perform the action.\n */\n readonly modelVersion: string;\n}\n\n/**\n * Custom action metadata.\n */\nexport interface CustomActionMetadata {\n /**\n * The name of the project used to perform the action.\n */\n readonly projectName: string;\n /**\n * The name of the deployment used to perform the action.\n */\n readonly deploymentName: string;\n}\n\n/**\n * The state of a succeeded batched action.\n */\nexport interface BatchActionSuccessResult<T, Kind extends AnalyzeBatchActionName>\n extends BatchActionState<Kind> {\n /**\n * The list of document results.\n */\n readonly results: T[];\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 BatchActionErrorResult<Kind extends AnalyzeBatchActionName>\n extends BatchActionState<Kind> {\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: TextAnalysisError;\n}\n\n/**\n * The result of a batched action.\n */\nexport type BatchActionResult<T, Kind extends AnalyzeBatchActionName> =\n | BatchActionSuccessResult<T, Kind>\n | BatchActionErrorResult<Kind>;\n\n/**\n * The result of an entity linking batch action.\n */\nexport type EntityLinkingBatchResult = ActionMetadata &\n BatchActionResult<EntityLinkingResult, \"EntityLinking\">;\n\n/**\n * The result of an entity recognition batch action.\n */\nexport type EntityRecognitionBatchResult = ActionMetadata &\n BatchActionResult<EntityRecognitionResult, \"EntityRecognition\">;\n\n/**\n * The result of a key phrase extraction batch action.\n */\nexport type KeyPhraseExtractionBatchResult = ActionMetadata &\n BatchActionResult<KeyPhraseExtractionResult, \"KeyPhraseExtraction\">;\n\n/**\n * The result of a pii entity recognition batch action.\n */\nexport type PiiEntityRecognitionBatchResult = ActionMetadata &\n BatchActionResult<PiiEntityRecognitionResult, \"PiiEntityRecognition\">;\n\n/**\n * The result of a sentiment analysis batch action.\n */\nexport type SentimentAnalysisBatchResult = ActionMetadata &\n BatchActionResult<SentimentAnalysisResult, \"SentimentAnalysis\">;\n\n/**\n * The result of a healthcare batch action.\n */\nexport type HealthcareBatchResult = ActionMetadata &\n BatchActionResult<HealthcareResult, \"Healthcare\">;\n\n/**\n * The result of an extractive summarization batch action.\n */\nexport type ExtractiveSummarizationBatchResult = ActionMetadata &\n BatchActionResult<SummarizationExtractionResult, \"ExtractiveSummarization\">;\n\n/**\n * The result of a custom entity recognition batch action.\n */\nexport type CustomEntityRecognitionBatchResult = CustomActionMetadata &\n BatchActionResult<CustomEntityRecognitionResult, \"CustomEntityRecognition\">;\n\n/**\n * The result of a custom single-label classification batch action.\n */\nexport type CustomSingleLabelClassificationBatchResult = CustomActionMetadata &\n BatchActionResult<CustomSingleLabelClassificationResult, \"CustomSingleLabelClassification\">;\n\n/**\n * The result of a custom multi-label classification batch action.\n */\nexport type CustomMultiLabelClassificationBatchResult = CustomActionMetadata &\n BatchActionResult<CustomMultiLabelClassificationResult, \"CustomMultiLabelClassification\">;\n/**\n * Results of a batch of actions.\n */\nexport type AnalyzeBatchResult =\n | EntityLinkingBatchResult\n | EntityRecognitionBatchResult\n | KeyPhraseExtractionBatchResult\n | PiiEntityRecognitionBatchResult\n | SentimentAnalysisBatchResult\n | HealthcareBatchResult\n | ExtractiveSummarizationBatchResult\n | CustomEntityRecognitionBatchResult\n | CustomSingleLabelClassificationBatchResult\n | CustomMultiLabelClassificationBatchResult;\n\n/**\n * An error result from a sentiment analysis action on a single document.\n */\nexport type SentimentAnalysisErrorResult = TextAnalysisErrorResult;\n\n/**\n * Paged results of the {@link TextAnalysisClient.beginAnalyzeBatch} operation.\n */\nexport type PagedAnalyzeBatchResult = PagedAsyncIterableIterator<AnalyzeBatchResult>;\n\n/**\n * A poller that polls long-running operations started by {@link TextAnalysisClient.beginAnalyzeBatch}.\n */\nexport type AnalyzeBatchPoller = PollerLike<AnalyzeBatchOperationState, PagedAnalyzeBatchResult>;\n\n/**\n * The metadata for long-running operations started by {@link TextAnalysisClient.beginAnalyzeBatch}.\n */\nexport interface AnalyzeBatchOperationMetadata {\n /**\n * The date and time the operation was created.\n */\n readonly createdOn: Date;\n /**\n * The date and time when the operation results will expire on the server.\n */\n readonly expiresOn?: Date;\n /**\n * The operation id.\n */\n readonly operationId: string;\n /**\n * The time the operation status was last updated.\n */\n readonly lastModifiedOn: Date;\n /**\n * The current status of the operation.\n */\n readonly status: OperationStatus;\n /**\n * Number of successfully completed actions.\n */\n readonly actionSucceededCount: number;\n /**\n * Number of failed actions.\n */\n readonly actionFailedCount: number;\n /**\n * Number of actions still in progress.\n */\n readonly actionInProgressCount: number;\n /**\n * The operation's display name.\n */\n readonly displayName?: string;\n}\n\n/**\n * The state of the begin analyze polling operation.\n */\nexport interface AnalyzeBatchOperationState\n extends PollOperationState<PagedAnalyzeBatchResult>,\n AnalyzeBatchOperationMetadata {}\n"],"names":["createClientLogger","AnalyzeActionMapper","AnalyzeTextJobsInputMapper","__rest","RestError","serializer","createSerializer","jobStatusOperationSpec","Mappers.AnalyzeTextJobState","Mappers.ErrorResponse","Parameters.accept","Parameters.top","Parameters.skip","Parameters.includeStatistics","getPagedAsyncIterator","coreClient","Mappers.AnalyzeTextSubmitJobHeaders","Parameters.body1","Parameters.apiVersion","Parameters.endpoint","Parameters.contentType","Parameters.jobId","Mappers.AnalyzeTextCancelJobHeaders","coreRestPipeline","Mappers.AnalyzeTextTaskResult","Parameters.body","isTokenCredential","bearerTokenAuthenticationPolicy","createTracingClient","LroEngine","KnownErrorCode","KnownInnerErrorCode","KnownStringIndexType","KnownPiiDomain","KnownPiiCategory","KnownExtractiveSummarizationOrderingCriteria","KnownFhirVersion"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;;AAGG;AACI,MAAM,uBAAuB,GAAG,8CAA8C,CAAC;AAEtF;;AAEG;AACI,MAAM,WAAW,GAAG,cAAc,CAAC;AAE1C;;AAEG;AACI,MAAM,UAAU,GAAG,oBAAoB;;ACjB9C;AAKA;;;AAGG;AACI,MAAM,MAAM,GAAGA,2BAAkB,CAAC,mBAAmB,CAAC;;ACT7D;AAWA;;;;;;;AAOG;AACa,SAAA,qBAAqB,CACnC,WAAuB,EACvB,aAAkB,EAAA;AAElB,IAAA,MAAM,WAAW,GAAG,IAAI,GAAG,EAAa,CAAC;AACzC,IAAA,KAAK,MAAM,IAAI,IAAI,aAAa,EAAE;QAChC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;AAChC,KAAA;AAED,IAAA,IAAI,aAAa,CAAC,MAAM,KAAK,WAAW,CAAC,MAAM,EAAE;AAC/C,QAAA,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,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