@azure/ai-text-analytics 5.2.0-alpha.20210913.4 → 5.2.0-alpha.20211027.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/README.md +3 -1
- package/dist/index.js +803 -112
- package/dist/index.js.map +1 -1
- package/dist-esm/src/analyzeActionsResult.js +35 -5
- package/dist-esm/src/analyzeActionsResult.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +559 -1
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +2 -1
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/multiCategoryClassifyResult.js +17 -0
- package/dist-esm/src/multiCategoryClassifyResult.js.map +1 -0
- package/dist-esm/src/multiCategoryClassifyResultArray.js +11 -0
- package/dist-esm/src/multiCategoryClassifyResultArray.js.map +1 -0
- package/dist-esm/src/recognizeCustomEntitiesResult.js +17 -0
- package/dist-esm/src/recognizeCustomEntitiesResult.js.map +1 -0
- package/dist-esm/src/recognizeCustomEntitiesResultArray.js +11 -0
- package/dist-esm/src/recognizeCustomEntitiesResultArray.js.map +1 -0
- package/dist-esm/src/singleCategoryClassifyResult.js +17 -0
- package/dist-esm/src/singleCategoryClassifyResult.js.map +1 -0
- package/dist-esm/src/singleCategoryClassifyResultArray.js +11 -0
- package/dist-esm/src/singleCategoryClassifyResultArray.js.map +1 -0
- package/dist-esm/src/textAnalyticsAction.js.map +1 -1
- package/dist-esm/src/textAnalyticsClient.js +5 -2
- package/dist-esm/src/textAnalyticsClient.js.map +1 -1
- package/dist-esm/src/textAnalyticsResult.js +16 -0
- package/dist-esm/src/textAnalyticsResult.js.map +1 -1
- package/dist-esm/src/util.js +0 -26
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +3 -4
- package/types/ai-text-analytics.d.ts +293 -2
- package/dist-esm/src/utils/url.browser.js +0 -6
- package/dist-esm/src/utils/url.browser.js.map +0 -1
- package/dist-esm/src/utils/url.js +0 -4
- package/dist-esm/src/utils/url.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA6qBH,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,oQAAoQ;IACpQ,wDAAgC,CAAA;IAChC,uLAAuL;IACvL,6DAAqC,CAAA;IACrC,+LAA+L;IAC/L,uDAA+B,CAAA;AACjC,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B;AAaD,gFAAgF;AAChF,MAAM,CAAN,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,2CAAW,CAAA;IACX,6CAAa,CAAA;AACf,CAAC,EAHW,4BAA4B,KAA5B,4BAA4B,QAGvC;AAYD,oEAAoE;AACpE,MAAM,CAAN,IAAY,gBA8KX;AA9KD,WAAY,gBAAgB;IAC1B,yDAAqC,CAAA;IACrC,yEAAqD,CAAA;IACrD,+DAA2C,CAAA;IAC3C,qEAAiD,CAAA;IACjD,qEAAiD,CAAA;IACjD,yDAAqC,CAAA;IACrC,uDAAmC,CAAA;IACnC,yDAAqC,CAAA;IACrC,uDAAmC,CAAA;IACnC,qDAAiC,CAAA;IACjC,2EAAuD,CAAA;IACvD,mEAA+C,CAAA;IAC/C,qEAAiD,CAAA;IACjD,uGAAmF,CAAA;IACnF,yEAAqD,CAAA;IACrD,+EAA2D,CAAA;IAC3D,mEAA+C,CAAA;IAC/C,yCAAqB,CAAA;IACrB,mEAA+C,CAAA;IAC/C,qEAAiD,CAAA;IACjD,6EAAyD,CAAA;IACzD,yDAAqC,CAAA;IACrC,6DAAyC,CA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C7C,kEAA6C,CAAA;IAC7C,oEAA+C,CAAA;IAC/C,4DAAuC,CAAA;IACvC,wDAAmC,CAAA;IACnC,gDAA2B,CAAA;IAC3B,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,wDAAmC,CAAA;IACnC,wDAAmC,CAAA;IACnC,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,8DAAyC,CAAA;AAC3C,CAAC,EAtBW,iBAAiB,KAAjB,iBAAiB,QAsB5B","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 interface JobDescriptor {\n /** Optional display name for the analysis job. */\n displayName?: string;\n}\n\nexport interface AnalysisInput {\n /** Contains a set of input documents to be analyzed by the service. */\n analysisInput: MultiLanguageBatchInput;\n}\n\n/** Contains a set of input documents to be analyzed by the service. */\nexport interface MultiLanguageBatchInput {\n /** The set of documents to process as part of this batch. */\n documents: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */\nexport interface TextDocumentInput {\n /** A unique, non-empty document identifier. */\n id: string;\n /** The input text to process. */\n text: string;\n /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default. */\n language?: string;\n}\n\nexport interface JobManifest {\n /** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */\n tasks: JobManifestTasks;\n}\n\n/** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */\nexport interface JobManifestTasks {\n entityRecognitionTasks?: EntitiesTask[];\n entityRecognitionPiiTasks?: PiiTask[];\n keyPhraseExtractionTasks?: KeyPhrasesTask[];\n entityLinkingTasks?: EntityLinkingTask[];\n sentimentAnalysisTasks?: SentimentAnalysisTask[];\n extractiveSummarizationTasks?: ExtractiveSummarizationTask[];\n}\n\nexport interface EntitiesTask {\n parameters?: EntitiesTaskParameters;\n}\n\nexport interface EntitiesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface PiiTask {\n parameters?: PiiTaskParameters;\n}\n\nexport interface PiiTaskParameters {\n domain?: PiiTaskParametersDomain;\n modelVersion?: string;\n loggingOptOut?: boolean;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n stringIndexType?: StringIndexType;\n}\n\nexport interface KeyPhrasesTask {\n parameters?: KeyPhrasesTaskParameters;\n}\n\nexport interface KeyPhrasesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n}\n\nexport interface EntityLinkingTask {\n parameters?: EntityLinkingTaskParameters;\n}\n\nexport interface EntityLinkingTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface SentimentAnalysisTask {\n parameters?: SentimentAnalysisTaskParameters;\n}\n\nexport interface SentimentAnalysisTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n opinionMining?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface ExtractiveSummarizationTask {\n parameters?: ExtractiveSummarizationTaskParameters;\n}\n\nexport interface ExtractiveSummarizationTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n sentenceCount?: number;\n sortBy?: ExtractiveSummarizationTaskParametersSortBy;\n}\n\nexport interface ErrorResponse {\n /** Document Error. */\n error: TextAnalyticsError;\n}\n\nexport interface TextAnalyticsError {\n /** Error code. */\n code: ErrorCodeValue;\n /** Error message. */\n message: string;\n /** Error target. */\n target?: string;\n /** Inner error contains more specific information. */\n innererror?: InnerError;\n /** Details about specific errors that led to this reported error. */\n details?: TextAnalyticsError[];\n}\n\nexport interface InnerError {\n /** Error code. */\n code: InnerErrorCodeValue;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** Inner error contains more specific information. */\n innererror?: InnerError;\n}\n\nexport interface JobMetadata {\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeJobDisplayName {\n displayName?: string;\n}\n\nexport interface TasksState {\n tasks: TasksStateTasks;\n}\n\nexport interface TasksStateTasks {\n completed: number;\n failed: number;\n inProgress: number;\n total: number;\n entityRecognitionTasks?: TasksStateTasksEntityRecognitionTasksItem[];\n entityRecognitionPiiTasks?: TasksStateTasksEntityRecognitionPiiTasksItem[];\n keyPhraseExtractionTasks?: TasksStateTasksKeyPhraseExtractionTasksItem[];\n entityLinkingTasks?: TasksStateTasksEntityLinkingTasksItem[];\n sentimentAnalysisTasks?: TasksStateTasksSentimentAnalysisTasksItem[];\n extractiveSummarizationTasks?: TasksStateTasksExtractiveSummarizationTasksItem[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface EntitiesTaskResult {\n results?: EntitiesResult;\n}\n\nexport interface EntitiesResult {\n /** Response by document */\n documents: DocumentEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types . */\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface TextAnalyticsWarning {\n /** Error code. */\n code: WarningCode;\n /** Warning message. */\n message: string;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\nexport interface TextDocumentStatistics {\n /** Number of text elements recognized in the document. */\n characterCount: number;\n /** Number of transactions for the document. */\n transactionCount: number;\n}\n\nexport interface DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: TextAnalyticsError;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\nexport interface TextDocumentBatchStatistics {\n /** Number of documents submitted in the request. */\n documentCount: number;\n /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */\n validDocumentCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousDocumentCount: number;\n /** Number of transactions for the request. */\n transactionCount: number;\n}\n\nexport interface PiiTaskResult {\n results?: PiiResult;\n}\n\nexport interface PiiResult {\n /** Response by document */\n documents: PiiDocumentEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface PiiDocumentEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface KeyPhraseTaskResult {\n results?: KeyPhraseResult;\n}\n\nexport interface KeyPhraseResult {\n /** Response by document */\n documents: DocumentKeyPhrases[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentKeyPhrases {\n /** Unique, non-empty document identifier. */\n id: string;\n /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */\n keyPhrases: string[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface EntityLinkingTaskResult {\n results?: EntityLinkingResult;\n}\n\nexport interface EntityLinkingResult {\n /** Response by document */\n documents: DocumentLinkedEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentLinkedEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */\nexport interface LinkedEntity {\n /** Entity Linking formal name. */\n name: string;\n /** List of instances this entity appears in the text. */\n matches: Match[];\n /** Language used in the data source. */\n language: string;\n /** Unique identifier of the recognized entity from the data source. */\n dataSourceEntityId?: string;\n /** URL for the entity's page from the data source. */\n url: string;\n /** Data source used to extract entity linking, such as Wiki/Bing etc. */\n dataSource: string;\n /** Bing Entity Search API unique identifier of the recognized entity. */\n bingEntitySearchApiId?: string;\n}\n\n/** Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model. */\nexport interface Match {\n /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */\n confidenceScore: number;\n /** Entity text as appears in the request. */\n text: string;\n /** Start position for the entity match text. */\n offset: number;\n /** Length for the entity match text. */\n length: number;\n}\n\nexport interface SentimentTaskResult {\n results?: SentimentResponse;\n}\n\nexport interface SentimentResponse {\n /** Sentiment analysis per document. */\n documents: DocumentSentiment[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentSentiment {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentenceSentiments: SentenceSentiment[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n}\n\n/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */\nexport interface SentimentConfidenceScores {\n positive: number;\n neutral: number;\n negative: number;\n}\n\n/** The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. */\nexport interface SentenceSentiment {\n /** The sentence text. */\n text: string;\n /** The predicted Sentiment for the sentence. */\n sentiment: SentenceSentimentLabel;\n /** The sentiment confidence score between 0 and 1 for the sentence for all classes. */\n confidenceScores: SentimentConfidenceScores;\n /** The sentence offset from the start of the document. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n /** The array of sentence targets for the sentence. */\n targets?: SentenceTarget[];\n /** The array of assessments for the sentence. */\n assessments?: SentenceAssessment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentValue;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScoreLabel;\n /** The target offset from the start of the sentence. */\n offset: number;\n /** The length of the target. */\n length: number;\n /** The target text detected. */\n text: string;\n /** The array of either assessment or target objects which is related to the target. */\n relations: TargetRelation[];\n}\n\n/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */\nexport interface TargetConfidenceScoreLabel {\n positive: number;\n negative: number;\n}\n\nexport interface TargetRelation {\n /** The type related to the target. */\n relationType: TargetRelationType;\n /** The JSON pointer indicating the linked object. */\n ref: string;\n}\n\nexport interface SentenceAssessment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentValue;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScoreLabel;\n /** The assessment offset from the start of the sentence. */\n offset: number;\n /** The length of the assessment. */\n length: number;\n /** The assessment text detected. */\n text: string;\n /** The indicator representing if the assessment is negated. */\n isNegated: boolean;\n}\n\nexport interface ExtractiveSummarizationTaskResult {\n results?: ExtractiveSummarizationResult;\n}\n\nexport interface ExtractiveSummarizationResult {\n /** Response by document */\n documents: ExtractedDocumentSummary[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface ExtractedDocumentSummary {\n /** Unique, non-empty document identifier. */\n id: string;\n /** A ranked list of sentences representing the extracted summary. */\n sentences: ExtractedSummarySentence[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface ExtractedSummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\nexport interface AnalyzeJobErrorsAndStatistics {\n errors?: TextAnalyticsError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n}\n\nexport interface Pagination {\n nextLink?: string;\n}\n\nexport interface HealthcareTaskResult {\n results?: HealthcareResult;\n errors?: TextAnalyticsError[];\n}\n\nexport interface HealthcareResult {\n /** Response by document */\n documents: DocumentHealthcareEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentHealthcareEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface HealthcareEntityProperties {\n /** Entity text as appears in the request. */\n text: string;\n /** Healthcare Entity Category. */\n category: HealthcareEntityCategory;\n /** (Optional) Entity sub type. */\n subcategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\nexport interface HealthcareLinkingProperties {\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n name?: string;\n /** Entity references in known data sources. */\n links?: HealthcareEntityLink[];\n}\n\nexport interface HealthcareAssertion {\n /** Describes any conditionality on the entity. */\n conditionality?: Conditionality;\n /** Describes the entities certainty and polarity. */\n certainty?: Certainty;\n /** Describes if the entity is the subject of the text or if it describes someone else. */\n association?: Association;\n}\n\nexport interface HealthcareEntityLink {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n dataSource: string;\n /** Entity id in the given source catalog. */\n id: string;\n}\n\n/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */\nexport interface HealthcareRelation {\n /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */\n relationType: RelationType;\n /** The entities in the relation. */\n entities: HealthcareRelationEntity[];\n}\n\nexport interface HealthcareRelationEntity {\n /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */\n ref: string;\n /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */\n role: string;\n}\n\nexport interface LanguageBatchInput {\n documents: DetectLanguageInput[];\n}\n\n/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the text analytics predictive model in detecting the document's language. */\nexport interface DetectLanguageInput {\n /** Unique, non-empty document identifier. */\n id: string;\n text: string;\n countryHint?: string;\n}\n\nexport interface LanguageResult {\n /** Response by document */\n documents: DocumentLanguage[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentLanguage {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Information about the language of a document as identified by the Text Analytics service. */\nexport interface DetectedLanguage {\n /** Long name of a detected language (e.g. English, French). */\n name: string;\n /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */\n iso6391Name: string;\n /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */\n confidenceScore: number;\n}\n\nexport type AnalyzeBatchInput = JobDescriptor &\n AnalysisInput &\n JobManifest & {};\n\nexport type AnalyzeJobMetadata = JobMetadata & AnalyzeJobDisplayName & {};\n\nexport type HealthcareJobState = JobMetadata &\n HealthcareTaskResult &\n Pagination & {};\n\nexport type AnalyzeJobState = AnalyzeJobMetadata &\n TasksState &\n AnalyzeJobErrorsAndStatistics &\n Pagination & {};\n\nexport type TasksStateTasksEntityRecognitionTasksItem = TaskState &\n EntitiesTaskResult & {};\n\nexport type TasksStateTasksEntityRecognitionPiiTasksItem = TaskState &\n PiiTaskResult & {};\n\nexport type TasksStateTasksKeyPhraseExtractionTasksItem = TaskState &\n KeyPhraseTaskResult & {};\n\nexport type TasksStateTasksEntityLinkingTasksItem = TaskState &\n EntityLinkingTaskResult & {};\n\nexport type TasksStateTasksSentimentAnalysisTasksItem = TaskState &\n SentimentTaskResult & {};\n\nexport type TasksStateTasksExtractiveSummarizationTasksItem = TaskState &\n ExtractiveSummarizationTaskResult & {};\n\nexport type HealthcareEntity = HealthcareEntityProperties &\n HealthcareLinkingProperties & {};\n\n/** Defines headers for GeneratedClient_analyze operation. */\nexport interface GeneratedClientAnalyzeHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for GeneratedClient_cancelHealthJob operation. */\nexport interface GeneratedClientCancelHealthJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for GeneratedClient_health operation. */\nexport interface GeneratedClientHealthHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementV8 = \"TextElement_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\"\n}\n\n/**\n * Defines values for StringIndexType. \\\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElement_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \\\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \\\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link PiiTaskParametersDomain} that the service accepts. */\nexport enum KnownPiiTaskParametersDomain {\n Phi = \"phi\",\n None = \"none\"\n}\n\n/**\n * Defines values for PiiTaskParametersDomain. \\\n * {@link KnownPiiTaskParametersDomain} can be used interchangeably with PiiTaskParametersDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi** \\\n * **none**\n */\nexport type PiiTaskParametersDomain = string;\n\n/** Known values of {@link PiiCategory} that the service accepts. */\nexport enum KnownPiiCategory {\n ABARoutingNumber = \"ABARoutingNumber\",\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n AUBankAccountNumber = \"AUBankAccountNumber\",\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n AUPassportNumber = \"AUPassportNumber\",\n AUTaxFileNumber = \"AUTaxFileNumber\",\n AUBusinessNumber = \"AUBusinessNumber\",\n AUCompanyNumber = \"AUCompanyNumber\",\n ATIdentityCard = \"ATIdentityCard\",\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n AzureRedisCacheString = \"AzureRedisCacheString\",\n AzureSAS = \"AzureSAS\",\n AzureServiceBusString = \"AzureServiceBusString\",\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n BENationalNumber = \"BENationalNumber\",\n BENationalNumberV2 = \"BENationalNumberV2\",\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n BrcpfNumber = \"BRCPFNumber\",\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n BRNationalIdrg = \"BRNationalIDRG\",\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n CABankAccountNumber = \"CABankAccountNumber\",\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n CAPassportNumber = \"CAPassportNumber\",\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n CreditCardNumber = \"CreditCardNumber\",\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n HRNationalIDNumber = \"HRNationalIDNumber\",\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n CYIdentityCard = \"CYIdentityCard\",\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n EUDebitCardNumber = \"EUDebitCardNumber\",\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n EugpsCoordinates = \"EUGPSCoordinates\",\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n EUPassportNumber = \"EUPassportNumber\",\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n FINationalID = \"FINationalID\",\n FINationalIDV2 = \"FINationalIDV2\",\n FIPassportNumber = \"FIPassportNumber\",\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n FRNationalID = \"FRNationalID\",\n FRPassportNumber = \"FRPassportNumber\",\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n DEPassportNumber = \"DEPassportNumber\",\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n DEValueAddedNumber = \"DEValueAddedNumber\",\n GRNationalIDCard = \"GRNationalIDCard\",\n GRNationalIDV2 = \"GRNationalIDV2\",\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n HUValueAddedNumber = \"HUValueAddedNumber\",\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n INPermanentAccount = \"INPermanentAccount\",\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n ILBankAccountNumber = \"ILBankAccountNumber\",\n ILNationalID = \"ILNationalID\",\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n ITFiscalCode = \"ITFiscalCode\",\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n JPBankAccountNumber = \"JPBankAccountNumber\",\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n JPPassportNumber = \"JPPassportNumber\",\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n LVPersonalCode = \"LVPersonalCode\",\n LTPersonalCode = \"LTPersonalCode\",\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n MTTaxIDNumber = \"MTTaxIDNumber\",\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n NZBankAccountNumber = \"NZBankAccountNumber\",\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n NOIdentityNumber = \"NOIdentityNumber\",\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n PLIdentityCard = \"PLIdentityCard\",\n PLNationalID = \"PLNationalID\",\n PLNationalIDV2 = \"PLNationalIDV2\",\n PLPassportNumber = \"PLPassportNumber\",\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n PlregonNumber = \"PLREGONNumber\",\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n SANationalID = \"SANationalID\",\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n SKPersonalNumber = \"SKPersonalNumber\",\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n Esdni = \"ESDNI\",\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n SQLServerConnectionString = \"SQLServerConnectionString\",\n SENationalID = \"SENationalID\",\n SENationalIDV2 = \"SENationalIDV2\",\n SEPassportNumber = \"SEPassportNumber\",\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n SwiftCode = \"SWIFTCode\",\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n TWNationalID = \"TWNationalID\",\n TWPassportNumber = \"TWPassportNumber\",\n TWResidentCertificate = \"TWResidentCertificate\",\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n UsukPassportNumber = \"USUKPassportNumber\",\n USBankAccountNumber = \"USBankAccountNumber\",\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n Organization = \"Organization\",\n Email = \"Email\",\n URL = \"URL\",\n Age = \"Age\",\n PhoneNumber = \"PhoneNumber\",\n IPAddress = \"IPAddress\",\n Date = \"Date\",\n Person = \"Person\",\n Address = \"Address\",\n All = \"All\",\n Default = \"Default\"\n}\n\n/**\n * Defines values for PiiCategory. \\\n * {@link KnownPiiCategory} can be used interchangeably with PiiCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ABARoutingNumber** \\\n * **ARNationalIdentityNumber** \\\n * **AUBankAccountNumber** \\\n * **AUDriversLicenseNumber** \\\n * **AUMedicalAccountNumber** \\\n * **AUPassportNumber** \\\n * **AUTaxFileNumber** \\\n * **AUBusinessNumber** \\\n * **AUCompanyNumber** \\\n * **ATIdentityCard** \\\n * **ATTaxIdentificationNumber** \\\n * **ATValueAddedTaxNumber** \\\n * **AzureDocumentDBAuthKey** \\\n * **AzureIAASDatabaseConnectionAndSQLString** \\\n * **AzureIoTConnectionString** \\\n * **AzurePublishSettingPassword** \\\n * **AzureRedisCacheString** \\\n * **AzureSAS** \\\n * **AzureServiceBusString** \\\n * **AzureStorageAccountKey** \\\n * **AzureStorageAccountGeneric** \\\n * **BENationalNumber** \\\n * **BENationalNumberV2** \\\n * **BEValueAddedTaxNumber** \\\n * **BRCPFNumber** \\\n * **BRLegalEntityNumber** \\\n * **BRNationalIDRG** \\\n * **BGUniformCivilNumber** \\\n * **CABankAccountNumber** \\\n * **CADriversLicenseNumber** \\\n * **CAHealthServiceNumber** \\\n * **CAPassportNumber** \\\n * **CAPersonalHealthIdentification** \\\n * **CASocialInsuranceNumber** \\\n * **CLIdentityCardNumber** \\\n * **CNResidentIdentityCardNumber** \\\n * **CreditCardNumber** \\\n * **HRIdentityCardNumber** \\\n * **HRNationalIDNumber** \\\n * **HRPersonalIdentificationNumber** \\\n * **HRPersonalIdentificationOIBNumberV2** \\\n * **CYIdentityCard** \\\n * **CYTaxIdentificationNumber** \\\n * **CZPersonalIdentityNumber** \\\n * **CZPersonalIdentityV2** \\\n * **DKPersonalIdentificationNumber** \\\n * **DKPersonalIdentificationV2** \\\n * **DrugEnforcementAgencyNumber** \\\n * **EEPersonalIdentificationCode** \\\n * **EUDebitCardNumber** \\\n * **EUDriversLicenseNumber** \\\n * **EUGPSCoordinates** \\\n * **EUNationalIdentificationNumber** \\\n * **EUPassportNumber** \\\n * **EUSocialSecurityNumber** \\\n * **EUTaxIdentificationNumber** \\\n * **FIEuropeanHealthNumber** \\\n * **FINationalID** \\\n * **FINationalIDV2** \\\n * **FIPassportNumber** \\\n * **FRDriversLicenseNumber** \\\n * **FRHealthInsuranceNumber** \\\n * **FRNationalID** \\\n * **FRPassportNumber** \\\n * **FRSocialSecurityNumber** \\\n * **FRTaxIdentificationNumber** \\\n * **FRValueAddedTaxNumber** \\\n * **DEDriversLicenseNumber** \\\n * **DEPassportNumber** \\\n * **DEIdentityCardNumber** \\\n * **DETaxIdentificationNumber** \\\n * **DEValueAddedNumber** \\\n * **GRNationalIDCard** \\\n * **GRNationalIDV2** \\\n * **GRTaxIdentificationNumber** \\\n * **HKIdentityCardNumber** \\\n * **HUValueAddedNumber** \\\n * **HUPersonalIdentificationNumber** \\\n * **HUTaxIdentificationNumber** \\\n * **INPermanentAccount** \\\n * **INUniqueIdentificationNumber** \\\n * **IDIdentityCardNumber** \\\n * **InternationalBankingAccountNumber** \\\n * **IEPersonalPublicServiceNumber** \\\n * **IEPersonalPublicServiceNumberV2** \\\n * **ILBankAccountNumber** \\\n * **ILNationalID** \\\n * **ITDriversLicenseNumber** \\\n * **ITFiscalCode** \\\n * **ITValueAddedTaxNumber** \\\n * **JPBankAccountNumber** \\\n * **JPDriversLicenseNumber** \\\n * **JPPassportNumber** \\\n * **JPResidentRegistrationNumber** \\\n * **JPSocialInsuranceNumber** \\\n * **JPMyNumberCorporate** \\\n * **JPMyNumberPersonal** \\\n * **JPResidenceCardNumber** \\\n * **LVPersonalCode** \\\n * **LTPersonalCode** \\\n * **LUNationalIdentificationNumberNatural** \\\n * **LUNationalIdentificationNumberNonNatural** \\\n * **MYIdentityCardNumber** \\\n * **MTIdentityCardNumber** \\\n * **MTTaxIDNumber** \\\n * **NLCitizensServiceNumber** \\\n * **NLCitizensServiceNumberV2** \\\n * **NLTaxIdentificationNumber** \\\n * **NLValueAddedTaxNumber** \\\n * **NZBankAccountNumber** \\\n * **NZDriversLicenseNumber** \\\n * **NZInlandRevenueNumber** \\\n * **NZMinistryOfHealthNumber** \\\n * **NZSocialWelfareNumber** \\\n * **NOIdentityNumber** \\\n * **PHUnifiedMultiPurposeIDNumber** \\\n * **PLIdentityCard** \\\n * **PLNationalID** \\\n * **PLNationalIDV2** \\\n * **PLPassportNumber** \\\n * **PLTaxIdentificationNumber** \\\n * **PLREGONNumber** \\\n * **PTCitizenCardNumber** \\\n * **PTCitizenCardNumberV2** \\\n * **PTTaxIdentificationNumber** \\\n * **ROPersonalNumericalCode** \\\n * **RUPassportNumberDomestic** \\\n * **RUPassportNumberInternational** \\\n * **SANationalID** \\\n * **SGNationalRegistrationIdentityCardNumber** \\\n * **SKPersonalNumber** \\\n * **SITaxIdentificationNumber** \\\n * **SIUniqueMasterCitizenNumber** \\\n * **ZAIdentificationNumber** \\\n * **KRResidentRegistrationNumber** \\\n * **ESDNI** \\\n * **ESSocialSecurityNumber** \\\n * **ESTaxIdentificationNumber** \\\n * **SQLServerConnectionString** \\\n * **SENationalID** \\\n * **SENationalIDV2** \\\n * **SEPassportNumber** \\\n * **SETaxIdentificationNumber** \\\n * **SWIFTCode** \\\n * **CHSocialSecurityNumber** \\\n * **TWNationalID** \\\n * **TWPassportNumber** \\\n * **TWResidentCertificate** \\\n * **THPopulationIdentificationCode** \\\n * **TRNationalIdentificationNumber** \\\n * **UKDriversLicenseNumber** \\\n * **UKElectoralRollNumber** \\\n * **UKNationalHealthNumber** \\\n * **UKNationalInsuranceNumber** \\\n * **UKUniqueTaxpayerNumber** \\\n * **USUKPassportNumber** \\\n * **USBankAccountNumber** \\\n * **USDriversLicenseNumber** \\\n * **USIndividualTaxpayerIdentification** \\\n * **USSocialSecurityNumber** \\\n * **UAPassportNumberDomestic** \\\n * **UAPassportNumberInternational** \\\n * **Organization** \\\n * **Email** \\\n * **URL** \\\n * **Age** \\\n * **PhoneNumber** \\\n * **IPAddress** \\\n * **Date** \\\n * **Person** \\\n * **Address** \\\n * **All** \\\n * **Default**\n */\nexport type PiiCategory = string;\n\n/** Known values of {@link ExtractiveSummarizationTaskParametersSortBy} that the service accepts. */\nexport enum KnownExtractiveSummarizationTaskParametersSortBy {\n Offset = \"Offset\",\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationTaskParametersSortBy. \\\n * {@link KnownExtractiveSummarizationTaskParametersSortBy} can be used interchangeably with ExtractiveSummarizationTaskParametersSortBy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset** \\\n * **Rank**\n */\nexport type ExtractiveSummarizationTaskParametersSortBy = string;\n\n/** Known values of {@link ErrorCodeValue} that the service accepts. */\nexport enum KnownErrorCodeValue {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\",\n NotFound = \"NotFound\"\n}\n\n/**\n * Defines values for ErrorCodeValue. \\\n * {@link KnownErrorCodeValue} can be used interchangeably with ErrorCodeValue,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **InternalServerError** \\\n * **ServiceUnavailable** \\\n * **NotFound**\n */\nexport type ErrorCodeValue = string;\n\n/** Known values of {@link InnerErrorCodeValue} that the service accepts. */\nexport enum KnownInnerErrorCodeValue {\n InvalidParameterValue = \"InvalidParameterValue\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputRecords = \"MissingInputRecords\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCodeValue. \\\n * {@link KnownInnerErrorCodeValue} can be used interchangeably with InnerErrorCodeValue,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidParameterValue** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputRecords** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCodeValue = string;\n\n/** Known values of {@link WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n LongWordsInDocument = \"LongWordsInDocument\",\n DocumentTruncated = \"DocumentTruncated\"\n}\n\n/**\n * Defines values for WarningCode. \\\n * {@link KnownWarningCode} can be used interchangeably with WarningCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LongWordsInDocument** \\\n * **DocumentTruncated**\n */\nexport type WarningCode = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n BodyStructure = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\n TreatmentName = \"TREATMENT_NAME\"\n}\n\n/**\n * Defines values for HealthcareEntityCategory. \\\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE** \\\n * **AGE** \\\n * **GENDER** \\\n * **EXAMINATION_NAME** \\\n * **DATE** \\\n * **DIRECTION** \\\n * **FREQUENCY** \\\n * **MEASUREMENT_VALUE** \\\n * **MEASUREMENT_UNIT** \\\n * **RELATIONAL_OPERATOR** \\\n * **TIME** \\\n * **GENE_OR_PROTEIN** \\\n * **VARIANT** \\\n * **ADMINISTRATIVE_EVENT** \\\n * **CARE_ENVIRONMENT** \\\n * **HEALTHCARE_PROFESSION** \\\n * **DIAGNOSIS** \\\n * **SYMPTOM_OR_SIGN** \\\n * **CONDITION_QUALIFIER** \\\n * **MEDICATION_CLASS** \\\n * **MEDICATION_NAME** \\\n * **DOSAGE** \\\n * **MEDICATION_FORM** \\\n * **MEDICATION_ROUTE** \\\n * **FAMILY_RELATION** \\\n * **TREATMENT_NAME**\n */\nexport type HealthcareEntityCategory = string;\n\n/** Known values of {@link RelationType} that the service accepts. */\nexport enum KnownRelationType {\n Abbreviation = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\n ValueOfExamination = \"ValueOfExamination\"\n}\n\n/**\n * Defines values for RelationType. \\\n * {@link KnownRelationType} can be used interchangeably with RelationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Abbreviation** \\\n * **DirectionOfBodyStructure** \\\n * **DirectionOfCondition** \\\n * **DirectionOfExamination** \\\n * **DirectionOfTreatment** \\\n * **DosageOfMedication** \\\n * **FormOfMedication** \\\n * **FrequencyOfMedication** \\\n * **FrequencyOfTreatment** \\\n * **QualifierOfCondition** \\\n * **RelationOfExamination** \\\n * **RouteOfMedication** \\\n * **TimeOfCondition** \\\n * **TimeOfEvent** \\\n * **TimeOfExamination** \\\n * **TimeOfMedication** \\\n * **TimeOfTreatment** \\\n * **UnitOfCondition** \\\n * **UnitOfExamination** \\\n * **ValueOfCondition** \\\n * **ValueOfExamination**\n */\nexport type RelationType = string;\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"failed\"\n | \"rejected\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for DocumentSentimentLabel. */\nexport type DocumentSentimentLabel =\n | \"positive\"\n | \"neutral\"\n | \"negative\"\n | \"mixed\";\n/** Defines values for SentenceSentimentLabel. */\nexport type SentenceSentimentLabel = \"positive\" | \"neutral\" | \"negative\";\n/** Defines values for TokenSentimentValue. */\nexport type TokenSentimentValue = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n/** Defines values for Conditionality. */\nexport type Conditionality = \"hypothetical\" | \"conditional\";\n/** Defines values for Certainty. */\nexport type Certainty =\n | \"positive\"\n | \"positivePossible\"\n | \"neutralPossible\"\n | \"negativePossible\"\n | \"negative\";\n/** Defines values for Association. */\nexport type Association = \"subject\" | \"other\";\n\n/** Optional parameters. */\nexport interface GeneratedClientAnalyzeOptionalParams\n extends coreClient.OperationOptions {\n /** Collection of documents to analyze and tasks to execute. */\n body?: AnalyzeBatchInput;\n}\n\n/** Contains response data for the analyze operation. */\nexport type GeneratedClientAnalyzeResponse = GeneratedClientAnalyzeHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientAnalyzeStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */\n top?: number;\n /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */\n skip?: number;\n}\n\n/** Contains response data for the analyzeStatus operation. */\nexport type GeneratedClientAnalyzeStatusResponse = AnalyzeJobState;\n\n/** Optional parameters. */\nexport interface GeneratedClientHealthStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */\n top?: number;\n /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */\n skip?: number;\n}\n\n/** Contains response data for the healthStatus operation. */\nexport type GeneratedClientHealthStatusResponse = HealthcareJobState;\n\n/** Optional parameters. */\nexport interface GeneratedClientCancelHealthJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelHealthJob operation. */\nexport type GeneratedClientCancelHealthJobResponse = GeneratedClientCancelHealthJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientHealthOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the health operation. */\nexport type GeneratedClientHealthResponse = GeneratedClientHealthHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesRecognitionGeneralOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the entitiesRecognitionGeneral operation. */\nexport type GeneratedClientEntitiesRecognitionGeneralResponse = EntitiesResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesRecognitionPiiOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n /** (Optional) if specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'PHI', 'none'. */\n domain?: string;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n}\n\n/** Contains response data for the entitiesRecognitionPii operation. */\nexport type GeneratedClientEntitiesRecognitionPiiResponse = PiiResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesLinkingOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the entitiesLinking operation. */\nexport type GeneratedClientEntitiesLinkingResponse = EntityLinkingResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientKeyPhrasesOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the keyPhrases operation. */\nexport type GeneratedClientKeyPhrasesResponse = KeyPhraseResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientLanguagesOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the languages operation. */\nexport type GeneratedClientLanguagesResponse = LanguageResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientSentimentOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n /** (Optional) if set to true, response will contain not only sentiment prediction but also opinion mining (aspect-based sentiment analysis) results. */\n opinionMining?: boolean;\n}\n\n/** Contains response data for the sentiment operation. */\nexport type GeneratedClientSentimentResponse = SentimentResponse;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Text Analytics API version (for example, v3.0). */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA0yBH,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,oQAAoQ;IACpQ,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AAA;IAChC,4CAAW,CAAA;IACX,kDAAiB,CAAA;IACjB,qEAAoC,CAAA;IACpC,8CAAa,CAAA;IACb,wDAAuB,CAAA;IACvB,wDAAuB,CAAA;IACvB,uEAAsC,CAAA;IACtC,qEAAoC,CAAA;IACpC,2EAA0C,CAAA;IAC1C,8CAAa,CAAA;IACb,kEAAiC,CAAA;IACjC,oDAAmB,CAAA;IACnB,6EAA4C,CAAA;IAC5C,qEAAoC,CAAA;IACpC,+EAA8C,CAAA;IAC9C,wDAAuB,CAAA;IACvB,kEAAiC,CAAA;IACjC,2EAA0C,CAAA;IAC1C,qEAAoC,CAAA;IACpC,mEAAkC,CAAA;IAClC,kDAAiB,CAAA;IACjB,mEAAkC,CAAA;IAClC,qEAAoC,CAAA;IACpC,mEAAkC,CAAA;IAClC,iEAAgC,CAAA;AAClC,CAAC,EA3BW,6BAA6B,KAA7B,6BAA6B,QA2BxC;AAoCD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAsBX;AAtBD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,0EAAqD,CAAA;IACrD,kEAA6C,CAAA;IAC7C,sEAAiD,CAAA;IACjD,kEAA6C,CAAA;IAC7C,8DAAyC,CAAA;IACzC,0DAAqC,CAAA;IACrC,oEAA+C,CAAA;IAC/C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,oEAA+C,CAAA;IAC/C,4DAAuC,CAAA;IACvC,wDAAmC,CAAA;IACnC,gDAA2B,CAAA;IAC3B,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,wDAAmC,CAAA;IACnC,wDAAmC,CAAA;IACnC,4DAAuC,CAAA;IACvC,0DAAqC,CAAA;IACrC,8DAAyC,CAAA;AAC3C,CAAC,EAtBW,iBAAiB,KAAjB,iBAAiB,QAsB5B","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 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}\n\nexport interface EntitiesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface PiiTask {\n parameters?: PiiTaskParameters;\n}\n\nexport interface PiiTaskParameters {\n domain?: PiiTaskParametersDomain;\n modelVersion?: string;\n loggingOptOut?: boolean;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n stringIndexType?: StringIndexType;\n}\n\nexport interface KeyPhrasesTask {\n parameters?: KeyPhrasesTaskParameters;\n}\n\nexport interface KeyPhrasesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n}\n\nexport interface EntityLinkingTask {\n parameters?: EntityLinkingTaskParameters;\n}\n\nexport interface EntityLinkingTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface SentimentAnalysisTask {\n parameters?: SentimentAnalysisTaskParameters;\n}\n\nexport interface SentimentAnalysisTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n opinionMining?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface ExtractiveSummarizationTask {\n parameters?: ExtractiveSummarizationTaskParameters;\n}\n\nexport interface ExtractiveSummarizationTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n sentenceCount?: number;\n sortBy?: ExtractiveSummarizationTaskParametersSortBy;\n}\n\nexport interface CustomEntitiesTask {\n parameters?: CustomEntitiesTaskParameters;\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}\n\nexport interface CustomSingleClassificationTaskParameters {\n projectName: string;\n deploymentName: string;\n loggingOptOut?: boolean;\n}\n\nexport interface CustomMultiClassificationTask {\n parameters?: CustomMultiClassificationTaskParameters;\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 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"]}
|