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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
41
41
  /**
42
42
  * @internal
43
43
  */
44
- const SDK_VERSION = "1.1.0-beta.2";
44
+ const SDK_VERSION = "1.1.0";
45
45
  /**
46
46
  * @internal
47
47
  */
@@ -600,7 +600,6 @@ const TextDocumentBatchStatistics = {
600
600
  type: {
601
601
  name: "Composite",
602
602
  className: "TextDocumentBatchStatistics",
603
- additionalProperties: { type: { name: "Object" } },
604
603
  modelProperties: {
605
604
  documentCount: {
606
605
  serializedName: "documentsCount",
@@ -760,26 +759,6 @@ const DocumentError = {
760
759
  }
761
760
  }
762
761
  };
763
- const BaseResolution = {
764
- type: {
765
- name: "Composite",
766
- className: "BaseResolution",
767
- uberParent: "BaseResolution",
768
- polymorphicDiscriminator: {
769
- serializedName: "resolutionKind",
770
- clientName: "resolutionKind"
771
- },
772
- modelProperties: {
773
- resolutionKind: {
774
- serializedName: "resolutionKind",
775
- required: true,
776
- type: {
777
- name: "String"
778
- }
779
- }
780
- }
781
- }
782
- };
783
762
  const Entity = {
784
763
  type: {
785
764
  name: "Composite",
@@ -908,56 +887,6 @@ const TextDocumentStatistics = {
908
887
  }
909
888
  }
910
889
  };
911
- const DocumentDetectedLanguage = {
912
- type: {
913
- name: "Composite",
914
- className: "DocumentDetectedLanguage",
915
- modelProperties: {
916
- detectedLanguage: {
917
- serializedName: "detectedLanguage",
918
- type: {
919
- name: "Composite",
920
- className: "DetectedLanguage"
921
- }
922
- }
923
- }
924
- }
925
- };
926
- const DetectedLanguage = {
927
- type: {
928
- name: "Composite",
929
- className: "DetectedLanguage",
930
- modelProperties: {
931
- name: {
932
- serializedName: "name",
933
- required: true,
934
- type: {
935
- name: "String"
936
- }
937
- },
938
- iso6391Name: {
939
- serializedName: "iso6391Name",
940
- required: true,
941
- type: {
942
- name: "String"
943
- }
944
- },
945
- confidenceScore: {
946
- serializedName: "confidenceScore",
947
- required: true,
948
- type: {
949
- name: "Number"
950
- }
951
- },
952
- script: {
953
- serializedName: "script",
954
- type: {
955
- name: "String"
956
- }
957
- }
958
- }
959
- }
960
- };
961
890
  const ClassificationCategory = {
962
891
  type: {
963
892
  name: "Composite",
@@ -1167,20 +1096,6 @@ const HealthcareRelationEntity = {
1167
1096
  }
1168
1097
  }
1169
1098
  };
1170
- const DocumentDetectedLanguageString = {
1171
- type: {
1172
- name: "Composite",
1173
- className: "DocumentDetectedLanguageString",
1174
- modelProperties: {
1175
- detectedLanguage: {
1176
- serializedName: "detectedLanguage",
1177
- type: {
1178
- name: "String"
1179
- }
1180
- }
1181
- }
1182
- }
1183
- };
1184
1099
  const PreBuiltResult = {
1185
1100
  type: {
1186
1101
  name: "Composite",
@@ -1194,7 +1109,7 @@ const PreBuiltResult = {
1194
1109
  element: {
1195
1110
  type: {
1196
1111
  name: "Composite",
1197
- className: "InputError"
1112
+ className: "DocumentError"
1198
1113
  }
1199
1114
  }
1200
1115
  }
@@ -1216,28 +1131,6 @@ const PreBuiltResult = {
1216
1131
  }
1217
1132
  }
1218
1133
  };
1219
- const InputError = {
1220
- type: {
1221
- name: "Composite",
1222
- className: "InputError",
1223
- modelProperties: {
1224
- id: {
1225
- serializedName: "id",
1226
- required: true,
1227
- type: {
1228
- name: "String"
1229
- }
1230
- },
1231
- error: {
1232
- serializedName: "error",
1233
- type: {
1234
- name: "Composite",
1235
- className: "ErrorModel"
1236
- }
1237
- }
1238
- }
1239
- }
1240
- };
1241
1134
  const SentimentConfidenceScores = {
1242
1135
  type: {
1243
1136
  name: "Composite",
@@ -1585,21 +1478,6 @@ const Match = {
1585
1478
  }
1586
1479
  }
1587
1480
  };
1588
- const QuantityResolution = {
1589
- type: {
1590
- name: "Composite",
1591
- className: "QuantityResolution",
1592
- modelProperties: {
1593
- value: {
1594
- serializedName: "value",
1595
- required: true,
1596
- type: {
1597
- name: "Number"
1598
- }
1599
- }
1600
- }
1601
- }
1602
- };
1603
1481
  const SummarySentence = {
1604
1482
  type: {
1605
1483
  name: "Composite",
@@ -1636,6 +1514,35 @@ const SummarySentence = {
1636
1514
  }
1637
1515
  }
1638
1516
  };
1517
+ const DetectedLanguage = {
1518
+ type: {
1519
+ name: "Composite",
1520
+ className: "DetectedLanguage",
1521
+ modelProperties: {
1522
+ name: {
1523
+ serializedName: "name",
1524
+ required: true,
1525
+ type: {
1526
+ name: "String"
1527
+ }
1528
+ },
1529
+ iso6391Name: {
1530
+ serializedName: "iso6391Name",
1531
+ required: true,
1532
+ type: {
1533
+ name: "String"
1534
+ }
1535
+ },
1536
+ confidenceScore: {
1537
+ serializedName: "confidenceScore",
1538
+ required: true,
1539
+ type: {
1540
+ name: "Number"
1541
+ }
1542
+ }
1543
+ }
1544
+ }
1545
+ };
1639
1546
  const Pagination = {
1640
1547
  type: {
1641
1548
  name: "Composite",
@@ -1650,6 +1557,26 @@ const Pagination = {
1650
1557
  }
1651
1558
  }
1652
1559
  };
1560
+ const JobErrors = {
1561
+ type: {
1562
+ name: "Composite",
1563
+ className: "JobErrors",
1564
+ modelProperties: {
1565
+ errors: {
1566
+ serializedName: "errors",
1567
+ type: {
1568
+ name: "Sequence",
1569
+ element: {
1570
+ type: {
1571
+ name: "Composite",
1572
+ className: "ErrorModel"
1573
+ }
1574
+ }
1575
+ }
1576
+ }
1577
+ }
1578
+ }
1579
+ };
1653
1580
  const AbstractiveSummarizationTaskParametersBase = {
1654
1581
  type: {
1655
1582
  name: "Composite",
@@ -1684,7 +1611,7 @@ const AbstractiveSummarizationResultBase = {
1684
1611
  element: {
1685
1612
  type: {
1686
1613
  name: "Composite",
1687
- className: "AbstractiveSummaryDocumentResultWithDetectedLanguage"
1614
+ className: "AbstractiveSummaryDocumentResult"
1688
1615
  }
1689
1616
  }
1690
1617
  }
@@ -1874,28 +1801,6 @@ const AnalyzeTextSentimentAnalysisInput = {
1874
1801
  } })
1875
1802
  }
1876
1803
  };
1877
- const AnalyzeTextDynamicClassificationInput = {
1878
- serializedName: "DynamicClassification",
1879
- type: {
1880
- name: "Composite",
1881
- className: "AnalyzeTextDynamicClassificationInput",
1882
- uberParent: "AnalyzeAction",
1883
- polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1884
- modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1885
- serializedName: "analysisInput",
1886
- type: {
1887
- name: "Composite",
1888
- className: "MultiLanguageAnalysisInput"
1889
- }
1890
- }, parameters: {
1891
- serializedName: "parameters",
1892
- type: {
1893
- name: "Composite",
1894
- className: "DynamicClassificationAction"
1895
- }
1896
- } })
1897
- }
1898
- };
1899
1804
  const SentimentTaskResult = {
1900
1805
  serializedName: "SentimentAnalysisResults",
1901
1806
  type: {
@@ -1987,541 +1892,151 @@ const LanguageDetectionTaskResult = {
1987
1892
  serializedName: "results",
1988
1893
  type: {
1989
1894
  name: "Composite",
1990
- className: "LanguageDetectionResult"
1991
- }
1992
- } })
1993
- }
1994
- };
1995
- const DynamicClassificationTaskResult = {
1996
- serializedName: "DynamicClassificationResults",
1997
- type: {
1998
- name: "Composite",
1999
- className: "DynamicClassificationTaskResult",
2000
- uberParent: "AnalyzeTextTaskResult",
2001
- polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
2002
- modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
2003
- serializedName: "results",
2004
- type: {
2005
- name: "Composite",
2006
- className: "DynamicClassificationResult"
2007
- }
2008
- } })
2009
- }
2010
- };
2011
- const AnalyzeBatchAction = {
2012
- serializedName: "AnalyzeBatchAction",
2013
- type: {
2014
- name: "Composite",
2015
- className: "AnalyzeBatchAction",
2016
- uberParent: "BatchActionState",
2017
- polymorphicDiscriminator: {
2018
- serializedName: "kind",
2019
- clientName: "kind"
2020
- },
2021
- modelProperties: Object.assign(Object.assign({}, BatchActionState.type.modelProperties), { kind: {
2022
- serializedName: "kind",
2023
- required: true,
2024
- type: {
2025
- name: "String"
2026
- }
2027
- } })
2028
- }
2029
- };
2030
- const AnalyzeTextLROResult = {
2031
- serializedName: "AnalyzeTextLROResult",
2032
- type: {
2033
- name: "Composite",
2034
- className: "AnalyzeTextLROResult",
2035
- uberParent: "TaskState",
2036
- polymorphicDiscriminator: {
2037
- serializedName: "kind",
2038
- clientName: "kind"
2039
- },
2040
- modelProperties: Object.assign(Object.assign(Object.assign({}, TaskState.type.modelProperties), BatchActionState.type.modelProperties), { kind: {
2041
- serializedName: "kind",
2042
- required: true,
2043
- type: {
2044
- name: "String"
2045
- }
2046
- } })
2047
- }
2048
- };
2049
- const AnalyzeTextJobState = {
2050
- type: {
2051
- name: "Composite",
2052
- className: "AnalyzeTextJobState",
2053
- modelProperties: Object.assign(Object.assign(Object.assign({}, JobState.type.modelProperties), TasksState.type.modelProperties), AnalyzeTextJobStatistics.type.modelProperties)
2054
- }
2055
- };
2056
- const DocumentRequestStatistics = {
2057
- type: {
2058
- name: "Composite",
2059
- className: "DocumentRequestStatistics",
2060
- additionalProperties: { type: { name: "Object" } },
2061
- modelProperties: Object.assign(Object.assign({}, TextDocumentBatchStatistics.type.modelProperties), { documentsCount: {
2062
- serializedName: "documentsCount",
2063
- required: true,
2064
- type: {
2065
- name: "Number"
2066
- }
2067
- }, validDocumentsCount: {
2068
- serializedName: "validDocumentsCount",
2069
- required: true,
2070
- type: {
2071
- name: "Number"
2072
- }
2073
- }, erroneousDocumentsCount: {
2074
- serializedName: "erroneousDocumentsCount",
2075
- required: true,
2076
- type: {
2077
- name: "Number"
2078
- }
2079
- } })
2080
- }
2081
- };
2082
- const ActionPrebuilt = {
2083
- type: {
2084
- name: "Composite",
2085
- className: "ActionPrebuilt",
2086
- modelProperties: Object.assign(Object.assign({}, ActionCommon.type.modelProperties), { modelVersion: {
2087
- defaultValue: "latest",
2088
- serializedName: "modelVersion",
2089
- type: {
2090
- name: "String"
2091
- }
2092
- } })
2093
- }
2094
- };
2095
- const ActionCustom = {
2096
- type: {
2097
- name: "Composite",
2098
- className: "ActionCustom",
2099
- modelProperties: Object.assign(Object.assign({}, ActionCommon.type.modelProperties), { projectName: {
2100
- serializedName: "projectName",
2101
- required: true,
2102
- type: {
2103
- name: "String"
2104
- }
2105
- }, deploymentName: {
2106
- serializedName: "deploymentName",
2107
- required: true,
2108
- type: {
2109
- name: "String"
2110
- }
2111
- } })
2112
- }
2113
- };
2114
- const CustomEntitiesResult = {
2115
- type: {
2116
- name: "Composite",
2117
- className: "CustomEntitiesResult",
2118
- modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
2119
- serializedName: "documents",
2120
- required: true,
2121
- type: {
2122
- name: "Sequence",
2123
- element: {
2124
- type: {
2125
- name: "Composite",
2126
- className: "CustomEntitiesResultDocumentsItem"
2127
- }
2128
- }
2129
- }
2130
- } })
2131
- }
2132
- };
2133
- const CustomLabelClassificationResult = {
2134
- type: {
2135
- name: "Composite",
2136
- className: "CustomLabelClassificationResult",
2137
- modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
2138
- serializedName: "documents",
2139
- required: true,
2140
- type: {
2141
- name: "Sequence",
2142
- element: {
2143
- type: {
2144
- name: "Composite",
2145
- className: "CustomLabelClassificationResultDocumentsItem"
2146
- }
2147
- }
2148
- }
2149
- } })
2150
- }
2151
- };
2152
- const AgeResolution = {
2153
- serializedName: "AgeResolution",
2154
- type: {
2155
- name: "Composite",
2156
- className: "AgeResolution",
2157
- uberParent: "BaseResolution",
2158
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2159
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2160
- serializedName: "unit",
2161
- required: true,
2162
- type: {
2163
- name: "String"
2164
- }
2165
- } })
2166
- }
2167
- };
2168
- const VolumeResolution = {
2169
- serializedName: "VolumeResolution",
2170
- type: {
2171
- name: "Composite",
2172
- className: "VolumeResolution",
2173
- uberParent: "BaseResolution",
2174
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2175
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2176
- serializedName: "unit",
2177
- required: true,
2178
- type: {
2179
- name: "String"
2180
- }
2181
- } })
2182
- }
2183
- };
2184
- const SpeedResolution = {
2185
- serializedName: "SpeedResolution",
2186
- type: {
2187
- name: "Composite",
2188
- className: "SpeedResolution",
2189
- uberParent: "BaseResolution",
2190
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2191
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2192
- serializedName: "unit",
2193
- required: true,
2194
- type: {
2195
- name: "String"
2196
- }
2197
- } })
2198
- }
2199
- };
2200
- const AreaResolution = {
2201
- serializedName: "AreaResolution",
2202
- type: {
2203
- name: "Composite",
2204
- className: "AreaResolution",
2205
- uberParent: "BaseResolution",
2206
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2207
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2208
- serializedName: "unit",
2209
- required: true,
2210
- type: {
2211
- name: "String"
2212
- }
2213
- } })
2214
- }
2215
- };
2216
- const LengthResolution = {
2217
- serializedName: "LengthResolution",
2218
- type: {
2219
- name: "Composite",
2220
- className: "LengthResolution",
2221
- uberParent: "BaseResolution",
2222
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2223
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2224
- serializedName: "unit",
2225
- required: true,
2226
- type: {
2227
- name: "String"
2228
- }
2229
- } })
2230
- }
2231
- };
2232
- const InformationResolution = {
2233
- serializedName: "InformationResolution",
2234
- type: {
2235
- name: "Composite",
2236
- className: "InformationResolution",
2237
- uberParent: "BaseResolution",
2238
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2239
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2240
- serializedName: "unit",
2241
- required: true,
2242
- type: {
2243
- name: "String"
2244
- }
2245
- } })
2246
- }
2247
- };
2248
- const TemperatureResolution = {
2249
- serializedName: "TemperatureResolution",
2250
- type: {
2251
- name: "Composite",
2252
- className: "TemperatureResolution",
2253
- uberParent: "BaseResolution",
2254
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2255
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2256
- serializedName: "unit",
2257
- required: true,
2258
- type: {
2259
- name: "String"
2260
- }
2261
- } })
2262
- }
2263
- };
2264
- const WeightResolution = {
2265
- serializedName: "WeightResolution",
2266
- type: {
2267
- name: "Composite",
2268
- className: "WeightResolution",
2269
- uberParent: "BaseResolution",
2270
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2271
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2272
- serializedName: "unit",
2273
- required: true,
2274
- type: {
2275
- name: "String"
2276
- }
2277
- } })
2278
- }
2279
- };
2280
- const CurrencyResolution = {
2281
- serializedName: "CurrencyResolution",
2282
- type: {
2283
- name: "Composite",
2284
- className: "CurrencyResolution",
2285
- uberParent: "BaseResolution",
2286
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2287
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { iso4217: {
2288
- serializedName: "iso4217",
2289
- type: {
2290
- name: "String"
2291
- }
2292
- }, unit: {
2293
- serializedName: "unit",
2294
- required: true,
2295
- type: {
2296
- name: "String"
2297
- }
2298
- } })
2299
- }
2300
- };
2301
- const BooleanResolution = {
2302
- serializedName: "BooleanResolution",
2303
- type: {
2304
- name: "Composite",
2305
- className: "BooleanResolution",
2306
- uberParent: "BaseResolution",
2307
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2308
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { value: {
2309
- serializedName: "value",
2310
- required: true,
2311
- type: {
2312
- name: "Boolean"
1895
+ className: "LanguageDetectionResult"
2313
1896
  }
2314
1897
  } })
2315
1898
  }
2316
1899
  };
2317
- const DateTimeResolution = {
2318
- serializedName: "DateTimeResolution",
1900
+ const AnalyzeBatchAction = {
1901
+ serializedName: "AnalyzeBatchAction",
2319
1902
  type: {
2320
1903
  name: "Composite",
2321
- className: "DateTimeResolution",
2322
- uberParent: "BaseResolution",
2323
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2324
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { timex: {
2325
- serializedName: "timex",
2326
- required: true,
2327
- type: {
2328
- name: "String"
2329
- }
2330
- }, dateTimeSubKind: {
2331
- serializedName: "dateTimeSubKind",
2332
- required: true,
2333
- type: {
2334
- name: "String"
2335
- }
2336
- }, value: {
2337
- serializedName: "value",
1904
+ className: "AnalyzeBatchAction",
1905
+ uberParent: "BatchActionState",
1906
+ polymorphicDiscriminator: {
1907
+ serializedName: "kind",
1908
+ clientName: "kind"
1909
+ },
1910
+ modelProperties: Object.assign(Object.assign({}, BatchActionState.type.modelProperties), { kind: {
1911
+ serializedName: "kind",
2338
1912
  required: true,
2339
1913
  type: {
2340
1914
  name: "String"
2341
1915
  }
2342
- }, modifier: {
2343
- serializedName: "modifier",
2344
- type: {
2345
- name: "String"
2346
- }
2347
1916
  } })
2348
1917
  }
2349
1918
  };
2350
- const NumberResolution = {
2351
- serializedName: "NumberResolution",
1919
+ const AnalyzeTextLROResult = {
1920
+ serializedName: "AnalyzeTextLROResult",
2352
1921
  type: {
2353
1922
  name: "Composite",
2354
- className: "NumberResolution",
2355
- uberParent: "BaseResolution",
2356
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2357
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { numberKind: {
2358
- serializedName: "numberKind",
1923
+ className: "AnalyzeTextLROResult",
1924
+ uberParent: "TaskState",
1925
+ polymorphicDiscriminator: {
1926
+ serializedName: "kind",
1927
+ clientName: "kind"
1928
+ },
1929
+ modelProperties: Object.assign(Object.assign(Object.assign({}, TaskState.type.modelProperties), BatchActionState.type.modelProperties), { kind: {
1930
+ serializedName: "kind",
2359
1931
  required: true,
2360
1932
  type: {
2361
1933
  name: "String"
2362
1934
  }
2363
- }, value: {
2364
- serializedName: "value",
2365
- required: true,
2366
- type: {
2367
- name: "Number"
2368
- }
2369
1935
  } })
2370
1936
  }
2371
1937
  };
2372
- const OrdinalResolution = {
2373
- serializedName: "OrdinalResolution",
1938
+ const AnalyzeTextJobState = {
2374
1939
  type: {
2375
1940
  name: "Composite",
2376
- className: "OrdinalResolution",
2377
- uberParent: "BaseResolution",
2378
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2379
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { offset: {
2380
- serializedName: "offset",
2381
- required: true,
2382
- type: {
2383
- name: "String"
2384
- }
2385
- }, relativeTo: {
2386
- serializedName: "relativeTo",
2387
- required: true,
2388
- type: {
2389
- name: "String"
2390
- }
2391
- }, value: {
2392
- serializedName: "value",
2393
- required: true,
2394
- type: {
2395
- name: "String"
2396
- }
2397
- } })
1941
+ className: "AnalyzeTextJobState",
1942
+ modelProperties: Object.assign(Object.assign(Object.assign({}, JobState.type.modelProperties), TasksState.type.modelProperties), AnalyzeTextJobStatistics.type.modelProperties)
2398
1943
  }
2399
1944
  };
2400
- const TemporalSpanResolution = {
2401
- serializedName: "TemporalSpanResolution",
1945
+ const ActionPrebuilt = {
2402
1946
  type: {
2403
1947
  name: "Composite",
2404
- className: "TemporalSpanResolution",
2405
- uberParent: "BaseResolution",
2406
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2407
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { begin: {
2408
- serializedName: "begin",
2409
- type: {
2410
- name: "String"
2411
- }
2412
- }, end: {
2413
- serializedName: "end",
2414
- type: {
2415
- name: "String"
2416
- }
2417
- }, duration: {
2418
- serializedName: "duration",
2419
- type: {
2420
- name: "String"
2421
- }
2422
- }, modifier: {
2423
- serializedName: "modifier",
2424
- type: {
2425
- name: "String"
2426
- }
2427
- }, timex: {
2428
- serializedName: "timex",
1948
+ className: "ActionPrebuilt",
1949
+ modelProperties: Object.assign(Object.assign({}, ActionCommon.type.modelProperties), { modelVersion: {
1950
+ defaultValue: "latest",
1951
+ serializedName: "modelVersion",
2429
1952
  type: {
2430
1953
  name: "String"
2431
1954
  }
2432
1955
  } })
2433
1956
  }
2434
1957
  };
2435
- const NumericRangeResolution = {
2436
- serializedName: "NumericRangeResolution",
1958
+ const ActionCustom = {
2437
1959
  type: {
2438
1960
  name: "Composite",
2439
- className: "NumericRangeResolution",
2440
- uberParent: "BaseResolution",
2441
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2442
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { rangeKind: {
2443
- serializedName: "rangeKind",
1961
+ className: "ActionCustom",
1962
+ modelProperties: Object.assign(Object.assign({}, ActionCommon.type.modelProperties), { projectName: {
1963
+ serializedName: "projectName",
2444
1964
  required: true,
2445
1965
  type: {
2446
1966
  name: "String"
2447
1967
  }
2448
- }, minimum: {
2449
- serializedName: "minimum",
2450
- required: true,
2451
- type: {
2452
- name: "Number"
2453
- }
2454
- }, maximum: {
2455
- serializedName: "maximum",
1968
+ }, deploymentName: {
1969
+ serializedName: "deploymentName",
2456
1970
  required: true,
2457
1971
  type: {
2458
- name: "Number"
1972
+ name: "String"
2459
1973
  }
2460
1974
  } })
2461
1975
  }
2462
1976
  };
2463
- const EntityWithResolution = {
1977
+ const CustomEntitiesResult = {
2464
1978
  type: {
2465
1979
  name: "Composite",
2466
- className: "EntityWithResolution",
2467
- modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { resolutions: {
2468
- serializedName: "resolutions",
1980
+ className: "CustomEntitiesResult",
1981
+ modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
1982
+ serializedName: "documents",
1983
+ required: true,
2469
1984
  type: {
2470
1985
  name: "Sequence",
2471
1986
  element: {
2472
1987
  type: {
2473
1988
  name: "Composite",
2474
- className: "BaseResolution"
1989
+ className: "CustomEntitiesResultDocumentsItem"
2475
1990
  }
2476
1991
  }
2477
1992
  }
2478
1993
  } })
2479
1994
  }
2480
1995
  };
2481
- const EntitiesDocumentResult = {
1996
+ const CustomLabelClassificationResult = {
2482
1997
  type: {
2483
1998
  name: "Composite",
2484
- className: "EntitiesDocumentResult",
2485
- modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
2486
- serializedName: "entities",
1999
+ className: "CustomLabelClassificationResult",
2000
+ modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
2001
+ serializedName: "documents",
2487
2002
  required: true,
2488
2003
  type: {
2489
2004
  name: "Sequence",
2490
2005
  element: {
2491
2006
  type: {
2492
2007
  name: "Composite",
2493
- className: "EntityWithResolution"
2008
+ className: "CustomLabelClassificationResultDocumentsItem"
2494
2009
  }
2495
2010
  }
2496
2011
  }
2497
2012
  } })
2498
2013
  }
2499
2014
  };
2500
- const ClassificationDocumentResult = {
2015
+ const EntitiesDocumentResult = {
2501
2016
  type: {
2502
2017
  name: "Composite",
2503
- className: "ClassificationDocumentResult",
2504
- modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classifications: {
2505
- serializedName: "class",
2018
+ className: "EntitiesDocumentResult",
2019
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
2020
+ serializedName: "entities",
2506
2021
  required: true,
2507
2022
  type: {
2508
2023
  name: "Sequence",
2509
2024
  element: {
2510
2025
  type: {
2511
2026
  name: "Composite",
2512
- className: "ClassificationCategory"
2027
+ className: "Entity"
2513
2028
  }
2514
2029
  }
2515
2030
  }
2516
2031
  } })
2517
2032
  }
2518
2033
  };
2519
- const DynamicClassificationDocumentResult = {
2034
+ const ClassificationDocumentResult = {
2520
2035
  type: {
2521
2036
  name: "Composite",
2522
- className: "DynamicClassificationDocumentResult",
2037
+ className: "ClassificationDocumentResult",
2523
2038
  modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classifications: {
2524
- serializedName: "classifications",
2039
+ serializedName: "class",
2525
2040
  required: true,
2526
2041
  type: {
2527
2042
  name: "Sequence",
@@ -2563,12 +2078,6 @@ const HealthcareEntitiesDocumentResult = {
2563
2078
  }
2564
2079
  }
2565
2080
  }
2566
- }, fhirBundle: {
2567
- serializedName: "fhirBundle",
2568
- type: {
2569
- name: "Dictionary",
2570
- value: { type: { name: "any" } }
2571
- }
2572
2081
  } })
2573
2082
  }
2574
2083
  };
@@ -2717,76 +2226,6 @@ const AbstractiveSummaryDocumentResult = {
2717
2226
  } })
2718
2227
  }
2719
2228
  };
2720
- const CustomEntitiesResultDocumentsItem = {
2721
- type: {
2722
- name: "Composite",
2723
- className: "CustomEntitiesResultDocumentsItem",
2724
- modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2725
- }
2726
- };
2727
- const CustomLabelClassificationResultDocumentsItem = {
2728
- type: {
2729
- name: "Composite",
2730
- className: "CustomLabelClassificationResultDocumentsItem",
2731
- modelProperties: Object.assign(Object.assign({}, ClassificationDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2732
- }
2733
- };
2734
- const SentimentResponseDocumentsItem = {
2735
- type: {
2736
- name: "Composite",
2737
- className: "SentimentResponseDocumentsItem",
2738
- modelProperties: Object.assign(Object.assign({}, SentimentDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2739
- }
2740
- };
2741
- const EntitiesResultWithDetectedLanguage = {
2742
- type: {
2743
- name: "Composite",
2744
- className: "EntitiesResultWithDetectedLanguage",
2745
- modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2746
- }
2747
- };
2748
- const EntityLinkingResultWithDetectedLanguage = {
2749
- type: {
2750
- name: "Composite",
2751
- className: "EntityLinkingResultWithDetectedLanguage",
2752
- modelProperties: Object.assign(Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2753
- }
2754
- };
2755
- const PIIResultWithDetectedLanguage = {
2756
- type: {
2757
- name: "Composite",
2758
- className: "PIIResultWithDetectedLanguage",
2759
- modelProperties: Object.assign(Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2760
- }
2761
- };
2762
- const ExtractedSummaryDocumentResultWithDetectedLanguage = {
2763
- type: {
2764
- name: "Composite",
2765
- className: "ExtractedSummaryDocumentResultWithDetectedLanguage",
2766
- modelProperties: Object.assign(Object.assign({}, ExtractedSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2767
- }
2768
- };
2769
- const KeyPhraseResultDocumentsItem = {
2770
- type: {
2771
- name: "Composite",
2772
- className: "KeyPhraseResultDocumentsItem",
2773
- modelProperties: Object.assign(Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2774
- }
2775
- };
2776
- const AbstractiveSummaryDocumentResultWithDetectedLanguage = {
2777
- type: {
2778
- name: "Composite",
2779
- className: "AbstractiveSummaryDocumentResultWithDetectedLanguage",
2780
- modelProperties: Object.assign(Object.assign({}, AbstractiveSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2781
- }
2782
- };
2783
- const HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage = {
2784
- type: {
2785
- name: "Composite",
2786
- className: "HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage",
2787
- modelProperties: Object.assign(Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguageString.type.modelProperties)
2788
- }
2789
- };
2790
2229
  const HealthcareResult = {
2791
2230
  type: {
2792
2231
  name: "Composite",
@@ -2799,7 +2238,7 @@ const HealthcareResult = {
2799
2238
  element: {
2800
2239
  type: {
2801
2240
  name: "Composite",
2802
- className: "HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage"
2241
+ className: "HealthcareResultDocumentsItem"
2803
2242
  }
2804
2243
  }
2805
2244
  }
@@ -2837,7 +2276,7 @@ const EntitiesResult = {
2837
2276
  element: {
2838
2277
  type: {
2839
2278
  name: "Composite",
2840
- className: "EntitiesResultWithDetectedLanguage"
2279
+ className: "EntitiesResultDocumentsItem"
2841
2280
  }
2842
2281
  }
2843
2282
  }
@@ -2856,7 +2295,7 @@ const EntityLinkingResult = {
2856
2295
  element: {
2857
2296
  type: {
2858
2297
  name: "Composite",
2859
- className: "EntityLinkingResultWithDetectedLanguage"
2298
+ className: "EntityLinkingResultDocumentsItem"
2860
2299
  }
2861
2300
  }
2862
2301
  }
@@ -2875,7 +2314,7 @@ const PiiResult = {
2875
2314
  element: {
2876
2315
  type: {
2877
2316
  name: "Composite",
2878
- className: "PIIResultWithDetectedLanguage"
2317
+ className: "PiiResultDocumentsItem"
2879
2318
  }
2880
2319
  }
2881
2320
  }
@@ -2894,7 +2333,7 @@ const ExtractiveSummarizationResult = {
2894
2333
  element: {
2895
2334
  type: {
2896
2335
  name: "Composite",
2897
- className: "ExtractedSummaryDocumentResultWithDetectedLanguage"
2336
+ className: "ExtractedSummaryDocumentResult"
2898
2337
  }
2899
2338
  }
2900
2339
  }
@@ -2939,25 +2378,6 @@ const LanguageDetectionResult = {
2939
2378
  } })
2940
2379
  }
2941
2380
  };
2942
- const DynamicClassificationResult = {
2943
- type: {
2944
- name: "Composite",
2945
- className: "DynamicClassificationResult",
2946
- modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
2947
- serializedName: "documents",
2948
- required: true,
2949
- type: {
2950
- name: "Sequence",
2951
- element: {
2952
- type: {
2953
- name: "Composite",
2954
- className: "DynamicClassificationResultDocumentsItem"
2955
- }
2956
- }
2957
- }
2958
- } })
2959
- }
2960
- };
2961
2381
  const AbstractiveSummarizationResult = {
2962
2382
  type: {
2963
2383
  name: "Composite",
@@ -3415,45 +2835,11 @@ const SentimentAnalysisAction = {
3415
2835
  } })
3416
2836
  }
3417
2837
  };
3418
- const DynamicClassificationAction = {
3419
- type: {
3420
- name: "Composite",
3421
- className: "DynamicClassificationAction",
3422
- modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { classificationType: {
3423
- defaultValue: "Multi",
3424
- serializedName: "classificationType",
3425
- type: {
3426
- name: "String"
3427
- }
3428
- }, categories: {
3429
- serializedName: "categories",
3430
- required: true,
3431
- type: {
3432
- name: "Sequence",
3433
- element: {
3434
- type: {
3435
- name: "String"
3436
- }
3437
- }
3438
- }
3439
- } })
3440
- }
3441
- };
3442
2838
  const HealthcareAction = {
3443
2839
  type: {
3444
2840
  name: "Composite",
3445
2841
  className: "HealthcareAction",
3446
- modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { fhirVersion: {
3447
- serializedName: "fhirVersion",
3448
- type: {
3449
- name: "String"
3450
- }
3451
- }, documentType: {
3452
- serializedName: "documentType",
3453
- type: {
3454
- name: "String"
3455
- }
3456
- }, stringIndexType: {
2842
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { stringIndexType: {
3457
2843
  defaultValue: "Utf16CodeUnit",
3458
2844
  serializedName: "stringIndexType",
3459
2845
  type: {
@@ -3514,11 +2900,60 @@ const CustomMultiLabelClassificationAction = {
3514
2900
  modelProperties: Object.assign({}, ActionCustom.type.modelProperties)
3515
2901
  }
3516
2902
  };
3517
- const DynamicClassificationResultDocumentsItem = {
2903
+ const CustomEntitiesResultDocumentsItem = {
2904
+ type: {
2905
+ name: "Composite",
2906
+ className: "CustomEntitiesResultDocumentsItem",
2907
+ modelProperties: Object.assign({}, EntitiesDocumentResult.type.modelProperties)
2908
+ }
2909
+ };
2910
+ const EntitiesResultDocumentsItem = {
2911
+ type: {
2912
+ name: "Composite",
2913
+ className: "EntitiesResultDocumentsItem",
2914
+ modelProperties: Object.assign({}, EntitiesDocumentResult.type.modelProperties)
2915
+ }
2916
+ };
2917
+ const CustomLabelClassificationResultDocumentsItem = {
2918
+ type: {
2919
+ name: "Composite",
2920
+ className: "CustomLabelClassificationResultDocumentsItem",
2921
+ modelProperties: Object.assign({}, ClassificationDocumentResult.type.modelProperties)
2922
+ }
2923
+ };
2924
+ const HealthcareResultDocumentsItem = {
2925
+ type: {
2926
+ name: "Composite",
2927
+ className: "HealthcareResultDocumentsItem",
2928
+ modelProperties: Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties)
2929
+ }
2930
+ };
2931
+ const SentimentResponseDocumentsItem = {
2932
+ type: {
2933
+ name: "Composite",
2934
+ className: "SentimentResponseDocumentsItem",
2935
+ modelProperties: Object.assign({}, SentimentDocumentResult.type.modelProperties)
2936
+ }
2937
+ };
2938
+ const EntityLinkingResultDocumentsItem = {
2939
+ type: {
2940
+ name: "Composite",
2941
+ className: "EntityLinkingResultDocumentsItem",
2942
+ modelProperties: Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties)
2943
+ }
2944
+ };
2945
+ const PiiResultDocumentsItem = {
3518
2946
  type: {
3519
2947
  name: "Composite",
3520
- className: "DynamicClassificationResultDocumentsItem",
3521
- modelProperties: Object.assign({}, DynamicClassificationDocumentResult.type.modelProperties)
2948
+ className: "PiiResultDocumentsItem",
2949
+ modelProperties: Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties)
2950
+ }
2951
+ };
2952
+ const KeyPhraseResultDocumentsItem = {
2953
+ type: {
2954
+ name: "Composite",
2955
+ className: "KeyPhraseResultDocumentsItem",
2956
+ modelProperties: Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties)
3522
2957
  }
3523
2958
  };
3524
2959
  const GeneratedClientAnalyzeBatchHeaders = {
@@ -3552,38 +2987,20 @@ const AnalyzeTextCancelJobHeaders = {
3552
2987
  let discriminators = {
3553
2988
  AnalyzeAction: AnalyzeAction,
3554
2989
  AnalyzeTextTaskResult: AnalyzeTextTaskResult,
3555
- BaseResolution: BaseResolution,
3556
2990
  "AnalyzeAction.EntityLinking": AnalyzeTextEntityLinkingInput,
3557
2991
  "AnalyzeAction.EntityRecognition": AnalyzeTextEntityRecognitionInput,
3558
2992
  "AnalyzeAction.KeyPhraseExtraction": AnalyzeTextKeyPhraseExtractionInput,
3559
2993
  "AnalyzeAction.PiiEntityRecognition": AnalyzeTextPiiEntitiesRecognitionInput,
3560
2994
  "AnalyzeAction.LanguageDetection": AnalyzeTextLanguageDetectionInput,
3561
2995
  "AnalyzeAction.SentimentAnalysis": AnalyzeTextSentimentAnalysisInput,
3562
- "AnalyzeAction.DynamicClassification": AnalyzeTextDynamicClassificationInput,
3563
2996
  "AnalyzeTextTaskResult.SentimentAnalysisResults": SentimentTaskResult,
3564
2997
  "AnalyzeTextTaskResult.EntityRecognitionResults": EntitiesTaskResult,
3565
2998
  "AnalyzeTextTaskResult.EntityLinkingResults": EntityLinkingTaskResult,
3566
2999
  "AnalyzeTextTaskResult.PiiEntityRecognitionResults": PiiTaskResult,
3567
3000
  "AnalyzeTextTaskResult.KeyPhraseExtractionResults": KeyPhraseTaskResult,
3568
3001
  "AnalyzeTextTaskResult.LanguageDetectionResults": LanguageDetectionTaskResult,
3569
- "AnalyzeTextTaskResult.DynamicClassificationResults": DynamicClassificationTaskResult,
3570
3002
  "BatchActionState.AnalyzeBatchAction": AnalyzeBatchAction,
3571
3003
  "TaskState.AnalyzeTextLROResult": AnalyzeTextLROResult,
3572
- "BaseResolution.AgeResolution": AgeResolution,
3573
- "BaseResolution.VolumeResolution": VolumeResolution,
3574
- "BaseResolution.SpeedResolution": SpeedResolution,
3575
- "BaseResolution.AreaResolution": AreaResolution,
3576
- "BaseResolution.LengthResolution": LengthResolution,
3577
- "BaseResolution.InformationResolution": InformationResolution,
3578
- "BaseResolution.TemperatureResolution": TemperatureResolution,
3579
- "BaseResolution.WeightResolution": WeightResolution,
3580
- "BaseResolution.CurrencyResolution": CurrencyResolution,
3581
- "BaseResolution.BooleanResolution": BooleanResolution,
3582
- "BaseResolution.DateTimeResolution": DateTimeResolution,
3583
- "BaseResolution.NumberResolution": NumberResolution,
3584
- "BaseResolution.OrdinalResolution": OrdinalResolution,
3585
- "BaseResolution.TemporalSpanResolution": TemporalSpanResolution,
3586
- "BaseResolution.NumericRangeResolution": NumericRangeResolution,
3587
3004
  "AnalyzeBatchAction.CustomEntityRecognition": CustomEntitiesLROTask,
3588
3005
  "AnalyzeBatchAction.CustomSingleLabelClassification": CustomSingleLabelClassificationLROTask,
3589
3006
  "AnalyzeBatchAction.CustomMultiLabelClassification": CustomMultiLabelClassificationLROTask,
@@ -3630,22 +3047,17 @@ var Mappers = /*#__PURE__*/Object.freeze({
3630
3047
  ActionCommon: ActionCommon,
3631
3048
  CustomResult: CustomResult,
3632
3049
  DocumentError: DocumentError,
3633
- BaseResolution: BaseResolution,
3634
3050
  Entity: Entity,
3635
3051
  DocumentResult: DocumentResult,
3636
3052
  DocumentWarning: DocumentWarning,
3637
3053
  TextDocumentStatistics: TextDocumentStatistics,
3638
- DocumentDetectedLanguage: DocumentDetectedLanguage,
3639
- DetectedLanguage: DetectedLanguage,
3640
3054
  ClassificationCategory: ClassificationCategory,
3641
3055
  HealthcareEntity: HealthcareEntity,
3642
3056
  HealthcareAssertion: HealthcareAssertion,
3643
3057
  EntityDataSource: EntityDataSource,
3644
3058
  HealthcareRelation: HealthcareRelation,
3645
3059
  HealthcareRelationEntity: HealthcareRelationEntity,
3646
- DocumentDetectedLanguageString: DocumentDetectedLanguageString,
3647
3060
  PreBuiltResult: PreBuiltResult,
3648
- InputError: InputError,
3649
3061
  SentimentConfidenceScores: SentimentConfidenceScores,
3650
3062
  SentenceSentiment: SentenceSentiment,
3651
3063
  SentenceTarget: SentenceTarget,
@@ -3654,9 +3066,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
3654
3066
  AssessmentSentiment: AssessmentSentiment,
3655
3067
  LinkedEntity: LinkedEntity,
3656
3068
  Match: Match,
3657
- QuantityResolution: QuantityResolution,
3658
3069
  SummarySentence: SummarySentence,
3070
+ DetectedLanguage: DetectedLanguage,
3659
3071
  Pagination: Pagination,
3072
+ JobErrors: JobErrors,
3660
3073
  AbstractiveSummarizationTaskParametersBase: AbstractiveSummarizationTaskParametersBase,
3661
3074
  AbstractiveSummarizationResultBase: AbstractiveSummarizationResultBase,
3662
3075
  AbstractiveSummary: AbstractiveSummary,
@@ -3667,41 +3080,21 @@ var Mappers = /*#__PURE__*/Object.freeze({
3667
3080
  AnalyzeTextPiiEntitiesRecognitionInput: AnalyzeTextPiiEntitiesRecognitionInput,
3668
3081
  AnalyzeTextLanguageDetectionInput: AnalyzeTextLanguageDetectionInput,
3669
3082
  AnalyzeTextSentimentAnalysisInput: AnalyzeTextSentimentAnalysisInput,
3670
- AnalyzeTextDynamicClassificationInput: AnalyzeTextDynamicClassificationInput,
3671
3083
  SentimentTaskResult: SentimentTaskResult,
3672
3084
  EntitiesTaskResult: EntitiesTaskResult,
3673
3085
  EntityLinkingTaskResult: EntityLinkingTaskResult,
3674
3086
  PiiTaskResult: PiiTaskResult,
3675
3087
  KeyPhraseTaskResult: KeyPhraseTaskResult,
3676
3088
  LanguageDetectionTaskResult: LanguageDetectionTaskResult,
3677
- DynamicClassificationTaskResult: DynamicClassificationTaskResult,
3678
3089
  AnalyzeBatchAction: AnalyzeBatchAction,
3679
3090
  AnalyzeTextLROResult: AnalyzeTextLROResult,
3680
3091
  AnalyzeTextJobState: AnalyzeTextJobState,
3681
- DocumentRequestStatistics: DocumentRequestStatistics,
3682
3092
  ActionPrebuilt: ActionPrebuilt,
3683
3093
  ActionCustom: ActionCustom,
3684
3094
  CustomEntitiesResult: CustomEntitiesResult,
3685
3095
  CustomLabelClassificationResult: CustomLabelClassificationResult,
3686
- AgeResolution: AgeResolution,
3687
- VolumeResolution: VolumeResolution,
3688
- SpeedResolution: SpeedResolution,
3689
- AreaResolution: AreaResolution,
3690
- LengthResolution: LengthResolution,
3691
- InformationResolution: InformationResolution,
3692
- TemperatureResolution: TemperatureResolution,
3693
- WeightResolution: WeightResolution,
3694
- CurrencyResolution: CurrencyResolution,
3695
- BooleanResolution: BooleanResolution,
3696
- DateTimeResolution: DateTimeResolution,
3697
- NumberResolution: NumberResolution,
3698
- OrdinalResolution: OrdinalResolution,
3699
- TemporalSpanResolution: TemporalSpanResolution,
3700
- NumericRangeResolution: NumericRangeResolution,
3701
- EntityWithResolution: EntityWithResolution,
3702
3096
  EntitiesDocumentResult: EntitiesDocumentResult,
3703
3097
  ClassificationDocumentResult: ClassificationDocumentResult,
3704
- DynamicClassificationDocumentResult: DynamicClassificationDocumentResult,
3705
3098
  HealthcareEntitiesDocumentResult: HealthcareEntitiesDocumentResult,
3706
3099
  SentimentDocumentResult: SentimentDocumentResult,
3707
3100
  LinkedEntitiesDocumentResult: LinkedEntitiesDocumentResult,
@@ -3710,16 +3103,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
3710
3103
  KeyPhrasesDocumentResult: KeyPhrasesDocumentResult,
3711
3104
  LanguageDetectionDocumentResult: LanguageDetectionDocumentResult,
3712
3105
  AbstractiveSummaryDocumentResult: AbstractiveSummaryDocumentResult,
3713
- CustomEntitiesResultDocumentsItem: CustomEntitiesResultDocumentsItem,
3714
- CustomLabelClassificationResultDocumentsItem: CustomLabelClassificationResultDocumentsItem,
3715
- SentimentResponseDocumentsItem: SentimentResponseDocumentsItem,
3716
- EntitiesResultWithDetectedLanguage: EntitiesResultWithDetectedLanguage,
3717
- EntityLinkingResultWithDetectedLanguage: EntityLinkingResultWithDetectedLanguage,
3718
- PIIResultWithDetectedLanguage: PIIResultWithDetectedLanguage,
3719
- ExtractedSummaryDocumentResultWithDetectedLanguage: ExtractedSummaryDocumentResultWithDetectedLanguage,
3720
- KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
3721
- AbstractiveSummaryDocumentResultWithDetectedLanguage: AbstractiveSummaryDocumentResultWithDetectedLanguage,
3722
- HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage: HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage,
3723
3106
  HealthcareResult: HealthcareResult,
3724
3107
  SentimentResponse: SentimentResponse,
3725
3108
  EntitiesResult: EntitiesResult,
@@ -3728,7 +3111,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
3728
3111
  ExtractiveSummarizationResult: ExtractiveSummarizationResult,
3729
3112
  KeyPhraseResult: KeyPhraseResult,
3730
3113
  LanguageDetectionResult: LanguageDetectionResult,
3731
- DynamicClassificationResult: DynamicClassificationResult,
3732
3114
  AbstractiveSummarizationResult: AbstractiveSummarizationResult,
3733
3115
  AbstractiveSummarizationAction: AbstractiveSummarizationAction,
3734
3116
  CustomEntitiesLROTask: CustomEntitiesLROTask,
@@ -3759,13 +3141,19 @@ var Mappers = /*#__PURE__*/Object.freeze({
3759
3141
  PiiEntityRecognitionAction: PiiEntityRecognitionAction,
3760
3142
  LanguageDetectionAction: LanguageDetectionAction,
3761
3143
  SentimentAnalysisAction: SentimentAnalysisAction,
3762
- DynamicClassificationAction: DynamicClassificationAction,
3763
3144
  HealthcareAction: HealthcareAction,
3764
3145
  ExtractiveSummarizationAction: ExtractiveSummarizationAction,
3765
3146
  CustomEntityRecognitionAction: CustomEntityRecognitionAction,
3766
3147
  CustomSingleLabelClassificationAction: CustomSingleLabelClassificationAction,
3767
3148
  CustomMultiLabelClassificationAction: CustomMultiLabelClassificationAction,
3768
- DynamicClassificationResultDocumentsItem: DynamicClassificationResultDocumentsItem,
3149
+ CustomEntitiesResultDocumentsItem: CustomEntitiesResultDocumentsItem,
3150
+ EntitiesResultDocumentsItem: EntitiesResultDocumentsItem,
3151
+ CustomLabelClassificationResultDocumentsItem: CustomLabelClassificationResultDocumentsItem,
3152
+ HealthcareResultDocumentsItem: HealthcareResultDocumentsItem,
3153
+ SentimentResponseDocumentsItem: SentimentResponseDocumentsItem,
3154
+ EntityLinkingResultDocumentsItem: EntityLinkingResultDocumentsItem,
3155
+ PiiResultDocumentsItem: PiiResultDocumentsItem,
3156
+ KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
3769
3157
  GeneratedClientAnalyzeBatchHeaders: GeneratedClientAnalyzeBatchHeaders,
3770
3158
  AnalyzeTextCancelJobHeaders: AnalyzeTextCancelJobHeaders,
3771
3159
  discriminators: discriminators
@@ -3818,7 +3206,7 @@ const endpoint = {
3818
3206
  const apiVersion = {
3819
3207
  parameterPath: "apiVersion",
3820
3208
  mapper: {
3821
- defaultValue: "2022-10-01-preview",
3209
+ defaultValue: "2023-04-01",
3822
3210
  isConstant: true,
3823
3211
  serializedName: "api-version",
3824
3212
  type: {
@@ -3920,9 +3308,6 @@ function toSentimentAnalysisResult(docIds, results) {
3920
3308
  },
3921
3309
  });
3922
3310
  }
3923
- function toDynamicClassificationResult(docIds, results) {
3924
- return transformDocumentResults(docIds, results);
3925
- }
3926
3311
  /**
3927
3312
  * Converts a sentence sentiment object returned by the service to another that
3928
3313
  * is user-friendly.
@@ -4001,9 +3386,6 @@ function transformActionResult(actionName, docIds, response) {
4001
3386
  case "LanguageDetectionResults": {
4002
3387
  return toLanguageDetectionResult(docIds, response.results);
4003
3388
  }
4004
- case "DynamicClassificationResults": {
4005
- return toDynamicClassificationResult(docIds, response.results);
4006
- }
4007
3389
  default: {
4008
3390
  const __exhaust = response;
4009
3391
  throw new Error(`Unsupported results kind: ${__exhaust} for an action of type ${actionName}`);
@@ -4077,9 +3459,9 @@ function toHealthcareResult(docIds, results) {
4077
3459
  }
4078
3460
  return transformDocumentResults(docIds, results, {
4079
3461
  processSuccess: (_a) => {
4080
- var { entities, relations, detectedLanguage } = _a, rest = tslib.__rest(_a, ["entities", "relations", "detectedLanguage"]);
3462
+ var { entities, relations } = _a, rest = tslib.__rest(_a, ["entities", "relations"]);
4081
3463
  const newEntities = entities.map(makeHealthcareEntity);
4082
- return Object.assign(Object.assign({ entities: newEntities, entityRelations: relations.map(makeHealthcareRelation(newEntities)) }, (detectedLanguage ? { detectedLanguage: { iso6391Name: detectedLanguage } } : {})), rest);
3464
+ return Object.assign({ entities: newEntities, entityRelations: relations.map(makeHealthcareRelation(newEntities)) }, rest);
4083
3465
  },
4084
3466
  });
4085
3467
  }
@@ -4183,7 +3565,7 @@ function transformAnalyzeBatchResults(docIds, response = [], errors = []) {
4183
3565
  }
4184
3566
  const { results } = actionData;
4185
3567
  const { modelVersion, statistics } = results;
4186
- return Object.assign(Object.assign(Object.assign({ kind, results: transformDocumentResults(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { modelVersion });
3568
+ return Object.assign(Object.assign(Object.assign({ kind: "ExtractiveSummarization", results: transformDocumentResults(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { modelVersion });
4187
3569
  }
4188
3570
  case "AbstractiveSummarizationLROResults": {
4189
3571
  const kind = "AbstractiveSummarization";
@@ -4192,7 +3574,7 @@ function transformAnalyzeBatchResults(docIds, response = [], errors = []) {
4192
3574
  }
4193
3575
  const { results } = actionData;
4194
3576
  const { modelVersion, statistics } = results;
4195
- return Object.assign(Object.assign(Object.assign({ kind, results: transformDocumentResults(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { modelVersion });
3577
+ return Object.assign(Object.assign(Object.assign({ kind: "AbstractiveSummarization", results: transformDocumentResults(docIds, results), completedOn }, (actionName ? { actionName } : {})), (statistics ? { statistics } : {})), { modelVersion });
4196
3578
  }
4197
3579
  default: {
4198
3580
  throw new Error(`Unsupported results kind: ${resultKind}`);
@@ -4538,7 +3920,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
4538
3920
  const defaults = {
4539
3921
  requestContentType: "application/json; charset=utf-8"
4540
3922
  };
4541
- const packageDetails = `azsdk-js-ai-language-text/1.1.0-beta.2`;
3923
+ const packageDetails = `azsdk-js-ai-language-text/1.1.0`;
4542
3924
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4543
3925
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4544
3926
  : `${packageDetails}`;
@@ -4549,7 +3931,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
4549
3931
  // Parameter assignments
4550
3932
  this.endpoint = endpoint;
4551
3933
  // Assigning values to Constant parameters
4552
- this.apiVersion = options.apiVersion || "2022-10-01-preview";
3934
+ this.apiVersion = options.apiVersion || "2023-04-01";
4553
3935
  this.analyzeText = new AnalyzeTextImpl(this);
4554
3936
  this.addCustomApiVersionPolicy(options.apiVersion);
4555
3937
  }
@@ -4874,8 +4256,6 @@ var KnownAnalyzeTextTaskKind;
4874
4256
  KnownAnalyzeTextTaskKind["LanguageDetection"] = "LanguageDetection";
4875
4257
  /** EntityLinking */
4876
4258
  KnownAnalyzeTextTaskKind["EntityLinking"] = "EntityLinking";
4877
- /** DynamicClassification */
4878
- KnownAnalyzeTextTaskKind["DynamicClassification"] = "DynamicClassification";
4879
4259
  })(KnownAnalyzeTextTaskKind || (KnownAnalyzeTextTaskKind = {}));
4880
4260
  /** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */
4881
4261
  var KnownAnalyzeTextTaskResultsKind;
@@ -4892,8 +4272,6 @@ var KnownAnalyzeTextTaskResultsKind;
4892
4272
  KnownAnalyzeTextTaskResultsKind["LanguageDetectionResults"] = "LanguageDetectionResults";
4893
4273
  /** EntityLinkingResults */
4894
4274
  KnownAnalyzeTextTaskResultsKind["EntityLinkingResults"] = "EntityLinkingResults";
4895
- /** DynamicClassificationResults */
4896
- KnownAnalyzeTextTaskResultsKind["DynamicClassificationResults"] = "DynamicClassificationResults";
4897
4275
  })(KnownAnalyzeTextTaskResultsKind || (KnownAnalyzeTextTaskResultsKind = {}));
4898
4276
  /** Known values of {@link ErrorCode} that the service accepts. */
4899
4277
  exports.KnownErrorCode = void 0;
@@ -5421,48 +4799,6 @@ exports.KnownPiiEntityCategory = void 0;
5421
4799
  /** Default */
5422
4800
  KnownPiiEntityCategory["Default"] = "Default";
5423
4801
  })(exports.KnownPiiEntityCategory || (exports.KnownPiiEntityCategory = {}));
5424
- /** Known values of {@link ClassificationType} that the service accepts. */
5425
- exports.KnownClassificationType = void 0;
5426
- (function (KnownClassificationType) {
5427
- /** Single */
5428
- KnownClassificationType["Single"] = "Single";
5429
- /** Multi */
5430
- KnownClassificationType["Multi"] = "Multi";
5431
- })(exports.KnownClassificationType || (exports.KnownClassificationType = {}));
5432
- /** Known values of {@link ResolutionKind} that the service accepts. */
5433
- exports.KnownResolutionKind = void 0;
5434
- (function (KnownResolutionKind) {
5435
- /** BooleanResolution */
5436
- KnownResolutionKind["BooleanResolution"] = "BooleanResolution";
5437
- /** DateTimeResolution */
5438
- KnownResolutionKind["DateTimeResolution"] = "DateTimeResolution";
5439
- /** NumberResolution */
5440
- KnownResolutionKind["NumberResolution"] = "NumberResolution";
5441
- /** OrdinalResolution */
5442
- KnownResolutionKind["OrdinalResolution"] = "OrdinalResolution";
5443
- /** SpeedResolution */
5444
- KnownResolutionKind["SpeedResolution"] = "SpeedResolution";
5445
- /** WeightResolution */
5446
- KnownResolutionKind["WeightResolution"] = "WeightResolution";
5447
- /** LengthResolution */
5448
- KnownResolutionKind["LengthResolution"] = "LengthResolution";
5449
- /** VolumeResolution */
5450
- KnownResolutionKind["VolumeResolution"] = "VolumeResolution";
5451
- /** AreaResolution */
5452
- KnownResolutionKind["AreaResolution"] = "AreaResolution";
5453
- /** AgeResolution */
5454
- KnownResolutionKind["AgeResolution"] = "AgeResolution";
5455
- /** InformationResolution */
5456
- KnownResolutionKind["InformationResolution"] = "InformationResolution";
5457
- /** TemperatureResolution */
5458
- KnownResolutionKind["TemperatureResolution"] = "TemperatureResolution";
5459
- /** CurrencyResolution */
5460
- KnownResolutionKind["CurrencyResolution"] = "CurrencyResolution";
5461
- /** NumericRangeResolution */
5462
- KnownResolutionKind["NumericRangeResolution"] = "NumericRangeResolution";
5463
- /** TemporalSpanResolution */
5464
- KnownResolutionKind["TemporalSpanResolution"] = "TemporalSpanResolution";
5465
- })(exports.KnownResolutionKind || (exports.KnownResolutionKind = {}));
5466
4802
  /** Known values of {@link WarningCode} that the service accepts. */
5467
4803
  var KnownWarningCode;
5468
4804
  (function (KnownWarningCode) {
@@ -5471,40 +4807,6 @@ var KnownWarningCode;
5471
4807
  /** DocumentTruncated */
5472
4808
  KnownWarningCode["DocumentTruncated"] = "DocumentTruncated";
5473
4809
  })(KnownWarningCode || (KnownWarningCode = {}));
5474
- /** Known values of {@link ScriptKind} that the service accepts. */
5475
- exports.KnownScriptKind = void 0;
5476
- (function (KnownScriptKind) {
5477
- /** Latin */
5478
- KnownScriptKind["Latin"] = "Latin";
5479
- })(exports.KnownScriptKind || (exports.KnownScriptKind = {}));
5480
- /** Known values of {@link FhirVersion} that the service accepts. */
5481
- var KnownFhirVersion;
5482
- (function (KnownFhirVersion) {
5483
- /** Four01 */
5484
- KnownFhirVersion["Four01"] = "4.0.1";
5485
- })(KnownFhirVersion || (KnownFhirVersion = {}));
5486
- /** Known values of {@link HealthcareDocumentType} that the service accepts. */
5487
- exports.KnownHealthcareDocumentType = void 0;
5488
- (function (KnownHealthcareDocumentType) {
5489
- /** None */
5490
- KnownHealthcareDocumentType["None"] = "None";
5491
- /** ClinicalTrial */
5492
- KnownHealthcareDocumentType["ClinicalTrial"] = "ClinicalTrial";
5493
- /** DischargeSummary */
5494
- KnownHealthcareDocumentType["DischargeSummary"] = "DischargeSummary";
5495
- /** ProgressNote */
5496
- KnownHealthcareDocumentType["ProgressNote"] = "ProgressNote";
5497
- /** HistoryAndPhysical */
5498
- KnownHealthcareDocumentType["HistoryAndPhysical"] = "HistoryAndPhysical";
5499
- /** Consult */
5500
- KnownHealthcareDocumentType["Consult"] = "Consult";
5501
- /** Imaging */
5502
- KnownHealthcareDocumentType["Imaging"] = "Imaging";
5503
- /** Pathology */
5504
- KnownHealthcareDocumentType["Pathology"] = "Pathology";
5505
- /** ProcedureNote */
5506
- KnownHealthcareDocumentType["ProcedureNote"] = "ProcedureNote";
5507
- })(exports.KnownHealthcareDocumentType || (exports.KnownHealthcareDocumentType = {}));
5508
4810
  /** Known values of {@link HealthcareEntityCategory} that the service accepts. */
5509
4811
  exports.KnownHealthcareEntityCategory = void 0;
5510
4812
  (function (KnownHealthcareEntityCategory) {
@@ -5514,6 +4816,8 @@ exports.KnownHealthcareEntityCategory = void 0;
5514
4816
  KnownHealthcareEntityCategory["Age"] = "Age";
5515
4817
  /** Gender */
5516
4818
  KnownHealthcareEntityCategory["Gender"] = "Gender";
4819
+ /** Ethnicity */
4820
+ KnownHealthcareEntityCategory["Ethnicity"] = "Ethnicity";
5517
4821
  /** ExaminationName */
5518
4822
  KnownHealthcareEntityCategory["ExaminationName"] = "ExaminationName";
5519
4823
  /** Date */
@@ -5530,10 +4834,16 @@ exports.KnownHealthcareEntityCategory = void 0;
5530
4834
  KnownHealthcareEntityCategory["RelationalOperator"] = "RelationalOperator";
5531
4835
  /** Time */
5532
4836
  KnownHealthcareEntityCategory["Time"] = "Time";
4837
+ /** Course */
4838
+ KnownHealthcareEntityCategory["Course"] = "Course";
5533
4839
  /** GeneOrProtein */
5534
4840
  KnownHealthcareEntityCategory["GeneOrProtein"] = "GeneOrProtein";
5535
4841
  /** Variant */
5536
4842
  KnownHealthcareEntityCategory["Variant"] = "Variant";
4843
+ /** Expression */
4844
+ KnownHealthcareEntityCategory["Expression"] = "Expression";
4845
+ /** MutationType */
4846
+ KnownHealthcareEntityCategory["MutationType"] = "MutationType";
5537
4847
  /** AdministrativeEvent */
5538
4848
  KnownHealthcareEntityCategory["AdministrativeEvent"] = "AdministrativeEvent";
5539
4849
  /** CareEnvironment */
@@ -5546,6 +4856,8 @@ exports.KnownHealthcareEntityCategory = void 0;
5546
4856
  KnownHealthcareEntityCategory["SymptomOrSign"] = "SymptomOrSign";
5547
4857
  /** ConditionQualifier */
5548
4858
  KnownHealthcareEntityCategory["ConditionQualifier"] = "ConditionQualifier";
4859
+ /** ConditionScale */
4860
+ KnownHealthcareEntityCategory["ConditionScale"] = "ConditionScale";
5549
4861
  /** MedicationClass */
5550
4862
  KnownHealthcareEntityCategory["MedicationClass"] = "MedicationClass";
5551
4863
  /** MedicationName */
@@ -5560,12 +4872,34 @@ exports.KnownHealthcareEntityCategory = void 0;
5560
4872
  KnownHealthcareEntityCategory["FamilyRelation"] = "FamilyRelation";
5561
4873
  /** TreatmentName */
5562
4874
  KnownHealthcareEntityCategory["TreatmentName"] = "TreatmentName";
4875
+ /** Allergen */
4876
+ KnownHealthcareEntityCategory["Allergen"] = "Allergen";
4877
+ /** Employment */
4878
+ KnownHealthcareEntityCategory["Employment"] = "Employment";
4879
+ /** LivingStatus */
4880
+ KnownHealthcareEntityCategory["LivingStatus"] = "LivingStatus";
4881
+ /** SubstanceUse */
4882
+ KnownHealthcareEntityCategory["SubstanceUse"] = "SubstanceUse";
4883
+ /** SubstanceUseAmount */
4884
+ KnownHealthcareEntityCategory["SubstanceUseAmount"] = "SubstanceUseAmount";
5563
4885
  })(exports.KnownHealthcareEntityCategory || (exports.KnownHealthcareEntityCategory = {}));
5564
4886
  /** Known values of {@link RelationType} that the service accepts. */
5565
4887
  exports.KnownRelationType = void 0;
5566
4888
  (function (KnownRelationType) {
5567
4889
  /** Abbreviation */
5568
4890
  KnownRelationType["Abbreviation"] = "Abbreviation";
4891
+ /** BodySiteOfCondition */
4892
+ KnownRelationType["BodySiteOfCondition"] = "BodySiteOfCondition";
4893
+ /** BodySiteOfTreatment */
4894
+ KnownRelationType["BodySiteOfTreatment"] = "BodySiteOfTreatment";
4895
+ /** CourseOfCondition */
4896
+ KnownRelationType["CourseOfCondition"] = "CourseOfCondition";
4897
+ /** CourseOfExamination */
4898
+ KnownRelationType["CourseOfExamination"] = "CourseOfExamination";
4899
+ /** CourseOfMedication */
4900
+ KnownRelationType["CourseOfMedication"] = "CourseOfMedication";
4901
+ /** CourseOfTreatment */
4902
+ KnownRelationType["CourseOfTreatment"] = "CourseOfTreatment";
5569
4903
  /** DirectionOfBodyStructure */
5570
4904
  KnownRelationType["DirectionOfBodyStructure"] = "DirectionOfBodyStructure";
5571
4905
  /** DirectionOfCondition */
@@ -5576,18 +4910,32 @@ exports.KnownRelationType = void 0;
5576
4910
  KnownRelationType["DirectionOfTreatment"] = "DirectionOfTreatment";
5577
4911
  /** DosageOfMedication */
5578
4912
  KnownRelationType["DosageOfMedication"] = "DosageOfMedication";
4913
+ /** ExaminationFindsCondition */
4914
+ KnownRelationType["ExaminationFindsCondition"] = "ExaminationFindsCondition";
4915
+ /** ExpressionOfGene */
4916
+ KnownRelationType["ExpressionOfGene"] = "ExpressionOfGene";
4917
+ /** ExpressionOfVariant */
4918
+ KnownRelationType["ExpressionOfVariant"] = "ExpressionOfVariant";
5579
4919
  /** FormOfMedication */
5580
4920
  KnownRelationType["FormOfMedication"] = "FormOfMedication";
4921
+ /** FrequencyOfCondition */
4922
+ KnownRelationType["FrequencyOfCondition"] = "FrequencyOfCondition";
5581
4923
  /** FrequencyOfMedication */
5582
4924
  KnownRelationType["FrequencyOfMedication"] = "FrequencyOfMedication";
5583
4925
  /** FrequencyOfTreatment */
5584
4926
  KnownRelationType["FrequencyOfTreatment"] = "FrequencyOfTreatment";
4927
+ /** MutationTypeOfGene */
4928
+ KnownRelationType["MutationTypeOfGene"] = "MutationTypeOfGene";
4929
+ /** MutationTypeOfVariant */
4930
+ KnownRelationType["MutationTypeOfVariant"] = "MutationTypeOfVariant";
5585
4931
  /** QualifierOfCondition */
5586
4932
  KnownRelationType["QualifierOfCondition"] = "QualifierOfCondition";
5587
4933
  /** RelationOfExamination */
5588
4934
  KnownRelationType["RelationOfExamination"] = "RelationOfExamination";
5589
4935
  /** RouteOfMedication */
5590
4936
  KnownRelationType["RouteOfMedication"] = "RouteOfMedication";
4937
+ /** ScaleOfCondition */
4938
+ KnownRelationType["ScaleOfCondition"] = "ScaleOfCondition";
5591
4939
  /** TimeOfCondition */
5592
4940
  KnownRelationType["TimeOfCondition"] = "TimeOfCondition";
5593
4941
  /** TimeOfEvent */
@@ -5606,365 +4954,9 @@ exports.KnownRelationType = void 0;
5606
4954
  KnownRelationType["ValueOfCondition"] = "ValueOfCondition";
5607
4955
  /** ValueOfExamination */
5608
4956
  KnownRelationType["ValueOfExamination"] = "ValueOfExamination";
4957
+ /** VariantOfGene */
4958
+ KnownRelationType["VariantOfGene"] = "VariantOfGene";
5609
4959
  })(exports.KnownRelationType || (exports.KnownRelationType = {}));
5610
- /** Known values of {@link AgeUnit} that the service accepts. */
5611
- exports.KnownAgeUnit = void 0;
5612
- (function (KnownAgeUnit) {
5613
- /** Unspecified */
5614
- KnownAgeUnit["Unspecified"] = "Unspecified";
5615
- /** Year */
5616
- KnownAgeUnit["Year"] = "Year";
5617
- /** Month */
5618
- KnownAgeUnit["Month"] = "Month";
5619
- /** Week */
5620
- KnownAgeUnit["Week"] = "Week";
5621
- /** Day */
5622
- KnownAgeUnit["Day"] = "Day";
5623
- })(exports.KnownAgeUnit || (exports.KnownAgeUnit = {}));
5624
- /** Known values of {@link VolumeUnit} that the service accepts. */
5625
- exports.KnownVolumeUnit = void 0;
5626
- (function (KnownVolumeUnit) {
5627
- /** Unspecified */
5628
- KnownVolumeUnit["Unspecified"] = "Unspecified";
5629
- /** CubicMeter */
5630
- KnownVolumeUnit["CubicMeter"] = "CubicMeter";
5631
- /** CubicCentimeter */
5632
- KnownVolumeUnit["CubicCentimeter"] = "CubicCentimeter";
5633
- /** CubicMillimeter */
5634
- KnownVolumeUnit["CubicMillimeter"] = "CubicMillimeter";
5635
- /** Hectoliter */
5636
- KnownVolumeUnit["Hectoliter"] = "Hectoliter";
5637
- /** Decaliter */
5638
- KnownVolumeUnit["Decaliter"] = "Decaliter";
5639
- /** Liter */
5640
- KnownVolumeUnit["Liter"] = "Liter";
5641
- /** Centiliter */
5642
- KnownVolumeUnit["Centiliter"] = "Centiliter";
5643
- /** Milliliter */
5644
- KnownVolumeUnit["Milliliter"] = "Milliliter";
5645
- /** CubicYard */
5646
- KnownVolumeUnit["CubicYard"] = "CubicYard";
5647
- /** CubicInch */
5648
- KnownVolumeUnit["CubicInch"] = "CubicInch";
5649
- /** CubicFoot */
5650
- KnownVolumeUnit["CubicFoot"] = "CubicFoot";
5651
- /** CubicMile */
5652
- KnownVolumeUnit["CubicMile"] = "CubicMile";
5653
- /** FluidOunce */
5654
- KnownVolumeUnit["FluidOunce"] = "FluidOunce";
5655
- /** Teaspoon */
5656
- KnownVolumeUnit["Teaspoon"] = "Teaspoon";
5657
- /** Tablespoon */
5658
- KnownVolumeUnit["Tablespoon"] = "Tablespoon";
5659
- /** Pint */
5660
- KnownVolumeUnit["Pint"] = "Pint";
5661
- /** Quart */
5662
- KnownVolumeUnit["Quart"] = "Quart";
5663
- /** Cup */
5664
- KnownVolumeUnit["Cup"] = "Cup";
5665
- /** Gill */
5666
- KnownVolumeUnit["Gill"] = "Gill";
5667
- /** Pinch */
5668
- KnownVolumeUnit["Pinch"] = "Pinch";
5669
- /** FluidDram */
5670
- KnownVolumeUnit["FluidDram"] = "FluidDram";
5671
- /** Barrel */
5672
- KnownVolumeUnit["Barrel"] = "Barrel";
5673
- /** Minim */
5674
- KnownVolumeUnit["Minim"] = "Minim";
5675
- /** Cord */
5676
- KnownVolumeUnit["Cord"] = "Cord";
5677
- /** Peck */
5678
- KnownVolumeUnit["Peck"] = "Peck";
5679
- /** Bushel */
5680
- KnownVolumeUnit["Bushel"] = "Bushel";
5681
- /** Hogshead */
5682
- KnownVolumeUnit["Hogshead"] = "Hogshead";
5683
- })(exports.KnownVolumeUnit || (exports.KnownVolumeUnit = {}));
5684
- /** Known values of {@link SpeedUnit} that the service accepts. */
5685
- exports.KnownSpeedUnit = void 0;
5686
- (function (KnownSpeedUnit) {
5687
- /** Unspecified */
5688
- KnownSpeedUnit["Unspecified"] = "Unspecified";
5689
- /** MeterPerSecond */
5690
- KnownSpeedUnit["MeterPerSecond"] = "MeterPerSecond";
5691
- /** KilometerPerHour */
5692
- KnownSpeedUnit["KilometerPerHour"] = "KilometerPerHour";
5693
- /** KilometerPerMinute */
5694
- KnownSpeedUnit["KilometerPerMinute"] = "KilometerPerMinute";
5695
- /** KilometerPerSecond */
5696
- KnownSpeedUnit["KilometerPerSecond"] = "KilometerPerSecond";
5697
- /** MilePerHour */
5698
- KnownSpeedUnit["MilePerHour"] = "MilePerHour";
5699
- /** Knot */
5700
- KnownSpeedUnit["Knot"] = "Knot";
5701
- /** FootPerSecond */
5702
- KnownSpeedUnit["FootPerSecond"] = "FootPerSecond";
5703
- /** FootPerMinute */
5704
- KnownSpeedUnit["FootPerMinute"] = "FootPerMinute";
5705
- /** YardPerMinute */
5706
- KnownSpeedUnit["YardPerMinute"] = "YardPerMinute";
5707
- /** YardPerSecond */
5708
- KnownSpeedUnit["YardPerSecond"] = "YardPerSecond";
5709
- /** MeterPerMillisecond */
5710
- KnownSpeedUnit["MeterPerMillisecond"] = "MeterPerMillisecond";
5711
- /** CentimeterPerMillisecond */
5712
- KnownSpeedUnit["CentimeterPerMillisecond"] = "CentimeterPerMillisecond";
5713
- /** KilometerPerMillisecond */
5714
- KnownSpeedUnit["KilometerPerMillisecond"] = "KilometerPerMillisecond";
5715
- })(exports.KnownSpeedUnit || (exports.KnownSpeedUnit = {}));
5716
- /** Known values of {@link AreaUnit} that the service accepts. */
5717
- exports.KnownAreaUnit = void 0;
5718
- (function (KnownAreaUnit) {
5719
- /** Unspecified */
5720
- KnownAreaUnit["Unspecified"] = "Unspecified";
5721
- /** SquareKilometer */
5722
- KnownAreaUnit["SquareKilometer"] = "SquareKilometer";
5723
- /** SquareHectometer */
5724
- KnownAreaUnit["SquareHectometer"] = "SquareHectometer";
5725
- /** SquareDecameter */
5726
- KnownAreaUnit["SquareDecameter"] = "SquareDecameter";
5727
- /** SquareDecimeter */
5728
- KnownAreaUnit["SquareDecimeter"] = "SquareDecimeter";
5729
- /** SquareMeter */
5730
- KnownAreaUnit["SquareMeter"] = "SquareMeter";
5731
- /** SquareCentimeter */
5732
- KnownAreaUnit["SquareCentimeter"] = "SquareCentimeter";
5733
- /** SquareMillimeter */
5734
- KnownAreaUnit["SquareMillimeter"] = "SquareMillimeter";
5735
- /** SquareInch */
5736
- KnownAreaUnit["SquareInch"] = "SquareInch";
5737
- /** SquareFoot */
5738
- KnownAreaUnit["SquareFoot"] = "SquareFoot";
5739
- /** SquareMile */
5740
- KnownAreaUnit["SquareMile"] = "SquareMile";
5741
- /** SquareYard */
5742
- KnownAreaUnit["SquareYard"] = "SquareYard";
5743
- /** Acre */
5744
- KnownAreaUnit["Acre"] = "Acre";
5745
- })(exports.KnownAreaUnit || (exports.KnownAreaUnit = {}));
5746
- /** Known values of {@link LengthUnit} that the service accepts. */
5747
- exports.KnownLengthUnit = void 0;
5748
- (function (KnownLengthUnit) {
5749
- /** Unspecified */
5750
- KnownLengthUnit["Unspecified"] = "Unspecified";
5751
- /** Kilometer */
5752
- KnownLengthUnit["Kilometer"] = "Kilometer";
5753
- /** Hectometer */
5754
- KnownLengthUnit["Hectometer"] = "Hectometer";
5755
- /** Decameter */
5756
- KnownLengthUnit["Decameter"] = "Decameter";
5757
- /** Meter */
5758
- KnownLengthUnit["Meter"] = "Meter";
5759
- /** Decimeter */
5760
- KnownLengthUnit["Decimeter"] = "Decimeter";
5761
- /** Centimeter */
5762
- KnownLengthUnit["Centimeter"] = "Centimeter";
5763
- /** Millimeter */
5764
- KnownLengthUnit["Millimeter"] = "Millimeter";
5765
- /** Micrometer */
5766
- KnownLengthUnit["Micrometer"] = "Micrometer";
5767
- /** Nanometer */
5768
- KnownLengthUnit["Nanometer"] = "Nanometer";
5769
- /** Picometer */
5770
- KnownLengthUnit["Picometer"] = "Picometer";
5771
- /** Mile */
5772
- KnownLengthUnit["Mile"] = "Mile";
5773
- /** Yard */
5774
- KnownLengthUnit["Yard"] = "Yard";
5775
- /** Inch */
5776
- KnownLengthUnit["Inch"] = "Inch";
5777
- /** Foot */
5778
- KnownLengthUnit["Foot"] = "Foot";
5779
- /** LightYear */
5780
- KnownLengthUnit["LightYear"] = "LightYear";
5781
- /** Pt */
5782
- KnownLengthUnit["Pt"] = "Pt";
5783
- })(exports.KnownLengthUnit || (exports.KnownLengthUnit = {}));
5784
- /** Known values of {@link InformationUnit} that the service accepts. */
5785
- exports.KnownInformationUnit = void 0;
5786
- (function (KnownInformationUnit) {
5787
- /** Unspecified */
5788
- KnownInformationUnit["Unspecified"] = "Unspecified";
5789
- /** Bit */
5790
- KnownInformationUnit["Bit"] = "Bit";
5791
- /** Kilobit */
5792
- KnownInformationUnit["Kilobit"] = "Kilobit";
5793
- /** Megabit */
5794
- KnownInformationUnit["Megabit"] = "Megabit";
5795
- /** Gigabit */
5796
- KnownInformationUnit["Gigabit"] = "Gigabit";
5797
- /** Terabit */
5798
- KnownInformationUnit["Terabit"] = "Terabit";
5799
- /** Petabit */
5800
- KnownInformationUnit["Petabit"] = "Petabit";
5801
- /** Byte */
5802
- KnownInformationUnit["Byte"] = "Byte";
5803
- /** Kilobyte */
5804
- KnownInformationUnit["Kilobyte"] = "Kilobyte";
5805
- /** Megabyte */
5806
- KnownInformationUnit["Megabyte"] = "Megabyte";
5807
- /** Gigabyte */
5808
- KnownInformationUnit["Gigabyte"] = "Gigabyte";
5809
- /** Terabyte */
5810
- KnownInformationUnit["Terabyte"] = "Terabyte";
5811
- /** Petabyte */
5812
- KnownInformationUnit["Petabyte"] = "Petabyte";
5813
- })(exports.KnownInformationUnit || (exports.KnownInformationUnit = {}));
5814
- /** Known values of {@link TemperatureUnit} that the service accepts. */
5815
- exports.KnownTemperatureUnit = void 0;
5816
- (function (KnownTemperatureUnit) {
5817
- /** Unspecified */
5818
- KnownTemperatureUnit["Unspecified"] = "Unspecified";
5819
- /** Fahrenheit */
5820
- KnownTemperatureUnit["Fahrenheit"] = "Fahrenheit";
5821
- /** Kelvin */
5822
- KnownTemperatureUnit["Kelvin"] = "Kelvin";
5823
- /** Rankine */
5824
- KnownTemperatureUnit["Rankine"] = "Rankine";
5825
- /** Celsius */
5826
- KnownTemperatureUnit["Celsius"] = "Celsius";
5827
- })(exports.KnownTemperatureUnit || (exports.KnownTemperatureUnit = {}));
5828
- /** Known values of {@link WeightUnit} that the service accepts. */
5829
- exports.KnownWeightUnit = void 0;
5830
- (function (KnownWeightUnit) {
5831
- /** Unspecified */
5832
- KnownWeightUnit["Unspecified"] = "Unspecified";
5833
- /** Kilogram */
5834
- KnownWeightUnit["Kilogram"] = "Kilogram";
5835
- /** Gram */
5836
- KnownWeightUnit["Gram"] = "Gram";
5837
- /** Milligram */
5838
- KnownWeightUnit["Milligram"] = "Milligram";
5839
- /** Gallon */
5840
- KnownWeightUnit["Gallon"] = "Gallon";
5841
- /** MetricTon */
5842
- KnownWeightUnit["MetricTon"] = "MetricTon";
5843
- /** Ton */
5844
- KnownWeightUnit["Ton"] = "Ton";
5845
- /** Pound */
5846
- KnownWeightUnit["Pound"] = "Pound";
5847
- /** Ounce */
5848
- KnownWeightUnit["Ounce"] = "Ounce";
5849
- /** Grain */
5850
- KnownWeightUnit["Grain"] = "Grain";
5851
- /** PennyWeight */
5852
- KnownWeightUnit["PennyWeight"] = "PennyWeight";
5853
- /** LongTonBritish */
5854
- KnownWeightUnit["LongTonBritish"] = "LongTonBritish";
5855
- /** ShortTonUS */
5856
- KnownWeightUnit["ShortTonUS"] = "ShortTonUS";
5857
- /** ShortHundredWeightUS */
5858
- KnownWeightUnit["ShortHundredWeightUS"] = "ShortHundredWeightUS";
5859
- /** Stone */
5860
- KnownWeightUnit["Stone"] = "Stone";
5861
- /** Dram */
5862
- KnownWeightUnit["Dram"] = "Dram";
5863
- })(exports.KnownWeightUnit || (exports.KnownWeightUnit = {}));
5864
- /** Known values of {@link DateTimeSubKind} that the service accepts. */
5865
- exports.KnownDateTimeSubKind = void 0;
5866
- (function (KnownDateTimeSubKind) {
5867
- /** Time */
5868
- KnownDateTimeSubKind["Time"] = "Time";
5869
- /** Date */
5870
- KnownDateTimeSubKind["Date"] = "Date";
5871
- /** DateTime */
5872
- KnownDateTimeSubKind["DateTime"] = "DateTime";
5873
- /** Duration */
5874
- KnownDateTimeSubKind["Duration"] = "Duration";
5875
- /** Set */
5876
- KnownDateTimeSubKind["Set"] = "Set";
5877
- })(exports.KnownDateTimeSubKind || (exports.KnownDateTimeSubKind = {}));
5878
- /** Known values of {@link TemporalModifier} that the service accepts. */
5879
- exports.KnownTemporalModifier = void 0;
5880
- (function (KnownTemporalModifier) {
5881
- /** AfterApprox */
5882
- KnownTemporalModifier["AfterApprox"] = "AfterApprox";
5883
- /** Before */
5884
- KnownTemporalModifier["Before"] = "Before";
5885
- /** BeforeStart */
5886
- KnownTemporalModifier["BeforeStart"] = "BeforeStart";
5887
- /** Approx */
5888
- KnownTemporalModifier["Approx"] = "Approx";
5889
- /** ReferenceUndefined */
5890
- KnownTemporalModifier["ReferenceUndefined"] = "ReferenceUndefined";
5891
- /** SinceEnd */
5892
- KnownTemporalModifier["SinceEnd"] = "SinceEnd";
5893
- /** AfterMid */
5894
- KnownTemporalModifier["AfterMid"] = "AfterMid";
5895
- /** Start */
5896
- KnownTemporalModifier["Start"] = "Start";
5897
- /** After */
5898
- KnownTemporalModifier["After"] = "After";
5899
- /** BeforeEnd */
5900
- KnownTemporalModifier["BeforeEnd"] = "BeforeEnd";
5901
- /** Until */
5902
- KnownTemporalModifier["Until"] = "Until";
5903
- /** End */
5904
- KnownTemporalModifier["End"] = "End";
5905
- /** Less */
5906
- KnownTemporalModifier["Less"] = "Less";
5907
- /** Since */
5908
- KnownTemporalModifier["Since"] = "Since";
5909
- /** AfterStart */
5910
- KnownTemporalModifier["AfterStart"] = "AfterStart";
5911
- /** BeforeApprox */
5912
- KnownTemporalModifier["BeforeApprox"] = "BeforeApprox";
5913
- /** Mid */
5914
- KnownTemporalModifier["Mid"] = "Mid";
5915
- /** More */
5916
- KnownTemporalModifier["More"] = "More";
5917
- })(exports.KnownTemporalModifier || (exports.KnownTemporalModifier = {}));
5918
- /** Known values of {@link NumberKind} that the service accepts. */
5919
- exports.KnownNumberKind = void 0;
5920
- (function (KnownNumberKind) {
5921
- /** Integer */
5922
- KnownNumberKind["Integer"] = "Integer";
5923
- /** Decimal */
5924
- KnownNumberKind["Decimal"] = "Decimal";
5925
- /** Power */
5926
- KnownNumberKind["Power"] = "Power";
5927
- /** Fraction */
5928
- KnownNumberKind["Fraction"] = "Fraction";
5929
- /** Percent */
5930
- KnownNumberKind["Percent"] = "Percent";
5931
- /** Unspecified */
5932
- KnownNumberKind["Unspecified"] = "Unspecified";
5933
- })(exports.KnownNumberKind || (exports.KnownNumberKind = {}));
5934
- /** Known values of {@link RelativeTo} that the service accepts. */
5935
- exports.KnownRelativeTo = void 0;
5936
- (function (KnownRelativeTo) {
5937
- /** Current */
5938
- KnownRelativeTo["Current"] = "Current";
5939
- /** End */
5940
- KnownRelativeTo["End"] = "End";
5941
- /** Start */
5942
- KnownRelativeTo["Start"] = "Start";
5943
- })(exports.KnownRelativeTo || (exports.KnownRelativeTo = {}));
5944
- /** Known values of {@link RangeKind} that the service accepts. */
5945
- exports.KnownRangeKind = void 0;
5946
- (function (KnownRangeKind) {
5947
- /** Number */
5948
- KnownRangeKind["Number"] = "Number";
5949
- /** Speed */
5950
- KnownRangeKind["Speed"] = "Speed";
5951
- /** Weight */
5952
- KnownRangeKind["Weight"] = "Weight";
5953
- /** Length */
5954
- KnownRangeKind["Length"] = "Length";
5955
- /** Volume */
5956
- KnownRangeKind["Volume"] = "Volume";
5957
- /** Area */
5958
- KnownRangeKind["Area"] = "Area";
5959
- /** Age */
5960
- KnownRangeKind["Age"] = "Age";
5961
- /** Information */
5962
- KnownRangeKind["Information"] = "Information";
5963
- /** Temperature */
5964
- KnownRangeKind["Temperature"] = "Temperature";
5965
- /** Currency */
5966
- KnownRangeKind["Currency"] = "Currency";
5967
- })(exports.KnownRangeKind || (exports.KnownRangeKind = {}));
5968
4960
  /** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */
5969
4961
  exports.KnownExtractiveSummarizationOrderingCriteria = void 0;
5970
4962
  (function (KnownExtractiveSummarizationOrderingCriteria) {
@@ -5985,7 +4977,6 @@ const AnalyzeActionNames = {
5985
4977
  PiiEntityRecognition: "PiiEntityRecognition",
5986
4978
  LanguageDetection: "LanguageDetection",
5987
4979
  SentimentAnalysis: "SentimentAnalysis",
5988
- DynamicClassification: "DynamicClassification",
5989
4980
  };
5990
4981
  /**
5991
4982
  * Type of actions supported by the {@link TextAnalysisClient.beginAnalyzeBatch} method.
@@ -6003,14 +4994,6 @@ const AnalyzeBatchActionNames = {
6003
4994
  CustomSingleLabelClassification: "CustomSingleLabelClassification",
6004
4995
  CustomMultiLabelClassification: "CustomMultiLabelClassification",
6005
4996
  };
6006
- /**
6007
- * Known values of the {@link HealthcareAction.fhirVersion} parameter.
6008
- */
6009
- exports.KnownFhirVersion = void 0;
6010
- (function (KnownFhirVersion) {
6011
- /** 4.0.1 */
6012
- KnownFhirVersion["4.0.1"] = "4.0.1";
6013
- })(exports.KnownFhirVersion || (exports.KnownFhirVersion = {}));
6014
4997
  /**
6015
4998
  * Enum of possible error codes of a {@link TextAnalysisError}.
6016
4999
  */