@azure/ai-language-text 1.1.0-alpha.20241203.1 → 1.1.0-alpha.20241205.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/browser/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/browser/constants.d.ts +14 -0
- package/dist/browser/constants.d.ts.map +1 -0
- package/dist/browser/generated/generatedClient.d.ts +33 -0
- package/dist/browser/generated/generatedClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/generatedClient.js +3 -3
- package/dist/browser/generated/generatedClient.js.map +1 -0
- package/dist/browser/generated/index.d.ts +4 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/dist/browser/generated/index.js +11 -0
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +2034 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +171 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +12 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js.map +1 -1
- package/dist/browser/generated/operations/analyzeText.d.ts +27 -0
- package/dist/browser/generated/operations/analyzeText.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/analyzeText.js +2 -2
- package/dist/browser/generated/operations/analyzeText.js.map +1 -0
- package/dist/browser/generated/operations/index.d.ts +2 -0
- package/dist/browser/generated/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/generated → dist/browser/generated/operations}/index.js +1 -3
- package/dist/browser/generated/operations/index.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/analyzeText.d.ts +19 -0
- package/dist/browser/generated/operationsInterfaces/analyzeText.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/analyzeText.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.js +9 -0
- package/dist/browser/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/index.d.ts +16 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +3 -3
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +6 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/lro.d.ts +60 -0
- package/dist/browser/lro.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/lro.js +5 -5
- package/dist/browser/lro.js.map +1 -0
- package/dist/browser/models.d.ts +881 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models.js +1 -1
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/textAnalysisClient.d.ts +487 -0
- package/dist/browser/textAnalysisClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/textAnalysisClient.js +7 -7
- package/dist/browser/textAnalysisClient.js.map +1 -0
- package/dist/browser/transforms.d.ts +12 -0
- package/dist/browser/transforms.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/transforms.js +1 -1
- package/dist/browser/transforms.js.map +1 -0
- package/dist/browser/util.d.ts +57 -0
- package/dist/browser/util.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util.js +1 -1
- package/dist/browser/util.js.map +1 -0
- package/dist/commonjs/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/commonjs/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/azureKeyCredentialPolicy.js +25 -0
- package/dist/commonjs/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/commonjs/constants.d.ts +14 -0
- package/dist/commonjs/constants.d.ts.map +1 -0
- package/dist/commonjs/constants.js +19 -0
- package/dist/commonjs/constants.js.map +1 -0
- package/dist/commonjs/generated/generatedClient.d.ts +33 -0
- package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClient.js +134 -0
- package/dist/commonjs/generated/generatedClient.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +4 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +16 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +2034 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +735 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +171 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +2848 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +12 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +101 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/operations/analyzeText.d.ts +27 -0
- package/dist/commonjs/generated/operations/analyzeText.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/analyzeText.js +83 -0
- package/dist/commonjs/generated/operations/analyzeText.js.map +1 -0
- package/dist/commonjs/generated/operations/index.d.ts +2 -0
- package/dist/commonjs/generated/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/index.js +12 -0
- package/dist/commonjs/generated/operations/index.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/analyzeText.d.ts +19 -0
- package/dist/commonjs/generated/operationsInterfaces/analyzeText.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/analyzeText.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/analyzeText.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +16 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +31 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +6 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +12 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/lro.d.ts +60 -0
- package/dist/commonjs/lro.d.ts.map +1 -0
- package/dist/commonjs/lro.js +200 -0
- package/dist/commonjs/lro.js.map +1 -0
- package/dist/commonjs/models.d.ts +881 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +38 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/textAnalysisClient.d.ts +487 -0
- package/dist/commonjs/textAnalysisClient.d.ts.map +1 -0
- package/dist/commonjs/textAnalysisClient.js +211 -0
- package/dist/commonjs/textAnalysisClient.js.map +1 -0
- package/dist/commonjs/transforms.d.ts +12 -0
- package/dist/commonjs/transforms.d.ts.map +1 -0
- package/dist/commonjs/transforms.js +388 -0
- package/dist/commonjs/transforms.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/util.d.ts +57 -0
- package/dist/commonjs/util.d.ts.map +1 -0
- package/dist/commonjs/util.js +141 -0
- package/dist/commonjs/util.js.map +1 -0
- package/dist/esm/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/esm/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/esm/azureKeyCredentialPolicy.js +22 -0
- package/dist/esm/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/esm/constants.d.ts +14 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +16 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/generated/generatedClient.d.ts +33 -0
- package/dist/esm/generated/generatedClient.d.ts.map +1 -0
- package/dist/esm/generated/generatedClient.js +129 -0
- package/dist/esm/generated/generatedClient.js.map +1 -0
- package/dist/esm/generated/index.d.ts +4 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +11 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +2034 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +732 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +171 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +2843 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +12 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +98 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/generated/operations/analyzeText.d.ts +27 -0
- package/dist/esm/generated/operations/analyzeText.d.ts.map +1 -0
- package/dist/esm/generated/operations/analyzeText.js +78 -0
- package/dist/esm/generated/operations/analyzeText.js.map +1 -0
- package/dist/esm/generated/operations/index.d.ts +2 -0
- package/dist/esm/generated/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/operations/index.js +9 -0
- package/dist/esm/generated/operations/index.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/analyzeText.d.ts +19 -0
- package/dist/esm/generated/operationsInterfaces/analyzeText.d.ts.map +1 -0
- package/{dist-esm/src/generated/operationsInterfaces/index.js → dist/esm/generated/operationsInterfaces/analyzeText.js} +2 -2
- package/dist/esm/generated/operationsInterfaces/analyzeText.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.js +9 -0
- package/dist/esm/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/index.d.ts +16 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +6 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +9 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/lro.d.ts +60 -0
- package/dist/esm/lro.d.ts.map +1 -0
- package/dist/esm/lro.js +191 -0
- package/dist/esm/lro.js.map +1 -0
- package/dist/esm/models.d.ts +881 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +35 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/textAnalysisClient.d.ts +487 -0
- package/dist/esm/textAnalysisClient.d.ts.map +1 -0
- package/dist/esm/textAnalysisClient.js +207 -0
- package/dist/esm/textAnalysisClient.js.map +1 -0
- package/dist/esm/transforms.d.ts +12 -0
- package/dist/esm/transforms.d.ts.map +1 -0
- package/dist/esm/transforms.js +383 -0
- package/dist/esm/transforms.js.map +1 -0
- package/dist/esm/util.d.ts +57 -0
- package/dist/esm/util.d.ts.map +1 -0
- package/dist/esm/util.js +131 -0
- package/dist/esm/util.js.map +1 -0
- package/dist/react-native/azureKeyCredentialPolicy.d.ts +9 -0
- package/dist/react-native/azureKeyCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/azureKeyCredentialPolicy.js +22 -0
- package/dist/react-native/azureKeyCredentialPolicy.js.map +1 -0
- package/dist/react-native/constants.d.ts +14 -0
- package/dist/react-native/constants.d.ts.map +1 -0
- package/dist/react-native/constants.js +16 -0
- package/dist/react-native/constants.js.map +1 -0
- package/dist/react-native/generated/generatedClient.d.ts +33 -0
- package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClient.js +129 -0
- package/dist/react-native/generated/generatedClient.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +4 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +11 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +2034 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +732 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +171 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +2843 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +12 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +98 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/generated/operations/analyzeText.d.ts +27 -0
- package/dist/react-native/generated/operations/analyzeText.d.ts.map +1 -0
- package/dist/react-native/generated/operations/analyzeText.js +78 -0
- package/dist/react-native/generated/operations/analyzeText.js.map +1 -0
- package/dist/react-native/generated/operations/index.d.ts +2 -0
- package/dist/react-native/generated/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/operations/index.js +9 -0
- package/dist/react-native/generated/operations/index.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/analyzeText.d.ts +19 -0
- package/dist/react-native/generated/operationsInterfaces/analyzeText.d.ts.map +1 -0
- package/{dist-esm/src/generated/operations/index.js → dist/react-native/generated/operationsInterfaces/analyzeText.js} +2 -2
- package/dist/react-native/generated/operationsInterfaces/analyzeText.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/index.d.ts +16 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +18 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +6 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +9 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/lro.d.ts +60 -0
- package/dist/react-native/lro.d.ts.map +1 -0
- package/dist/react-native/lro.js +191 -0
- package/dist/react-native/lro.js.map +1 -0
- package/dist/react-native/models.d.ts +881 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +35 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/textAnalysisClient.d.ts +487 -0
- package/dist/react-native/textAnalysisClient.d.ts.map +1 -0
- package/dist/react-native/textAnalysisClient.js +207 -0
- package/dist/react-native/textAnalysisClient.js.map +1 -0
- package/dist/react-native/transforms.d.ts +12 -0
- package/dist/react-native/transforms.d.ts.map +1 -0
- package/dist/react-native/transforms.js +383 -0
- package/dist/react-native/transforms.js.map +1 -0
- package/dist/react-native/util.d.ts +57 -0
- package/dist/react-native/util.d.ts.map +1 -0
- package/dist/react-native/util.js +131 -0
- package/dist/react-native/util.js.map +1 -0
- package/package.json +71 -50
- package/dist/index.js +0 -5015
- package/dist/index.js.map +0 -1
- package/dist-esm/src/generated/generatedClient.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/operations/analyzeText.js.map +0 -1
- package/dist-esm/src/generated/operations/index.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/analyzeText.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lro.js.map +0 -1
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/textAnalysisClient.js.map +0 -1
- package/dist-esm/src/transforms.js.map +0 -1
- package/dist-esm/src/util.js.map +0 -1
- package/types/ai-language-text.d.ts +0 -2716
- /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/analyzeText.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
@@ -0,0 +1,2034 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
export type AnalyzeActionUnion = AnalyzeAction | AnalyzeTextEntityLinkingInput | AnalyzeTextEntityRecognitionInput | AnalyzeTextKeyPhraseExtractionInput | AnalyzeTextPiiEntitiesRecognitionInput | AnalyzeTextLanguageDetectionInput | AnalyzeTextSentimentAnalysisInput;
|
3
|
+
export type AnalyzeTextTaskResultUnion = AnalyzeTextTaskResult | SentimentTaskResult | EntitiesTaskResult | EntityLinkingTaskResult | PiiTaskResult | KeyPhraseTaskResult | LanguageDetectionTaskResult;
|
4
|
+
export type AnalyzeBatchActionUnion = AnalyzeBatchAction | CustomEntitiesLROTask | CustomSingleLabelClassificationLROTask | CustomMultiLabelClassificationLROTask | HealthcareLROTask | SentimentAnalysisLROTask | EntitiesLROTask | EntityLinkingLROTask | PiiLROTask | ExtractiveSummarizationLROTask | KeyPhraseLROTask | AbstractiveSummarizationLROTask;
|
5
|
+
export type AnalyzeTextLROResultUnion = AnalyzeTextLROResult | EntityRecognitionLROResult | CustomEntityRecognitionLROResult | CustomSingleLabelClassificationLROResult | CustomMultiLabelClassificationLROResult | EntityLinkingLROResult | PiiEntityRecognitionLROResult | ExtractiveSummarizationLROResult | HealthcareLROResult | SentimentLROResult | KeyPhraseExtractionLROResult | AbstractiveSummarizationLROResult;
|
6
|
+
export interface AnalyzeAction {
|
7
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
8
|
+
kind: "EntityLinking" | "EntityRecognition" | "KeyPhraseExtraction" | "PiiEntityRecognition" | "LanguageDetection" | "SentimentAnalysis";
|
9
|
+
}
|
10
|
+
export interface AnalyzeTextTaskResult {
|
11
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
12
|
+
kind: "SentimentAnalysisResults" | "EntityRecognitionResults" | "EntityLinkingResults" | "PiiEntityRecognitionResults" | "KeyPhraseExtractionResults" | "LanguageDetectionResults";
|
13
|
+
}
|
14
|
+
/** Error response. */
|
15
|
+
export interface ErrorResponse {
|
16
|
+
/** The error object. */
|
17
|
+
error: ErrorModel;
|
18
|
+
}
|
19
|
+
/** The error object. */
|
20
|
+
export interface ErrorModel {
|
21
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
22
|
+
[property: string]: any;
|
23
|
+
/** One of a server-defined set of error codes. */
|
24
|
+
code: ErrorCode;
|
25
|
+
/** A human-readable representation of the error. */
|
26
|
+
message: string;
|
27
|
+
/** The target of the error. */
|
28
|
+
target?: string;
|
29
|
+
/** An array of details about specific errors that led to this reported error. */
|
30
|
+
details?: ErrorModel[];
|
31
|
+
/** An object containing more specific information than the current object about the error. */
|
32
|
+
innererror?: InnerErrorModel;
|
33
|
+
}
|
34
|
+
/** 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. */
|
35
|
+
export interface InnerErrorModel {
|
36
|
+
/** One of a server-defined set of error codes. */
|
37
|
+
code: InnerErrorCode;
|
38
|
+
/** Error message. */
|
39
|
+
message: string;
|
40
|
+
/** Error details. */
|
41
|
+
details?: {
|
42
|
+
[propertyName: string]: string;
|
43
|
+
};
|
44
|
+
/** Error target. */
|
45
|
+
target?: string;
|
46
|
+
/** An object containing more specific information than the current object about the error. */
|
47
|
+
innererror?: InnerErrorModel;
|
48
|
+
}
|
49
|
+
export interface AnalyzeTextJobsInput {
|
50
|
+
/** Optional display name for the analysis job. */
|
51
|
+
displayName?: string;
|
52
|
+
analysisInput: MultiLanguageAnalysisInput;
|
53
|
+
/** The set of tasks to execute on the input documents. */
|
54
|
+
tasks: AnalyzeBatchActionUnion[];
|
55
|
+
}
|
56
|
+
export interface MultiLanguageAnalysisInput {
|
57
|
+
documents?: TextDocumentInput[];
|
58
|
+
}
|
59
|
+
/** 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. */
|
60
|
+
export interface TextDocumentInput {
|
61
|
+
/** A unique, non-empty document identifier. */
|
62
|
+
id: string;
|
63
|
+
/** The input text to process. */
|
64
|
+
text: string;
|
65
|
+
/** (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. */
|
66
|
+
language?: string;
|
67
|
+
}
|
68
|
+
/** The State of a batched action */
|
69
|
+
export interface BatchActionState {
|
70
|
+
/** The name of the action */
|
71
|
+
actionName?: string;
|
72
|
+
}
|
73
|
+
export interface JobState {
|
74
|
+
displayName?: string;
|
75
|
+
createdOn: Date;
|
76
|
+
expiresOn?: Date;
|
77
|
+
id: string;
|
78
|
+
modifiedOn: Date;
|
79
|
+
status: OperationStatus;
|
80
|
+
errors?: ErrorModel[];
|
81
|
+
nextLink?: string;
|
82
|
+
}
|
83
|
+
export interface TasksState {
|
84
|
+
tasks: TasksStateTasks;
|
85
|
+
}
|
86
|
+
export interface TasksStateTasks {
|
87
|
+
completed: number;
|
88
|
+
failed: number;
|
89
|
+
inProgress: number;
|
90
|
+
total: number;
|
91
|
+
items?: AnalyzeTextLROResultUnion[];
|
92
|
+
}
|
93
|
+
export interface TaskState {
|
94
|
+
lastUpdateDateTime: Date;
|
95
|
+
status: State;
|
96
|
+
}
|
97
|
+
export interface AnalyzeTextJobStatistics {
|
98
|
+
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
|
99
|
+
statistics?: TextDocumentBatchStatistics;
|
100
|
+
}
|
101
|
+
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
|
102
|
+
export interface TextDocumentBatchStatistics {
|
103
|
+
/** Number of documents submitted in the request. */
|
104
|
+
documentCount: number;
|
105
|
+
/** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */
|
106
|
+
validDocumentCount: number;
|
107
|
+
/** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */
|
108
|
+
erroneousDocumentCount: number;
|
109
|
+
/** Number of transactions for the request. */
|
110
|
+
transactionCount: number;
|
111
|
+
}
|
112
|
+
export interface LanguageDetectionAnalysisInput {
|
113
|
+
documents?: LanguageDetectionInput[];
|
114
|
+
}
|
115
|
+
/** 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. */
|
116
|
+
export interface LanguageDetectionInput {
|
117
|
+
/** Unique, non-empty document identifier. */
|
118
|
+
id: string;
|
119
|
+
/** Full text of the input document. */
|
120
|
+
text: string;
|
121
|
+
/** A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */
|
122
|
+
countryHint?: string;
|
123
|
+
}
|
124
|
+
/** Configuration common to all actions. */
|
125
|
+
export interface ActionCommon {
|
126
|
+
/**
|
127
|
+
* 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.
|
128
|
+
*
|
129
|
+
* Default is false.
|
130
|
+
*/
|
131
|
+
disableServiceLogs?: boolean;
|
132
|
+
}
|
133
|
+
export interface CustomResult {
|
134
|
+
/** Errors by document id. */
|
135
|
+
errors: DocumentError[];
|
136
|
+
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
|
137
|
+
statistics?: TextDocumentBatchStatistics;
|
138
|
+
/** This field indicates the project name for the model. */
|
139
|
+
projectName: string;
|
140
|
+
/** This field indicates the deployment name for the model. */
|
141
|
+
deploymentName: string;
|
142
|
+
}
|
143
|
+
/** Contains details of errors encountered during a job execution. */
|
144
|
+
export interface DocumentError {
|
145
|
+
/** The ID of the input document. */
|
146
|
+
id: string;
|
147
|
+
/** Error encountered. */
|
148
|
+
error: ErrorModel;
|
149
|
+
}
|
150
|
+
/** 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 . */
|
151
|
+
export interface Entity {
|
152
|
+
/** Entity text as appears in the request. */
|
153
|
+
text: string;
|
154
|
+
/** Entity type. */
|
155
|
+
category: string;
|
156
|
+
/** (Optional) Entity sub type. */
|
157
|
+
subCategory?: string;
|
158
|
+
/** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */
|
159
|
+
offset: number;
|
160
|
+
/** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */
|
161
|
+
length: number;
|
162
|
+
/** Confidence score between 0 and 1 of the extracted entity. */
|
163
|
+
confidenceScore: number;
|
164
|
+
}
|
165
|
+
export interface DocumentResult {
|
166
|
+
/** Unique, non-empty document identifier. */
|
167
|
+
id: string;
|
168
|
+
/** Warnings encountered while processing document. */
|
169
|
+
warnings: DocumentWarning[];
|
170
|
+
/** if showStats=true was specified in the request this field will contain information about the document payload. */
|
171
|
+
statistics?: TextDocumentStatistics;
|
172
|
+
}
|
173
|
+
/** Represents a warning encountered while processing a document. */
|
174
|
+
export interface DocumentWarning {
|
175
|
+
/** Error code. */
|
176
|
+
code: WarningCode;
|
177
|
+
/** Warning message. */
|
178
|
+
message: string;
|
179
|
+
}
|
180
|
+
/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */
|
181
|
+
export interface TextDocumentStatistics {
|
182
|
+
/** Number of text elements recognized in the document. */
|
183
|
+
characterCount: number;
|
184
|
+
/** Number of transactions for the document. */
|
185
|
+
transactionCount: number;
|
186
|
+
}
|
187
|
+
/** A classification result from a custom classify document single category action */
|
188
|
+
export interface ClassificationCategory {
|
189
|
+
/** Classification type. */
|
190
|
+
category: string;
|
191
|
+
/** Confidence score between 0 and 1 of the recognized class. */
|
192
|
+
confidenceScore: number;
|
193
|
+
}
|
194
|
+
/** A type representing a reference for the healthcare entity into a specific entity catalog. */
|
195
|
+
export interface HealthcareEntity {
|
196
|
+
/** Entity text as appears in the request. */
|
197
|
+
text: string;
|
198
|
+
/** Healthcare Entity Category. */
|
199
|
+
category: HealthcareEntityCategory;
|
200
|
+
/** (Optional) Entity sub type. */
|
201
|
+
subCategory?: string;
|
202
|
+
/** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */
|
203
|
+
offset: number;
|
204
|
+
/** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */
|
205
|
+
length: number;
|
206
|
+
/** Confidence score between 0 and 1 of the extracted entity. */
|
207
|
+
confidenceScore: number;
|
208
|
+
/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */
|
209
|
+
assertion?: HealthcareAssertion;
|
210
|
+
/** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */
|
211
|
+
normalizedText?: string;
|
212
|
+
/** Entity references in known data sources. */
|
213
|
+
dataSources?: EntityDataSource[];
|
214
|
+
}
|
215
|
+
/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */
|
216
|
+
export interface HealthcareAssertion {
|
217
|
+
/** Describes any conditionality on the entity. */
|
218
|
+
conditionality?: EntityConditionality;
|
219
|
+
/** Describes the entities certainty and polarity. */
|
220
|
+
certainty?: EntityCertainty;
|
221
|
+
/** Describes if the entity is the subject of the text or if it describes someone else. */
|
222
|
+
association?: EntityAssociation;
|
223
|
+
}
|
224
|
+
/** A type representing a reference for the healthcare entity into a specific entity catalog. */
|
225
|
+
export interface EntityDataSource {
|
226
|
+
/** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */
|
227
|
+
name: string;
|
228
|
+
/** Entity id in the given source catalog. */
|
229
|
+
entityId: string;
|
230
|
+
}
|
231
|
+
/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */
|
232
|
+
export interface HealthcareRelation {
|
233
|
+
/** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */
|
234
|
+
relationType: RelationType;
|
235
|
+
/** Confidence score between 0 and 1 of the extracted relation. */
|
236
|
+
confidenceScore?: number;
|
237
|
+
/** The entities in the relation. */
|
238
|
+
entities: HealthcareRelationEntity[];
|
239
|
+
}
|
240
|
+
export interface HealthcareRelationEntity {
|
241
|
+
/** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */
|
242
|
+
ref: string;
|
243
|
+
/** 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). */
|
244
|
+
role: string;
|
245
|
+
}
|
246
|
+
export interface PreBuiltResult {
|
247
|
+
/** Errors by document id. */
|
248
|
+
errors: DocumentError[];
|
249
|
+
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
|
250
|
+
statistics?: TextDocumentBatchStatistics;
|
251
|
+
/** This field indicates which model is used for scoring. */
|
252
|
+
modelVersion: string;
|
253
|
+
}
|
254
|
+
/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */
|
255
|
+
export interface SentimentConfidenceScores {
|
256
|
+
/** Confidence score for positive sentiment */
|
257
|
+
positive: number;
|
258
|
+
/** Confidence score for neutral sentiment */
|
259
|
+
neutral: number;
|
260
|
+
/** Confidence score for negative sentiment */
|
261
|
+
negative: number;
|
262
|
+
}
|
263
|
+
/** 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. */
|
264
|
+
export interface SentenceSentiment {
|
265
|
+
/** The sentence text. */
|
266
|
+
text: string;
|
267
|
+
/** The predicted Sentiment for the sentence. */
|
268
|
+
sentiment: SentenceSentimentLabel;
|
269
|
+
/** The sentiment confidence score between 0 and 1 for the sentence for all classes. */
|
270
|
+
confidenceScores: SentimentConfidenceScores;
|
271
|
+
/** The sentence offset from the start of the document. */
|
272
|
+
offset: number;
|
273
|
+
/** The length of the sentence. */
|
274
|
+
length: number;
|
275
|
+
/** The array of sentence targets for the sentence. */
|
276
|
+
targets?: SentenceTarget[];
|
277
|
+
/** The array of assessments for the sentence. */
|
278
|
+
assessments?: AssessmentSentiment[];
|
279
|
+
}
|
280
|
+
export interface SentenceTarget {
|
281
|
+
/** Targeted sentiment in the sentence. */
|
282
|
+
sentiment: TokenSentimentLabel;
|
283
|
+
/** Target sentiment confidence scores for the target in the sentence. */
|
284
|
+
confidenceScores: TargetConfidenceScores;
|
285
|
+
/** The target offset from the start of the sentence. */
|
286
|
+
offset: number;
|
287
|
+
/** The length of the target. */
|
288
|
+
length: number;
|
289
|
+
/** The target text detected. */
|
290
|
+
text: string;
|
291
|
+
/** The array of either assessment or target objects which is related to the target. */
|
292
|
+
relations: TargetRelation[];
|
293
|
+
}
|
294
|
+
/** Represents the confidence scores across all sentiment classes: positive and negative. */
|
295
|
+
export interface TargetConfidenceScores {
|
296
|
+
/** Confidence score for positive sentiment */
|
297
|
+
positive: number;
|
298
|
+
/** Confidence score for negative sentiment */
|
299
|
+
negative: number;
|
300
|
+
}
|
301
|
+
export interface TargetRelation {
|
302
|
+
/** The type related to the target. */
|
303
|
+
relationType: TargetRelationType;
|
304
|
+
/** The JSON pointer indicating the linked object. */
|
305
|
+
ref: string;
|
306
|
+
}
|
307
|
+
/** 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'. */
|
308
|
+
export interface AssessmentSentiment {
|
309
|
+
/** Assessment sentiment in the sentence. */
|
310
|
+
sentiment: TokenSentimentLabel;
|
311
|
+
/** Assessment sentiment confidence scores in the sentence. */
|
312
|
+
confidenceScores: TargetConfidenceScores;
|
313
|
+
/** The assessment offset from the start of the sentence. */
|
314
|
+
offset: number;
|
315
|
+
/** The length of the assessment. */
|
316
|
+
length: number;
|
317
|
+
/** The assessment text detected. */
|
318
|
+
text: string;
|
319
|
+
/** The indicator representing if the assessment is negated. */
|
320
|
+
isNegated: boolean;
|
321
|
+
}
|
322
|
+
/** 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. */
|
323
|
+
export interface LinkedEntity {
|
324
|
+
/** Entity Linking formal name. */
|
325
|
+
name: string;
|
326
|
+
/** List of instances this entity appears in the text. */
|
327
|
+
matches: Match[];
|
328
|
+
/** Language used in the data source. */
|
329
|
+
language: string;
|
330
|
+
/** Unique identifier of the recognized entity from the data source. */
|
331
|
+
dataSourceEntityId?: string;
|
332
|
+
/** URL for the entity's page from the data source. */
|
333
|
+
url: string;
|
334
|
+
/** Data source used to extract entity linking, such as Wiki/Bing etc. */
|
335
|
+
dataSource: string;
|
336
|
+
/** Bing Entity Search API unique identifier of the recognized entity. */
|
337
|
+
bingEntitySearchApiId?: string;
|
338
|
+
}
|
339
|
+
/** Details about the specific substring in a document that refers to a linked entity identified by the Language model. */
|
340
|
+
export interface Match {
|
341
|
+
/** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */
|
342
|
+
confidenceScore: number;
|
343
|
+
/** Entity text as appears in the request. */
|
344
|
+
text: string;
|
345
|
+
/** Start position for the entity match text. */
|
346
|
+
offset: number;
|
347
|
+
/** Length for the entity match text. */
|
348
|
+
length: number;
|
349
|
+
}
|
350
|
+
/** A sentence that is part of the extracted summary. */
|
351
|
+
export interface SummarySentence {
|
352
|
+
/** The extracted sentence text. */
|
353
|
+
text: string;
|
354
|
+
/** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */
|
355
|
+
rankScore: number;
|
356
|
+
/** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */
|
357
|
+
offset: number;
|
358
|
+
/** The length of the sentence. */
|
359
|
+
length: number;
|
360
|
+
}
|
361
|
+
/** Information about the language of a document as identified by the Language service. */
|
362
|
+
export interface DetectedLanguage {
|
363
|
+
/** Long name of a detected language (e.g. English, French). */
|
364
|
+
name: string;
|
365
|
+
/** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */
|
366
|
+
iso6391Name: string;
|
367
|
+
/** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */
|
368
|
+
confidenceScore: number;
|
369
|
+
}
|
370
|
+
export interface Pagination {
|
371
|
+
nextLink?: string;
|
372
|
+
}
|
373
|
+
export interface JobErrors {
|
374
|
+
errors?: ErrorModel[];
|
375
|
+
}
|
376
|
+
/** Supported parameters for an Abstractive Summarization task. */
|
377
|
+
export interface AbstractiveSummarizationTaskParametersBase {
|
378
|
+
/** It controls the approximate number of sentences in the output summaries. */
|
379
|
+
sentenceCount?: number;
|
380
|
+
/**
|
381
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
382
|
+
*
|
383
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
384
|
+
*/
|
385
|
+
stringIndexType?: StringIndexType;
|
386
|
+
}
|
387
|
+
/** An object representing the summarization results of each document. */
|
388
|
+
export interface AbstractiveSummarizationResultBase {
|
389
|
+
/** Response by document */
|
390
|
+
documents: AbstractiveSummaryDocumentResult[];
|
391
|
+
}
|
392
|
+
/** An object representing a single summary with context for given document. */
|
393
|
+
export interface AbstractiveSummary {
|
394
|
+
/** The text of the summary. */
|
395
|
+
text: string;
|
396
|
+
/** The context list of the summary. */
|
397
|
+
contexts: SummaryContext[];
|
398
|
+
}
|
399
|
+
/** The context of the summary. */
|
400
|
+
export interface SummaryContext {
|
401
|
+
/** Start position for the context. Use of different 'stringIndexType' values can affect the offset returned. */
|
402
|
+
offset: number;
|
403
|
+
/** The length of the context. Use of different 'stringIndexType' values can affect the length returned. */
|
404
|
+
length: number;
|
405
|
+
}
|
406
|
+
export interface AnalyzeTextEntityLinkingInput extends AnalyzeAction {
|
407
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
408
|
+
kind: "EntityLinking";
|
409
|
+
analysisInput?: MultiLanguageAnalysisInput;
|
410
|
+
/** Options for an entity linking action. */
|
411
|
+
parameters?: EntityLinkingAction;
|
412
|
+
}
|
413
|
+
export interface AnalyzeTextEntityRecognitionInput extends AnalyzeAction {
|
414
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
415
|
+
kind: "EntityRecognition";
|
416
|
+
analysisInput?: MultiLanguageAnalysisInput;
|
417
|
+
/** Options for an entity recognition action. */
|
418
|
+
parameters?: EntityRecognitionAction;
|
419
|
+
}
|
420
|
+
export interface AnalyzeTextKeyPhraseExtractionInput extends AnalyzeAction {
|
421
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
422
|
+
kind: "KeyPhraseExtraction";
|
423
|
+
analysisInput?: MultiLanguageAnalysisInput;
|
424
|
+
/** Options for a key phrase recognition action. */
|
425
|
+
parameters?: KeyPhraseExtractionAction;
|
426
|
+
}
|
427
|
+
export interface AnalyzeTextPiiEntitiesRecognitionInput extends AnalyzeAction {
|
428
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
429
|
+
kind: "PiiEntityRecognition";
|
430
|
+
analysisInput?: MultiLanguageAnalysisInput;
|
431
|
+
/** Options for a Pii entity recognition action. */
|
432
|
+
parameters?: PiiEntityRecognitionAction;
|
433
|
+
}
|
434
|
+
export interface AnalyzeTextLanguageDetectionInput extends AnalyzeAction {
|
435
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
436
|
+
kind: "LanguageDetection";
|
437
|
+
analysisInput?: LanguageDetectionAnalysisInput;
|
438
|
+
/** Options for a language detection action. */
|
439
|
+
parameters?: LanguageDetectionAction;
|
440
|
+
}
|
441
|
+
export interface AnalyzeTextSentimentAnalysisInput extends AnalyzeAction {
|
442
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
443
|
+
kind: "SentimentAnalysis";
|
444
|
+
analysisInput?: MultiLanguageAnalysisInput;
|
445
|
+
/** Options for a sentiment analysis action. */
|
446
|
+
parameters?: SentimentAnalysisAction;
|
447
|
+
}
|
448
|
+
export interface SentimentTaskResult extends AnalyzeTextTaskResult {
|
449
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
450
|
+
kind: "SentimentAnalysisResults";
|
451
|
+
results: SentimentResponse;
|
452
|
+
}
|
453
|
+
export interface EntitiesTaskResult extends AnalyzeTextTaskResult {
|
454
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
455
|
+
kind: "EntityRecognitionResults";
|
456
|
+
results: EntitiesResult;
|
457
|
+
}
|
458
|
+
export interface EntityLinkingTaskResult extends AnalyzeTextTaskResult {
|
459
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
460
|
+
kind: "EntityLinkingResults";
|
461
|
+
results: EntityLinkingResult;
|
462
|
+
}
|
463
|
+
export interface PiiTaskResult extends AnalyzeTextTaskResult {
|
464
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
465
|
+
kind: "PiiEntityRecognitionResults";
|
466
|
+
results: PiiResult;
|
467
|
+
}
|
468
|
+
export interface KeyPhraseTaskResult extends AnalyzeTextTaskResult {
|
469
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
470
|
+
kind: "KeyPhraseExtractionResults";
|
471
|
+
results: KeyPhraseResult;
|
472
|
+
}
|
473
|
+
export interface LanguageDetectionTaskResult extends AnalyzeTextTaskResult {
|
474
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
475
|
+
kind: "LanguageDetectionResults";
|
476
|
+
results: LanguageDetectionResult;
|
477
|
+
}
|
478
|
+
export interface AnalyzeBatchAction extends BatchActionState {
|
479
|
+
/** Enumeration of supported long-running Text Analysis tasks. */
|
480
|
+
kind: AnalyzeTextLROTaskKind;
|
481
|
+
}
|
482
|
+
export interface AnalyzeTextLROResult extends TaskState, BatchActionState {
|
483
|
+
/** Enumeration of supported Text Analysis long-running operation task results. */
|
484
|
+
kind: AnalyzeTextLROResultsKind;
|
485
|
+
}
|
486
|
+
export interface AnalyzeTextJobState extends JobState, TasksState, AnalyzeTextJobStatistics {
|
487
|
+
}
|
488
|
+
/** Configuration common to all actions that use prebuilt models. */
|
489
|
+
export interface ActionPrebuilt extends ActionCommon {
|
490
|
+
/** The version of the model to be used by the action. */
|
491
|
+
modelVersion?: string;
|
492
|
+
}
|
493
|
+
/** Configuration common to all actions that use custom models. */
|
494
|
+
export interface ActionCustom extends ActionCommon {
|
495
|
+
/** The project name for the model to be used by the action. */
|
496
|
+
projectName: string;
|
497
|
+
/** The deployment name for the model to be used by the action. */
|
498
|
+
deploymentName: string;
|
499
|
+
}
|
500
|
+
export interface CustomEntitiesResult extends CustomResult {
|
501
|
+
/** Response by document */
|
502
|
+
documents: CustomEntitiesResultDocumentsItem[];
|
503
|
+
}
|
504
|
+
export interface CustomLabelClassificationResult extends CustomResult {
|
505
|
+
/** Response by document */
|
506
|
+
documents: CustomLabelClassificationResultDocumentsItem[];
|
507
|
+
}
|
508
|
+
export interface EntitiesDocumentResult extends DocumentResult {
|
509
|
+
/** Recognized entities in the document. */
|
510
|
+
entities: Entity[];
|
511
|
+
}
|
512
|
+
export interface ClassificationDocumentResult extends DocumentResult {
|
513
|
+
classifications: ClassificationCategory[];
|
514
|
+
}
|
515
|
+
export interface HealthcareEntitiesDocumentResult extends DocumentResult {
|
516
|
+
/** Healthcare entities. */
|
517
|
+
entities: HealthcareEntity[];
|
518
|
+
/** Healthcare entity relations. */
|
519
|
+
relations: HealthcareRelation[];
|
520
|
+
}
|
521
|
+
export interface SentimentDocumentResult extends DocumentResult {
|
522
|
+
/** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */
|
523
|
+
sentiment: DocumentSentimentLabel;
|
524
|
+
/** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */
|
525
|
+
confidenceScores: SentimentConfidenceScores;
|
526
|
+
/** Sentence level sentiment analysis. */
|
527
|
+
sentences: SentenceSentiment[];
|
528
|
+
}
|
529
|
+
export interface LinkedEntitiesDocumentResult extends DocumentResult {
|
530
|
+
/** Recognized well known entities in the document. */
|
531
|
+
entities: LinkedEntity[];
|
532
|
+
}
|
533
|
+
export interface PiiEntitiesDocumentResult extends DocumentResult {
|
534
|
+
/** Returns redacted text. */
|
535
|
+
redactedText: string;
|
536
|
+
/** Recognized entities in the document. */
|
537
|
+
entities: Entity[];
|
538
|
+
}
|
539
|
+
export interface ExtractedSummaryDocumentResult extends DocumentResult {
|
540
|
+
/** A ranked list of sentences representing the extracted summary. */
|
541
|
+
sentences: SummarySentence[];
|
542
|
+
}
|
543
|
+
export interface KeyPhrasesDocumentResult extends DocumentResult {
|
544
|
+
/** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */
|
545
|
+
keyPhrases: string[];
|
546
|
+
}
|
547
|
+
export interface LanguageDetectionDocumentResult extends DocumentResult {
|
548
|
+
/** Detected Language. */
|
549
|
+
detectedLanguage: DetectedLanguage;
|
550
|
+
}
|
551
|
+
/** An object representing the summarization result of a single document. */
|
552
|
+
export interface AbstractiveSummaryDocumentResult extends DocumentResult {
|
553
|
+
/** A list of abstractive summaries. */
|
554
|
+
summaries: AbstractiveSummary[];
|
555
|
+
}
|
556
|
+
export interface HealthcareResult extends PreBuiltResult {
|
557
|
+
documents: HealthcareResultDocumentsItem[];
|
558
|
+
}
|
559
|
+
export interface SentimentResponse extends PreBuiltResult {
|
560
|
+
/** Sentiment analysis per document. */
|
561
|
+
documents: SentimentResponseDocumentsItem[];
|
562
|
+
}
|
563
|
+
export interface EntitiesResult extends PreBuiltResult {
|
564
|
+
/** Response by document */
|
565
|
+
documents: EntitiesResultDocumentsItem[];
|
566
|
+
}
|
567
|
+
export interface EntityLinkingResult extends PreBuiltResult {
|
568
|
+
/** Response by document */
|
569
|
+
documents: EntityLinkingResultDocumentsItem[];
|
570
|
+
}
|
571
|
+
export interface PiiResult extends PreBuiltResult {
|
572
|
+
/** Response by document */
|
573
|
+
documents: PiiResultDocumentsItem[];
|
574
|
+
}
|
575
|
+
export interface ExtractiveSummarizationResult extends PreBuiltResult {
|
576
|
+
/** Response by document */
|
577
|
+
documents: ExtractedSummaryDocumentResult[];
|
578
|
+
}
|
579
|
+
export interface KeyPhraseResult extends PreBuiltResult {
|
580
|
+
/** Response by document */
|
581
|
+
documents: KeyPhraseResultDocumentsItem[];
|
582
|
+
}
|
583
|
+
export interface LanguageDetectionResult extends PreBuiltResult {
|
584
|
+
/** Response by document */
|
585
|
+
documents: LanguageDetectionDocumentResult[];
|
586
|
+
}
|
587
|
+
/** An object representing the pre-build summarization results of each document. */
|
588
|
+
export interface AbstractiveSummarizationResult extends AbstractiveSummarizationResultBase, PreBuiltResult {
|
589
|
+
}
|
590
|
+
/** Supported parameters for the pre-build Abstractive Summarization task. */
|
591
|
+
export interface AbstractiveSummarizationAction extends AbstractiveSummarizationTaskParametersBase, ActionPrebuilt {
|
592
|
+
}
|
593
|
+
/** Use custom models to ease the process of information extraction from unstructured documents like contracts or financial documents */
|
594
|
+
export interface CustomEntitiesLROTask extends AnalyzeBatchAction {
|
595
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
596
|
+
kind: "CustomEntityRecognition";
|
597
|
+
/** Supported parameters for a Custom Entities task. */
|
598
|
+
parameters?: CustomEntityRecognitionAction;
|
599
|
+
}
|
600
|
+
/** Use custom models to classify text into single label taxonomy */
|
601
|
+
export interface CustomSingleLabelClassificationLROTask extends AnalyzeBatchAction {
|
602
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
603
|
+
kind: "CustomSingleLabelClassification";
|
604
|
+
/** Options for a single-label classification custom action */
|
605
|
+
parameters?: CustomSingleLabelClassificationAction;
|
606
|
+
}
|
607
|
+
/** Use custom models to classify text into multi label taxonomy */
|
608
|
+
export interface CustomMultiLabelClassificationLROTask extends AnalyzeBatchAction {
|
609
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
610
|
+
kind: "CustomMultiLabelClassification";
|
611
|
+
/** Options for a multi-label classification custom action */
|
612
|
+
parameters?: CustomMultiLabelClassificationAction;
|
613
|
+
}
|
614
|
+
export interface HealthcareLROTask extends AnalyzeBatchAction {
|
615
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
616
|
+
kind: "Healthcare";
|
617
|
+
/** Supported parameters for a Healthcare task. */
|
618
|
+
parameters?: HealthcareAction;
|
619
|
+
}
|
620
|
+
/** An object representing the task definition for a Sentiment Analysis task. */
|
621
|
+
export interface SentimentAnalysisLROTask extends AnalyzeBatchAction {
|
622
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
623
|
+
kind: "SentimentAnalysis";
|
624
|
+
/** Options for a sentiment analysis action. */
|
625
|
+
parameters?: SentimentAnalysisAction;
|
626
|
+
}
|
627
|
+
/** An object representing the task definition for an Entities Recognition task. */
|
628
|
+
export interface EntitiesLROTask extends AnalyzeBatchAction {
|
629
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
630
|
+
kind: "EntityRecognition";
|
631
|
+
/** Options for an entity recognition action. */
|
632
|
+
parameters?: EntityRecognitionAction;
|
633
|
+
}
|
634
|
+
/** An object representing the task definition for an Entity Linking task. */
|
635
|
+
export interface EntityLinkingLROTask extends AnalyzeBatchAction {
|
636
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
637
|
+
kind: "EntityLinking";
|
638
|
+
/** Options for an entity linking action. */
|
639
|
+
parameters?: EntityLinkingAction;
|
640
|
+
}
|
641
|
+
/** An object representing the task definition for a PII Entities Recognition task. */
|
642
|
+
export interface PiiLROTask extends AnalyzeBatchAction {
|
643
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
644
|
+
kind: "PiiEntityRecognition";
|
645
|
+
/** Options for a Pii entity recognition action. */
|
646
|
+
parameters?: PiiEntityRecognitionAction;
|
647
|
+
}
|
648
|
+
/** An object representing the task definition for an Extractive Summarization task. */
|
649
|
+
export interface ExtractiveSummarizationLROTask extends AnalyzeBatchAction {
|
650
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
651
|
+
kind: "ExtractiveSummarization";
|
652
|
+
/** Supported parameters for an Extractive Summarization task. */
|
653
|
+
parameters?: ExtractiveSummarizationAction;
|
654
|
+
}
|
655
|
+
/** An object representing the task definition for a Key Phrase Extraction task. */
|
656
|
+
export interface KeyPhraseLROTask extends AnalyzeBatchAction {
|
657
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
658
|
+
kind: "KeyPhraseExtraction";
|
659
|
+
/** Options for a key phrase recognition action. */
|
660
|
+
parameters?: KeyPhraseExtractionAction;
|
661
|
+
}
|
662
|
+
/** An object representing the task definition for an Abstractive Summarization task. */
|
663
|
+
export interface AbstractiveSummarizationLROTask extends AnalyzeBatchAction {
|
664
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
665
|
+
kind: "AbstractiveSummarization";
|
666
|
+
/** Supported parameters for the pre-build Abstractive Summarization task. */
|
667
|
+
parameters: AbstractiveSummarizationAction;
|
668
|
+
}
|
669
|
+
export interface EntityRecognitionLROResult extends AnalyzeTextLROResult {
|
670
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
671
|
+
kind: "EntityRecognitionLROResults";
|
672
|
+
results: EntitiesResult;
|
673
|
+
}
|
674
|
+
export interface CustomEntityRecognitionLROResult extends AnalyzeTextLROResult {
|
675
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
676
|
+
kind: "CustomEntityRecognitionLROResults";
|
677
|
+
results: CustomEntitiesResult;
|
678
|
+
}
|
679
|
+
export interface CustomSingleLabelClassificationLROResult extends AnalyzeTextLROResult {
|
680
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
681
|
+
kind: "CustomSingleLabelClassificationLROResults";
|
682
|
+
results: CustomLabelClassificationResult;
|
683
|
+
}
|
684
|
+
export interface CustomMultiLabelClassificationLROResult extends AnalyzeTextLROResult {
|
685
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
686
|
+
kind: "CustomMultiLabelClassificationLROResults";
|
687
|
+
results: CustomLabelClassificationResult;
|
688
|
+
}
|
689
|
+
export interface EntityLinkingLROResult extends AnalyzeTextLROResult {
|
690
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
691
|
+
kind: "EntityLinkingLROResults";
|
692
|
+
results: EntityLinkingResult;
|
693
|
+
}
|
694
|
+
export interface PiiEntityRecognitionLROResult extends AnalyzeTextLROResult {
|
695
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
696
|
+
kind: "PiiEntityRecognitionLROResults";
|
697
|
+
results: PiiResult;
|
698
|
+
}
|
699
|
+
export interface ExtractiveSummarizationLROResult extends AnalyzeTextLROResult {
|
700
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
701
|
+
kind: "ExtractiveSummarizationLROResults";
|
702
|
+
results: ExtractiveSummarizationResult;
|
703
|
+
}
|
704
|
+
export interface HealthcareLROResult extends AnalyzeTextLROResult {
|
705
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
706
|
+
kind: "HealthcareLROResults";
|
707
|
+
results: HealthcareResult;
|
708
|
+
}
|
709
|
+
export interface SentimentLROResult extends AnalyzeTextLROResult {
|
710
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
711
|
+
kind: "SentimentAnalysisLROResults";
|
712
|
+
results: SentimentResponse;
|
713
|
+
}
|
714
|
+
export interface KeyPhraseExtractionLROResult extends AnalyzeTextLROResult {
|
715
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
716
|
+
kind: "KeyPhraseExtractionLROResults";
|
717
|
+
results: KeyPhraseResult;
|
718
|
+
}
|
719
|
+
/** An object representing the results for an Abstractive Summarization task. */
|
720
|
+
export interface AbstractiveSummarizationLROResult extends AnalyzeTextLROResult {
|
721
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
722
|
+
kind: "AbstractiveSummarizationLROResults";
|
723
|
+
/** An object representing the pre-build summarization results of each document. */
|
724
|
+
results: AbstractiveSummarizationResult;
|
725
|
+
}
|
726
|
+
/** Options for an entity linking action. */
|
727
|
+
export interface EntityLinkingAction extends ActionPrebuilt {
|
728
|
+
/**
|
729
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
730
|
+
*
|
731
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
732
|
+
*/
|
733
|
+
stringIndexType?: StringIndexType;
|
734
|
+
}
|
735
|
+
/** Options for an entity recognition action. */
|
736
|
+
export interface EntityRecognitionAction extends ActionPrebuilt {
|
737
|
+
/**
|
738
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
739
|
+
*
|
740
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
741
|
+
*/
|
742
|
+
stringIndexType?: StringIndexType;
|
743
|
+
}
|
744
|
+
/** Options for a key phrase recognition action. */
|
745
|
+
export interface KeyPhraseExtractionAction extends ActionPrebuilt {
|
746
|
+
}
|
747
|
+
/** Options for a Pii entity recognition action. */
|
748
|
+
export interface PiiEntityRecognitionAction extends ActionPrebuilt {
|
749
|
+
/**
|
750
|
+
* 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 KnownPiiEntityDomain}.
|
751
|
+
*
|
752
|
+
* See {@link https://aka.ms/tanerpii the service documentation} for more information.
|
753
|
+
*/
|
754
|
+
domainFilter?: PiiEntityDomain;
|
755
|
+
/** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */
|
756
|
+
categoriesFilter?: PiiEntityCategory[];
|
757
|
+
/**
|
758
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
759
|
+
*
|
760
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
761
|
+
*/
|
762
|
+
stringIndexType?: StringIndexType;
|
763
|
+
}
|
764
|
+
/** Options for a language detection action. */
|
765
|
+
export interface LanguageDetectionAction extends ActionPrebuilt {
|
766
|
+
}
|
767
|
+
/** Options for a sentiment analysis action. */
|
768
|
+
export interface SentimentAnalysisAction extends ActionPrebuilt {
|
769
|
+
/** 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. */
|
770
|
+
includeOpinionMining?: boolean;
|
771
|
+
/**
|
772
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
773
|
+
*
|
774
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
775
|
+
*/
|
776
|
+
stringIndexType?: StringIndexType;
|
777
|
+
}
|
778
|
+
/** Supported parameters for a Healthcare task. */
|
779
|
+
export interface HealthcareAction extends ActionPrebuilt {
|
780
|
+
/**
|
781
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
782
|
+
*
|
783
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
784
|
+
*/
|
785
|
+
stringIndexType?: StringIndexType;
|
786
|
+
}
|
787
|
+
/** Supported parameters for an Extractive Summarization task. */
|
788
|
+
export interface ExtractiveSummarizationAction extends ActionPrebuilt {
|
789
|
+
/** The max number of sentences to be part of the summary. */
|
790
|
+
maxSentenceCount?: number;
|
791
|
+
/** The sorting criteria to use for the results of Extractive Summarization. */
|
792
|
+
orderBy?: ExtractiveSummarizationOrderingCriteria;
|
793
|
+
/**
|
794
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
795
|
+
*
|
796
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
797
|
+
*/
|
798
|
+
stringIndexType?: StringIndexType;
|
799
|
+
}
|
800
|
+
/** Supported parameters for a Custom Entities task. */
|
801
|
+
export interface CustomEntityRecognitionAction extends ActionCustom {
|
802
|
+
/**
|
803
|
+
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
804
|
+
*
|
805
|
+
* The default is the JavaScript's default which is "Utf16CodeUnit".
|
806
|
+
*/
|
807
|
+
stringIndexType?: StringIndexType;
|
808
|
+
}
|
809
|
+
/** Options for a single-label classification custom action */
|
810
|
+
export interface CustomSingleLabelClassificationAction extends ActionCustom {
|
811
|
+
}
|
812
|
+
/** Options for a multi-label classification custom action */
|
813
|
+
export interface CustomMultiLabelClassificationAction extends ActionCustom {
|
814
|
+
}
|
815
|
+
export interface CustomEntitiesResultDocumentsItem extends EntitiesDocumentResult {
|
816
|
+
}
|
817
|
+
export interface EntitiesResultDocumentsItem extends EntitiesDocumentResult {
|
818
|
+
}
|
819
|
+
export interface CustomLabelClassificationResultDocumentsItem extends ClassificationDocumentResult {
|
820
|
+
}
|
821
|
+
export interface HealthcareResultDocumentsItem extends HealthcareEntitiesDocumentResult {
|
822
|
+
}
|
823
|
+
export interface SentimentResponseDocumentsItem extends SentimentDocumentResult {
|
824
|
+
}
|
825
|
+
export interface EntityLinkingResultDocumentsItem extends LinkedEntitiesDocumentResult {
|
826
|
+
}
|
827
|
+
export interface PiiResultDocumentsItem extends PiiEntitiesDocumentResult {
|
828
|
+
}
|
829
|
+
export interface KeyPhraseResultDocumentsItem extends KeyPhrasesDocumentResult {
|
830
|
+
}
|
831
|
+
/** Defines headers for GeneratedClient_analyzeBatch operation. */
|
832
|
+
export interface GeneratedClientAnalyzeBatchHeaders {
|
833
|
+
operationLocation?: string;
|
834
|
+
}
|
835
|
+
/** Defines headers for AnalyzeText_cancelJob operation. */
|
836
|
+
export interface AnalyzeTextCancelJobHeaders {
|
837
|
+
operationLocation?: string;
|
838
|
+
}
|
839
|
+
/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */
|
840
|
+
export declare enum KnownAnalyzeTextTaskKind {
|
841
|
+
/** SentimentAnalysis */
|
842
|
+
SentimentAnalysis = "SentimentAnalysis",
|
843
|
+
/** EntityRecognition */
|
844
|
+
EntityRecognition = "EntityRecognition",
|
845
|
+
/** PiiEntityRecognition */
|
846
|
+
PiiEntityRecognition = "PiiEntityRecognition",
|
847
|
+
/** KeyPhraseExtraction */
|
848
|
+
KeyPhraseExtraction = "KeyPhraseExtraction",
|
849
|
+
/** LanguageDetection */
|
850
|
+
LanguageDetection = "LanguageDetection",
|
851
|
+
/** EntityLinking */
|
852
|
+
EntityLinking = "EntityLinking"
|
853
|
+
}
|
854
|
+
/**
|
855
|
+
* Defines values for AnalyzeTextTaskKind. \
|
856
|
+
* {@link KnownAnalyzeTextTaskKind} can be used interchangeably with AnalyzeTextTaskKind,
|
857
|
+
* this enum contains the known values that the service supports.
|
858
|
+
* ### Known values supported by the service
|
859
|
+
* **SentimentAnalysis** \
|
860
|
+
* **EntityRecognition** \
|
861
|
+
* **PiiEntityRecognition** \
|
862
|
+
* **KeyPhraseExtraction** \
|
863
|
+
* **LanguageDetection** \
|
864
|
+
* **EntityLinking**
|
865
|
+
*/
|
866
|
+
export type AnalyzeTextTaskKind = string;
|
867
|
+
/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */
|
868
|
+
export declare enum KnownAnalyzeTextTaskResultsKind {
|
869
|
+
/** SentimentAnalysisResults */
|
870
|
+
SentimentAnalysisResults = "SentimentAnalysisResults",
|
871
|
+
/** EntityRecognitionResults */
|
872
|
+
EntityRecognitionResults = "EntityRecognitionResults",
|
873
|
+
/** PiiEntityRecognitionResults */
|
874
|
+
PiiEntityRecognitionResults = "PiiEntityRecognitionResults",
|
875
|
+
/** KeyPhraseExtractionResults */
|
876
|
+
KeyPhraseExtractionResults = "KeyPhraseExtractionResults",
|
877
|
+
/** LanguageDetectionResults */
|
878
|
+
LanguageDetectionResults = "LanguageDetectionResults",
|
879
|
+
/** EntityLinkingResults */
|
880
|
+
EntityLinkingResults = "EntityLinkingResults"
|
881
|
+
}
|
882
|
+
/**
|
883
|
+
* Defines values for AnalyzeTextTaskResultsKind. \
|
884
|
+
* {@link KnownAnalyzeTextTaskResultsKind} can be used interchangeably with AnalyzeTextTaskResultsKind,
|
885
|
+
* this enum contains the known values that the service supports.
|
886
|
+
* ### Known values supported by the service
|
887
|
+
* **SentimentAnalysisResults** \
|
888
|
+
* **EntityRecognitionResults** \
|
889
|
+
* **PiiEntityRecognitionResults** \
|
890
|
+
* **KeyPhraseExtractionResults** \
|
891
|
+
* **LanguageDetectionResults** \
|
892
|
+
* **EntityLinkingResults**
|
893
|
+
*/
|
894
|
+
export type AnalyzeTextTaskResultsKind = string;
|
895
|
+
/** Known values of {@link ErrorCode} that the service accepts. */
|
896
|
+
export declare enum KnownErrorCode {
|
897
|
+
/** InvalidRequest */
|
898
|
+
InvalidRequest = "InvalidRequest",
|
899
|
+
/** InvalidArgument */
|
900
|
+
InvalidArgument = "InvalidArgument",
|
901
|
+
/** Unauthorized */
|
902
|
+
Unauthorized = "Unauthorized",
|
903
|
+
/** Forbidden */
|
904
|
+
Forbidden = "Forbidden",
|
905
|
+
/** NotFound */
|
906
|
+
NotFound = "NotFound",
|
907
|
+
/** ProjectNotFound */
|
908
|
+
ProjectNotFound = "ProjectNotFound",
|
909
|
+
/** OperationNotFound */
|
910
|
+
OperationNotFound = "OperationNotFound",
|
911
|
+
/** AzureCognitiveSearchNotFound */
|
912
|
+
AzureCognitiveSearchNotFound = "AzureCognitiveSearchNotFound",
|
913
|
+
/** AzureCognitiveSearchIndexNotFound */
|
914
|
+
AzureCognitiveSearchIndexNotFound = "AzureCognitiveSearchIndexNotFound",
|
915
|
+
/** TooManyRequests */
|
916
|
+
TooManyRequests = "TooManyRequests",
|
917
|
+
/** AzureCognitiveSearchThrottling */
|
918
|
+
AzureCognitiveSearchThrottling = "AzureCognitiveSearchThrottling",
|
919
|
+
/** AzureCognitiveSearchIndexLimitReached */
|
920
|
+
AzureCognitiveSearchIndexLimitReached = "AzureCognitiveSearchIndexLimitReached",
|
921
|
+
/** InternalServerError */
|
922
|
+
InternalServerError = "InternalServerError",
|
923
|
+
/** ServiceUnavailable */
|
924
|
+
ServiceUnavailable = "ServiceUnavailable",
|
925
|
+
/** Timeout */
|
926
|
+
Timeout = "Timeout",
|
927
|
+
/** QuotaExceeded */
|
928
|
+
QuotaExceeded = "QuotaExceeded",
|
929
|
+
/** Conflict */
|
930
|
+
Conflict = "Conflict",
|
931
|
+
/** Warning */
|
932
|
+
Warning = "Warning"
|
933
|
+
}
|
934
|
+
/**
|
935
|
+
* Defines values for ErrorCode. \
|
936
|
+
* {@link KnownErrorCode} can be used interchangeably with ErrorCode,
|
937
|
+
* this enum contains the known values that the service supports.
|
938
|
+
* ### Known values supported by the service
|
939
|
+
* **InvalidRequest** \
|
940
|
+
* **InvalidArgument** \
|
941
|
+
* **Unauthorized** \
|
942
|
+
* **Forbidden** \
|
943
|
+
* **NotFound** \
|
944
|
+
* **ProjectNotFound** \
|
945
|
+
* **OperationNotFound** \
|
946
|
+
* **AzureCognitiveSearchNotFound** \
|
947
|
+
* **AzureCognitiveSearchIndexNotFound** \
|
948
|
+
* **TooManyRequests** \
|
949
|
+
* **AzureCognitiveSearchThrottling** \
|
950
|
+
* **AzureCognitiveSearchIndexLimitReached** \
|
951
|
+
* **InternalServerError** \
|
952
|
+
* **ServiceUnavailable** \
|
953
|
+
* **Timeout** \
|
954
|
+
* **QuotaExceeded** \
|
955
|
+
* **Conflict** \
|
956
|
+
* **Warning**
|
957
|
+
*/
|
958
|
+
export type ErrorCode = string;
|
959
|
+
/** Known values of {@link InnerErrorCode} that the service accepts. */
|
960
|
+
export declare enum KnownInnerErrorCode {
|
961
|
+
/** InvalidRequest */
|
962
|
+
InvalidRequest = "InvalidRequest",
|
963
|
+
/** InvalidParameterValue */
|
964
|
+
InvalidParameterValue = "InvalidParameterValue",
|
965
|
+
/** KnowledgeBaseNotFound */
|
966
|
+
KnowledgeBaseNotFound = "KnowledgeBaseNotFound",
|
967
|
+
/** AzureCognitiveSearchNotFound */
|
968
|
+
AzureCognitiveSearchNotFound = "AzureCognitiveSearchNotFound",
|
969
|
+
/** AzureCognitiveSearchThrottling */
|
970
|
+
AzureCognitiveSearchThrottling = "AzureCognitiveSearchThrottling",
|
971
|
+
/** ExtractionFailure */
|
972
|
+
ExtractionFailure = "ExtractionFailure",
|
973
|
+
/** InvalidRequestBodyFormat */
|
974
|
+
InvalidRequestBodyFormat = "InvalidRequestBodyFormat",
|
975
|
+
/** EmptyRequest */
|
976
|
+
EmptyRequest = "EmptyRequest",
|
977
|
+
/** MissingInputDocuments */
|
978
|
+
MissingInputDocuments = "MissingInputDocuments",
|
979
|
+
/** InvalidDocument */
|
980
|
+
InvalidDocument = "InvalidDocument",
|
981
|
+
/** ModelVersionIncorrect */
|
982
|
+
ModelVersionIncorrect = "ModelVersionIncorrect",
|
983
|
+
/** InvalidDocumentBatch */
|
984
|
+
InvalidDocumentBatch = "InvalidDocumentBatch",
|
985
|
+
/** UnsupportedLanguageCode */
|
986
|
+
UnsupportedLanguageCode = "UnsupportedLanguageCode",
|
987
|
+
/** InvalidCountryHint */
|
988
|
+
InvalidCountryHint = "InvalidCountryHint"
|
989
|
+
}
|
990
|
+
/**
|
991
|
+
* Defines values for InnerErrorCode. \
|
992
|
+
* {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode,
|
993
|
+
* this enum contains the known values that the service supports.
|
994
|
+
* ### Known values supported by the service
|
995
|
+
* **InvalidRequest** \
|
996
|
+
* **InvalidParameterValue** \
|
997
|
+
* **KnowledgeBaseNotFound** \
|
998
|
+
* **AzureCognitiveSearchNotFound** \
|
999
|
+
* **AzureCognitiveSearchThrottling** \
|
1000
|
+
* **ExtractionFailure** \
|
1001
|
+
* **InvalidRequestBodyFormat** \
|
1002
|
+
* **EmptyRequest** \
|
1003
|
+
* **MissingInputDocuments** \
|
1004
|
+
* **InvalidDocument** \
|
1005
|
+
* **ModelVersionIncorrect** \
|
1006
|
+
* **InvalidDocumentBatch** \
|
1007
|
+
* **UnsupportedLanguageCode** \
|
1008
|
+
* **InvalidCountryHint**
|
1009
|
+
*/
|
1010
|
+
export type InnerErrorCode = string;
|
1011
|
+
/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */
|
1012
|
+
export declare enum KnownAnalyzeTextLROTaskKind {
|
1013
|
+
/** SentimentAnalysis */
|
1014
|
+
SentimentAnalysis = "SentimentAnalysis",
|
1015
|
+
/** EntityRecognition */
|
1016
|
+
EntityRecognition = "EntityRecognition",
|
1017
|
+
/** PiiEntityRecognition */
|
1018
|
+
PiiEntityRecognition = "PiiEntityRecognition",
|
1019
|
+
/** KeyPhraseExtraction */
|
1020
|
+
KeyPhraseExtraction = "KeyPhraseExtraction",
|
1021
|
+
/** EntityLinking */
|
1022
|
+
EntityLinking = "EntityLinking",
|
1023
|
+
/** Healthcare */
|
1024
|
+
Healthcare = "Healthcare",
|
1025
|
+
/** ExtractiveSummarization */
|
1026
|
+
ExtractiveSummarization = "ExtractiveSummarization",
|
1027
|
+
/** CustomEntityRecognition */
|
1028
|
+
CustomEntityRecognition = "CustomEntityRecognition",
|
1029
|
+
/** CustomSingleLabelClassification */
|
1030
|
+
CustomSingleLabelClassification = "CustomSingleLabelClassification",
|
1031
|
+
/** CustomMultiLabelClassification */
|
1032
|
+
CustomMultiLabelClassification = "CustomMultiLabelClassification",
|
1033
|
+
/** AbstractiveSummarization */
|
1034
|
+
AbstractiveSummarization = "AbstractiveSummarization"
|
1035
|
+
}
|
1036
|
+
/**
|
1037
|
+
* Defines values for AnalyzeTextLROTaskKind. \
|
1038
|
+
* {@link KnownAnalyzeTextLROTaskKind} can be used interchangeably with AnalyzeTextLROTaskKind,
|
1039
|
+
* this enum contains the known values that the service supports.
|
1040
|
+
* ### Known values supported by the service
|
1041
|
+
* **SentimentAnalysis** \
|
1042
|
+
* **EntityRecognition** \
|
1043
|
+
* **PiiEntityRecognition** \
|
1044
|
+
* **KeyPhraseExtraction** \
|
1045
|
+
* **EntityLinking** \
|
1046
|
+
* **Healthcare** \
|
1047
|
+
* **ExtractiveSummarization** \
|
1048
|
+
* **CustomEntityRecognition** \
|
1049
|
+
* **CustomSingleLabelClassification** \
|
1050
|
+
* **CustomMultiLabelClassification** \
|
1051
|
+
* **AbstractiveSummarization**
|
1052
|
+
*/
|
1053
|
+
export type AnalyzeTextLROTaskKind = string;
|
1054
|
+
/** Known values of {@link OperationStatus} that the service accepts. */
|
1055
|
+
export declare enum KnownOperationStatus {
|
1056
|
+
/** NotStarted */
|
1057
|
+
NotStarted = "notStarted",
|
1058
|
+
/** Running */
|
1059
|
+
Running = "running",
|
1060
|
+
/** Succeeded */
|
1061
|
+
Succeeded = "succeeded",
|
1062
|
+
/** PartiallyCompleted */
|
1063
|
+
PartiallyCompleted = "partiallyCompleted",
|
1064
|
+
/** Failed */
|
1065
|
+
Failed = "failed",
|
1066
|
+
/** Cancelled */
|
1067
|
+
Cancelled = "cancelled",
|
1068
|
+
/** Cancelling */
|
1069
|
+
Cancelling = "cancelling"
|
1070
|
+
}
|
1071
|
+
/**
|
1072
|
+
* Defines values for OperationStatus. \
|
1073
|
+
* {@link KnownOperationStatus} can be used interchangeably with OperationStatus,
|
1074
|
+
* this enum contains the known values that the service supports.
|
1075
|
+
* ### Known values supported by the service
|
1076
|
+
* **notStarted** \
|
1077
|
+
* **running** \
|
1078
|
+
* **succeeded** \
|
1079
|
+
* **partiallyCompleted** \
|
1080
|
+
* **failed** \
|
1081
|
+
* **cancelled** \
|
1082
|
+
* **cancelling**
|
1083
|
+
*/
|
1084
|
+
export type OperationStatus = string;
|
1085
|
+
/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */
|
1086
|
+
export declare enum KnownAnalyzeTextLROResultsKind {
|
1087
|
+
/** SentimentAnalysisLROResults */
|
1088
|
+
SentimentAnalysisLROResults = "SentimentAnalysisLROResults",
|
1089
|
+
/** EntityRecognitionLROResults */
|
1090
|
+
EntityRecognitionLROResults = "EntityRecognitionLROResults",
|
1091
|
+
/** PiiEntityRecognitionLROResults */
|
1092
|
+
PiiEntityRecognitionLROResults = "PiiEntityRecognitionLROResults",
|
1093
|
+
/** KeyPhraseExtractionLROResults */
|
1094
|
+
KeyPhraseExtractionLROResults = "KeyPhraseExtractionLROResults",
|
1095
|
+
/** EntityLinkingLROResults */
|
1096
|
+
EntityLinkingLROResults = "EntityLinkingLROResults",
|
1097
|
+
/** HealthcareLROResults */
|
1098
|
+
HealthcareLROResults = "HealthcareLROResults",
|
1099
|
+
/** ExtractiveSummarizationLROResults */
|
1100
|
+
ExtractiveSummarizationLROResults = "ExtractiveSummarizationLROResults",
|
1101
|
+
/** CustomEntityRecognitionLROResults */
|
1102
|
+
CustomEntityRecognitionLROResults = "CustomEntityRecognitionLROResults",
|
1103
|
+
/** CustomSingleLabelClassificationLROResults */
|
1104
|
+
CustomSingleLabelClassificationLROResults = "CustomSingleLabelClassificationLROResults",
|
1105
|
+
/** CustomMultiLabelClassificationLROResults */
|
1106
|
+
CustomMultiLabelClassificationLROResults = "CustomMultiLabelClassificationLROResults",
|
1107
|
+
/** AbstractiveSummarizationLROResults */
|
1108
|
+
AbstractiveSummarizationLROResults = "AbstractiveSummarizationLROResults"
|
1109
|
+
}
|
1110
|
+
/**
|
1111
|
+
* Defines values for AnalyzeTextLROResultsKind. \
|
1112
|
+
* {@link KnownAnalyzeTextLROResultsKind} can be used interchangeably with AnalyzeTextLROResultsKind,
|
1113
|
+
* this enum contains the known values that the service supports.
|
1114
|
+
* ### Known values supported by the service
|
1115
|
+
* **SentimentAnalysisLROResults** \
|
1116
|
+
* **EntityRecognitionLROResults** \
|
1117
|
+
* **PiiEntityRecognitionLROResults** \
|
1118
|
+
* **KeyPhraseExtractionLROResults** \
|
1119
|
+
* **EntityLinkingLROResults** \
|
1120
|
+
* **HealthcareLROResults** \
|
1121
|
+
* **ExtractiveSummarizationLROResults** \
|
1122
|
+
* **CustomEntityRecognitionLROResults** \
|
1123
|
+
* **CustomSingleLabelClassificationLROResults** \
|
1124
|
+
* **CustomMultiLabelClassificationLROResults** \
|
1125
|
+
* **AbstractiveSummarizationLROResults**
|
1126
|
+
*/
|
1127
|
+
export type AnalyzeTextLROResultsKind = string;
|
1128
|
+
/** Known values of {@link State} that the service accepts. */
|
1129
|
+
export declare enum KnownState {
|
1130
|
+
/** NotStarted */
|
1131
|
+
NotStarted = "notStarted",
|
1132
|
+
/** Running */
|
1133
|
+
Running = "running",
|
1134
|
+
/** Succeeded */
|
1135
|
+
Succeeded = "succeeded",
|
1136
|
+
/** Failed */
|
1137
|
+
Failed = "failed",
|
1138
|
+
/** Cancelled */
|
1139
|
+
Cancelled = "cancelled",
|
1140
|
+
/** Cancelling */
|
1141
|
+
Cancelling = "cancelling"
|
1142
|
+
}
|
1143
|
+
/**
|
1144
|
+
* Defines values for State. \
|
1145
|
+
* {@link KnownState} can be used interchangeably with State,
|
1146
|
+
* this enum contains the known values that the service supports.
|
1147
|
+
* ### Known values supported by the service
|
1148
|
+
* **notStarted** \
|
1149
|
+
* **running** \
|
1150
|
+
* **succeeded** \
|
1151
|
+
* **failed** \
|
1152
|
+
* **cancelled** \
|
1153
|
+
* **cancelling**
|
1154
|
+
*/
|
1155
|
+
export type State = string;
|
1156
|
+
/** Known values of {@link StringIndexType} that the service accepts. */
|
1157
|
+
export declare enum KnownStringIndexType {
|
1158
|
+
/** 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. */
|
1159
|
+
TextElementsV8 = "TextElements_v8",
|
1160
|
+
/** 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. */
|
1161
|
+
UnicodeCodePoint = "UnicodeCodePoint",
|
1162
|
+
/** 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. */
|
1163
|
+
Utf16CodeUnit = "Utf16CodeUnit"
|
1164
|
+
}
|
1165
|
+
/**
|
1166
|
+
* Defines values for StringIndexType. \
|
1167
|
+
* {@link KnownStringIndexType} can be used interchangeably with StringIndexType,
|
1168
|
+
* this enum contains the known values that the service supports.
|
1169
|
+
* ### Known values supported by the service
|
1170
|
+
* **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. \
|
1171
|
+
* **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. \
|
1172
|
+
* **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.
|
1173
|
+
*/
|
1174
|
+
export type StringIndexType = string;
|
1175
|
+
/** Known values of {@link PiiEntityDomain} that the service accepts. */
|
1176
|
+
export declare enum KnownPiiEntityDomain {
|
1177
|
+
/** Indicates that entities in the Personal Health Information domain should be redacted. */
|
1178
|
+
Phi = "phi",
|
1179
|
+
/** Indicates that no domain is specified. */
|
1180
|
+
None = "none"
|
1181
|
+
}
|
1182
|
+
/**
|
1183
|
+
* Defines values for PiiEntityDomain. \
|
1184
|
+
* {@link KnownPiiEntityDomain} can be used interchangeably with PiiEntityDomain,
|
1185
|
+
* this enum contains the known values that the service supports.
|
1186
|
+
* ### Known values supported by the service
|
1187
|
+
* **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \
|
1188
|
+
* **none**: Indicates that no domain is specified.
|
1189
|
+
*/
|
1190
|
+
export type PiiEntityDomain = string;
|
1191
|
+
/** Known values of {@link PiiEntityCategory} that the service accepts. */
|
1192
|
+
export declare enum KnownPiiEntityCategory {
|
1193
|
+
/** ABARoutingNumber */
|
1194
|
+
ABARoutingNumber = "ABARoutingNumber",
|
1195
|
+
/** ARNationalIdentityNumber */
|
1196
|
+
ARNationalIdentityNumber = "ARNationalIdentityNumber",
|
1197
|
+
/** AUBankAccountNumber */
|
1198
|
+
AUBankAccountNumber = "AUBankAccountNumber",
|
1199
|
+
/** AUDriversLicenseNumber */
|
1200
|
+
AUDriversLicenseNumber = "AUDriversLicenseNumber",
|
1201
|
+
/** AUMedicalAccountNumber */
|
1202
|
+
AUMedicalAccountNumber = "AUMedicalAccountNumber",
|
1203
|
+
/** AUPassportNumber */
|
1204
|
+
AUPassportNumber = "AUPassportNumber",
|
1205
|
+
/** AUTaxFileNumber */
|
1206
|
+
AUTaxFileNumber = "AUTaxFileNumber",
|
1207
|
+
/** AUBusinessNumber */
|
1208
|
+
AUBusinessNumber = "AUBusinessNumber",
|
1209
|
+
/** AUCompanyNumber */
|
1210
|
+
AUCompanyNumber = "AUCompanyNumber",
|
1211
|
+
/** ATIdentityCard */
|
1212
|
+
ATIdentityCard = "ATIdentityCard",
|
1213
|
+
/** ATTaxIdentificationNumber */
|
1214
|
+
ATTaxIdentificationNumber = "ATTaxIdentificationNumber",
|
1215
|
+
/** ATValueAddedTaxNumber */
|
1216
|
+
ATValueAddedTaxNumber = "ATValueAddedTaxNumber",
|
1217
|
+
/** AzureDocumentDBAuthKey */
|
1218
|
+
AzureDocumentDBAuthKey = "AzureDocumentDBAuthKey",
|
1219
|
+
/** AzureIaasDatabaseConnectionAndSQLString */
|
1220
|
+
AzureIaasDatabaseConnectionAndSQLString = "AzureIAASDatabaseConnectionAndSQLString",
|
1221
|
+
/** AzureIoTConnectionString */
|
1222
|
+
AzureIoTConnectionString = "AzureIoTConnectionString",
|
1223
|
+
/** AzurePublishSettingPassword */
|
1224
|
+
AzurePublishSettingPassword = "AzurePublishSettingPassword",
|
1225
|
+
/** AzureRedisCacheString */
|
1226
|
+
AzureRedisCacheString = "AzureRedisCacheString",
|
1227
|
+
/** AzureSAS */
|
1228
|
+
AzureSAS = "AzureSAS",
|
1229
|
+
/** AzureServiceBusString */
|
1230
|
+
AzureServiceBusString = "AzureServiceBusString",
|
1231
|
+
/** AzureStorageAccountKey */
|
1232
|
+
AzureStorageAccountKey = "AzureStorageAccountKey",
|
1233
|
+
/** AzureStorageAccountGeneric */
|
1234
|
+
AzureStorageAccountGeneric = "AzureStorageAccountGeneric",
|
1235
|
+
/** BENationalNumber */
|
1236
|
+
BENationalNumber = "BENationalNumber",
|
1237
|
+
/** BENationalNumberV2 */
|
1238
|
+
BENationalNumberV2 = "BENationalNumberV2",
|
1239
|
+
/** BEValueAddedTaxNumber */
|
1240
|
+
BEValueAddedTaxNumber = "BEValueAddedTaxNumber",
|
1241
|
+
/** BrcpfNumber */
|
1242
|
+
BrcpfNumber = "BRCPFNumber",
|
1243
|
+
/** BRLegalEntityNumber */
|
1244
|
+
BRLegalEntityNumber = "BRLegalEntityNumber",
|
1245
|
+
/** BRNationalIdrg */
|
1246
|
+
BRNationalIdrg = "BRNationalIDRG",
|
1247
|
+
/** BGUniformCivilNumber */
|
1248
|
+
BGUniformCivilNumber = "BGUniformCivilNumber",
|
1249
|
+
/** CABankAccountNumber */
|
1250
|
+
CABankAccountNumber = "CABankAccountNumber",
|
1251
|
+
/** CADriversLicenseNumber */
|
1252
|
+
CADriversLicenseNumber = "CADriversLicenseNumber",
|
1253
|
+
/** CAHealthServiceNumber */
|
1254
|
+
CAHealthServiceNumber = "CAHealthServiceNumber",
|
1255
|
+
/** CAPassportNumber */
|
1256
|
+
CAPassportNumber = "CAPassportNumber",
|
1257
|
+
/** CAPersonalHealthIdentification */
|
1258
|
+
CAPersonalHealthIdentification = "CAPersonalHealthIdentification",
|
1259
|
+
/** CASocialInsuranceNumber */
|
1260
|
+
CASocialInsuranceNumber = "CASocialInsuranceNumber",
|
1261
|
+
/** CLIdentityCardNumber */
|
1262
|
+
CLIdentityCardNumber = "CLIdentityCardNumber",
|
1263
|
+
/** CNResidentIdentityCardNumber */
|
1264
|
+
CNResidentIdentityCardNumber = "CNResidentIdentityCardNumber",
|
1265
|
+
/** CreditCardNumber */
|
1266
|
+
CreditCardNumber = "CreditCardNumber",
|
1267
|
+
/** HRIdentityCardNumber */
|
1268
|
+
HRIdentityCardNumber = "HRIdentityCardNumber",
|
1269
|
+
/** HRNationalIDNumber */
|
1270
|
+
HRNationalIDNumber = "HRNationalIDNumber",
|
1271
|
+
/** HRPersonalIdentificationNumber */
|
1272
|
+
HRPersonalIdentificationNumber = "HRPersonalIdentificationNumber",
|
1273
|
+
/** HRPersonalIdentificationOIBNumberV2 */
|
1274
|
+
HRPersonalIdentificationOIBNumberV2 = "HRPersonalIdentificationOIBNumberV2",
|
1275
|
+
/** CYIdentityCard */
|
1276
|
+
CYIdentityCard = "CYIdentityCard",
|
1277
|
+
/** CYTaxIdentificationNumber */
|
1278
|
+
CYTaxIdentificationNumber = "CYTaxIdentificationNumber",
|
1279
|
+
/** CZPersonalIdentityNumber */
|
1280
|
+
CZPersonalIdentityNumber = "CZPersonalIdentityNumber",
|
1281
|
+
/** CZPersonalIdentityV2 */
|
1282
|
+
CZPersonalIdentityV2 = "CZPersonalIdentityV2",
|
1283
|
+
/** DKPersonalIdentificationNumber */
|
1284
|
+
DKPersonalIdentificationNumber = "DKPersonalIdentificationNumber",
|
1285
|
+
/** DKPersonalIdentificationV2 */
|
1286
|
+
DKPersonalIdentificationV2 = "DKPersonalIdentificationV2",
|
1287
|
+
/** DrugEnforcementAgencyNumber */
|
1288
|
+
DrugEnforcementAgencyNumber = "DrugEnforcementAgencyNumber",
|
1289
|
+
/** EEPersonalIdentificationCode */
|
1290
|
+
EEPersonalIdentificationCode = "EEPersonalIdentificationCode",
|
1291
|
+
/** EUDebitCardNumber */
|
1292
|
+
EUDebitCardNumber = "EUDebitCardNumber",
|
1293
|
+
/** EUDriversLicenseNumber */
|
1294
|
+
EUDriversLicenseNumber = "EUDriversLicenseNumber",
|
1295
|
+
/** EugpsCoordinates */
|
1296
|
+
EugpsCoordinates = "EUGPSCoordinates",
|
1297
|
+
/** EUNationalIdentificationNumber */
|
1298
|
+
EUNationalIdentificationNumber = "EUNationalIdentificationNumber",
|
1299
|
+
/** EUPassportNumber */
|
1300
|
+
EUPassportNumber = "EUPassportNumber",
|
1301
|
+
/** EUSocialSecurityNumber */
|
1302
|
+
EUSocialSecurityNumber = "EUSocialSecurityNumber",
|
1303
|
+
/** EUTaxIdentificationNumber */
|
1304
|
+
EUTaxIdentificationNumber = "EUTaxIdentificationNumber",
|
1305
|
+
/** FIEuropeanHealthNumber */
|
1306
|
+
FIEuropeanHealthNumber = "FIEuropeanHealthNumber",
|
1307
|
+
/** FINationalID */
|
1308
|
+
FINationalID = "FINationalID",
|
1309
|
+
/** FINationalIDV2 */
|
1310
|
+
FINationalIDV2 = "FINationalIDV2",
|
1311
|
+
/** FIPassportNumber */
|
1312
|
+
FIPassportNumber = "FIPassportNumber",
|
1313
|
+
/** FRDriversLicenseNumber */
|
1314
|
+
FRDriversLicenseNumber = "FRDriversLicenseNumber",
|
1315
|
+
/** FRHealthInsuranceNumber */
|
1316
|
+
FRHealthInsuranceNumber = "FRHealthInsuranceNumber",
|
1317
|
+
/** FRNationalID */
|
1318
|
+
FRNationalID = "FRNationalID",
|
1319
|
+
/** FRPassportNumber */
|
1320
|
+
FRPassportNumber = "FRPassportNumber",
|
1321
|
+
/** FRSocialSecurityNumber */
|
1322
|
+
FRSocialSecurityNumber = "FRSocialSecurityNumber",
|
1323
|
+
/** FRTaxIdentificationNumber */
|
1324
|
+
FRTaxIdentificationNumber = "FRTaxIdentificationNumber",
|
1325
|
+
/** FRValueAddedTaxNumber */
|
1326
|
+
FRValueAddedTaxNumber = "FRValueAddedTaxNumber",
|
1327
|
+
/** DEDriversLicenseNumber */
|
1328
|
+
DEDriversLicenseNumber = "DEDriversLicenseNumber",
|
1329
|
+
/** DEPassportNumber */
|
1330
|
+
DEPassportNumber = "DEPassportNumber",
|
1331
|
+
/** DEIdentityCardNumber */
|
1332
|
+
DEIdentityCardNumber = "DEIdentityCardNumber",
|
1333
|
+
/** DETaxIdentificationNumber */
|
1334
|
+
DETaxIdentificationNumber = "DETaxIdentificationNumber",
|
1335
|
+
/** DEValueAddedNumber */
|
1336
|
+
DEValueAddedNumber = "DEValueAddedNumber",
|
1337
|
+
/** GRNationalIDCard */
|
1338
|
+
GRNationalIDCard = "GRNationalIDCard",
|
1339
|
+
/** GRNationalIDV2 */
|
1340
|
+
GRNationalIDV2 = "GRNationalIDV2",
|
1341
|
+
/** GRTaxIdentificationNumber */
|
1342
|
+
GRTaxIdentificationNumber = "GRTaxIdentificationNumber",
|
1343
|
+
/** HKIdentityCardNumber */
|
1344
|
+
HKIdentityCardNumber = "HKIdentityCardNumber",
|
1345
|
+
/** HUValueAddedNumber */
|
1346
|
+
HUValueAddedNumber = "HUValueAddedNumber",
|
1347
|
+
/** HUPersonalIdentificationNumber */
|
1348
|
+
HUPersonalIdentificationNumber = "HUPersonalIdentificationNumber",
|
1349
|
+
/** HUTaxIdentificationNumber */
|
1350
|
+
HUTaxIdentificationNumber = "HUTaxIdentificationNumber",
|
1351
|
+
/** INPermanentAccount */
|
1352
|
+
INPermanentAccount = "INPermanentAccount",
|
1353
|
+
/** INUniqueIdentificationNumber */
|
1354
|
+
INUniqueIdentificationNumber = "INUniqueIdentificationNumber",
|
1355
|
+
/** IDIdentityCardNumber */
|
1356
|
+
IDIdentityCardNumber = "IDIdentityCardNumber",
|
1357
|
+
/** InternationalBankingAccountNumber */
|
1358
|
+
InternationalBankingAccountNumber = "InternationalBankingAccountNumber",
|
1359
|
+
/** IEPersonalPublicServiceNumber */
|
1360
|
+
IEPersonalPublicServiceNumber = "IEPersonalPublicServiceNumber",
|
1361
|
+
/** IEPersonalPublicServiceNumberV2 */
|
1362
|
+
IEPersonalPublicServiceNumberV2 = "IEPersonalPublicServiceNumberV2",
|
1363
|
+
/** ILBankAccountNumber */
|
1364
|
+
ILBankAccountNumber = "ILBankAccountNumber",
|
1365
|
+
/** ILNationalID */
|
1366
|
+
ILNationalID = "ILNationalID",
|
1367
|
+
/** ITDriversLicenseNumber */
|
1368
|
+
ITDriversLicenseNumber = "ITDriversLicenseNumber",
|
1369
|
+
/** ITFiscalCode */
|
1370
|
+
ITFiscalCode = "ITFiscalCode",
|
1371
|
+
/** ITValueAddedTaxNumber */
|
1372
|
+
ITValueAddedTaxNumber = "ITValueAddedTaxNumber",
|
1373
|
+
/** JPBankAccountNumber */
|
1374
|
+
JPBankAccountNumber = "JPBankAccountNumber",
|
1375
|
+
/** JPDriversLicenseNumber */
|
1376
|
+
JPDriversLicenseNumber = "JPDriversLicenseNumber",
|
1377
|
+
/** JPPassportNumber */
|
1378
|
+
JPPassportNumber = "JPPassportNumber",
|
1379
|
+
/** JPResidentRegistrationNumber */
|
1380
|
+
JPResidentRegistrationNumber = "JPResidentRegistrationNumber",
|
1381
|
+
/** JPSocialInsuranceNumber */
|
1382
|
+
JPSocialInsuranceNumber = "JPSocialInsuranceNumber",
|
1383
|
+
/** JPMyNumberCorporate */
|
1384
|
+
JPMyNumberCorporate = "JPMyNumberCorporate",
|
1385
|
+
/** JPMyNumberPersonal */
|
1386
|
+
JPMyNumberPersonal = "JPMyNumberPersonal",
|
1387
|
+
/** JPResidenceCardNumber */
|
1388
|
+
JPResidenceCardNumber = "JPResidenceCardNumber",
|
1389
|
+
/** LVPersonalCode */
|
1390
|
+
LVPersonalCode = "LVPersonalCode",
|
1391
|
+
/** LTPersonalCode */
|
1392
|
+
LTPersonalCode = "LTPersonalCode",
|
1393
|
+
/** LUNationalIdentificationNumberNatural */
|
1394
|
+
LUNationalIdentificationNumberNatural = "LUNationalIdentificationNumberNatural",
|
1395
|
+
/** LUNationalIdentificationNumberNonNatural */
|
1396
|
+
LUNationalIdentificationNumberNonNatural = "LUNationalIdentificationNumberNonNatural",
|
1397
|
+
/** MYIdentityCardNumber */
|
1398
|
+
MYIdentityCardNumber = "MYIdentityCardNumber",
|
1399
|
+
/** MTIdentityCardNumber */
|
1400
|
+
MTIdentityCardNumber = "MTIdentityCardNumber",
|
1401
|
+
/** MTTaxIDNumber */
|
1402
|
+
MTTaxIDNumber = "MTTaxIDNumber",
|
1403
|
+
/** NLCitizensServiceNumber */
|
1404
|
+
NLCitizensServiceNumber = "NLCitizensServiceNumber",
|
1405
|
+
/** NLCitizensServiceNumberV2 */
|
1406
|
+
NLCitizensServiceNumberV2 = "NLCitizensServiceNumberV2",
|
1407
|
+
/** NLTaxIdentificationNumber */
|
1408
|
+
NLTaxIdentificationNumber = "NLTaxIdentificationNumber",
|
1409
|
+
/** NLValueAddedTaxNumber */
|
1410
|
+
NLValueAddedTaxNumber = "NLValueAddedTaxNumber",
|
1411
|
+
/** NZBankAccountNumber */
|
1412
|
+
NZBankAccountNumber = "NZBankAccountNumber",
|
1413
|
+
/** NZDriversLicenseNumber */
|
1414
|
+
NZDriversLicenseNumber = "NZDriversLicenseNumber",
|
1415
|
+
/** NZInlandRevenueNumber */
|
1416
|
+
NZInlandRevenueNumber = "NZInlandRevenueNumber",
|
1417
|
+
/** NZMinistryOfHealthNumber */
|
1418
|
+
NZMinistryOfHealthNumber = "NZMinistryOfHealthNumber",
|
1419
|
+
/** NZSocialWelfareNumber */
|
1420
|
+
NZSocialWelfareNumber = "NZSocialWelfareNumber",
|
1421
|
+
/** NOIdentityNumber */
|
1422
|
+
NOIdentityNumber = "NOIdentityNumber",
|
1423
|
+
/** PHUnifiedMultiPurposeIDNumber */
|
1424
|
+
PHUnifiedMultiPurposeIDNumber = "PHUnifiedMultiPurposeIDNumber",
|
1425
|
+
/** PLIdentityCard */
|
1426
|
+
PLIdentityCard = "PLIdentityCard",
|
1427
|
+
/** PLNationalID */
|
1428
|
+
PLNationalID = "PLNationalID",
|
1429
|
+
/** PLNationalIDV2 */
|
1430
|
+
PLNationalIDV2 = "PLNationalIDV2",
|
1431
|
+
/** PLPassportNumber */
|
1432
|
+
PLPassportNumber = "PLPassportNumber",
|
1433
|
+
/** PLTaxIdentificationNumber */
|
1434
|
+
PLTaxIdentificationNumber = "PLTaxIdentificationNumber",
|
1435
|
+
/** PlregonNumber */
|
1436
|
+
PlregonNumber = "PLREGONNumber",
|
1437
|
+
/** PTCitizenCardNumber */
|
1438
|
+
PTCitizenCardNumber = "PTCitizenCardNumber",
|
1439
|
+
/** PTCitizenCardNumberV2 */
|
1440
|
+
PTCitizenCardNumberV2 = "PTCitizenCardNumberV2",
|
1441
|
+
/** PTTaxIdentificationNumber */
|
1442
|
+
PTTaxIdentificationNumber = "PTTaxIdentificationNumber",
|
1443
|
+
/** ROPersonalNumericalCode */
|
1444
|
+
ROPersonalNumericalCode = "ROPersonalNumericalCode",
|
1445
|
+
/** RUPassportNumberDomestic */
|
1446
|
+
RUPassportNumberDomestic = "RUPassportNumberDomestic",
|
1447
|
+
/** RUPassportNumberInternational */
|
1448
|
+
RUPassportNumberInternational = "RUPassportNumberInternational",
|
1449
|
+
/** SANationalID */
|
1450
|
+
SANationalID = "SANationalID",
|
1451
|
+
/** SGNationalRegistrationIdentityCardNumber */
|
1452
|
+
SGNationalRegistrationIdentityCardNumber = "SGNationalRegistrationIdentityCardNumber",
|
1453
|
+
/** SKPersonalNumber */
|
1454
|
+
SKPersonalNumber = "SKPersonalNumber",
|
1455
|
+
/** SITaxIdentificationNumber */
|
1456
|
+
SITaxIdentificationNumber = "SITaxIdentificationNumber",
|
1457
|
+
/** SIUniqueMasterCitizenNumber */
|
1458
|
+
SIUniqueMasterCitizenNumber = "SIUniqueMasterCitizenNumber",
|
1459
|
+
/** ZAIdentificationNumber */
|
1460
|
+
ZAIdentificationNumber = "ZAIdentificationNumber",
|
1461
|
+
/** KRResidentRegistrationNumber */
|
1462
|
+
KRResidentRegistrationNumber = "KRResidentRegistrationNumber",
|
1463
|
+
/** Esdni */
|
1464
|
+
Esdni = "ESDNI",
|
1465
|
+
/** ESSocialSecurityNumber */
|
1466
|
+
ESSocialSecurityNumber = "ESSocialSecurityNumber",
|
1467
|
+
/** ESTaxIdentificationNumber */
|
1468
|
+
ESTaxIdentificationNumber = "ESTaxIdentificationNumber",
|
1469
|
+
/** SQLServerConnectionString */
|
1470
|
+
SQLServerConnectionString = "SQLServerConnectionString",
|
1471
|
+
/** SENationalID */
|
1472
|
+
SENationalID = "SENationalID",
|
1473
|
+
/** SENationalIDV2 */
|
1474
|
+
SENationalIDV2 = "SENationalIDV2",
|
1475
|
+
/** SEPassportNumber */
|
1476
|
+
SEPassportNumber = "SEPassportNumber",
|
1477
|
+
/** SETaxIdentificationNumber */
|
1478
|
+
SETaxIdentificationNumber = "SETaxIdentificationNumber",
|
1479
|
+
/** SwiftCode */
|
1480
|
+
SwiftCode = "SWIFTCode",
|
1481
|
+
/** CHSocialSecurityNumber */
|
1482
|
+
CHSocialSecurityNumber = "CHSocialSecurityNumber",
|
1483
|
+
/** TWNationalID */
|
1484
|
+
TWNationalID = "TWNationalID",
|
1485
|
+
/** TWPassportNumber */
|
1486
|
+
TWPassportNumber = "TWPassportNumber",
|
1487
|
+
/** TWResidentCertificate */
|
1488
|
+
TWResidentCertificate = "TWResidentCertificate",
|
1489
|
+
/** THPopulationIdentificationCode */
|
1490
|
+
THPopulationIdentificationCode = "THPopulationIdentificationCode",
|
1491
|
+
/** TRNationalIdentificationNumber */
|
1492
|
+
TRNationalIdentificationNumber = "TRNationalIdentificationNumber",
|
1493
|
+
/** UKDriversLicenseNumber */
|
1494
|
+
UKDriversLicenseNumber = "UKDriversLicenseNumber",
|
1495
|
+
/** UKElectoralRollNumber */
|
1496
|
+
UKElectoralRollNumber = "UKElectoralRollNumber",
|
1497
|
+
/** UKNationalHealthNumber */
|
1498
|
+
UKNationalHealthNumber = "UKNationalHealthNumber",
|
1499
|
+
/** UKNationalInsuranceNumber */
|
1500
|
+
UKNationalInsuranceNumber = "UKNationalInsuranceNumber",
|
1501
|
+
/** UKUniqueTaxpayerNumber */
|
1502
|
+
UKUniqueTaxpayerNumber = "UKUniqueTaxpayerNumber",
|
1503
|
+
/** UsukPassportNumber */
|
1504
|
+
UsukPassportNumber = "USUKPassportNumber",
|
1505
|
+
/** USBankAccountNumber */
|
1506
|
+
USBankAccountNumber = "USBankAccountNumber",
|
1507
|
+
/** USDriversLicenseNumber */
|
1508
|
+
USDriversLicenseNumber = "USDriversLicenseNumber",
|
1509
|
+
/** USIndividualTaxpayerIdentification */
|
1510
|
+
USIndividualTaxpayerIdentification = "USIndividualTaxpayerIdentification",
|
1511
|
+
/** USSocialSecurityNumber */
|
1512
|
+
USSocialSecurityNumber = "USSocialSecurityNumber",
|
1513
|
+
/** UAPassportNumberDomestic */
|
1514
|
+
UAPassportNumberDomestic = "UAPassportNumberDomestic",
|
1515
|
+
/** UAPassportNumberInternational */
|
1516
|
+
UAPassportNumberInternational = "UAPassportNumberInternational",
|
1517
|
+
/** Organization */
|
1518
|
+
Organization = "Organization",
|
1519
|
+
/** Email */
|
1520
|
+
Email = "Email",
|
1521
|
+
/** URL */
|
1522
|
+
URL = "URL",
|
1523
|
+
/** Age */
|
1524
|
+
Age = "Age",
|
1525
|
+
/** PhoneNumber */
|
1526
|
+
PhoneNumber = "PhoneNumber",
|
1527
|
+
/** IPAddress */
|
1528
|
+
IPAddress = "IPAddress",
|
1529
|
+
/** Date */
|
1530
|
+
Date = "Date",
|
1531
|
+
/** Person */
|
1532
|
+
Person = "Person",
|
1533
|
+
/** Address */
|
1534
|
+
Address = "Address",
|
1535
|
+
/** All */
|
1536
|
+
All = "All",
|
1537
|
+
/** Default */
|
1538
|
+
Default = "Default"
|
1539
|
+
}
|
1540
|
+
/**
|
1541
|
+
* Defines values for PiiEntityCategory. \
|
1542
|
+
* {@link KnownPiiEntityCategory} can be used interchangeably with PiiEntityCategory,
|
1543
|
+
* this enum contains the known values that the service supports.
|
1544
|
+
* ### Known values supported by the service
|
1545
|
+
* **ABARoutingNumber** \
|
1546
|
+
* **ARNationalIdentityNumber** \
|
1547
|
+
* **AUBankAccountNumber** \
|
1548
|
+
* **AUDriversLicenseNumber** \
|
1549
|
+
* **AUMedicalAccountNumber** \
|
1550
|
+
* **AUPassportNumber** \
|
1551
|
+
* **AUTaxFileNumber** \
|
1552
|
+
* **AUBusinessNumber** \
|
1553
|
+
* **AUCompanyNumber** \
|
1554
|
+
* **ATIdentityCard** \
|
1555
|
+
* **ATTaxIdentificationNumber** \
|
1556
|
+
* **ATValueAddedTaxNumber** \
|
1557
|
+
* **AzureDocumentDBAuthKey** \
|
1558
|
+
* **AzureIAASDatabaseConnectionAndSQLString** \
|
1559
|
+
* **AzureIoTConnectionString** \
|
1560
|
+
* **AzurePublishSettingPassword** \
|
1561
|
+
* **AzureRedisCacheString** \
|
1562
|
+
* **AzureSAS** \
|
1563
|
+
* **AzureServiceBusString** \
|
1564
|
+
* **AzureStorageAccountKey** \
|
1565
|
+
* **AzureStorageAccountGeneric** \
|
1566
|
+
* **BENationalNumber** \
|
1567
|
+
* **BENationalNumberV2** \
|
1568
|
+
* **BEValueAddedTaxNumber** \
|
1569
|
+
* **BRCPFNumber** \
|
1570
|
+
* **BRLegalEntityNumber** \
|
1571
|
+
* **BRNationalIDRG** \
|
1572
|
+
* **BGUniformCivilNumber** \
|
1573
|
+
* **CABankAccountNumber** \
|
1574
|
+
* **CADriversLicenseNumber** \
|
1575
|
+
* **CAHealthServiceNumber** \
|
1576
|
+
* **CAPassportNumber** \
|
1577
|
+
* **CAPersonalHealthIdentification** \
|
1578
|
+
* **CASocialInsuranceNumber** \
|
1579
|
+
* **CLIdentityCardNumber** \
|
1580
|
+
* **CNResidentIdentityCardNumber** \
|
1581
|
+
* **CreditCardNumber** \
|
1582
|
+
* **HRIdentityCardNumber** \
|
1583
|
+
* **HRNationalIDNumber** \
|
1584
|
+
* **HRPersonalIdentificationNumber** \
|
1585
|
+
* **HRPersonalIdentificationOIBNumberV2** \
|
1586
|
+
* **CYIdentityCard** \
|
1587
|
+
* **CYTaxIdentificationNumber** \
|
1588
|
+
* **CZPersonalIdentityNumber** \
|
1589
|
+
* **CZPersonalIdentityV2** \
|
1590
|
+
* **DKPersonalIdentificationNumber** \
|
1591
|
+
* **DKPersonalIdentificationV2** \
|
1592
|
+
* **DrugEnforcementAgencyNumber** \
|
1593
|
+
* **EEPersonalIdentificationCode** \
|
1594
|
+
* **EUDebitCardNumber** \
|
1595
|
+
* **EUDriversLicenseNumber** \
|
1596
|
+
* **EUGPSCoordinates** \
|
1597
|
+
* **EUNationalIdentificationNumber** \
|
1598
|
+
* **EUPassportNumber** \
|
1599
|
+
* **EUSocialSecurityNumber** \
|
1600
|
+
* **EUTaxIdentificationNumber** \
|
1601
|
+
* **FIEuropeanHealthNumber** \
|
1602
|
+
* **FINationalID** \
|
1603
|
+
* **FINationalIDV2** \
|
1604
|
+
* **FIPassportNumber** \
|
1605
|
+
* **FRDriversLicenseNumber** \
|
1606
|
+
* **FRHealthInsuranceNumber** \
|
1607
|
+
* **FRNationalID** \
|
1608
|
+
* **FRPassportNumber** \
|
1609
|
+
* **FRSocialSecurityNumber** \
|
1610
|
+
* **FRTaxIdentificationNumber** \
|
1611
|
+
* **FRValueAddedTaxNumber** \
|
1612
|
+
* **DEDriversLicenseNumber** \
|
1613
|
+
* **DEPassportNumber** \
|
1614
|
+
* **DEIdentityCardNumber** \
|
1615
|
+
* **DETaxIdentificationNumber** \
|
1616
|
+
* **DEValueAddedNumber** \
|
1617
|
+
* **GRNationalIDCard** \
|
1618
|
+
* **GRNationalIDV2** \
|
1619
|
+
* **GRTaxIdentificationNumber** \
|
1620
|
+
* **HKIdentityCardNumber** \
|
1621
|
+
* **HUValueAddedNumber** \
|
1622
|
+
* **HUPersonalIdentificationNumber** \
|
1623
|
+
* **HUTaxIdentificationNumber** \
|
1624
|
+
* **INPermanentAccount** \
|
1625
|
+
* **INUniqueIdentificationNumber** \
|
1626
|
+
* **IDIdentityCardNumber** \
|
1627
|
+
* **InternationalBankingAccountNumber** \
|
1628
|
+
* **IEPersonalPublicServiceNumber** \
|
1629
|
+
* **IEPersonalPublicServiceNumberV2** \
|
1630
|
+
* **ILBankAccountNumber** \
|
1631
|
+
* **ILNationalID** \
|
1632
|
+
* **ITDriversLicenseNumber** \
|
1633
|
+
* **ITFiscalCode** \
|
1634
|
+
* **ITValueAddedTaxNumber** \
|
1635
|
+
* **JPBankAccountNumber** \
|
1636
|
+
* **JPDriversLicenseNumber** \
|
1637
|
+
* **JPPassportNumber** \
|
1638
|
+
* **JPResidentRegistrationNumber** \
|
1639
|
+
* **JPSocialInsuranceNumber** \
|
1640
|
+
* **JPMyNumberCorporate** \
|
1641
|
+
* **JPMyNumberPersonal** \
|
1642
|
+
* **JPResidenceCardNumber** \
|
1643
|
+
* **LVPersonalCode** \
|
1644
|
+
* **LTPersonalCode** \
|
1645
|
+
* **LUNationalIdentificationNumberNatural** \
|
1646
|
+
* **LUNationalIdentificationNumberNonNatural** \
|
1647
|
+
* **MYIdentityCardNumber** \
|
1648
|
+
* **MTIdentityCardNumber** \
|
1649
|
+
* **MTTaxIDNumber** \
|
1650
|
+
* **NLCitizensServiceNumber** \
|
1651
|
+
* **NLCitizensServiceNumberV2** \
|
1652
|
+
* **NLTaxIdentificationNumber** \
|
1653
|
+
* **NLValueAddedTaxNumber** \
|
1654
|
+
* **NZBankAccountNumber** \
|
1655
|
+
* **NZDriversLicenseNumber** \
|
1656
|
+
* **NZInlandRevenueNumber** \
|
1657
|
+
* **NZMinistryOfHealthNumber** \
|
1658
|
+
* **NZSocialWelfareNumber** \
|
1659
|
+
* **NOIdentityNumber** \
|
1660
|
+
* **PHUnifiedMultiPurposeIDNumber** \
|
1661
|
+
* **PLIdentityCard** \
|
1662
|
+
* **PLNationalID** \
|
1663
|
+
* **PLNationalIDV2** \
|
1664
|
+
* **PLPassportNumber** \
|
1665
|
+
* **PLTaxIdentificationNumber** \
|
1666
|
+
* **PLREGONNumber** \
|
1667
|
+
* **PTCitizenCardNumber** \
|
1668
|
+
* **PTCitizenCardNumberV2** \
|
1669
|
+
* **PTTaxIdentificationNumber** \
|
1670
|
+
* **ROPersonalNumericalCode** \
|
1671
|
+
* **RUPassportNumberDomestic** \
|
1672
|
+
* **RUPassportNumberInternational** \
|
1673
|
+
* **SANationalID** \
|
1674
|
+
* **SGNationalRegistrationIdentityCardNumber** \
|
1675
|
+
* **SKPersonalNumber** \
|
1676
|
+
* **SITaxIdentificationNumber** \
|
1677
|
+
* **SIUniqueMasterCitizenNumber** \
|
1678
|
+
* **ZAIdentificationNumber** \
|
1679
|
+
* **KRResidentRegistrationNumber** \
|
1680
|
+
* **ESDNI** \
|
1681
|
+
* **ESSocialSecurityNumber** \
|
1682
|
+
* **ESTaxIdentificationNumber** \
|
1683
|
+
* **SQLServerConnectionString** \
|
1684
|
+
* **SENationalID** \
|
1685
|
+
* **SENationalIDV2** \
|
1686
|
+
* **SEPassportNumber** \
|
1687
|
+
* **SETaxIdentificationNumber** \
|
1688
|
+
* **SWIFTCode** \
|
1689
|
+
* **CHSocialSecurityNumber** \
|
1690
|
+
* **TWNationalID** \
|
1691
|
+
* **TWPassportNumber** \
|
1692
|
+
* **TWResidentCertificate** \
|
1693
|
+
* **THPopulationIdentificationCode** \
|
1694
|
+
* **TRNationalIdentificationNumber** \
|
1695
|
+
* **UKDriversLicenseNumber** \
|
1696
|
+
* **UKElectoralRollNumber** \
|
1697
|
+
* **UKNationalHealthNumber** \
|
1698
|
+
* **UKNationalInsuranceNumber** \
|
1699
|
+
* **UKUniqueTaxpayerNumber** \
|
1700
|
+
* **USUKPassportNumber** \
|
1701
|
+
* **USBankAccountNumber** \
|
1702
|
+
* **USDriversLicenseNumber** \
|
1703
|
+
* **USIndividualTaxpayerIdentification** \
|
1704
|
+
* **USSocialSecurityNumber** \
|
1705
|
+
* **UAPassportNumberDomestic** \
|
1706
|
+
* **UAPassportNumberInternational** \
|
1707
|
+
* **Organization** \
|
1708
|
+
* **Email** \
|
1709
|
+
* **URL** \
|
1710
|
+
* **Age** \
|
1711
|
+
* **PhoneNumber** \
|
1712
|
+
* **IPAddress** \
|
1713
|
+
* **Date** \
|
1714
|
+
* **Person** \
|
1715
|
+
* **Address** \
|
1716
|
+
* **All** \
|
1717
|
+
* **Default**
|
1718
|
+
*/
|
1719
|
+
export type PiiEntityCategory = string;
|
1720
|
+
/** Known values of {@link WarningCode} that the service accepts. */
|
1721
|
+
export declare enum KnownWarningCode {
|
1722
|
+
/** LongWordsInDocument */
|
1723
|
+
LongWordsInDocument = "LongWordsInDocument",
|
1724
|
+
/** DocumentTruncated */
|
1725
|
+
DocumentTruncated = "DocumentTruncated"
|
1726
|
+
}
|
1727
|
+
/**
|
1728
|
+
* Defines values for WarningCode. \
|
1729
|
+
* {@link KnownWarningCode} can be used interchangeably with WarningCode,
|
1730
|
+
* this enum contains the known values that the service supports.
|
1731
|
+
* ### Known values supported by the service
|
1732
|
+
* **LongWordsInDocument** \
|
1733
|
+
* **DocumentTruncated**
|
1734
|
+
*/
|
1735
|
+
export type WarningCode = string;
|
1736
|
+
/** Known values of {@link HealthcareEntityCategory} that the service accepts. */
|
1737
|
+
export declare enum KnownHealthcareEntityCategory {
|
1738
|
+
/** BodyStructure */
|
1739
|
+
BodyStructure = "BodyStructure",
|
1740
|
+
/** Age */
|
1741
|
+
Age = "Age",
|
1742
|
+
/** Gender */
|
1743
|
+
Gender = "Gender",
|
1744
|
+
/** Ethnicity */
|
1745
|
+
Ethnicity = "Ethnicity",
|
1746
|
+
/** ExaminationName */
|
1747
|
+
ExaminationName = "ExaminationName",
|
1748
|
+
/** Date */
|
1749
|
+
Date = "Date",
|
1750
|
+
/** Direction */
|
1751
|
+
Direction = "Direction",
|
1752
|
+
/** Frequency */
|
1753
|
+
Frequency = "Frequency",
|
1754
|
+
/** MeasurementValue */
|
1755
|
+
MeasurementValue = "MeasurementValue",
|
1756
|
+
/** MeasurementUnit */
|
1757
|
+
MeasurementUnit = "MeasurementUnit",
|
1758
|
+
/** RelationalOperator */
|
1759
|
+
RelationalOperator = "RelationalOperator",
|
1760
|
+
/** Time */
|
1761
|
+
Time = "Time",
|
1762
|
+
/** Course */
|
1763
|
+
Course = "Course",
|
1764
|
+
/** GeneOrProtein */
|
1765
|
+
GeneOrProtein = "GeneOrProtein",
|
1766
|
+
/** Variant */
|
1767
|
+
Variant = "Variant",
|
1768
|
+
/** Expression */
|
1769
|
+
Expression = "Expression",
|
1770
|
+
/** MutationType */
|
1771
|
+
MutationType = "MutationType",
|
1772
|
+
/** AdministrativeEvent */
|
1773
|
+
AdministrativeEvent = "AdministrativeEvent",
|
1774
|
+
/** CareEnvironment */
|
1775
|
+
CareEnvironment = "CareEnvironment",
|
1776
|
+
/** HealthcareProfession */
|
1777
|
+
HealthcareProfession = "HealthcareProfession",
|
1778
|
+
/** Diagnosis */
|
1779
|
+
Diagnosis = "Diagnosis",
|
1780
|
+
/** SymptomOrSign */
|
1781
|
+
SymptomOrSign = "SymptomOrSign",
|
1782
|
+
/** ConditionQualifier */
|
1783
|
+
ConditionQualifier = "ConditionQualifier",
|
1784
|
+
/** ConditionScale */
|
1785
|
+
ConditionScale = "ConditionScale",
|
1786
|
+
/** MedicationClass */
|
1787
|
+
MedicationClass = "MedicationClass",
|
1788
|
+
/** MedicationName */
|
1789
|
+
MedicationName = "MedicationName",
|
1790
|
+
/** Dosage */
|
1791
|
+
Dosage = "Dosage",
|
1792
|
+
/** MedicationForm */
|
1793
|
+
MedicationForm = "MedicationForm",
|
1794
|
+
/** MedicationRoute */
|
1795
|
+
MedicationRoute = "MedicationRoute",
|
1796
|
+
/** FamilyRelation */
|
1797
|
+
FamilyRelation = "FamilyRelation",
|
1798
|
+
/** TreatmentName */
|
1799
|
+
TreatmentName = "TreatmentName",
|
1800
|
+
/** Allergen */
|
1801
|
+
Allergen = "Allergen",
|
1802
|
+
/** Employment */
|
1803
|
+
Employment = "Employment",
|
1804
|
+
/** LivingStatus */
|
1805
|
+
LivingStatus = "LivingStatus",
|
1806
|
+
/** SubstanceUse */
|
1807
|
+
SubstanceUse = "SubstanceUse",
|
1808
|
+
/** SubstanceUseAmount */
|
1809
|
+
SubstanceUseAmount = "SubstanceUseAmount"
|
1810
|
+
}
|
1811
|
+
/**
|
1812
|
+
* Defines values for HealthcareEntityCategory. \
|
1813
|
+
* {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,
|
1814
|
+
* this enum contains the known values that the service supports.
|
1815
|
+
* ### Known values supported by the service
|
1816
|
+
* **BodyStructure** \
|
1817
|
+
* **Age** \
|
1818
|
+
* **Gender** \
|
1819
|
+
* **Ethnicity** \
|
1820
|
+
* **ExaminationName** \
|
1821
|
+
* **Date** \
|
1822
|
+
* **Direction** \
|
1823
|
+
* **Frequency** \
|
1824
|
+
* **MeasurementValue** \
|
1825
|
+
* **MeasurementUnit** \
|
1826
|
+
* **RelationalOperator** \
|
1827
|
+
* **Time** \
|
1828
|
+
* **Course** \
|
1829
|
+
* **GeneOrProtein** \
|
1830
|
+
* **Variant** \
|
1831
|
+
* **Expression** \
|
1832
|
+
* **MutationType** \
|
1833
|
+
* **AdministrativeEvent** \
|
1834
|
+
* **CareEnvironment** \
|
1835
|
+
* **HealthcareProfession** \
|
1836
|
+
* **Diagnosis** \
|
1837
|
+
* **SymptomOrSign** \
|
1838
|
+
* **ConditionQualifier** \
|
1839
|
+
* **ConditionScale** \
|
1840
|
+
* **MedicationClass** \
|
1841
|
+
* **MedicationName** \
|
1842
|
+
* **Dosage** \
|
1843
|
+
* **MedicationForm** \
|
1844
|
+
* **MedicationRoute** \
|
1845
|
+
* **FamilyRelation** \
|
1846
|
+
* **TreatmentName** \
|
1847
|
+
* **Allergen** \
|
1848
|
+
* **Employment** \
|
1849
|
+
* **LivingStatus** \
|
1850
|
+
* **SubstanceUse** \
|
1851
|
+
* **SubstanceUseAmount**
|
1852
|
+
*/
|
1853
|
+
export type HealthcareEntityCategory = string;
|
1854
|
+
/** Known values of {@link RelationType} that the service accepts. */
|
1855
|
+
export declare enum KnownRelationType {
|
1856
|
+
/** Abbreviation */
|
1857
|
+
Abbreviation = "Abbreviation",
|
1858
|
+
/** BodySiteOfCondition */
|
1859
|
+
BodySiteOfCondition = "BodySiteOfCondition",
|
1860
|
+
/** BodySiteOfTreatment */
|
1861
|
+
BodySiteOfTreatment = "BodySiteOfTreatment",
|
1862
|
+
/** CourseOfCondition */
|
1863
|
+
CourseOfCondition = "CourseOfCondition",
|
1864
|
+
/** CourseOfExamination */
|
1865
|
+
CourseOfExamination = "CourseOfExamination",
|
1866
|
+
/** CourseOfMedication */
|
1867
|
+
CourseOfMedication = "CourseOfMedication",
|
1868
|
+
/** CourseOfTreatment */
|
1869
|
+
CourseOfTreatment = "CourseOfTreatment",
|
1870
|
+
/** DirectionOfBodyStructure */
|
1871
|
+
DirectionOfBodyStructure = "DirectionOfBodyStructure",
|
1872
|
+
/** DirectionOfCondition */
|
1873
|
+
DirectionOfCondition = "DirectionOfCondition",
|
1874
|
+
/** DirectionOfExamination */
|
1875
|
+
DirectionOfExamination = "DirectionOfExamination",
|
1876
|
+
/** DirectionOfTreatment */
|
1877
|
+
DirectionOfTreatment = "DirectionOfTreatment",
|
1878
|
+
/** DosageOfMedication */
|
1879
|
+
DosageOfMedication = "DosageOfMedication",
|
1880
|
+
/** ExaminationFindsCondition */
|
1881
|
+
ExaminationFindsCondition = "ExaminationFindsCondition",
|
1882
|
+
/** ExpressionOfGene */
|
1883
|
+
ExpressionOfGene = "ExpressionOfGene",
|
1884
|
+
/** ExpressionOfVariant */
|
1885
|
+
ExpressionOfVariant = "ExpressionOfVariant",
|
1886
|
+
/** FormOfMedication */
|
1887
|
+
FormOfMedication = "FormOfMedication",
|
1888
|
+
/** FrequencyOfCondition */
|
1889
|
+
FrequencyOfCondition = "FrequencyOfCondition",
|
1890
|
+
/** FrequencyOfMedication */
|
1891
|
+
FrequencyOfMedication = "FrequencyOfMedication",
|
1892
|
+
/** FrequencyOfTreatment */
|
1893
|
+
FrequencyOfTreatment = "FrequencyOfTreatment",
|
1894
|
+
/** MutationTypeOfGene */
|
1895
|
+
MutationTypeOfGene = "MutationTypeOfGene",
|
1896
|
+
/** MutationTypeOfVariant */
|
1897
|
+
MutationTypeOfVariant = "MutationTypeOfVariant",
|
1898
|
+
/** QualifierOfCondition */
|
1899
|
+
QualifierOfCondition = "QualifierOfCondition",
|
1900
|
+
/** RelationOfExamination */
|
1901
|
+
RelationOfExamination = "RelationOfExamination",
|
1902
|
+
/** RouteOfMedication */
|
1903
|
+
RouteOfMedication = "RouteOfMedication",
|
1904
|
+
/** ScaleOfCondition */
|
1905
|
+
ScaleOfCondition = "ScaleOfCondition",
|
1906
|
+
/** TimeOfCondition */
|
1907
|
+
TimeOfCondition = "TimeOfCondition",
|
1908
|
+
/** TimeOfEvent */
|
1909
|
+
TimeOfEvent = "TimeOfEvent",
|
1910
|
+
/** TimeOfExamination */
|
1911
|
+
TimeOfExamination = "TimeOfExamination",
|
1912
|
+
/** TimeOfMedication */
|
1913
|
+
TimeOfMedication = "TimeOfMedication",
|
1914
|
+
/** TimeOfTreatment */
|
1915
|
+
TimeOfTreatment = "TimeOfTreatment",
|
1916
|
+
/** UnitOfCondition */
|
1917
|
+
UnitOfCondition = "UnitOfCondition",
|
1918
|
+
/** UnitOfExamination */
|
1919
|
+
UnitOfExamination = "UnitOfExamination",
|
1920
|
+
/** ValueOfCondition */
|
1921
|
+
ValueOfCondition = "ValueOfCondition",
|
1922
|
+
/** ValueOfExamination */
|
1923
|
+
ValueOfExamination = "ValueOfExamination",
|
1924
|
+
/** VariantOfGene */
|
1925
|
+
VariantOfGene = "VariantOfGene"
|
1926
|
+
}
|
1927
|
+
/**
|
1928
|
+
* Defines values for RelationType. \
|
1929
|
+
* {@link KnownRelationType} can be used interchangeably with RelationType,
|
1930
|
+
* this enum contains the known values that the service supports.
|
1931
|
+
* ### Known values supported by the service
|
1932
|
+
* **Abbreviation** \
|
1933
|
+
* **BodySiteOfCondition** \
|
1934
|
+
* **BodySiteOfTreatment** \
|
1935
|
+
* **CourseOfCondition** \
|
1936
|
+
* **CourseOfExamination** \
|
1937
|
+
* **CourseOfMedication** \
|
1938
|
+
* **CourseOfTreatment** \
|
1939
|
+
* **DirectionOfBodyStructure** \
|
1940
|
+
* **DirectionOfCondition** \
|
1941
|
+
* **DirectionOfExamination** \
|
1942
|
+
* **DirectionOfTreatment** \
|
1943
|
+
* **DosageOfMedication** \
|
1944
|
+
* **ExaminationFindsCondition** \
|
1945
|
+
* **ExpressionOfGene** \
|
1946
|
+
* **ExpressionOfVariant** \
|
1947
|
+
* **FormOfMedication** \
|
1948
|
+
* **FrequencyOfCondition** \
|
1949
|
+
* **FrequencyOfMedication** \
|
1950
|
+
* **FrequencyOfTreatment** \
|
1951
|
+
* **MutationTypeOfGene** \
|
1952
|
+
* **MutationTypeOfVariant** \
|
1953
|
+
* **QualifierOfCondition** \
|
1954
|
+
* **RelationOfExamination** \
|
1955
|
+
* **RouteOfMedication** \
|
1956
|
+
* **ScaleOfCondition** \
|
1957
|
+
* **TimeOfCondition** \
|
1958
|
+
* **TimeOfEvent** \
|
1959
|
+
* **TimeOfExamination** \
|
1960
|
+
* **TimeOfMedication** \
|
1961
|
+
* **TimeOfTreatment** \
|
1962
|
+
* **UnitOfCondition** \
|
1963
|
+
* **UnitOfExamination** \
|
1964
|
+
* **ValueOfCondition** \
|
1965
|
+
* **ValueOfExamination** \
|
1966
|
+
* **VariantOfGene**
|
1967
|
+
*/
|
1968
|
+
export type RelationType = string;
|
1969
|
+
/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */
|
1970
|
+
export declare enum KnownExtractiveSummarizationOrderingCriteria {
|
1971
|
+
/** Indicates that results should be sorted in order of appearance in the text. */
|
1972
|
+
Offset = "Offset",
|
1973
|
+
/** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */
|
1974
|
+
Rank = "Rank"
|
1975
|
+
}
|
1976
|
+
/**
|
1977
|
+
* Defines values for ExtractiveSummarizationOrderingCriteria. \
|
1978
|
+
* {@link KnownExtractiveSummarizationOrderingCriteria} can be used interchangeably with ExtractiveSummarizationOrderingCriteria,
|
1979
|
+
* this enum contains the known values that the service supports.
|
1980
|
+
* ### Known values supported by the service
|
1981
|
+
* **Offset**: Indicates that results should be sorted in order of appearance in the text. \
|
1982
|
+
* **Rank**: Indicates that results should be sorted in order of importance (i.e. rank score) according to the model.
|
1983
|
+
*/
|
1984
|
+
export type ExtractiveSummarizationOrderingCriteria = string;
|
1985
|
+
/** Defines values for EntityConditionality. */
|
1986
|
+
export type EntityConditionality = "hypothetical" | "conditional";
|
1987
|
+
/** Defines values for EntityCertainty. */
|
1988
|
+
export type EntityCertainty = "positive" | "positivePossible" | "neutralPossible" | "negativePossible" | "negative";
|
1989
|
+
/** Defines values for EntityAssociation. */
|
1990
|
+
export type EntityAssociation = "subject" | "other";
|
1991
|
+
/** Defines values for DocumentSentimentLabel. */
|
1992
|
+
export type DocumentSentimentLabel = "positive" | "neutral" | "negative" | "mixed";
|
1993
|
+
/** Defines values for SentenceSentimentLabel. */
|
1994
|
+
export type SentenceSentimentLabel = "positive" | "neutral" | "negative";
|
1995
|
+
/** Defines values for TokenSentimentLabel. */
|
1996
|
+
export type TokenSentimentLabel = "positive" | "mixed" | "negative";
|
1997
|
+
/** Defines values for TargetRelationType. */
|
1998
|
+
export type TargetRelationType = "assessment" | "target";
|
1999
|
+
/** Optional parameters. */
|
2000
|
+
export interface AnalyzeOptionalParams extends coreClient.OperationOptions {
|
2001
|
+
/** (Optional) if set to true, response will contain request and document level statistics. */
|
2002
|
+
includeStatistics?: boolean;
|
2003
|
+
}
|
2004
|
+
/** Contains response data for the analyze operation. */
|
2005
|
+
export type AnalyzeResponse = AnalyzeTextTaskResultUnion;
|
2006
|
+
/** Optional parameters. */
|
2007
|
+
export interface AnalyzeBatchOptionalParams extends coreClient.OperationOptions {
|
2008
|
+
}
|
2009
|
+
/** Contains response data for the analyzeBatch operation. */
|
2010
|
+
export type AnalyzeBatchResponse = GeneratedClientAnalyzeBatchHeaders;
|
2011
|
+
/** Optional parameters. */
|
2012
|
+
export interface AnalyzeTextJobStatusOptionalParams extends coreClient.OperationOptions {
|
2013
|
+
/** (Optional) if set to true, response will contain request and document level statistics. */
|
2014
|
+
includeStatistics?: boolean;
|
2015
|
+
/** The maximum number of resources to return from the collection. */
|
2016
|
+
top?: number;
|
2017
|
+
/** An offset into the collection of the first resource to be returned. */
|
2018
|
+
skip?: number;
|
2019
|
+
}
|
2020
|
+
/** Contains response data for the jobStatus operation. */
|
2021
|
+
export type AnalyzeTextJobStatusResponse = AnalyzeTextJobState;
|
2022
|
+
/** Optional parameters. */
|
2023
|
+
export interface AnalyzeTextCancelJobOptionalParams extends coreClient.OperationOptions {
|
2024
|
+
}
|
2025
|
+
/** Contains response data for the cancelJob operation. */
|
2026
|
+
export type AnalyzeTextCancelJobResponse = AnalyzeTextCancelJobHeaders;
|
2027
|
+
/** Optional parameters. */
|
2028
|
+
export interface GeneratedClientOptionalParams extends coreClient.ServiceClientOptions {
|
2029
|
+
/** Api Version */
|
2030
|
+
apiVersion?: string;
|
2031
|
+
/** Overrides client endpoint. */
|
2032
|
+
endpoint?: string;
|
2033
|
+
}
|
2034
|
+
//# sourceMappingURL=index.d.ts.map
|