@azure/ai-text-analytics 6.0.0-alpha.20220518.3 → 6.0.0-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAs5BH,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,mEAAuC,CAAA;IACvC,mEAAuC,CAAA;IACvC,yEAA6C,CAAA;IAC7C,uEAA2C,CAAA;IAC3C,mEAAuC,CAAA;IACvC,2DAA+B,CAAA;AACjC,CAAC,EAPW,wBAAwB,KAAxB,wBAAwB,QAOnC;AAgBD,mFAAmF;AACnF,MAAM,CAAN,IAAY,+BAOX;AAPD,WAAY,+BAA+B;IACzC,wFAAqD,CAAA;IACrD,wFAAqD,CAAA;IACrD,8FAA2D,CAAA;IAC3D,4FAAyD,CAAA;IACzD,wFAAqD,CAAA;IACrD,gFAA6C,CAAA;AAC/C,CAAC,EAPW,+BAA+B,KAA/B,+BAA+B,QAO1C;AAgBD,kEAAkE;AAClE,MAAM,CAAN,IAAY,cAeX;AAfD,WAAY,cAAc;IACxB,mDAAiC,CAAA;IACjC,qDAAmC,CAAA;IACnC,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;IACvB,uCAAqB,CAAA;IACrB,qDAAmC,CAAA;IACnC,yDAAuC,CAAA;IACvC,+EAA6D,CAAA;IAC7D,yFAAuE,CAAA;IACvE,qDAAmC,CAAA;IACnC,mFAAiE,CAAA;IACjE,iGAA+E,CAAA;IAC/E,6DAA2C,CAAA;IAC3C,2DAAyC,CAAA;AAC3C,CAAC,EAfW,cAAc,KAAd,cAAc,QAezB;AAwBD,uEAAuE;AACvE,MAAM,CAAN,IAAY,mBAeX;AAfD,WAAY,mBAAmB;IAC7B,wDAAiC,CAAA;IACjC,sEAA+C,CAAA;IA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D,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;AA+BD,gGAAgG;AAChG,MAAM,CAAN,IAAY,4CAKX;AALD,WAAY,4CAA4C;IACtD,kFAAkF;IAClF,iEAAiB,CAAA;IACjB,+GAA+G;IAC/G,6DAAa,CAAA;AACf,CAAC,EALW,4CAA4C,KAA5C,4CAA4C,QAKvD","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 type AnalyzeActionUnion =\n | AnalyzeAction\n | AnalyzeTextEntityLinkingInput\n | AnalyzeTextEntityRecognitionInput\n | AnalyzeTextKeyPhraseExtractionInput\n | AnalyzeTextPiiEntitiesRecognitionInput\n | AnalyzeTextLanguageDetectionInput\n | AnalyzeTextSentimentAnalysisInput;\nexport type AnalyzeTextTaskResultUnion =\n | AnalyzeTextTaskResult\n | SentimentTaskResult\n | EntitiesTaskResult\n | EntityLinkingTaskResult\n | PiiTaskResult\n | KeyPhraseTaskResult\n | LanguageDetectionTaskResult;\nexport type AnalyzeBatchActionUnion =\n | AnalyzeBatchAction\n | CustomEntitiesLROTask\n | CustomSingleLabelClassificationLROTask\n | CustomMultiLabelClassificationLROTask\n | HealthcareLROTask\n | SentimentAnalysisLROTask\n | EntitiesLROTask\n | EntityLinkingLROTask\n | PiiLROTask\n | ExtractiveSummarizationLROTask\n | KeyPhraseLROTask;\nexport type AnalyzeTextLROResultUnion =\n | AnalyzeTextLROResult\n | EntityRecognitionLROResult\n | CustomEntityRecognitionLROResult\n | CustomSingleLabelClassificationLROResult\n | CustomMultiLabelClassificationLROResult\n | EntityLinkingLROResult\n | PiiEntityRecognitionLROResult\n | ExtractiveSummarizationLROResult\n | HealthcareLROResult\n | SentimentLROResult\n | KeyPhraseExtractionLROResult;\n\nexport interface AnalyzeAction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"EntityLinking\"\n | \"EntityRecognition\"\n | \"KeyPhraseExtraction\"\n | \"PiiEntityRecognition\"\n | \"LanguageDetection\"\n | \"SentimentAnalysis\";\n}\n\nexport interface AnalyzeTextTaskResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"SentimentAnalysisResults\"\n | \"EntityRecognitionResults\"\n | \"EntityLinkingResults\"\n | \"PiiEntityRecognitionResults\"\n | \"KeyPhraseExtractionResults\"\n | \"LanguageDetectionResults\";\n}\n\n/** Error response. */\nexport interface ErrorResponse {\n /** The error object. */\n error: ErrorModel;\n}\n\n/** The error object. */\nexport interface ErrorModel {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** One of a server-defined set of error codes. */\n code: ErrorCode;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorModel[];\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\n/** An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. */\nexport interface InnerErrorModel {\n /** One of a server-defined set of error codes. */\n code: InnerErrorCode;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\nexport interface AnalyzeTextJobsInput {\n /** Optional display name for the analysis job. */\n displayName?: string;\n analysisInput: MultiLanguageAnalysisInput;\n /** The set of tasks to execute on the input documents. */\n tasks: AnalyzeBatchActionUnion[];\n}\n\nexport interface MultiLanguageAnalysisInput {\n documents?: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Language service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */\nexport interface TextDocumentInput {\n /** A unique, non-empty document identifier. */\n id: string;\n /** The input text to process. */\n text: string;\n /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default. */\n language?: string;\n}\n\n/** The State of a batched action */\nexport interface BatchActionState {\n /** The name of the action */\n actionName?: string;\n}\n\nexport interface JobState {\n displayName?: string;\n createdOn: Date;\n expiresOn?: Date;\n operationId: string;\n lastModifiedOn: Date;\n status: OperationStatus;\n errors?: ErrorModel[];\n nextLink?: string;\n}\n\nexport interface TasksState {\n tasks: TasksStateTasks;\n}\n\nexport interface TasksStateTasks {\n completed: number;\n failed: number;\n inProgress: number;\n total: number;\n items?: AnalyzeTextLROResultUnion[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeTextJobStatistics {\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\nexport interface TextDocumentBatchStatistics {\n /** Number of documents submitted in the request. */\n documentCount: number;\n /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */\n validDocumentCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousDocumentCount: number;\n /** Number of transactions for the request. */\n transactionCount: number;\n}\n\nexport interface LanguageDetectionAnalysisInput {\n documents?: LanguageDetectionInput[];\n}\n\n/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\nexport interface LanguageDetectionInput {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Full text of the input document. */\n text: string;\n /** A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\n countryHint?: string;\n}\n\n/** Configuration common to all actions. */\nexport interface ActionCommon {\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Cognitive Language Service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, disables in logging and may limit our ability to remediate issues that occur.\n *\n * Default is false.\n */\n disableServiceLogs?: boolean;\n}\n\nexport interface PreBuiltResult {\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: ErrorModel;\n}\n\nexport interface CustomResult {\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates the project name for the model. */\n projectName: string;\n /** This field indicates the deployment name for the model. */\n deploymentName: string;\n}\n\n/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories . */\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\nexport interface DocumentResult {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Warnings encountered while processing document. */\n warnings: DocumentWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface DocumentWarning {\n /** Error code. */\n code: WarningCode;\n /** Warning message. */\n message: string;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\nexport interface TextDocumentStatistics {\n /** Number of text elements recognized in the document. */\n characterCount: number;\n /** Number of transactions for the document. */\n transactionCount: number;\n}\n\n/** A classification result from a custom classify document single category action */\nexport interface ClassificationCategory {\n /** Classification type. */\n category: string;\n /** Confidence score between 0 and 1 of the recognized class. */\n confidenceScore: number;\n}\n\nexport interface HealthcareEntity {\n /** Entity text as appears in the request. */\n text: string;\n /** Healthcare Entity Category. */\n category: HealthcareEntityCategory;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n /** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n normalizedText?: string;\n /** Entity references in known data sources. */\n dataSources?: EntityDataSource[];\n}\n\n/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\nexport interface HealthcareAssertion {\n /** Describes any conditionality on the entity. */\n conditionality?: Conditionality;\n /** Describes the entities certainty and polarity. */\n certainty?: Certainty;\n /** Describes if the entity is the subject of the text or if it describes someone else. */\n association?: Association;\n}\n\n/** A type representing a reference for the healthcare entity into a specific entity catalog. */\nexport interface EntityDataSource {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n name: string;\n /** Entity id in the given source catalog. */\n entityId: string;\n}\n\n/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */\nexport interface HealthcareRelation {\n /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */\n relationType: RelationType;\n /** The entities in the relation. */\n entities: HealthcareRelationEntity[];\n}\n\nexport interface HealthcareRelationEntity {\n /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */\n ref: string;\n /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */\n role: string;\n}\n\n/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */\nexport interface SentimentConfidenceScores {\n positive: number;\n neutral: number;\n negative: number;\n}\n\n/** The predicted sentiment for a given span of text. For more information regarding text sentiment, seehttps://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview. */\nexport interface SentenceSentiment {\n /** The sentence text. */\n text: string;\n /** The predicted Sentiment for the sentence. */\n sentiment: SentenceSentimentLabel;\n /** The sentiment confidence score between 0 and 1 for the sentence for all classes. */\n confidenceScores: SentimentConfidenceScores;\n /** The sentence offset from the start of the document. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n /** The array of sentence targets for the sentence. */\n targets?: SentenceTarget[];\n /** The array of assessments for the sentence. */\n assessments?: AssessmentSentiment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScores;\n /** The target offset from the start of the sentence. */\n offset: number;\n /** The length of the target. */\n length: number;\n /** The target text detected. */\n text: string;\n /** The array of either assessment or target objects which is related to the target. */\n relations: TargetRelation[];\n}\n\n/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */\nexport interface TargetConfidenceScores {\n positive: number;\n negative: number;\n}\n\nexport interface TargetRelation {\n /** The type related to the target. */\n relationType: TargetRelationType;\n /** The JSON pointer indicating the linked object. */\n ref: string;\n}\n\n/** An object that contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence \"The food is good\", the assessment of the target 'food' is 'good'. */\nexport interface AssessmentSentiment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScores;\n /** The assessment offset from the start of the sentence. */\n offset: number;\n /** The length of the assessment. */\n length: number;\n /** The assessment text detected. */\n text: string;\n /** The indicator representing if the assessment is negated. */\n isNegated: boolean;\n}\n\n/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */\nexport interface LinkedEntity {\n /** Entity Linking formal name. */\n name: string;\n /** List of instances this entity appears in the text. */\n matches: Match[];\n /** Language used in the data source. */\n language: string;\n /** Unique identifier of the recognized entity from the data source. */\n dataSourceEntityId?: string;\n /** URL for the entity's page from the data source. */\n url: string;\n /** Data source used to extract entity linking, such as Wiki/Bing etc. */\n dataSource: string;\n /** Bing Entity Search API unique identifier of the recognized entity. */\n bingEntitySearchApiId?: string;\n}\n\n/** Details about the specific substring in a document that refers to a linked entity identified by the Language model. */\nexport interface Match {\n /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */\n confidenceScore: number;\n /** Entity text as appears in the request. */\n text: string;\n /** Start position for the entity match text. */\n offset: number;\n /** Length for the entity match text. */\n length: number;\n}\n\n/** A sentence that is part of the extracted summary. */\nexport interface SummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\n/** Information about the language of a document as identified by the Language service. */\nexport interface DetectedLanguage {\n /** Long name of a detected language (e.g. English, French). */\n name: string;\n /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */\n iso6391Name: string;\n /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */\n confidenceScore: number;\n}\n\nexport interface Pagination {\n nextLink?: string;\n}\n\nexport interface JobMetadata {\n displayName?: string;\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface JobErrors {\n errors?: ErrorModel[];\n}\n\nexport type AnalyzeTextEntityLinkingInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinking\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\nexport type AnalyzeTextEntityRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\nexport type AnalyzeTextKeyPhraseExtractionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtraction\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type AnalyzeTextPiiEntitiesRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\nexport type AnalyzeTextLanguageDetectionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetection\";\n analysisInput?: LanguageDetectionAnalysisInput;\n /** Options for a language detection action. */\n parameters?: LanguageDetectionAction;\n};\n\nexport type AnalyzeTextSentimentAnalysisInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysis\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\nexport type SentimentTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysisResults\";\n results: SentimentResponse;\n};\n\nexport type EntitiesTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognitionResults\";\n results: EntitiesResult;\n};\n\nexport type EntityLinkingTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinkingResults\";\n results: EntityLinkingResult;\n};\n\nexport type PiiTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognitionResults\";\n results: PiiResult;\n};\n\nexport type KeyPhraseTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtractionResults\";\n results: KeyPhraseResult;\n};\n\nexport type LanguageDetectionTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetectionResults\";\n results: LanguageDetectionResult;\n};\n\nexport type AnalyzeBatchAction = BatchActionState & {\n /** Enumeration of supported long-running Text Analysis tasks. */\n kind: AnalyzeTextLROTaskKind;\n};\n\nexport type AnalyzeTextLROResult = TaskState &\n BatchActionState & {\n /** Enumeration of supported Text Analysis long-running operation task results. */\n kind: AnalyzeTextLROResultsKind;\n };\n\nexport type AnalyzeTextJobState = JobState &\n TasksState &\n AnalyzeTextJobStatistics;\n\n/** Configuration common to all actions that use prebuilt models. */\nexport type ActionPrebuilt = ActionCommon & {\n /** The version of the model to be used by the action. */\n modelVersion?: string;\n};\n\n/** Parameters object for a text analysis task using custom models. */\nexport type ActionCustom = ActionCommon & {\n projectName: string;\n deploymentName: string;\n};\n\nexport type HealthcareResult = PreBuiltResult & {\n documents: HealthcareResultDocumentsItem[];\n};\n\nexport type SentimentResponse = PreBuiltResult & {\n /** Sentiment analysis per document. */\n documents: SentimentResponseDocumentsItem[];\n};\n\nexport type EntitiesResult = PreBuiltResult & {\n /** Response by document */\n documents: EntitiesResultDocumentsItem[];\n};\n\nexport type EntityLinkingResult = PreBuiltResult & {\n /** Response by document */\n documents: EntityLinkingResultDocumentsItem[];\n};\n\nexport type PiiResult = PreBuiltResult & {\n /** Response by document */\n documents: PiiResultDocumentsItem[];\n};\n\nexport type ExtractiveSummarizationResult = PreBuiltResult & {\n /** Response by document */\n documents: ExtractiveSummarizationResultDocumentsItem[];\n};\n\nexport type KeyPhraseResult = PreBuiltResult & {\n /** Response by document */\n documents: KeyPhraseResultDocumentsItem[];\n};\n\nexport type LanguageDetectionResult = PreBuiltResult & {\n /** Response by document */\n documents: LanguageDetectionDocumentResult[];\n};\n\nexport type CustomEntitiesResult = CustomResult & {\n /** Response by document */\n documents: CustomEntitiesResultDocumentsItem[];\n};\n\nexport type CustomSingleLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomSingleLabelClassificationResultDocumentsItem[];\n};\n\nexport type CustomMultiLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomMultiLabelClassificationResultDocumentsItem[];\n};\n\nexport type EntitiesDocumentResult = DocumentResult & {\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type SingleClassificationDocumentResult = DocumentResult & {\n /** A classification result from a custom classify document single category action */\n classification: ClassificationCategory;\n};\n\nexport type MultiClassificationDocumentResult = DocumentResult & {\n classifications: ClassificationCategory[];\n};\n\nexport type HealthcareEntitiesDocumentResult = DocumentResult & {\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** JSON bundle containing a FHIR compatible object for consumption in other Healthcare tools. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirBundle?: { [propertyName: string]: any };\n};\n\nexport type SentimentDocumentResult = DocumentResult & {\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentences: SentenceSentiment[];\n};\n\nexport type LinkedEntitiesDocumentResult = DocumentResult & {\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n};\n\nexport type PiiEntitiesDocumentResult = DocumentResult & {\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type ExtractedSummaryDocumentResult = DocumentResult & {\n /** A ranked list of sentences representing the extracted summary. */\n sentences: SummarySentence[];\n};\n\nexport type KeyPhrasesDocumentResult = DocumentResult & {\n /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */\n keyPhrases: string[];\n};\n\nexport type LanguageDetectionDocumentResult = DocumentResult & {\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n};\n\n/** Use custom models to ease the process of information extraction from unstructured documents like contracts or financial documents */\nexport type CustomEntitiesLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Custom Entities task. */\n parameters?: CustomEntityRecognitionAction;\n};\n\n/** Use custom models to classify text into single label taxonomy */\nexport type CustomSingleLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a single-label classification custom action */\n parameters?: CustomSingleLabelClassificationAction;\n};\n\n/** Use custom models to classify text into multi label taxonomy */\nexport type CustomMultiLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a multi-label classification custom action */\n parameters?: CustomMultiLabelClassificationAction;\n};\n\nexport type HealthcareLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Healthcare task. */\n parameters?: HealthcareAction;\n};\n\n/** An object representing the task definition for a Sentiment Analysis task. */\nexport type SentimentAnalysisLROTask = AnalyzeBatchAction & {\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\n/** An object representing the task definition for an Entities Recognition task. */\nexport type EntitiesLROTask = AnalyzeBatchAction & {\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Entity Linking task. */\nexport type EntityLinkingLROTask = AnalyzeBatchAction & {\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\n/** An object representing the task definition for a PII Entities Recognition task. */\nexport type PiiLROTask = AnalyzeBatchAction & {\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Extractive Summarization task. */\nexport type ExtractiveSummarizationLROTask = AnalyzeBatchAction & {\n /** Supported parameters for an Extractive Summarization task. */\n parameters?: ExtractiveSummarizationAction;\n};\n\n/** An object representing the task definition for a Key Phrase Extraction task. */\nexport type KeyPhraseLROTask = AnalyzeBatchAction & {\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type EntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: EntitiesResult;\n};\n\nexport type CustomEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: CustomEntitiesResult;\n};\n\nexport type CustomSingleLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomSingleLabelClassificationResult;\n};\n\nexport type CustomMultiLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomMultiLabelClassificationResult;\n};\n\nexport type EntityLinkingLROResult = AnalyzeTextLROResult & {\n results: EntityLinkingResult;\n};\n\nexport type PiiEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: PiiResult;\n};\n\nexport type ExtractiveSummarizationLROResult = AnalyzeTextLROResult & {\n results: ExtractiveSummarizationResult;\n};\n\nexport type HealthcareLROResult = AnalyzeTextLROResult & {\n results: HealthcareResult;\n};\n\nexport type SentimentLROResult = AnalyzeTextLROResult & {\n results: SentimentResponse;\n};\n\nexport type KeyPhraseExtractionLROResult = AnalyzeTextLROResult & {\n results: KeyPhraseResult;\n};\n\n/** Options for an entity linking action. */\nexport type EntityLinkingAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for an entity recognition action. */\nexport type EntityRecognitionAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a key phrase recognition action. */\nexport type KeyPhraseExtractionAction = ActionPrebuilt;\n\n/** Options for a Pii entity recognition action. */\nexport type PiiEntityRecognitionAction = ActionPrebuilt & {\n /**\n * Filters entities to ones only included in the specified domain (e.g., if set to `Phi`, only entities in the Protected Healthcare Information domain will be returned). For a list of possible domains, see {@link PiiDomain}.\n *\n * See {@link https://aka.ms/tanerpii the service documentation} for more information.\n */\n domainFilter?: PiiDomain;\n /** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */\n categoriesFilter?: PiiCategory[];\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a language detection action. */\nexport type LanguageDetectionAction = ActionPrebuilt;\n\n/** Options for a sentiment analysis action. */\nexport type SentimentAnalysisAction = ActionPrebuilt & {\n /** Enables performing opinion mining on the input documents, a more granular analysis around the aspects of a product or service (also known as aspect-based sentiment analysis). If set to true, {@link SentenceSentiment.opinions} will contain the results of this analysis. See {@link https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview#opinion-mining the service documentation} for more information. */\n includeOpinionMining?: boolean;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Healthcare task. */\nexport type HealthcareAction = ActionPrebuilt & {\n /** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirVersion?: FhirVersion;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for an Extractive Summarization task. */\nexport type ExtractiveSummarizationAction = ActionPrebuilt & {\n maxSentenceCount?: number;\n /** The sorting criteria to use for the results of Extractive Summarization. */\n orderBy?: ExtractiveSummarizationOrderingCriteria;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Custom Entities task. */\nexport type CustomEntityRecognitionAction = ActionCustom & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a single-label classification custom action */\nexport type CustomSingleLabelClassificationAction = ActionCustom;\n\n/** Options for a multi-label classification custom action */\nexport type CustomMultiLabelClassificationAction = ActionCustom;\n\nexport type CustomEntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type EntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type CustomSingleLabelClassificationResultDocumentsItem = SingleClassificationDocumentResult;\n\nexport type CustomMultiLabelClassificationResultDocumentsItem = MultiClassificationDocumentResult;\n\nexport type HealthcareResultDocumentsItem = HealthcareEntitiesDocumentResult;\n\nexport type SentimentResponseDocumentsItem = SentimentDocumentResult;\n\nexport type EntityLinkingResultDocumentsItem = LinkedEntitiesDocumentResult;\n\nexport type PiiResultDocumentsItem = PiiEntitiesDocumentResult;\n\nexport type ExtractiveSummarizationResultDocumentsItem = ExtractedSummaryDocumentResult;\n\nexport type KeyPhraseResultDocumentsItem = KeyPhrasesDocumentResult;\n\n/** Defines headers for AnalyzeText_submitJob operation. */\nexport interface AnalyzeTextSubmitJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for AnalyzeText_cancelJob operation. */\nexport interface AnalyzeTextCancelJobHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n LanguageDetection = \"LanguageDetection\",\n EntityLinking = \"EntityLinking\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskKind. \\\n * {@link KnownAnalyzeTextTaskKind} can be used interchangeably with AnalyzeTextTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **LanguageDetection** \\\n * **EntityLinking**\n */\nexport type AnalyzeTextTaskKind = string;\n\n/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskResultsKind {\n SentimentAnalysisResults = \"SentimentAnalysisResults\",\n EntityRecognitionResults = \"EntityRecognitionResults\",\n PiiEntityRecognitionResults = \"PiiEntityRecognitionResults\",\n KeyPhraseExtractionResults = \"KeyPhraseExtractionResults\",\n LanguageDetectionResults = \"LanguageDetectionResults\",\n EntityLinkingResults = \"EntityLinkingResults\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskResultsKind. \\\n * {@link KnownAnalyzeTextTaskResultsKind} can be used interchangeably with AnalyzeTextTaskResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisResults** \\\n * **EntityRecognitionResults** \\\n * **PiiEntityRecognitionResults** \\\n * **KeyPhraseExtractionResults** \\\n * **LanguageDetectionResults** \\\n * **EntityLinkingResults**\n */\nexport type AnalyzeTextTaskResultsKind = string;\n\n/** Known values of {@link ErrorCode} that the service accepts. */\nexport enum KnownErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n Unauthorized = \"Unauthorized\",\n Forbidden = \"Forbidden\",\n NotFound = \"NotFound\",\n ProjectNotFound = \"ProjectNotFound\",\n OperationNotFound = \"OperationNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchIndexNotFound = \"AzureCognitiveSearchIndexNotFound\",\n TooManyRequests = \"TooManyRequests\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n AzureCognitiveSearchIndexLimitReached = \"AzureCognitiveSearchIndexLimitReached\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\"\n}\n\n/**\n * Defines values for ErrorCode. \\\n * {@link KnownErrorCode} can be used interchangeably with ErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **Unauthorized** \\\n * **Forbidden** \\\n * **NotFound** \\\n * **ProjectNotFound** \\\n * **OperationNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchIndexNotFound** \\\n * **TooManyRequests** \\\n * **AzureCognitiveSearchThrottling** \\\n * **AzureCognitiveSearchIndexLimitReached** \\\n * **InternalServerError** \\\n * **ServiceUnavailable**\n */\nexport type ErrorCode = string;\n\n/** Known values of {@link InnerErrorCode} that the service accepts. */\nexport enum KnownInnerErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidParameterValue = \"InvalidParameterValue\",\n KnowledgeBaseNotFound = \"KnowledgeBaseNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n ExtractionFailure = \"ExtractionFailure\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputDocuments = \"MissingInputDocuments\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCode. \\\n * {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidParameterValue** \\\n * **KnowledgeBaseNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchThrottling** \\\n * **ExtractionFailure** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputDocuments** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCode = string;\n\n/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n EntityLinking = \"EntityLinking\",\n Healthcare = \"Healthcare\",\n ExtractiveSummarization = \"ExtractiveSummarization\",\n CustomEntityRecognition = \"CustomEntityRecognition\",\n CustomSingleLabelClassification = \"CustomSingleLabelClassification\",\n CustomMultiLabelClassification = \"CustomMultiLabelClassification\"\n}\n\n/**\n * Defines values for AnalyzeTextLROTaskKind. \\\n * {@link KnownAnalyzeTextLROTaskKind} can be used interchangeably with AnalyzeTextLROTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **EntityLinking** \\\n * **Healthcare** \\\n * **ExtractiveSummarization** \\\n * **CustomEntityRecognition** \\\n * **CustomSingleLabelClassification** \\\n * **CustomMultiLabelClassification**\n */\nexport type AnalyzeTextLROTaskKind = string;\n\n/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROResultsKind {\n SentimentAnalysisLROResults = \"SentimentAnalysisLROResults\",\n EntityRecognitionLROResults = \"EntityRecognitionLROResults\",\n PiiEntityRecognitionLROResults = \"PiiEntityRecognitionLROResults\",\n KeyPhraseExtractionLROResults = \"KeyPhraseExtractionLROResults\",\n EntityLinkingLROResults = \"EntityLinkingLROResults\",\n HealthcareLROResults = \"HealthcareLROResults\",\n ExtractiveSummarizationLROResults = \"ExtractiveSummarizationLROResults\",\n CustomEntityRecognitionLROResults = \"CustomEntityRecognitionLROResults\",\n CustomSingleLabelClassificationLROResults = \"CustomSingleLabelClassificationLROResults\",\n CustomMultiLabelClassificationLROResults = \"CustomMultiLabelClassificationLROResults\"\n}\n\n/**\n * Defines values for AnalyzeTextLROResultsKind. \\\n * {@link KnownAnalyzeTextLROResultsKind} can be used interchangeably with AnalyzeTextLROResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisLROResults** \\\n * **EntityRecognitionLROResults** \\\n * **PiiEntityRecognitionLROResults** \\\n * **KeyPhraseExtractionLROResults** \\\n * **EntityLinkingLROResults** \\\n * **HealthcareLROResults** \\\n * **ExtractiveSummarizationLROResults** \\\n * **CustomEntityRecognitionLROResults** \\\n * **CustomSingleLabelClassificationLROResults** \\\n * **CustomMultiLabelClassificationLROResults**\n */\nexport type AnalyzeTextLROResultsKind = string;\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementsV8 = \"TextElements_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\"\n}\n\n/**\n * Defines values for StringIndexType. \\\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElements_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \\\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \\\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link PiiDomain} that the service accepts. */\nexport enum KnownPiiDomain {\n /** Indicates that entities in the Personal Health Information domain should be redacted. */\n Phi = \"phi\",\n /** Indicates that no domain is specified. */\n None = \"none\"\n}\n\n/**\n * Defines values for PiiDomain. \\\n * {@link KnownPiiDomain} can be used interchangeably with PiiDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \\\n * **none**: Indicates that no domain is specified.\n */\nexport type PiiDomain = string;\n\n/** Known values of {@link PiiCategory} that the service accepts. */\nexport enum KnownPiiCategory {\n ABARoutingNumber = \"ABARoutingNumber\",\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n AUBankAccountNumber = \"AUBankAccountNumber\",\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n AUPassportNumber = \"AUPassportNumber\",\n AUTaxFileNumber = \"AUTaxFileNumber\",\n AUBusinessNumber = \"AUBusinessNumber\",\n AUCompanyNumber = \"AUCompanyNumber\",\n ATIdentityCard = \"ATIdentityCard\",\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n AzureRedisCacheString = \"AzureRedisCacheString\",\n AzureSAS = \"AzureSAS\",\n AzureServiceBusString = \"AzureServiceBusString\",\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n BENationalNumber = \"BENationalNumber\",\n BENationalNumberV2 = \"BENationalNumberV2\",\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n BrcpfNumber = \"BRCPFNumber\",\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n BRNationalIdrg = \"BRNationalIDRG\",\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n CABankAccountNumber = \"CABankAccountNumber\",\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n CAPassportNumber = \"CAPassportNumber\",\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n CreditCardNumber = \"CreditCardNumber\",\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n HRNationalIDNumber = \"HRNationalIDNumber\",\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n CYIdentityCard = \"CYIdentityCard\",\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n EUDebitCardNumber = \"EUDebitCardNumber\",\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n EugpsCoordinates = \"EUGPSCoordinates\",\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n EUPassportNumber = \"EUPassportNumber\",\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n FINationalID = \"FINationalID\",\n FINationalIDV2 = \"FINationalIDV2\",\n FIPassportNumber = \"FIPassportNumber\",\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n FRNationalID = \"FRNationalID\",\n FRPassportNumber = \"FRPassportNumber\",\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n DEPassportNumber = \"DEPassportNumber\",\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n DEValueAddedNumber = \"DEValueAddedNumber\",\n GRNationalIDCard = \"GRNationalIDCard\",\n GRNationalIDV2 = \"GRNationalIDV2\",\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n HUValueAddedNumber = \"HUValueAddedNumber\",\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n INPermanentAccount = \"INPermanentAccount\",\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n ILBankAccountNumber = \"ILBankAccountNumber\",\n ILNationalID = \"ILNationalID\",\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n ITFiscalCode = \"ITFiscalCode\",\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n JPBankAccountNumber = \"JPBankAccountNumber\",\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n JPPassportNumber = \"JPPassportNumber\",\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n LVPersonalCode = \"LVPersonalCode\",\n LTPersonalCode = \"LTPersonalCode\",\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n MTTaxIDNumber = \"MTTaxIDNumber\",\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n NZBankAccountNumber = \"NZBankAccountNumber\",\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n NOIdentityNumber = \"NOIdentityNumber\",\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n PLIdentityCard = \"PLIdentityCard\",\n PLNationalID = \"PLNationalID\",\n PLNationalIDV2 = \"PLNationalIDV2\",\n PLPassportNumber = \"PLPassportNumber\",\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n PlregonNumber = \"PLREGONNumber\",\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n SANationalID = \"SANationalID\",\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n SKPersonalNumber = \"SKPersonalNumber\",\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n Esdni = \"ESDNI\",\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n SQLServerConnectionString = \"SQLServerConnectionString\",\n SENationalID = \"SENationalID\",\n SENationalIDV2 = \"SENationalIDV2\",\n SEPassportNumber = \"SEPassportNumber\",\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n SwiftCode = \"SWIFTCode\",\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n TWNationalID = \"TWNationalID\",\n TWPassportNumber = \"TWPassportNumber\",\n TWResidentCertificate = \"TWResidentCertificate\",\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n UsukPassportNumber = \"USUKPassportNumber\",\n USBankAccountNumber = \"USBankAccountNumber\",\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n Organization = \"Organization\",\n Email = \"Email\",\n URL = \"URL\",\n Age = \"Age\",\n PhoneNumber = \"PhoneNumber\",\n IPAddress = \"IPAddress\",\n Date = \"Date\",\n Person = \"Person\",\n Address = \"Address\",\n All = \"All\",\n Default = \"Default\"\n}\n\n/**\n * Defines values for PiiCategory. \\\n * {@link KnownPiiCategory} can be used interchangeably with PiiCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ABARoutingNumber** \\\n * **ARNationalIdentityNumber** \\\n * **AUBankAccountNumber** \\\n * **AUDriversLicenseNumber** \\\n * **AUMedicalAccountNumber** \\\n * **AUPassportNumber** \\\n * **AUTaxFileNumber** \\\n * **AUBusinessNumber** \\\n * **AUCompanyNumber** \\\n * **ATIdentityCard** \\\n * **ATTaxIdentificationNumber** \\\n * **ATValueAddedTaxNumber** \\\n * **AzureDocumentDBAuthKey** \\\n * **AzureIAASDatabaseConnectionAndSQLString** \\\n * **AzureIoTConnectionString** \\\n * **AzurePublishSettingPassword** \\\n * **AzureRedisCacheString** \\\n * **AzureSAS** \\\n * **AzureServiceBusString** \\\n * **AzureStorageAccountKey** \\\n * **AzureStorageAccountGeneric** \\\n * **BENationalNumber** \\\n * **BENationalNumberV2** \\\n * **BEValueAddedTaxNumber** \\\n * **BRCPFNumber** \\\n * **BRLegalEntityNumber** \\\n * **BRNationalIDRG** \\\n * **BGUniformCivilNumber** \\\n * **CABankAccountNumber** \\\n * **CADriversLicenseNumber** \\\n * **CAHealthServiceNumber** \\\n * **CAPassportNumber** \\\n * **CAPersonalHealthIdentification** \\\n * **CASocialInsuranceNumber** \\\n * **CLIdentityCardNumber** \\\n * **CNResidentIdentityCardNumber** \\\n * **CreditCardNumber** \\\n * **HRIdentityCardNumber** \\\n * **HRNationalIDNumber** \\\n * **HRPersonalIdentificationNumber** \\\n * **HRPersonalIdentificationOIBNumberV2** \\\n * **CYIdentityCard** \\\n * **CYTaxIdentificationNumber** \\\n * **CZPersonalIdentityNumber** \\\n * **CZPersonalIdentityV2** \\\n * **DKPersonalIdentificationNumber** \\\n * **DKPersonalIdentificationV2** \\\n * **DrugEnforcementAgencyNumber** \\\n * **EEPersonalIdentificationCode** \\\n * **EUDebitCardNumber** \\\n * **EUDriversLicenseNumber** \\\n * **EUGPSCoordinates** \\\n * **EUNationalIdentificationNumber** \\\n * **EUPassportNumber** \\\n * **EUSocialSecurityNumber** \\\n * **EUTaxIdentificationNumber** \\\n * **FIEuropeanHealthNumber** \\\n * **FINationalID** \\\n * **FINationalIDV2** \\\n * **FIPassportNumber** \\\n * **FRDriversLicenseNumber** \\\n * **FRHealthInsuranceNumber** \\\n * **FRNationalID** \\\n * **FRPassportNumber** \\\n * **FRSocialSecurityNumber** \\\n * **FRTaxIdentificationNumber** \\\n * **FRValueAddedTaxNumber** \\\n * **DEDriversLicenseNumber** \\\n * **DEPassportNumber** \\\n * **DEIdentityCardNumber** \\\n * **DETaxIdentificationNumber** \\\n * **DEValueAddedNumber** \\\n * **GRNationalIDCard** \\\n * **GRNationalIDV2** \\\n * **GRTaxIdentificationNumber** \\\n * **HKIdentityCardNumber** \\\n * **HUValueAddedNumber** \\\n * **HUPersonalIdentificationNumber** \\\n * **HUTaxIdentificationNumber** \\\n * **INPermanentAccount** \\\n * **INUniqueIdentificationNumber** \\\n * **IDIdentityCardNumber** \\\n * **InternationalBankingAccountNumber** \\\n * **IEPersonalPublicServiceNumber** \\\n * **IEPersonalPublicServiceNumberV2** \\\n * **ILBankAccountNumber** \\\n * **ILNationalID** \\\n * **ITDriversLicenseNumber** \\\n * **ITFiscalCode** \\\n * **ITValueAddedTaxNumber** \\\n * **JPBankAccountNumber** \\\n * **JPDriversLicenseNumber** \\\n * **JPPassportNumber** \\\n * **JPResidentRegistrationNumber** \\\n * **JPSocialInsuranceNumber** \\\n * **JPMyNumberCorporate** \\\n * **JPMyNumberPersonal** \\\n * **JPResidenceCardNumber** \\\n * **LVPersonalCode** \\\n * **LTPersonalCode** \\\n * **LUNationalIdentificationNumberNatural** \\\n * **LUNationalIdentificationNumberNonNatural** \\\n * **MYIdentityCardNumber** \\\n * **MTIdentityCardNumber** \\\n * **MTTaxIDNumber** \\\n * **NLCitizensServiceNumber** \\\n * **NLCitizensServiceNumberV2** \\\n * **NLTaxIdentificationNumber** \\\n * **NLValueAddedTaxNumber** \\\n * **NZBankAccountNumber** \\\n * **NZDriversLicenseNumber** \\\n * **NZInlandRevenueNumber** \\\n * **NZMinistryOfHealthNumber** \\\n * **NZSocialWelfareNumber** \\\n * **NOIdentityNumber** \\\n * **PHUnifiedMultiPurposeIDNumber** \\\n * **PLIdentityCard** \\\n * **PLNationalID** \\\n * **PLNationalIDV2** \\\n * **PLPassportNumber** \\\n * **PLTaxIdentificationNumber** \\\n * **PLREGONNumber** \\\n * **PTCitizenCardNumber** \\\n * **PTCitizenCardNumberV2** \\\n * **PTTaxIdentificationNumber** \\\n * **ROPersonalNumericalCode** \\\n * **RUPassportNumberDomestic** \\\n * **RUPassportNumberInternational** \\\n * **SANationalID** \\\n * **SGNationalRegistrationIdentityCardNumber** \\\n * **SKPersonalNumber** \\\n * **SITaxIdentificationNumber** \\\n * **SIUniqueMasterCitizenNumber** \\\n * **ZAIdentificationNumber** \\\n * **KRResidentRegistrationNumber** \\\n * **ESDNI** \\\n * **ESSocialSecurityNumber** \\\n * **ESTaxIdentificationNumber** \\\n * **SQLServerConnectionString** \\\n * **SENationalID** \\\n * **SENationalIDV2** \\\n * **SEPassportNumber** \\\n * **SETaxIdentificationNumber** \\\n * **SWIFTCode** \\\n * **CHSocialSecurityNumber** \\\n * **TWNationalID** \\\n * **TWPassportNumber** \\\n * **TWResidentCertificate** \\\n * **THPopulationIdentificationCode** \\\n * **TRNationalIdentificationNumber** \\\n * **UKDriversLicenseNumber** \\\n * **UKElectoralRollNumber** \\\n * **UKNationalHealthNumber** \\\n * **UKNationalInsuranceNumber** \\\n * **UKUniqueTaxpayerNumber** \\\n * **USUKPassportNumber** \\\n * **USBankAccountNumber** \\\n * **USDriversLicenseNumber** \\\n * **USIndividualTaxpayerIdentification** \\\n * **USSocialSecurityNumber** \\\n * **UAPassportNumberDomestic** \\\n * **UAPassportNumberInternational** \\\n * **Organization** \\\n * **Email** \\\n * **URL** \\\n * **Age** \\\n * **PhoneNumber** \\\n * **IPAddress** \\\n * **Date** \\\n * **Person** \\\n * **Address** \\\n * **All** \\\n * **Default**\n */\nexport type PiiCategory = string;\n\n/** Known values of {@link WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n LongWordsInDocument = \"LongWordsInDocument\",\n DocumentTruncated = \"DocumentTruncated\"\n}\n\n/**\n * Defines values for WarningCode. \\\n * {@link KnownWarningCode} can be used interchangeably with WarningCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LongWordsInDocument** \\\n * **DocumentTruncated**\n */\nexport type WarningCode = string;\n\n/** Known values of {@link FhirVersion} that the service accepts. */\nexport enum KnownFhirVersion {\n Four01 = \"4.0.1\"\n}\n\n/**\n * Defines values for FhirVersion. \\\n * {@link KnownFhirVersion} can be used interchangeably with FhirVersion,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **4.0.1**\n */\nexport type FhirVersion = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n BodyStructure = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\n TreatmentName = \"TREATMENT_NAME\"\n}\n\n/**\n * Defines values for HealthcareEntityCategory. \\\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE** \\\n * **AGE** \\\n * **GENDER** \\\n * **EXAMINATION_NAME** \\\n * **DATE** \\\n * **DIRECTION** \\\n * **FREQUENCY** \\\n * **MEASUREMENT_VALUE** \\\n * **MEASUREMENT_UNIT** \\\n * **RELATIONAL_OPERATOR** \\\n * **TIME** \\\n * **GENE_OR_PROTEIN** \\\n * **VARIANT** \\\n * **ADMINISTRATIVE_EVENT** \\\n * **CARE_ENVIRONMENT** \\\n * **HEALTHCARE_PROFESSION** \\\n * **DIAGNOSIS** \\\n * **SYMPTOM_OR_SIGN** \\\n * **CONDITION_QUALIFIER** \\\n * **MEDICATION_CLASS** \\\n * **MEDICATION_NAME** \\\n * **DOSAGE** \\\n * **MEDICATION_FORM** \\\n * **MEDICATION_ROUTE** \\\n * **FAMILY_RELATION** \\\n * **TREATMENT_NAME**\n */\nexport type HealthcareEntityCategory = string;\n\n/** Known values of {@link RelationType} that the service accepts. */\nexport enum KnownRelationType {\n Abbreviation = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\n ValueOfExamination = \"ValueOfExamination\"\n}\n\n/**\n * Defines values for RelationType. \\\n * {@link KnownRelationType} can be used interchangeably with RelationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Abbreviation** \\\n * **DirectionOfBodyStructure** \\\n * **DirectionOfCondition** \\\n * **DirectionOfExamination** \\\n * **DirectionOfTreatment** \\\n * **DosageOfMedication** \\\n * **FormOfMedication** \\\n * **FrequencyOfMedication** \\\n * **FrequencyOfTreatment** \\\n * **QualifierOfCondition** \\\n * **RelationOfExamination** \\\n * **RouteOfMedication** \\\n * **TimeOfCondition** \\\n * **TimeOfEvent** \\\n * **TimeOfExamination** \\\n * **TimeOfMedication** \\\n * **TimeOfTreatment** \\\n * **UnitOfCondition** \\\n * **UnitOfExamination** \\\n * **ValueOfCondition** \\\n * **ValueOfExamination**\n */\nexport type RelationType = string;\n\n/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */\nexport enum KnownExtractiveSummarizationOrderingCriteria {\n /** Indicates that results should be sorted in order of appearance in the text. */\n Offset = \"Offset\",\n /** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationOrderingCriteria. \\\n * {@link KnownExtractiveSummarizationOrderingCriteria} can be used interchangeably with ExtractiveSummarizationOrderingCriteria,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset**: Indicates that results should be sorted in order of appearance in the text. \\\n * **Rank**: Indicates that results should be sorted in order of importance (i.e. rank score) according to the model.\n */\nexport type ExtractiveSummarizationOrderingCriteria = string;\n/** Defines values for OperationStatus. */\nexport type OperationStatus =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for Conditionality. */\nexport type Conditionality = \"hypothetical\" | \"conditional\";\n/** Defines values for Certainty. */\nexport type Certainty =\n | \"positive\"\n | \"positivePossible\"\n | \"neutralPossible\"\n | \"negativePossible\"\n | \"negative\";\n/** Defines values for Association. */\nexport type Association = \"subject\" | \"other\";\n/** Defines values for DocumentSentimentLabel. */\nexport type DocumentSentimentLabel =\n | \"positive\"\n | \"neutral\"\n | \"negative\"\n | \"mixed\";\n/** Defines values for SentenceSentimentLabel. */\nexport type SentenceSentimentLabel = \"positive\" | \"neutral\" | \"negative\";\n/** Defines values for TokenSentimentLabel. */\nexport type TokenSentimentLabel = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n\n/** Optional parameters. */\nexport interface AnalyzeOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n}\n\n/** Contains response data for the analyze operation. */\nexport type AnalyzeResponse = AnalyzeTextTaskResultUnion;\n\n/** Optional parameters. */\nexport interface AnalyzeTextSubmitJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the submitJob operation. */\nexport type AnalyzeTextSubmitJobResponse = AnalyzeTextSubmitJobHeaders;\n\n/** Optional parameters. */\nexport interface AnalyzeTextJobStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** The maximum number of resources to return from the collection. */\n top?: number;\n /** An offset into the collection of the first resource to be returned. */\n skip?: number;\n}\n\n/** Contains response data for the jobStatus operation. */\nexport type AnalyzeTextJobStatusResponse = AnalyzeTextJobState;\n\n/** Optional parameters. */\nexport interface AnalyzeTextCancelJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelJob operation. */\nexport type AnalyzeTextCancelJobResponse = AnalyzeTextCancelJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAs5BH,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,mEAAuC,CAAA;IACvC,mEAAuC,CAAA;IACvC,yEAA6C,CAAA;IAC7C,uEAA2C,CAAA;IAC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,iBAAiB,KAAjB,iBAAiB,QAsB5B;AA+BD,gGAAgG;AAChG,MAAM,CAAN,IAAY,4CAKX;AALD,WAAY,4CAA4C;IACtD,kFAAkF;IAClF,iEAAiB,CAAA;IACjB,+GAA+G;IAC/G,6DAAa,CAAA;AACf,CAAC,EALW,4CAA4C,KAA5C,4CAA4C,QAKvD","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 type AnalyzeActionUnion =\n | AnalyzeAction\n | AnalyzeTextEntityLinkingInput\n | AnalyzeTextEntityRecognitionInput\n | AnalyzeTextKeyPhraseExtractionInput\n | AnalyzeTextPiiEntitiesRecognitionInput\n | AnalyzeTextLanguageDetectionInput\n | AnalyzeTextSentimentAnalysisInput;\nexport type AnalyzeTextTaskResultUnion =\n | AnalyzeTextTaskResult\n | SentimentTaskResult\n | EntitiesTaskResult\n | EntityLinkingTaskResult\n | PiiTaskResult\n | KeyPhraseTaskResult\n | LanguageDetectionTaskResult;\nexport type AnalyzeBatchActionUnion =\n | AnalyzeBatchAction\n | CustomEntitiesLROTask\n | CustomSingleLabelClassificationLROTask\n | CustomMultiLabelClassificationLROTask\n | HealthcareLROTask\n | SentimentAnalysisLROTask\n | EntitiesLROTask\n | EntityLinkingLROTask\n | PiiLROTask\n | ExtractiveSummarizationLROTask\n | KeyPhraseLROTask;\nexport type AnalyzeTextLROResultUnion =\n | AnalyzeTextLROResult\n | EntityRecognitionLROResult\n | CustomEntityRecognitionLROResult\n | CustomSingleLabelClassificationLROResult\n | CustomMultiLabelClassificationLROResult\n | EntityLinkingLROResult\n | PiiEntityRecognitionLROResult\n | ExtractiveSummarizationLROResult\n | HealthcareLROResult\n | SentimentLROResult\n | KeyPhraseExtractionLROResult;\n\nexport interface AnalyzeAction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"EntityLinking\"\n | \"EntityRecognition\"\n | \"KeyPhraseExtraction\"\n | \"PiiEntityRecognition\"\n | \"LanguageDetection\"\n | \"SentimentAnalysis\";\n}\n\nexport interface AnalyzeTextTaskResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"SentimentAnalysisResults\"\n | \"EntityRecognitionResults\"\n | \"EntityLinkingResults\"\n | \"PiiEntityRecognitionResults\"\n | \"KeyPhraseExtractionResults\"\n | \"LanguageDetectionResults\";\n}\n\n/** Error response. */\nexport interface ErrorResponse {\n /** The error object. */\n error: ErrorModel;\n}\n\n/** The error object. */\nexport interface ErrorModel {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** One of a server-defined set of error codes. */\n code: ErrorCode;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorModel[];\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\n/** An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. */\nexport interface InnerErrorModel {\n /** One of a server-defined set of error codes. */\n code: InnerErrorCode;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\nexport interface AnalyzeTextJobsInput {\n /** Optional display name for the analysis job. */\n displayName?: string;\n analysisInput: MultiLanguageAnalysisInput;\n /** The set of tasks to execute on the input documents. */\n tasks: AnalyzeBatchActionUnion[];\n}\n\nexport interface MultiLanguageAnalysisInput {\n documents?: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Language service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */\nexport interface TextDocumentInput {\n /** A unique, non-empty document identifier. */\n id: string;\n /** The input text to process. */\n text: string;\n /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default. */\n language?: string;\n}\n\n/** The State of a batched action */\nexport interface BatchActionState {\n /** The name of the action */\n actionName?: string;\n}\n\nexport interface JobState {\n displayName?: string;\n createdOn: Date;\n expiresOn?: Date;\n operationId: string;\n lastModifiedOn: Date;\n status: OperationStatus;\n errors?: ErrorModel[];\n nextLink?: string;\n}\n\nexport interface TasksState {\n tasks: TasksStateTasks;\n}\n\nexport interface TasksStateTasks {\n completed: number;\n failed: number;\n inProgress: number;\n total: number;\n items?: AnalyzeTextLROResultUnion[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeTextJobStatistics {\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\nexport interface TextDocumentBatchStatistics {\n /** Number of documents submitted in the request. */\n documentCount: number;\n /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */\n validDocumentCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousDocumentCount: number;\n /** Number of transactions for the request. */\n transactionCount: number;\n}\n\nexport interface LanguageDetectionAnalysisInput {\n documents?: LanguageDetectionInput[];\n}\n\n/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\nexport interface LanguageDetectionInput {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Full text of the input document. */\n text: string;\n /** A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\n countryHint?: string;\n}\n\n/** Configuration common to all actions. */\nexport interface ActionCommon {\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Cognitive Language Service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, disables in logging and may limit our ability to remediate issues that occur.\n *\n * Default is false.\n */\n disableServiceLogs?: boolean;\n}\n\nexport interface PreBuiltResult {\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: ErrorModel;\n}\n\nexport interface CustomResult {\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates the project name for the model. */\n projectName: string;\n /** This field indicates the deployment name for the model. */\n deploymentName: string;\n}\n\n/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories . */\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\nexport interface DocumentResult {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Warnings encountered while processing document. */\n warnings: DocumentWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface DocumentWarning {\n /** Error code. */\n code: WarningCode;\n /** Warning message. */\n message: string;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\nexport interface TextDocumentStatistics {\n /** Number of text elements recognized in the document. */\n characterCount: number;\n /** Number of transactions for the document. */\n transactionCount: number;\n}\n\n/** A classification result from a custom classify document single category action */\nexport interface ClassificationCategory {\n /** Classification type. */\n category: string;\n /** Confidence score between 0 and 1 of the recognized class. */\n confidenceScore: number;\n}\n\nexport interface HealthcareEntity {\n /** Entity text as appears in the request. */\n text: string;\n /** Healthcare Entity Category. */\n category: HealthcareEntityCategory;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n /** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n normalizedText?: string;\n /** Entity references in known data sources. */\n dataSources?: EntityDataSource[];\n}\n\n/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\nexport interface HealthcareAssertion {\n /** Describes any conditionality on the entity. */\n conditionality?: EntityConditionality;\n /** Describes the entities certainty and polarity. */\n certainty?: EntityCertainty;\n /** Describes if the entity is the subject of the text or if it describes someone else. */\n association?: EntityAssociation;\n}\n\n/** A type representing a reference for the healthcare entity into a specific entity catalog. */\nexport interface EntityDataSource {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n name: string;\n /** Entity id in the given source catalog. */\n entityId: string;\n}\n\n/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */\nexport interface HealthcareRelation {\n /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */\n relationType: RelationType;\n /** The entities in the relation. */\n entities: HealthcareRelationEntity[];\n}\n\nexport interface HealthcareRelationEntity {\n /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */\n ref: string;\n /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */\n role: string;\n}\n\n/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */\nexport interface SentimentConfidenceScores {\n positive: number;\n neutral: number;\n negative: number;\n}\n\n/** The predicted sentiment for a given span of text. For more information regarding text sentiment, seehttps://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview. */\nexport interface SentenceSentiment {\n /** The sentence text. */\n text: string;\n /** The predicted Sentiment for the sentence. */\n sentiment: SentenceSentimentLabel;\n /** The sentiment confidence score between 0 and 1 for the sentence for all classes. */\n confidenceScores: SentimentConfidenceScores;\n /** The sentence offset from the start of the document. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n /** The array of sentence targets for the sentence. */\n targets?: SentenceTarget[];\n /** The array of assessments for the sentence. */\n assessments?: AssessmentSentiment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScores;\n /** The target offset from the start of the sentence. */\n offset: number;\n /** The length of the target. */\n length: number;\n /** The target text detected. */\n text: string;\n /** The array of either assessment or target objects which is related to the target. */\n relations: TargetRelation[];\n}\n\n/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */\nexport interface TargetConfidenceScores {\n positive: number;\n negative: number;\n}\n\nexport interface TargetRelation {\n /** The type related to the target. */\n relationType: TargetRelationType;\n /** The JSON pointer indicating the linked object. */\n ref: string;\n}\n\n/** An object that contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence \"The food is good\", the assessment of the target 'food' is 'good'. */\nexport interface AssessmentSentiment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScores;\n /** The assessment offset from the start of the sentence. */\n offset: number;\n /** The length of the assessment. */\n length: number;\n /** The assessment text detected. */\n text: string;\n /** The indicator representing if the assessment is negated. */\n isNegated: boolean;\n}\n\n/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */\nexport interface LinkedEntity {\n /** Entity Linking formal name. */\n name: string;\n /** List of instances this entity appears in the text. */\n matches: Match[];\n /** Language used in the data source. */\n language: string;\n /** Unique identifier of the recognized entity from the data source. */\n dataSourceEntityId?: string;\n /** URL for the entity's page from the data source. */\n url: string;\n /** Data source used to extract entity linking, such as Wiki/Bing etc. */\n dataSource: string;\n /** Bing Entity Search API unique identifier of the recognized entity. */\n bingEntitySearchApiId?: string;\n}\n\n/** Details about the specific substring in a document that refers to a linked entity identified by the Language model. */\nexport interface Match {\n /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */\n confidenceScore: number;\n /** Entity text as appears in the request. */\n text: string;\n /** Start position for the entity match text. */\n offset: number;\n /** Length for the entity match text. */\n length: number;\n}\n\n/** A sentence that is part of the extracted summary. */\nexport interface SummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\n/** Information about the language of a document as identified by the Language service. */\nexport interface DetectedLanguage {\n /** Long name of a detected language (e.g. English, French). */\n name: string;\n /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */\n iso6391Name: string;\n /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */\n confidenceScore: number;\n}\n\nexport interface Pagination {\n nextLink?: string;\n}\n\nexport interface JobMetadata {\n displayName?: string;\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface JobErrors {\n errors?: ErrorModel[];\n}\n\nexport type AnalyzeTextEntityLinkingInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinking\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\nexport type AnalyzeTextEntityRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\nexport type AnalyzeTextKeyPhraseExtractionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtraction\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type AnalyzeTextPiiEntitiesRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\nexport type AnalyzeTextLanguageDetectionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetection\";\n analysisInput?: LanguageDetectionAnalysisInput;\n /** Options for a language detection action. */\n parameters?: LanguageDetectionAction;\n};\n\nexport type AnalyzeTextSentimentAnalysisInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysis\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\nexport type SentimentTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysisResults\";\n results: SentimentResponse;\n};\n\nexport type EntitiesTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognitionResults\";\n results: EntitiesResult;\n};\n\nexport type EntityLinkingTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinkingResults\";\n results: EntityLinkingResult;\n};\n\nexport type PiiTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognitionResults\";\n results: PiiResult;\n};\n\nexport type KeyPhraseTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtractionResults\";\n results: KeyPhraseResult;\n};\n\nexport type LanguageDetectionTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetectionResults\";\n results: LanguageDetectionResult;\n};\n\nexport type AnalyzeBatchAction = BatchActionState & {\n /** Enumeration of supported long-running Text Analysis tasks. */\n kind: AnalyzeTextLROTaskKind;\n};\n\nexport type AnalyzeTextLROResult = TaskState &\n BatchActionState & {\n /** Enumeration of supported Text Analysis long-running operation task results. */\n kind: AnalyzeTextLROResultsKind;\n };\n\nexport type AnalyzeTextJobState = JobState &\n TasksState &\n AnalyzeTextJobStatistics;\n\n/** Configuration common to all actions that use prebuilt models. */\nexport type ActionPrebuilt = ActionCommon & {\n /** The version of the model to be used by the action. */\n modelVersion?: string;\n};\n\n/** Parameters object for a text analysis task using custom models. */\nexport type ActionCustom = ActionCommon & {\n projectName: string;\n deploymentName: string;\n};\n\nexport type HealthcareResult = PreBuiltResult & {\n documents: HealthcareResultDocumentsItem[];\n};\n\nexport type SentimentResponse = PreBuiltResult & {\n /** Sentiment analysis per document. */\n documents: SentimentResponseDocumentsItem[];\n};\n\nexport type EntitiesResult = PreBuiltResult & {\n /** Response by document */\n documents: EntitiesResultDocumentsItem[];\n};\n\nexport type EntityLinkingResult = PreBuiltResult & {\n /** Response by document */\n documents: EntityLinkingResultDocumentsItem[];\n};\n\nexport type PiiResult = PreBuiltResult & {\n /** Response by document */\n documents: PiiResultDocumentsItem[];\n};\n\nexport type ExtractiveSummarizationResult = PreBuiltResult & {\n /** Response by document */\n documents: ExtractiveSummarizationResultDocumentsItem[];\n};\n\nexport type KeyPhraseResult = PreBuiltResult & {\n /** Response by document */\n documents: KeyPhraseResultDocumentsItem[];\n};\n\nexport type LanguageDetectionResult = PreBuiltResult & {\n /** Response by document */\n documents: LanguageDetectionDocumentResult[];\n};\n\nexport type CustomEntitiesResult = CustomResult & {\n /** Response by document */\n documents: CustomEntitiesResultDocumentsItem[];\n};\n\nexport type CustomSingleLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomSingleLabelClassificationResultDocumentsItem[];\n};\n\nexport type CustomMultiLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomMultiLabelClassificationResultDocumentsItem[];\n};\n\nexport type EntitiesDocumentResult = DocumentResult & {\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type SingleClassificationDocumentResult = DocumentResult & {\n /** A classification result from a custom classify document single category action */\n classification: ClassificationCategory;\n};\n\nexport type MultiClassificationDocumentResult = DocumentResult & {\n classifications: ClassificationCategory[];\n};\n\nexport type HealthcareEntitiesDocumentResult = DocumentResult & {\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** JSON bundle containing a FHIR compatible object for consumption in other Healthcare tools. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirBundle?: { [propertyName: string]: any };\n};\n\nexport type SentimentDocumentResult = DocumentResult & {\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentences: SentenceSentiment[];\n};\n\nexport type LinkedEntitiesDocumentResult = DocumentResult & {\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n};\n\nexport type PiiEntitiesDocumentResult = DocumentResult & {\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type ExtractedSummaryDocumentResult = DocumentResult & {\n /** A ranked list of sentences representing the extracted summary. */\n sentences: SummarySentence[];\n};\n\nexport type KeyPhrasesDocumentResult = DocumentResult & {\n /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */\n keyPhrases: string[];\n};\n\nexport type LanguageDetectionDocumentResult = DocumentResult & {\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n};\n\n/** Use custom models to ease the process of information extraction from unstructured documents like contracts or financial documents */\nexport type CustomEntitiesLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Custom Entities task. */\n parameters?: CustomEntityRecognitionAction;\n};\n\n/** Use custom models to classify text into single label taxonomy */\nexport type CustomSingleLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a single-label classification custom action */\n parameters?: CustomSingleLabelClassificationAction;\n};\n\n/** Use custom models to classify text into multi label taxonomy */\nexport type CustomMultiLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a multi-label classification custom action */\n parameters?: CustomMultiLabelClassificationAction;\n};\n\nexport type HealthcareLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Healthcare task. */\n parameters?: HealthcareAction;\n};\n\n/** An object representing the task definition for a Sentiment Analysis task. */\nexport type SentimentAnalysisLROTask = AnalyzeBatchAction & {\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\n/** An object representing the task definition for an Entities Recognition task. */\nexport type EntitiesLROTask = AnalyzeBatchAction & {\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Entity Linking task. */\nexport type EntityLinkingLROTask = AnalyzeBatchAction & {\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\n/** An object representing the task definition for a PII Entities Recognition task. */\nexport type PiiLROTask = AnalyzeBatchAction & {\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Extractive Summarization task. */\nexport type ExtractiveSummarizationLROTask = AnalyzeBatchAction & {\n /** Supported parameters for an Extractive Summarization task. */\n parameters?: ExtractiveSummarizationAction;\n};\n\n/** An object representing the task definition for a Key Phrase Extraction task. */\nexport type KeyPhraseLROTask = AnalyzeBatchAction & {\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type EntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: EntitiesResult;\n};\n\nexport type CustomEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: CustomEntitiesResult;\n};\n\nexport type CustomSingleLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomSingleLabelClassificationResult;\n};\n\nexport type CustomMultiLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomMultiLabelClassificationResult;\n};\n\nexport type EntityLinkingLROResult = AnalyzeTextLROResult & {\n results: EntityLinkingResult;\n};\n\nexport type PiiEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: PiiResult;\n};\n\nexport type ExtractiveSummarizationLROResult = AnalyzeTextLROResult & {\n results: ExtractiveSummarizationResult;\n};\n\nexport type HealthcareLROResult = AnalyzeTextLROResult & {\n results: HealthcareResult;\n};\n\nexport type SentimentLROResult = AnalyzeTextLROResult & {\n results: SentimentResponse;\n};\n\nexport type KeyPhraseExtractionLROResult = AnalyzeTextLROResult & {\n results: KeyPhraseResult;\n};\n\n/** Options for an entity linking action. */\nexport type EntityLinkingAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for an entity recognition action. */\nexport type EntityRecognitionAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a key phrase recognition action. */\nexport type KeyPhraseExtractionAction = ActionPrebuilt;\n\n/** Options for a Pii entity recognition action. */\nexport type PiiEntityRecognitionAction = ActionPrebuilt & {\n /**\n * Filters entities to ones only included in the specified domain (e.g., if set to `Phi`, only entities in the Protected Healthcare Information domain will be returned). For a list of possible domains, see {@link PiiDomain}.\n *\n * See {@link https://aka.ms/tanerpii the service documentation} for more information.\n */\n domainFilter?: PiiEntityDomain;\n /** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */\n categoriesFilter?: PiiEntityCategory[];\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a language detection action. */\nexport type LanguageDetectionAction = ActionPrebuilt;\n\n/** Options for a sentiment analysis action. */\nexport type SentimentAnalysisAction = ActionPrebuilt & {\n /** Enables performing opinion mining on the input documents, a more granular analysis around the aspects of a product or service (also known as aspect-based sentiment analysis). If set to true, {@link SentenceSentiment.opinions} will contain the results of this analysis. See {@link https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview#opinion-mining the service documentation} for more information. */\n includeOpinionMining?: boolean;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Healthcare task. */\nexport type HealthcareAction = ActionPrebuilt & {\n /** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirVersion?: FhirVersion;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for an Extractive Summarization task. */\nexport type ExtractiveSummarizationAction = ActionPrebuilt & {\n maxSentenceCount?: number;\n /** The sorting criteria to use for the results of Extractive Summarization. */\n orderBy?: ExtractiveSummarizationOrderingCriteria;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Custom Entities task. */\nexport type CustomEntityRecognitionAction = ActionCustom & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a single-label classification custom action */\nexport type CustomSingleLabelClassificationAction = ActionCustom;\n\n/** Options for a multi-label classification custom action */\nexport type CustomMultiLabelClassificationAction = ActionCustom;\n\nexport type CustomEntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type EntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type CustomSingleLabelClassificationResultDocumentsItem = SingleClassificationDocumentResult;\n\nexport type CustomMultiLabelClassificationResultDocumentsItem = MultiClassificationDocumentResult;\n\nexport type HealthcareResultDocumentsItem = HealthcareEntitiesDocumentResult;\n\nexport type SentimentResponseDocumentsItem = SentimentDocumentResult;\n\nexport type EntityLinkingResultDocumentsItem = LinkedEntitiesDocumentResult;\n\nexport type PiiResultDocumentsItem = PiiEntitiesDocumentResult;\n\nexport type ExtractiveSummarizationResultDocumentsItem = ExtractedSummaryDocumentResult;\n\nexport type KeyPhraseResultDocumentsItem = KeyPhrasesDocumentResult;\n\n/** Defines headers for AnalyzeText_submitJob operation. */\nexport interface AnalyzeTextSubmitJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for AnalyzeText_cancelJob operation. */\nexport interface AnalyzeTextCancelJobHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n LanguageDetection = \"LanguageDetection\",\n EntityLinking = \"EntityLinking\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskKind. \\\n * {@link KnownAnalyzeTextTaskKind} can be used interchangeably with AnalyzeTextTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **LanguageDetection** \\\n * **EntityLinking**\n */\nexport type AnalyzeTextTaskKind = string;\n\n/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskResultsKind {\n SentimentAnalysisResults = \"SentimentAnalysisResults\",\n EntityRecognitionResults = \"EntityRecognitionResults\",\n PiiEntityRecognitionResults = \"PiiEntityRecognitionResults\",\n KeyPhraseExtractionResults = \"KeyPhraseExtractionResults\",\n LanguageDetectionResults = \"LanguageDetectionResults\",\n EntityLinkingResults = \"EntityLinkingResults\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskResultsKind. \\\n * {@link KnownAnalyzeTextTaskResultsKind} can be used interchangeably with AnalyzeTextTaskResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisResults** \\\n * **EntityRecognitionResults** \\\n * **PiiEntityRecognitionResults** \\\n * **KeyPhraseExtractionResults** \\\n * **LanguageDetectionResults** \\\n * **EntityLinkingResults**\n */\nexport type AnalyzeTextTaskResultsKind = string;\n\n/** Known values of {@link ErrorCode} that the service accepts. */\nexport enum KnownErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n Unauthorized = \"Unauthorized\",\n Forbidden = \"Forbidden\",\n NotFound = \"NotFound\",\n ProjectNotFound = \"ProjectNotFound\",\n OperationNotFound = \"OperationNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchIndexNotFound = \"AzureCognitiveSearchIndexNotFound\",\n TooManyRequests = \"TooManyRequests\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n AzureCognitiveSearchIndexLimitReached = \"AzureCognitiveSearchIndexLimitReached\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\"\n}\n\n/**\n * Defines values for ErrorCode. \\\n * {@link KnownErrorCode} can be used interchangeably with ErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **Unauthorized** \\\n * **Forbidden** \\\n * **NotFound** \\\n * **ProjectNotFound** \\\n * **OperationNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchIndexNotFound** \\\n * **TooManyRequests** \\\n * **AzureCognitiveSearchThrottling** \\\n * **AzureCognitiveSearchIndexLimitReached** \\\n * **InternalServerError** \\\n * **ServiceUnavailable**\n */\nexport type ErrorCode = string;\n\n/** Known values of {@link InnerErrorCode} that the service accepts. */\nexport enum KnownInnerErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidParameterValue = \"InvalidParameterValue\",\n KnowledgeBaseNotFound = \"KnowledgeBaseNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n ExtractionFailure = \"ExtractionFailure\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputDocuments = \"MissingInputDocuments\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCode. \\\n * {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidParameterValue** \\\n * **KnowledgeBaseNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchThrottling** \\\n * **ExtractionFailure** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputDocuments** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCode = string;\n\n/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n EntityLinking = \"EntityLinking\",\n Healthcare = \"Healthcare\",\n ExtractiveSummarization = \"ExtractiveSummarization\",\n CustomEntityRecognition = \"CustomEntityRecognition\",\n CustomSingleLabelClassification = \"CustomSingleLabelClassification\",\n CustomMultiLabelClassification = \"CustomMultiLabelClassification\"\n}\n\n/**\n * Defines values for AnalyzeTextLROTaskKind. \\\n * {@link KnownAnalyzeTextLROTaskKind} can be used interchangeably with AnalyzeTextLROTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **EntityLinking** \\\n * **Healthcare** \\\n * **ExtractiveSummarization** \\\n * **CustomEntityRecognition** \\\n * **CustomSingleLabelClassification** \\\n * **CustomMultiLabelClassification**\n */\nexport type AnalyzeTextLROTaskKind = string;\n\n/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROResultsKind {\n SentimentAnalysisLROResults = \"SentimentAnalysisLROResults\",\n EntityRecognitionLROResults = \"EntityRecognitionLROResults\",\n PiiEntityRecognitionLROResults = \"PiiEntityRecognitionLROResults\",\n KeyPhraseExtractionLROResults = \"KeyPhraseExtractionLROResults\",\n EntityLinkingLROResults = \"EntityLinkingLROResults\",\n HealthcareLROResults = \"HealthcareLROResults\",\n ExtractiveSummarizationLROResults = \"ExtractiveSummarizationLROResults\",\n CustomEntityRecognitionLROResults = \"CustomEntityRecognitionLROResults\",\n CustomSingleLabelClassificationLROResults = \"CustomSingleLabelClassificationLROResults\",\n CustomMultiLabelClassificationLROResults = \"CustomMultiLabelClassificationLROResults\"\n}\n\n/**\n * Defines values for AnalyzeTextLROResultsKind. \\\n * {@link KnownAnalyzeTextLROResultsKind} can be used interchangeably with AnalyzeTextLROResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisLROResults** \\\n * **EntityRecognitionLROResults** \\\n * **PiiEntityRecognitionLROResults** \\\n * **KeyPhraseExtractionLROResults** \\\n * **EntityLinkingLROResults** \\\n * **HealthcareLROResults** \\\n * **ExtractiveSummarizationLROResults** \\\n * **CustomEntityRecognitionLROResults** \\\n * **CustomSingleLabelClassificationLROResults** \\\n * **CustomMultiLabelClassificationLROResults**\n */\nexport type AnalyzeTextLROResultsKind = string;\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementsV8 = \"TextElements_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\"\n}\n\n/**\n * Defines values for StringIndexType. \\\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElements_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \\\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \\\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link PiiEntityDomain} that the service accepts. */\nexport enum KnownPiiEntityDomain {\n /** Indicates that entities in the Personal Health Information domain should be redacted. */\n Phi = \"phi\",\n /** Indicates that no domain is specified. */\n None = \"none\"\n}\n\n/**\n * Defines values for PiiEntityDomain. \\\n * {@link KnownPiiEntityDomain} can be used interchangeably with PiiEntityDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \\\n * **none**: Indicates that no domain is specified.\n */\nexport type PiiEntityDomain = string;\n\n/** Known values of {@link PiiEntityCategory} that the service accepts. */\nexport enum KnownPiiEntityCategory {\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 PiiEntityCategory. \\\n * {@link KnownPiiEntityCategory} can be used interchangeably with PiiEntityCategory,\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 PiiEntityCategory = string;\n\n/** Known values of {@link WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n LongWordsInDocument = \"LongWordsInDocument\",\n DocumentTruncated = \"DocumentTruncated\"\n}\n\n/**\n * Defines values for WarningCode. \\\n * {@link KnownWarningCode} can be used interchangeably with WarningCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LongWordsInDocument** \\\n * **DocumentTruncated**\n */\nexport type WarningCode = string;\n\n/** Known values of {@link FhirVersion} that the service accepts. */\nexport enum KnownFhirVersion {\n Four01 = \"4.0.1\"\n}\n\n/**\n * Defines values for FhirVersion. \\\n * {@link KnownFhirVersion} can be used interchangeably with FhirVersion,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **4.0.1**\n */\nexport type FhirVersion = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n BodyStructure = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\n TreatmentName = \"TREATMENT_NAME\"\n}\n\n/**\n * Defines values for HealthcareEntityCategory. \\\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE** \\\n * **AGE** \\\n * **GENDER** \\\n * **EXAMINATION_NAME** \\\n * **DATE** \\\n * **DIRECTION** \\\n * **FREQUENCY** \\\n * **MEASUREMENT_VALUE** \\\n * **MEASUREMENT_UNIT** \\\n * **RELATIONAL_OPERATOR** \\\n * **TIME** \\\n * **GENE_OR_PROTEIN** \\\n * **VARIANT** \\\n * **ADMINISTRATIVE_EVENT** \\\n * **CARE_ENVIRONMENT** \\\n * **HEALTHCARE_PROFESSION** \\\n * **DIAGNOSIS** \\\n * **SYMPTOM_OR_SIGN** \\\n * **CONDITION_QUALIFIER** \\\n * **MEDICATION_CLASS** \\\n * **MEDICATION_NAME** \\\n * **DOSAGE** \\\n * **MEDICATION_FORM** \\\n * **MEDICATION_ROUTE** \\\n * **FAMILY_RELATION** \\\n * **TREATMENT_NAME**\n */\nexport type HealthcareEntityCategory = string;\n\n/** Known values of {@link RelationType} that the service accepts. */\nexport enum KnownRelationType {\n Abbreviation = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\n ValueOfExamination = \"ValueOfExamination\"\n}\n\n/**\n * Defines values for RelationType. \\\n * {@link KnownRelationType} can be used interchangeably with RelationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Abbreviation** \\\n * **DirectionOfBodyStructure** \\\n * **DirectionOfCondition** \\\n * **DirectionOfExamination** \\\n * **DirectionOfTreatment** \\\n * **DosageOfMedication** \\\n * **FormOfMedication** \\\n * **FrequencyOfMedication** \\\n * **FrequencyOfTreatment** \\\n * **QualifierOfCondition** \\\n * **RelationOfExamination** \\\n * **RouteOfMedication** \\\n * **TimeOfCondition** \\\n * **TimeOfEvent** \\\n * **TimeOfExamination** \\\n * **TimeOfMedication** \\\n * **TimeOfTreatment** \\\n * **UnitOfCondition** \\\n * **UnitOfExamination** \\\n * **ValueOfCondition** \\\n * **ValueOfExamination**\n */\nexport type RelationType = string;\n\n/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */\nexport enum KnownExtractiveSummarizationOrderingCriteria {\n /** Indicates that results should be sorted in order of appearance in the text. */\n Offset = \"Offset\",\n /** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationOrderingCriteria. \\\n * {@link KnownExtractiveSummarizationOrderingCriteria} can be used interchangeably with ExtractiveSummarizationOrderingCriteria,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset**: Indicates that results should be sorted in order of appearance in the text. \\\n * **Rank**: Indicates that results should be sorted in order of importance (i.e. rank score) according to the model.\n */\nexport type ExtractiveSummarizationOrderingCriteria = string;\n/** Defines values for OperationStatus. */\nexport type OperationStatus =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for EntityConditionality. */\nexport type EntityConditionality = \"hypothetical\" | \"conditional\";\n/** Defines values for EntityCertainty. */\nexport type EntityCertainty =\n | \"positive\"\n | \"positivePossible\"\n | \"neutralPossible\"\n | \"negativePossible\"\n | \"negative\";\n/** Defines values for EntityAssociation. */\nexport type EntityAssociation = \"subject\" | \"other\";\n/** Defines values for DocumentSentimentLabel. */\nexport type DocumentSentimentLabel =\n | \"positive\"\n | \"neutral\"\n | \"negative\"\n | \"mixed\";\n/** Defines values for SentenceSentimentLabel. */\nexport type SentenceSentimentLabel = \"positive\" | \"neutral\" | \"negative\";\n/** Defines values for TokenSentimentLabel. */\nexport type TokenSentimentLabel = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n\n/** Optional parameters. */\nexport interface AnalyzeOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n}\n\n/** Contains response data for the analyze operation. */\nexport type AnalyzeResponse = AnalyzeTextTaskResultUnion;\n\n/** Optional parameters. */\nexport interface AnalyzeTextSubmitJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the submitJob operation. */\nexport type AnalyzeTextSubmitJobResponse = AnalyzeTextSubmitJobHeaders;\n\n/** Optional parameters. */\nexport interface AnalyzeTextJobStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** The maximum number of resources to return from the collection. */\n top?: number;\n /** An offset into the collection of the first resource to be returned. */\n skip?: number;\n}\n\n/** Contains response data for the jobStatus operation. */\nexport type AnalyzeTextJobStatusResponse = AnalyzeTextJobState;\n\n/** Optional parameters. */\nexport interface AnalyzeTextCancelJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelJob operation. */\nexport type AnalyzeTextCancelJobResponse = AnalyzeTextCancelJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -14,5 +14,5 @@ export { TextAnalysisClient } from "./textAnalysisClient";
14
14
  export * from "./models";
15
15
  export {
16
16
  /** orphan exports */
17
- KnownPiiDomain, KnownPiiCategory, KnownStringIndexType, KnownErrorCode, KnownInnerErrorCode, KnownExtractiveSummarizationOrderingCriteria, } from "./generated/models";
17
+ KnownPiiEntityDomain, KnownPiiEntityCategory, KnownStringIndexType, KnownErrorCode, KnownInnerErrorCode, KnownExtractiveSummarizationOrderingCriteria, } from "./generated/models";
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,UAAU,CAAC;AACzB,OAAO;AA6CL,qBAAqB;AACrB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,4CAA4C,GAE7C,MAAM,oBAAoB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * [Azure Cognitive Language Services](https://docs.microsoft.com/azure/cognitive-services/language-service/overview)\n * is a suite of natural language processing (NLP) skills built with\n * best-in-class Microsoft machine learning algorithms used to analyze\n * unstructured text for actions such as sentiment analysis, key phrase\n * extraction, and language detection.\n *\n * @packageDocumentation\n */\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\n\nexport { TextAnalysisClient } from \"./textAnalysisClient\";\nexport * from \"./models\";\nexport {\n AssessmentSentiment,\n SentimentAnalysisAction,\n EntityLinkingAction,\n EntityRecognitionAction,\n KeyPhraseExtractionAction,\n LanguageDetectionAction,\n PiiEntityRecognitionAction,\n StringIndexType,\n LinkedEntity,\n Entity,\n DetectedLanguage,\n PiiCategory,\n PiiDomain,\n SentimentConfidenceScores,\n SentenceSentimentLabel,\n DocumentSentimentLabel,\n TargetConfidenceScores,\n TokenSentimentLabel,\n LanguageDetectionInput,\n TextDocumentInput,\n TextDocumentStatistics,\n DocumentWarning,\n WarningCode,\n Match,\n ActionCommon,\n ActionPrebuilt,\n HealthcareAction,\n CustomEntityRecognitionAction,\n CustomSingleLabelClassificationAction,\n CustomMultiLabelClassificationAction,\n ExtractiveSummarizationAction,\n OperationStatus,\n ActionCustom,\n ClassificationCategory,\n HealthcareAssertion,\n HealthcareEntityCategory,\n ExtractiveSummarizationOrderingCriteria,\n SummarySentence,\n EntityDataSource,\n RelationType,\n Association,\n Certainty,\n Conditionality,\n FhirVersion,\n /** orphan exports */\n KnownPiiDomain,\n KnownPiiCategory,\n KnownStringIndexType,\n KnownErrorCode,\n KnownInnerErrorCode,\n KnownExtractiveSummarizationOrderingCriteria,\n TextDocumentBatchStatistics,\n} from \"./generated/models\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,UAAU,CAAC;AACzB,OAAO;AA6CL,qBAAqB;AACrB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,4CAA4C,GAE7C,MAAM,oBAAoB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * [Azure Cognitive Language Services](https://docs.microsoft.com/azure/cognitive-services/language-service/overview)\n * is a suite of natural language processing (NLP) skills built with\n * best-in-class Microsoft machine learning algorithms used to analyze\n * unstructured text for actions such as sentiment analysis, key phrase\n * extraction, and language detection.\n *\n * @packageDocumentation\n */\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\n\nexport { TextAnalysisClient } from \"./textAnalysisClient\";\nexport * from \"./models\";\nexport {\n AssessmentSentiment,\n SentimentAnalysisAction,\n EntityLinkingAction,\n EntityRecognitionAction,\n KeyPhraseExtractionAction,\n LanguageDetectionAction,\n PiiEntityRecognitionAction,\n StringIndexType,\n LinkedEntity,\n Entity,\n DetectedLanguage,\n PiiEntityCategory,\n PiiEntityDomain,\n SentimentConfidenceScores,\n SentenceSentimentLabel,\n DocumentSentimentLabel,\n TargetConfidenceScores,\n TokenSentimentLabel,\n LanguageDetectionInput,\n TextDocumentInput,\n TextDocumentStatistics,\n DocumentWarning,\n WarningCode,\n Match,\n ActionCommon,\n ActionPrebuilt,\n HealthcareAction,\n CustomEntityRecognitionAction,\n CustomSingleLabelClassificationAction,\n CustomMultiLabelClassificationAction,\n ExtractiveSummarizationAction,\n OperationStatus,\n ActionCustom,\n ClassificationCategory,\n HealthcareAssertion,\n HealthcareEntityCategory,\n ExtractiveSummarizationOrderingCriteria,\n SummarySentence,\n EntityDataSource,\n RelationType,\n EntityAssociation,\n EntityCertainty,\n EntityConditionality,\n FhirVersion,\n /** orphan exports */\n KnownPiiEntityDomain,\n KnownPiiEntityCategory,\n KnownStringIndexType,\n KnownErrorCode,\n KnownInnerErrorCode,\n KnownExtractiveSummarizationOrderingCriteria,\n TextDocumentBatchStatistics,\n} from \"./generated/models\";\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "An isomorphic client library for the text analysis features in the Azure Cognitive Language Service.",
6
- "version": "6.0.0-alpha.20220518.3",
6
+ "version": "6.0.0-beta.1",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",
@@ -26,7 +26,8 @@
26
26
  "dist-esm/src/",
27
27
  "types/ai-text-analytics.d.ts",
28
28
  "README.md",
29
- "LICENSE"
29
+ "LICENSE",
30
+ "MIGRATION_v5_v6.md"
30
31
  ],
31
32
  "//metadata": {
32
33
  "constantPaths": [
@@ -47,8 +48,8 @@
47
48
  "productName": "Azure Cognitive Language Service",
48
49
  "productSlugs": [
49
50
  "azure",
50
- "azure-cognitive-services",
51
- "azure-text-analytics"
51
+ "cognitive-services",
52
+ "language-service"
52
53
  ],
53
54
  "requiredResources": {
54
55
  "Azure Cognitive Services instance": "https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"
@@ -85,20 +86,20 @@
85
86
  "dependencies": {
86
87
  "@azure/core-auth": "^1.3.0",
87
88
  "@azure/core-client": "^1.0.0",
88
- "@azure/core-rest-pipeline": "^1.1.0",
89
- "@azure/core-lro": ">=2.3.0-alpha <2.3.0-alphb",
90
- "@azure/core-paging": "^1.2.0",
89
+ "@azure/core-rest-pipeline": "^1.8.1",
90
+ "@azure/core-lro": "2.3.0-beta.1",
91
+ "@azure/core-paging": "^1.3.0",
91
92
  "@azure/core-tracing": "1.0.0",
92
93
  "@azure/logger": "^1.0.0",
93
94
  "tslib": "^2.2.0"
94
95
  },
95
96
  "devDependencies": {
96
- "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
97
- "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
97
+ "@azure/dev-tool": "^1.0.0",
98
+ "@azure/eslint-plugin-azure-sdk": "^3.0.0",
98
99
  "@azure/identity": "^2.0.1",
99
- "@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
100
+ "@azure/test-utils": "^1.0.0",
100
101
  "@azure-tools/test-recorder": "^2.0.0",
101
- "@azure-tools/test-credential": ">=1.0.0-alpha <1.0.0-alphb",
102
+ "@azure-tools/test-credential": "^1.0.0",
102
103
  "@microsoft/api-extractor": "7.18.11",
103
104
  "@types/chai": "^4.1.6",
104
105
  "@types/chai-as-promised": "^7.1.0",
@@ -200,9 +200,6 @@ export declare interface AssessmentSentiment {
200
200
  isNegated: boolean;
201
201
  }
202
202
 
203
- /** Defines values for Association. */
204
- export declare type Association = "subject" | "other";
205
-
206
203
  export { AzureKeyCredential }
207
204
 
208
205
  /**
@@ -272,9 +269,6 @@ export declare interface BeginAnalyzeBatchOptions extends TextAnalysisOperationO
272
269
  displayName?: string;
273
270
  }
274
271
 
275
- /** Defines values for Certainty. */
276
- export declare type Certainty = "positive" | "positivePossible" | "neutralPossible" | "negativePossible" | "negative";
277
-
278
272
  /** A classification result from a custom classify document single category action */
279
273
  export declare interface ClassificationCategory {
280
274
  /** Classification type. */
@@ -283,9 +277,6 @@ export declare interface ClassificationCategory {
283
277
  confidenceScore: number;
284
278
  }
285
279
 
286
- /** Defines values for Conditionality. */
287
- export declare type Conditionality = "hypothetical" | "conditional";
288
-
289
280
  /**
290
281
  * Custom action metadata.
291
282
  */
@@ -455,6 +446,15 @@ export declare interface Entity {
455
446
  confidenceScore: number;
456
447
  }
457
448
 
449
+ /** Defines values for EntityAssociation. */
450
+ export declare type EntityAssociation = "subject" | "other";
451
+
452
+ /** Defines values for EntityCertainty. */
453
+ export declare type EntityCertainty = "positive" | "positivePossible" | "neutralPossible" | "negativePossible" | "negative";
454
+
455
+ /** Defines values for EntityConditionality. */
456
+ export declare type EntityConditionality = "hypothetical" | "conditional";
457
+
458
458
  /** A type representing a reference for the healthcare entity into a specific entity catalog. */
459
459
  export declare interface EntityDataSource {
460
460
  /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */
@@ -611,11 +611,11 @@ export declare type HealthcareAction = ActionPrebuilt & {
611
611
  /** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */
612
612
  export declare interface HealthcareAssertion {
613
613
  /** Describes any conditionality on the entity. */
614
- conditionality?: Conditionality;
614
+ conditionality?: EntityConditionality;
615
615
  /** Describes the entities certainty and polarity. */
616
- certainty?: Certainty;
616
+ certainty?: EntityCertainty;
617
617
  /** Describes if the entity is the subject of the text or if it describes someone else. */
618
- association?: Association;
618
+ association?: EntityAssociation;
619
619
  }
620
620
 
621
621
  /** Options for a healthcare batch action. */
@@ -869,8 +869,8 @@ export declare enum KnownInnerErrorCode {
869
869
  InvalidCountryHint = "InvalidCountryHint"
870
870
  }
871
871
 
872
- /** Known values of {@link PiiCategory} that the service accepts. */
873
- export declare enum KnownPiiCategory {
872
+ /** Known values of {@link PiiEntityCategory} that the service accepts. */
873
+ export declare enum KnownPiiEntityCategory {
874
874
  ABARoutingNumber = "ABARoutingNumber",
875
875
  ARNationalIdentityNumber = "ARNationalIdentityNumber",
876
876
  AUBankAccountNumber = "AUBankAccountNumber",
@@ -1046,8 +1046,8 @@ export declare enum KnownPiiCategory {
1046
1046
  Default = "Default"
1047
1047
  }
1048
1048
 
1049
- /** Known values of {@link PiiDomain} that the service accepts. */
1050
- export declare enum KnownPiiDomain {
1049
+ /** Known values of {@link PiiEntityDomain} that the service accepts. */
1050
+ export declare enum KnownPiiEntityDomain {
1051
1051
  /** Indicates that entities in the Personal Health Information domain should be redacted. */
1052
1052
  Phi = "phi",
1053
1053
  /** Indicates that no domain is specified. */
@@ -1184,8 +1184,8 @@ export declare interface Opinion {
1184
1184
  export declare type PagedAnalyzeBatchResult = PagedAsyncIterableIterator<AnalyzeBatchResult>;
1185
1185
 
1186
1186
  /**
1187
- * Defines values for PiiCategory. \
1188
- * {@link KnownPiiCategory} can be used interchangeably with PiiCategory,
1187
+ * Defines values for PiiEntityCategory. \
1188
+ * {@link KnownPiiEntityCategory} can be used interchangeably with PiiEntityCategory,
1189
1189
  * this enum contains the known values that the service supports.
1190
1190
  * ### Known values supported by the service
1191
1191
  * **ABARoutingNumber** \
@@ -1362,17 +1362,17 @@ export declare type PagedAnalyzeBatchResult = PagedAsyncIterableIterator<Analyze
1362
1362
  * **All** \
1363
1363
  * **Default**
1364
1364
  */
1365
- export declare type PiiCategory = string;
1365
+ export declare type PiiEntityCategory = string;
1366
1366
 
1367
1367
  /**
1368
- * Defines values for PiiDomain. \
1369
- * {@link KnownPiiDomain} can be used interchangeably with PiiDomain,
1368
+ * Defines values for PiiEntityDomain. \
1369
+ * {@link KnownPiiEntityDomain} can be used interchangeably with PiiEntityDomain,
1370
1370
  * this enum contains the known values that the service supports.
1371
1371
  * ### Known values supported by the service
1372
1372
  * **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \
1373
1373
  * **none**: Indicates that no domain is specified.
1374
1374
  */
1375
- export declare type PiiDomain = string;
1375
+ export declare type PiiEntityDomain = string;
1376
1376
 
1377
1377
  /** Options for a Pii entity recognition action. */
1378
1378
  export declare type PiiEntityRecognitionAction = ActionPrebuilt & {
@@ -1381,9 +1381,9 @@ export declare type PiiEntityRecognitionAction = ActionPrebuilt & {
1381
1381
  *
1382
1382
  * See {@link https://aka.ms/tanerpii the service documentation} for more information.
1383
1383
  */
1384
- domainFilter?: PiiDomain;
1384
+ domainFilter?: PiiEntityDomain;
1385
1385
  /** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */
1386
- categoriesFilter?: PiiCategory[];
1386
+ categoriesFilter?: PiiEntityCategory[];
1387
1387
  /**
1388
1388
  * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
1389
1389
  *