@azure/ai-text-analytics 5.2.0-beta.1 → 6.0.0-alpha.20220517.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +376 -132
- package/dist/index.js +2803 -3497
- package/dist/index.js.map +1 -1
- package/dist-esm/src/azureKeyCredentialPolicy.js +2 -2
- package/dist-esm/src/azureKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/constants.js +16 -0
- package/dist-esm/src/constants.js.map +1 -0
- package/dist-esm/src/generated/generatedClient.js +80 -334
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/index.js +1 -1
- package/dist-esm/src/generated/index.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +106 -35
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +1607 -1464
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +18 -104
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/operations/analyzeText.js +105 -0
- package/dist-esm/src/generated/operations/analyzeText.js.map +1 -0
- package/dist-esm/src/generated/operations/index.js +9 -0
- package/dist-esm/src/generated/operations/index.js.map +1 -0
- package/dist-esm/src/generated/operationsInterfaces/analyzeText.js +9 -0
- package/dist-esm/src/generated/operationsInterfaces/analyzeText.js.map +1 -0
- package/dist-esm/src/generated/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/generated/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/index.js +14 -5
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lro.js +195 -0
- package/dist-esm/src/lro.js.map +1 -0
- package/dist-esm/src/models.js +42 -0
- package/dist-esm/src/models.js.map +1 -0
- package/dist-esm/src/textAnalysisClient.js +197 -0
- package/dist-esm/src/textAnalysisClient.js.map +1 -0
- package/dist-esm/src/transforms.js +279 -0
- package/dist-esm/src/transforms.js.map +1 -0
- package/dist-esm/src/util.js +36 -158
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +28 -38
- package/types/ai-text-analytics.d.ts +1432 -1143
- package/CHANGELOG.md +0 -143
- package/LICENSE +0 -21
- package/dist-esm/src/analyzeActionsResult.js +0 -167
- package/dist-esm/src/analyzeActionsResult.js.map +0 -1
- package/dist-esm/src/analyzeHealthcareEntitiesResult.js +0 -53
- package/dist-esm/src/analyzeHealthcareEntitiesResult.js.map +0 -1
- package/dist-esm/src/analyzeLro.js +0 -130
- package/dist-esm/src/analyzeLro.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResult.js +0 -74
- package/dist-esm/src/analyzeSentimentResult.js.map +0 -1
- package/dist-esm/src/analyzeSentimentResultArray.js +0 -11
- package/dist-esm/src/analyzeSentimentResultArray.js.map +0 -1
- package/dist-esm/src/detectLanguageResult.js +0 -17
- package/dist-esm/src/detectLanguageResult.js.map +0 -1
- package/dist-esm/src/detectLanguageResultArray.js +0 -11
- package/dist-esm/src/detectLanguageResultArray.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResult.js +0 -17
- package/dist-esm/src/extractKeyPhrasesResult.js.map +0 -1
- package/dist-esm/src/extractKeyPhrasesResultArray.js +0 -11
- package/dist-esm/src/extractKeyPhrasesResultArray.js.map +0 -1
- package/dist-esm/src/extractSummaryResult.js +0 -17
- package/dist-esm/src/extractSummaryResult.js.map +0 -1
- package/dist-esm/src/extractSummaryResultArray.js +0 -11
- package/dist-esm/src/extractSummaryResultArray.js.map +0 -1
- package/dist-esm/src/generated/generatedClientContext.js +0 -42
- package/dist-esm/src/generated/generatedClientContext.js.map +0 -1
- package/dist-esm/src/healthLro.js +0 -131
- package/dist-esm/src/healthLro.js.map +0 -1
- package/dist-esm/src/paging.js +0 -83
- package/dist-esm/src/paging.js.map +0 -1
- package/dist-esm/src/pollerModels.js +0 -4
- package/dist-esm/src/pollerModels.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResult.js +0 -17
- package/dist-esm/src/recognizeCategorizedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js +0 -11
- package/dist-esm/src/recognizeCategorizedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResult.js +0 -17
- package/dist-esm/src/recognizeLinkedEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizeLinkedEntitiesResultArray.js +0 -11
- package/dist-esm/src/recognizeLinkedEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResult.js +0 -18
- package/dist-esm/src/recognizePiiEntitiesResult.js.map +0 -1
- package/dist-esm/src/recognizePiiEntitiesResultArray.js +0 -11
- package/dist-esm/src/recognizePiiEntitiesResultArray.js.map +0 -1
- package/dist-esm/src/textAnalyticsAction.js +0 -4
- package/dist-esm/src/textAnalyticsAction.js.map +0 -1
- package/dist-esm/src/textAnalyticsClient.js +0 -523
- package/dist-esm/src/textAnalyticsClient.js.map +0 -1
- package/dist-esm/src/textAnalyticsOperationOptions.js +0 -4
- package/dist-esm/src/textAnalyticsOperationOptions.js.map +0 -1
- package/dist-esm/src/textAnalyticsResult.js +0 -78
- package/dist-esm/src/textAnalyticsResult.js.map +0 -1
- package/dist-esm/src/tracing.js +0 -12
- package/dist-esm/src/tracing.js.map +0 -1
- package/dist-esm/src/utils/url.browser.js +0 -6
- package/dist-esm/src/utils/url.browser.js.map +0 -1
- package/dist-esm/src/utils/url.js +0 -4
- package/dist-esm/src/utils/url.js.map +0 -1
|
@@ -5,22 +5,108 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
+
/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */
|
|
9
|
+
export var KnownAnalyzeTextTaskKind;
|
|
10
|
+
(function (KnownAnalyzeTextTaskKind) {
|
|
11
|
+
KnownAnalyzeTextTaskKind["SentimentAnalysis"] = "SentimentAnalysis";
|
|
12
|
+
KnownAnalyzeTextTaskKind["EntityRecognition"] = "EntityRecognition";
|
|
13
|
+
KnownAnalyzeTextTaskKind["PiiEntityRecognition"] = "PiiEntityRecognition";
|
|
14
|
+
KnownAnalyzeTextTaskKind["KeyPhraseExtraction"] = "KeyPhraseExtraction";
|
|
15
|
+
KnownAnalyzeTextTaskKind["LanguageDetection"] = "LanguageDetection";
|
|
16
|
+
KnownAnalyzeTextTaskKind["EntityLinking"] = "EntityLinking";
|
|
17
|
+
})(KnownAnalyzeTextTaskKind || (KnownAnalyzeTextTaskKind = {}));
|
|
18
|
+
/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */
|
|
19
|
+
export var KnownAnalyzeTextTaskResultsKind;
|
|
20
|
+
(function (KnownAnalyzeTextTaskResultsKind) {
|
|
21
|
+
KnownAnalyzeTextTaskResultsKind["SentimentAnalysisResults"] = "SentimentAnalysisResults";
|
|
22
|
+
KnownAnalyzeTextTaskResultsKind["EntityRecognitionResults"] = "EntityRecognitionResults";
|
|
23
|
+
KnownAnalyzeTextTaskResultsKind["PiiEntityRecognitionResults"] = "PiiEntityRecognitionResults";
|
|
24
|
+
KnownAnalyzeTextTaskResultsKind["KeyPhraseExtractionResults"] = "KeyPhraseExtractionResults";
|
|
25
|
+
KnownAnalyzeTextTaskResultsKind["LanguageDetectionResults"] = "LanguageDetectionResults";
|
|
26
|
+
KnownAnalyzeTextTaskResultsKind["EntityLinkingResults"] = "EntityLinkingResults";
|
|
27
|
+
})(KnownAnalyzeTextTaskResultsKind || (KnownAnalyzeTextTaskResultsKind = {}));
|
|
28
|
+
/** Known values of {@link ErrorCode} that the service accepts. */
|
|
29
|
+
export var KnownErrorCode;
|
|
30
|
+
(function (KnownErrorCode) {
|
|
31
|
+
KnownErrorCode["InvalidRequest"] = "InvalidRequest";
|
|
32
|
+
KnownErrorCode["InvalidArgument"] = "InvalidArgument";
|
|
33
|
+
KnownErrorCode["Unauthorized"] = "Unauthorized";
|
|
34
|
+
KnownErrorCode["Forbidden"] = "Forbidden";
|
|
35
|
+
KnownErrorCode["NotFound"] = "NotFound";
|
|
36
|
+
KnownErrorCode["ProjectNotFound"] = "ProjectNotFound";
|
|
37
|
+
KnownErrorCode["OperationNotFound"] = "OperationNotFound";
|
|
38
|
+
KnownErrorCode["AzureCognitiveSearchNotFound"] = "AzureCognitiveSearchNotFound";
|
|
39
|
+
KnownErrorCode["AzureCognitiveSearchIndexNotFound"] = "AzureCognitiveSearchIndexNotFound";
|
|
40
|
+
KnownErrorCode["TooManyRequests"] = "TooManyRequests";
|
|
41
|
+
KnownErrorCode["AzureCognitiveSearchThrottling"] = "AzureCognitiveSearchThrottling";
|
|
42
|
+
KnownErrorCode["AzureCognitiveSearchIndexLimitReached"] = "AzureCognitiveSearchIndexLimitReached";
|
|
43
|
+
KnownErrorCode["InternalServerError"] = "InternalServerError";
|
|
44
|
+
KnownErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
|
|
45
|
+
})(KnownErrorCode || (KnownErrorCode = {}));
|
|
46
|
+
/** Known values of {@link InnerErrorCode} that the service accepts. */
|
|
47
|
+
export var KnownInnerErrorCode;
|
|
48
|
+
(function (KnownInnerErrorCode) {
|
|
49
|
+
KnownInnerErrorCode["InvalidRequest"] = "InvalidRequest";
|
|
50
|
+
KnownInnerErrorCode["InvalidParameterValue"] = "InvalidParameterValue";
|
|
51
|
+
KnownInnerErrorCode["KnowledgeBaseNotFound"] = "KnowledgeBaseNotFound";
|
|
52
|
+
KnownInnerErrorCode["AzureCognitiveSearchNotFound"] = "AzureCognitiveSearchNotFound";
|
|
53
|
+
KnownInnerErrorCode["AzureCognitiveSearchThrottling"] = "AzureCognitiveSearchThrottling";
|
|
54
|
+
KnownInnerErrorCode["ExtractionFailure"] = "ExtractionFailure";
|
|
55
|
+
KnownInnerErrorCode["InvalidRequestBodyFormat"] = "InvalidRequestBodyFormat";
|
|
56
|
+
KnownInnerErrorCode["EmptyRequest"] = "EmptyRequest";
|
|
57
|
+
KnownInnerErrorCode["MissingInputDocuments"] = "MissingInputDocuments";
|
|
58
|
+
KnownInnerErrorCode["InvalidDocument"] = "InvalidDocument";
|
|
59
|
+
KnownInnerErrorCode["ModelVersionIncorrect"] = "ModelVersionIncorrect";
|
|
60
|
+
KnownInnerErrorCode["InvalidDocumentBatch"] = "InvalidDocumentBatch";
|
|
61
|
+
KnownInnerErrorCode["UnsupportedLanguageCode"] = "UnsupportedLanguageCode";
|
|
62
|
+
KnownInnerErrorCode["InvalidCountryHint"] = "InvalidCountryHint";
|
|
63
|
+
})(KnownInnerErrorCode || (KnownInnerErrorCode = {}));
|
|
64
|
+
/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */
|
|
65
|
+
export var KnownAnalyzeTextLROTaskKind;
|
|
66
|
+
(function (KnownAnalyzeTextLROTaskKind) {
|
|
67
|
+
KnownAnalyzeTextLROTaskKind["SentimentAnalysis"] = "SentimentAnalysis";
|
|
68
|
+
KnownAnalyzeTextLROTaskKind["EntityRecognition"] = "EntityRecognition";
|
|
69
|
+
KnownAnalyzeTextLROTaskKind["PiiEntityRecognition"] = "PiiEntityRecognition";
|
|
70
|
+
KnownAnalyzeTextLROTaskKind["KeyPhraseExtraction"] = "KeyPhraseExtraction";
|
|
71
|
+
KnownAnalyzeTextLROTaskKind["EntityLinking"] = "EntityLinking";
|
|
72
|
+
KnownAnalyzeTextLROTaskKind["Healthcare"] = "Healthcare";
|
|
73
|
+
KnownAnalyzeTextLROTaskKind["ExtractiveSummarization"] = "ExtractiveSummarization";
|
|
74
|
+
KnownAnalyzeTextLROTaskKind["CustomEntityRecognition"] = "CustomEntityRecognition";
|
|
75
|
+
KnownAnalyzeTextLROTaskKind["CustomSingleLabelClassification"] = "CustomSingleLabelClassification";
|
|
76
|
+
KnownAnalyzeTextLROTaskKind["CustomMultiLabelClassification"] = "CustomMultiLabelClassification";
|
|
77
|
+
})(KnownAnalyzeTextLROTaskKind || (KnownAnalyzeTextLROTaskKind = {}));
|
|
78
|
+
/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */
|
|
79
|
+
export var KnownAnalyzeTextLROResultsKind;
|
|
80
|
+
(function (KnownAnalyzeTextLROResultsKind) {
|
|
81
|
+
KnownAnalyzeTextLROResultsKind["SentimentAnalysisLROResults"] = "SentimentAnalysisLROResults";
|
|
82
|
+
KnownAnalyzeTextLROResultsKind["EntityRecognitionLROResults"] = "EntityRecognitionLROResults";
|
|
83
|
+
KnownAnalyzeTextLROResultsKind["PiiEntityRecognitionLROResults"] = "PiiEntityRecognitionLROResults";
|
|
84
|
+
KnownAnalyzeTextLROResultsKind["KeyPhraseExtractionLROResults"] = "KeyPhraseExtractionLROResults";
|
|
85
|
+
KnownAnalyzeTextLROResultsKind["EntityLinkingLROResults"] = "EntityLinkingLROResults";
|
|
86
|
+
KnownAnalyzeTextLROResultsKind["HealthcareLROResults"] = "HealthcareLROResults";
|
|
87
|
+
KnownAnalyzeTextLROResultsKind["ExtractiveSummarizationLROResults"] = "ExtractiveSummarizationLROResults";
|
|
88
|
+
KnownAnalyzeTextLROResultsKind["CustomEntityRecognitionLROResults"] = "CustomEntityRecognitionLROResults";
|
|
89
|
+
KnownAnalyzeTextLROResultsKind["CustomSingleLabelClassificationLROResults"] = "CustomSingleLabelClassificationLROResults";
|
|
90
|
+
KnownAnalyzeTextLROResultsKind["CustomMultiLabelClassificationLROResults"] = "CustomMultiLabelClassificationLROResults";
|
|
91
|
+
})(KnownAnalyzeTextLROResultsKind || (KnownAnalyzeTextLROResultsKind = {}));
|
|
8
92
|
/** Known values of {@link StringIndexType} that the service accepts. */
|
|
9
93
|
export var KnownStringIndexType;
|
|
10
94
|
(function (KnownStringIndexType) {
|
|
11
95
|
/** 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. */
|
|
12
|
-
KnownStringIndexType["
|
|
96
|
+
KnownStringIndexType["TextElementsV8"] = "TextElements_v8";
|
|
13
97
|
/** 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. */
|
|
14
98
|
KnownStringIndexType["UnicodeCodePoint"] = "UnicodeCodePoint";
|
|
15
99
|
/** 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. */
|
|
16
100
|
KnownStringIndexType["Utf16CodeUnit"] = "Utf16CodeUnit";
|
|
17
101
|
})(KnownStringIndexType || (KnownStringIndexType = {}));
|
|
18
|
-
/** Known values of {@link
|
|
19
|
-
export var
|
|
20
|
-
(function (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
102
|
+
/** Known values of {@link PiiDomain} that the service accepts. */
|
|
103
|
+
export var KnownPiiDomain;
|
|
104
|
+
(function (KnownPiiDomain) {
|
|
105
|
+
/** Indicates that entities in the Personal Health Information domain should be redacted. */
|
|
106
|
+
KnownPiiDomain["Phi"] = "phi";
|
|
107
|
+
/** Indicates that no domain is specified. */
|
|
108
|
+
KnownPiiDomain["None"] = "none";
|
|
109
|
+
})(KnownPiiDomain || (KnownPiiDomain = {}));
|
|
24
110
|
/** Known values of {@link PiiCategory} that the service accepts. */
|
|
25
111
|
export var KnownPiiCategory;
|
|
26
112
|
(function (KnownPiiCategory) {
|
|
@@ -198,40 +284,17 @@ export var KnownPiiCategory;
|
|
|
198
284
|
KnownPiiCategory["All"] = "All";
|
|
199
285
|
KnownPiiCategory["Default"] = "Default";
|
|
200
286
|
})(KnownPiiCategory || (KnownPiiCategory = {}));
|
|
201
|
-
/** Known values of {@link ExtractiveSummarizationTaskParametersSortBy} that the service accepts. */
|
|
202
|
-
export var KnownExtractiveSummarizationTaskParametersSortBy;
|
|
203
|
-
(function (KnownExtractiveSummarizationTaskParametersSortBy) {
|
|
204
|
-
KnownExtractiveSummarizationTaskParametersSortBy["Offset"] = "Offset";
|
|
205
|
-
KnownExtractiveSummarizationTaskParametersSortBy["Rank"] = "Rank";
|
|
206
|
-
})(KnownExtractiveSummarizationTaskParametersSortBy || (KnownExtractiveSummarizationTaskParametersSortBy = {}));
|
|
207
|
-
/** Known values of {@link ErrorCodeValue} that the service accepts. */
|
|
208
|
-
export var KnownErrorCodeValue;
|
|
209
|
-
(function (KnownErrorCodeValue) {
|
|
210
|
-
KnownErrorCodeValue["InvalidRequest"] = "InvalidRequest";
|
|
211
|
-
KnownErrorCodeValue["InvalidArgument"] = "InvalidArgument";
|
|
212
|
-
KnownErrorCodeValue["InternalServerError"] = "InternalServerError";
|
|
213
|
-
KnownErrorCodeValue["ServiceUnavailable"] = "ServiceUnavailable";
|
|
214
|
-
KnownErrorCodeValue["NotFound"] = "NotFound";
|
|
215
|
-
})(KnownErrorCodeValue || (KnownErrorCodeValue = {}));
|
|
216
|
-
/** Known values of {@link InnerErrorCodeValue} that the service accepts. */
|
|
217
|
-
export var KnownInnerErrorCodeValue;
|
|
218
|
-
(function (KnownInnerErrorCodeValue) {
|
|
219
|
-
KnownInnerErrorCodeValue["InvalidParameterValue"] = "InvalidParameterValue";
|
|
220
|
-
KnownInnerErrorCodeValue["InvalidRequestBodyFormat"] = "InvalidRequestBodyFormat";
|
|
221
|
-
KnownInnerErrorCodeValue["EmptyRequest"] = "EmptyRequest";
|
|
222
|
-
KnownInnerErrorCodeValue["MissingInputRecords"] = "MissingInputRecords";
|
|
223
|
-
KnownInnerErrorCodeValue["InvalidDocument"] = "InvalidDocument";
|
|
224
|
-
KnownInnerErrorCodeValue["ModelVersionIncorrect"] = "ModelVersionIncorrect";
|
|
225
|
-
KnownInnerErrorCodeValue["InvalidDocumentBatch"] = "InvalidDocumentBatch";
|
|
226
|
-
KnownInnerErrorCodeValue["UnsupportedLanguageCode"] = "UnsupportedLanguageCode";
|
|
227
|
-
KnownInnerErrorCodeValue["InvalidCountryHint"] = "InvalidCountryHint";
|
|
228
|
-
})(KnownInnerErrorCodeValue || (KnownInnerErrorCodeValue = {}));
|
|
229
287
|
/** Known values of {@link WarningCode} that the service accepts. */
|
|
230
288
|
export var KnownWarningCode;
|
|
231
289
|
(function (KnownWarningCode) {
|
|
232
290
|
KnownWarningCode["LongWordsInDocument"] = "LongWordsInDocument";
|
|
233
291
|
KnownWarningCode["DocumentTruncated"] = "DocumentTruncated";
|
|
234
292
|
})(KnownWarningCode || (KnownWarningCode = {}));
|
|
293
|
+
/** Known values of {@link FhirVersion} that the service accepts. */
|
|
294
|
+
export var KnownFhirVersion;
|
|
295
|
+
(function (KnownFhirVersion) {
|
|
296
|
+
KnownFhirVersion["Four01"] = "4.0.1";
|
|
297
|
+
})(KnownFhirVersion || (KnownFhirVersion = {}));
|
|
235
298
|
/** Known values of {@link HealthcareEntityCategory} that the service accepts. */
|
|
236
299
|
export var KnownHealthcareEntityCategory;
|
|
237
300
|
(function (KnownHealthcareEntityCategory) {
|
|
@@ -287,4 +350,12 @@ export var KnownRelationType;
|
|
|
287
350
|
KnownRelationType["ValueOfCondition"] = "ValueOfCondition";
|
|
288
351
|
KnownRelationType["ValueOfExamination"] = "ValueOfExamination";
|
|
289
352
|
})(KnownRelationType || (KnownRelationType = {}));
|
|
353
|
+
/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */
|
|
354
|
+
export var KnownExtractiveSummarizationOrderingCriteria;
|
|
355
|
+
(function (KnownExtractiveSummarizationOrderingCriteria) {
|
|
356
|
+
/** Indicates that results should be sorted in order of appearance in the text. */
|
|
357
|
+
KnownExtractiveSummarizationOrderingCriteria["Offset"] = "Offset";
|
|
358
|
+
/** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */
|
|
359
|
+
KnownExtractiveSummarizationOrderingCriteria["Rank"] = "Rank";
|
|
360
|
+
})(KnownExtractiveSummarizationOrderingCriteria || (KnownExtractiveSummarizationOrderingCriteria = {}));
|
|
290
361
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings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,QAsB5B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport interface JobDescriptor {\n /** Optional display name for the analysis job. */\n displayName?: string;\n}\n\nexport interface AnalysisInput {\n /** Contains a set of input documents to be analyzed by the service. */\n analysisInput: MultiLanguageBatchInput;\n}\n\n/** Contains a set of input documents to be analyzed by the service. */\nexport interface MultiLanguageBatchInput {\n /** The set of documents to process as part of this batch. */\n documents: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */\nexport interface TextDocumentInput {\n /** A unique, non-empty document identifier. */\n id: string;\n /** The input text to process. */\n text: string;\n /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default. */\n language?: string;\n}\n\nexport interface JobManifest {\n /** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */\n tasks: JobManifestTasks;\n}\n\n/** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */\nexport interface JobManifestTasks {\n entityRecognitionTasks?: EntitiesTask[];\n entityRecognitionPiiTasks?: PiiTask[];\n keyPhraseExtractionTasks?: KeyPhrasesTask[];\n entityLinkingTasks?: EntityLinkingTask[];\n sentimentAnalysisTasks?: SentimentAnalysisTask[];\n extractiveSummarizationTasks?: ExtractiveSummarizationTask[];\n}\n\nexport interface EntitiesTask {\n parameters?: EntitiesTaskParameters;\n}\n\nexport interface EntitiesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface PiiTask {\n parameters?: PiiTaskParameters;\n}\n\nexport interface PiiTaskParameters {\n domain?: PiiTaskParametersDomain;\n modelVersion?: string;\n loggingOptOut?: boolean;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n stringIndexType?: StringIndexType;\n}\n\nexport interface KeyPhrasesTask {\n parameters?: KeyPhrasesTaskParameters;\n}\n\nexport interface KeyPhrasesTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n}\n\nexport interface EntityLinkingTask {\n parameters?: EntityLinkingTaskParameters;\n}\n\nexport interface EntityLinkingTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface SentimentAnalysisTask {\n parameters?: SentimentAnalysisTaskParameters;\n}\n\nexport interface SentimentAnalysisTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n opinionMining?: boolean;\n stringIndexType?: StringIndexType;\n}\n\nexport interface ExtractiveSummarizationTask {\n parameters?: ExtractiveSummarizationTaskParameters;\n}\n\nexport interface ExtractiveSummarizationTaskParameters {\n modelVersion?: string;\n loggingOptOut?: boolean;\n stringIndexType?: StringIndexType;\n sentenceCount?: number;\n sortBy?: ExtractiveSummarizationTaskParametersSortBy;\n}\n\nexport interface ErrorResponse {\n /** Document Error. */\n error: TextAnalyticsError;\n}\n\nexport interface TextAnalyticsError {\n /** Error code. */\n code: ErrorCodeValue;\n /** Error message. */\n message: string;\n /** Error target. */\n target?: string;\n /** Inner error contains more specific information. */\n innererror?: InnerError;\n /** Details about specific errors that led to this reported error. */\n details?: TextAnalyticsError[];\n}\n\nexport interface InnerError {\n /** Error code. */\n code: InnerErrorCodeValue;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** Inner error contains more specific information. */\n innererror?: InnerError;\n}\n\nexport interface JobMetadata {\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeJobDisplayName {\n displayName?: string;\n}\n\nexport interface TasksState {\n tasks: TasksStateTasks;\n}\n\nexport interface TasksStateTasks {\n completed: number;\n failed: number;\n inProgress: number;\n total: number;\n entityRecognitionTasks?: TasksStateTasksEntityRecognitionTasksItem[];\n entityRecognitionPiiTasks?: TasksStateTasksEntityRecognitionPiiTasksItem[];\n keyPhraseExtractionTasks?: TasksStateTasksKeyPhraseExtractionTasksItem[];\n entityLinkingTasks?: TasksStateTasksEntityLinkingTasksItem[];\n sentimentAnalysisTasks?: TasksStateTasksSentimentAnalysisTasksItem[];\n extractiveSummarizationTasks?: TasksStateTasksExtractiveSummarizationTasksItem[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface EntitiesTaskResult {\n results?: EntitiesResult;\n}\n\nexport interface EntitiesResult {\n /** Response by document */\n documents: DocumentEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types . */\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface TextAnalyticsWarning {\n /** Error code. */\n code: WarningCode;\n /** Warning message. */\n message: string;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\nexport interface TextDocumentStatistics {\n /** Number of text elements recognized in the document. */\n characterCount: number;\n /** Number of transactions for the document. */\n transactionCount: number;\n}\n\nexport interface DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: TextAnalyticsError;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\nexport interface TextDocumentBatchStatistics {\n /** Number of documents submitted in the request. */\n documentCount: number;\n /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */\n validDocumentCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousDocumentCount: number;\n /** Number of transactions for the request. */\n transactionCount: number;\n}\n\nexport interface PiiTaskResult {\n results?: PiiResult;\n}\n\nexport interface PiiResult {\n /** Response by document */\n documents: PiiDocumentEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface PiiDocumentEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface KeyPhraseTaskResult {\n results?: KeyPhraseResult;\n}\n\nexport interface KeyPhraseResult {\n /** Response by document */\n documents: DocumentKeyPhrases[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentKeyPhrases {\n /** Unique, non-empty document identifier. */\n id: string;\n /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */\n keyPhrases: string[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface EntityLinkingTaskResult {\n results?: EntityLinkingResult;\n}\n\nexport interface EntityLinkingResult {\n /** Response by document */\n documents: DocumentLinkedEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentLinkedEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */\nexport interface LinkedEntity {\n /** Entity Linking formal name. */\n name: string;\n /** List of instances this entity appears in the text. */\n matches: Match[];\n /** Language used in the data source. */\n language: string;\n /** Unique identifier of the recognized entity from the data source. */\n dataSourceEntityId?: string;\n /** URL for the entity's page from the data source. */\n url: string;\n /** Data source used to extract entity linking, such as Wiki/Bing etc. */\n dataSource: string;\n /** Bing Entity Search API unique identifier of the recognized entity. */\n bingEntitySearchApiId?: string;\n}\n\n/** Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model. */\nexport interface Match {\n /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */\n confidenceScore: number;\n /** Entity text as appears in the request. */\n text: string;\n /** Start position for the entity match text. */\n offset: number;\n /** Length for the entity match text. */\n length: number;\n}\n\nexport interface SentimentTaskResult {\n results?: SentimentResponse;\n}\n\nexport interface SentimentResponse {\n /** Sentiment analysis per document. */\n documents: DocumentSentiment[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentSentiment {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentenceSentiments: SentenceSentiment[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n}\n\n/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */\nexport interface SentimentConfidenceScores {\n positive: number;\n neutral: number;\n negative: number;\n}\n\n/** The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. */\nexport interface SentenceSentiment {\n /** The sentence text. */\n text: string;\n /** The predicted Sentiment for the sentence. */\n sentiment: SentenceSentimentLabel;\n /** The sentiment confidence score between 0 and 1 for the sentence for all classes. */\n confidenceScores: SentimentConfidenceScores;\n /** The sentence offset from the start of the document. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n /** The array of sentence targets for the sentence. */\n targets?: SentenceTarget[];\n /** The array of assessments for the sentence. */\n assessments?: SentenceAssessment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentValue;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScoreLabel;\n /** The target offset from the start of the sentence. */\n offset: number;\n /** The length of the target. */\n length: number;\n /** The target text detected. */\n text: string;\n /** The array of either assessment or target objects which is related to the target. */\n relations: TargetRelation[];\n}\n\n/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */\nexport interface TargetConfidenceScoreLabel {\n positive: number;\n negative: number;\n}\n\nexport interface TargetRelation {\n /** The type related to the target. */\n relationType: TargetRelationType;\n /** The JSON pointer indicating the linked object. */\n ref: string;\n}\n\nexport interface SentenceAssessment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentValue;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScoreLabel;\n /** The assessment offset from the start of the sentence. */\n offset: number;\n /** The length of the assessment. */\n length: number;\n /** The assessment text detected. */\n text: string;\n /** The indicator representing if the assessment is negated. */\n isNegated: boolean;\n}\n\nexport interface ExtractiveSummarizationTaskResult {\n results?: ExtractiveSummarizationResult;\n}\n\nexport interface ExtractiveSummarizationResult {\n /** Response by document */\n documents: ExtractedDocumentSummary[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface ExtractedDocumentSummary {\n /** Unique, non-empty document identifier. */\n id: string;\n /** A ranked list of sentences representing the extracted summary. */\n sentences: ExtractedSummarySentence[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface ExtractedSummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\nexport interface AnalyzeJobErrorsAndStatistics {\n errors?: TextAnalyticsError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n}\n\nexport interface Pagination {\n nextLink?: string;\n}\n\nexport interface HealthcareTaskResult {\n results?: HealthcareResult;\n errors?: TextAnalyticsError[];\n}\n\nexport interface HealthcareResult {\n /** Response by document */\n documents: DocumentHealthcareEntities[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentHealthcareEntities {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\nexport interface HealthcareEntityProperties {\n /** Entity text as appears in the request. */\n text: string;\n /** Healthcare Entity Category. */\n category: HealthcareEntityCategory;\n /** (Optional) Entity sub type. */\n subcategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\nexport interface HealthcareLinkingProperties {\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n name?: string;\n /** Entity references in known data sources. */\n links?: HealthcareEntityLink[];\n}\n\nexport interface HealthcareAssertion {\n /** Describes any conditionality on the entity. */\n conditionality?: Conditionality;\n /** Describes the entities certainty and polarity. */\n certainty?: Certainty;\n /** Describes if the entity is the subject of the text or if it describes someone else. */\n association?: Association;\n}\n\nexport interface HealthcareEntityLink {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n dataSource: string;\n /** Entity id in the given source catalog. */\n id: string;\n}\n\n/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */\nexport interface HealthcareRelation {\n /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */\n relationType: RelationType;\n /** The entities in the relation. */\n entities: HealthcareRelationEntity[];\n}\n\nexport interface HealthcareRelationEntity {\n /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */\n ref: string;\n /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */\n role: string;\n}\n\nexport interface LanguageBatchInput {\n documents: DetectLanguageInput[];\n}\n\n/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the text analytics predictive model in detecting the document's language. */\nexport interface DetectLanguageInput {\n /** Unique, non-empty document identifier. */\n id: string;\n text: string;\n countryHint?: string;\n}\n\nexport interface LanguageResult {\n /** Response by document */\n documents: DocumentLanguage[];\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentLanguage {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n /** Warnings encountered while processing document. */\n warnings: TextAnalyticsWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Information about the language of a document as identified by the Text Analytics service. */\nexport interface DetectedLanguage {\n /** Long name of a detected language (e.g. English, French). */\n name: string;\n /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */\n iso6391Name: string;\n /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */\n confidenceScore: number;\n}\n\nexport type AnalyzeBatchInput = JobDescriptor &\n AnalysisInput &\n JobManifest & {};\n\nexport type AnalyzeJobMetadata = JobMetadata & AnalyzeJobDisplayName & {};\n\nexport type HealthcareJobState = JobMetadata &\n HealthcareTaskResult &\n Pagination & {};\n\nexport type AnalyzeJobState = AnalyzeJobMetadata &\n TasksState &\n AnalyzeJobErrorsAndStatistics &\n Pagination & {};\n\nexport type TasksStateTasksEntityRecognitionTasksItem = TaskState &\n EntitiesTaskResult & {};\n\nexport type TasksStateTasksEntityRecognitionPiiTasksItem = TaskState &\n PiiTaskResult & {};\n\nexport type TasksStateTasksKeyPhraseExtractionTasksItem = TaskState &\n KeyPhraseTaskResult & {};\n\nexport type TasksStateTasksEntityLinkingTasksItem = TaskState &\n EntityLinkingTaskResult & {};\n\nexport type TasksStateTasksSentimentAnalysisTasksItem = TaskState &\n SentimentTaskResult & {};\n\nexport type TasksStateTasksExtractiveSummarizationTasksItem = TaskState &\n ExtractiveSummarizationTaskResult & {};\n\nexport type HealthcareEntity = HealthcareEntityProperties &\n HealthcareLinkingProperties & {};\n\n/** Defines headers for GeneratedClient_analyze operation. */\nexport interface GeneratedClientAnalyzeHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for GeneratedClient_cancelHealthJob operation. */\nexport interface GeneratedClientCancelHealthJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for GeneratedClient_health operation. */\nexport interface GeneratedClientHealthHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementV8 = \"TextElement_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\"\n}\n\n/**\n * Defines values for StringIndexType. \\\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElement_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \\\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \\\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link PiiTaskParametersDomain} that the service accepts. */\nexport enum KnownPiiTaskParametersDomain {\n Phi = \"phi\",\n None = \"none\"\n}\n\n/**\n * Defines values for PiiTaskParametersDomain. \\\n * {@link KnownPiiTaskParametersDomain} can be used interchangeably with PiiTaskParametersDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi** \\\n * **none**\n */\nexport type PiiTaskParametersDomain = string;\n\n/** Known values of {@link PiiCategory} that the service accepts. */\nexport enum KnownPiiCategory {\n ABARoutingNumber = \"ABARoutingNumber\",\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n AUBankAccountNumber = \"AUBankAccountNumber\",\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n AUPassportNumber = \"AUPassportNumber\",\n AUTaxFileNumber = \"AUTaxFileNumber\",\n AUBusinessNumber = \"AUBusinessNumber\",\n AUCompanyNumber = \"AUCompanyNumber\",\n ATIdentityCard = \"ATIdentityCard\",\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n AzureRedisCacheString = \"AzureRedisCacheString\",\n AzureSAS = \"AzureSAS\",\n AzureServiceBusString = \"AzureServiceBusString\",\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n BENationalNumber = \"BENationalNumber\",\n BENationalNumberV2 = \"BENationalNumberV2\",\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n BrcpfNumber = \"BRCPFNumber\",\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n BRNationalIdrg = \"BRNationalIDRG\",\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n CABankAccountNumber = \"CABankAccountNumber\",\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n CAPassportNumber = \"CAPassportNumber\",\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n CreditCardNumber = \"CreditCardNumber\",\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n HRNationalIDNumber = \"HRNationalIDNumber\",\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n CYIdentityCard = \"CYIdentityCard\",\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n EUDebitCardNumber = \"EUDebitCardNumber\",\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n EugpsCoordinates = \"EUGPSCoordinates\",\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n EUPassportNumber = \"EUPassportNumber\",\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n FINationalID = \"FINationalID\",\n FINationalIDV2 = \"FINationalIDV2\",\n FIPassportNumber = \"FIPassportNumber\",\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n FRNationalID = \"FRNationalID\",\n FRPassportNumber = \"FRPassportNumber\",\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n DEPassportNumber = \"DEPassportNumber\",\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n DEValueAddedNumber = \"DEValueAddedNumber\",\n GRNationalIDCard = \"GRNationalIDCard\",\n GRNationalIDV2 = \"GRNationalIDV2\",\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n HUValueAddedNumber = \"HUValueAddedNumber\",\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n INPermanentAccount = \"INPermanentAccount\",\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n ILBankAccountNumber = \"ILBankAccountNumber\",\n ILNationalID = \"ILNationalID\",\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n ITFiscalCode = \"ITFiscalCode\",\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n JPBankAccountNumber = \"JPBankAccountNumber\",\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n JPPassportNumber = \"JPPassportNumber\",\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n LVPersonalCode = \"LVPersonalCode\",\n LTPersonalCode = \"LTPersonalCode\",\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n MTTaxIDNumber = \"MTTaxIDNumber\",\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n NZBankAccountNumber = \"NZBankAccountNumber\",\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n NOIdentityNumber = \"NOIdentityNumber\",\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n PLIdentityCard = \"PLIdentityCard\",\n PLNationalID = \"PLNationalID\",\n PLNationalIDV2 = \"PLNationalIDV2\",\n PLPassportNumber = \"PLPassportNumber\",\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n PlregonNumber = \"PLREGONNumber\",\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n SANationalID = \"SANationalID\",\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n SKPersonalNumber = \"SKPersonalNumber\",\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n Esdni = \"ESDNI\",\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n SQLServerConnectionString = \"SQLServerConnectionString\",\n SENationalID = \"SENationalID\",\n SENationalIDV2 = \"SENationalIDV2\",\n SEPassportNumber = \"SEPassportNumber\",\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n SwiftCode = \"SWIFTCode\",\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n TWNationalID = \"TWNationalID\",\n TWPassportNumber = \"TWPassportNumber\",\n TWResidentCertificate = \"TWResidentCertificate\",\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n UsukPassportNumber = \"USUKPassportNumber\",\n USBankAccountNumber = \"USBankAccountNumber\",\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n Organization = \"Organization\",\n Email = \"Email\",\n URL = \"URL\",\n Age = \"Age\",\n PhoneNumber = \"PhoneNumber\",\n IPAddress = \"IPAddress\",\n Date = \"Date\",\n Person = \"Person\",\n Address = \"Address\",\n All = \"All\",\n Default = \"Default\"\n}\n\n/**\n * Defines values for PiiCategory. \\\n * {@link KnownPiiCategory} can be used interchangeably with PiiCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ABARoutingNumber** \\\n * **ARNationalIdentityNumber** \\\n * **AUBankAccountNumber** \\\n * **AUDriversLicenseNumber** \\\n * **AUMedicalAccountNumber** \\\n * **AUPassportNumber** \\\n * **AUTaxFileNumber** \\\n * **AUBusinessNumber** \\\n * **AUCompanyNumber** \\\n * **ATIdentityCard** \\\n * **ATTaxIdentificationNumber** \\\n * **ATValueAddedTaxNumber** \\\n * **AzureDocumentDBAuthKey** \\\n * **AzureIAASDatabaseConnectionAndSQLString** \\\n * **AzureIoTConnectionString** \\\n * **AzurePublishSettingPassword** \\\n * **AzureRedisCacheString** \\\n * **AzureSAS** \\\n * **AzureServiceBusString** \\\n * **AzureStorageAccountKey** \\\n * **AzureStorageAccountGeneric** \\\n * **BENationalNumber** \\\n * **BENationalNumberV2** \\\n * **BEValueAddedTaxNumber** \\\n * **BRCPFNumber** \\\n * **BRLegalEntityNumber** \\\n * **BRNationalIDRG** \\\n * **BGUniformCivilNumber** \\\n * **CABankAccountNumber** \\\n * **CADriversLicenseNumber** \\\n * **CAHealthServiceNumber** \\\n * **CAPassportNumber** \\\n * **CAPersonalHealthIdentification** \\\n * **CASocialInsuranceNumber** \\\n * **CLIdentityCardNumber** \\\n * **CNResidentIdentityCardNumber** \\\n * **CreditCardNumber** \\\n * **HRIdentityCardNumber** \\\n * **HRNationalIDNumber** \\\n * **HRPersonalIdentificationNumber** \\\n * **HRPersonalIdentificationOIBNumberV2** \\\n * **CYIdentityCard** \\\n * **CYTaxIdentificationNumber** \\\n * **CZPersonalIdentityNumber** \\\n * **CZPersonalIdentityV2** \\\n * **DKPersonalIdentificationNumber** \\\n * **DKPersonalIdentificationV2** \\\n * **DrugEnforcementAgencyNumber** \\\n * **EEPersonalIdentificationCode** \\\n * **EUDebitCardNumber** \\\n * **EUDriversLicenseNumber** \\\n * **EUGPSCoordinates** \\\n * **EUNationalIdentificationNumber** \\\n * **EUPassportNumber** \\\n * **EUSocialSecurityNumber** \\\n * **EUTaxIdentificationNumber** \\\n * **FIEuropeanHealthNumber** \\\n * **FINationalID** \\\n * **FINationalIDV2** \\\n * **FIPassportNumber** \\\n * **FRDriversLicenseNumber** \\\n * **FRHealthInsuranceNumber** \\\n * **FRNationalID** \\\n * **FRPassportNumber** \\\n * **FRSocialSecurityNumber** \\\n * **FRTaxIdentificationNumber** \\\n * **FRValueAddedTaxNumber** \\\n * **DEDriversLicenseNumber** \\\n * **DEPassportNumber** \\\n * **DEIdentityCardNumber** \\\n * **DETaxIdentificationNumber** \\\n * **DEValueAddedNumber** \\\n * **GRNationalIDCard** \\\n * **GRNationalIDV2** \\\n * **GRTaxIdentificationNumber** \\\n * **HKIdentityCardNumber** \\\n * **HUValueAddedNumber** \\\n * **HUPersonalIdentificationNumber** \\\n * **HUTaxIdentificationNumber** \\\n * **INPermanentAccount** \\\n * **INUniqueIdentificationNumber** \\\n * **IDIdentityCardNumber** \\\n * **InternationalBankingAccountNumber** \\\n * **IEPersonalPublicServiceNumber** \\\n * **IEPersonalPublicServiceNumberV2** \\\n * **ILBankAccountNumber** \\\n * **ILNationalID** \\\n * **ITDriversLicenseNumber** \\\n * **ITFiscalCode** \\\n * **ITValueAddedTaxNumber** \\\n * **JPBankAccountNumber** \\\n * **JPDriversLicenseNumber** \\\n * **JPPassportNumber** \\\n * **JPResidentRegistrationNumber** \\\n * **JPSocialInsuranceNumber** \\\n * **JPMyNumberCorporate** \\\n * **JPMyNumberPersonal** \\\n * **JPResidenceCardNumber** \\\n * **LVPersonalCode** \\\n * **LTPersonalCode** \\\n * **LUNationalIdentificationNumberNatural** \\\n * **LUNationalIdentificationNumberNonNatural** \\\n * **MYIdentityCardNumber** \\\n * **MTIdentityCardNumber** \\\n * **MTTaxIDNumber** \\\n * **NLCitizensServiceNumber** \\\n * **NLCitizensServiceNumberV2** \\\n * **NLTaxIdentificationNumber** \\\n * **NLValueAddedTaxNumber** \\\n * **NZBankAccountNumber** \\\n * **NZDriversLicenseNumber** \\\n * **NZInlandRevenueNumber** \\\n * **NZMinistryOfHealthNumber** \\\n * **NZSocialWelfareNumber** \\\n * **NOIdentityNumber** \\\n * **PHUnifiedMultiPurposeIDNumber** \\\n * **PLIdentityCard** \\\n * **PLNationalID** \\\n * **PLNationalIDV2** \\\n * **PLPassportNumber** \\\n * **PLTaxIdentificationNumber** \\\n * **PLREGONNumber** \\\n * **PTCitizenCardNumber** \\\n * **PTCitizenCardNumberV2** \\\n * **PTTaxIdentificationNumber** \\\n * **ROPersonalNumericalCode** \\\n * **RUPassportNumberDomestic** \\\n * **RUPassportNumberInternational** \\\n * **SANationalID** \\\n * **SGNationalRegistrationIdentityCardNumber** \\\n * **SKPersonalNumber** \\\n * **SITaxIdentificationNumber** \\\n * **SIUniqueMasterCitizenNumber** \\\n * **ZAIdentificationNumber** \\\n * **KRResidentRegistrationNumber** \\\n * **ESDNI** \\\n * **ESSocialSecurityNumber** \\\n * **ESTaxIdentificationNumber** \\\n * **SQLServerConnectionString** \\\n * **SENationalID** \\\n * **SENationalIDV2** \\\n * **SEPassportNumber** \\\n * **SETaxIdentificationNumber** \\\n * **SWIFTCode** \\\n * **CHSocialSecurityNumber** \\\n * **TWNationalID** \\\n * **TWPassportNumber** \\\n * **TWResidentCertificate** \\\n * **THPopulationIdentificationCode** \\\n * **TRNationalIdentificationNumber** \\\n * **UKDriversLicenseNumber** \\\n * **UKElectoralRollNumber** \\\n * **UKNationalHealthNumber** \\\n * **UKNationalInsuranceNumber** \\\n * **UKUniqueTaxpayerNumber** \\\n * **USUKPassportNumber** \\\n * **USBankAccountNumber** \\\n * **USDriversLicenseNumber** \\\n * **USIndividualTaxpayerIdentification** \\\n * **USSocialSecurityNumber** \\\n * **UAPassportNumberDomestic** \\\n * **UAPassportNumberInternational** \\\n * **Organization** \\\n * **Email** \\\n * **URL** \\\n * **Age** \\\n * **PhoneNumber** \\\n * **IPAddress** \\\n * **Date** \\\n * **Person** \\\n * **Address** \\\n * **All** \\\n * **Default**\n */\nexport type PiiCategory = string;\n\n/** Known values of {@link ExtractiveSummarizationTaskParametersSortBy} that the service accepts. */\nexport enum KnownExtractiveSummarizationTaskParametersSortBy {\n Offset = \"Offset\",\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationTaskParametersSortBy. \\\n * {@link KnownExtractiveSummarizationTaskParametersSortBy} can be used interchangeably with ExtractiveSummarizationTaskParametersSortBy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset** \\\n * **Rank**\n */\nexport type ExtractiveSummarizationTaskParametersSortBy = string;\n\n/** Known values of {@link ErrorCodeValue} that the service accepts. */\nexport enum KnownErrorCodeValue {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\",\n NotFound = \"NotFound\"\n}\n\n/**\n * Defines values for ErrorCodeValue. \\\n * {@link KnownErrorCodeValue} can be used interchangeably with ErrorCodeValue,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **InternalServerError** \\\n * **ServiceUnavailable** \\\n * **NotFound**\n */\nexport type ErrorCodeValue = string;\n\n/** Known values of {@link InnerErrorCodeValue} that the service accepts. */\nexport enum KnownInnerErrorCodeValue {\n InvalidParameterValue = \"InvalidParameterValue\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputRecords = \"MissingInputRecords\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCodeValue. \\\n * {@link KnownInnerErrorCodeValue} can be used interchangeably with InnerErrorCodeValue,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidParameterValue** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputRecords** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCodeValue = string;\n\n/** Known values of {@link WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n LongWordsInDocument = \"LongWordsInDocument\",\n DocumentTruncated = \"DocumentTruncated\"\n}\n\n/**\n * Defines values for WarningCode. \\\n * {@link KnownWarningCode} can be used interchangeably with WarningCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LongWordsInDocument** \\\n * **DocumentTruncated**\n */\nexport type WarningCode = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n BodyStructure = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\n TreatmentName = \"TREATMENT_NAME\"\n}\n\n/**\n * Defines values for HealthcareEntityCategory. \\\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE** \\\n * **AGE** \\\n * **GENDER** \\\n * **EXAMINATION_NAME** \\\n * **DATE** \\\n * **DIRECTION** \\\n * **FREQUENCY** \\\n * **MEASUREMENT_VALUE** \\\n * **MEASUREMENT_UNIT** \\\n * **RELATIONAL_OPERATOR** \\\n * **TIME** \\\n * **GENE_OR_PROTEIN** \\\n * **VARIANT** \\\n * **ADMINISTRATIVE_EVENT** \\\n * **CARE_ENVIRONMENT** \\\n * **HEALTHCARE_PROFESSION** \\\n * **DIAGNOSIS** \\\n * **SYMPTOM_OR_SIGN** \\\n * **CONDITION_QUALIFIER** \\\n * **MEDICATION_CLASS** \\\n * **MEDICATION_NAME** \\\n * **DOSAGE** \\\n * **MEDICATION_FORM** \\\n * **MEDICATION_ROUTE** \\\n * **FAMILY_RELATION** \\\n * **TREATMENT_NAME**\n */\nexport type HealthcareEntityCategory = string;\n\n/** Known values of {@link RelationType} that the service accepts. */\nexport enum KnownRelationType {\n Abbreviation = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\n ValueOfExamination = \"ValueOfExamination\"\n}\n\n/**\n * Defines values for RelationType. \\\n * {@link KnownRelationType} can be used interchangeably with RelationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Abbreviation** \\\n * **DirectionOfBodyStructure** \\\n * **DirectionOfCondition** \\\n * **DirectionOfExamination** \\\n * **DirectionOfTreatment** \\\n * **DosageOfMedication** \\\n * **FormOfMedication** \\\n * **FrequencyOfMedication** \\\n * **FrequencyOfTreatment** \\\n * **QualifierOfCondition** \\\n * **RelationOfExamination** \\\n * **RouteOfMedication** \\\n * **TimeOfCondition** \\\n * **TimeOfEvent** \\\n * **TimeOfExamination** \\\n * **TimeOfMedication** \\\n * **TimeOfTreatment** \\\n * **UnitOfCondition** \\\n * **UnitOfExamination** \\\n * **ValueOfCondition** \\\n * **ValueOfExamination**\n */\nexport type RelationType = string;\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"failed\"\n | \"rejected\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for DocumentSentimentLabel. */\nexport type DocumentSentimentLabel =\n | \"positive\"\n | \"neutral\"\n | \"negative\"\n | \"mixed\";\n/** Defines values for SentenceSentimentLabel. */\nexport type SentenceSentimentLabel = \"positive\" | \"neutral\" | \"negative\";\n/** Defines values for TokenSentimentValue. */\nexport type TokenSentimentValue = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n/** Defines values for Conditionality. */\nexport type Conditionality = \"hypothetical\" | \"conditional\";\n/** Defines values for Certainty. */\nexport type Certainty =\n | \"positive\"\n | \"positivePossible\"\n | \"neutralPossible\"\n | \"negativePossible\"\n | \"negative\";\n/** Defines values for Association. */\nexport type Association = \"subject\" | \"other\";\n\n/** Optional parameters. */\nexport interface GeneratedClientAnalyzeOptionalParams\n extends coreClient.OperationOptions {\n /** Collection of documents to analyze and tasks to execute. */\n body?: AnalyzeBatchInput;\n}\n\n/** Contains response data for the analyze operation. */\nexport type GeneratedClientAnalyzeResponse = GeneratedClientAnalyzeHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientAnalyzeStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */\n top?: number;\n /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */\n skip?: number;\n}\n\n/** Contains response data for the analyzeStatus operation. */\nexport type GeneratedClientAnalyzeStatusResponse = AnalyzeJobState;\n\n/** Optional parameters. */\nexport interface GeneratedClientHealthStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */\n top?: number;\n /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */\n skip?: number;\n}\n\n/** Contains response data for the healthStatus operation. */\nexport type GeneratedClientHealthStatusResponse = HealthcareJobState;\n\n/** Optional parameters. */\nexport interface GeneratedClientCancelHealthJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelHealthJob operation. */\nexport type GeneratedClientCancelHealthJobResponse = GeneratedClientCancelHealthJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientHealthOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the health operation. */\nexport type GeneratedClientHealthResponse = GeneratedClientHealthHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesRecognitionGeneralOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the entitiesRecognitionGeneral operation. */\nexport type GeneratedClientEntitiesRecognitionGeneralResponse = EntitiesResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesRecognitionPiiOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n /** (Optional) if specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'PHI', 'none'. */\n domain?: string;\n /** (Optional) describes the PII categories to return */\n piiCategories?: PiiCategory[];\n}\n\n/** Contains response data for the entitiesRecognitionPii operation. */\nexport type GeneratedClientEntitiesRecognitionPiiResponse = PiiResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientEntitiesLinkingOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the entitiesLinking operation. */\nexport type GeneratedClientEntitiesLinkingResponse = EntityLinkingResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientKeyPhrasesOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the keyPhrases operation. */\nexport type GeneratedClientKeyPhrasesResponse = KeyPhraseResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientLanguagesOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n}\n\n/** Contains response data for the languages operation. */\nexport type GeneratedClientLanguagesResponse = LanguageResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientSentimentOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */\n modelVersion?: string;\n /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */\n stringIndexType?: StringIndexType;\n /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */\n loggingOptOut?: boolean;\n /** (Optional) if set to true, response will contain not only sentiment prediction but also opinion mining (aspect-based sentiment analysis) results. */\n opinionMining?: boolean;\n}\n\n/** Contains response data for the sentiment operation. */\nexport type GeneratedClientSentimentResponse = SentimentResponse;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Text Analytics API version (for example, v3.0). */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAs5BH,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,mEAAuC,CAAA;IACvC,mEAAuC,CAAA;IACvC,yEAA6C,CAAA;IAC7C,uEAA2C,CAAA;IAC3C,mEAAuC,CAAA;IACvC,2DAA+B,CAAA;AACjC,CAAC,EAPW,wBAAwB,KAAxB,wBAAwB,QAOnC;AAgBD,mFAAmF;AACnF,MAAM,CAAN,IAAY,+BAOX;AAPD,WAAY,+BAA+B;IACzC,wFAAqD,CAAA;IACrD,wFAAqD,CAAA;IACrD,8FAA2D,CAAA;IAC3D,4FA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(c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport type AnalyzeActionUnion =\n | AnalyzeAction\n | AnalyzeTextEntityLinkingInput\n | AnalyzeTextEntityRecognitionInput\n | AnalyzeTextKeyPhraseExtractionInput\n | AnalyzeTextPiiEntitiesRecognitionInput\n | AnalyzeTextLanguageDetectionInput\n | AnalyzeTextSentimentAnalysisInput;\nexport type AnalyzeTextTaskResultUnion =\n | AnalyzeTextTaskResult\n | SentimentTaskResult\n | EntitiesTaskResult\n | EntityLinkingTaskResult\n | PiiTaskResult\n | KeyPhraseTaskResult\n | LanguageDetectionTaskResult;\nexport type AnalyzeBatchActionUnion =\n | AnalyzeBatchAction\n | CustomEntitiesLROTask\n | CustomSingleLabelClassificationLROTask\n | CustomMultiLabelClassificationLROTask\n | HealthcareLROTask\n | SentimentAnalysisLROTask\n | EntitiesLROTask\n | EntityLinkingLROTask\n | PiiLROTask\n | ExtractiveSummarizationLROTask\n | KeyPhraseLROTask;\nexport type AnalyzeTextLROResultUnion =\n | AnalyzeTextLROResult\n | EntityRecognitionLROResult\n | CustomEntityRecognitionLROResult\n | CustomSingleLabelClassificationLROResult\n | CustomMultiLabelClassificationLROResult\n | EntityLinkingLROResult\n | PiiEntityRecognitionLROResult\n | ExtractiveSummarizationLROResult\n | HealthcareLROResult\n | SentimentLROResult\n | KeyPhraseExtractionLROResult;\n\nexport interface AnalyzeAction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"EntityLinking\"\n | \"EntityRecognition\"\n | \"KeyPhraseExtraction\"\n | \"PiiEntityRecognition\"\n | \"LanguageDetection\"\n | \"SentimentAnalysis\";\n}\n\nexport interface AnalyzeTextTaskResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind:\n | \"SentimentAnalysisResults\"\n | \"EntityRecognitionResults\"\n | \"EntityLinkingResults\"\n | \"PiiEntityRecognitionResults\"\n | \"KeyPhraseExtractionResults\"\n | \"LanguageDetectionResults\";\n}\n\n/** Error response. */\nexport interface ErrorResponse {\n /** The error object. */\n error: ErrorModel;\n}\n\n/** The error object. */\nexport interface ErrorModel {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** One of a server-defined set of error codes. */\n code: ErrorCode;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorModel[];\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\n/** An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. */\nexport interface InnerErrorModel {\n /** One of a server-defined set of error codes. */\n code: InnerErrorCode;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\nexport interface AnalyzeTextJobsInput {\n /** Optional display name for the analysis job. */\n displayName?: string;\n analysisInput: MultiLanguageAnalysisInput;\n /** The set of tasks to execute on the input documents. */\n tasks: AnalyzeBatchActionUnion[];\n}\n\nexport interface MultiLanguageAnalysisInput {\n documents?: TextDocumentInput[];\n}\n\n/** An object representing an individual text document to be analyzed by the Language service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */\nexport interface TextDocumentInput {\n /** A unique, non-empty document identifier. */\n id: string;\n /** The input text to process. */\n text: string;\n /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default. */\n language?: string;\n}\n\n/** The State of a batched action */\nexport interface BatchActionState {\n /** The name of the action */\n actionName?: string;\n}\n\nexport interface JobState {\n displayName?: string;\n createdOn: Date;\n expiresOn?: Date;\n operationId: string;\n lastModifiedOn: Date;\n status: OperationStatus;\n errors?: ErrorModel[];\n nextLink?: string;\n}\n\nexport interface TasksState {\n tasks: TasksStateTasks;\n}\n\nexport interface TasksStateTasks {\n completed: number;\n failed: number;\n inProgress: number;\n total: number;\n items?: AnalyzeTextLROResultUnion[];\n}\n\nexport interface TaskState {\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface AnalyzeTextJobStatistics {\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\nexport interface TextDocumentBatchStatistics {\n /** Number of documents submitted in the request. */\n documentCount: number;\n /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */\n validDocumentCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousDocumentCount: number;\n /** Number of transactions for the request. */\n transactionCount: number;\n}\n\nexport interface LanguageDetectionAnalysisInput {\n documents?: LanguageDetectionInput[];\n}\n\n/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\nexport interface LanguageDetectionInput {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Full text of the input document. */\n text: string;\n /** A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */\n countryHint?: string;\n}\n\n/** Configuration common to all actions. */\nexport interface ActionCommon {\n /**\n * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Cognitive Language Service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, disables in logging and may limit our ability to remediate issues that occur.\n *\n * Default is false.\n */\n disableServiceLogs?: boolean;\n}\n\nexport interface PreBuiltResult {\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\nexport interface DocumentError {\n /** Document Id. */\n id: string;\n /** Document Error. */\n error: ErrorModel;\n}\n\nexport interface CustomResult {\n /** Errors by document id. */\n errors: DocumentError[];\n /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */\n statistics?: TextDocumentBatchStatistics;\n /** This field indicates the project name for the model. */\n projectName: string;\n /** This field indicates the deployment name for the model. */\n deploymentName: string;\n}\n\n/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories . */\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\nexport interface DocumentResult {\n /** Unique, non-empty document identifier. */\n id: string;\n /** Warnings encountered while processing document. */\n warnings: DocumentWarning[];\n /** if showStats=true was specified in the request this field will contain information about the document payload. */\n statistics?: TextDocumentStatistics;\n}\n\n/** Represents a warning encountered while processing a document. */\nexport interface DocumentWarning {\n /** Error code. */\n code: WarningCode;\n /** Warning message. */\n message: string;\n}\n\n/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */\nexport interface TextDocumentStatistics {\n /** Number of text elements recognized in the document. */\n characterCount: number;\n /** Number of transactions for the document. */\n transactionCount: number;\n}\n\n/** A classification result from a custom classify document single category action */\nexport interface ClassificationCategory {\n /** Classification type. */\n category: string;\n /** Confidence score between 0 and 1 of the recognized class. */\n confidenceScore: number;\n}\n\nexport interface HealthcareEntity {\n /** Entity text as appears in the request. */\n text: string;\n /** Healthcare Entity Category. */\n category: HealthcareEntityCategory;\n /** (Optional) Entity sub type. */\n subCategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n /** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\n assertion?: HealthcareAssertion;\n /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */\n normalizedText?: string;\n /** Entity references in known data sources. */\n dataSources?: EntityDataSource[];\n}\n\n/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */\nexport interface HealthcareAssertion {\n /** Describes any conditionality on the entity. */\n conditionality?: Conditionality;\n /** Describes the entities certainty and polarity. */\n certainty?: Certainty;\n /** Describes if the entity is the subject of the text or if it describes someone else. */\n association?: Association;\n}\n\n/** A type representing a reference for the healthcare entity into a specific entity catalog. */\nexport interface EntityDataSource {\n /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */\n name: string;\n /** Entity id in the given source catalog. */\n entityId: string;\n}\n\n/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */\nexport interface HealthcareRelation {\n /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */\n relationType: RelationType;\n /** The entities in the relation. */\n entities: HealthcareRelationEntity[];\n}\n\nexport interface HealthcareRelationEntity {\n /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */\n ref: string;\n /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */\n role: string;\n}\n\n/** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */\nexport interface SentimentConfidenceScores {\n positive: number;\n neutral: number;\n negative: number;\n}\n\n/** The predicted sentiment for a given span of text. For more information regarding text sentiment, seehttps://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview. */\nexport interface SentenceSentiment {\n /** The sentence text. */\n text: string;\n /** The predicted Sentiment for the sentence. */\n sentiment: SentenceSentimentLabel;\n /** The sentiment confidence score between 0 and 1 for the sentence for all classes. */\n confidenceScores: SentimentConfidenceScores;\n /** The sentence offset from the start of the document. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n /** The array of sentence targets for the sentence. */\n targets?: SentenceTarget[];\n /** The array of assessments for the sentence. */\n assessments?: AssessmentSentiment[];\n}\n\nexport interface SentenceTarget {\n /** Targeted sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Target sentiment confidence scores for the target in the sentence. */\n confidenceScores: TargetConfidenceScores;\n /** The target offset from the start of the sentence. */\n offset: number;\n /** The length of the target. */\n length: number;\n /** The target text detected. */\n text: string;\n /** The array of either assessment or target objects which is related to the target. */\n relations: TargetRelation[];\n}\n\n/** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */\nexport interface TargetConfidenceScores {\n positive: number;\n negative: number;\n}\n\nexport interface TargetRelation {\n /** The type related to the target. */\n relationType: TargetRelationType;\n /** The JSON pointer indicating the linked object. */\n ref: string;\n}\n\n/** An object that contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence \"The food is good\", the assessment of the target 'food' is 'good'. */\nexport interface AssessmentSentiment {\n /** Assessment sentiment in the sentence. */\n sentiment: TokenSentimentLabel;\n /** Assessment sentiment confidence scores in the sentence. */\n confidenceScores: TargetConfidenceScores;\n /** The assessment offset from the start of the sentence. */\n offset: number;\n /** The length of the assessment. */\n length: number;\n /** The assessment text detected. */\n text: string;\n /** The indicator representing if the assessment is negated. */\n isNegated: boolean;\n}\n\n/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */\nexport interface LinkedEntity {\n /** Entity Linking formal name. */\n name: string;\n /** List of instances this entity appears in the text. */\n matches: Match[];\n /** Language used in the data source. */\n language: string;\n /** Unique identifier of the recognized entity from the data source. */\n dataSourceEntityId?: string;\n /** URL for the entity's page from the data source. */\n url: string;\n /** Data source used to extract entity linking, such as Wiki/Bing etc. */\n dataSource: string;\n /** Bing Entity Search API unique identifier of the recognized entity. */\n bingEntitySearchApiId?: string;\n}\n\n/** Details about the specific substring in a document that refers to a linked entity identified by the Language model. */\nexport interface Match {\n /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */\n confidenceScore: number;\n /** Entity text as appears in the request. */\n text: string;\n /** Start position for the entity match text. */\n offset: number;\n /** Length for the entity match text. */\n length: number;\n}\n\n/** A sentence that is part of the extracted summary. */\nexport interface SummarySentence {\n /** The extracted sentence text. */\n text: string;\n /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */\n rankScore: number;\n /** The sentence offset from the start of the document, based on the value of the parameter StringIndexType. */\n offset: number;\n /** The length of the sentence. */\n length: number;\n}\n\n/** Information about the language of a document as identified by the Language service. */\nexport interface DetectedLanguage {\n /** Long name of a detected language (e.g. English, French). */\n name: string;\n /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */\n iso6391Name: string;\n /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */\n confidenceScore: number;\n}\n\nexport interface Pagination {\n nextLink?: string;\n}\n\nexport interface JobMetadata {\n displayName?: string;\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdateDateTime: Date;\n status: State;\n}\n\nexport interface JobErrors {\n errors?: ErrorModel[];\n}\n\nexport type AnalyzeTextEntityLinkingInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinking\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\nexport type AnalyzeTextEntityRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\nexport type AnalyzeTextKeyPhraseExtractionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtraction\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type AnalyzeTextPiiEntitiesRecognitionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognition\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\nexport type AnalyzeTextLanguageDetectionInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetection\";\n analysisInput?: LanguageDetectionAnalysisInput;\n /** Options for a language detection action. */\n parameters?: LanguageDetectionAction;\n};\n\nexport type AnalyzeTextSentimentAnalysisInput = AnalyzeAction & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysis\";\n analysisInput?: MultiLanguageAnalysisInput;\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\nexport type SentimentTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"SentimentAnalysisResults\";\n results: SentimentResponse;\n};\n\nexport type EntitiesTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityRecognitionResults\";\n results: EntitiesResult;\n};\n\nexport type EntityLinkingTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"EntityLinkingResults\";\n results: EntityLinkingResult;\n};\n\nexport type PiiTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"PiiEntityRecognitionResults\";\n results: PiiResult;\n};\n\nexport type KeyPhraseTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"KeyPhraseExtractionResults\";\n results: KeyPhraseResult;\n};\n\nexport type LanguageDetectionTaskResult = AnalyzeTextTaskResult & {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"LanguageDetectionResults\";\n results: LanguageDetectionResult;\n};\n\nexport type AnalyzeBatchAction = BatchActionState & {\n /** Enumeration of supported long-running Text Analysis tasks. */\n kind: AnalyzeTextLROTaskKind;\n};\n\nexport type AnalyzeTextLROResult = TaskState &\n BatchActionState & {\n /** Enumeration of supported Text Analysis long-running operation task results. */\n kind: AnalyzeTextLROResultsKind;\n };\n\nexport type AnalyzeTextJobState = JobState &\n TasksState &\n AnalyzeTextJobStatistics;\n\n/** Configuration common to all actions that use prebuilt models. */\nexport type ActionPrebuilt = ActionCommon & {\n /** The version of the model to be used by the action. */\n modelVersion?: string;\n};\n\n/** Parameters object for a text analysis task using custom models. */\nexport type ActionCustom = ActionCommon & {\n projectName: string;\n deploymentName: string;\n};\n\nexport type HealthcareResult = PreBuiltResult & {\n documents: HealthcareResultDocumentsItem[];\n};\n\nexport type SentimentResponse = PreBuiltResult & {\n /** Sentiment analysis per document. */\n documents: SentimentResponseDocumentsItem[];\n};\n\nexport type EntitiesResult = PreBuiltResult & {\n /** Response by document */\n documents: EntitiesResultDocumentsItem[];\n};\n\nexport type EntityLinkingResult = PreBuiltResult & {\n /** Response by document */\n documents: EntityLinkingResultDocumentsItem[];\n};\n\nexport type PiiResult = PreBuiltResult & {\n /** Response by document */\n documents: PiiResultDocumentsItem[];\n};\n\nexport type ExtractiveSummarizationResult = PreBuiltResult & {\n /** Response by document */\n documents: ExtractiveSummarizationResultDocumentsItem[];\n};\n\nexport type KeyPhraseResult = PreBuiltResult & {\n /** Response by document */\n documents: KeyPhraseResultDocumentsItem[];\n};\n\nexport type LanguageDetectionResult = PreBuiltResult & {\n /** Response by document */\n documents: LanguageDetectionDocumentResult[];\n};\n\nexport type CustomEntitiesResult = CustomResult & {\n /** Response by document */\n documents: CustomEntitiesResultDocumentsItem[];\n};\n\nexport type CustomSingleLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomSingleLabelClassificationResultDocumentsItem[];\n};\n\nexport type CustomMultiLabelClassificationResult = CustomResult & {\n /** Response by document */\n documents: CustomMultiLabelClassificationResultDocumentsItem[];\n};\n\nexport type EntitiesDocumentResult = DocumentResult & {\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type SingleClassificationDocumentResult = DocumentResult & {\n /** A classification result from a custom classify document single category action */\n classification: ClassificationCategory;\n};\n\nexport type MultiClassificationDocumentResult = DocumentResult & {\n classifications: ClassificationCategory[];\n};\n\nexport type HealthcareEntitiesDocumentResult = DocumentResult & {\n /** Healthcare entities. */\n entities: HealthcareEntity[];\n /** Healthcare entity relations. */\n relations: HealthcareRelation[];\n /** JSON bundle containing a FHIR compatible object for consumption in other Healthcare tools. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirBundle?: { [propertyName: string]: any };\n};\n\nexport type SentimentDocumentResult = DocumentResult & {\n /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */\n sentiment: DocumentSentimentLabel;\n /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */\n confidenceScores: SentimentConfidenceScores;\n /** Sentence level sentiment analysis. */\n sentences: SentenceSentiment[];\n};\n\nexport type LinkedEntitiesDocumentResult = DocumentResult & {\n /** Recognized well known entities in the document. */\n entities: LinkedEntity[];\n};\n\nexport type PiiEntitiesDocumentResult = DocumentResult & {\n /** Returns redacted text. */\n redactedText: string;\n /** Recognized entities in the document. */\n entities: Entity[];\n};\n\nexport type ExtractedSummaryDocumentResult = DocumentResult & {\n /** A ranked list of sentences representing the extracted summary. */\n sentences: SummarySentence[];\n};\n\nexport type KeyPhrasesDocumentResult = DocumentResult & {\n /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */\n keyPhrases: string[];\n};\n\nexport type LanguageDetectionDocumentResult = DocumentResult & {\n /** Detected Language. */\n detectedLanguage: DetectedLanguage;\n};\n\n/** Use custom models to ease the process of information extraction from unstructured documents like contracts or financial documents */\nexport type CustomEntitiesLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Custom Entities task. */\n parameters?: CustomEntityRecognitionAction;\n};\n\n/** Use custom models to classify text into single label taxonomy */\nexport type CustomSingleLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a single-label classification custom action */\n parameters?: CustomSingleLabelClassificationAction;\n};\n\n/** Use custom models to classify text into multi label taxonomy */\nexport type CustomMultiLabelClassificationLROTask = AnalyzeBatchAction & {\n /** Options for a multi-label classification custom action */\n parameters?: CustomMultiLabelClassificationAction;\n};\n\nexport type HealthcareLROTask = AnalyzeBatchAction & {\n /** Supported parameters for a Healthcare task. */\n parameters?: HealthcareAction;\n};\n\n/** An object representing the task definition for a Sentiment Analysis task. */\nexport type SentimentAnalysisLROTask = AnalyzeBatchAction & {\n /** Options for a sentiment analysis action. */\n parameters?: SentimentAnalysisAction;\n};\n\n/** An object representing the task definition for an Entities Recognition task. */\nexport type EntitiesLROTask = AnalyzeBatchAction & {\n /** Options for an entity recognition action. */\n parameters?: EntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Entity Linking task. */\nexport type EntityLinkingLROTask = AnalyzeBatchAction & {\n /** Options for an entity linking action. */\n parameters?: EntityLinkingAction;\n};\n\n/** An object representing the task definition for a PII Entities Recognition task. */\nexport type PiiLROTask = AnalyzeBatchAction & {\n /** Options for a Pii entity recognition action. */\n parameters?: PiiEntityRecognitionAction;\n};\n\n/** An object representing the task definition for an Extractive Summarization task. */\nexport type ExtractiveSummarizationLROTask = AnalyzeBatchAction & {\n /** Supported parameters for an Extractive Summarization task. */\n parameters?: ExtractiveSummarizationAction;\n};\n\n/** An object representing the task definition for a Key Phrase Extraction task. */\nexport type KeyPhraseLROTask = AnalyzeBatchAction & {\n /** Options for a key phrase recognition action. */\n parameters?: KeyPhraseExtractionAction;\n};\n\nexport type EntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: EntitiesResult;\n};\n\nexport type CustomEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: CustomEntitiesResult;\n};\n\nexport type CustomSingleLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomSingleLabelClassificationResult;\n};\n\nexport type CustomMultiLabelClassificationLROResult = AnalyzeTextLROResult & {\n results: CustomMultiLabelClassificationResult;\n};\n\nexport type EntityLinkingLROResult = AnalyzeTextLROResult & {\n results: EntityLinkingResult;\n};\n\nexport type PiiEntityRecognitionLROResult = AnalyzeTextLROResult & {\n results: PiiResult;\n};\n\nexport type ExtractiveSummarizationLROResult = AnalyzeTextLROResult & {\n results: ExtractiveSummarizationResult;\n};\n\nexport type HealthcareLROResult = AnalyzeTextLROResult & {\n results: HealthcareResult;\n};\n\nexport type SentimentLROResult = AnalyzeTextLROResult & {\n results: SentimentResponse;\n};\n\nexport type KeyPhraseExtractionLROResult = AnalyzeTextLROResult & {\n results: KeyPhraseResult;\n};\n\n/** Options for an entity linking action. */\nexport type EntityLinkingAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for an entity recognition action. */\nexport type EntityRecognitionAction = ActionPrebuilt & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a key phrase recognition action. */\nexport type KeyPhraseExtractionAction = ActionPrebuilt;\n\n/** Options for a Pii entity recognition action. */\nexport type PiiEntityRecognitionAction = ActionPrebuilt & {\n /**\n * Filters entities to ones only included in the specified domain (e.g., if set to `Phi`, only entities in the Protected Healthcare Information domain will be returned). For a list of possible domains, see {@link PiiDomain}.\n *\n * See {@link https://aka.ms/tanerpii the service documentation} for more information.\n */\n domainFilter?: PiiDomain;\n /** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */\n categoriesFilter?: PiiCategory[];\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a language detection action. */\nexport type LanguageDetectionAction = ActionPrebuilt;\n\n/** Options for a sentiment analysis action. */\nexport type SentimentAnalysisAction = ActionPrebuilt & {\n /** Enables performing opinion mining on the input documents, a more granular analysis around the aspects of a product or service (also known as aspect-based sentiment analysis). If set to true, {@link SentenceSentiment.opinions} will contain the results of this analysis. See {@link https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview#opinion-mining the service documentation} for more information. */\n includeOpinionMining?: boolean;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Healthcare task. */\nexport type HealthcareAction = ActionPrebuilt & {\n /** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */\n fhirVersion?: FhirVersion;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for an Extractive Summarization task. */\nexport type ExtractiveSummarizationAction = ActionPrebuilt & {\n maxSentenceCount?: number;\n /** The sorting criteria to use for the results of Extractive Summarization. */\n orderBy?: ExtractiveSummarizationOrderingCriteria;\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Supported parameters for a Custom Entities task. */\nexport type CustomEntityRecognitionAction = ActionCustom & {\n /**\n * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n *\n * The default is the JavaScript's default which is \"Utf16CodeUnit\".\n */\n stringIndexType?: StringIndexType;\n};\n\n/** Options for a single-label classification custom action */\nexport type CustomSingleLabelClassificationAction = ActionCustom;\n\n/** Options for a multi-label classification custom action */\nexport type CustomMultiLabelClassificationAction = ActionCustom;\n\nexport type CustomEntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type EntitiesResultDocumentsItem = EntitiesDocumentResult;\n\nexport type CustomSingleLabelClassificationResultDocumentsItem = SingleClassificationDocumentResult;\n\nexport type CustomMultiLabelClassificationResultDocumentsItem = MultiClassificationDocumentResult;\n\nexport type HealthcareResultDocumentsItem = HealthcareEntitiesDocumentResult;\n\nexport type SentimentResponseDocumentsItem = SentimentDocumentResult;\n\nexport type EntityLinkingResultDocumentsItem = LinkedEntitiesDocumentResult;\n\nexport type PiiResultDocumentsItem = PiiEntitiesDocumentResult;\n\nexport type ExtractiveSummarizationResultDocumentsItem = ExtractedSummaryDocumentResult;\n\nexport type KeyPhraseResultDocumentsItem = KeyPhrasesDocumentResult;\n\n/** Defines headers for AnalyzeText_submitJob operation. */\nexport interface AnalyzeTextSubmitJobHeaders {\n operationLocation?: string;\n}\n\n/** Defines headers for AnalyzeText_cancelJob operation. */\nexport interface AnalyzeTextCancelJobHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n LanguageDetection = \"LanguageDetection\",\n EntityLinking = \"EntityLinking\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskKind. \\\n * {@link KnownAnalyzeTextTaskKind} can be used interchangeably with AnalyzeTextTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **LanguageDetection** \\\n * **EntityLinking**\n */\nexport type AnalyzeTextTaskKind = string;\n\n/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextTaskResultsKind {\n SentimentAnalysisResults = \"SentimentAnalysisResults\",\n EntityRecognitionResults = \"EntityRecognitionResults\",\n PiiEntityRecognitionResults = \"PiiEntityRecognitionResults\",\n KeyPhraseExtractionResults = \"KeyPhraseExtractionResults\",\n LanguageDetectionResults = \"LanguageDetectionResults\",\n EntityLinkingResults = \"EntityLinkingResults\"\n}\n\n/**\n * Defines values for AnalyzeTextTaskResultsKind. \\\n * {@link KnownAnalyzeTextTaskResultsKind} can be used interchangeably with AnalyzeTextTaskResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisResults** \\\n * **EntityRecognitionResults** \\\n * **PiiEntityRecognitionResults** \\\n * **KeyPhraseExtractionResults** \\\n * **LanguageDetectionResults** \\\n * **EntityLinkingResults**\n */\nexport type AnalyzeTextTaskResultsKind = string;\n\n/** Known values of {@link ErrorCode} that the service accepts. */\nexport enum KnownErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidArgument = \"InvalidArgument\",\n Unauthorized = \"Unauthorized\",\n Forbidden = \"Forbidden\",\n NotFound = \"NotFound\",\n ProjectNotFound = \"ProjectNotFound\",\n OperationNotFound = \"OperationNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchIndexNotFound = \"AzureCognitiveSearchIndexNotFound\",\n TooManyRequests = \"TooManyRequests\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n AzureCognitiveSearchIndexLimitReached = \"AzureCognitiveSearchIndexLimitReached\",\n InternalServerError = \"InternalServerError\",\n ServiceUnavailable = \"ServiceUnavailable\"\n}\n\n/**\n * Defines values for ErrorCode. \\\n * {@link KnownErrorCode} can be used interchangeably with ErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidArgument** \\\n * **Unauthorized** \\\n * **Forbidden** \\\n * **NotFound** \\\n * **ProjectNotFound** \\\n * **OperationNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchIndexNotFound** \\\n * **TooManyRequests** \\\n * **AzureCognitiveSearchThrottling** \\\n * **AzureCognitiveSearchIndexLimitReached** \\\n * **InternalServerError** \\\n * **ServiceUnavailable**\n */\nexport type ErrorCode = string;\n\n/** Known values of {@link InnerErrorCode} that the service accepts. */\nexport enum KnownInnerErrorCode {\n InvalidRequest = \"InvalidRequest\",\n InvalidParameterValue = \"InvalidParameterValue\",\n KnowledgeBaseNotFound = \"KnowledgeBaseNotFound\",\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n ExtractionFailure = \"ExtractionFailure\",\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n EmptyRequest = \"EmptyRequest\",\n MissingInputDocuments = \"MissingInputDocuments\",\n InvalidDocument = \"InvalidDocument\",\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n InvalidCountryHint = \"InvalidCountryHint\"\n}\n\n/**\n * Defines values for InnerErrorCode. \\\n * {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest** \\\n * **InvalidParameterValue** \\\n * **KnowledgeBaseNotFound** \\\n * **AzureCognitiveSearchNotFound** \\\n * **AzureCognitiveSearchThrottling** \\\n * **ExtractionFailure** \\\n * **InvalidRequestBodyFormat** \\\n * **EmptyRequest** \\\n * **MissingInputDocuments** \\\n * **InvalidDocument** \\\n * **ModelVersionIncorrect** \\\n * **InvalidDocumentBatch** \\\n * **UnsupportedLanguageCode** \\\n * **InvalidCountryHint**\n */\nexport type InnerErrorCode = string;\n\n/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROTaskKind {\n SentimentAnalysis = \"SentimentAnalysis\",\n EntityRecognition = \"EntityRecognition\",\n PiiEntityRecognition = \"PiiEntityRecognition\",\n KeyPhraseExtraction = \"KeyPhraseExtraction\",\n EntityLinking = \"EntityLinking\",\n Healthcare = \"Healthcare\",\n ExtractiveSummarization = \"ExtractiveSummarization\",\n CustomEntityRecognition = \"CustomEntityRecognition\",\n CustomSingleLabelClassification = \"CustomSingleLabelClassification\",\n CustomMultiLabelClassification = \"CustomMultiLabelClassification\"\n}\n\n/**\n * Defines values for AnalyzeTextLROTaskKind. \\\n * {@link KnownAnalyzeTextLROTaskKind} can be used interchangeably with AnalyzeTextLROTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysis** \\\n * **EntityRecognition** \\\n * **PiiEntityRecognition** \\\n * **KeyPhraseExtraction** \\\n * **EntityLinking** \\\n * **Healthcare** \\\n * **ExtractiveSummarization** \\\n * **CustomEntityRecognition** \\\n * **CustomSingleLabelClassification** \\\n * **CustomMultiLabelClassification**\n */\nexport type AnalyzeTextLROTaskKind = string;\n\n/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */\nexport enum KnownAnalyzeTextLROResultsKind {\n SentimentAnalysisLROResults = \"SentimentAnalysisLROResults\",\n EntityRecognitionLROResults = \"EntityRecognitionLROResults\",\n PiiEntityRecognitionLROResults = \"PiiEntityRecognitionLROResults\",\n KeyPhraseExtractionLROResults = \"KeyPhraseExtractionLROResults\",\n EntityLinkingLROResults = \"EntityLinkingLROResults\",\n HealthcareLROResults = \"HealthcareLROResults\",\n ExtractiveSummarizationLROResults = \"ExtractiveSummarizationLROResults\",\n CustomEntityRecognitionLROResults = \"CustomEntityRecognitionLROResults\",\n CustomSingleLabelClassificationLROResults = \"CustomSingleLabelClassificationLROResults\",\n CustomMultiLabelClassificationLROResults = \"CustomMultiLabelClassificationLROResults\"\n}\n\n/**\n * Defines values for AnalyzeTextLROResultsKind. \\\n * {@link KnownAnalyzeTextLROResultsKind} can be used interchangeably with AnalyzeTextLROResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SentimentAnalysisLROResults** \\\n * **EntityRecognitionLROResults** \\\n * **PiiEntityRecognitionLROResults** \\\n * **KeyPhraseExtractionLROResults** \\\n * **EntityLinkingLROResults** \\\n * **HealthcareLROResults** \\\n * **ExtractiveSummarizationLROResults** \\\n * **CustomEntityRecognitionLROResults** \\\n * **CustomSingleLabelClassificationLROResults** \\\n * **CustomMultiLabelClassificationLROResults**\n */\nexport type AnalyzeTextLROResultsKind = string;\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementsV8 = \"TextElements_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\"\n}\n\n/**\n * Defines values for StringIndexType. \\\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElements_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \\\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \\\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link PiiDomain} that the service accepts. */\nexport enum KnownPiiDomain {\n /** Indicates that entities in the Personal Health Information domain should be redacted. */\n Phi = \"phi\",\n /** Indicates that no domain is specified. */\n None = \"none\"\n}\n\n/**\n * Defines values for PiiDomain. \\\n * {@link KnownPiiDomain} can be used interchangeably with PiiDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \\\n * **none**: Indicates that no domain is specified.\n */\nexport type PiiDomain = string;\n\n/** Known values of {@link PiiCategory} that the service accepts. */\nexport enum KnownPiiCategory {\n ABARoutingNumber = \"ABARoutingNumber\",\n ARNationalIdentityNumber = \"ARNationalIdentityNumber\",\n AUBankAccountNumber = \"AUBankAccountNumber\",\n AUDriversLicenseNumber = \"AUDriversLicenseNumber\",\n AUMedicalAccountNumber = \"AUMedicalAccountNumber\",\n AUPassportNumber = \"AUPassportNumber\",\n AUTaxFileNumber = \"AUTaxFileNumber\",\n AUBusinessNumber = \"AUBusinessNumber\",\n AUCompanyNumber = \"AUCompanyNumber\",\n ATIdentityCard = \"ATIdentityCard\",\n ATTaxIdentificationNumber = \"ATTaxIdentificationNumber\",\n ATValueAddedTaxNumber = \"ATValueAddedTaxNumber\",\n AzureDocumentDBAuthKey = \"AzureDocumentDBAuthKey\",\n AzureIaasDatabaseConnectionAndSQLString = \"AzureIAASDatabaseConnectionAndSQLString\",\n AzureIoTConnectionString = \"AzureIoTConnectionString\",\n AzurePublishSettingPassword = \"AzurePublishSettingPassword\",\n AzureRedisCacheString = \"AzureRedisCacheString\",\n AzureSAS = \"AzureSAS\",\n AzureServiceBusString = \"AzureServiceBusString\",\n AzureStorageAccountKey = \"AzureStorageAccountKey\",\n AzureStorageAccountGeneric = \"AzureStorageAccountGeneric\",\n BENationalNumber = \"BENationalNumber\",\n BENationalNumberV2 = \"BENationalNumberV2\",\n BEValueAddedTaxNumber = \"BEValueAddedTaxNumber\",\n BrcpfNumber = \"BRCPFNumber\",\n BRLegalEntityNumber = \"BRLegalEntityNumber\",\n BRNationalIdrg = \"BRNationalIDRG\",\n BGUniformCivilNumber = \"BGUniformCivilNumber\",\n CABankAccountNumber = \"CABankAccountNumber\",\n CADriversLicenseNumber = \"CADriversLicenseNumber\",\n CAHealthServiceNumber = \"CAHealthServiceNumber\",\n CAPassportNumber = \"CAPassportNumber\",\n CAPersonalHealthIdentification = \"CAPersonalHealthIdentification\",\n CASocialInsuranceNumber = \"CASocialInsuranceNumber\",\n CLIdentityCardNumber = \"CLIdentityCardNumber\",\n CNResidentIdentityCardNumber = \"CNResidentIdentityCardNumber\",\n CreditCardNumber = \"CreditCardNumber\",\n HRIdentityCardNumber = \"HRIdentityCardNumber\",\n HRNationalIDNumber = \"HRNationalIDNumber\",\n HRPersonalIdentificationNumber = \"HRPersonalIdentificationNumber\",\n HRPersonalIdentificationOIBNumberV2 = \"HRPersonalIdentificationOIBNumberV2\",\n CYIdentityCard = \"CYIdentityCard\",\n CYTaxIdentificationNumber = \"CYTaxIdentificationNumber\",\n CZPersonalIdentityNumber = \"CZPersonalIdentityNumber\",\n CZPersonalIdentityV2 = \"CZPersonalIdentityV2\",\n DKPersonalIdentificationNumber = \"DKPersonalIdentificationNumber\",\n DKPersonalIdentificationV2 = \"DKPersonalIdentificationV2\",\n DrugEnforcementAgencyNumber = \"DrugEnforcementAgencyNumber\",\n EEPersonalIdentificationCode = \"EEPersonalIdentificationCode\",\n EUDebitCardNumber = \"EUDebitCardNumber\",\n EUDriversLicenseNumber = \"EUDriversLicenseNumber\",\n EugpsCoordinates = \"EUGPSCoordinates\",\n EUNationalIdentificationNumber = \"EUNationalIdentificationNumber\",\n EUPassportNumber = \"EUPassportNumber\",\n EUSocialSecurityNumber = \"EUSocialSecurityNumber\",\n EUTaxIdentificationNumber = \"EUTaxIdentificationNumber\",\n FIEuropeanHealthNumber = \"FIEuropeanHealthNumber\",\n FINationalID = \"FINationalID\",\n FINationalIDV2 = \"FINationalIDV2\",\n FIPassportNumber = \"FIPassportNumber\",\n FRDriversLicenseNumber = \"FRDriversLicenseNumber\",\n FRHealthInsuranceNumber = \"FRHealthInsuranceNumber\",\n FRNationalID = \"FRNationalID\",\n FRPassportNumber = \"FRPassportNumber\",\n FRSocialSecurityNumber = \"FRSocialSecurityNumber\",\n FRTaxIdentificationNumber = \"FRTaxIdentificationNumber\",\n FRValueAddedTaxNumber = \"FRValueAddedTaxNumber\",\n DEDriversLicenseNumber = \"DEDriversLicenseNumber\",\n DEPassportNumber = \"DEPassportNumber\",\n DEIdentityCardNumber = \"DEIdentityCardNumber\",\n DETaxIdentificationNumber = \"DETaxIdentificationNumber\",\n DEValueAddedNumber = \"DEValueAddedNumber\",\n GRNationalIDCard = \"GRNationalIDCard\",\n GRNationalIDV2 = \"GRNationalIDV2\",\n GRTaxIdentificationNumber = \"GRTaxIdentificationNumber\",\n HKIdentityCardNumber = \"HKIdentityCardNumber\",\n HUValueAddedNumber = \"HUValueAddedNumber\",\n HUPersonalIdentificationNumber = \"HUPersonalIdentificationNumber\",\n HUTaxIdentificationNumber = \"HUTaxIdentificationNumber\",\n INPermanentAccount = \"INPermanentAccount\",\n INUniqueIdentificationNumber = \"INUniqueIdentificationNumber\",\n IDIdentityCardNumber = \"IDIdentityCardNumber\",\n InternationalBankingAccountNumber = \"InternationalBankingAccountNumber\",\n IEPersonalPublicServiceNumber = \"IEPersonalPublicServiceNumber\",\n IEPersonalPublicServiceNumberV2 = \"IEPersonalPublicServiceNumberV2\",\n ILBankAccountNumber = \"ILBankAccountNumber\",\n ILNationalID = \"ILNationalID\",\n ITDriversLicenseNumber = \"ITDriversLicenseNumber\",\n ITFiscalCode = \"ITFiscalCode\",\n ITValueAddedTaxNumber = \"ITValueAddedTaxNumber\",\n JPBankAccountNumber = \"JPBankAccountNumber\",\n JPDriversLicenseNumber = \"JPDriversLicenseNumber\",\n JPPassportNumber = \"JPPassportNumber\",\n JPResidentRegistrationNumber = \"JPResidentRegistrationNumber\",\n JPSocialInsuranceNumber = \"JPSocialInsuranceNumber\",\n JPMyNumberCorporate = \"JPMyNumberCorporate\",\n JPMyNumberPersonal = \"JPMyNumberPersonal\",\n JPResidenceCardNumber = \"JPResidenceCardNumber\",\n LVPersonalCode = \"LVPersonalCode\",\n LTPersonalCode = \"LTPersonalCode\",\n LUNationalIdentificationNumberNatural = \"LUNationalIdentificationNumberNatural\",\n LUNationalIdentificationNumberNonNatural = \"LUNationalIdentificationNumberNonNatural\",\n MYIdentityCardNumber = \"MYIdentityCardNumber\",\n MTIdentityCardNumber = \"MTIdentityCardNumber\",\n MTTaxIDNumber = \"MTTaxIDNumber\",\n NLCitizensServiceNumber = \"NLCitizensServiceNumber\",\n NLCitizensServiceNumberV2 = \"NLCitizensServiceNumberV2\",\n NLTaxIdentificationNumber = \"NLTaxIdentificationNumber\",\n NLValueAddedTaxNumber = \"NLValueAddedTaxNumber\",\n NZBankAccountNumber = \"NZBankAccountNumber\",\n NZDriversLicenseNumber = \"NZDriversLicenseNumber\",\n NZInlandRevenueNumber = \"NZInlandRevenueNumber\",\n NZMinistryOfHealthNumber = \"NZMinistryOfHealthNumber\",\n NZSocialWelfareNumber = \"NZSocialWelfareNumber\",\n NOIdentityNumber = \"NOIdentityNumber\",\n PHUnifiedMultiPurposeIDNumber = \"PHUnifiedMultiPurposeIDNumber\",\n PLIdentityCard = \"PLIdentityCard\",\n PLNationalID = \"PLNationalID\",\n PLNationalIDV2 = \"PLNationalIDV2\",\n PLPassportNumber = \"PLPassportNumber\",\n PLTaxIdentificationNumber = \"PLTaxIdentificationNumber\",\n PlregonNumber = \"PLREGONNumber\",\n PTCitizenCardNumber = \"PTCitizenCardNumber\",\n PTCitizenCardNumberV2 = \"PTCitizenCardNumberV2\",\n PTTaxIdentificationNumber = \"PTTaxIdentificationNumber\",\n ROPersonalNumericalCode = \"ROPersonalNumericalCode\",\n RUPassportNumberDomestic = \"RUPassportNumberDomestic\",\n RUPassportNumberInternational = \"RUPassportNumberInternational\",\n SANationalID = \"SANationalID\",\n SGNationalRegistrationIdentityCardNumber = \"SGNationalRegistrationIdentityCardNumber\",\n SKPersonalNumber = \"SKPersonalNumber\",\n SITaxIdentificationNumber = \"SITaxIdentificationNumber\",\n SIUniqueMasterCitizenNumber = \"SIUniqueMasterCitizenNumber\",\n ZAIdentificationNumber = \"ZAIdentificationNumber\",\n KRResidentRegistrationNumber = \"KRResidentRegistrationNumber\",\n Esdni = \"ESDNI\",\n ESSocialSecurityNumber = \"ESSocialSecurityNumber\",\n ESTaxIdentificationNumber = \"ESTaxIdentificationNumber\",\n SQLServerConnectionString = \"SQLServerConnectionString\",\n SENationalID = \"SENationalID\",\n SENationalIDV2 = \"SENationalIDV2\",\n SEPassportNumber = \"SEPassportNumber\",\n SETaxIdentificationNumber = \"SETaxIdentificationNumber\",\n SwiftCode = \"SWIFTCode\",\n CHSocialSecurityNumber = \"CHSocialSecurityNumber\",\n TWNationalID = \"TWNationalID\",\n TWPassportNumber = \"TWPassportNumber\",\n TWResidentCertificate = \"TWResidentCertificate\",\n THPopulationIdentificationCode = \"THPopulationIdentificationCode\",\n TRNationalIdentificationNumber = \"TRNationalIdentificationNumber\",\n UKDriversLicenseNumber = \"UKDriversLicenseNumber\",\n UKElectoralRollNumber = \"UKElectoralRollNumber\",\n UKNationalHealthNumber = \"UKNationalHealthNumber\",\n UKNationalInsuranceNumber = \"UKNationalInsuranceNumber\",\n UKUniqueTaxpayerNumber = \"UKUniqueTaxpayerNumber\",\n UsukPassportNumber = \"USUKPassportNumber\",\n USBankAccountNumber = \"USBankAccountNumber\",\n USDriversLicenseNumber = \"USDriversLicenseNumber\",\n USIndividualTaxpayerIdentification = \"USIndividualTaxpayerIdentification\",\n USSocialSecurityNumber = \"USSocialSecurityNumber\",\n UAPassportNumberDomestic = \"UAPassportNumberDomestic\",\n UAPassportNumberInternational = \"UAPassportNumberInternational\",\n Organization = \"Organization\",\n Email = \"Email\",\n URL = \"URL\",\n Age = \"Age\",\n PhoneNumber = \"PhoneNumber\",\n IPAddress = \"IPAddress\",\n Date = \"Date\",\n Person = \"Person\",\n Address = \"Address\",\n All = \"All\",\n Default = \"Default\"\n}\n\n/**\n * Defines values for PiiCategory. \\\n * {@link KnownPiiCategory} can be used interchangeably with PiiCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ABARoutingNumber** \\\n * **ARNationalIdentityNumber** \\\n * **AUBankAccountNumber** \\\n * **AUDriversLicenseNumber** \\\n * **AUMedicalAccountNumber** \\\n * **AUPassportNumber** \\\n * **AUTaxFileNumber** \\\n * **AUBusinessNumber** \\\n * **AUCompanyNumber** \\\n * **ATIdentityCard** \\\n * **ATTaxIdentificationNumber** \\\n * **ATValueAddedTaxNumber** \\\n * **AzureDocumentDBAuthKey** \\\n * **AzureIAASDatabaseConnectionAndSQLString** \\\n * **AzureIoTConnectionString** \\\n * **AzurePublishSettingPassword** \\\n * **AzureRedisCacheString** \\\n * **AzureSAS** \\\n * **AzureServiceBusString** \\\n * **AzureStorageAccountKey** \\\n * **AzureStorageAccountGeneric** \\\n * **BENationalNumber** \\\n * **BENationalNumberV2** \\\n * **BEValueAddedTaxNumber** \\\n * **BRCPFNumber** \\\n * **BRLegalEntityNumber** \\\n * **BRNationalIDRG** \\\n * **BGUniformCivilNumber** \\\n * **CABankAccountNumber** \\\n * **CADriversLicenseNumber** \\\n * **CAHealthServiceNumber** \\\n * **CAPassportNumber** \\\n * **CAPersonalHealthIdentification** \\\n * **CASocialInsuranceNumber** \\\n * **CLIdentityCardNumber** \\\n * **CNResidentIdentityCardNumber** \\\n * **CreditCardNumber** \\\n * **HRIdentityCardNumber** \\\n * **HRNationalIDNumber** \\\n * **HRPersonalIdentificationNumber** \\\n * **HRPersonalIdentificationOIBNumberV2** \\\n * **CYIdentityCard** \\\n * **CYTaxIdentificationNumber** \\\n * **CZPersonalIdentityNumber** \\\n * **CZPersonalIdentityV2** \\\n * **DKPersonalIdentificationNumber** \\\n * **DKPersonalIdentificationV2** \\\n * **DrugEnforcementAgencyNumber** \\\n * **EEPersonalIdentificationCode** \\\n * **EUDebitCardNumber** \\\n * **EUDriversLicenseNumber** \\\n * **EUGPSCoordinates** \\\n * **EUNationalIdentificationNumber** \\\n * **EUPassportNumber** \\\n * **EUSocialSecurityNumber** \\\n * **EUTaxIdentificationNumber** \\\n * **FIEuropeanHealthNumber** \\\n * **FINationalID** \\\n * **FINationalIDV2** \\\n * **FIPassportNumber** \\\n * **FRDriversLicenseNumber** \\\n * **FRHealthInsuranceNumber** \\\n * **FRNationalID** \\\n * **FRPassportNumber** \\\n * **FRSocialSecurityNumber** \\\n * **FRTaxIdentificationNumber** \\\n * **FRValueAddedTaxNumber** \\\n * **DEDriversLicenseNumber** \\\n * **DEPassportNumber** \\\n * **DEIdentityCardNumber** \\\n * **DETaxIdentificationNumber** \\\n * **DEValueAddedNumber** \\\n * **GRNationalIDCard** \\\n * **GRNationalIDV2** \\\n * **GRTaxIdentificationNumber** \\\n * **HKIdentityCardNumber** \\\n * **HUValueAddedNumber** \\\n * **HUPersonalIdentificationNumber** \\\n * **HUTaxIdentificationNumber** \\\n * **INPermanentAccount** \\\n * **INUniqueIdentificationNumber** \\\n * **IDIdentityCardNumber** \\\n * **InternationalBankingAccountNumber** \\\n * **IEPersonalPublicServiceNumber** \\\n * **IEPersonalPublicServiceNumberV2** \\\n * **ILBankAccountNumber** \\\n * **ILNationalID** \\\n * **ITDriversLicenseNumber** \\\n * **ITFiscalCode** \\\n * **ITValueAddedTaxNumber** \\\n * **JPBankAccountNumber** \\\n * **JPDriversLicenseNumber** \\\n * **JPPassportNumber** \\\n * **JPResidentRegistrationNumber** \\\n * **JPSocialInsuranceNumber** \\\n * **JPMyNumberCorporate** \\\n * **JPMyNumberPersonal** \\\n * **JPResidenceCardNumber** \\\n * **LVPersonalCode** \\\n * **LTPersonalCode** \\\n * **LUNationalIdentificationNumberNatural** \\\n * **LUNationalIdentificationNumberNonNatural** \\\n * **MYIdentityCardNumber** \\\n * **MTIdentityCardNumber** \\\n * **MTTaxIDNumber** \\\n * **NLCitizensServiceNumber** \\\n * **NLCitizensServiceNumberV2** \\\n * **NLTaxIdentificationNumber** \\\n * **NLValueAddedTaxNumber** \\\n * **NZBankAccountNumber** \\\n * **NZDriversLicenseNumber** \\\n * **NZInlandRevenueNumber** \\\n * **NZMinistryOfHealthNumber** \\\n * **NZSocialWelfareNumber** \\\n * **NOIdentityNumber** \\\n * **PHUnifiedMultiPurposeIDNumber** \\\n * **PLIdentityCard** \\\n * **PLNationalID** \\\n * **PLNationalIDV2** \\\n * **PLPassportNumber** \\\n * **PLTaxIdentificationNumber** \\\n * **PLREGONNumber** \\\n * **PTCitizenCardNumber** \\\n * **PTCitizenCardNumberV2** \\\n * **PTTaxIdentificationNumber** \\\n * **ROPersonalNumericalCode** \\\n * **RUPassportNumberDomestic** \\\n * **RUPassportNumberInternational** \\\n * **SANationalID** \\\n * **SGNationalRegistrationIdentityCardNumber** \\\n * **SKPersonalNumber** \\\n * **SITaxIdentificationNumber** \\\n * **SIUniqueMasterCitizenNumber** \\\n * **ZAIdentificationNumber** \\\n * **KRResidentRegistrationNumber** \\\n * **ESDNI** \\\n * **ESSocialSecurityNumber** \\\n * **ESTaxIdentificationNumber** \\\n * **SQLServerConnectionString** \\\n * **SENationalID** \\\n * **SENationalIDV2** \\\n * **SEPassportNumber** \\\n * **SETaxIdentificationNumber** \\\n * **SWIFTCode** \\\n * **CHSocialSecurityNumber** \\\n * **TWNationalID** \\\n * **TWPassportNumber** \\\n * **TWResidentCertificate** \\\n * **THPopulationIdentificationCode** \\\n * **TRNationalIdentificationNumber** \\\n * **UKDriversLicenseNumber** \\\n * **UKElectoralRollNumber** \\\n * **UKNationalHealthNumber** \\\n * **UKNationalInsuranceNumber** \\\n * **UKUniqueTaxpayerNumber** \\\n * **USUKPassportNumber** \\\n * **USBankAccountNumber** \\\n * **USDriversLicenseNumber** \\\n * **USIndividualTaxpayerIdentification** \\\n * **USSocialSecurityNumber** \\\n * **UAPassportNumberDomestic** \\\n * **UAPassportNumberInternational** \\\n * **Organization** \\\n * **Email** \\\n * **URL** \\\n * **Age** \\\n * **PhoneNumber** \\\n * **IPAddress** \\\n * **Date** \\\n * **Person** \\\n * **Address** \\\n * **All** \\\n * **Default**\n */\nexport type PiiCategory = string;\n\n/** Known values of {@link WarningCode} that the service accepts. */\nexport enum KnownWarningCode {\n LongWordsInDocument = \"LongWordsInDocument\",\n DocumentTruncated = \"DocumentTruncated\"\n}\n\n/**\n * Defines values for WarningCode. \\\n * {@link KnownWarningCode} can be used interchangeably with WarningCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LongWordsInDocument** \\\n * **DocumentTruncated**\n */\nexport type WarningCode = string;\n\n/** Known values of {@link FhirVersion} that the service accepts. */\nexport enum KnownFhirVersion {\n Four01 = \"4.0.1\"\n}\n\n/**\n * Defines values for FhirVersion. \\\n * {@link KnownFhirVersion} can be used interchangeably with FhirVersion,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **4.0.1**\n */\nexport type FhirVersion = string;\n\n/** Known values of {@link HealthcareEntityCategory} that the service accepts. */\nexport enum KnownHealthcareEntityCategory {\n BodyStructure = \"BODY_STRUCTURE\",\n AGE = \"AGE\",\n Gender = \"GENDER\",\n ExaminationName = \"EXAMINATION_NAME\",\n Date = \"DATE\",\n Direction = \"DIRECTION\",\n Frequency = \"FREQUENCY\",\n MeasurementValue = \"MEASUREMENT_VALUE\",\n MeasurementUnit = \"MEASUREMENT_UNIT\",\n RelationalOperator = \"RELATIONAL_OPERATOR\",\n Time = \"TIME\",\n GeneORProtein = \"GENE_OR_PROTEIN\",\n Variant = \"VARIANT\",\n AdministrativeEvent = \"ADMINISTRATIVE_EVENT\",\n CareEnvironment = \"CARE_ENVIRONMENT\",\n HealthcareProfession = \"HEALTHCARE_PROFESSION\",\n Diagnosis = \"DIAGNOSIS\",\n SymptomORSign = \"SYMPTOM_OR_SIGN\",\n ConditionQualifier = \"CONDITION_QUALIFIER\",\n MedicationClass = \"MEDICATION_CLASS\",\n MedicationName = \"MEDICATION_NAME\",\n Dosage = \"DOSAGE\",\n MedicationForm = \"MEDICATION_FORM\",\n MedicationRoute = \"MEDICATION_ROUTE\",\n FamilyRelation = \"FAMILY_RELATION\",\n TreatmentName = \"TREATMENT_NAME\"\n}\n\n/**\n * Defines values for HealthcareEntityCategory. \\\n * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **BODY_STRUCTURE** \\\n * **AGE** \\\n * **GENDER** \\\n * **EXAMINATION_NAME** \\\n * **DATE** \\\n * **DIRECTION** \\\n * **FREQUENCY** \\\n * **MEASUREMENT_VALUE** \\\n * **MEASUREMENT_UNIT** \\\n * **RELATIONAL_OPERATOR** \\\n * **TIME** \\\n * **GENE_OR_PROTEIN** \\\n * **VARIANT** \\\n * **ADMINISTRATIVE_EVENT** \\\n * **CARE_ENVIRONMENT** \\\n * **HEALTHCARE_PROFESSION** \\\n * **DIAGNOSIS** \\\n * **SYMPTOM_OR_SIGN** \\\n * **CONDITION_QUALIFIER** \\\n * **MEDICATION_CLASS** \\\n * **MEDICATION_NAME** \\\n * **DOSAGE** \\\n * **MEDICATION_FORM** \\\n * **MEDICATION_ROUTE** \\\n * **FAMILY_RELATION** \\\n * **TREATMENT_NAME**\n */\nexport type HealthcareEntityCategory = string;\n\n/** Known values of {@link RelationType} that the service accepts. */\nexport enum KnownRelationType {\n Abbreviation = \"Abbreviation\",\n DirectionOfBodyStructure = \"DirectionOfBodyStructure\",\n DirectionOfCondition = \"DirectionOfCondition\",\n DirectionOfExamination = \"DirectionOfExamination\",\n DirectionOfTreatment = \"DirectionOfTreatment\",\n DosageOfMedication = \"DosageOfMedication\",\n FormOfMedication = \"FormOfMedication\",\n FrequencyOfMedication = \"FrequencyOfMedication\",\n FrequencyOfTreatment = \"FrequencyOfTreatment\",\n QualifierOfCondition = \"QualifierOfCondition\",\n RelationOfExamination = \"RelationOfExamination\",\n RouteOfMedication = \"RouteOfMedication\",\n TimeOfCondition = \"TimeOfCondition\",\n TimeOfEvent = \"TimeOfEvent\",\n TimeOfExamination = \"TimeOfExamination\",\n TimeOfMedication = \"TimeOfMedication\",\n TimeOfTreatment = \"TimeOfTreatment\",\n UnitOfCondition = \"UnitOfCondition\",\n UnitOfExamination = \"UnitOfExamination\",\n ValueOfCondition = \"ValueOfCondition\",\n ValueOfExamination = \"ValueOfExamination\"\n}\n\n/**\n * Defines values for RelationType. \\\n * {@link KnownRelationType} can be used interchangeably with RelationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Abbreviation** \\\n * **DirectionOfBodyStructure** \\\n * **DirectionOfCondition** \\\n * **DirectionOfExamination** \\\n * **DirectionOfTreatment** \\\n * **DosageOfMedication** \\\n * **FormOfMedication** \\\n * **FrequencyOfMedication** \\\n * **FrequencyOfTreatment** \\\n * **QualifierOfCondition** \\\n * **RelationOfExamination** \\\n * **RouteOfMedication** \\\n * **TimeOfCondition** \\\n * **TimeOfEvent** \\\n * **TimeOfExamination** \\\n * **TimeOfMedication** \\\n * **TimeOfTreatment** \\\n * **UnitOfCondition** \\\n * **UnitOfExamination** \\\n * **ValueOfCondition** \\\n * **ValueOfExamination**\n */\nexport type RelationType = string;\n\n/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */\nexport enum KnownExtractiveSummarizationOrderingCriteria {\n /** Indicates that results should be sorted in order of appearance in the text. */\n Offset = \"Offset\",\n /** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */\n Rank = \"Rank\"\n}\n\n/**\n * Defines values for ExtractiveSummarizationOrderingCriteria. \\\n * {@link KnownExtractiveSummarizationOrderingCriteria} can be used interchangeably with ExtractiveSummarizationOrderingCriteria,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Offset**: Indicates that results should be sorted in order of appearance in the text. \\\n * **Rank**: Indicates that results should be sorted in order of importance (i.e. rank score) according to the model.\n */\nexport type ExtractiveSummarizationOrderingCriteria = string;\n/** Defines values for OperationStatus. */\nexport type OperationStatus =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for State. */\nexport type State =\n | \"notStarted\"\n | \"running\"\n | \"succeeded\"\n | \"partiallySucceeded\"\n | \"failed\"\n | \"cancelled\"\n | \"cancelling\";\n/** Defines values for Conditionality. */\nexport type Conditionality = \"hypothetical\" | \"conditional\";\n/** Defines values for Certainty. */\nexport type Certainty =\n | \"positive\"\n | \"positivePossible\"\n | \"neutralPossible\"\n | \"negativePossible\"\n | \"negative\";\n/** Defines values for Association. */\nexport type Association = \"subject\" | \"other\";\n/** Defines values for DocumentSentimentLabel. */\nexport type DocumentSentimentLabel =\n | \"positive\"\n | \"neutral\"\n | \"negative\"\n | \"mixed\";\n/** Defines values for SentenceSentimentLabel. */\nexport type SentenceSentimentLabel = \"positive\" | \"neutral\" | \"negative\";\n/** Defines values for TokenSentimentLabel. */\nexport type TokenSentimentLabel = \"positive\" | \"mixed\" | \"negative\";\n/** Defines values for TargetRelationType. */\nexport type TargetRelationType = \"assessment\" | \"target\";\n\n/** Optional parameters. */\nexport interface AnalyzeOptionalParams extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n}\n\n/** Contains response data for the analyze operation. */\nexport type AnalyzeResponse = AnalyzeTextTaskResultUnion;\n\n/** Optional parameters. */\nexport interface AnalyzeTextSubmitJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the submitJob operation. */\nexport type AnalyzeTextSubmitJobResponse = AnalyzeTextSubmitJobHeaders;\n\n/** Optional parameters. */\nexport interface AnalyzeTextJobStatusOptionalParams\n extends coreClient.OperationOptions {\n /** (Optional) if set to true, response will contain request and document level statistics. */\n includeStatistics?: boolean;\n /** The maximum number of resources to return from the collection. */\n top?: number;\n /** An offset into the collection of the first resource to be returned. */\n skip?: number;\n}\n\n/** Contains response data for the jobStatus operation. */\nexport type AnalyzeTextJobStatusResponse = AnalyzeTextJobState;\n\n/** Optional parameters. */\nexport interface AnalyzeTextCancelJobOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the cancelJob operation. */\nexport type AnalyzeTextCancelJobResponse = AnalyzeTextCancelJobHeaders;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|