@azure/ai-language-text 1.1.0-beta.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,27 +105,6 @@ export declare interface ActionPrebuilt extends ActionCommon {
105
105
  modelVersion?: string;
106
106
  }
107
107
 
108
- /** Represents the Age entity resolution model. */
109
- export declare interface AgeResolution extends BaseResolution, QuantityResolution {
110
- /** Polymorphic discriminator, which specifies the different types this object can be */
111
- resolutionKind: "AgeResolution";
112
- /** The Age Unit of measurement */
113
- unit: AgeUnit;
114
- }
115
-
116
- /**
117
- * Defines values for AgeUnit. \
118
- * {@link KnownAgeUnit} can be used interchangeably with AgeUnit,
119
- * this enum contains the known values that the service supports.
120
- * ### Known values supported by the service
121
- * **Unspecified** \
122
- * **Year** \
123
- * **Month** \
124
- * **Week** \
125
- * **Day**
126
- */
127
- export declare type AgeUnit = string;
128
-
129
108
  /**
130
109
  * Type of actions supported by the {@link TextAnalysisClient.analyze} method.
131
110
  */
@@ -141,7 +120,6 @@ export declare const AnalyzeActionNames: {
141
120
  readonly PiiEntityRecognition: "PiiEntityRecognition";
142
121
  readonly LanguageDetection: "LanguageDetection";
143
122
  readonly SentimentAnalysis: "SentimentAnalysis";
144
- readonly DynamicClassification: "DynamicClassification";
145
123
  };
146
124
 
147
125
  /**
@@ -153,7 +131,6 @@ export declare type AnalyzeActionParameters<ActionName extends AnalyzeActionName
153
131
  PiiEntityRecognition: PiiEntityRecognitionAction;
154
132
  KeyPhraseExtraction: KeyPhraseExtractionAction;
155
133
  SentimentAnalysis: SentimentAnalysisAction;
156
- DynamicClassification: DynamicClassificationAction;
157
134
  LanguageDetection: LanguageDetectionAction;
158
135
  }[ActionName];
159
136
 
@@ -257,39 +234,9 @@ export declare type AnalyzeResult<ActionName extends AnalyzeActionName> = {
257
234
  PiiEntityRecognition: PiiEntityRecognitionResult[];
258
235
  KeyPhraseExtraction: KeyPhraseExtractionResult[];
259
236
  SentimentAnalysis: SentimentAnalysisResult[];
260
- DynamicClassification: DynamicClassificationResult[];
261
237
  LanguageDetection: LanguageDetectionResult[];
262
238
  }[ActionName];
263
239
 
264
- /** Represents the area entity resolution model. */
265
- export declare interface AreaResolution extends BaseResolution, QuantityResolution {
266
- /** Polymorphic discriminator, which specifies the different types this object can be */
267
- resolutionKind: "AreaResolution";
268
- /** The area Unit of measurement */
269
- unit: AreaUnit;
270
- }
271
-
272
- /**
273
- * Defines values for AreaUnit. \
274
- * {@link KnownAreaUnit} can be used interchangeably with AreaUnit,
275
- * this enum contains the known values that the service supports.
276
- * ### Known values supported by the service
277
- * **Unspecified** \
278
- * **SquareKilometer** \
279
- * **SquareHectometer** \
280
- * **SquareDecameter** \
281
- * **SquareDecimeter** \
282
- * **SquareMeter** \
283
- * **SquareCentimeter** \
284
- * **SquareMillimeter** \
285
- * **SquareInch** \
286
- * **SquareFoot** \
287
- * **SquareMile** \
288
- * **SquareYard** \
289
- * **Acre**
290
- */
291
- export declare type AreaUnit = string;
292
-
293
240
  /** 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'. */
294
241
  export declare interface AssessmentSentiment {
295
242
  /** Assessment sentiment in the sentence. */
@@ -308,14 +255,6 @@ export declare interface AssessmentSentiment {
308
255
 
309
256
  export { AzureKeyCredential }
310
257
 
311
- /** The abstract base class for entity resolutions. */
312
- export declare interface BaseResolution {
313
- /** Polymorphic discriminator, which specifies the different types this object can be */
314
- resolutionKind: "AgeResolution" | "VolumeResolution" | "SpeedResolution" | "AreaResolution" | "LengthResolution" | "InformationResolution" | "TemperatureResolution" | "WeightResolution" | "CurrencyResolution" | "BooleanResolution" | "DateTimeResolution" | "NumberResolution" | "OrdinalResolution" | "TemporalSpanResolution" | "NumericRangeResolution";
315
- }
316
-
317
- export declare type BaseResolutionUnion = BaseResolution | AgeResolution | VolumeResolution | SpeedResolution | AreaResolution | LengthResolution | InformationResolution | TemperatureResolution | WeightResolution | CurrencyResolution | BooleanResolution | DateTimeResolution | NumberResolution | OrdinalResolution | TemporalSpanResolution | NumericRangeResolution;
318
-
319
258
  /**
320
259
  * The error of an analyze batch action.
321
260
  */
@@ -358,7 +297,7 @@ export declare interface BatchActionSuccessResult<T, Kind extends AnalyzeBatchAc
358
297
  /**
359
298
  * The list of document results.
360
299
  */
361
- readonly results: WithDetectedLanguage<T>[];
300
+ readonly results: T[];
362
301
  /**
363
302
  * When this action was completed by the service.
364
303
  */
@@ -383,13 +322,6 @@ export declare interface BeginAnalyzeBatchOptions extends TextAnalysisOperationO
383
322
  displayName?: string;
384
323
  }
385
324
 
386
- /** A resolution for boolean expressions */
387
- export declare interface BooleanResolution extends BaseResolution {
388
- /** Polymorphic discriminator, which specifies the different types this object can be */
389
- resolutionKind: "BooleanResolution";
390
- value: boolean;
391
- }
392
-
393
325
  /** A classification result from a custom classify document single category action */
394
326
  export declare interface ClassificationCategory {
395
327
  /** Classification type. */
@@ -398,26 +330,6 @@ export declare interface ClassificationCategory {
398
330
  confidenceScore: number;
399
331
  }
400
332
 
401
- /**
402
- * Defines values for ClassificationType. \
403
- * {@link KnownClassificationType} can be used interchangeably with ClassificationType,
404
- * this enum contains the known values that the service supports.
405
- * ### Known values supported by the service
406
- * **Single** \
407
- * **Multi**
408
- */
409
- export declare type ClassificationType = string;
410
-
411
- /** Represents the currency entity resolution model. */
412
- export declare interface CurrencyResolution extends BaseResolution, QuantityResolution {
413
- /** Polymorphic discriminator, which specifies the different types this object can be */
414
- resolutionKind: "CurrencyResolution";
415
- /** The alphabetic code based on another ISO standard, ISO 3166, which lists the codes for country names. The first two letters of the ISO 4217 three-letter code are the same as the code for the country name, and, where possible, the third letter corresponds to the first letter of the currency name. */
416
- iso4217?: string;
417
- /** The unit of the amount captured in the extracted entity */
418
- unit: string;
419
- }
420
-
421
333
  /**
422
334
  * Custom action metadata.
423
335
  */
@@ -552,33 +464,6 @@ export declare interface CustomSingleLabelClassificationSuccessResult extends Te
552
464
  readonly classifications: ClassificationCategory[];
553
465
  }
554
466
 
555
- /** A resolution for datetime entity instances. */
556
- export declare interface DateTimeResolution extends BaseResolution {
557
- /** Polymorphic discriminator, which specifies the different types this object can be */
558
- resolutionKind: "DateTimeResolution";
559
- /** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */
560
- timex: string;
561
- /** The DateTime SubKind */
562
- dateTimeSubKind: DateTimeSubKind;
563
- /** The actual time that the extracted text denote. */
564
- value: string;
565
- /** An optional modifier of a date/time instance. */
566
- modifier?: TemporalModifier;
567
- }
568
-
569
- /**
570
- * Defines values for DateTimeSubKind. \
571
- * {@link KnownDateTimeSubKind} can be used interchangeably with DateTimeSubKind,
572
- * this enum contains the known values that the service supports.
573
- * ### Known values supported by the service
574
- * **Time** \
575
- * **Date** \
576
- * **DateTime** \
577
- * **Duration** \
578
- * **Set**
579
- */
580
- export declare type DateTimeSubKind = string;
581
-
582
467
  /** Information about the language of a document as identified by the Language service. */
583
468
  export declare interface DetectedLanguage {
584
469
  /** Long name of a detected language (e.g. English, French). */
@@ -587,14 +472,6 @@ export declare interface DetectedLanguage {
587
472
  iso6391Name: string;
588
473
  /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */
589
474
  confidenceScore: number;
590
- /** Identifies the script of the input document. */
591
- script?: ScriptKind;
592
- }
593
-
594
- /** The auto-detected language of the input document. */
595
- export declare interface DocumentDetectedLanguage {
596
- /** If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document. */
597
- detectedLanguage?: DetectedLanguage;
598
475
  }
599
476
 
600
477
  /** Defines values for DocumentSentimentLabel. */
@@ -608,35 +485,6 @@ export declare interface DocumentWarning {
608
485
  message: string;
609
486
  }
610
487
 
611
- /** Options for a dynamic classification action. */
612
- export declare interface DynamicClassificationAction extends ActionPrebuilt {
613
- /** Specifies either one or multiple categories per document. Defaults to multi classification which may return more than one class for each document. */
614
- classificationType?: ClassificationType;
615
- /** a list of categories to which input is classified to. */
616
- categories: string[];
617
- }
618
-
619
- /**
620
- * An error result from a language detection action on a single document.
621
- */
622
- export declare type DynamicClassificationErrorResult = TextAnalysisErrorResult;
623
-
624
- /**
625
- * The result of a language detection action on a single document.
626
- */
627
- export declare type DynamicClassificationResult = DynamicClassificationSuccessResult | DynamicClassificationErrorResult;
628
-
629
- /**
630
- * The result of a language detection action on a single document,
631
- * containing a prediction of what language the document is written in.
632
- */
633
- export declare interface DynamicClassificationSuccessResult extends TextAnalysisSuccessResult {
634
- /**
635
- * The collection of classifications in the input document.
636
- */
637
- readonly classifications: ClassificationCategory[];
638
- }
639
-
640
488
  /** 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 . */
641
489
  export declare interface Entity {
642
490
  /** Entity text as appears in the request. */
@@ -755,13 +603,7 @@ export declare interface EntityRecognitionSuccessResult extends TextAnalysisSucc
755
603
  /**
756
604
  * The collection of entities identified in the input document.
757
605
  */
758
- readonly entities: EntityWithResolution[];
759
- }
760
-
761
- /** An entity with resolution. */
762
- export declare interface EntityWithResolution extends Entity {
763
- /** The collection of entity resolution objects. */
764
- resolutions?: BaseResolutionUnion[];
606
+ readonly entities: Entity[];
765
607
  }
766
608
 
767
609
  /** Supported parameters for an Extractive Summarization task. */
@@ -822,21 +664,8 @@ export declare interface ExtractiveSummarizationSuccessResult extends TextAnalys
822
664
  readonly sentences: SummarySentence[];
823
665
  }
824
666
 
825
- /**
826
- * Defines values for FhirVersion. \
827
- * {@link KnownFhirVersion} can be used interchangeably with FhirVersion,
828
- * this enum contains the known values that the service supports.
829
- * ### Known values supported by the service
830
- * **4.0.1**
831
- */
832
- export declare type FhirVersion = string;
833
-
834
667
  /** Supported parameters for a Healthcare task. */
835
668
  export declare interface HealthcareAction extends ActionPrebuilt {
836
- /** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */
837
- fhirVersion?: FhirVersion;
838
- /** Document type that can be provided as input for Fhir Documents. Expect to have fhirVersion provided when used. Behavior of using None enum is the same as not using the documentType parameter. */
839
- documentType?: HealthcareDocumentType;
840
669
  /**
841
670
  * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
842
671
  *
@@ -868,23 +697,6 @@ export declare interface HealthcareBatchAction extends AnalyzeBatchActionCommon,
868
697
  */
869
698
  export declare type HealthcareBatchResult = ActionMetadata & BatchActionResult<HealthcareResult, "Healthcare">;
870
699
 
871
- /**
872
- * Defines values for HealthcareDocumentType. \
873
- * {@link KnownHealthcareDocumentType} can be used interchangeably with HealthcareDocumentType,
874
- * this enum contains the known values that the service supports.
875
- * ### Known values supported by the service
876
- * **None** \
877
- * **ClinicalTrial** \
878
- * **DischargeSummary** \
879
- * **ProgressNote** \
880
- * **HistoryAndPhysical** \
881
- * **Consult** \
882
- * **Imaging** \
883
- * **Pathology** \
884
- * **ProcedureNote**
885
- */
886
- export declare type HealthcareDocumentType = string;
887
-
888
700
  /**
889
701
  * A healthcare entity represented as a node in a directed graph where the edges are
890
702
  * a particular type of relationship between the source and target nodes.
@@ -945,6 +757,7 @@ export declare interface HealthcareEntity extends Entity {
945
757
  * **BodyStructure** \
946
758
  * **Age** \
947
759
  * **Gender** \
760
+ * **Ethnicity** \
948
761
  * **ExaminationName** \
949
762
  * **Date** \
950
763
  * **Direction** \
@@ -953,21 +766,30 @@ export declare interface HealthcareEntity extends Entity {
953
766
  * **MeasurementUnit** \
954
767
  * **RelationalOperator** \
955
768
  * **Time** \
769
+ * **Course** \
956
770
  * **GeneOrProtein** \
957
771
  * **Variant** \
772
+ * **Expression** \
773
+ * **MutationType** \
958
774
  * **AdministrativeEvent** \
959
775
  * **CareEnvironment** \
960
776
  * **HealthcareProfession** \
961
777
  * **Diagnosis** \
962
778
  * **SymptomOrSign** \
963
779
  * **ConditionQualifier** \
780
+ * **ConditionScale** \
964
781
  * **MedicationClass** \
965
782
  * **MedicationName** \
966
783
  * **Dosage** \
967
784
  * **MedicationForm** \
968
785
  * **MedicationRoute** \
969
786
  * **FamilyRelation** \
970
- * **TreatmentName**
787
+ * **TreatmentName** \
788
+ * **Allergen** \
789
+ * **Employment** \
790
+ * **LivingStatus** \
791
+ * **SubstanceUse** \
792
+ * **SubstanceUseAmount**
971
793
  */
972
794
  export declare type HealthcareEntityCategory = string;
973
795
 
@@ -1030,42 +852,8 @@ export declare interface HealthcareSuccessResult extends TextAnalysisSuccessResu
1030
852
  * Relations between healthcare entities.
1031
853
  */
1032
854
  readonly entityRelations: HealthcareEntityRelation[];
1033
- /**
1034
- * JSON bundle containing a FHIR compatible object for consumption in other
1035
- * Healthcare tools. For additional information see {@link https://www.hl7.org/fhir/overview.html}.
1036
- */
1037
- readonly fhirBundle?: Record<string, any>;
1038
855
  }
1039
856
 
1040
- /** Represents the information (data) entity resolution model. */
1041
- export declare interface InformationResolution extends BaseResolution, QuantityResolution {
1042
- /** Polymorphic discriminator, which specifies the different types this object can be */
1043
- resolutionKind: "InformationResolution";
1044
- /** The information (data) Unit of measurement. */
1045
- unit: InformationUnit;
1046
- }
1047
-
1048
- /**
1049
- * Defines values for InformationUnit. \
1050
- * {@link KnownInformationUnit} can be used interchangeably with InformationUnit,
1051
- * this enum contains the known values that the service supports.
1052
- * ### Known values supported by the service
1053
- * **Unspecified** \
1054
- * **Bit** \
1055
- * **Kilobit** \
1056
- * **Megabit** \
1057
- * **Gigabit** \
1058
- * **Terabit** \
1059
- * **Petabit** \
1060
- * **Byte** \
1061
- * **Kilobyte** \
1062
- * **Megabyte** \
1063
- * **Gigabyte** \
1064
- * **Terabyte** \
1065
- * **Petabyte**
1066
- */
1067
- export declare type InformationUnit = string;
1068
-
1069
857
  /** Options for a key phrase recognition action. */
1070
858
  export declare interface KeyPhraseExtractionAction extends ActionPrebuilt {
1071
859
  }
@@ -1105,72 +893,6 @@ export declare interface KeyPhraseExtractionSuccessResult extends TextAnalysisSu
1105
893
  readonly keyPhrases: string[];
1106
894
  }
1107
895
 
1108
- /** Known values of {@link AgeUnit} that the service accepts. */
1109
- export declare enum KnownAgeUnit {
1110
- /** Unspecified */
1111
- Unspecified = "Unspecified",
1112
- /** Year */
1113
- Year = "Year",
1114
- /** Month */
1115
- Month = "Month",
1116
- /** Week */
1117
- Week = "Week",
1118
- /** Day */
1119
- Day = "Day"
1120
- }
1121
-
1122
- /** Known values of {@link AreaUnit} that the service accepts. */
1123
- export declare enum KnownAreaUnit {
1124
- /** Unspecified */
1125
- Unspecified = "Unspecified",
1126
- /** SquareKilometer */
1127
- SquareKilometer = "SquareKilometer",
1128
- /** SquareHectometer */
1129
- SquareHectometer = "SquareHectometer",
1130
- /** SquareDecameter */
1131
- SquareDecameter = "SquareDecameter",
1132
- /** SquareDecimeter */
1133
- SquareDecimeter = "SquareDecimeter",
1134
- /** SquareMeter */
1135
- SquareMeter = "SquareMeter",
1136
- /** SquareCentimeter */
1137
- SquareCentimeter = "SquareCentimeter",
1138
- /** SquareMillimeter */
1139
- SquareMillimeter = "SquareMillimeter",
1140
- /** SquareInch */
1141
- SquareInch = "SquareInch",
1142
- /** SquareFoot */
1143
- SquareFoot = "SquareFoot",
1144
- /** SquareMile */
1145
- SquareMile = "SquareMile",
1146
- /** SquareYard */
1147
- SquareYard = "SquareYard",
1148
- /** Acre */
1149
- Acre = "Acre"
1150
- }
1151
-
1152
- /** Known values of {@link ClassificationType} that the service accepts. */
1153
- export declare enum KnownClassificationType {
1154
- /** Single */
1155
- Single = "Single",
1156
- /** Multi */
1157
- Multi = "Multi"
1158
- }
1159
-
1160
- /** Known values of {@link DateTimeSubKind} that the service accepts. */
1161
- export declare enum KnownDateTimeSubKind {
1162
- /** Time */
1163
- Time = "Time",
1164
- /** Date */
1165
- Date = "Date",
1166
- /** DateTime */
1167
- DateTime = "DateTime",
1168
- /** Duration */
1169
- Duration = "Duration",
1170
- /** Set */
1171
- Set = "Set"
1172
- }
1173
-
1174
896
  /** Known values of {@link ErrorCode} that the service accepts. */
1175
897
  export declare enum KnownErrorCode {
1176
898
  /** InvalidRequest */
@@ -1219,36 +941,6 @@ export declare enum KnownExtractiveSummarizationOrderingCriteria {
1219
941
  Rank = "Rank"
1220
942
  }
1221
943
 
1222
- /**
1223
- * Known values of the {@link HealthcareAction.fhirVersion} parameter.
1224
- */
1225
- export declare enum KnownFhirVersion {
1226
- /** 4.0.1 */
1227
- "4.0.1" = "4.0.1"
1228
- }
1229
-
1230
- /** Known values of {@link HealthcareDocumentType} that the service accepts. */
1231
- export declare enum KnownHealthcareDocumentType {
1232
- /** None */
1233
- None = "None",
1234
- /** ClinicalTrial */
1235
- ClinicalTrial = "ClinicalTrial",
1236
- /** DischargeSummary */
1237
- DischargeSummary = "DischargeSummary",
1238
- /** ProgressNote */
1239
- ProgressNote = "ProgressNote",
1240
- /** HistoryAndPhysical */
1241
- HistoryAndPhysical = "HistoryAndPhysical",
1242
- /** Consult */
1243
- Consult = "Consult",
1244
- /** Imaging */
1245
- Imaging = "Imaging",
1246
- /** Pathology */
1247
- Pathology = "Pathology",
1248
- /** ProcedureNote */
1249
- ProcedureNote = "ProcedureNote"
1250
- }
1251
-
1252
944
  /** Known values of {@link HealthcareEntityCategory} that the service accepts. */
1253
945
  export declare enum KnownHealthcareEntityCategory {
1254
946
  /** BodyStructure */
@@ -1257,6 +949,8 @@ export declare enum KnownHealthcareEntityCategory {
1257
949
  Age = "Age",
1258
950
  /** Gender */
1259
951
  Gender = "Gender",
952
+ /** Ethnicity */
953
+ Ethnicity = "Ethnicity",
1260
954
  /** ExaminationName */
1261
955
  ExaminationName = "ExaminationName",
1262
956
  /** Date */
@@ -1273,10 +967,16 @@ export declare enum KnownHealthcareEntityCategory {
1273
967
  RelationalOperator = "RelationalOperator",
1274
968
  /** Time */
1275
969
  Time = "Time",
970
+ /** Course */
971
+ Course = "Course",
1276
972
  /** GeneOrProtein */
1277
973
  GeneOrProtein = "GeneOrProtein",
1278
974
  /** Variant */
1279
975
  Variant = "Variant",
976
+ /** Expression */
977
+ Expression = "Expression",
978
+ /** MutationType */
979
+ MutationType = "MutationType",
1280
980
  /** AdministrativeEvent */
1281
981
  AdministrativeEvent = "AdministrativeEvent",
1282
982
  /** CareEnvironment */
@@ -1289,6 +989,8 @@ export declare enum KnownHealthcareEntityCategory {
1289
989
  SymptomOrSign = "SymptomOrSign",
1290
990
  /** ConditionQualifier */
1291
991
  ConditionQualifier = "ConditionQualifier",
992
+ /** ConditionScale */
993
+ ConditionScale = "ConditionScale",
1292
994
  /** MedicationClass */
1293
995
  MedicationClass = "MedicationClass",
1294
996
  /** MedicationName */
@@ -1302,37 +1004,17 @@ export declare enum KnownHealthcareEntityCategory {
1302
1004
  /** FamilyRelation */
1303
1005
  FamilyRelation = "FamilyRelation",
1304
1006
  /** TreatmentName */
1305
- TreatmentName = "TreatmentName"
1306
- }
1307
-
1308
- /** Known values of {@link InformationUnit} that the service accepts. */
1309
- export declare enum KnownInformationUnit {
1310
- /** Unspecified */
1311
- Unspecified = "Unspecified",
1312
- /** Bit */
1313
- Bit = "Bit",
1314
- /** Kilobit */
1315
- Kilobit = "Kilobit",
1316
- /** Megabit */
1317
- Megabit = "Megabit",
1318
- /** Gigabit */
1319
- Gigabit = "Gigabit",
1320
- /** Terabit */
1321
- Terabit = "Terabit",
1322
- /** Petabit */
1323
- Petabit = "Petabit",
1324
- /** Byte */
1325
- Byte = "Byte",
1326
- /** Kilobyte */
1327
- Kilobyte = "Kilobyte",
1328
- /** Megabyte */
1329
- Megabyte = "Megabyte",
1330
- /** Gigabyte */
1331
- Gigabyte = "Gigabyte",
1332
- /** Terabyte */
1333
- Terabyte = "Terabyte",
1334
- /** Petabyte */
1335
- Petabyte = "Petabyte"
1007
+ TreatmentName = "TreatmentName",
1008
+ /** Allergen */
1009
+ Allergen = "Allergen",
1010
+ /** Employment */
1011
+ Employment = "Employment",
1012
+ /** LivingStatus */
1013
+ LivingStatus = "LivingStatus",
1014
+ /** SubstanceUse */
1015
+ SubstanceUse = "SubstanceUse",
1016
+ /** SubstanceUseAmount */
1017
+ SubstanceUseAmount = "SubstanceUseAmount"
1336
1018
  }
1337
1019
 
1338
1020
  /** Known values of {@link InnerErrorCode} that the service accepts. */
@@ -1367,60 +1049,6 @@ export declare enum KnownInnerErrorCode {
1367
1049
  InvalidCountryHint = "InvalidCountryHint"
1368
1050
  }
1369
1051
 
1370
- /** Known values of {@link LengthUnit} that the service accepts. */
1371
- export declare enum KnownLengthUnit {
1372
- /** Unspecified */
1373
- Unspecified = "Unspecified",
1374
- /** Kilometer */
1375
- Kilometer = "Kilometer",
1376
- /** Hectometer */
1377
- Hectometer = "Hectometer",
1378
- /** Decameter */
1379
- Decameter = "Decameter",
1380
- /** Meter */
1381
- Meter = "Meter",
1382
- /** Decimeter */
1383
- Decimeter = "Decimeter",
1384
- /** Centimeter */
1385
- Centimeter = "Centimeter",
1386
- /** Millimeter */
1387
- Millimeter = "Millimeter",
1388
- /** Micrometer */
1389
- Micrometer = "Micrometer",
1390
- /** Nanometer */
1391
- Nanometer = "Nanometer",
1392
- /** Picometer */
1393
- Picometer = "Picometer",
1394
- /** Mile */
1395
- Mile = "Mile",
1396
- /** Yard */
1397
- Yard = "Yard",
1398
- /** Inch */
1399
- Inch = "Inch",
1400
- /** Foot */
1401
- Foot = "Foot",
1402
- /** LightYear */
1403
- LightYear = "LightYear",
1404
- /** Pt */
1405
- Pt = "Pt"
1406
- }
1407
-
1408
- /** Known values of {@link NumberKind} that the service accepts. */
1409
- export declare enum KnownNumberKind {
1410
- /** Integer */
1411
- Integer = "Integer",
1412
- /** Decimal */
1413
- Decimal = "Decimal",
1414
- /** Power */
1415
- Power = "Power",
1416
- /** Fraction */
1417
- Fraction = "Fraction",
1418
- /** Percent */
1419
- Percent = "Percent",
1420
- /** Unspecified */
1421
- Unspecified = "Unspecified"
1422
- }
1423
-
1424
1052
  /** Known values of {@link PiiEntityCategory} that the service accepts. */
1425
1053
  export declare enum KnownPiiEntityCategory {
1426
1054
  /** ABARoutingNumber */
@@ -1779,34 +1407,22 @@ export declare enum KnownPiiEntityDomain {
1779
1407
  None = "none"
1780
1408
  }
1781
1409
 
1782
- /** Known values of {@link RangeKind} that the service accepts. */
1783
- export declare enum KnownRangeKind {
1784
- /** Number */
1785
- Number = "Number",
1786
- /** Speed */
1787
- Speed = "Speed",
1788
- /** Weight */
1789
- Weight = "Weight",
1790
- /** Length */
1791
- Length = "Length",
1792
- /** Volume */
1793
- Volume = "Volume",
1794
- /** Area */
1795
- Area = "Area",
1796
- /** Age */
1797
- Age = "Age",
1798
- /** Information */
1799
- Information = "Information",
1800
- /** Temperature */
1801
- Temperature = "Temperature",
1802
- /** Currency */
1803
- Currency = "Currency"
1804
- }
1805
-
1806
1410
  /** Known values of {@link RelationType} that the service accepts. */
1807
1411
  export declare enum KnownRelationType {
1808
1412
  /** Abbreviation */
1809
1413
  Abbreviation = "Abbreviation",
1414
+ /** BodySiteOfCondition */
1415
+ BodySiteOfCondition = "BodySiteOfCondition",
1416
+ /** BodySiteOfTreatment */
1417
+ BodySiteOfTreatment = "BodySiteOfTreatment",
1418
+ /** CourseOfCondition */
1419
+ CourseOfCondition = "CourseOfCondition",
1420
+ /** CourseOfExamination */
1421
+ CourseOfExamination = "CourseOfExamination",
1422
+ /** CourseOfMedication */
1423
+ CourseOfMedication = "CourseOfMedication",
1424
+ /** CourseOfTreatment */
1425
+ CourseOfTreatment = "CourseOfTreatment",
1810
1426
  /** DirectionOfBodyStructure */
1811
1427
  DirectionOfBodyStructure = "DirectionOfBodyStructure",
1812
1428
  /** DirectionOfCondition */
@@ -1817,18 +1433,32 @@ export declare enum KnownRelationType {
1817
1433
  DirectionOfTreatment = "DirectionOfTreatment",
1818
1434
  /** DosageOfMedication */
1819
1435
  DosageOfMedication = "DosageOfMedication",
1436
+ /** ExaminationFindsCondition */
1437
+ ExaminationFindsCondition = "ExaminationFindsCondition",
1438
+ /** ExpressionOfGene */
1439
+ ExpressionOfGene = "ExpressionOfGene",
1440
+ /** ExpressionOfVariant */
1441
+ ExpressionOfVariant = "ExpressionOfVariant",
1820
1442
  /** FormOfMedication */
1821
1443
  FormOfMedication = "FormOfMedication",
1444
+ /** FrequencyOfCondition */
1445
+ FrequencyOfCondition = "FrequencyOfCondition",
1822
1446
  /** FrequencyOfMedication */
1823
1447
  FrequencyOfMedication = "FrequencyOfMedication",
1824
1448
  /** FrequencyOfTreatment */
1825
1449
  FrequencyOfTreatment = "FrequencyOfTreatment",
1450
+ /** MutationTypeOfGene */
1451
+ MutationTypeOfGene = "MutationTypeOfGene",
1452
+ /** MutationTypeOfVariant */
1453
+ MutationTypeOfVariant = "MutationTypeOfVariant",
1826
1454
  /** QualifierOfCondition */
1827
1455
  QualifierOfCondition = "QualifierOfCondition",
1828
1456
  /** RelationOfExamination */
1829
1457
  RelationOfExamination = "RelationOfExamination",
1830
1458
  /** RouteOfMedication */
1831
1459
  RouteOfMedication = "RouteOfMedication",
1460
+ /** ScaleOfCondition */
1461
+ ScaleOfCondition = "ScaleOfCondition",
1832
1462
  /** TimeOfCondition */
1833
1463
  TimeOfCondition = "TimeOfCondition",
1834
1464
  /** TimeOfEvent */
@@ -1846,89 +1476,9 @@ export declare enum KnownRelationType {
1846
1476
  /** ValueOfCondition */
1847
1477
  ValueOfCondition = "ValueOfCondition",
1848
1478
  /** ValueOfExamination */
1849
- ValueOfExamination = "ValueOfExamination"
1850
- }
1851
-
1852
- /** Known values of {@link RelativeTo} that the service accepts. */
1853
- export declare enum KnownRelativeTo {
1854
- /** Current */
1855
- Current = "Current",
1856
- /** End */
1857
- End = "End",
1858
- /** Start */
1859
- Start = "Start"
1860
- }
1861
-
1862
- /** Known values of {@link ResolutionKind} that the service accepts. */
1863
- export declare enum KnownResolutionKind {
1864
- /** BooleanResolution */
1865
- BooleanResolution = "BooleanResolution",
1866
- /** DateTimeResolution */
1867
- DateTimeResolution = "DateTimeResolution",
1868
- /** NumberResolution */
1869
- NumberResolution = "NumberResolution",
1870
- /** OrdinalResolution */
1871
- OrdinalResolution = "OrdinalResolution",
1872
- /** SpeedResolution */
1873
- SpeedResolution = "SpeedResolution",
1874
- /** WeightResolution */
1875
- WeightResolution = "WeightResolution",
1876
- /** LengthResolution */
1877
- LengthResolution = "LengthResolution",
1878
- /** VolumeResolution */
1879
- VolumeResolution = "VolumeResolution",
1880
- /** AreaResolution */
1881
- AreaResolution = "AreaResolution",
1882
- /** AgeResolution */
1883
- AgeResolution = "AgeResolution",
1884
- /** InformationResolution */
1885
- InformationResolution = "InformationResolution",
1886
- /** TemperatureResolution */
1887
- TemperatureResolution = "TemperatureResolution",
1888
- /** CurrencyResolution */
1889
- CurrencyResolution = "CurrencyResolution",
1890
- /** NumericRangeResolution */
1891
- NumericRangeResolution = "NumericRangeResolution",
1892
- /** TemporalSpanResolution */
1893
- TemporalSpanResolution = "TemporalSpanResolution"
1894
- }
1895
-
1896
- /** Known values of {@link ScriptKind} that the service accepts. */
1897
- export declare enum KnownScriptKind {
1898
- /** Latin */
1899
- Latin = "Latin"
1900
- }
1901
-
1902
- /** Known values of {@link SpeedUnit} that the service accepts. */
1903
- export declare enum KnownSpeedUnit {
1904
- /** Unspecified */
1905
- Unspecified = "Unspecified",
1906
- /** MeterPerSecond */
1907
- MeterPerSecond = "MeterPerSecond",
1908
- /** KilometerPerHour */
1909
- KilometerPerHour = "KilometerPerHour",
1910
- /** KilometerPerMinute */
1911
- KilometerPerMinute = "KilometerPerMinute",
1912
- /** KilometerPerSecond */
1913
- KilometerPerSecond = "KilometerPerSecond",
1914
- /** MilePerHour */
1915
- MilePerHour = "MilePerHour",
1916
- /** Knot */
1917
- Knot = "Knot",
1918
- /** FootPerSecond */
1919
- FootPerSecond = "FootPerSecond",
1920
- /** FootPerMinute */
1921
- FootPerMinute = "FootPerMinute",
1922
- /** YardPerMinute */
1923
- YardPerMinute = "YardPerMinute",
1924
- /** YardPerSecond */
1925
- YardPerSecond = "YardPerSecond",
1926
- /** MeterPerMillisecond */
1927
- MeterPerMillisecond = "MeterPerMillisecond",
1928
- /** CentimeterPerMillisecond */
1929
- CentimeterPerMillisecond = "CentimeterPerMillisecond",
1930
- /** KilometerPerMillisecond */
1931
- KilometerPerMillisecond = "KilometerPerMillisecond"
1479
+ ValueOfExamination = "ValueOfExamination",
1480
+ /** VariantOfGene */
1481
+ VariantOfGene = "VariantOfGene"
1932
1482
  }
1933
1483
 
1934
1484
  /** Known values of {@link StringIndexType} that the service accepts. */
@@ -1941,60 +1491,6 @@ export declare enum KnownStringIndexType {
1941
1491
  Utf16CodeUnit = "Utf16CodeUnit"
1942
1492
  }
1943
1493
 
1944
- /** Known values of {@link TemperatureUnit} that the service accepts. */
1945
- export declare enum KnownTemperatureUnit {
1946
- /** Unspecified */
1947
- Unspecified = "Unspecified",
1948
- /** Fahrenheit */
1949
- Fahrenheit = "Fahrenheit",
1950
- /** Kelvin */
1951
- Kelvin = "Kelvin",
1952
- /** Rankine */
1953
- Rankine = "Rankine",
1954
- /** Celsius */
1955
- Celsius = "Celsius"
1956
- }
1957
-
1958
- /** Known values of {@link TemporalModifier} that the service accepts. */
1959
- export declare enum KnownTemporalModifier {
1960
- /** AfterApprox */
1961
- AfterApprox = "AfterApprox",
1962
- /** Before */
1963
- Before = "Before",
1964
- /** BeforeStart */
1965
- BeforeStart = "BeforeStart",
1966
- /** Approx */
1967
- Approx = "Approx",
1968
- /** ReferenceUndefined */
1969
- ReferenceUndefined = "ReferenceUndefined",
1970
- /** SinceEnd */
1971
- SinceEnd = "SinceEnd",
1972
- /** AfterMid */
1973
- AfterMid = "AfterMid",
1974
- /** Start */
1975
- Start = "Start",
1976
- /** After */
1977
- After = "After",
1978
- /** BeforeEnd */
1979
- BeforeEnd = "BeforeEnd",
1980
- /** Until */
1981
- Until = "Until",
1982
- /** End */
1983
- End = "End",
1984
- /** Less */
1985
- Less = "Less",
1986
- /** Since */
1987
- Since = "Since",
1988
- /** AfterStart */
1989
- AfterStart = "AfterStart",
1990
- /** BeforeApprox */
1991
- BeforeApprox = "BeforeApprox",
1992
- /** Mid */
1993
- Mid = "Mid",
1994
- /** More */
1995
- More = "More"
1996
- }
1997
-
1998
1494
  /**
1999
1495
  * Enum of possible error codes of a {@link TextAnalysisError}.
2000
1496
  */
@@ -2030,102 +1526,6 @@ export declare const KnownTextAnalysisErrorCode: {
2030
1526
  Warning: KnownErrorCode.Warning;
2031
1527
  };
2032
1528
 
2033
- /** Known values of {@link VolumeUnit} that the service accepts. */
2034
- export declare enum KnownVolumeUnit {
2035
- /** Unspecified */
2036
- Unspecified = "Unspecified",
2037
- /** CubicMeter */
2038
- CubicMeter = "CubicMeter",
2039
- /** CubicCentimeter */
2040
- CubicCentimeter = "CubicCentimeter",
2041
- /** CubicMillimeter */
2042
- CubicMillimeter = "CubicMillimeter",
2043
- /** Hectoliter */
2044
- Hectoliter = "Hectoliter",
2045
- /** Decaliter */
2046
- Decaliter = "Decaliter",
2047
- /** Liter */
2048
- Liter = "Liter",
2049
- /** Centiliter */
2050
- Centiliter = "Centiliter",
2051
- /** Milliliter */
2052
- Milliliter = "Milliliter",
2053
- /** CubicYard */
2054
- CubicYard = "CubicYard",
2055
- /** CubicInch */
2056
- CubicInch = "CubicInch",
2057
- /** CubicFoot */
2058
- CubicFoot = "CubicFoot",
2059
- /** CubicMile */
2060
- CubicMile = "CubicMile",
2061
- /** FluidOunce */
2062
- FluidOunce = "FluidOunce",
2063
- /** Teaspoon */
2064
- Teaspoon = "Teaspoon",
2065
- /** Tablespoon */
2066
- Tablespoon = "Tablespoon",
2067
- /** Pint */
2068
- Pint = "Pint",
2069
- /** Quart */
2070
- Quart = "Quart",
2071
- /** Cup */
2072
- Cup = "Cup",
2073
- /** Gill */
2074
- Gill = "Gill",
2075
- /** Pinch */
2076
- Pinch = "Pinch",
2077
- /** FluidDram */
2078
- FluidDram = "FluidDram",
2079
- /** Barrel */
2080
- Barrel = "Barrel",
2081
- /** Minim */
2082
- Minim = "Minim",
2083
- /** Cord */
2084
- Cord = "Cord",
2085
- /** Peck */
2086
- Peck = "Peck",
2087
- /** Bushel */
2088
- Bushel = "Bushel",
2089
- /** Hogshead */
2090
- Hogshead = "Hogshead"
2091
- }
2092
-
2093
- /** Known values of {@link WeightUnit} that the service accepts. */
2094
- export declare enum KnownWeightUnit {
2095
- /** Unspecified */
2096
- Unspecified = "Unspecified",
2097
- /** Kilogram */
2098
- Kilogram = "Kilogram",
2099
- /** Gram */
2100
- Gram = "Gram",
2101
- /** Milligram */
2102
- Milligram = "Milligram",
2103
- /** Gallon */
2104
- Gallon = "Gallon",
2105
- /** MetricTon */
2106
- MetricTon = "MetricTon",
2107
- /** Ton */
2108
- Ton = "Ton",
2109
- /** Pound */
2110
- Pound = "Pound",
2111
- /** Ounce */
2112
- Ounce = "Ounce",
2113
- /** Grain */
2114
- Grain = "Grain",
2115
- /** PennyWeight */
2116
- PennyWeight = "PennyWeight",
2117
- /** LongTonBritish */
2118
- LongTonBritish = "LongTonBritish",
2119
- /** ShortTonUS */
2120
- ShortTonUS = "ShortTonUS",
2121
- /** ShortHundredWeightUS */
2122
- ShortHundredWeightUS = "ShortHundredWeightUS",
2123
- /** Stone */
2124
- Stone = "Stone",
2125
- /** Dram */
2126
- Dram = "Dram"
2127
- }
2128
-
2129
1529
  /** Options for a language detection action. */
2130
1530
  export declare interface LanguageDetectionAction extends ActionPrebuilt {
2131
1531
  }
@@ -2161,39 +1561,6 @@ export declare interface LanguageDetectionSuccessResult extends TextAnalysisSucc
2161
1561
  readonly primaryLanguage: DetectedLanguage;
2162
1562
  }
2163
1563
 
2164
- /** Represents the length entity resolution model. */
2165
- export declare interface LengthResolution extends BaseResolution, QuantityResolution {
2166
- /** Polymorphic discriminator, which specifies the different types this object can be */
2167
- resolutionKind: "LengthResolution";
2168
- /** The length Unit of measurement */
2169
- unit: LengthUnit;
2170
- }
2171
-
2172
- /**
2173
- * Defines values for LengthUnit. \
2174
- * {@link KnownLengthUnit} can be used interchangeably with LengthUnit,
2175
- * this enum contains the known values that the service supports.
2176
- * ### Known values supported by the service
2177
- * **Unspecified** \
2178
- * **Kilometer** \
2179
- * **Hectometer** \
2180
- * **Decameter** \
2181
- * **Meter** \
2182
- * **Decimeter** \
2183
- * **Centimeter** \
2184
- * **Millimeter** \
2185
- * **Micrometer** \
2186
- * **Nanometer** \
2187
- * **Picometer** \
2188
- * **Mile** \
2189
- * **Yard** \
2190
- * **Inch** \
2191
- * **Foot** \
2192
- * **LightYear** \
2193
- * **Pt**
2194
- */
2195
- export declare type LengthUnit = string;
2196
-
2197
1564
  /** 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. */
2198
1565
  export declare interface LinkedEntity {
2199
1566
  /** Entity Linking formal name. */
@@ -2224,42 +1591,6 @@ export declare interface Match {
2224
1591
  length: number;
2225
1592
  }
2226
1593
 
2227
- /**
2228
- * Defines values for NumberKind. \
2229
- * {@link KnownNumberKind} can be used interchangeably with NumberKind,
2230
- * this enum contains the known values that the service supports.
2231
- * ### Known values supported by the service
2232
- * **Integer** \
2233
- * **Decimal** \
2234
- * **Power** \
2235
- * **Fraction** \
2236
- * **Percent** \
2237
- * **Unspecified**
2238
- */
2239
- export declare type NumberKind = string;
2240
-
2241
- /** A resolution for numeric entity instances. */
2242
- export declare interface NumberResolution extends BaseResolution {
2243
- /** Polymorphic discriminator, which specifies the different types this object can be */
2244
- resolutionKind: "NumberResolution";
2245
- /** The type of the extracted number entity. */
2246
- numberKind: NumberKind;
2247
- /** A numeric representation of what the extracted text denotes. */
2248
- value: number;
2249
- }
2250
-
2251
- /** represents the resolution of numeric intervals. */
2252
- export declare interface NumericRangeResolution extends BaseResolution {
2253
- /** Polymorphic discriminator, which specifies the different types this object can be */
2254
- resolutionKind: "NumericRangeResolution";
2255
- /** The kind of range that the resolution object represents. */
2256
- rangeKind: RangeKind;
2257
- /** The beginning value of the interval. */
2258
- minimum: number;
2259
- /** The ending value of the interval. */
2260
- maximum: number;
2261
- }
2262
-
2263
1594
  /**
2264
1595
  * A mined opinion object represents an opinion we've extracted from a sentence.
2265
1596
  * It consists of both a target that these assessments are about, and the actual
@@ -2276,18 +1607,6 @@ export declare interface Opinion {
2276
1607
  readonly assessments: AssessmentSentiment[];
2277
1608
  }
2278
1609
 
2279
- /** A resolution for ordinal numbers entity instances. */
2280
- export declare interface OrdinalResolution extends BaseResolution {
2281
- /** Polymorphic discriminator, which specifies the different types this object can be */
2282
- resolutionKind: "OrdinalResolution";
2283
- /** The offset With respect to the reference (e.g., offset = -1 in "show me the second to last" */
2284
- offset: string;
2285
- /** The reference point that the ordinal number denotes. */
2286
- relativeTo: RelativeTo;
2287
- /** A simple arithmetic expression that the ordinal denotes. */
2288
- value: string;
2289
- }
2290
-
2291
1610
  /**
2292
1611
  * Paged results of the {@link TextAnalysisClient.beginAnalyzeBatch} operation.
2293
1612
  */
@@ -2551,47 +1870,36 @@ export declare interface PollerLike<TState extends OperationState<TResult>, TRes
2551
1870
  sendCancellationRequest: () => Promise<void>;
2552
1871
  }
2553
1872
 
2554
- /** Represents resolutions for quantities. */
2555
- export declare interface QuantityResolution {
2556
- /** The numeric value that the extracted text denotes. */
2557
- value: number;
2558
- }
2559
-
2560
- /**
2561
- * Defines values for RangeKind. \
2562
- * {@link KnownRangeKind} can be used interchangeably with RangeKind,
2563
- * this enum contains the known values that the service supports.
2564
- * ### Known values supported by the service
2565
- * **Number** \
2566
- * **Speed** \
2567
- * **Weight** \
2568
- * **Length** \
2569
- * **Volume** \
2570
- * **Area** \
2571
- * **Age** \
2572
- * **Information** \
2573
- * **Temperature** \
2574
- * **Currency**
2575
- */
2576
- export declare type RangeKind = string;
2577
-
2578
1873
  /**
2579
1874
  * Defines values for RelationType. \
2580
1875
  * {@link KnownRelationType} can be used interchangeably with RelationType,
2581
1876
  * this enum contains the known values that the service supports.
2582
1877
  * ### Known values supported by the service
2583
1878
  * **Abbreviation** \
1879
+ * **BodySiteOfCondition** \
1880
+ * **BodySiteOfTreatment** \
1881
+ * **CourseOfCondition** \
1882
+ * **CourseOfExamination** \
1883
+ * **CourseOfMedication** \
1884
+ * **CourseOfTreatment** \
2584
1885
  * **DirectionOfBodyStructure** \
2585
1886
  * **DirectionOfCondition** \
2586
1887
  * **DirectionOfExamination** \
2587
1888
  * **DirectionOfTreatment** \
2588
1889
  * **DosageOfMedication** \
1890
+ * **ExaminationFindsCondition** \
1891
+ * **ExpressionOfGene** \
1892
+ * **ExpressionOfVariant** \
2589
1893
  * **FormOfMedication** \
1894
+ * **FrequencyOfCondition** \
2590
1895
  * **FrequencyOfMedication** \
2591
1896
  * **FrequencyOfTreatment** \
1897
+ * **MutationTypeOfGene** \
1898
+ * **MutationTypeOfVariant** \
2592
1899
  * **QualifierOfCondition** \
2593
1900
  * **RelationOfExamination** \
2594
1901
  * **RouteOfMedication** \
1902
+ * **ScaleOfCondition** \
2595
1903
  * **TimeOfCondition** \
2596
1904
  * **TimeOfEvent** \
2597
1905
  * **TimeOfExamination** \
@@ -2600,21 +1908,11 @@ export declare type RangeKind = string;
2600
1908
  * **UnitOfCondition** \
2601
1909
  * **UnitOfExamination** \
2602
1910
  * **ValueOfCondition** \
2603
- * **ValueOfExamination**
1911
+ * **ValueOfExamination** \
1912
+ * **VariantOfGene**
2604
1913
  */
2605
1914
  export declare type RelationType = string;
2606
1915
 
2607
- /**
2608
- * Defines values for RelativeTo. \
2609
- * {@link KnownRelativeTo} can be used interchangeably with RelativeTo,
2610
- * this enum contains the known values that the service supports.
2611
- * ### Known values supported by the service
2612
- * **Current** \
2613
- * **End** \
2614
- * **Start**
2615
- */
2616
- export declare type RelativeTo = string;
2617
-
2618
1916
  /**
2619
1917
  * Options for the begin analyze actions operation.
2620
1918
  */
@@ -2625,15 +1923,6 @@ export declare interface RestoreAnalyzeBatchPollerOptions extends TextAnalysisOp
2625
1923
  updateIntervalInMs?: number;
2626
1924
  }
2627
1925
 
2628
- /**
2629
- * Defines values for ScriptKind. \
2630
- * {@link KnownScriptKind} can be used interchangeably with ScriptKind,
2631
- * this enum contains the known values that the service supports.
2632
- * ### Known values supported by the service
2633
- * **Latin**
2634
- */
2635
- export declare type ScriptKind = string;
2636
-
2637
1926
  /**
2638
1927
  * The predicted sentiment for a given span of text. For more information
2639
1928
  * regarding text sentiment, see {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview}.
@@ -2741,36 +2030,6 @@ export declare interface SentimentConfidenceScores {
2741
2030
  negative: number;
2742
2031
  }
2743
2032
 
2744
- /** Represents the speed entity resolution model. */
2745
- export declare interface SpeedResolution extends BaseResolution, QuantityResolution {
2746
- /** Polymorphic discriminator, which specifies the different types this object can be */
2747
- resolutionKind: "SpeedResolution";
2748
- /** The speed Unit of measurement */
2749
- unit: SpeedUnit;
2750
- }
2751
-
2752
- /**
2753
- * Defines values for SpeedUnit. \
2754
- * {@link KnownSpeedUnit} can be used interchangeably with SpeedUnit,
2755
- * this enum contains the known values that the service supports.
2756
- * ### Known values supported by the service
2757
- * **Unspecified** \
2758
- * **MeterPerSecond** \
2759
- * **KilometerPerHour** \
2760
- * **KilometerPerMinute** \
2761
- * **KilometerPerSecond** \
2762
- * **MilePerHour** \
2763
- * **Knot** \
2764
- * **FootPerSecond** \
2765
- * **FootPerMinute** \
2766
- * **YardPerMinute** \
2767
- * **YardPerSecond** \
2768
- * **MeterPerMillisecond** \
2769
- * **CentimeterPerMillisecond** \
2770
- * **KilometerPerMillisecond**
2771
- */
2772
- export declare type SpeedUnit = string;
2773
-
2774
2033
  /**
2775
2034
  * Defines values for StringIndexType. \
2776
2035
  * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,
@@ -2841,69 +2100,6 @@ export declare interface TargetSentiment {
2841
2100
  readonly length: number;
2842
2101
  }
2843
2102
 
2844
- /** Represents the temperature entity resolution model. */
2845
- export declare interface TemperatureResolution extends BaseResolution, QuantityResolution {
2846
- /** Polymorphic discriminator, which specifies the different types this object can be */
2847
- resolutionKind: "TemperatureResolution";
2848
- /** The temperature Unit of measurement. */
2849
- unit: TemperatureUnit;
2850
- }
2851
-
2852
- /**
2853
- * Defines values for TemperatureUnit. \
2854
- * {@link KnownTemperatureUnit} can be used interchangeably with TemperatureUnit,
2855
- * this enum contains the known values that the service supports.
2856
- * ### Known values supported by the service
2857
- * **Unspecified** \
2858
- * **Fahrenheit** \
2859
- * **Kelvin** \
2860
- * **Rankine** \
2861
- * **Celsius**
2862
- */
2863
- export declare type TemperatureUnit = string;
2864
-
2865
- /**
2866
- * Defines values for TemporalModifier. \
2867
- * {@link KnownTemporalModifier} can be used interchangeably with TemporalModifier,
2868
- * this enum contains the known values that the service supports.
2869
- * ### Known values supported by the service
2870
- * **AfterApprox** \
2871
- * **Before** \
2872
- * **BeforeStart** \
2873
- * **Approx** \
2874
- * **ReferenceUndefined** \
2875
- * **SinceEnd** \
2876
- * **AfterMid** \
2877
- * **Start** \
2878
- * **After** \
2879
- * **BeforeEnd** \
2880
- * **Until** \
2881
- * **End** \
2882
- * **Less** \
2883
- * **Since** \
2884
- * **AfterStart** \
2885
- * **BeforeApprox** \
2886
- * **Mid** \
2887
- * **More**
2888
- */
2889
- export declare type TemporalModifier = string;
2890
-
2891
- /** represents the resolution of a date and/or time span. */
2892
- export declare interface TemporalSpanResolution extends BaseResolution {
2893
- /** Polymorphic discriminator, which specifies the different types this object can be */
2894
- resolutionKind: "TemporalSpanResolution";
2895
- /** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */
2896
- begin?: string;
2897
- /** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */
2898
- end?: string;
2899
- /** An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations) */
2900
- duration?: string;
2901
- /** An optional modifier of a date/time instance. */
2902
- modifier?: TemporalModifier;
2903
- /** An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings. */
2904
- timex?: string;
2905
- }
2906
-
2907
2103
  /**
2908
2104
  * A client for interacting with the text analysis features in Azure Cognitive
2909
2105
  * Language Service.
@@ -3476,8 +2672,6 @@ export declare interface TextAnalysisSuccessResult {
3476
2672
 
3477
2673
  /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
3478
2674
  export declare interface TextDocumentBatchStatistics {
3479
- /** Describes unknown properties. The value of an unknown property can be of "any" type. */
3480
- [property: string]: any;
3481
2675
  /** Number of documents submitted in the request. */
3482
2676
  documentCount: number;
3483
2677
  /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */
@@ -3494,7 +2688,7 @@ export declare interface TextDocumentInput {
3494
2688
  id: string;
3495
2689
  /** The input text to process. */
3496
2690
  text: string;
3497
- /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. For Auto Language Detection, use "auto". If not set, use "en" for English as default. */
2691
+ /** (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. */
3498
2692
  language?: string;
3499
2693
  }
3500
2694
 
@@ -3509,50 +2703,6 @@ export declare interface TextDocumentStatistics {
3509
2703
  /** Defines values for TokenSentimentLabel. */
3510
2704
  export declare type TokenSentimentLabel = "positive" | "mixed" | "negative";
3511
2705
 
3512
- /** Represents the volume entity resolution model. */
3513
- export declare interface VolumeResolution extends BaseResolution, QuantityResolution {
3514
- /** Polymorphic discriminator, which specifies the different types this object can be */
3515
- resolutionKind: "VolumeResolution";
3516
- /** The Volume Unit of measurement */
3517
- unit: VolumeUnit;
3518
- }
3519
-
3520
- /**
3521
- * Defines values for VolumeUnit. \
3522
- * {@link KnownVolumeUnit} can be used interchangeably with VolumeUnit,
3523
- * this enum contains the known values that the service supports.
3524
- * ### Known values supported by the service
3525
- * **Unspecified** \
3526
- * **CubicMeter** \
3527
- * **CubicCentimeter** \
3528
- * **CubicMillimeter** \
3529
- * **Hectoliter** \
3530
- * **Decaliter** \
3531
- * **Liter** \
3532
- * **Centiliter** \
3533
- * **Milliliter** \
3534
- * **CubicYard** \
3535
- * **CubicInch** \
3536
- * **CubicFoot** \
3537
- * **CubicMile** \
3538
- * **FluidOunce** \
3539
- * **Teaspoon** \
3540
- * **Tablespoon** \
3541
- * **Pint** \
3542
- * **Quart** \
3543
- * **Cup** \
3544
- * **Gill** \
3545
- * **Pinch** \
3546
- * **FluidDram** \
3547
- * **Barrel** \
3548
- * **Minim** \
3549
- * **Cord** \
3550
- * **Peck** \
3551
- * **Bushel** \
3552
- * **Hogshead**
3553
- */
3554
- export declare type VolumeUnit = string;
3555
-
3556
2706
  /**
3557
2707
  * Defines values for WarningCode. \
3558
2708
  * {@link KnownWarningCode} can be used interchangeably with WarningCode,
@@ -3563,44 +2713,4 @@ export declare type VolumeUnit = string;
3563
2713
  */
3564
2714
  export declare type WarningCode = string;
3565
2715
 
3566
- /** Represents the weight entity resolution model. */
3567
- export declare interface WeightResolution extends BaseResolution, QuantityResolution {
3568
- /** Polymorphic discriminator, which specifies the different types this object can be */
3569
- resolutionKind: "WeightResolution";
3570
- /** The weight Unit of measurement. */
3571
- unit: WeightUnit;
3572
- }
3573
-
3574
- /**
3575
- * Defines values for WeightUnit. \
3576
- * {@link KnownWeightUnit} can be used interchangeably with WeightUnit,
3577
- * this enum contains the known values that the service supports.
3578
- * ### Known values supported by the service
3579
- * **Unspecified** \
3580
- * **Kilogram** \
3581
- * **Gram** \
3582
- * **Milligram** \
3583
- * **Gallon** \
3584
- * **MetricTon** \
3585
- * **Ton** \
3586
- * **Pound** \
3587
- * **Ounce** \
3588
- * **Grain** \
3589
- * **PennyWeight** \
3590
- * **LongTonBritish** \
3591
- * **ShortTonUS** \
3592
- * **ShortHundredWeightUS** \
3593
- * **Stone** \
3594
- * **Dram**
3595
- */
3596
- export declare type WeightUnit = string;
3597
-
3598
- /**
3599
- * Document results with potentially automatically detected language.
3600
- */
3601
- export declare type WithDetectedLanguage<T> = T & DocumentDetectedLanguage & {
3602
- /** Indicates whether the default language hint was used */
3603
- isLanguageDefaulted?: boolean;
3604
- };
3605
-
3606
2716
  export { }