@azure/ai-language-text 1.1.0-alpha.20230508.3 → 1.1.0-alpha.20230727.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.3";
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
  }
@@ -2015,32 +1942,6 @@ const AnalyzeTextJobState = {
2015
1942
  modelProperties: Object.assign(Object.assign(Object.assign({}, JobState.type.modelProperties), TasksState.type.modelProperties), AnalyzeTextJobStatistics.type.modelProperties)
2016
1943
  }
2017
1944
  };
2018
- const DocumentRequestStatistics = {
2019
- type: {
2020
- name: "Composite",
2021
- className: "DocumentRequestStatistics",
2022
- additionalProperties: { type: { name: "Object" } },
2023
- modelProperties: Object.assign(Object.assign({}, TextDocumentBatchStatistics.type.modelProperties), { documentsCount: {
2024
- serializedName: "documentsCount",
2025
- required: true,
2026
- type: {
2027
- name: "Number"
2028
- }
2029
- }, validDocumentsCount: {
2030
- serializedName: "validDocumentsCount",
2031
- required: true,
2032
- type: {
2033
- name: "Number"
2034
- }
2035
- }, erroneousDocumentsCount: {
2036
- serializedName: "erroneousDocumentsCount",
2037
- required: true,
2038
- type: {
2039
- name: "Number"
2040
- }
2041
- } })
2042
- }
2043
- };
2044
1945
  const ActionPrebuilt = {
2045
1946
  type: {
2046
1947
  name: "Composite",
@@ -2111,335 +2012,6 @@ const CustomLabelClassificationResult = {
2111
2012
  } })
2112
2013
  }
2113
2014
  };
2114
- const AgeResolution = {
2115
- serializedName: "AgeResolution",
2116
- type: {
2117
- name: "Composite",
2118
- className: "AgeResolution",
2119
- uberParent: "BaseResolution",
2120
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2121
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2122
- serializedName: "unit",
2123
- required: true,
2124
- type: {
2125
- name: "String"
2126
- }
2127
- } })
2128
- }
2129
- };
2130
- const VolumeResolution = {
2131
- serializedName: "VolumeResolution",
2132
- type: {
2133
- name: "Composite",
2134
- className: "VolumeResolution",
2135
- uberParent: "BaseResolution",
2136
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2137
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2138
- serializedName: "unit",
2139
- required: true,
2140
- type: {
2141
- name: "String"
2142
- }
2143
- } })
2144
- }
2145
- };
2146
- const SpeedResolution = {
2147
- serializedName: "SpeedResolution",
2148
- type: {
2149
- name: "Composite",
2150
- className: "SpeedResolution",
2151
- uberParent: "BaseResolution",
2152
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2153
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2154
- serializedName: "unit",
2155
- required: true,
2156
- type: {
2157
- name: "String"
2158
- }
2159
- } })
2160
- }
2161
- };
2162
- const AreaResolution = {
2163
- serializedName: "AreaResolution",
2164
- type: {
2165
- name: "Composite",
2166
- className: "AreaResolution",
2167
- uberParent: "BaseResolution",
2168
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2169
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2170
- serializedName: "unit",
2171
- required: true,
2172
- type: {
2173
- name: "String"
2174
- }
2175
- } })
2176
- }
2177
- };
2178
- const LengthResolution = {
2179
- serializedName: "LengthResolution",
2180
- type: {
2181
- name: "Composite",
2182
- className: "LengthResolution",
2183
- uberParent: "BaseResolution",
2184
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2185
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2186
- serializedName: "unit",
2187
- required: true,
2188
- type: {
2189
- name: "String"
2190
- }
2191
- } })
2192
- }
2193
- };
2194
- const InformationResolution = {
2195
- serializedName: "InformationResolution",
2196
- type: {
2197
- name: "Composite",
2198
- className: "InformationResolution",
2199
- uberParent: "BaseResolution",
2200
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2201
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2202
- serializedName: "unit",
2203
- required: true,
2204
- type: {
2205
- name: "String"
2206
- }
2207
- } })
2208
- }
2209
- };
2210
- const TemperatureResolution = {
2211
- serializedName: "TemperatureResolution",
2212
- type: {
2213
- name: "Composite",
2214
- className: "TemperatureResolution",
2215
- uberParent: "BaseResolution",
2216
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2217
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2218
- serializedName: "unit",
2219
- required: true,
2220
- type: {
2221
- name: "String"
2222
- }
2223
- } })
2224
- }
2225
- };
2226
- const WeightResolution = {
2227
- serializedName: "WeightResolution",
2228
- type: {
2229
- name: "Composite",
2230
- className: "WeightResolution",
2231
- uberParent: "BaseResolution",
2232
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2233
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2234
- serializedName: "unit",
2235
- required: true,
2236
- type: {
2237
- name: "String"
2238
- }
2239
- } })
2240
- }
2241
- };
2242
- const CurrencyResolution = {
2243
- serializedName: "CurrencyResolution",
2244
- type: {
2245
- name: "Composite",
2246
- className: "CurrencyResolution",
2247
- uberParent: "BaseResolution",
2248
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2249
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { iso4217: {
2250
- serializedName: "iso4217",
2251
- type: {
2252
- name: "String"
2253
- }
2254
- }, unit: {
2255
- serializedName: "unit",
2256
- required: true,
2257
- type: {
2258
- name: "String"
2259
- }
2260
- } })
2261
- }
2262
- };
2263
- const BooleanResolution = {
2264
- serializedName: "BooleanResolution",
2265
- type: {
2266
- name: "Composite",
2267
- className: "BooleanResolution",
2268
- uberParent: "BaseResolution",
2269
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2270
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { value: {
2271
- serializedName: "value",
2272
- required: true,
2273
- type: {
2274
- name: "Boolean"
2275
- }
2276
- } })
2277
- }
2278
- };
2279
- const DateTimeResolution = {
2280
- serializedName: "DateTimeResolution",
2281
- type: {
2282
- name: "Composite",
2283
- className: "DateTimeResolution",
2284
- uberParent: "BaseResolution",
2285
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2286
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { timex: {
2287
- serializedName: "timex",
2288
- required: true,
2289
- type: {
2290
- name: "String"
2291
- }
2292
- }, dateTimeSubKind: {
2293
- serializedName: "dateTimeSubKind",
2294
- required: true,
2295
- type: {
2296
- name: "String"
2297
- }
2298
- }, value: {
2299
- serializedName: "value",
2300
- required: true,
2301
- type: {
2302
- name: "String"
2303
- }
2304
- }, modifier: {
2305
- serializedName: "modifier",
2306
- type: {
2307
- name: "String"
2308
- }
2309
- } })
2310
- }
2311
- };
2312
- const NumberResolution = {
2313
- serializedName: "NumberResolution",
2314
- type: {
2315
- name: "Composite",
2316
- className: "NumberResolution",
2317
- uberParent: "BaseResolution",
2318
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2319
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { numberKind: {
2320
- serializedName: "numberKind",
2321
- required: true,
2322
- type: {
2323
- name: "String"
2324
- }
2325
- }, value: {
2326
- serializedName: "value",
2327
- required: true,
2328
- type: {
2329
- name: "Number"
2330
- }
2331
- } })
2332
- }
2333
- };
2334
- const OrdinalResolution = {
2335
- serializedName: "OrdinalResolution",
2336
- type: {
2337
- name: "Composite",
2338
- className: "OrdinalResolution",
2339
- uberParent: "BaseResolution",
2340
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2341
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { offset: {
2342
- serializedName: "offset",
2343
- required: true,
2344
- type: {
2345
- name: "String"
2346
- }
2347
- }, relativeTo: {
2348
- serializedName: "relativeTo",
2349
- required: true,
2350
- type: {
2351
- name: "String"
2352
- }
2353
- }, value: {
2354
- serializedName: "value",
2355
- required: true,
2356
- type: {
2357
- name: "String"
2358
- }
2359
- } })
2360
- }
2361
- };
2362
- const TemporalSpanResolution = {
2363
- serializedName: "TemporalSpanResolution",
2364
- type: {
2365
- name: "Composite",
2366
- className: "TemporalSpanResolution",
2367
- uberParent: "BaseResolution",
2368
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2369
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { begin: {
2370
- serializedName: "begin",
2371
- type: {
2372
- name: "String"
2373
- }
2374
- }, end: {
2375
- serializedName: "end",
2376
- type: {
2377
- name: "String"
2378
- }
2379
- }, duration: {
2380
- serializedName: "duration",
2381
- type: {
2382
- name: "String"
2383
- }
2384
- }, modifier: {
2385
- serializedName: "modifier",
2386
- type: {
2387
- name: "String"
2388
- }
2389
- }, timex: {
2390
- serializedName: "timex",
2391
- type: {
2392
- name: "String"
2393
- }
2394
- } })
2395
- }
2396
- };
2397
- const NumericRangeResolution = {
2398
- serializedName: "NumericRangeResolution",
2399
- type: {
2400
- name: "Composite",
2401
- className: "NumericRangeResolution",
2402
- uberParent: "BaseResolution",
2403
- polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2404
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { rangeKind: {
2405
- serializedName: "rangeKind",
2406
- required: true,
2407
- type: {
2408
- name: "String"
2409
- }
2410
- }, minimum: {
2411
- serializedName: "minimum",
2412
- required: true,
2413
- type: {
2414
- name: "Number"
2415
- }
2416
- }, maximum: {
2417
- serializedName: "maximum",
2418
- required: true,
2419
- type: {
2420
- name: "Number"
2421
- }
2422
- } })
2423
- }
2424
- };
2425
- const EntityWithResolution = {
2426
- type: {
2427
- name: "Composite",
2428
- className: "EntityWithResolution",
2429
- modelProperties: Object.assign(Object.assign({}, Entity.type.modelProperties), { resolutions: {
2430
- serializedName: "resolutions",
2431
- type: {
2432
- name: "Sequence",
2433
- element: {
2434
- type: {
2435
- name: "Composite",
2436
- className: "BaseResolution"
2437
- }
2438
- }
2439
- }
2440
- } })
2441
- }
2442
- };
2443
2015
  const EntitiesDocumentResult = {
2444
2016
  type: {
2445
2017
  name: "Composite",
@@ -2452,7 +2024,7 @@ const EntitiesDocumentResult = {
2452
2024
  element: {
2453
2025
  type: {
2454
2026
  name: "Composite",
2455
- className: "EntityWithResolution"
2027
+ className: "Entity"
2456
2028
  }
2457
2029
  }
2458
2030
  }
@@ -2506,12 +2078,6 @@ const HealthcareEntitiesDocumentResult = {
2506
2078
  }
2507
2079
  }
2508
2080
  }
2509
- }, fhirBundle: {
2510
- serializedName: "fhirBundle",
2511
- type: {
2512
- name: "Dictionary",
2513
- value: { type: { name: "any" } }
2514
- }
2515
2081
  } })
2516
2082
  }
2517
2083
  };
@@ -2660,76 +2226,6 @@ const AbstractiveSummaryDocumentResult = {
2660
2226
  } })
2661
2227
  }
2662
2228
  };
2663
- const CustomEntitiesResultDocumentsItem = {
2664
- type: {
2665
- name: "Composite",
2666
- className: "CustomEntitiesResultDocumentsItem",
2667
- modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2668
- }
2669
- };
2670
- const CustomLabelClassificationResultDocumentsItem = {
2671
- type: {
2672
- name: "Composite",
2673
- className: "CustomLabelClassificationResultDocumentsItem",
2674
- modelProperties: Object.assign(Object.assign({}, ClassificationDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2675
- }
2676
- };
2677
- const SentimentResponseDocumentsItem = {
2678
- type: {
2679
- name: "Composite",
2680
- className: "SentimentResponseDocumentsItem",
2681
- modelProperties: Object.assign(Object.assign({}, SentimentDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2682
- }
2683
- };
2684
- const EntitiesResultWithDetectedLanguage = {
2685
- type: {
2686
- name: "Composite",
2687
- className: "EntitiesResultWithDetectedLanguage",
2688
- modelProperties: Object.assign(Object.assign({}, EntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2689
- }
2690
- };
2691
- const EntityLinkingResultWithDetectedLanguage = {
2692
- type: {
2693
- name: "Composite",
2694
- className: "EntityLinkingResultWithDetectedLanguage",
2695
- modelProperties: Object.assign(Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2696
- }
2697
- };
2698
- const PIIResultWithDetectedLanguage = {
2699
- type: {
2700
- name: "Composite",
2701
- className: "PIIResultWithDetectedLanguage",
2702
- modelProperties: Object.assign(Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2703
- }
2704
- };
2705
- const ExtractedSummaryDocumentResultWithDetectedLanguage = {
2706
- type: {
2707
- name: "Composite",
2708
- className: "ExtractedSummaryDocumentResultWithDetectedLanguage",
2709
- modelProperties: Object.assign(Object.assign({}, ExtractedSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2710
- }
2711
- };
2712
- const KeyPhraseResultDocumentsItem = {
2713
- type: {
2714
- name: "Composite",
2715
- className: "KeyPhraseResultDocumentsItem",
2716
- modelProperties: Object.assign(Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2717
- }
2718
- };
2719
- const AbstractiveSummaryDocumentResultWithDetectedLanguage = {
2720
- type: {
2721
- name: "Composite",
2722
- className: "AbstractiveSummaryDocumentResultWithDetectedLanguage",
2723
- modelProperties: Object.assign(Object.assign({}, AbstractiveSummaryDocumentResult.type.modelProperties), DocumentDetectedLanguage.type.modelProperties)
2724
- }
2725
- };
2726
- const HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage = {
2727
- type: {
2728
- name: "Composite",
2729
- className: "HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage",
2730
- modelProperties: Object.assign(Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties), DocumentDetectedLanguageString.type.modelProperties)
2731
- }
2732
- };
2733
2229
  const HealthcareResult = {
2734
2230
  type: {
2735
2231
  name: "Composite",
@@ -2742,7 +2238,7 @@ const HealthcareResult = {
2742
2238
  element: {
2743
2239
  type: {
2744
2240
  name: "Composite",
2745
- className: "HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage"
2241
+ className: "HealthcareResultDocumentsItem"
2746
2242
  }
2747
2243
  }
2748
2244
  }
@@ -2780,7 +2276,7 @@ const EntitiesResult = {
2780
2276
  element: {
2781
2277
  type: {
2782
2278
  name: "Composite",
2783
- className: "EntitiesResultWithDetectedLanguage"
2279
+ className: "EntitiesResultDocumentsItem"
2784
2280
  }
2785
2281
  }
2786
2282
  }
@@ -2799,7 +2295,7 @@ const EntityLinkingResult = {
2799
2295
  element: {
2800
2296
  type: {
2801
2297
  name: "Composite",
2802
- className: "EntityLinkingResultWithDetectedLanguage"
2298
+ className: "EntityLinkingResultDocumentsItem"
2803
2299
  }
2804
2300
  }
2805
2301
  }
@@ -2818,7 +2314,7 @@ const PiiResult = {
2818
2314
  element: {
2819
2315
  type: {
2820
2316
  name: "Composite",
2821
- className: "PIIResultWithDetectedLanguage"
2317
+ className: "PiiResultDocumentsItem"
2822
2318
  }
2823
2319
  }
2824
2320
  }
@@ -2837,7 +2333,7 @@ const ExtractiveSummarizationResult = {
2837
2333
  element: {
2838
2334
  type: {
2839
2335
  name: "Composite",
2840
- className: "ExtractedSummaryDocumentResultWithDetectedLanguage"
2336
+ className: "ExtractedSummaryDocumentResult"
2841
2337
  }
2842
2338
  }
2843
2339
  }
@@ -3404,6 +2900,62 @@ const CustomMultiLabelClassificationAction = {
3404
2900
  modelProperties: Object.assign({}, ActionCustom.type.modelProperties)
3405
2901
  }
3406
2902
  };
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 = {
2946
+ type: {
2947
+ name: "Composite",
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)
2957
+ }
2958
+ };
3407
2959
  const GeneratedClientAnalyzeBatchHeaders = {
3408
2960
  type: {
3409
2961
  name: "Composite",
@@ -3435,7 +2987,6 @@ const AnalyzeTextCancelJobHeaders = {
3435
2987
  let discriminators = {
3436
2988
  AnalyzeAction: AnalyzeAction,
3437
2989
  AnalyzeTextTaskResult: AnalyzeTextTaskResult,
3438
- BaseResolution: BaseResolution,
3439
2990
  "AnalyzeAction.EntityLinking": AnalyzeTextEntityLinkingInput,
3440
2991
  "AnalyzeAction.EntityRecognition": AnalyzeTextEntityRecognitionInput,
3441
2992
  "AnalyzeAction.KeyPhraseExtraction": AnalyzeTextKeyPhraseExtractionInput,
@@ -3450,21 +3001,6 @@ let discriminators = {
3450
3001
  "AnalyzeTextTaskResult.LanguageDetectionResults": LanguageDetectionTaskResult,
3451
3002
  "BatchActionState.AnalyzeBatchAction": AnalyzeBatchAction,
3452
3003
  "TaskState.AnalyzeTextLROResult": AnalyzeTextLROResult,
3453
- "BaseResolution.AgeResolution": AgeResolution,
3454
- "BaseResolution.VolumeResolution": VolumeResolution,
3455
- "BaseResolution.SpeedResolution": SpeedResolution,
3456
- "BaseResolution.AreaResolution": AreaResolution,
3457
- "BaseResolution.LengthResolution": LengthResolution,
3458
- "BaseResolution.InformationResolution": InformationResolution,
3459
- "BaseResolution.TemperatureResolution": TemperatureResolution,
3460
- "BaseResolution.WeightResolution": WeightResolution,
3461
- "BaseResolution.CurrencyResolution": CurrencyResolution,
3462
- "BaseResolution.BooleanResolution": BooleanResolution,
3463
- "BaseResolution.DateTimeResolution": DateTimeResolution,
3464
- "BaseResolution.NumberResolution": NumberResolution,
3465
- "BaseResolution.OrdinalResolution": OrdinalResolution,
3466
- "BaseResolution.TemporalSpanResolution": TemporalSpanResolution,
3467
- "BaseResolution.NumericRangeResolution": NumericRangeResolution,
3468
3004
  "AnalyzeBatchAction.CustomEntityRecognition": CustomEntitiesLROTask,
3469
3005
  "AnalyzeBatchAction.CustomSingleLabelClassification": CustomSingleLabelClassificationLROTask,
3470
3006
  "AnalyzeBatchAction.CustomMultiLabelClassification": CustomMultiLabelClassificationLROTask,
@@ -3511,22 +3047,17 @@ var Mappers = /*#__PURE__*/Object.freeze({
3511
3047
  ActionCommon: ActionCommon,
3512
3048
  CustomResult: CustomResult,
3513
3049
  DocumentError: DocumentError,
3514
- BaseResolution: BaseResolution,
3515
3050
  Entity: Entity,
3516
3051
  DocumentResult: DocumentResult,
3517
3052
  DocumentWarning: DocumentWarning,
3518
3053
  TextDocumentStatistics: TextDocumentStatistics,
3519
- DocumentDetectedLanguage: DocumentDetectedLanguage,
3520
- DetectedLanguage: DetectedLanguage,
3521
3054
  ClassificationCategory: ClassificationCategory,
3522
3055
  HealthcareEntity: HealthcareEntity,
3523
3056
  HealthcareAssertion: HealthcareAssertion,
3524
3057
  EntityDataSource: EntityDataSource,
3525
3058
  HealthcareRelation: HealthcareRelation,
3526
3059
  HealthcareRelationEntity: HealthcareRelationEntity,
3527
- DocumentDetectedLanguageString: DocumentDetectedLanguageString,
3528
3060
  PreBuiltResult: PreBuiltResult,
3529
- InputError: InputError,
3530
3061
  SentimentConfidenceScores: SentimentConfidenceScores,
3531
3062
  SentenceSentiment: SentenceSentiment,
3532
3063
  SentenceTarget: SentenceTarget,
@@ -3535,9 +3066,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
3535
3066
  AssessmentSentiment: AssessmentSentiment,
3536
3067
  LinkedEntity: LinkedEntity,
3537
3068
  Match: Match,
3538
- QuantityResolution: QuantityResolution,
3539
3069
  SummarySentence: SummarySentence,
3070
+ DetectedLanguage: DetectedLanguage,
3540
3071
  Pagination: Pagination,
3072
+ JobErrors: JobErrors,
3541
3073
  AbstractiveSummarizationTaskParametersBase: AbstractiveSummarizationTaskParametersBase,
3542
3074
  AbstractiveSummarizationResultBase: AbstractiveSummarizationResultBase,
3543
3075
  AbstractiveSummary: AbstractiveSummary,
@@ -3557,27 +3089,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
3557
3089
  AnalyzeBatchAction: AnalyzeBatchAction,
3558
3090
  AnalyzeTextLROResult: AnalyzeTextLROResult,
3559
3091
  AnalyzeTextJobState: AnalyzeTextJobState,
3560
- DocumentRequestStatistics: DocumentRequestStatistics,
3561
3092
  ActionPrebuilt: ActionPrebuilt,
3562
3093
  ActionCustom: ActionCustom,
3563
3094
  CustomEntitiesResult: CustomEntitiesResult,
3564
3095
  CustomLabelClassificationResult: CustomLabelClassificationResult,
3565
- AgeResolution: AgeResolution,
3566
- VolumeResolution: VolumeResolution,
3567
- SpeedResolution: SpeedResolution,
3568
- AreaResolution: AreaResolution,
3569
- LengthResolution: LengthResolution,
3570
- InformationResolution: InformationResolution,
3571
- TemperatureResolution: TemperatureResolution,
3572
- WeightResolution: WeightResolution,
3573
- CurrencyResolution: CurrencyResolution,
3574
- BooleanResolution: BooleanResolution,
3575
- DateTimeResolution: DateTimeResolution,
3576
- NumberResolution: NumberResolution,
3577
- OrdinalResolution: OrdinalResolution,
3578
- TemporalSpanResolution: TemporalSpanResolution,
3579
- NumericRangeResolution: NumericRangeResolution,
3580
- EntityWithResolution: EntityWithResolution,
3581
3096
  EntitiesDocumentResult: EntitiesDocumentResult,
3582
3097
  ClassificationDocumentResult: ClassificationDocumentResult,
3583
3098
  HealthcareEntitiesDocumentResult: HealthcareEntitiesDocumentResult,
@@ -3588,16 +3103,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
3588
3103
  KeyPhrasesDocumentResult: KeyPhrasesDocumentResult,
3589
3104
  LanguageDetectionDocumentResult: LanguageDetectionDocumentResult,
3590
3105
  AbstractiveSummaryDocumentResult: AbstractiveSummaryDocumentResult,
3591
- CustomEntitiesResultDocumentsItem: CustomEntitiesResultDocumentsItem,
3592
- CustomLabelClassificationResultDocumentsItem: CustomLabelClassificationResultDocumentsItem,
3593
- SentimentResponseDocumentsItem: SentimentResponseDocumentsItem,
3594
- EntitiesResultWithDetectedLanguage: EntitiesResultWithDetectedLanguage,
3595
- EntityLinkingResultWithDetectedLanguage: EntityLinkingResultWithDetectedLanguage,
3596
- PIIResultWithDetectedLanguage: PIIResultWithDetectedLanguage,
3597
- ExtractedSummaryDocumentResultWithDetectedLanguage: ExtractedSummaryDocumentResultWithDetectedLanguage,
3598
- KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
3599
- AbstractiveSummaryDocumentResultWithDetectedLanguage: AbstractiveSummaryDocumentResultWithDetectedLanguage,
3600
- HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage: HealthcareEntitiesDocumentResultWithDocumentDetectedLanguage,
3601
3106
  HealthcareResult: HealthcareResult,
3602
3107
  SentimentResponse: SentimentResponse,
3603
3108
  EntitiesResult: EntitiesResult,
@@ -3641,6 +3146,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
3641
3146
  CustomEntityRecognitionAction: CustomEntityRecognitionAction,
3642
3147
  CustomSingleLabelClassificationAction: CustomSingleLabelClassificationAction,
3643
3148
  CustomMultiLabelClassificationAction: CustomMultiLabelClassificationAction,
3149
+ CustomEntitiesResultDocumentsItem: CustomEntitiesResultDocumentsItem,
3150
+ EntitiesResultDocumentsItem: EntitiesResultDocumentsItem,
3151
+ CustomLabelClassificationResultDocumentsItem: CustomLabelClassificationResultDocumentsItem,
3152
+ HealthcareResultDocumentsItem: HealthcareResultDocumentsItem,
3153
+ SentimentResponseDocumentsItem: SentimentResponseDocumentsItem,
3154
+ EntityLinkingResultDocumentsItem: EntityLinkingResultDocumentsItem,
3155
+ PiiResultDocumentsItem: PiiResultDocumentsItem,
3156
+ KeyPhraseResultDocumentsItem: KeyPhraseResultDocumentsItem,
3644
3157
  GeneratedClientAnalyzeBatchHeaders: GeneratedClientAnalyzeBatchHeaders,
3645
3158
  AnalyzeTextCancelJobHeaders: AnalyzeTextCancelJobHeaders,
3646
3159
  discriminators: discriminators
@@ -3693,7 +3206,7 @@ const endpoint = {
3693
3206
  const apiVersion = {
3694
3207
  parameterPath: "apiVersion",
3695
3208
  mapper: {
3696
- defaultValue: "2022-10-01-preview",
3209
+ defaultValue: "2023-04-01",
3697
3210
  isConstant: true,
3698
3211
  serializedName: "api-version",
3699
3212
  type: {
@@ -4407,7 +3920,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
4407
3920
  const defaults = {
4408
3921
  requestContentType: "application/json; charset=utf-8"
4409
3922
  };
4410
- const packageDetails = `azsdk-js-ai-language-text/1.1.0-beta.3`;
3923
+ const packageDetails = `azsdk-js-ai-language-text/1.1.0`;
4411
3924
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4412
3925
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4413
3926
  : `${packageDetails}`;
@@ -4418,7 +3931,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
4418
3931
  // Parameter assignments
4419
3932
  this.endpoint = endpoint;
4420
3933
  // Assigning values to Constant parameters
4421
- this.apiVersion = options.apiVersion || "2022-10-01-preview";
3934
+ this.apiVersion = options.apiVersion || "2023-04-01";
4422
3935
  this.analyzeText = new AnalyzeTextImpl(this);
4423
3936
  this.addCustomApiVersionPolicy(options.apiVersion);
4424
3937
  }
@@ -5286,40 +4799,6 @@ exports.KnownPiiEntityCategory = void 0;
5286
4799
  /** Default */
5287
4800
  KnownPiiEntityCategory["Default"] = "Default";
5288
4801
  })(exports.KnownPiiEntityCategory || (exports.KnownPiiEntityCategory = {}));
5289
- /** Known values of {@link ResolutionKind} that the service accepts. */
5290
- var KnownResolutionKind;
5291
- (function (KnownResolutionKind) {
5292
- /** BooleanResolution */
5293
- KnownResolutionKind["BooleanResolution"] = "BooleanResolution";
5294
- /** DateTimeResolution */
5295
- KnownResolutionKind["DateTimeResolution"] = "DateTimeResolution";
5296
- /** NumberResolution */
5297
- KnownResolutionKind["NumberResolution"] = "NumberResolution";
5298
- /** OrdinalResolution */
5299
- KnownResolutionKind["OrdinalResolution"] = "OrdinalResolution";
5300
- /** SpeedResolution */
5301
- KnownResolutionKind["SpeedResolution"] = "SpeedResolution";
5302
- /** WeightResolution */
5303
- KnownResolutionKind["WeightResolution"] = "WeightResolution";
5304
- /** LengthResolution */
5305
- KnownResolutionKind["LengthResolution"] = "LengthResolution";
5306
- /** VolumeResolution */
5307
- KnownResolutionKind["VolumeResolution"] = "VolumeResolution";
5308
- /** AreaResolution */
5309
- KnownResolutionKind["AreaResolution"] = "AreaResolution";
5310
- /** AgeResolution */
5311
- KnownResolutionKind["AgeResolution"] = "AgeResolution";
5312
- /** InformationResolution */
5313
- KnownResolutionKind["InformationResolution"] = "InformationResolution";
5314
- /** TemperatureResolution */
5315
- KnownResolutionKind["TemperatureResolution"] = "TemperatureResolution";
5316
- /** CurrencyResolution */
5317
- KnownResolutionKind["CurrencyResolution"] = "CurrencyResolution";
5318
- /** NumericRangeResolution */
5319
- KnownResolutionKind["NumericRangeResolution"] = "NumericRangeResolution";
5320
- /** TemporalSpanResolution */
5321
- KnownResolutionKind["TemporalSpanResolution"] = "TemporalSpanResolution";
5322
- })(KnownResolutionKind || (KnownResolutionKind = {}));
5323
4802
  /** Known values of {@link WarningCode} that the service accepts. */
5324
4803
  var KnownWarningCode;
5325
4804
  (function (KnownWarningCode) {
@@ -5328,18 +4807,6 @@ var KnownWarningCode;
5328
4807
  /** DocumentTruncated */
5329
4808
  KnownWarningCode["DocumentTruncated"] = "DocumentTruncated";
5330
4809
  })(KnownWarningCode || (KnownWarningCode = {}));
5331
- /** Known values of {@link ScriptKind} that the service accepts. */
5332
- exports.KnownScriptKind = void 0;
5333
- (function (KnownScriptKind) {
5334
- /** Latin */
5335
- KnownScriptKind["Latin"] = "Latin";
5336
- })(exports.KnownScriptKind || (exports.KnownScriptKind = {}));
5337
- /** Known values of {@link FhirVersion} that the service accepts. */
5338
- var KnownFhirVersion;
5339
- (function (KnownFhirVersion) {
5340
- /** Four01 */
5341
- KnownFhirVersion["Four01"] = "4.0.1";
5342
- })(KnownFhirVersion || (KnownFhirVersion = {}));
5343
4810
  /** Known values of {@link HealthcareEntityCategory} that the service accepts. */
5344
4811
  exports.KnownHealthcareEntityCategory = void 0;
5345
4812
  (function (KnownHealthcareEntityCategory) {
@@ -5349,6 +4816,8 @@ exports.KnownHealthcareEntityCategory = void 0;
5349
4816
  KnownHealthcareEntityCategory["Age"] = "Age";
5350
4817
  /** Gender */
5351
4818
  KnownHealthcareEntityCategory["Gender"] = "Gender";
4819
+ /** Ethnicity */
4820
+ KnownHealthcareEntityCategory["Ethnicity"] = "Ethnicity";
5352
4821
  /** ExaminationName */
5353
4822
  KnownHealthcareEntityCategory["ExaminationName"] = "ExaminationName";
5354
4823
  /** Date */
@@ -5365,10 +4834,16 @@ exports.KnownHealthcareEntityCategory = void 0;
5365
4834
  KnownHealthcareEntityCategory["RelationalOperator"] = "RelationalOperator";
5366
4835
  /** Time */
5367
4836
  KnownHealthcareEntityCategory["Time"] = "Time";
4837
+ /** Course */
4838
+ KnownHealthcareEntityCategory["Course"] = "Course";
5368
4839
  /** GeneOrProtein */
5369
4840
  KnownHealthcareEntityCategory["GeneOrProtein"] = "GeneOrProtein";
5370
4841
  /** Variant */
5371
4842
  KnownHealthcareEntityCategory["Variant"] = "Variant";
4843
+ /** Expression */
4844
+ KnownHealthcareEntityCategory["Expression"] = "Expression";
4845
+ /** MutationType */
4846
+ KnownHealthcareEntityCategory["MutationType"] = "MutationType";
5372
4847
  /** AdministrativeEvent */
5373
4848
  KnownHealthcareEntityCategory["AdministrativeEvent"] = "AdministrativeEvent";
5374
4849
  /** CareEnvironment */
@@ -5381,6 +4856,8 @@ exports.KnownHealthcareEntityCategory = void 0;
5381
4856
  KnownHealthcareEntityCategory["SymptomOrSign"] = "SymptomOrSign";
5382
4857
  /** ConditionQualifier */
5383
4858
  KnownHealthcareEntityCategory["ConditionQualifier"] = "ConditionQualifier";
4859
+ /** ConditionScale */
4860
+ KnownHealthcareEntityCategory["ConditionScale"] = "ConditionScale";
5384
4861
  /** MedicationClass */
5385
4862
  KnownHealthcareEntityCategory["MedicationClass"] = "MedicationClass";
5386
4863
  /** MedicationName */
@@ -5395,12 +4872,34 @@ exports.KnownHealthcareEntityCategory = void 0;
5395
4872
  KnownHealthcareEntityCategory["FamilyRelation"] = "FamilyRelation";
5396
4873
  /** TreatmentName */
5397
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";
5398
4885
  })(exports.KnownHealthcareEntityCategory || (exports.KnownHealthcareEntityCategory = {}));
5399
4886
  /** Known values of {@link RelationType} that the service accepts. */
5400
4887
  exports.KnownRelationType = void 0;
5401
4888
  (function (KnownRelationType) {
5402
4889
  /** Abbreviation */
5403
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";
5404
4903
  /** DirectionOfBodyStructure */
5405
4904
  KnownRelationType["DirectionOfBodyStructure"] = "DirectionOfBodyStructure";
5406
4905
  /** DirectionOfCondition */
@@ -5411,18 +4910,32 @@ exports.KnownRelationType = void 0;
5411
4910
  KnownRelationType["DirectionOfTreatment"] = "DirectionOfTreatment";
5412
4911
  /** DosageOfMedication */
5413
4912
  KnownRelationType["DosageOfMedication"] = "DosageOfMedication";
4913
+ /** ExaminationFindsCondition */
4914
+ KnownRelationType["ExaminationFindsCondition"] = "ExaminationFindsCondition";
4915
+ /** ExpressionOfGene */
4916
+ KnownRelationType["ExpressionOfGene"] = "ExpressionOfGene";
4917
+ /** ExpressionOfVariant */
4918
+ KnownRelationType["ExpressionOfVariant"] = "ExpressionOfVariant";
5414
4919
  /** FormOfMedication */
5415
4920
  KnownRelationType["FormOfMedication"] = "FormOfMedication";
4921
+ /** FrequencyOfCondition */
4922
+ KnownRelationType["FrequencyOfCondition"] = "FrequencyOfCondition";
5416
4923
  /** FrequencyOfMedication */
5417
4924
  KnownRelationType["FrequencyOfMedication"] = "FrequencyOfMedication";
5418
4925
  /** FrequencyOfTreatment */
5419
4926
  KnownRelationType["FrequencyOfTreatment"] = "FrequencyOfTreatment";
4927
+ /** MutationTypeOfGene */
4928
+ KnownRelationType["MutationTypeOfGene"] = "MutationTypeOfGene";
4929
+ /** MutationTypeOfVariant */
4930
+ KnownRelationType["MutationTypeOfVariant"] = "MutationTypeOfVariant";
5420
4931
  /** QualifierOfCondition */
5421
4932
  KnownRelationType["QualifierOfCondition"] = "QualifierOfCondition";
5422
4933
  /** RelationOfExamination */
5423
4934
  KnownRelationType["RelationOfExamination"] = "RelationOfExamination";
5424
4935
  /** RouteOfMedication */
5425
4936
  KnownRelationType["RouteOfMedication"] = "RouteOfMedication";
4937
+ /** ScaleOfCondition */
4938
+ KnownRelationType["ScaleOfCondition"] = "ScaleOfCondition";
5426
4939
  /** TimeOfCondition */
5427
4940
  KnownRelationType["TimeOfCondition"] = "TimeOfCondition";
5428
4941
  /** TimeOfEvent */
@@ -5441,365 +4954,9 @@ exports.KnownRelationType = void 0;
5441
4954
  KnownRelationType["ValueOfCondition"] = "ValueOfCondition";
5442
4955
  /** ValueOfExamination */
5443
4956
  KnownRelationType["ValueOfExamination"] = "ValueOfExamination";
4957
+ /** VariantOfGene */
4958
+ KnownRelationType["VariantOfGene"] = "VariantOfGene";
5444
4959
  })(exports.KnownRelationType || (exports.KnownRelationType = {}));
5445
- /** Known values of {@link AgeUnit} that the service accepts. */
5446
- exports.KnownAgeUnit = void 0;
5447
- (function (KnownAgeUnit) {
5448
- /** Unspecified */
5449
- KnownAgeUnit["Unspecified"] = "Unspecified";
5450
- /** Year */
5451
- KnownAgeUnit["Year"] = "Year";
5452
- /** Month */
5453
- KnownAgeUnit["Month"] = "Month";
5454
- /** Week */
5455
- KnownAgeUnit["Week"] = "Week";
5456
- /** Day */
5457
- KnownAgeUnit["Day"] = "Day";
5458
- })(exports.KnownAgeUnit || (exports.KnownAgeUnit = {}));
5459
- /** Known values of {@link VolumeUnit} that the service accepts. */
5460
- exports.KnownVolumeUnit = void 0;
5461
- (function (KnownVolumeUnit) {
5462
- /** Unspecified */
5463
- KnownVolumeUnit["Unspecified"] = "Unspecified";
5464
- /** CubicMeter */
5465
- KnownVolumeUnit["CubicMeter"] = "CubicMeter";
5466
- /** CubicCentimeter */
5467
- KnownVolumeUnit["CubicCentimeter"] = "CubicCentimeter";
5468
- /** CubicMillimeter */
5469
- KnownVolumeUnit["CubicMillimeter"] = "CubicMillimeter";
5470
- /** Hectoliter */
5471
- KnownVolumeUnit["Hectoliter"] = "Hectoliter";
5472
- /** Decaliter */
5473
- KnownVolumeUnit["Decaliter"] = "Decaliter";
5474
- /** Liter */
5475
- KnownVolumeUnit["Liter"] = "Liter";
5476
- /** Centiliter */
5477
- KnownVolumeUnit["Centiliter"] = "Centiliter";
5478
- /** Milliliter */
5479
- KnownVolumeUnit["Milliliter"] = "Milliliter";
5480
- /** CubicYard */
5481
- KnownVolumeUnit["CubicYard"] = "CubicYard";
5482
- /** CubicInch */
5483
- KnownVolumeUnit["CubicInch"] = "CubicInch";
5484
- /** CubicFoot */
5485
- KnownVolumeUnit["CubicFoot"] = "CubicFoot";
5486
- /** CubicMile */
5487
- KnownVolumeUnit["CubicMile"] = "CubicMile";
5488
- /** FluidOunce */
5489
- KnownVolumeUnit["FluidOunce"] = "FluidOunce";
5490
- /** Teaspoon */
5491
- KnownVolumeUnit["Teaspoon"] = "Teaspoon";
5492
- /** Tablespoon */
5493
- KnownVolumeUnit["Tablespoon"] = "Tablespoon";
5494
- /** Pint */
5495
- KnownVolumeUnit["Pint"] = "Pint";
5496
- /** Quart */
5497
- KnownVolumeUnit["Quart"] = "Quart";
5498
- /** Cup */
5499
- KnownVolumeUnit["Cup"] = "Cup";
5500
- /** Gill */
5501
- KnownVolumeUnit["Gill"] = "Gill";
5502
- /** Pinch */
5503
- KnownVolumeUnit["Pinch"] = "Pinch";
5504
- /** FluidDram */
5505
- KnownVolumeUnit["FluidDram"] = "FluidDram";
5506
- /** Barrel */
5507
- KnownVolumeUnit["Barrel"] = "Barrel";
5508
- /** Minim */
5509
- KnownVolumeUnit["Minim"] = "Minim";
5510
- /** Cord */
5511
- KnownVolumeUnit["Cord"] = "Cord";
5512
- /** Peck */
5513
- KnownVolumeUnit["Peck"] = "Peck";
5514
- /** Bushel */
5515
- KnownVolumeUnit["Bushel"] = "Bushel";
5516
- /** Hogshead */
5517
- KnownVolumeUnit["Hogshead"] = "Hogshead";
5518
- })(exports.KnownVolumeUnit || (exports.KnownVolumeUnit = {}));
5519
- /** Known values of {@link SpeedUnit} that the service accepts. */
5520
- exports.KnownSpeedUnit = void 0;
5521
- (function (KnownSpeedUnit) {
5522
- /** Unspecified */
5523
- KnownSpeedUnit["Unspecified"] = "Unspecified";
5524
- /** MeterPerSecond */
5525
- KnownSpeedUnit["MeterPerSecond"] = "MeterPerSecond";
5526
- /** KilometerPerHour */
5527
- KnownSpeedUnit["KilometerPerHour"] = "KilometerPerHour";
5528
- /** KilometerPerMinute */
5529
- KnownSpeedUnit["KilometerPerMinute"] = "KilometerPerMinute";
5530
- /** KilometerPerSecond */
5531
- KnownSpeedUnit["KilometerPerSecond"] = "KilometerPerSecond";
5532
- /** MilePerHour */
5533
- KnownSpeedUnit["MilePerHour"] = "MilePerHour";
5534
- /** Knot */
5535
- KnownSpeedUnit["Knot"] = "Knot";
5536
- /** FootPerSecond */
5537
- KnownSpeedUnit["FootPerSecond"] = "FootPerSecond";
5538
- /** FootPerMinute */
5539
- KnownSpeedUnit["FootPerMinute"] = "FootPerMinute";
5540
- /** YardPerMinute */
5541
- KnownSpeedUnit["YardPerMinute"] = "YardPerMinute";
5542
- /** YardPerSecond */
5543
- KnownSpeedUnit["YardPerSecond"] = "YardPerSecond";
5544
- /** MeterPerMillisecond */
5545
- KnownSpeedUnit["MeterPerMillisecond"] = "MeterPerMillisecond";
5546
- /** CentimeterPerMillisecond */
5547
- KnownSpeedUnit["CentimeterPerMillisecond"] = "CentimeterPerMillisecond";
5548
- /** KilometerPerMillisecond */
5549
- KnownSpeedUnit["KilometerPerMillisecond"] = "KilometerPerMillisecond";
5550
- })(exports.KnownSpeedUnit || (exports.KnownSpeedUnit = {}));
5551
- /** Known values of {@link AreaUnit} that the service accepts. */
5552
- exports.KnownAreaUnit = void 0;
5553
- (function (KnownAreaUnit) {
5554
- /** Unspecified */
5555
- KnownAreaUnit["Unspecified"] = "Unspecified";
5556
- /** SquareKilometer */
5557
- KnownAreaUnit["SquareKilometer"] = "SquareKilometer";
5558
- /** SquareHectometer */
5559
- KnownAreaUnit["SquareHectometer"] = "SquareHectometer";
5560
- /** SquareDecameter */
5561
- KnownAreaUnit["SquareDecameter"] = "SquareDecameter";
5562
- /** SquareDecimeter */
5563
- KnownAreaUnit["SquareDecimeter"] = "SquareDecimeter";
5564
- /** SquareMeter */
5565
- KnownAreaUnit["SquareMeter"] = "SquareMeter";
5566
- /** SquareCentimeter */
5567
- KnownAreaUnit["SquareCentimeter"] = "SquareCentimeter";
5568
- /** SquareMillimeter */
5569
- KnownAreaUnit["SquareMillimeter"] = "SquareMillimeter";
5570
- /** SquareInch */
5571
- KnownAreaUnit["SquareInch"] = "SquareInch";
5572
- /** SquareFoot */
5573
- KnownAreaUnit["SquareFoot"] = "SquareFoot";
5574
- /** SquareMile */
5575
- KnownAreaUnit["SquareMile"] = "SquareMile";
5576
- /** SquareYard */
5577
- KnownAreaUnit["SquareYard"] = "SquareYard";
5578
- /** Acre */
5579
- KnownAreaUnit["Acre"] = "Acre";
5580
- })(exports.KnownAreaUnit || (exports.KnownAreaUnit = {}));
5581
- /** Known values of {@link LengthUnit} that the service accepts. */
5582
- exports.KnownLengthUnit = void 0;
5583
- (function (KnownLengthUnit) {
5584
- /** Unspecified */
5585
- KnownLengthUnit["Unspecified"] = "Unspecified";
5586
- /** Kilometer */
5587
- KnownLengthUnit["Kilometer"] = "Kilometer";
5588
- /** Hectometer */
5589
- KnownLengthUnit["Hectometer"] = "Hectometer";
5590
- /** Decameter */
5591
- KnownLengthUnit["Decameter"] = "Decameter";
5592
- /** Meter */
5593
- KnownLengthUnit["Meter"] = "Meter";
5594
- /** Decimeter */
5595
- KnownLengthUnit["Decimeter"] = "Decimeter";
5596
- /** Centimeter */
5597
- KnownLengthUnit["Centimeter"] = "Centimeter";
5598
- /** Millimeter */
5599
- KnownLengthUnit["Millimeter"] = "Millimeter";
5600
- /** Micrometer */
5601
- KnownLengthUnit["Micrometer"] = "Micrometer";
5602
- /** Nanometer */
5603
- KnownLengthUnit["Nanometer"] = "Nanometer";
5604
- /** Picometer */
5605
- KnownLengthUnit["Picometer"] = "Picometer";
5606
- /** Mile */
5607
- KnownLengthUnit["Mile"] = "Mile";
5608
- /** Yard */
5609
- KnownLengthUnit["Yard"] = "Yard";
5610
- /** Inch */
5611
- KnownLengthUnit["Inch"] = "Inch";
5612
- /** Foot */
5613
- KnownLengthUnit["Foot"] = "Foot";
5614
- /** LightYear */
5615
- KnownLengthUnit["LightYear"] = "LightYear";
5616
- /** Pt */
5617
- KnownLengthUnit["Pt"] = "Pt";
5618
- })(exports.KnownLengthUnit || (exports.KnownLengthUnit = {}));
5619
- /** Known values of {@link InformationUnit} that the service accepts. */
5620
- exports.KnownInformationUnit = void 0;
5621
- (function (KnownInformationUnit) {
5622
- /** Unspecified */
5623
- KnownInformationUnit["Unspecified"] = "Unspecified";
5624
- /** Bit */
5625
- KnownInformationUnit["Bit"] = "Bit";
5626
- /** Kilobit */
5627
- KnownInformationUnit["Kilobit"] = "Kilobit";
5628
- /** Megabit */
5629
- KnownInformationUnit["Megabit"] = "Megabit";
5630
- /** Gigabit */
5631
- KnownInformationUnit["Gigabit"] = "Gigabit";
5632
- /** Terabit */
5633
- KnownInformationUnit["Terabit"] = "Terabit";
5634
- /** Petabit */
5635
- KnownInformationUnit["Petabit"] = "Petabit";
5636
- /** Byte */
5637
- KnownInformationUnit["Byte"] = "Byte";
5638
- /** Kilobyte */
5639
- KnownInformationUnit["Kilobyte"] = "Kilobyte";
5640
- /** Megabyte */
5641
- KnownInformationUnit["Megabyte"] = "Megabyte";
5642
- /** Gigabyte */
5643
- KnownInformationUnit["Gigabyte"] = "Gigabyte";
5644
- /** Terabyte */
5645
- KnownInformationUnit["Terabyte"] = "Terabyte";
5646
- /** Petabyte */
5647
- KnownInformationUnit["Petabyte"] = "Petabyte";
5648
- })(exports.KnownInformationUnit || (exports.KnownInformationUnit = {}));
5649
- /** Known values of {@link TemperatureUnit} that the service accepts. */
5650
- exports.KnownTemperatureUnit = void 0;
5651
- (function (KnownTemperatureUnit) {
5652
- /** Unspecified */
5653
- KnownTemperatureUnit["Unspecified"] = "Unspecified";
5654
- /** Fahrenheit */
5655
- KnownTemperatureUnit["Fahrenheit"] = "Fahrenheit";
5656
- /** Kelvin */
5657
- KnownTemperatureUnit["Kelvin"] = "Kelvin";
5658
- /** Rankine */
5659
- KnownTemperatureUnit["Rankine"] = "Rankine";
5660
- /** Celsius */
5661
- KnownTemperatureUnit["Celsius"] = "Celsius";
5662
- })(exports.KnownTemperatureUnit || (exports.KnownTemperatureUnit = {}));
5663
- /** Known values of {@link WeightUnit} that the service accepts. */
5664
- exports.KnownWeightUnit = void 0;
5665
- (function (KnownWeightUnit) {
5666
- /** Unspecified */
5667
- KnownWeightUnit["Unspecified"] = "Unspecified";
5668
- /** Kilogram */
5669
- KnownWeightUnit["Kilogram"] = "Kilogram";
5670
- /** Gram */
5671
- KnownWeightUnit["Gram"] = "Gram";
5672
- /** Milligram */
5673
- KnownWeightUnit["Milligram"] = "Milligram";
5674
- /** Gallon */
5675
- KnownWeightUnit["Gallon"] = "Gallon";
5676
- /** MetricTon */
5677
- KnownWeightUnit["MetricTon"] = "MetricTon";
5678
- /** Ton */
5679
- KnownWeightUnit["Ton"] = "Ton";
5680
- /** Pound */
5681
- KnownWeightUnit["Pound"] = "Pound";
5682
- /** Ounce */
5683
- KnownWeightUnit["Ounce"] = "Ounce";
5684
- /** Grain */
5685
- KnownWeightUnit["Grain"] = "Grain";
5686
- /** PennyWeight */
5687
- KnownWeightUnit["PennyWeight"] = "PennyWeight";
5688
- /** LongTonBritish */
5689
- KnownWeightUnit["LongTonBritish"] = "LongTonBritish";
5690
- /** ShortTonUS */
5691
- KnownWeightUnit["ShortTonUS"] = "ShortTonUS";
5692
- /** ShortHundredWeightUS */
5693
- KnownWeightUnit["ShortHundredWeightUS"] = "ShortHundredWeightUS";
5694
- /** Stone */
5695
- KnownWeightUnit["Stone"] = "Stone";
5696
- /** Dram */
5697
- KnownWeightUnit["Dram"] = "Dram";
5698
- })(exports.KnownWeightUnit || (exports.KnownWeightUnit = {}));
5699
- /** Known values of {@link DateTimeSubKind} that the service accepts. */
5700
- exports.KnownDateTimeSubKind = void 0;
5701
- (function (KnownDateTimeSubKind) {
5702
- /** Time */
5703
- KnownDateTimeSubKind["Time"] = "Time";
5704
- /** Date */
5705
- KnownDateTimeSubKind["Date"] = "Date";
5706
- /** DateTime */
5707
- KnownDateTimeSubKind["DateTime"] = "DateTime";
5708
- /** Duration */
5709
- KnownDateTimeSubKind["Duration"] = "Duration";
5710
- /** Set */
5711
- KnownDateTimeSubKind["Set"] = "Set";
5712
- })(exports.KnownDateTimeSubKind || (exports.KnownDateTimeSubKind = {}));
5713
- /** Known values of {@link TemporalModifier} that the service accepts. */
5714
- exports.KnownTemporalModifier = void 0;
5715
- (function (KnownTemporalModifier) {
5716
- /** AfterApprox */
5717
- KnownTemporalModifier["AfterApprox"] = "AfterApprox";
5718
- /** Before */
5719
- KnownTemporalModifier["Before"] = "Before";
5720
- /** BeforeStart */
5721
- KnownTemporalModifier["BeforeStart"] = "BeforeStart";
5722
- /** Approx */
5723
- KnownTemporalModifier["Approx"] = "Approx";
5724
- /** ReferenceUndefined */
5725
- KnownTemporalModifier["ReferenceUndefined"] = "ReferenceUndefined";
5726
- /** SinceEnd */
5727
- KnownTemporalModifier["SinceEnd"] = "SinceEnd";
5728
- /** AfterMid */
5729
- KnownTemporalModifier["AfterMid"] = "AfterMid";
5730
- /** Start */
5731
- KnownTemporalModifier["Start"] = "Start";
5732
- /** After */
5733
- KnownTemporalModifier["After"] = "After";
5734
- /** BeforeEnd */
5735
- KnownTemporalModifier["BeforeEnd"] = "BeforeEnd";
5736
- /** Until */
5737
- KnownTemporalModifier["Until"] = "Until";
5738
- /** End */
5739
- KnownTemporalModifier["End"] = "End";
5740
- /** Less */
5741
- KnownTemporalModifier["Less"] = "Less";
5742
- /** Since */
5743
- KnownTemporalModifier["Since"] = "Since";
5744
- /** AfterStart */
5745
- KnownTemporalModifier["AfterStart"] = "AfterStart";
5746
- /** BeforeApprox */
5747
- KnownTemporalModifier["BeforeApprox"] = "BeforeApprox";
5748
- /** Mid */
5749
- KnownTemporalModifier["Mid"] = "Mid";
5750
- /** More */
5751
- KnownTemporalModifier["More"] = "More";
5752
- })(exports.KnownTemporalModifier || (exports.KnownTemporalModifier = {}));
5753
- /** Known values of {@link NumberKind} that the service accepts. */
5754
- exports.KnownNumberKind = void 0;
5755
- (function (KnownNumberKind) {
5756
- /** Integer */
5757
- KnownNumberKind["Integer"] = "Integer";
5758
- /** Decimal */
5759
- KnownNumberKind["Decimal"] = "Decimal";
5760
- /** Power */
5761
- KnownNumberKind["Power"] = "Power";
5762
- /** Fraction */
5763
- KnownNumberKind["Fraction"] = "Fraction";
5764
- /** Percent */
5765
- KnownNumberKind["Percent"] = "Percent";
5766
- /** Unspecified */
5767
- KnownNumberKind["Unspecified"] = "Unspecified";
5768
- })(exports.KnownNumberKind || (exports.KnownNumberKind = {}));
5769
- /** Known values of {@link RelativeTo} that the service accepts. */
5770
- exports.KnownRelativeTo = void 0;
5771
- (function (KnownRelativeTo) {
5772
- /** Current */
5773
- KnownRelativeTo["Current"] = "Current";
5774
- /** End */
5775
- KnownRelativeTo["End"] = "End";
5776
- /** Start */
5777
- KnownRelativeTo["Start"] = "Start";
5778
- })(exports.KnownRelativeTo || (exports.KnownRelativeTo = {}));
5779
- /** Known values of {@link RangeKind} that the service accepts. */
5780
- exports.KnownRangeKind = void 0;
5781
- (function (KnownRangeKind) {
5782
- /** Number */
5783
- KnownRangeKind["Number"] = "Number";
5784
- /** Speed */
5785
- KnownRangeKind["Speed"] = "Speed";
5786
- /** Weight */
5787
- KnownRangeKind["Weight"] = "Weight";
5788
- /** Length */
5789
- KnownRangeKind["Length"] = "Length";
5790
- /** Volume */
5791
- KnownRangeKind["Volume"] = "Volume";
5792
- /** Area */
5793
- KnownRangeKind["Area"] = "Area";
5794
- /** Age */
5795
- KnownRangeKind["Age"] = "Age";
5796
- /** Information */
5797
- KnownRangeKind["Information"] = "Information";
5798
- /** Temperature */
5799
- KnownRangeKind["Temperature"] = "Temperature";
5800
- /** Currency */
5801
- KnownRangeKind["Currency"] = "Currency";
5802
- })(exports.KnownRangeKind || (exports.KnownRangeKind = {}));
5803
4960
  /** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */
5804
4961
  exports.KnownExtractiveSummarizationOrderingCriteria = void 0;
5805
4962
  (function (KnownExtractiveSummarizationOrderingCriteria) {