@azure/ai-language-text 1.1.0-alpha.20230418.2 → 1.1.0-alpha.20230615.5
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 +3 -7
- package/dist/index.js +180 -1063
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +2 -2
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +48 -426
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +114 -588
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +1 -1
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models.js +0 -8
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/transforms.js +4 -4
- package/dist-esm/src/transforms.js.map +1 -1
- package/package.json +2 -1
- package/types/ai-language-text.d.ts +79 -919
@@ -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
|
*/
|
@@ -258,35 +237,6 @@ export declare type AnalyzeResult<ActionName extends AnalyzeActionName> = {
|
|
258
237
|
LanguageDetection: LanguageDetectionResult[];
|
259
238
|
}[ActionName];
|
260
239
|
|
261
|
-
/** Represents the area entity resolution model. */
|
262
|
-
export declare interface AreaResolution extends BaseResolution, QuantityResolution {
|
263
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
264
|
-
resolutionKind: "AreaResolution";
|
265
|
-
/** The area Unit of measurement */
|
266
|
-
unit: AreaUnit;
|
267
|
-
}
|
268
|
-
|
269
|
-
/**
|
270
|
-
* Defines values for AreaUnit. \
|
271
|
-
* {@link KnownAreaUnit} can be used interchangeably with AreaUnit,
|
272
|
-
* this enum contains the known values that the service supports.
|
273
|
-
* ### Known values supported by the service
|
274
|
-
* **Unspecified** \
|
275
|
-
* **SquareKilometer** \
|
276
|
-
* **SquareHectometer** \
|
277
|
-
* **SquareDecameter** \
|
278
|
-
* **SquareDecimeter** \
|
279
|
-
* **SquareMeter** \
|
280
|
-
* **SquareCentimeter** \
|
281
|
-
* **SquareMillimeter** \
|
282
|
-
* **SquareInch** \
|
283
|
-
* **SquareFoot** \
|
284
|
-
* **SquareMile** \
|
285
|
-
* **SquareYard** \
|
286
|
-
* **Acre**
|
287
|
-
*/
|
288
|
-
export declare type AreaUnit = string;
|
289
|
-
|
290
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'. */
|
291
241
|
export declare interface AssessmentSentiment {
|
292
242
|
/** Assessment sentiment in the sentence. */
|
@@ -305,14 +255,6 @@ export declare interface AssessmentSentiment {
|
|
305
255
|
|
306
256
|
export { AzureKeyCredential }
|
307
257
|
|
308
|
-
/** The abstract base class for entity resolutions. */
|
309
|
-
export declare interface BaseResolution {
|
310
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
311
|
-
resolutionKind: "AgeResolution" | "VolumeResolution" | "SpeedResolution" | "AreaResolution" | "LengthResolution" | "InformationResolution" | "TemperatureResolution" | "WeightResolution" | "CurrencyResolution" | "BooleanResolution" | "DateTimeResolution" | "NumberResolution" | "OrdinalResolution" | "TemporalSpanResolution" | "NumericRangeResolution";
|
312
|
-
}
|
313
|
-
|
314
|
-
export declare type BaseResolutionUnion = BaseResolution | AgeResolution | VolumeResolution | SpeedResolution | AreaResolution | LengthResolution | InformationResolution | TemperatureResolution | WeightResolution | CurrencyResolution | BooleanResolution | DateTimeResolution | NumberResolution | OrdinalResolution | TemporalSpanResolution | NumericRangeResolution;
|
315
|
-
|
316
258
|
/**
|
317
259
|
* The error of an analyze batch action.
|
318
260
|
*/
|
@@ -355,7 +297,7 @@ export declare interface BatchActionSuccessResult<T, Kind extends AnalyzeBatchAc
|
|
355
297
|
/**
|
356
298
|
* The list of document results.
|
357
299
|
*/
|
358
|
-
readonly results:
|
300
|
+
readonly results: T[];
|
359
301
|
/**
|
360
302
|
* When this action was completed by the service.
|
361
303
|
*/
|
@@ -380,13 +322,6 @@ export declare interface BeginAnalyzeBatchOptions extends TextAnalysisOperationO
|
|
380
322
|
displayName?: string;
|
381
323
|
}
|
382
324
|
|
383
|
-
/** A resolution for boolean expressions */
|
384
|
-
export declare interface BooleanResolution extends BaseResolution {
|
385
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
386
|
-
resolutionKind: "BooleanResolution";
|
387
|
-
value: boolean;
|
388
|
-
}
|
389
|
-
|
390
325
|
/** A classification result from a custom classify document single category action */
|
391
326
|
export declare interface ClassificationCategory {
|
392
327
|
/** Classification type. */
|
@@ -395,16 +330,6 @@ export declare interface ClassificationCategory {
|
|
395
330
|
confidenceScore: number;
|
396
331
|
}
|
397
332
|
|
398
|
-
/** Represents the currency entity resolution model. */
|
399
|
-
export declare interface CurrencyResolution extends BaseResolution, QuantityResolution {
|
400
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
401
|
-
resolutionKind: "CurrencyResolution";
|
402
|
-
/** 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. */
|
403
|
-
iso4217?: string;
|
404
|
-
/** The unit of the amount captured in the extracted entity */
|
405
|
-
unit: string;
|
406
|
-
}
|
407
|
-
|
408
333
|
/**
|
409
334
|
* Custom action metadata.
|
410
335
|
*/
|
@@ -539,33 +464,6 @@ export declare interface CustomSingleLabelClassificationSuccessResult extends Te
|
|
539
464
|
readonly classifications: ClassificationCategory[];
|
540
465
|
}
|
541
466
|
|
542
|
-
/** A resolution for datetime entity instances. */
|
543
|
-
export declare interface DateTimeResolution extends BaseResolution {
|
544
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
545
|
-
resolutionKind: "DateTimeResolution";
|
546
|
-
/** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */
|
547
|
-
timex: string;
|
548
|
-
/** The DateTime SubKind */
|
549
|
-
dateTimeSubKind: DateTimeSubKind;
|
550
|
-
/** The actual time that the extracted text denote. */
|
551
|
-
value: string;
|
552
|
-
/** An optional modifier of a date/time instance. */
|
553
|
-
modifier?: TemporalModifier;
|
554
|
-
}
|
555
|
-
|
556
|
-
/**
|
557
|
-
* Defines values for DateTimeSubKind. \
|
558
|
-
* {@link KnownDateTimeSubKind} can be used interchangeably with DateTimeSubKind,
|
559
|
-
* this enum contains the known values that the service supports.
|
560
|
-
* ### Known values supported by the service
|
561
|
-
* **Time** \
|
562
|
-
* **Date** \
|
563
|
-
* **DateTime** \
|
564
|
-
* **Duration** \
|
565
|
-
* **Set**
|
566
|
-
*/
|
567
|
-
export declare type DateTimeSubKind = string;
|
568
|
-
|
569
467
|
/** Information about the language of a document as identified by the Language service. */
|
570
468
|
export declare interface DetectedLanguage {
|
571
469
|
/** Long name of a detected language (e.g. English, French). */
|
@@ -574,14 +472,6 @@ export declare interface DetectedLanguage {
|
|
574
472
|
iso6391Name: string;
|
575
473
|
/** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */
|
576
474
|
confidenceScore: number;
|
577
|
-
/** Identifies the script of the input document. */
|
578
|
-
script?: ScriptKind;
|
579
|
-
}
|
580
|
-
|
581
|
-
/** The auto-detected language of the input document. */
|
582
|
-
export declare interface DocumentDetectedLanguage {
|
583
|
-
/** 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. */
|
584
|
-
detectedLanguage?: DetectedLanguage;
|
585
475
|
}
|
586
476
|
|
587
477
|
/** Defines values for DocumentSentimentLabel. */
|
@@ -713,13 +603,7 @@ export declare interface EntityRecognitionSuccessResult extends TextAnalysisSucc
|
|
713
603
|
/**
|
714
604
|
* The collection of entities identified in the input document.
|
715
605
|
*/
|
716
|
-
readonly entities:
|
717
|
-
}
|
718
|
-
|
719
|
-
/** An entity with resolution. */
|
720
|
-
export declare interface EntityWithResolution extends Entity {
|
721
|
-
/** The collection of entity resolution objects. */
|
722
|
-
resolutions?: BaseResolutionUnion[];
|
606
|
+
readonly entities: Entity[];
|
723
607
|
}
|
724
608
|
|
725
609
|
/** Supported parameters for an Extractive Summarization task. */
|
@@ -780,21 +664,8 @@ export declare interface ExtractiveSummarizationSuccessResult extends TextAnalys
|
|
780
664
|
readonly sentences: SummarySentence[];
|
781
665
|
}
|
782
666
|
|
783
|
-
/**
|
784
|
-
* Defines values for FhirVersion. \
|
785
|
-
* {@link KnownFhirVersion} can be used interchangeably with FhirVersion,
|
786
|
-
* this enum contains the known values that the service supports.
|
787
|
-
* ### Known values supported by the service
|
788
|
-
* **4.0.1**
|
789
|
-
*/
|
790
|
-
export declare type FhirVersion = string;
|
791
|
-
|
792
667
|
/** Supported parameters for a Healthcare task. */
|
793
668
|
export declare interface HealthcareAction extends ActionPrebuilt {
|
794
|
-
/** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */
|
795
|
-
fhirVersion?: FhirVersion;
|
796
|
-
/** 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. */
|
797
|
-
documentType?: HealthcareDocumentType;
|
798
669
|
/**
|
799
670
|
* Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.
|
800
671
|
*
|
@@ -826,23 +697,6 @@ export declare interface HealthcareBatchAction extends AnalyzeBatchActionCommon,
|
|
826
697
|
*/
|
827
698
|
export declare type HealthcareBatchResult = ActionMetadata & BatchActionResult<HealthcareResult, "Healthcare">;
|
828
699
|
|
829
|
-
/**
|
830
|
-
* Defines values for HealthcareDocumentType. \
|
831
|
-
* {@link KnownHealthcareDocumentType} can be used interchangeably with HealthcareDocumentType,
|
832
|
-
* this enum contains the known values that the service supports.
|
833
|
-
* ### Known values supported by the service
|
834
|
-
* **None** \
|
835
|
-
* **ClinicalTrial** \
|
836
|
-
* **DischargeSummary** \
|
837
|
-
* **ProgressNote** \
|
838
|
-
* **HistoryAndPhysical** \
|
839
|
-
* **Consult** \
|
840
|
-
* **Imaging** \
|
841
|
-
* **Pathology** \
|
842
|
-
* **ProcedureNote**
|
843
|
-
*/
|
844
|
-
export declare type HealthcareDocumentType = string;
|
845
|
-
|
846
700
|
/**
|
847
701
|
* A healthcare entity represented as a node in a directed graph where the edges are
|
848
702
|
* a particular type of relationship between the source and target nodes.
|
@@ -903,6 +757,7 @@ export declare interface HealthcareEntity extends Entity {
|
|
903
757
|
* **BodyStructure** \
|
904
758
|
* **Age** \
|
905
759
|
* **Gender** \
|
760
|
+
* **Ethnicity** \
|
906
761
|
* **ExaminationName** \
|
907
762
|
* **Date** \
|
908
763
|
* **Direction** \
|
@@ -911,21 +766,30 @@ export declare interface HealthcareEntity extends Entity {
|
|
911
766
|
* **MeasurementUnit** \
|
912
767
|
* **RelationalOperator** \
|
913
768
|
* **Time** \
|
769
|
+
* **Course** \
|
914
770
|
* **GeneOrProtein** \
|
915
771
|
* **Variant** \
|
772
|
+
* **Expression** \
|
773
|
+
* **MutationType** \
|
916
774
|
* **AdministrativeEvent** \
|
917
775
|
* **CareEnvironment** \
|
918
776
|
* **HealthcareProfession** \
|
919
777
|
* **Diagnosis** \
|
920
778
|
* **SymptomOrSign** \
|
921
779
|
* **ConditionQualifier** \
|
780
|
+
* **ConditionScale** \
|
922
781
|
* **MedicationClass** \
|
923
782
|
* **MedicationName** \
|
924
783
|
* **Dosage** \
|
925
784
|
* **MedicationForm** \
|
926
785
|
* **MedicationRoute** \
|
927
786
|
* **FamilyRelation** \
|
928
|
-
* **TreatmentName**
|
787
|
+
* **TreatmentName** \
|
788
|
+
* **Allergen** \
|
789
|
+
* **Employment** \
|
790
|
+
* **LivingStatus** \
|
791
|
+
* **SubstanceUse** \
|
792
|
+
* **SubstanceUseAmount**
|
929
793
|
*/
|
930
794
|
export declare type HealthcareEntityCategory = string;
|
931
795
|
|
@@ -988,42 +852,8 @@ export declare interface HealthcareSuccessResult extends TextAnalysisSuccessResu
|
|
988
852
|
* Relations between healthcare entities.
|
989
853
|
*/
|
990
854
|
readonly entityRelations: HealthcareEntityRelation[];
|
991
|
-
/**
|
992
|
-
* JSON bundle containing a FHIR compatible object for consumption in other
|
993
|
-
* Healthcare tools. For additional information see {@link https://www.hl7.org/fhir/overview.html}.
|
994
|
-
*/
|
995
|
-
readonly fhirBundle?: Record<string, any>;
|
996
|
-
}
|
997
|
-
|
998
|
-
/** Represents the information (data) entity resolution model. */
|
999
|
-
export declare interface InformationResolution extends BaseResolution, QuantityResolution {
|
1000
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
1001
|
-
resolutionKind: "InformationResolution";
|
1002
|
-
/** The information (data) Unit of measurement. */
|
1003
|
-
unit: InformationUnit;
|
1004
855
|
}
|
1005
856
|
|
1006
|
-
/**
|
1007
|
-
* Defines values for InformationUnit. \
|
1008
|
-
* {@link KnownInformationUnit} can be used interchangeably with InformationUnit,
|
1009
|
-
* this enum contains the known values that the service supports.
|
1010
|
-
* ### Known values supported by the service
|
1011
|
-
* **Unspecified** \
|
1012
|
-
* **Bit** \
|
1013
|
-
* **Kilobit** \
|
1014
|
-
* **Megabit** \
|
1015
|
-
* **Gigabit** \
|
1016
|
-
* **Terabit** \
|
1017
|
-
* **Petabit** \
|
1018
|
-
* **Byte** \
|
1019
|
-
* **Kilobyte** \
|
1020
|
-
* **Megabyte** \
|
1021
|
-
* **Gigabyte** \
|
1022
|
-
* **Terabyte** \
|
1023
|
-
* **Petabyte**
|
1024
|
-
*/
|
1025
|
-
export declare type InformationUnit = string;
|
1026
|
-
|
1027
857
|
/** Options for a key phrase recognition action. */
|
1028
858
|
export declare interface KeyPhraseExtractionAction extends ActionPrebuilt {
|
1029
859
|
}
|
@@ -1063,64 +893,6 @@ export declare interface KeyPhraseExtractionSuccessResult extends TextAnalysisSu
|
|
1063
893
|
readonly keyPhrases: string[];
|
1064
894
|
}
|
1065
895
|
|
1066
|
-
/** Known values of {@link AgeUnit} that the service accepts. */
|
1067
|
-
export declare enum KnownAgeUnit {
|
1068
|
-
/** Unspecified */
|
1069
|
-
Unspecified = "Unspecified",
|
1070
|
-
/** Year */
|
1071
|
-
Year = "Year",
|
1072
|
-
/** Month */
|
1073
|
-
Month = "Month",
|
1074
|
-
/** Week */
|
1075
|
-
Week = "Week",
|
1076
|
-
/** Day */
|
1077
|
-
Day = "Day"
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
/** Known values of {@link AreaUnit} that the service accepts. */
|
1081
|
-
export declare enum KnownAreaUnit {
|
1082
|
-
/** Unspecified */
|
1083
|
-
Unspecified = "Unspecified",
|
1084
|
-
/** SquareKilometer */
|
1085
|
-
SquareKilometer = "SquareKilometer",
|
1086
|
-
/** SquareHectometer */
|
1087
|
-
SquareHectometer = "SquareHectometer",
|
1088
|
-
/** SquareDecameter */
|
1089
|
-
SquareDecameter = "SquareDecameter",
|
1090
|
-
/** SquareDecimeter */
|
1091
|
-
SquareDecimeter = "SquareDecimeter",
|
1092
|
-
/** SquareMeter */
|
1093
|
-
SquareMeter = "SquareMeter",
|
1094
|
-
/** SquareCentimeter */
|
1095
|
-
SquareCentimeter = "SquareCentimeter",
|
1096
|
-
/** SquareMillimeter */
|
1097
|
-
SquareMillimeter = "SquareMillimeter",
|
1098
|
-
/** SquareInch */
|
1099
|
-
SquareInch = "SquareInch",
|
1100
|
-
/** SquareFoot */
|
1101
|
-
SquareFoot = "SquareFoot",
|
1102
|
-
/** SquareMile */
|
1103
|
-
SquareMile = "SquareMile",
|
1104
|
-
/** SquareYard */
|
1105
|
-
SquareYard = "SquareYard",
|
1106
|
-
/** Acre */
|
1107
|
-
Acre = "Acre"
|
1108
|
-
}
|
1109
|
-
|
1110
|
-
/** Known values of {@link DateTimeSubKind} that the service accepts. */
|
1111
|
-
export declare enum KnownDateTimeSubKind {
|
1112
|
-
/** Time */
|
1113
|
-
Time = "Time",
|
1114
|
-
/** Date */
|
1115
|
-
Date = "Date",
|
1116
|
-
/** DateTime */
|
1117
|
-
DateTime = "DateTime",
|
1118
|
-
/** Duration */
|
1119
|
-
Duration = "Duration",
|
1120
|
-
/** Set */
|
1121
|
-
Set = "Set"
|
1122
|
-
}
|
1123
|
-
|
1124
896
|
/** Known values of {@link ErrorCode} that the service accepts. */
|
1125
897
|
export declare enum KnownErrorCode {
|
1126
898
|
/** InvalidRequest */
|
@@ -1169,36 +941,6 @@ export declare enum KnownExtractiveSummarizationOrderingCriteria {
|
|
1169
941
|
Rank = "Rank"
|
1170
942
|
}
|
1171
943
|
|
1172
|
-
/**
|
1173
|
-
* Known values of the {@link HealthcareAction.fhirVersion} parameter.
|
1174
|
-
*/
|
1175
|
-
export declare enum KnownFhirVersion {
|
1176
|
-
/** 4.0.1 */
|
1177
|
-
"4.0.1" = "4.0.1"
|
1178
|
-
}
|
1179
|
-
|
1180
|
-
/** Known values of {@link HealthcareDocumentType} that the service accepts. */
|
1181
|
-
export declare enum KnownHealthcareDocumentType {
|
1182
|
-
/** None */
|
1183
|
-
None = "None",
|
1184
|
-
/** ClinicalTrial */
|
1185
|
-
ClinicalTrial = "ClinicalTrial",
|
1186
|
-
/** DischargeSummary */
|
1187
|
-
DischargeSummary = "DischargeSummary",
|
1188
|
-
/** ProgressNote */
|
1189
|
-
ProgressNote = "ProgressNote",
|
1190
|
-
/** HistoryAndPhysical */
|
1191
|
-
HistoryAndPhysical = "HistoryAndPhysical",
|
1192
|
-
/** Consult */
|
1193
|
-
Consult = "Consult",
|
1194
|
-
/** Imaging */
|
1195
|
-
Imaging = "Imaging",
|
1196
|
-
/** Pathology */
|
1197
|
-
Pathology = "Pathology",
|
1198
|
-
/** ProcedureNote */
|
1199
|
-
ProcedureNote = "ProcedureNote"
|
1200
|
-
}
|
1201
|
-
|
1202
944
|
/** Known values of {@link HealthcareEntityCategory} that the service accepts. */
|
1203
945
|
export declare enum KnownHealthcareEntityCategory {
|
1204
946
|
/** BodyStructure */
|
@@ -1207,6 +949,8 @@ export declare enum KnownHealthcareEntityCategory {
|
|
1207
949
|
Age = "Age",
|
1208
950
|
/** Gender */
|
1209
951
|
Gender = "Gender",
|
952
|
+
/** Ethnicity */
|
953
|
+
Ethnicity = "Ethnicity",
|
1210
954
|
/** ExaminationName */
|
1211
955
|
ExaminationName = "ExaminationName",
|
1212
956
|
/** Date */
|
@@ -1223,10 +967,16 @@ export declare enum KnownHealthcareEntityCategory {
|
|
1223
967
|
RelationalOperator = "RelationalOperator",
|
1224
968
|
/** Time */
|
1225
969
|
Time = "Time",
|
970
|
+
/** Course */
|
971
|
+
Course = "Course",
|
1226
972
|
/** GeneOrProtein */
|
1227
973
|
GeneOrProtein = "GeneOrProtein",
|
1228
974
|
/** Variant */
|
1229
975
|
Variant = "Variant",
|
976
|
+
/** Expression */
|
977
|
+
Expression = "Expression",
|
978
|
+
/** MutationType */
|
979
|
+
MutationType = "MutationType",
|
1230
980
|
/** AdministrativeEvent */
|
1231
981
|
AdministrativeEvent = "AdministrativeEvent",
|
1232
982
|
/** CareEnvironment */
|
@@ -1239,6 +989,8 @@ export declare enum KnownHealthcareEntityCategory {
|
|
1239
989
|
SymptomOrSign = "SymptomOrSign",
|
1240
990
|
/** ConditionQualifier */
|
1241
991
|
ConditionQualifier = "ConditionQualifier",
|
992
|
+
/** ConditionScale */
|
993
|
+
ConditionScale = "ConditionScale",
|
1242
994
|
/** MedicationClass */
|
1243
995
|
MedicationClass = "MedicationClass",
|
1244
996
|
/** MedicationName */
|
@@ -1252,37 +1004,17 @@ export declare enum KnownHealthcareEntityCategory {
|
|
1252
1004
|
/** FamilyRelation */
|
1253
1005
|
FamilyRelation = "FamilyRelation",
|
1254
1006
|
/** TreatmentName */
|
1255
|
-
TreatmentName = "TreatmentName"
|
1256
|
-
|
1257
|
-
|
1258
|
-
/**
|
1259
|
-
|
1260
|
-
/**
|
1261
|
-
|
1262
|
-
/**
|
1263
|
-
|
1264
|
-
/**
|
1265
|
-
|
1266
|
-
/** Megabit */
|
1267
|
-
Megabit = "Megabit",
|
1268
|
-
/** Gigabit */
|
1269
|
-
Gigabit = "Gigabit",
|
1270
|
-
/** Terabit */
|
1271
|
-
Terabit = "Terabit",
|
1272
|
-
/** Petabit */
|
1273
|
-
Petabit = "Petabit",
|
1274
|
-
/** Byte */
|
1275
|
-
Byte = "Byte",
|
1276
|
-
/** Kilobyte */
|
1277
|
-
Kilobyte = "Kilobyte",
|
1278
|
-
/** Megabyte */
|
1279
|
-
Megabyte = "Megabyte",
|
1280
|
-
/** Gigabyte */
|
1281
|
-
Gigabyte = "Gigabyte",
|
1282
|
-
/** Terabyte */
|
1283
|
-
Terabyte = "Terabyte",
|
1284
|
-
/** Petabyte */
|
1285
|
-
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"
|
1286
1018
|
}
|
1287
1019
|
|
1288
1020
|
/** Known values of {@link InnerErrorCode} that the service accepts. */
|
@@ -1317,60 +1049,6 @@ export declare enum KnownInnerErrorCode {
|
|
1317
1049
|
InvalidCountryHint = "InvalidCountryHint"
|
1318
1050
|
}
|
1319
1051
|
|
1320
|
-
/** Known values of {@link LengthUnit} that the service accepts. */
|
1321
|
-
export declare enum KnownLengthUnit {
|
1322
|
-
/** Unspecified */
|
1323
|
-
Unspecified = "Unspecified",
|
1324
|
-
/** Kilometer */
|
1325
|
-
Kilometer = "Kilometer",
|
1326
|
-
/** Hectometer */
|
1327
|
-
Hectometer = "Hectometer",
|
1328
|
-
/** Decameter */
|
1329
|
-
Decameter = "Decameter",
|
1330
|
-
/** Meter */
|
1331
|
-
Meter = "Meter",
|
1332
|
-
/** Decimeter */
|
1333
|
-
Decimeter = "Decimeter",
|
1334
|
-
/** Centimeter */
|
1335
|
-
Centimeter = "Centimeter",
|
1336
|
-
/** Millimeter */
|
1337
|
-
Millimeter = "Millimeter",
|
1338
|
-
/** Micrometer */
|
1339
|
-
Micrometer = "Micrometer",
|
1340
|
-
/** Nanometer */
|
1341
|
-
Nanometer = "Nanometer",
|
1342
|
-
/** Picometer */
|
1343
|
-
Picometer = "Picometer",
|
1344
|
-
/** Mile */
|
1345
|
-
Mile = "Mile",
|
1346
|
-
/** Yard */
|
1347
|
-
Yard = "Yard",
|
1348
|
-
/** Inch */
|
1349
|
-
Inch = "Inch",
|
1350
|
-
/** Foot */
|
1351
|
-
Foot = "Foot",
|
1352
|
-
/** LightYear */
|
1353
|
-
LightYear = "LightYear",
|
1354
|
-
/** Pt */
|
1355
|
-
Pt = "Pt"
|
1356
|
-
}
|
1357
|
-
|
1358
|
-
/** Known values of {@link NumberKind} that the service accepts. */
|
1359
|
-
export declare enum KnownNumberKind {
|
1360
|
-
/** Integer */
|
1361
|
-
Integer = "Integer",
|
1362
|
-
/** Decimal */
|
1363
|
-
Decimal = "Decimal",
|
1364
|
-
/** Power */
|
1365
|
-
Power = "Power",
|
1366
|
-
/** Fraction */
|
1367
|
-
Fraction = "Fraction",
|
1368
|
-
/** Percent */
|
1369
|
-
Percent = "Percent",
|
1370
|
-
/** Unspecified */
|
1371
|
-
Unspecified = "Unspecified"
|
1372
|
-
}
|
1373
|
-
|
1374
1052
|
/** Known values of {@link PiiEntityCategory} that the service accepts. */
|
1375
1053
|
export declare enum KnownPiiEntityCategory {
|
1376
1054
|
/** ABARoutingNumber */
|
@@ -1729,34 +1407,22 @@ export declare enum KnownPiiEntityDomain {
|
|
1729
1407
|
None = "none"
|
1730
1408
|
}
|
1731
1409
|
|
1732
|
-
/** Known values of {@link RangeKind} that the service accepts. */
|
1733
|
-
export declare enum KnownRangeKind {
|
1734
|
-
/** Number */
|
1735
|
-
Number = "Number",
|
1736
|
-
/** Speed */
|
1737
|
-
Speed = "Speed",
|
1738
|
-
/** Weight */
|
1739
|
-
Weight = "Weight",
|
1740
|
-
/** Length */
|
1741
|
-
Length = "Length",
|
1742
|
-
/** Volume */
|
1743
|
-
Volume = "Volume",
|
1744
|
-
/** Area */
|
1745
|
-
Area = "Area",
|
1746
|
-
/** Age */
|
1747
|
-
Age = "Age",
|
1748
|
-
/** Information */
|
1749
|
-
Information = "Information",
|
1750
|
-
/** Temperature */
|
1751
|
-
Temperature = "Temperature",
|
1752
|
-
/** Currency */
|
1753
|
-
Currency = "Currency"
|
1754
|
-
}
|
1755
|
-
|
1756
1410
|
/** Known values of {@link RelationType} that the service accepts. */
|
1757
1411
|
export declare enum KnownRelationType {
|
1758
1412
|
/** Abbreviation */
|
1759
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",
|
1760
1426
|
/** DirectionOfBodyStructure */
|
1761
1427
|
DirectionOfBodyStructure = "DirectionOfBodyStructure",
|
1762
1428
|
/** DirectionOfCondition */
|
@@ -1767,18 +1433,32 @@ export declare enum KnownRelationType {
|
|
1767
1433
|
DirectionOfTreatment = "DirectionOfTreatment",
|
1768
1434
|
/** DosageOfMedication */
|
1769
1435
|
DosageOfMedication = "DosageOfMedication",
|
1436
|
+
/** ExaminationFindsCondition */
|
1437
|
+
ExaminationFindsCondition = "ExaminationFindsCondition",
|
1438
|
+
/** ExpressionOfGene */
|
1439
|
+
ExpressionOfGene = "ExpressionOfGene",
|
1440
|
+
/** ExpressionOfVariant */
|
1441
|
+
ExpressionOfVariant = "ExpressionOfVariant",
|
1770
1442
|
/** FormOfMedication */
|
1771
1443
|
FormOfMedication = "FormOfMedication",
|
1444
|
+
/** FrequencyOfCondition */
|
1445
|
+
FrequencyOfCondition = "FrequencyOfCondition",
|
1772
1446
|
/** FrequencyOfMedication */
|
1773
1447
|
FrequencyOfMedication = "FrequencyOfMedication",
|
1774
1448
|
/** FrequencyOfTreatment */
|
1775
1449
|
FrequencyOfTreatment = "FrequencyOfTreatment",
|
1450
|
+
/** MutationTypeOfGene */
|
1451
|
+
MutationTypeOfGene = "MutationTypeOfGene",
|
1452
|
+
/** MutationTypeOfVariant */
|
1453
|
+
MutationTypeOfVariant = "MutationTypeOfVariant",
|
1776
1454
|
/** QualifierOfCondition */
|
1777
1455
|
QualifierOfCondition = "QualifierOfCondition",
|
1778
1456
|
/** RelationOfExamination */
|
1779
1457
|
RelationOfExamination = "RelationOfExamination",
|
1780
1458
|
/** RouteOfMedication */
|
1781
1459
|
RouteOfMedication = "RouteOfMedication",
|
1460
|
+
/** ScaleOfCondition */
|
1461
|
+
ScaleOfCondition = "ScaleOfCondition",
|
1782
1462
|
/** TimeOfCondition */
|
1783
1463
|
TimeOfCondition = "TimeOfCondition",
|
1784
1464
|
/** TimeOfEvent */
|
@@ -1796,89 +1476,9 @@ export declare enum KnownRelationType {
|
|
1796
1476
|
/** ValueOfCondition */
|
1797
1477
|
ValueOfCondition = "ValueOfCondition",
|
1798
1478
|
/** ValueOfExamination */
|
1799
|
-
ValueOfExamination = "ValueOfExamination"
|
1800
|
-
|
1801
|
-
|
1802
|
-
/** Known values of {@link RelativeTo} that the service accepts. */
|
1803
|
-
export declare enum KnownRelativeTo {
|
1804
|
-
/** Current */
|
1805
|
-
Current = "Current",
|
1806
|
-
/** End */
|
1807
|
-
End = "End",
|
1808
|
-
/** Start */
|
1809
|
-
Start = "Start"
|
1810
|
-
}
|
1811
|
-
|
1812
|
-
/** Known values of {@link ResolutionKind} that the service accepts. */
|
1813
|
-
export declare enum KnownResolutionKind {
|
1814
|
-
/** BooleanResolution */
|
1815
|
-
BooleanResolution = "BooleanResolution",
|
1816
|
-
/** DateTimeResolution */
|
1817
|
-
DateTimeResolution = "DateTimeResolution",
|
1818
|
-
/** NumberResolution */
|
1819
|
-
NumberResolution = "NumberResolution",
|
1820
|
-
/** OrdinalResolution */
|
1821
|
-
OrdinalResolution = "OrdinalResolution",
|
1822
|
-
/** SpeedResolution */
|
1823
|
-
SpeedResolution = "SpeedResolution",
|
1824
|
-
/** WeightResolution */
|
1825
|
-
WeightResolution = "WeightResolution",
|
1826
|
-
/** LengthResolution */
|
1827
|
-
LengthResolution = "LengthResolution",
|
1828
|
-
/** VolumeResolution */
|
1829
|
-
VolumeResolution = "VolumeResolution",
|
1830
|
-
/** AreaResolution */
|
1831
|
-
AreaResolution = "AreaResolution",
|
1832
|
-
/** AgeResolution */
|
1833
|
-
AgeResolution = "AgeResolution",
|
1834
|
-
/** InformationResolution */
|
1835
|
-
InformationResolution = "InformationResolution",
|
1836
|
-
/** TemperatureResolution */
|
1837
|
-
TemperatureResolution = "TemperatureResolution",
|
1838
|
-
/** CurrencyResolution */
|
1839
|
-
CurrencyResolution = "CurrencyResolution",
|
1840
|
-
/** NumericRangeResolution */
|
1841
|
-
NumericRangeResolution = "NumericRangeResolution",
|
1842
|
-
/** TemporalSpanResolution */
|
1843
|
-
TemporalSpanResolution = "TemporalSpanResolution"
|
1844
|
-
}
|
1845
|
-
|
1846
|
-
/** Known values of {@link ScriptKind} that the service accepts. */
|
1847
|
-
export declare enum KnownScriptKind {
|
1848
|
-
/** Latin */
|
1849
|
-
Latin = "Latin"
|
1850
|
-
}
|
1851
|
-
|
1852
|
-
/** Known values of {@link SpeedUnit} that the service accepts. */
|
1853
|
-
export declare enum KnownSpeedUnit {
|
1854
|
-
/** Unspecified */
|
1855
|
-
Unspecified = "Unspecified",
|
1856
|
-
/** MeterPerSecond */
|
1857
|
-
MeterPerSecond = "MeterPerSecond",
|
1858
|
-
/** KilometerPerHour */
|
1859
|
-
KilometerPerHour = "KilometerPerHour",
|
1860
|
-
/** KilometerPerMinute */
|
1861
|
-
KilometerPerMinute = "KilometerPerMinute",
|
1862
|
-
/** KilometerPerSecond */
|
1863
|
-
KilometerPerSecond = "KilometerPerSecond",
|
1864
|
-
/** MilePerHour */
|
1865
|
-
MilePerHour = "MilePerHour",
|
1866
|
-
/** Knot */
|
1867
|
-
Knot = "Knot",
|
1868
|
-
/** FootPerSecond */
|
1869
|
-
FootPerSecond = "FootPerSecond",
|
1870
|
-
/** FootPerMinute */
|
1871
|
-
FootPerMinute = "FootPerMinute",
|
1872
|
-
/** YardPerMinute */
|
1873
|
-
YardPerMinute = "YardPerMinute",
|
1874
|
-
/** YardPerSecond */
|
1875
|
-
YardPerSecond = "YardPerSecond",
|
1876
|
-
/** MeterPerMillisecond */
|
1877
|
-
MeterPerMillisecond = "MeterPerMillisecond",
|
1878
|
-
/** CentimeterPerMillisecond */
|
1879
|
-
CentimeterPerMillisecond = "CentimeterPerMillisecond",
|
1880
|
-
/** KilometerPerMillisecond */
|
1881
|
-
KilometerPerMillisecond = "KilometerPerMillisecond"
|
1479
|
+
ValueOfExamination = "ValueOfExamination",
|
1480
|
+
/** VariantOfGene */
|
1481
|
+
VariantOfGene = "VariantOfGene"
|
1882
1482
|
}
|
1883
1483
|
|
1884
1484
|
/** Known values of {@link StringIndexType} that the service accepts. */
|
@@ -1891,60 +1491,6 @@ export declare enum KnownStringIndexType {
|
|
1891
1491
|
Utf16CodeUnit = "Utf16CodeUnit"
|
1892
1492
|
}
|
1893
1493
|
|
1894
|
-
/** Known values of {@link TemperatureUnit} that the service accepts. */
|
1895
|
-
export declare enum KnownTemperatureUnit {
|
1896
|
-
/** Unspecified */
|
1897
|
-
Unspecified = "Unspecified",
|
1898
|
-
/** Fahrenheit */
|
1899
|
-
Fahrenheit = "Fahrenheit",
|
1900
|
-
/** Kelvin */
|
1901
|
-
Kelvin = "Kelvin",
|
1902
|
-
/** Rankine */
|
1903
|
-
Rankine = "Rankine",
|
1904
|
-
/** Celsius */
|
1905
|
-
Celsius = "Celsius"
|
1906
|
-
}
|
1907
|
-
|
1908
|
-
/** Known values of {@link TemporalModifier} that the service accepts. */
|
1909
|
-
export declare enum KnownTemporalModifier {
|
1910
|
-
/** AfterApprox */
|
1911
|
-
AfterApprox = "AfterApprox",
|
1912
|
-
/** Before */
|
1913
|
-
Before = "Before",
|
1914
|
-
/** BeforeStart */
|
1915
|
-
BeforeStart = "BeforeStart",
|
1916
|
-
/** Approx */
|
1917
|
-
Approx = "Approx",
|
1918
|
-
/** ReferenceUndefined */
|
1919
|
-
ReferenceUndefined = "ReferenceUndefined",
|
1920
|
-
/** SinceEnd */
|
1921
|
-
SinceEnd = "SinceEnd",
|
1922
|
-
/** AfterMid */
|
1923
|
-
AfterMid = "AfterMid",
|
1924
|
-
/** Start */
|
1925
|
-
Start = "Start",
|
1926
|
-
/** After */
|
1927
|
-
After = "After",
|
1928
|
-
/** BeforeEnd */
|
1929
|
-
BeforeEnd = "BeforeEnd",
|
1930
|
-
/** Until */
|
1931
|
-
Until = "Until",
|
1932
|
-
/** End */
|
1933
|
-
End = "End",
|
1934
|
-
/** Less */
|
1935
|
-
Less = "Less",
|
1936
|
-
/** Since */
|
1937
|
-
Since = "Since",
|
1938
|
-
/** AfterStart */
|
1939
|
-
AfterStart = "AfterStart",
|
1940
|
-
/** BeforeApprox */
|
1941
|
-
BeforeApprox = "BeforeApprox",
|
1942
|
-
/** Mid */
|
1943
|
-
Mid = "Mid",
|
1944
|
-
/** More */
|
1945
|
-
More = "More"
|
1946
|
-
}
|
1947
|
-
|
1948
1494
|
/**
|
1949
1495
|
* Enum of possible error codes of a {@link TextAnalysisError}.
|
1950
1496
|
*/
|
@@ -1980,102 +1526,6 @@ export declare const KnownTextAnalysisErrorCode: {
|
|
1980
1526
|
Warning: KnownErrorCode.Warning;
|
1981
1527
|
};
|
1982
1528
|
|
1983
|
-
/** Known values of {@link VolumeUnit} that the service accepts. */
|
1984
|
-
export declare enum KnownVolumeUnit {
|
1985
|
-
/** Unspecified */
|
1986
|
-
Unspecified = "Unspecified",
|
1987
|
-
/** CubicMeter */
|
1988
|
-
CubicMeter = "CubicMeter",
|
1989
|
-
/** CubicCentimeter */
|
1990
|
-
CubicCentimeter = "CubicCentimeter",
|
1991
|
-
/** CubicMillimeter */
|
1992
|
-
CubicMillimeter = "CubicMillimeter",
|
1993
|
-
/** Hectoliter */
|
1994
|
-
Hectoliter = "Hectoliter",
|
1995
|
-
/** Decaliter */
|
1996
|
-
Decaliter = "Decaliter",
|
1997
|
-
/** Liter */
|
1998
|
-
Liter = "Liter",
|
1999
|
-
/** Centiliter */
|
2000
|
-
Centiliter = "Centiliter",
|
2001
|
-
/** Milliliter */
|
2002
|
-
Milliliter = "Milliliter",
|
2003
|
-
/** CubicYard */
|
2004
|
-
CubicYard = "CubicYard",
|
2005
|
-
/** CubicInch */
|
2006
|
-
CubicInch = "CubicInch",
|
2007
|
-
/** CubicFoot */
|
2008
|
-
CubicFoot = "CubicFoot",
|
2009
|
-
/** CubicMile */
|
2010
|
-
CubicMile = "CubicMile",
|
2011
|
-
/** FluidOunce */
|
2012
|
-
FluidOunce = "FluidOunce",
|
2013
|
-
/** Teaspoon */
|
2014
|
-
Teaspoon = "Teaspoon",
|
2015
|
-
/** Tablespoon */
|
2016
|
-
Tablespoon = "Tablespoon",
|
2017
|
-
/** Pint */
|
2018
|
-
Pint = "Pint",
|
2019
|
-
/** Quart */
|
2020
|
-
Quart = "Quart",
|
2021
|
-
/** Cup */
|
2022
|
-
Cup = "Cup",
|
2023
|
-
/** Gill */
|
2024
|
-
Gill = "Gill",
|
2025
|
-
/** Pinch */
|
2026
|
-
Pinch = "Pinch",
|
2027
|
-
/** FluidDram */
|
2028
|
-
FluidDram = "FluidDram",
|
2029
|
-
/** Barrel */
|
2030
|
-
Barrel = "Barrel",
|
2031
|
-
/** Minim */
|
2032
|
-
Minim = "Minim",
|
2033
|
-
/** Cord */
|
2034
|
-
Cord = "Cord",
|
2035
|
-
/** Peck */
|
2036
|
-
Peck = "Peck",
|
2037
|
-
/** Bushel */
|
2038
|
-
Bushel = "Bushel",
|
2039
|
-
/** Hogshead */
|
2040
|
-
Hogshead = "Hogshead"
|
2041
|
-
}
|
2042
|
-
|
2043
|
-
/** Known values of {@link WeightUnit} that the service accepts. */
|
2044
|
-
export declare enum KnownWeightUnit {
|
2045
|
-
/** Unspecified */
|
2046
|
-
Unspecified = "Unspecified",
|
2047
|
-
/** Kilogram */
|
2048
|
-
Kilogram = "Kilogram",
|
2049
|
-
/** Gram */
|
2050
|
-
Gram = "Gram",
|
2051
|
-
/** Milligram */
|
2052
|
-
Milligram = "Milligram",
|
2053
|
-
/** Gallon */
|
2054
|
-
Gallon = "Gallon",
|
2055
|
-
/** MetricTon */
|
2056
|
-
MetricTon = "MetricTon",
|
2057
|
-
/** Ton */
|
2058
|
-
Ton = "Ton",
|
2059
|
-
/** Pound */
|
2060
|
-
Pound = "Pound",
|
2061
|
-
/** Ounce */
|
2062
|
-
Ounce = "Ounce",
|
2063
|
-
/** Grain */
|
2064
|
-
Grain = "Grain",
|
2065
|
-
/** PennyWeight */
|
2066
|
-
PennyWeight = "PennyWeight",
|
2067
|
-
/** LongTonBritish */
|
2068
|
-
LongTonBritish = "LongTonBritish",
|
2069
|
-
/** ShortTonUS */
|
2070
|
-
ShortTonUS = "ShortTonUS",
|
2071
|
-
/** ShortHundredWeightUS */
|
2072
|
-
ShortHundredWeightUS = "ShortHundredWeightUS",
|
2073
|
-
/** Stone */
|
2074
|
-
Stone = "Stone",
|
2075
|
-
/** Dram */
|
2076
|
-
Dram = "Dram"
|
2077
|
-
}
|
2078
|
-
|
2079
1529
|
/** Options for a language detection action. */
|
2080
1530
|
export declare interface LanguageDetectionAction extends ActionPrebuilt {
|
2081
1531
|
}
|
@@ -2111,39 +1561,6 @@ export declare interface LanguageDetectionSuccessResult extends TextAnalysisSucc
|
|
2111
1561
|
readonly primaryLanguage: DetectedLanguage;
|
2112
1562
|
}
|
2113
1563
|
|
2114
|
-
/** Represents the length entity resolution model. */
|
2115
|
-
export declare interface LengthResolution extends BaseResolution, QuantityResolution {
|
2116
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2117
|
-
resolutionKind: "LengthResolution";
|
2118
|
-
/** The length Unit of measurement */
|
2119
|
-
unit: LengthUnit;
|
2120
|
-
}
|
2121
|
-
|
2122
|
-
/**
|
2123
|
-
* Defines values for LengthUnit. \
|
2124
|
-
* {@link KnownLengthUnit} can be used interchangeably with LengthUnit,
|
2125
|
-
* this enum contains the known values that the service supports.
|
2126
|
-
* ### Known values supported by the service
|
2127
|
-
* **Unspecified** \
|
2128
|
-
* **Kilometer** \
|
2129
|
-
* **Hectometer** \
|
2130
|
-
* **Decameter** \
|
2131
|
-
* **Meter** \
|
2132
|
-
* **Decimeter** \
|
2133
|
-
* **Centimeter** \
|
2134
|
-
* **Millimeter** \
|
2135
|
-
* **Micrometer** \
|
2136
|
-
* **Nanometer** \
|
2137
|
-
* **Picometer** \
|
2138
|
-
* **Mile** \
|
2139
|
-
* **Yard** \
|
2140
|
-
* **Inch** \
|
2141
|
-
* **Foot** \
|
2142
|
-
* **LightYear** \
|
2143
|
-
* **Pt**
|
2144
|
-
*/
|
2145
|
-
export declare type LengthUnit = string;
|
2146
|
-
|
2147
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. */
|
2148
1565
|
export declare interface LinkedEntity {
|
2149
1566
|
/** Entity Linking formal name. */
|
@@ -2174,42 +1591,6 @@ export declare interface Match {
|
|
2174
1591
|
length: number;
|
2175
1592
|
}
|
2176
1593
|
|
2177
|
-
/**
|
2178
|
-
* Defines values for NumberKind. \
|
2179
|
-
* {@link KnownNumberKind} can be used interchangeably with NumberKind,
|
2180
|
-
* this enum contains the known values that the service supports.
|
2181
|
-
* ### Known values supported by the service
|
2182
|
-
* **Integer** \
|
2183
|
-
* **Decimal** \
|
2184
|
-
* **Power** \
|
2185
|
-
* **Fraction** \
|
2186
|
-
* **Percent** \
|
2187
|
-
* **Unspecified**
|
2188
|
-
*/
|
2189
|
-
export declare type NumberKind = string;
|
2190
|
-
|
2191
|
-
/** A resolution for numeric entity instances. */
|
2192
|
-
export declare interface NumberResolution extends BaseResolution {
|
2193
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2194
|
-
resolutionKind: "NumberResolution";
|
2195
|
-
/** The type of the extracted number entity. */
|
2196
|
-
numberKind: NumberKind;
|
2197
|
-
/** A numeric representation of what the extracted text denotes. */
|
2198
|
-
value: number;
|
2199
|
-
}
|
2200
|
-
|
2201
|
-
/** represents the resolution of numeric intervals. */
|
2202
|
-
export declare interface NumericRangeResolution extends BaseResolution {
|
2203
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2204
|
-
resolutionKind: "NumericRangeResolution";
|
2205
|
-
/** The kind of range that the resolution object represents. */
|
2206
|
-
rangeKind: RangeKind;
|
2207
|
-
/** The beginning value of the interval. */
|
2208
|
-
minimum: number;
|
2209
|
-
/** The ending value of the interval. */
|
2210
|
-
maximum: number;
|
2211
|
-
}
|
2212
|
-
|
2213
1594
|
/**
|
2214
1595
|
* A mined opinion object represents an opinion we've extracted from a sentence.
|
2215
1596
|
* It consists of both a target that these assessments are about, and the actual
|
@@ -2226,18 +1607,6 @@ export declare interface Opinion {
|
|
2226
1607
|
readonly assessments: AssessmentSentiment[];
|
2227
1608
|
}
|
2228
1609
|
|
2229
|
-
/** A resolution for ordinal numbers entity instances. */
|
2230
|
-
export declare interface OrdinalResolution extends BaseResolution {
|
2231
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2232
|
-
resolutionKind: "OrdinalResolution";
|
2233
|
-
/** The offset With respect to the reference (e.g., offset = -1 in "show me the second to last" */
|
2234
|
-
offset: string;
|
2235
|
-
/** The reference point that the ordinal number denotes. */
|
2236
|
-
relativeTo: RelativeTo;
|
2237
|
-
/** A simple arithmetic expression that the ordinal denotes. */
|
2238
|
-
value: string;
|
2239
|
-
}
|
2240
|
-
|
2241
1610
|
/**
|
2242
1611
|
* Paged results of the {@link TextAnalysisClient.beginAnalyzeBatch} operation.
|
2243
1612
|
*/
|
@@ -2501,47 +1870,36 @@ export declare interface PollerLike<TState extends OperationState<TResult>, TRes
|
|
2501
1870
|
sendCancellationRequest: () => Promise<void>;
|
2502
1871
|
}
|
2503
1872
|
|
2504
|
-
/** Represents resolutions for quantities. */
|
2505
|
-
export declare interface QuantityResolution {
|
2506
|
-
/** The numeric value that the extracted text denotes. */
|
2507
|
-
value: number;
|
2508
|
-
}
|
2509
|
-
|
2510
|
-
/**
|
2511
|
-
* Defines values for RangeKind. \
|
2512
|
-
* {@link KnownRangeKind} can be used interchangeably with RangeKind,
|
2513
|
-
* this enum contains the known values that the service supports.
|
2514
|
-
* ### Known values supported by the service
|
2515
|
-
* **Number** \
|
2516
|
-
* **Speed** \
|
2517
|
-
* **Weight** \
|
2518
|
-
* **Length** \
|
2519
|
-
* **Volume** \
|
2520
|
-
* **Area** \
|
2521
|
-
* **Age** \
|
2522
|
-
* **Information** \
|
2523
|
-
* **Temperature** \
|
2524
|
-
* **Currency**
|
2525
|
-
*/
|
2526
|
-
export declare type RangeKind = string;
|
2527
|
-
|
2528
1873
|
/**
|
2529
1874
|
* Defines values for RelationType. \
|
2530
1875
|
* {@link KnownRelationType} can be used interchangeably with RelationType,
|
2531
1876
|
* this enum contains the known values that the service supports.
|
2532
1877
|
* ### Known values supported by the service
|
2533
1878
|
* **Abbreviation** \
|
1879
|
+
* **BodySiteOfCondition** \
|
1880
|
+
* **BodySiteOfTreatment** \
|
1881
|
+
* **CourseOfCondition** \
|
1882
|
+
* **CourseOfExamination** \
|
1883
|
+
* **CourseOfMedication** \
|
1884
|
+
* **CourseOfTreatment** \
|
2534
1885
|
* **DirectionOfBodyStructure** \
|
2535
1886
|
* **DirectionOfCondition** \
|
2536
1887
|
* **DirectionOfExamination** \
|
2537
1888
|
* **DirectionOfTreatment** \
|
2538
1889
|
* **DosageOfMedication** \
|
1890
|
+
* **ExaminationFindsCondition** \
|
1891
|
+
* **ExpressionOfGene** \
|
1892
|
+
* **ExpressionOfVariant** \
|
2539
1893
|
* **FormOfMedication** \
|
1894
|
+
* **FrequencyOfCondition** \
|
2540
1895
|
* **FrequencyOfMedication** \
|
2541
1896
|
* **FrequencyOfTreatment** \
|
1897
|
+
* **MutationTypeOfGene** \
|
1898
|
+
* **MutationTypeOfVariant** \
|
2542
1899
|
* **QualifierOfCondition** \
|
2543
1900
|
* **RelationOfExamination** \
|
2544
1901
|
* **RouteOfMedication** \
|
1902
|
+
* **ScaleOfCondition** \
|
2545
1903
|
* **TimeOfCondition** \
|
2546
1904
|
* **TimeOfEvent** \
|
2547
1905
|
* **TimeOfExamination** \
|
@@ -2550,21 +1908,11 @@ export declare type RangeKind = string;
|
|
2550
1908
|
* **UnitOfCondition** \
|
2551
1909
|
* **UnitOfExamination** \
|
2552
1910
|
* **ValueOfCondition** \
|
2553
|
-
* **ValueOfExamination**
|
1911
|
+
* **ValueOfExamination** \
|
1912
|
+
* **VariantOfGene**
|
2554
1913
|
*/
|
2555
1914
|
export declare type RelationType = string;
|
2556
1915
|
|
2557
|
-
/**
|
2558
|
-
* Defines values for RelativeTo. \
|
2559
|
-
* {@link KnownRelativeTo} can be used interchangeably with RelativeTo,
|
2560
|
-
* this enum contains the known values that the service supports.
|
2561
|
-
* ### Known values supported by the service
|
2562
|
-
* **Current** \
|
2563
|
-
* **End** \
|
2564
|
-
* **Start**
|
2565
|
-
*/
|
2566
|
-
export declare type RelativeTo = string;
|
2567
|
-
|
2568
1916
|
/**
|
2569
1917
|
* Options for the begin analyze actions operation.
|
2570
1918
|
*/
|
@@ -2575,15 +1923,6 @@ export declare interface RestoreAnalyzeBatchPollerOptions extends TextAnalysisOp
|
|
2575
1923
|
updateIntervalInMs?: number;
|
2576
1924
|
}
|
2577
1925
|
|
2578
|
-
/**
|
2579
|
-
* Defines values for ScriptKind. \
|
2580
|
-
* {@link KnownScriptKind} can be used interchangeably with ScriptKind,
|
2581
|
-
* this enum contains the known values that the service supports.
|
2582
|
-
* ### Known values supported by the service
|
2583
|
-
* **Latin**
|
2584
|
-
*/
|
2585
|
-
export declare type ScriptKind = string;
|
2586
|
-
|
2587
1926
|
/**
|
2588
1927
|
* The predicted sentiment for a given span of text. For more information
|
2589
1928
|
* regarding text sentiment, see {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview}.
|
@@ -2691,36 +2030,6 @@ export declare interface SentimentConfidenceScores {
|
|
2691
2030
|
negative: number;
|
2692
2031
|
}
|
2693
2032
|
|
2694
|
-
/** Represents the speed entity resolution model. */
|
2695
|
-
export declare interface SpeedResolution extends BaseResolution, QuantityResolution {
|
2696
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2697
|
-
resolutionKind: "SpeedResolution";
|
2698
|
-
/** The speed Unit of measurement */
|
2699
|
-
unit: SpeedUnit;
|
2700
|
-
}
|
2701
|
-
|
2702
|
-
/**
|
2703
|
-
* Defines values for SpeedUnit. \
|
2704
|
-
* {@link KnownSpeedUnit} can be used interchangeably with SpeedUnit,
|
2705
|
-
* this enum contains the known values that the service supports.
|
2706
|
-
* ### Known values supported by the service
|
2707
|
-
* **Unspecified** \
|
2708
|
-
* **MeterPerSecond** \
|
2709
|
-
* **KilometerPerHour** \
|
2710
|
-
* **KilometerPerMinute** \
|
2711
|
-
* **KilometerPerSecond** \
|
2712
|
-
* **MilePerHour** \
|
2713
|
-
* **Knot** \
|
2714
|
-
* **FootPerSecond** \
|
2715
|
-
* **FootPerMinute** \
|
2716
|
-
* **YardPerMinute** \
|
2717
|
-
* **YardPerSecond** \
|
2718
|
-
* **MeterPerMillisecond** \
|
2719
|
-
* **CentimeterPerMillisecond** \
|
2720
|
-
* **KilometerPerMillisecond**
|
2721
|
-
*/
|
2722
|
-
export declare type SpeedUnit = string;
|
2723
|
-
|
2724
2033
|
/**
|
2725
2034
|
* Defines values for StringIndexType. \
|
2726
2035
|
* {@link KnownStringIndexType} can be used interchangeably with StringIndexType,
|
@@ -2791,69 +2100,6 @@ export declare interface TargetSentiment {
|
|
2791
2100
|
readonly length: number;
|
2792
2101
|
}
|
2793
2102
|
|
2794
|
-
/** Represents the temperature entity resolution model. */
|
2795
|
-
export declare interface TemperatureResolution extends BaseResolution, QuantityResolution {
|
2796
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2797
|
-
resolutionKind: "TemperatureResolution";
|
2798
|
-
/** The temperature Unit of measurement. */
|
2799
|
-
unit: TemperatureUnit;
|
2800
|
-
}
|
2801
|
-
|
2802
|
-
/**
|
2803
|
-
* Defines values for TemperatureUnit. \
|
2804
|
-
* {@link KnownTemperatureUnit} can be used interchangeably with TemperatureUnit,
|
2805
|
-
* this enum contains the known values that the service supports.
|
2806
|
-
* ### Known values supported by the service
|
2807
|
-
* **Unspecified** \
|
2808
|
-
* **Fahrenheit** \
|
2809
|
-
* **Kelvin** \
|
2810
|
-
* **Rankine** \
|
2811
|
-
* **Celsius**
|
2812
|
-
*/
|
2813
|
-
export declare type TemperatureUnit = string;
|
2814
|
-
|
2815
|
-
/**
|
2816
|
-
* Defines values for TemporalModifier. \
|
2817
|
-
* {@link KnownTemporalModifier} can be used interchangeably with TemporalModifier,
|
2818
|
-
* this enum contains the known values that the service supports.
|
2819
|
-
* ### Known values supported by the service
|
2820
|
-
* **AfterApprox** \
|
2821
|
-
* **Before** \
|
2822
|
-
* **BeforeStart** \
|
2823
|
-
* **Approx** \
|
2824
|
-
* **ReferenceUndefined** \
|
2825
|
-
* **SinceEnd** \
|
2826
|
-
* **AfterMid** \
|
2827
|
-
* **Start** \
|
2828
|
-
* **After** \
|
2829
|
-
* **BeforeEnd** \
|
2830
|
-
* **Until** \
|
2831
|
-
* **End** \
|
2832
|
-
* **Less** \
|
2833
|
-
* **Since** \
|
2834
|
-
* **AfterStart** \
|
2835
|
-
* **BeforeApprox** \
|
2836
|
-
* **Mid** \
|
2837
|
-
* **More**
|
2838
|
-
*/
|
2839
|
-
export declare type TemporalModifier = string;
|
2840
|
-
|
2841
|
-
/** represents the resolution of a date and/or time span. */
|
2842
|
-
export declare interface TemporalSpanResolution extends BaseResolution {
|
2843
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
2844
|
-
resolutionKind: "TemporalSpanResolution";
|
2845
|
-
/** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */
|
2846
|
-
begin?: string;
|
2847
|
-
/** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */
|
2848
|
-
end?: string;
|
2849
|
-
/** An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations) */
|
2850
|
-
duration?: string;
|
2851
|
-
/** An optional modifier of a date/time instance. */
|
2852
|
-
modifier?: TemporalModifier;
|
2853
|
-
/** An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings. */
|
2854
|
-
timex?: string;
|
2855
|
-
}
|
2856
|
-
|
2857
2103
|
/**
|
2858
2104
|
* A client for interacting with the text analysis features in Azure Cognitive
|
2859
2105
|
* Language Service.
|
@@ -3426,8 +2672,6 @@ export declare interface TextAnalysisSuccessResult {
|
|
3426
2672
|
|
3427
2673
|
/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */
|
3428
2674
|
export declare interface TextDocumentBatchStatistics {
|
3429
|
-
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
3430
|
-
[property: string]: any;
|
3431
2675
|
/** Number of documents submitted in the request. */
|
3432
2676
|
documentCount: number;
|
3433
2677
|
/** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */
|
@@ -3444,7 +2688,7 @@ export declare interface TextDocumentInput {
|
|
3444
2688
|
id: string;
|
3445
2689
|
/** The input text to process. */
|
3446
2690
|
text: string;
|
3447
|
-
/** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc.
|
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. */
|
3448
2692
|
language?: string;
|
3449
2693
|
}
|
3450
2694
|
|
@@ -3459,50 +2703,6 @@ export declare interface TextDocumentStatistics {
|
|
3459
2703
|
/** Defines values for TokenSentimentLabel. */
|
3460
2704
|
export declare type TokenSentimentLabel = "positive" | "mixed" | "negative";
|
3461
2705
|
|
3462
|
-
/** Represents the volume entity resolution model. */
|
3463
|
-
export declare interface VolumeResolution extends BaseResolution, QuantityResolution {
|
3464
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
3465
|
-
resolutionKind: "VolumeResolution";
|
3466
|
-
/** The Volume Unit of measurement */
|
3467
|
-
unit: VolumeUnit;
|
3468
|
-
}
|
3469
|
-
|
3470
|
-
/**
|
3471
|
-
* Defines values for VolumeUnit. \
|
3472
|
-
* {@link KnownVolumeUnit} can be used interchangeably with VolumeUnit,
|
3473
|
-
* this enum contains the known values that the service supports.
|
3474
|
-
* ### Known values supported by the service
|
3475
|
-
* **Unspecified** \
|
3476
|
-
* **CubicMeter** \
|
3477
|
-
* **CubicCentimeter** \
|
3478
|
-
* **CubicMillimeter** \
|
3479
|
-
* **Hectoliter** \
|
3480
|
-
* **Decaliter** \
|
3481
|
-
* **Liter** \
|
3482
|
-
* **Centiliter** \
|
3483
|
-
* **Milliliter** \
|
3484
|
-
* **CubicYard** \
|
3485
|
-
* **CubicInch** \
|
3486
|
-
* **CubicFoot** \
|
3487
|
-
* **CubicMile** \
|
3488
|
-
* **FluidOunce** \
|
3489
|
-
* **Teaspoon** \
|
3490
|
-
* **Tablespoon** \
|
3491
|
-
* **Pint** \
|
3492
|
-
* **Quart** \
|
3493
|
-
* **Cup** \
|
3494
|
-
* **Gill** \
|
3495
|
-
* **Pinch** \
|
3496
|
-
* **FluidDram** \
|
3497
|
-
* **Barrel** \
|
3498
|
-
* **Minim** \
|
3499
|
-
* **Cord** \
|
3500
|
-
* **Peck** \
|
3501
|
-
* **Bushel** \
|
3502
|
-
* **Hogshead**
|
3503
|
-
*/
|
3504
|
-
export declare type VolumeUnit = string;
|
3505
|
-
|
3506
2706
|
/**
|
3507
2707
|
* Defines values for WarningCode. \
|
3508
2708
|
* {@link KnownWarningCode} can be used interchangeably with WarningCode,
|
@@ -3513,44 +2713,4 @@ export declare type VolumeUnit = string;
|
|
3513
2713
|
*/
|
3514
2714
|
export declare type WarningCode = string;
|
3515
2715
|
|
3516
|
-
/** Represents the weight entity resolution model. */
|
3517
|
-
export declare interface WeightResolution extends BaseResolution, QuantityResolution {
|
3518
|
-
/** Polymorphic discriminator, which specifies the different types this object can be */
|
3519
|
-
resolutionKind: "WeightResolution";
|
3520
|
-
/** The weight Unit of measurement. */
|
3521
|
-
unit: WeightUnit;
|
3522
|
-
}
|
3523
|
-
|
3524
|
-
/**
|
3525
|
-
* Defines values for WeightUnit. \
|
3526
|
-
* {@link KnownWeightUnit} can be used interchangeably with WeightUnit,
|
3527
|
-
* this enum contains the known values that the service supports.
|
3528
|
-
* ### Known values supported by the service
|
3529
|
-
* **Unspecified** \
|
3530
|
-
* **Kilogram** \
|
3531
|
-
* **Gram** \
|
3532
|
-
* **Milligram** \
|
3533
|
-
* **Gallon** \
|
3534
|
-
* **MetricTon** \
|
3535
|
-
* **Ton** \
|
3536
|
-
* **Pound** \
|
3537
|
-
* **Ounce** \
|
3538
|
-
* **Grain** \
|
3539
|
-
* **PennyWeight** \
|
3540
|
-
* **LongTonBritish** \
|
3541
|
-
* **ShortTonUS** \
|
3542
|
-
* **ShortHundredWeightUS** \
|
3543
|
-
* **Stone** \
|
3544
|
-
* **Dram**
|
3545
|
-
*/
|
3546
|
-
export declare type WeightUnit = string;
|
3547
|
-
|
3548
|
-
/**
|
3549
|
-
* Document results with potentially automatically detected language.
|
3550
|
-
*/
|
3551
|
-
export declare type WithDetectedLanguage<T> = T & DocumentDetectedLanguage & {
|
3552
|
-
/** Indicates whether the default language hint was used */
|
3553
|
-
isLanguageDefaulted?: boolean;
|
3554
|
-
};
|
3555
|
-
|
3556
2716
|
export { }
|