@azure/ai-text-analytics 5.2.0-alpha.20211028.2 → 5.2.0-alpha.20211201.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/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/healthLro.ts","../src/multiCategoryClassifyResult.ts","../src/multiCategoryClassifyResultArray.ts","../src/singleCategoryClassifyResult.ts","../src/singleCategoryClassifyResultArray.ts","../src/extractSummaryResult.ts","../src/extractSummaryResultArray.ts","../src/recognizeCustomEntitiesResult.ts","../src/recognizeCustomEntitiesResultArray.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 customEntityRecognitionTasks: {\n serializedName: \"customEntityRecognitionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTask\"\n }\n }\n }\n },\n customSingleClassificationTasks: {\n serializedName: \"customSingleClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTask\"\n }\n }\n }\n },\n customMultiClassificationTasks: {\n serializedName: \"customMultiClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTask\"\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 taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EntitiesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PiiTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"PiiTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\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 taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyPhrasesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n opinionMining: {\n defaultValue: false,\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const 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 taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\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: false,\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 CustomEntitiesTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomEntitiesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTaskParameters\",\n modelProperties: {\n projectName: {\n serializedName: \"project-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deployment-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleClassificationTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleClassificationTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTaskParameters\",\n modelProperties: {\n projectName: {\n serializedName: \"project-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deployment-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiClassificationTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiClassificationTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTaskParameters\",\n modelProperties: {\n projectName: {\n serializedName: \"project-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deployment-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const 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 customEntityRecognitionTasks: {\n serializedName: \"customEntityRecognitionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomEntityRecognitionTasksItem\"\n }\n }\n }\n },\n customSingleClassificationTasks: {\n serializedName: \"customSingleClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomSingleClassificationTasksItem\"\n }\n }\n }\n },\n customMultiClassificationTasks: {\n serializedName: \"customMultiClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomMultiClassificationTasksItem\"\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 taskName: {\n serializedName: \"taskName\",\n required: true,\n type: {\n name: \"String\"\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 CustomEntitiesTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResult\"\n }\n }\n }\n }\n};\n\nexport const CustomEntitiesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResult\",\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 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 CustomSingleClassificationTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationResult\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SingleClassificationDocument\"\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 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 SingleClassificationDocument: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SingleClassificationDocument\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n classification: {\n serializedName: \"classification\",\n type: {\n name: \"Composite\",\n className: \"ClassificationResult\"\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 ClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ClassificationResult\",\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 CustomMultiClassificationTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationResult\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MultiClassificationDocument\"\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 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 MultiClassificationDocument: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MultiClassificationDocument\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n classifications: {\n serializedName: \"classifications\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ClassificationResult\"\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 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 TasksStateTasksCustomEntityRecognitionTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomEntityRecognitionTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...CustomEntitiesTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksCustomSingleClassificationTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomSingleClassificationTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...CustomSingleClassificationTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksCustomMultiClassificationTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomMultiClassificationTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...CustomMultiClassificationTaskResult.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.2\",\n isConstant: true,\n serializedName: \"ApiVersion\",\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const jobId: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeStatistics: OperationQueryParameter = {\n parameterPath: [\"options\", \"includeStatistics\"],\n mapper: {\n serializedName: \"showStats\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 20,\n constraints: {\n InclusiveMaximum: 50,\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n defaultValue: 0,\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const jobId1: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const input: OperationParameter = {\n parameterPath: \"input\",\n mapper: MultiLanguageBatchInputMapper\n};\n\nexport const modelVersion: OperationQueryParameter = {\n parameterPath: [\"options\", \"modelVersion\"],\n mapper: {\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const stringIndexType: OperationQueryParameter = {\n parameterPath: [\"options\", \"stringIndexType\"],\n mapper: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const loggingOptOut: OperationQueryParameter = {\n parameterPath: [\"options\", \"loggingOptOut\"],\n mapper: {\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const domain: OperationQueryParameter = {\n parameterPath: [\"options\", \"domain\"],\n mapper: {\n serializedName: \"domain\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const piiCategories: OperationQueryParameter = {\n parameterPath: [\"options\", \"piiCategories\"],\n mapper: {\n constraints: {\n UniqueItems: true\n },\n serializedName: \"piiCategories\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const input1: OperationParameter = {\n parameterPath: \"input\",\n mapper: LanguageBatchInputMapper\n};\n\nexport const opinionMining: OperationQueryParameter = {\n parameterPath: [\"options\", \"opinionMining\"],\n mapper: {\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { 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.2`;\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.2\";\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 { logger } from \"./logger\";\nimport {\n ErrorResponse,\n GeneratedClient,\n InnerError,\n StringIndexType as GeneratedStringIndexType,\n TextAnalyticsError\n} 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 getOperationId(operationLocation: string): string {\n const lastSlashIndex = operationLocation.lastIndexOf(\"/\");\n return operationLocation.substring(lastSlashIndex + 1);\n}\n\nfunction appendReadableErrorMessage(currentMessage: string, innerMessage: string): string {\n let message = currentMessage;\n if (message.slice(-1) !== \".\") {\n message = message + \".\";\n }\n return message + \" \" + innerMessage;\n}\n\n/**\n * @internal\n * parses incoming errors from the service 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 compileError(errorResponse: unknown): any {\n const castErrorResponse = errorResponse as {\n response: {\n parsedBody?: ErrorResponse;\n };\n statusCode: number;\n };\n const topLevelError = castErrorResponse.response.parsedBody?.error;\n if (!topLevelError) return errorResponse;\n let errorMessage = topLevelError.message || \"\";\n let invalidDocumentBatchCode = false;\n function unwrap(error: TextAnalyticsError | InnerError): TextAnalyticsError {\n if (error?.innererror !== undefined && error.innererror.message !== undefined) {\n if (error.innererror.code === \"InvalidDocumentBatch\") {\n invalidDocumentBatchCode = true;\n }\n errorMessage = appendReadableErrorMessage(errorMessage, error.innererror.message);\n return unwrap(error.innererror);\n }\n return error as TextAnalyticsError;\n }\n unwrap(topLevelError);\n return new RestError(errorMessage, {\n code: invalidDocumentBatchCode ? \"InvalidDocumentBatch\" : topLevelError.code,\n statusCode: castErrorResponse.statusCode\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 StandardTextAnalyticsResultArray<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 CustomTextAnalyticsResultArray<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 * This field indicates the project name for the model.\n */\n projectName: string;\n /**\n * This field indicates the deployment name for the model.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport interface StandardTextAnalyticsResponse<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 * @internal\n */\nexport interface CustomTextAnalyticsResponse<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 the project name for the model.\n */\n projectName: string;\n /**\n * This field indicates the deployment name for the model.\n */\n deploymentName: 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: StandardTextAnalyticsResponse<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: {\n documents: TSuccessService[];\n errors: DocumentError[];\n },\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: StandardTextAnalyticsResponse<TSuccessService>,\n processSuccess: (doc: TSuccessService) => TSuccessSDK,\n processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError\n): StandardTextAnalyticsResultArray<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\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, projectName, and deploymentName 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 combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo<\n TSuccessService extends TextAnalyticsSuccessResult,\n TSuccessSDK extends TextAnalyticsSuccessResult,\n TError extends TextAnalyticsErrorResult\n>(\n input: TextDocumentInput[],\n response: CustomTextAnalyticsResponse<TSuccessService>,\n processSuccess: (doc: TSuccessService) => TSuccessSDK,\n processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError\n): CustomTextAnalyticsResultArray<TSuccessSDK> {\n const sorted = processAndCombineSuccessfulAndErroneousDocuments(\n input,\n response,\n processSuccess,\n processError\n );\n return Object.assign(sorted, {\n statistics: response.statistics,\n projectName: response.projectName,\n deploymentName: response.deploymentName\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 { 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 GeneratedClientHealthStatusOptionalParams,\n GeneratedClientHealthStatusResponse,\n TextDocumentInput\n} from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport {\n addStrEncodingParam,\n getRawResponse,\n compileError,\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 \"@azure/core-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 = compileError(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(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n documents: TextDocumentInput[],\n options: GeneratedClientHealthStatusOptionalParams\n): (\n result: unknown,\n state: AnalyzeHealthcareOperationState\n) => PagedAnalyzeHealthcareEntitiesResult {\n return (\n result: unknown,\n state: AnalyzeHealthcareOperationState\n ): PagedAnalyzeHealthcareEntitiesResult => {\n const pollingURL = (state as any).pollingURL;\n const pagedResult: PagedResult<AnalyzeHealthcareEntitiesResultArray> = {\n firstPageLink: pollingURL,\n getPage: async (pageLink: string, maxPageSize?: number) => {\n const response = await sendGetRequest(\n client,\n healthStatusOperationSpec,\n \"HealthStatus\",\n // if `top` is set to `undefined`, the default value will not be sent\n // as part of the request.\n maxPageSize ? { ...options, top: maxPageSize } : options,\n pageLink\n );\n const flatResponse = response.flatResponse as GeneratedClientHealthStatusResponse;\n if (flatResponse.results) {\n return {\n page: processAndCombineSuccessfulAndErroneousDocuments(\n documents,\n flatResponse.results,\n makeHealthcareEntitiesResult,\n makeHealthcareEntitiesErrorResult\n ),\n nextPageLink: flatResponse.nextLink\n };\n } else {\n throw new Error(\"Healthcare action has succeeded but there are no results!\");\n }\n }\n };\n const pagedIterator = getPagedAsyncIterator<\n AnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareEntitiesResultArray\n >(pagedResult);\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 { TextAnalyticsError, MultiClassificationDocument } from \"./generated/models\";\nimport { ClassificationCategory } from \"./singleCategoryClassifyResult\";\n\n/**\n * The result of the custom classify document multi categories operation on a multi document.\n */\nexport type MultiCategoryClassifyResult =\n | MultiCategoryClassifySuccessResult\n | MultiCategoryClassifyErrorResult;\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 MultiCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of classifications in the input document.\n */\n classifications: ClassificationCategory[];\n}\n\n/**\n * An error result from the custom classify document multi category operation on a multi document.\n */\nexport type MultiCategoryClassifyErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeMultiCategoryClassifyResult(\n result: MultiClassificationDocument\n): MultiCategoryClassifySuccessResult {\n const { id, warnings, statistics, classifications } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n classifications\n };\n}\n\n/**\n * @internal\n */\nexport function makeMultiCategoryClassifyErrorResult(\n id: string,\n error: TextAnalyticsError\n): MultiCategoryClassifyErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n CustomMultiClassificationResult\n} from \"./generated/models\";\nimport {\n MultiCategoryClassifyResult,\n makeMultiCategoryClassifyResult,\n makeMultiCategoryClassifyErrorResult\n} from \"./multiCategoryClassifyResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from \"./textAnalyticsResult\";\n\n/**\n * Array of `MultiCategoryClassifyResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface MultiCategoryClassifyResultArray extends Array<MultiCategoryClassifyResult> {\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 custom project used by this operation on this\n * batch of input documents.\n */\n projectName: string;\n /**\n * The version of the text analytics custom deployment used by this operation on this\n * batch of input documents.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport function makeMultiCategoryClassifyResultArray(\n input: TextDocumentInput[],\n response: CustomMultiClassificationResult\n): MultiCategoryClassifyResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo(\n input,\n response,\n makeMultiCategoryClassifyResult,\n makeMultiCategoryClassifyErrorResult\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 ClassificationResult,\n SingleClassificationDocument\n} from \"./generated/models\";\n\n/**\n * The result of the custom classify document single category operation on a single document.\n */\nexport type SingleCategoryClassifyResult =\n | SingleCategoryClassifySuccessResult\n | SingleCategoryClassifyErrorResult;\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 SingleCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The classification result of the input document.\n */\n classification: ClassificationCategory;\n}\n\n/**\n * A classification result from a custom classify document single category action\n */\nexport interface ClassificationCategory extends ClassificationResult {}\n\n/**\n * An error result from the custom classify document single category operation on a single document.\n */\nexport type SingleCategoryClassifyErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeSingleCategoryClassifyResult(\n result: SingleClassificationDocument\n): SingleCategoryClassifySuccessResult {\n const { id, warnings, statistics, classification } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n classification\n };\n}\n\n/**\n * @internal\n */\nexport function makeSingleCategoryClassifyErrorResult(\n id: string,\n error: TextAnalyticsError\n): SingleCategoryClassifyErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n CustomSingleClassificationResult\n} from \"./generated/models\";\nimport {\n SingleCategoryClassifyResult,\n makeSingleCategoryClassifyResult,\n makeSingleCategoryClassifyErrorResult\n} from \"./singleCategoryClassifyResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from \"./textAnalyticsResult\";\n\n/**\n * Array of `SingleCategoryClassifyResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface SingleCategoryClassifyResultArray extends Array<SingleCategoryClassifyResult> {\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 custom project used by this operation on this\n * batch of input documents.\n */\n projectName: string;\n /**\n * The version of the text analytics custom deployment used by this operation on this\n * batch of input documents.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport function makeSingleCategoryClassifyResultArray(\n input: TextDocumentInput[],\n response: CustomSingleClassificationResult\n): SingleCategoryClassifyResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo(\n input,\n response,\n makeSingleCategoryClassifyResult,\n makeSingleCategoryClassifyErrorResult\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 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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { TextAnalyticsError, DocumentEntities } from \"./generated/models\";\nimport { CategorizedEntity } from \"./recognizeCategorizedEntitiesResult\";\n\n/**\n * The result of the custom recognize entities operation on a single document.\n */\nexport type RecognizeCustomEntitiesResult =\n | RecognizeCustomEntitiesSuccessResult\n | RecognizeCustomEntitiesErrorResult;\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 RecognizeCustomEntitiesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n entities: CategorizedEntity[];\n}\n\n/**\n * An error result from the recognize custom entities operation on a single document.\n */\nexport type RecognizeCustomEntitiesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeRecognizeCustomEntitiesResult(\n result: DocumentEntities\n): RecognizeCustomEntitiesSuccessResult {\n const { id, warnings, statistics, entities } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n entities\n };\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeCustomEntitiesErrorResult(\n id: string,\n error: TextAnalyticsError\n): RecognizeCustomEntitiesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n CustomEntitiesResult\n} from \"./generated/models\";\nimport {\n RecognizeCustomEntitiesResult,\n makeRecognizeCustomEntitiesResult,\n makeRecognizeCustomEntitiesErrorResult\n} from \"./recognizeCustomEntitiesResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from \"./textAnalyticsResult\";\n\n/**\n * Array of `CustomRecognizeEntitiesResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface RecognizeCustomEntitiesResultArray extends Array<RecognizeCustomEntitiesResult> {\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 custom project used by this operation on this\n * batch of input documents.\n */\n projectName: string;\n /**\n * The version of the text analytics custom deployment used by this operation on this\n * batch of input documents.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeCustomEntitiesResultArray(\n input: TextDocumentInput[],\n response: CustomEntitiesResult\n): RecognizeCustomEntitiesResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo(\n input,\n response,\n makeRecognizeCustomEntitiesResult,\n makeRecognizeCustomEntitiesErrorResult\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 MultiCategoryClassifyResultArray,\n makeMultiCategoryClassifyResultArray\n} from \"./multiCategoryClassifyResultArray\";\nimport {\n SingleCategoryClassifyResultArray,\n makeSingleCategoryClassifyResultArray\n} from \"./singleCategoryClassifyResultArray\";\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 makeRecognizeCustomEntitiesResultArray,\n RecognizeCustomEntitiesResultArray\n} from \"./recognizeCustomEntitiesResultArray\";\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 * Array of the results for each recognize custom entities action.\n */\n recognizeCustomEntitiesResults: RecognizeCustomEntitiesActionResult[];\n /**\n * Array of the results for each custom classify document single category action.\n */\n singleCategoryClassifyResults: SingleCategoryClassifyActionResult[];\n /**\n * Array of the results for each custom classify document multi category action.\n */\n multiCategoryClassifyResults: MultiCategoryClassifyActionResult[];\n}\n\n/**\n * The state of an action\n */\nexport interface TextAnalyticsActionState {\n /**\n * The name of the action.\n */\n actionName?: string;\n}\n\n/**\n * The state of a succeeded action.\n */\nexport interface TextAnalyticsActionSuccessState extends TextAnalyticsActionState {\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 extends TextAnalyticsActionState {\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 error of a custom recognize entities action.\n */\nexport type RecongizeCustomEntitiesActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded custom recognize entities action.\n */\nexport interface RecongizeCustomEntitiesActionSuccessResult\n extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each custom recognize entities action.\n */\n results: RecognizeCustomEntitiesResultArray;\n}\n\n/**\n * The result of a custom recognize entities action.\n */\nexport type RecognizeCustomEntitiesActionResult =\n | RecongizeCustomEntitiesActionSuccessResult\n | RecongizeCustomEntitiesActionErrorResult;\n\n/**\n * The error of a custom classify document single category action.\n */\nexport type SingleCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded custom classify document single category action.\n */\nexport interface SingleCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each custom classify document single category action.\n */\n results: SingleCategoryClassifyResultArray;\n}\n\n/**\n * The result of a custom classify document single category action.\n */\nexport type SingleCategoryClassifyActionResult =\n | SingleCategoryClassifyActionSuccessResult\n | SingleCategoryClassifyActionErrorResult;\n\n/**\n * The error of a custom classify document multi category action.\n */\nexport type MultiCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded custom classify document multi category action.\n */\nexport interface MultiCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each custom classify document multi category action.\n */\n results: MultiCategoryClassifyResultArray;\n}\n\n/**\n * The result of a custom classify document multi category action.\n */\nexport type MultiCategoryClassifyActionResult =\n | MultiCategoryClassifyActionSuccessResult\n | MultiCategoryClassifyActionErrorResult;\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 | \"RecognizeCustomEntities\"\n | \"SingleCategoryClassify\"\n | \"MultiCategoryClassify\";\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 case \"customEntityRecognitionTasks\": {\n return \"RecognizeCustomEntities\";\n }\n case \"customSingleClassificationTasks\": {\n return \"SingleCategoryClassify\";\n }\n case \"customMultiClassificationTasks\": {\n return \"MultiCategoryClassify\";\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|customEntityRecognitionTasks|customSingleClassificationTasks|customMultiClassificationTasks)\\/(\\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 recognizeCustomEntitiesActionErrors: TextAnalyticsActionError[],\n singleCategoryClassifyActionErrors: TextAnalyticsActionError[],\n multiCategoryClassifyActionErrors: 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 case \"RecognizeCustomEntities\": {\n recognizeCustomEntitiesActionErrors.push(actionError);\n break;\n }\n case \"SingleCategoryClassify\": {\n singleCategoryClassifyActionErrors.push(actionError);\n break;\n }\n case \"MultiCategoryClassify\": {\n multiCategoryClassifyActionErrors.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 taskName?: string\n): TextAnalyticsActionErrorResult {\n return {\n error: intoTextAnalyticsError(error),\n failedOn: lastUpdateDateTime,\n actionName: taskName\n };\n}\n\ninterface TaskSuccessResult<T> {\n results?: T;\n taskName?: string;\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, taskName } = task;\n if (actionResults !== undefined) {\n const recognizeEntitiesResults = makeResultsArray(documents, actionResults);\n return [\n ...actions,\n {\n results: recognizeEntitiesResults,\n completedOn: lastUpdateDateTime,\n actionName: taskName\n }\n ];\n } else {\n return [\n ...actions,\n createErredAction(erredActions[errorIndex++], lastUpdateDateTime, taskName)\n ];\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 const recognizeCustomEntitiesActionErrors: TextAnalyticsActionError[] = [];\n const singleCategoryClassifyActionErrors: TextAnalyticsActionError[] = [];\n const multiCategoryClassifyActionErrors: TextAnalyticsActionError[] = [];\n categorizeActionErrors(\n response?.errors ?? [],\n recognizeEntitiesActionErrors,\n recognizePiiEntitiesActionErrors,\n extractKeyPhrasesActionErrors,\n recognizeLinkedEntitiesActionErrors,\n analyzeSentimentActionErrors,\n extractSummarySentencesActionErrors,\n recognizeCustomEntitiesActionErrors,\n singleCategoryClassifyActionErrors,\n multiCategoryClassifyActionErrors\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 recognizeCustomEntitiesResults: makeActionResult(\n documents,\n makeRecognizeCustomEntitiesResultArray,\n response.tasks.customEntityRecognitionTasks ?? [],\n recognizeCustomEntitiesActionErrors\n ),\n singleCategoryClassifyResults: makeActionResult(\n documents,\n makeSingleCategoryClassifyResultArray,\n response.tasks.customSingleClassificationTasks ?? [],\n singleCategoryClassifyActionErrors\n ),\n multiCategoryClassifyResults: makeActionResult(\n documents,\n makeMultiCategoryClassifyResultArray,\n response.tasks.customMultiClassificationTasks ?? [],\n multiCategoryClassifyActionErrors\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 GeneratedClientAnalyzeStatusOptionalParams,\n GeneratedClientAnalyzeStatusResponse,\n JobManifestTasks,\n TextDocumentInput\n} from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { compileError, getRawResponse, 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 \"@azure/core-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 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 = compileError(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(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n documents: TextDocumentInput[],\n options: GeneratedClientAnalyzeStatusOptionalParams\n): (result: unknown, state: AnalyzeActionsOperationState) => PagedAnalyzeActionsResult {\n return (_result: unknown, state: AnalyzeActionsOperationState): PagedAnalyzeActionsResult => {\n const pollingURL = (state as any).pollingURL;\n const pagedResult: PagedResult<AnalyzeActionsResult> = {\n firstPageLink: pollingURL,\n getPage: async (pageLink: string, maxPageSize?: number) => {\n const response = await sendGetRequest(\n client,\n analyzeStatusOperationSpec,\n \"AnalyzeStatus\",\n // if `top` is set to `undefined`, the default value will not be sent\n // as part of the request.\n maxPageSize ? { ...options, top: maxPageSize } : options,\n pageLink\n );\n const flatResponse = response.flatResponse as GeneratedClientAnalyzeStatusResponse;\n return {\n page: createAnalyzeActionsResult(flatResponse, documents),\n nextPageLink: flatResponse.nextLink\n };\n }\n };\n const pagedIterator = getPagedAsyncIterator<AnalyzeActionsResult, AnalyzeActionsResult>(\n pagedResult\n );\n // Attach stats if the service starts to return them\n // https://github.com/Azure/azure-sdk-for-js/issues/14139\n // state.result = Object.assign(pagedIterator, {\n // statistics: operationStatus.statistics\n // });\n 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 compileError,\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 { CustomTextAnalyticsAction, 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 KnownSummarySentencesOrderBy} for possible values.\n */\n orderBy?: string;\n}\n\n/**\n * Options for a custom recognize entities action.\n */\nexport interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction {\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 custom classify document single category action.\n */\nexport interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction {\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 custom classify document multi categories action.\n */\nexport interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction {\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 * Description of collection of actions for the analyze API to perform on input documents.\n */\nexport interface TextAnalyticsActions {\n /**\n * A collection of descriptions of entities recognition actions.\n */\n recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[];\n /**\n * A collection of descriptions of Pii entities recognition actions.\n */\n recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[];\n /**\n * A collection of descriptions of key phrases recognition actions.\n */\n extractKeyPhrasesActions?: ExtractKeyPhrasesAction[];\n /**\n * A collection of descriptions of entities linking actions.\n */\n recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[];\n /**\n * A collection of descriptions of sentiment analysis actions.\n */\n analyzeSentimentActions?: AnalyzeSentimentAction[];\n /**\n * A collection of descriptions of summarization extraction actions.\n */\n extractSummaryActions?: ExtractSummaryAction[];\n /**\n * A collection of descriptions of custom entity recognition actions.\n */\n recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[];\n /**\n * A collection of descriptions of custom single classification actions.\n */\n singleCategoryClassifyActions?: SingleCategoryClassifyAction[];\n /**\n * A collection of descriptions of custom multi classification actions.\n */\n multiCategoryClassifyActions?: MultiCategoryClassifyAction[];\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 = compileError(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 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\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 customEntityRecognitionTasks: actions.recognizeCustomEntitiesActions?.map(\n compose(setStrEncodingParam, addParamsToTask)\n ),\n customSingleClassificationTasks: actions.singleCategoryClassifyActions?.map(addParamsToTask),\n customMultiClassificationTasks: actions.multiCategoryClassifyActions?.map(addParamsToTask)\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 customEntityRecognitionTasks?: CustomEntitiesTask[];\n customSingleClassificationTasks?: CustomSingleClassificationTask[];\n customMultiClassificationTasks?: CustomMultiClassificationTask[];\n}\n\nexport interface EntitiesTask {\n parameters?: EntitiesTaskParameters;\n taskName?: string;\n}\n\nexport interface EntitiesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface PiiTask {\n parameters?: PiiTaskParameters;\n taskName?: string;\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 taskName?: string;\n}\n\nexport interface KeyPhrasesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n}\n\nexport interface EntityLinkingTask {\n parameters?: EntityLinkingTaskParameters;\n taskName?: string;\n}\n\nexport interface EntityLinkingTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface SentimentAnalysisTask {\n parameters?: SentimentAnalysisTaskParameters;\n taskName?: string;\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 taskName?: string;\n}\n\nexport interface ExtractiveSummarizationTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n sentenceCount?: number;\n sortBy?: ExtractiveSummarizationTaskParametersSortBy;\n}\n\nexport interface CustomEntitiesTask {\n parameters?: CustomEntitiesTaskParameters;\n taskName?: string;\n}\n\nexport interface CustomEntitiesTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface CustomSingleClassificationTask {\n parameters?: CustomSingleClassificationTaskParameters;\n taskName?: string;\n}\n\nexport interface CustomSingleClassificationTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\n}\n\nexport interface CustomMultiClassificationTask {\n parameters?: CustomMultiClassificationTaskParameters;\n taskName?: string;\n}\n\nexport interface CustomMultiClassificationTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\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 customEntityRecognitionTasks?: TasksStateTasksCustomEntityRecognitionTasksItem[];\n customSingleClassificationTasks?: TasksStateTasksCustomSingleClassificationTasksItem[];\n customMultiClassificationTasks?: TasksStateTasksCustomMultiClassificationTasksItem[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n taskName: string;\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 CustomEntitiesTaskResult {\n results?: CustomEntitiesResult;\n}\n\nexport interface CustomEntitiesResult {\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 the project name for the model. */\n projectName: string;\n /** This field indicates the deployment name for the model. */\n deploymentName: string;\n}\n\nexport interface CustomSingleClassificationTaskResult {\n results?: CustomSingleClassificationResult;\n}\n\nexport interface CustomSingleClassificationResult {\n /** Response by document */\n documents: SingleClassificationDocument[];\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\nexport interface SingleClassificationDocument {\n /** Unique, non-empty document identifier. */\n id: string;\n classification: ClassificationResult;\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 ClassificationResult {\n /** Classification type. */\n category: string;\n /** Confidence score between 0 and 1 of the recognized classification. */\n confidenceScore: number;\n}\n\nexport interface CustomMultiClassificationTaskResult {\n results?: CustomMultiClassificationResult;\n}\n\nexport interface CustomMultiClassificationResult {\n /** Response by document */\n documents: MultiClassificationDocument[];\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\nexport interface MultiClassificationDocument {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized classification results in the document. */\n classifications: ClassificationResult[];\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 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 TasksStateTasksCustomEntityRecognitionTasksItem = TaskState &\n CustomEntitiesTaskResult & {};\n\nexport type TasksStateTasksCustomSingleClassificationTasksItem = TaskState &\n CustomSingleClassificationTaskResult & {};\n\nexport type TasksStateTasksCustomMultiClassificationTasksItem = TaskState &\n CustomMultiClassificationTaskResult & {};\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","serializer","createSerializer","healthStatusOperationSpec","getPagedAsyncIterator","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,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yBAAyB;iBACrC;aACF;SACF;KACF;CACF,CAAC;AAEK,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4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,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/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/healthLro.ts","../src/multiCategoryClassifyResult.ts","../src/multiCategoryClassifyResultArray.ts","../src/singleCategoryClassifyResult.ts","../src/singleCategoryClassifyResultArray.ts","../src/extractSummaryResult.ts","../src/extractSummaryResultArray.ts","../src/recognizeCustomEntitiesResult.ts","../src/recognizeCustomEntitiesResultArray.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 customEntityRecognitionTasks: {\n serializedName: \"customEntityRecognitionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTask\"\n }\n }\n }\n },\n customSingleClassificationTasks: {\n serializedName: \"customSingleClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTask\"\n }\n }\n }\n },\n customMultiClassificationTasks: {\n serializedName: \"customMultiClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTask\"\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 taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EntitiesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntitiesTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PiiTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PiiTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"PiiTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\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 taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyPhrasesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyPhrasesTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EntityLinkingTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EntityLinkingTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SentimentAnalysisTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SentimentAnalysisTaskParameters\",\n modelProperties: {\n modelVersion: {\n defaultValue: \"latest\",\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n opinionMining: {\n defaultValue: false,\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const 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 taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\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: false,\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 CustomEntitiesTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomEntitiesTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTaskParameters\",\n modelProperties: {\n projectName: {\n serializedName: \"project-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deployment-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n },\n stringIndexType: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleClassificationTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleClassificationTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTaskParameters\",\n modelProperties: {\n projectName: {\n serializedName: \"project-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deployment-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiClassificationTask: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTask\",\n modelProperties: {\n parameters: {\n serializedName: \"parameters\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTaskParameters\"\n }\n },\n taskName: {\n serializedName: \"taskName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiClassificationTaskParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTaskParameters\",\n modelProperties: {\n projectName: {\n serializedName: \"project-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n deploymentName: {\n serializedName: \"deployment-name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n loggingOptOut: {\n defaultValue: false,\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const 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 customEntityRecognitionTasks: {\n serializedName: \"customEntityRecognitionTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomEntityRecognitionTasksItem\"\n }\n }\n }\n },\n customSingleClassificationTasks: {\n serializedName: \"customSingleClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomSingleClassificationTasksItem\"\n }\n }\n }\n },\n customMultiClassificationTasks: {\n serializedName: \"customMultiClassificationTasks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomMultiClassificationTasksItem\"\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 taskName: {\n serializedName: \"taskName\",\n required: true,\n type: {\n name: \"String\"\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 CustomEntitiesTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResult\"\n }\n }\n }\n }\n};\n\nexport const CustomEntitiesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomEntitiesResult\",\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 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 CustomSingleClassificationTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationResult\"\n }\n }\n }\n }\n};\n\nexport const CustomSingleClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomSingleClassificationResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SingleClassificationDocument\"\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 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 SingleClassificationDocument: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SingleClassificationDocument\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n classification: {\n serializedName: \"classification\",\n type: {\n name: \"Composite\",\n className: \"ClassificationResult\"\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 ClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ClassificationResult\",\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 CustomMultiClassificationTaskResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationTaskResult\",\n modelProperties: {\n results: {\n serializedName: \"results\",\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationResult\"\n }\n }\n }\n }\n};\n\nexport const CustomMultiClassificationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomMultiClassificationResult\",\n modelProperties: {\n documents: {\n serializedName: \"documents\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MultiClassificationDocument\"\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 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 MultiClassificationDocument: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MultiClassificationDocument\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n classifications: {\n serializedName: \"classifications\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ClassificationResult\"\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 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 TasksStateTasksCustomEntityRecognitionTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomEntityRecognitionTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...CustomEntitiesTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksCustomSingleClassificationTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomSingleClassificationTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...CustomSingleClassificationTaskResult.type.modelProperties\n }\n }\n};\n\nexport const TasksStateTasksCustomMultiClassificationTasksItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TasksStateTasksCustomMultiClassificationTasksItem\",\n modelProperties: {\n ...TaskState.type.modelProperties,\n ...CustomMultiClassificationTaskResult.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.2\",\n isConstant: true,\n serializedName: \"ApiVersion\",\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const jobId: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeStatistics: OperationQueryParameter = {\n parameterPath: [\"options\", \"includeStatistics\"],\n mapper: {\n serializedName: \"showStats\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 20,\n constraints: {\n InclusiveMaximum: 50,\n InclusiveMinimum: 1\n },\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n defaultValue: 0,\n constraints: {\n InclusiveMinimum: 0\n },\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const jobId1: OperationURLParameter = {\n parameterPath: \"jobId\",\n mapper: {\n serializedName: \"jobId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const input: OperationParameter = {\n parameterPath: \"input\",\n mapper: MultiLanguageBatchInputMapper\n};\n\nexport const modelVersion: OperationQueryParameter = {\n parameterPath: [\"options\", \"modelVersion\"],\n mapper: {\n serializedName: \"model-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const stringIndexType: OperationQueryParameter = {\n parameterPath: [\"options\", \"stringIndexType\"],\n mapper: {\n serializedName: \"stringIndexType\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const loggingOptOut: OperationQueryParameter = {\n parameterPath: [\"options\", \"loggingOptOut\"],\n mapper: {\n serializedName: \"loggingOptOut\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const domain: OperationQueryParameter = {\n parameterPath: [\"options\", \"domain\"],\n mapper: {\n serializedName: \"domain\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const piiCategories: OperationQueryParameter = {\n parameterPath: [\"options\", \"piiCategories\"],\n mapper: {\n constraints: {\n UniqueItems: true\n },\n serializedName: \"piiCategories\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const input1: OperationParameter = {\n parameterPath: \"input\",\n mapper: LanguageBatchInputMapper\n};\n\nexport const opinionMining: OperationQueryParameter = {\n parameterPath: [\"options\", \"opinionMining\"],\n mapper: {\n serializedName: \"opinionMining\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { 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.3`;\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.2\";\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 { logger } from \"./logger\";\nimport {\n ErrorResponse,\n GeneratedClient,\n InnerError,\n StringIndexType as GeneratedStringIndexType,\n TextAnalyticsError\n} from \"./generated\";\nimport { TextAnalyticsAction } from \"./textAnalyticsAction\";\nimport { createSpan } from \"./tracing\";\nimport { LroResponse } from \"@azure/core-lro\";\n\ninterface IdObject {\n id: string;\n}\n\n/**\n * Given a sorted array of input objects (with a unique ID) and an unsorted array of results,\n * return a sorted array of results.\n *\n * @internal\n * @param sortedArray - An array of entries sorted by `id`\n * @param unsortedArray - An array of entries that contain `id` but are not sorted\n */\nexport function sortResponseIdObjects<T extends IdObject, U extends IdObject>(\n sortedArray: T[],\n unsortedArray: U[]\n): U[] {\n const unsortedMap = new Map<string, U>();\n for (const item of unsortedArray) {\n unsortedMap.set(item.id, item);\n }\n\n if (unsortedArray.length !== sortedArray.length) {\n const ordinal = unsortedArray.length > sortedArray.length ? \"more\" : \"fewer\";\n logger.warning(\n `The service returned ${ordinal} responses than inputs. Some errors may be treated as fatal.`\n );\n }\n\n const result: U[] = [];\n for (const sortedItem of sortedArray) {\n const item = unsortedMap.get(sortedItem.id);\n if (item) {\n result.push(item);\n }\n }\n return result;\n}\n\n/**\n * @internal\n */\nexport interface AssessmentIndex {\n document: number;\n sentence: number;\n assessment: number;\n}\n\n/**\n * @internal\n */\nexport function parseAssessmentIndex(pointer: string): AssessmentIndex {\n const regex = new RegExp(/#\\/documents\\/(\\d+)\\/sentences\\/(\\d+)\\/assessments\\/(\\d+)/);\n const res = regex.exec(pointer);\n if (res !== null) {\n const assessmentIndex: AssessmentIndex = {\n document: parseInt(res[1]),\n sentence: parseInt(res[2]),\n assessment: parseInt(res[3])\n };\n return assessmentIndex;\n } else {\n throw new Error(`Pointer \"${pointer}\" is not a valid Assessment pointer`);\n }\n}\n\n/**\n * Parses the index of the healthcare entity from a JSON pointer.\n * @param pointer - a JSON pointer representing an entity\n * @internal\n */\nexport function parseHealthcareEntityIndex(pointer: string): number {\n const regex = new RegExp(/#\\/results\\/documents\\/(\\d+)\\/entities\\/(\\d+)/);\n const res = regex.exec(pointer);\n if (res !== null) {\n return parseInt(res[2]);\n } else {\n throw new Error(`Pointer \"${pointer}\" is not a valid healthcare entity pointer`);\n }\n}\n\nconst jsEncodingUnit = \"Utf16CodeUnit\";\n\n/**\n * Measurement units that can used to calculate the offset and length properties.\n */\nexport type StringIndexType = \"TextElement_v8\" | \"UnicodeCodePoint\" | \"Utf16CodeUnit\";\n\n/**\n * @internal\n */\nexport function addStrEncodingParam<Options extends { stringIndexType?: StringIndexType }>(\n options: Options\n): Options & { stringIndexType: StringIndexType } {\n return { ...options, stringIndexType: options.stringIndexType || jsEncodingUnit };\n}\n\n/**\n * Set the stringIndexType property with default if it does not exist in x.\n * @param options - operation options bag that has a {@link StringIndexType}\n * @internal\n */\nexport function setStrEncodingParam<X extends { stringIndexType?: GeneratedStringIndexType }>(\n x: X\n): X & { stringIndexType: GeneratedStringIndexType } {\n return { ...x, stringIndexType: x.stringIndexType || jsEncodingUnit };\n}\n\nexport function setStrEncodingParamValue(\n stringIndexType?: GeneratedStringIndexType\n): GeneratedStringIndexType {\n return stringIndexType || jsEncodingUnit;\n}\n\n/**\n * Set the opinion mining property\n * @internal\n */\nexport function setOpinionMining<X extends { includeOpinionMining?: boolean }>(\n x: X\n): X & { opinionMining?: boolean } {\n return { ...x, opinionMining: x.includeOpinionMining };\n}\n\n/**\n * Set the pii categories property\n * @internal\n */\nexport function setCategoriesFilter<X extends { categoriesFilter?: string[] }>(\n x: X\n): X & { piiCategories?: string[] } {\n return { ...x, piiCategories: x.categoriesFilter };\n}\n\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\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 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 compileError(errorResponse: unknown): any {\n const castErrorResponse = errorResponse as {\n response: {\n parsedBody?: ErrorResponse;\n };\n statusCode: number;\n };\n const topLevelError = castErrorResponse.response.parsedBody?.error;\n if (!topLevelError) return errorResponse;\n let errorMessage = topLevelError.message || \"\";\n let invalidDocumentBatchCode = false;\n function unwrap(error: TextAnalyticsError | InnerError): TextAnalyticsError {\n if (error?.innererror !== undefined && error.innererror.message !== undefined) {\n if (error.innererror.code === \"InvalidDocumentBatch\") {\n invalidDocumentBatchCode = true;\n }\n errorMessage = appendReadableErrorMessage(errorMessage, error.innererror.message);\n return unwrap(error.innererror);\n }\n return error as TextAnalyticsError;\n }\n unwrap(topLevelError);\n return new RestError(errorMessage, {\n code: invalidDocumentBatchCode ? \"InvalidDocumentBatch\" : topLevelError.code,\n statusCode: castErrorResponse.statusCode\n });\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 * 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\ninterface StandardTextAnalyticsResultArray<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\ninterface CustomTextAnalyticsResultArray<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 * This field indicates the project name for the model.\n */\n projectName: string;\n /**\n * This field indicates the deployment name for the model.\n */\n deploymentName: string;\n}\n\ninterface StandardTextAnalyticsResponse<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\ninterface CustomTextAnalyticsResponse<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 the project name for the model.\n */\n projectName: string;\n /**\n * This field indicates the deployment name for the model.\n */\n deploymentName: string;\n}\n\n/**\n * Helper function for converting nested service error into\n * the unified TextAnalyticsError\n * @internal\n */\nexport function intoTextAnalyticsError(\n errorModel: GeneratedTextAnalyticsErrorModel | InnerError\n): TextAnalyticsError {\n // Return the deepest error. This will always be at most\n // one level for TextAnalytics\n if (errorModel.innererror !== undefined) {\n return intoTextAnalyticsError(errorModel.innererror);\n }\n\n return {\n code: errorModel.code,\n message: errorModel.message,\n target: errorModel.target\n };\n}\n\n/**\n * @internal\n */\nexport function makeTextAnalyticsSuccessResult(\n id: string,\n warnings: TextAnalyticsWarning[],\n statistics?: TextDocumentStatistics\n): TextAnalyticsSuccessResult {\n return {\n id,\n statistics,\n warnings\n };\n}\n\n/**\n * @internal\n */\nexport function makeTextAnalyticsErrorResult(\n id: string,\n error: GeneratedTextAnalyticsErrorModel\n): TextAnalyticsErrorResult {\n return {\n id,\n error: intoTextAnalyticsError(error)\n };\n}\n\n/**\n * @internal\n * combines successful and erroneous results into a single array of results and\n * sort them so that the IDs order match that of the input documents array.\n * @param input - the array of documents sent to the service for processing.\n * @param response - the response received from the service.\n * @param process - a function to convert the results from one type to another.\n */\nexport function processAndCombineSuccessfulAndErroneousDocuments<\n TSuccessService extends TextAnalyticsSuccessResult,\n TSuccessSDK extends TextAnalyticsSuccessResult,\n TError extends TextAnalyticsErrorResult\n>(\n input: TextDocumentInput[],\n response: {\n documents: TSuccessService[];\n errors: DocumentError[];\n },\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: StandardTextAnalyticsResponse<TSuccessService>,\n processSuccess: (doc: TSuccessService) => TSuccessSDK,\n processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError\n): StandardTextAnalyticsResultArray<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\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, projectName, and deploymentName 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 combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo<\n TSuccessService extends TextAnalyticsSuccessResult,\n TSuccessSDK extends TextAnalyticsSuccessResult,\n TError extends TextAnalyticsErrorResult\n>(\n input: TextDocumentInput[],\n response: CustomTextAnalyticsResponse<TSuccessService>,\n processSuccess: (doc: TSuccessService) => TSuccessSDK,\n processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError\n): CustomTextAnalyticsResultArray<TSuccessSDK> {\n const sorted = processAndCombineSuccessfulAndErroneousDocuments(\n input,\n response,\n processSuccess,\n processError\n );\n return Object.assign(sorted, {\n statistics: response.statistics,\n projectName: response.projectName,\n deploymentName: response.deploymentName\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 */\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 { 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 { 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 GeneratedClientHealthStatusOptionalParams,\n GeneratedClientHealthStatusResponse,\n TextDocumentInput\n} from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport {\n addStrEncodingParam,\n getRawResponse,\n compileError,\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 \"@azure/core-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 = compileError(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(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n documents: TextDocumentInput[],\n options: GeneratedClientHealthStatusOptionalParams\n): (\n result: unknown,\n state: AnalyzeHealthcareOperationState\n) => PagedAnalyzeHealthcareEntitiesResult {\n return (\n result: unknown,\n state: AnalyzeHealthcareOperationState\n ): PagedAnalyzeHealthcareEntitiesResult => {\n const pollingURL = (state as any).pollingURL;\n const pagedResult: PagedResult<AnalyzeHealthcareEntitiesResultArray> = {\n firstPageLink: pollingURL,\n getPage: async (pageLink: string, maxPageSize?: number) => {\n const response = await sendGetRequest(\n client,\n healthStatusOperationSpec,\n \"HealthStatus\",\n // if `top` is set to `undefined`, the default value will not be sent\n // as part of the request.\n maxPageSize ? { ...options, top: maxPageSize } : options,\n pageLink\n );\n const flatResponse = response.flatResponse as GeneratedClientHealthStatusResponse;\n if (flatResponse.results) {\n return {\n page: processAndCombineSuccessfulAndErroneousDocuments(\n documents,\n flatResponse.results,\n makeHealthcareEntitiesResult,\n makeHealthcareEntitiesErrorResult\n ),\n nextPageLink: flatResponse.nextLink\n };\n } else {\n throw new Error(\"Healthcare action has succeeded but there are no results!\");\n }\n }\n };\n const pagedIterator = getPagedAsyncIterator<\n AnalyzeHealthcareEntitiesResult,\n AnalyzeHealthcareEntitiesResultArray\n >(pagedResult);\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 { TextAnalyticsError, MultiClassificationDocument } from \"./generated/models\";\nimport { ClassificationCategory } from \"./singleCategoryClassifyResult\";\n\n/**\n * The result of the custom classify document multi categories operation on a multi document.\n */\nexport type MultiCategoryClassifyResult =\n | MultiCategoryClassifySuccessResult\n | MultiCategoryClassifyErrorResult;\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 MultiCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of classifications in the input document.\n */\n classifications: ClassificationCategory[];\n}\n\n/**\n * An error result from the custom classify document multi category operation on a multi document.\n */\nexport type MultiCategoryClassifyErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeMultiCategoryClassifyResult(\n result: MultiClassificationDocument\n): MultiCategoryClassifySuccessResult {\n const { id, warnings, statistics, classifications } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n classifications\n };\n}\n\n/**\n * @internal\n */\nexport function makeMultiCategoryClassifyErrorResult(\n id: string,\n error: TextAnalyticsError\n): MultiCategoryClassifyErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n CustomMultiClassificationResult\n} from \"./generated/models\";\nimport {\n MultiCategoryClassifyResult,\n makeMultiCategoryClassifyResult,\n makeMultiCategoryClassifyErrorResult\n} from \"./multiCategoryClassifyResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from \"./textAnalyticsResult\";\n\n/**\n * Array of `MultiCategoryClassifyResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface MultiCategoryClassifyResultArray extends Array<MultiCategoryClassifyResult> {\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 custom project used by this operation on this\n * batch of input documents.\n */\n projectName: string;\n /**\n * The version of the text analytics custom deployment used by this operation on this\n * batch of input documents.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport function makeMultiCategoryClassifyResultArray(\n input: TextDocumentInput[],\n response: CustomMultiClassificationResult\n): MultiCategoryClassifyResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo(\n input,\n response,\n makeMultiCategoryClassifyResult,\n makeMultiCategoryClassifyErrorResult\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 ClassificationResult,\n SingleClassificationDocument\n} from \"./generated/models\";\n\n/**\n * The result of the custom classify document single category operation on a single document.\n */\nexport type SingleCategoryClassifyResult =\n | SingleCategoryClassifySuccessResult\n | SingleCategoryClassifyErrorResult;\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 SingleCategoryClassifySuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The classification result of the input document.\n */\n classification: ClassificationCategory;\n}\n\n/**\n * A classification result from a custom classify document single category action\n */\nexport interface ClassificationCategory extends ClassificationResult {}\n\n/**\n * An error result from the custom classify document single category operation on a single document.\n */\nexport type SingleCategoryClassifyErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeSingleCategoryClassifyResult(\n result: SingleClassificationDocument\n): SingleCategoryClassifySuccessResult {\n const { id, warnings, statistics, classification } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n classification\n };\n}\n\n/**\n * @internal\n */\nexport function makeSingleCategoryClassifyErrorResult(\n id: string,\n error: TextAnalyticsError\n): SingleCategoryClassifyErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n CustomSingleClassificationResult\n} from \"./generated/models\";\nimport {\n SingleCategoryClassifyResult,\n makeSingleCategoryClassifyResult,\n makeSingleCategoryClassifyErrorResult\n} from \"./singleCategoryClassifyResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from \"./textAnalyticsResult\";\n\n/**\n * Array of `SingleCategoryClassifyResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface SingleCategoryClassifyResultArray extends Array<SingleCategoryClassifyResult> {\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 custom project used by this operation on this\n * batch of input documents.\n */\n projectName: string;\n /**\n * The version of the text analytics custom deployment used by this operation on this\n * batch of input documents.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport function makeSingleCategoryClassifyResultArray(\n input: TextDocumentInput[],\n response: CustomSingleClassificationResult\n): SingleCategoryClassifyResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo(\n input,\n response,\n makeSingleCategoryClassifyResult,\n makeSingleCategoryClassifyErrorResult\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 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 {\n makeTextAnalyticsSuccessResult,\n TextAnalyticsSuccessResult,\n TextAnalyticsErrorResult,\n makeTextAnalyticsErrorResult\n} from \"./textAnalyticsResult\";\nimport { TextAnalyticsError, DocumentEntities } from \"./generated/models\";\nimport { CategorizedEntity } from \"./recognizeCategorizedEntitiesResult\";\n\n/**\n * The result of the custom recognize entities operation on a single document.\n */\nexport type RecognizeCustomEntitiesResult =\n | RecognizeCustomEntitiesSuccessResult\n | RecognizeCustomEntitiesErrorResult;\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 RecognizeCustomEntitiesSuccessResult extends TextAnalyticsSuccessResult {\n /**\n * The collection of entities identified in the input document.\n */\n entities: CategorizedEntity[];\n}\n\n/**\n * An error result from the recognize custom entities operation on a single document.\n */\nexport type RecognizeCustomEntitiesErrorResult = TextAnalyticsErrorResult;\n\n/**\n * @internal\n */\nexport function makeRecognizeCustomEntitiesResult(\n result: DocumentEntities\n): RecognizeCustomEntitiesSuccessResult {\n const { id, warnings, statistics, entities } = result;\n return {\n ...makeTextAnalyticsSuccessResult(id, warnings, statistics),\n entities\n };\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeCustomEntitiesErrorResult(\n id: string,\n error: TextAnalyticsError\n): RecognizeCustomEntitiesErrorResult {\n return makeTextAnalyticsErrorResult(id, error);\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TextDocumentBatchStatistics,\n TextDocumentInput,\n CustomEntitiesResult\n} from \"./generated/models\";\nimport {\n RecognizeCustomEntitiesResult,\n makeRecognizeCustomEntitiesResult,\n makeRecognizeCustomEntitiesErrorResult\n} from \"./recognizeCustomEntitiesResult\";\nimport { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from \"./textAnalyticsResult\";\n\n/**\n * Array of `CustomRecognizeEntitiesResult` objects corresponding to a batch of input documents, and\n * annotated with information about the batch operation.\n */\nexport interface RecognizeCustomEntitiesResultArray extends Array<RecognizeCustomEntitiesResult> {\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 custom project used by this operation on this\n * batch of input documents.\n */\n projectName: string;\n /**\n * The version of the text analytics custom deployment used by this operation on this\n * batch of input documents.\n */\n deploymentName: string;\n}\n\n/**\n * @internal\n */\nexport function makeRecognizeCustomEntitiesResultArray(\n input: TextDocumentInput[],\n response: CustomEntitiesResult\n): RecognizeCustomEntitiesResultArray {\n return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo(\n input,\n response,\n makeRecognizeCustomEntitiesResult,\n makeRecognizeCustomEntitiesErrorResult\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 MultiCategoryClassifyResultArray,\n makeMultiCategoryClassifyResultArray\n} from \"./multiCategoryClassifyResultArray\";\nimport {\n SingleCategoryClassifyResultArray,\n makeSingleCategoryClassifyResultArray\n} from \"./singleCategoryClassifyResultArray\";\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 makeRecognizeCustomEntitiesResultArray,\n RecognizeCustomEntitiesResultArray\n} from \"./recognizeCustomEntitiesResultArray\";\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 * Array of the results for each recognize custom entities action.\n */\n recognizeCustomEntitiesResults: RecognizeCustomEntitiesActionResult[];\n /**\n * Array of the results for each custom classify document single category action.\n */\n singleCategoryClassifyResults: SingleCategoryClassifyActionResult[];\n /**\n * Array of the results for each custom classify document multi category action.\n */\n multiCategoryClassifyResults: MultiCategoryClassifyActionResult[];\n}\n\n/**\n * The state of an action\n */\nexport interface TextAnalyticsActionState {\n /**\n * The name of the action.\n */\n actionName?: string;\n}\n\n/**\n * The state of a succeeded action.\n */\nexport interface TextAnalyticsActionSuccessState extends TextAnalyticsActionState {\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 extends TextAnalyticsActionState {\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 error of a custom recognize entities action.\n */\nexport type RecongizeCustomEntitiesActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded custom recognize entities action.\n */\nexport interface RecongizeCustomEntitiesActionSuccessResult\n extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each custom recognize entities action.\n */\n results: RecognizeCustomEntitiesResultArray;\n}\n\n/**\n * The result of a custom recognize entities action.\n */\nexport type RecognizeCustomEntitiesActionResult =\n | RecongizeCustomEntitiesActionSuccessResult\n | RecongizeCustomEntitiesActionErrorResult;\n\n/**\n * The error of a custom classify document single category action.\n */\nexport type SingleCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded custom classify document single category action.\n */\nexport interface SingleCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each custom classify document single category action.\n */\n results: SingleCategoryClassifyResultArray;\n}\n\n/**\n * The result of a custom classify document single category action.\n */\nexport type SingleCategoryClassifyActionResult =\n | SingleCategoryClassifyActionSuccessResult\n | SingleCategoryClassifyActionErrorResult;\n\n/**\n * The error of a custom classify document multi category action.\n */\nexport type MultiCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult;\n\n/**\n * The results of a succeeded custom classify document multi category action.\n */\nexport interface MultiCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState {\n /**\n * Array of the results for each custom classify document multi category action.\n */\n results: MultiCategoryClassifyResultArray;\n}\n\n/**\n * The result of a custom classify document multi category action.\n */\nexport type MultiCategoryClassifyActionResult =\n | MultiCategoryClassifyActionSuccessResult\n | MultiCategoryClassifyActionErrorResult;\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 | \"RecognizeCustomEntities\"\n | \"SingleCategoryClassify\"\n | \"MultiCategoryClassify\";\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 case \"customEntityRecognitionTasks\": {\n return \"RecognizeCustomEntities\";\n }\n case \"customSingleClassificationTasks\": {\n return \"SingleCategoryClassify\";\n }\n case \"customMultiClassificationTasks\": {\n return \"MultiCategoryClassify\";\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|customEntityRecognitionTasks|customSingleClassificationTasks|customMultiClassificationTasks)\\/(\\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 recognizeCustomEntitiesActionErrors: TextAnalyticsActionError[],\n singleCategoryClassifyActionErrors: TextAnalyticsActionError[],\n multiCategoryClassifyActionErrors: 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 case \"RecognizeCustomEntities\": {\n recognizeCustomEntitiesActionErrors.push(actionError);\n break;\n }\n case \"SingleCategoryClassify\": {\n singleCategoryClassifyActionErrors.push(actionError);\n break;\n }\n case \"MultiCategoryClassify\": {\n multiCategoryClassifyActionErrors.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 taskName?: string\n): TextAnalyticsActionErrorResult {\n return {\n error: intoTextAnalyticsError(error),\n failedOn: lastUpdateDateTime,\n actionName: taskName\n };\n}\n\ninterface TaskSuccessResult<T> {\n results?: T;\n taskName?: string;\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, taskName } = task;\n if (actionResults !== undefined) {\n const recognizeEntitiesResults = makeResultsArray(documents, actionResults);\n return [\n ...actions,\n {\n results: recognizeEntitiesResults,\n completedOn: lastUpdateDateTime,\n actionName: taskName\n }\n ];\n } else {\n return [\n ...actions,\n createErredAction(erredActions[errorIndex++], lastUpdateDateTime, taskName)\n ];\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 const recognizeCustomEntitiesActionErrors: TextAnalyticsActionError[] = [];\n const singleCategoryClassifyActionErrors: TextAnalyticsActionError[] = [];\n const multiCategoryClassifyActionErrors: TextAnalyticsActionError[] = [];\n categorizeActionErrors(\n response?.errors ?? [],\n recognizeEntitiesActionErrors,\n recognizePiiEntitiesActionErrors,\n extractKeyPhrasesActionErrors,\n recognizeLinkedEntitiesActionErrors,\n analyzeSentimentActionErrors,\n extractSummarySentencesActionErrors,\n recognizeCustomEntitiesActionErrors,\n singleCategoryClassifyActionErrors,\n multiCategoryClassifyActionErrors\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 recognizeCustomEntitiesResults: makeActionResult(\n documents,\n makeRecognizeCustomEntitiesResultArray,\n response.tasks.customEntityRecognitionTasks ?? [],\n recognizeCustomEntitiesActionErrors\n ),\n singleCategoryClassifyResults: makeActionResult(\n documents,\n makeSingleCategoryClassifyResultArray,\n response.tasks.customSingleClassificationTasks ?? [],\n singleCategoryClassifyActionErrors\n ),\n multiCategoryClassifyResults: makeActionResult(\n documents,\n makeMultiCategoryClassifyResultArray,\n response.tasks.customMultiClassificationTasks ?? [],\n multiCategoryClassifyActionErrors\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 GeneratedClientAnalyzeStatusOptionalParams,\n GeneratedClientAnalyzeStatusResponse,\n JobManifestTasks,\n TextDocumentInput\n} from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { compileError, getRawResponse, 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 \"@azure/core-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 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 = compileError(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(\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n client: GeneratedClient,\n documents: TextDocumentInput[],\n options: GeneratedClientAnalyzeStatusOptionalParams\n): (result: unknown, state: AnalyzeActionsOperationState) => PagedAnalyzeActionsResult {\n return (_result: unknown, state: AnalyzeActionsOperationState): PagedAnalyzeActionsResult => {\n const pollingURL = (state as any).pollingURL;\n const pagedResult: PagedResult<AnalyzeActionsResult> = {\n firstPageLink: pollingURL,\n getPage: async (pageLink: string, maxPageSize?: number) => {\n const response = await sendGetRequest(\n client,\n analyzeStatusOperationSpec,\n \"AnalyzeStatus\",\n // if `top` is set to `undefined`, the default value will not be sent\n // as part of the request.\n maxPageSize ? { ...options, top: maxPageSize } : options,\n pageLink\n );\n const flatResponse = response.flatResponse as GeneratedClientAnalyzeStatusResponse;\n return {\n page: createAnalyzeActionsResult(flatResponse, documents),\n nextPageLink: flatResponse.nextLink\n };\n }\n };\n const pagedIterator = getPagedAsyncIterator<AnalyzeActionsResult, AnalyzeActionsResult>(\n pagedResult\n );\n // Attach stats if the service starts to return them\n // https://github.com/Azure/azure-sdk-for-js/issues/14139\n // state.result = Object.assign(pagedIterator, {\n // statistics: operationStatus.statistics\n // });\n 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 compileError,\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 { CustomTextAnalyticsAction, 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 KnownSummarySentencesOrderBy} for possible values.\n */\n orderBy?: string;\n}\n\n/**\n * Options for a custom recognize entities action. For more information, please refer\n * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition}\n */\nexport interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction {\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 custom classify document single category action. For more information, please refer\n * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}\n */\nexport interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction {\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 custom classify document multi categories action. For more information, please refer\n * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}\n */\nexport interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction {\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 * Description of collection of actions for the analyze API to perform on input documents.\n */\nexport interface TextAnalyticsActions {\n /**\n * A collection of descriptions of entities recognition actions.\n */\n recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[];\n /**\n * A collection of descriptions of Pii entities recognition actions.\n */\n recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[];\n /**\n * A collection of descriptions of key phrases recognition actions.\n */\n extractKeyPhrasesActions?: ExtractKeyPhrasesAction[];\n /**\n * A collection of descriptions of entities linking actions.\n */\n recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[];\n /**\n * A collection of descriptions of sentiment analysis actions.\n */\n analyzeSentimentActions?: AnalyzeSentimentAction[];\n /**\n * A collection of descriptions of summarization extraction actions.\n */\n extractSummaryActions?: ExtractSummaryAction[];\n /**\n * A collection of descriptions of custom entity recognition actions. For more information, please refer\n * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition}\n */\n recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[];\n /**\n * A collection of descriptions of custom single classification actions. For more information, please refer\n * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}\n */\n singleCategoryClassifyActions?: SingleCategoryClassifyAction[];\n /**\n * A collection of descriptions of custom multi classification actions. For more information, please refer\n * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities}\n */\n multiCategoryClassifyActions?: MultiCategoryClassifyAction[];\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 = compileError(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 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\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 customEntityRecognitionTasks: actions.recognizeCustomEntitiesActions?.map(\n compose(setStrEncodingParam, addParamsToTask)\n ),\n customSingleClassificationTasks: actions.singleCategoryClassifyActions?.map(addParamsToTask),\n customMultiClassificationTasks: actions.multiCategoryClassifyActions?.map(addParamsToTask)\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 customEntityRecognitionTasks?: CustomEntitiesTask[];\n customSingleClassificationTasks?: CustomSingleClassificationTask[];\n customMultiClassificationTasks?: CustomMultiClassificationTask[];\n}\n\nexport interface EntitiesTask {\n parameters?: EntitiesTaskParameters;\n taskName?: string;\n}\n\nexport interface EntitiesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface PiiTask {\n parameters?: PiiTaskParameters;\n taskName?: string;\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 taskName?: string;\n}\n\nexport interface KeyPhrasesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n}\n\nexport interface EntityLinkingTask {\n parameters?: EntityLinkingTaskParameters;\n taskName?: string;\n}\n\nexport interface EntityLinkingTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface SentimentAnalysisTask {\n parameters?: SentimentAnalysisTaskParameters;\n taskName?: string;\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 taskName?: string;\n}\n\nexport interface ExtractiveSummarizationTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n sentenceCount?: number;\n sortBy?: ExtractiveSummarizationTaskParametersSortBy;\n}\n\nexport interface CustomEntitiesTask {\n parameters?: CustomEntitiesTaskParameters;\n taskName?: string;\n}\n\nexport interface CustomEntitiesTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface CustomSingleClassificationTask {\n parameters?: CustomSingleClassificationTaskParameters;\n taskName?: string;\n}\n\nexport interface CustomSingleClassificationTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\n}\n\nexport interface CustomMultiClassificationTask {\n parameters?: CustomMultiClassificationTaskParameters;\n taskName?: string;\n}\n\nexport interface CustomMultiClassificationTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\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 customEntityRecognitionTasks?: TasksStateTasksCustomEntityRecognitionTasksItem[];\n customSingleClassificationTasks?: TasksStateTasksCustomSingleClassificationTasksItem[];\n customMultiClassificationTasks?: TasksStateTasksCustomMultiClassificationTasksItem[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n taskName: string;\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 CustomEntitiesTaskResult {\n results?: CustomEntitiesResult;\n}\n\nexport interface CustomEntitiesResult {\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 the project name for the model. */\n projectName: string;\n /** This field indicates the deployment name for the model. */\n deploymentName: string;\n}\n\nexport interface CustomSingleClassificationTaskResult {\n results?: CustomSingleClassificationResult;\n}\n\nexport interface CustomSingleClassificationResult {\n /** Response by document */\n documents: SingleClassificationDocument[];\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\nexport interface SingleClassificationDocument {\n /** Unique, non-empty document identifier. */\n id: string;\n classification: ClassificationResult;\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 ClassificationResult {\n /** Classification type. */\n category: string;\n /** Confidence score between 0 and 1 of the recognized classification. */\n confidenceScore: number;\n}\n\nexport interface CustomMultiClassificationTaskResult {\n results?: CustomMultiClassificationResult;\n}\n\nexport interface CustomMultiClassificationResult {\n /** Response by document */\n documents: MultiClassificationDocument[];\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\nexport interface MultiClassificationDocument {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized classification results in the document. */\n classifications: ClassificationResult[];\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 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 TasksStateTasksCustomEntityRecognitionTasksItem = TaskState &\n CustomEntitiesTaskResult & {};\n\nexport type TasksStateTasksCustomSingleClassificationTasksItem = TaskState &\n CustomSingleClassificationTaskResult & {};\n\nexport type TasksStateTasksCustomMultiClassificationTasksItem = TaskState &\n CustomMultiClassificationTaskResult & {};\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","serializer","createSerializer","healthStatusOperationSpec","getPagedAsyncIterator","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,CA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