@azure/ai-language-text 1.0.0-alpha.20220808.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.
Files changed (42) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +780 -0
  3. package/dist/index.js +4771 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist-esm/src/azureKeyCredentialPolicy.js +22 -0
  6. package/dist-esm/src/azureKeyCredentialPolicy.js.map +1 -0
  7. package/dist-esm/src/constants.js +16 -0
  8. package/dist-esm/src/constants.js.map +1 -0
  9. package/dist-esm/src/generated/generatedClient.js +119 -0
  10. package/dist-esm/src/generated/generatedClient.js.map +1 -0
  11. package/dist-esm/src/generated/index.js +11 -0
  12. package/dist-esm/src/generated/index.js.map +1 -0
  13. package/dist-esm/src/generated/models/index.js +644 -0
  14. package/dist-esm/src/generated/models/index.js.map +1 -0
  15. package/dist-esm/src/generated/models/mappers.js +2810 -0
  16. package/dist-esm/src/generated/models/mappers.js.map +1 -0
  17. package/dist-esm/src/generated/models/parameters.js +98 -0
  18. package/dist-esm/src/generated/models/parameters.js.map +1 -0
  19. package/dist-esm/src/generated/operations/analyzeText.js +105 -0
  20. package/dist-esm/src/generated/operations/analyzeText.js.map +1 -0
  21. package/dist-esm/src/generated/operations/index.js +9 -0
  22. package/dist-esm/src/generated/operations/index.js.map +1 -0
  23. package/dist-esm/src/generated/operationsInterfaces/analyzeText.js +9 -0
  24. package/dist-esm/src/generated/operationsInterfaces/analyzeText.js.map +1 -0
  25. package/dist-esm/src/generated/operationsInterfaces/index.js +9 -0
  26. package/dist-esm/src/generated/operationsInterfaces/index.js.map +1 -0
  27. package/dist-esm/src/index.js +18 -0
  28. package/dist-esm/src/index.js.map +1 -0
  29. package/dist-esm/src/logger.js +9 -0
  30. package/dist-esm/src/logger.js.map +1 -0
  31. package/dist-esm/src/lro.js +179 -0
  32. package/dist-esm/src/lro.js.map +1 -0
  33. package/dist-esm/src/models.js +42 -0
  34. package/dist-esm/src/models.js.map +1 -0
  35. package/dist-esm/src/textAnalysisClient.js +191 -0
  36. package/dist-esm/src/textAnalysisClient.js.map +1 -0
  37. package/dist-esm/src/transforms.js +287 -0
  38. package/dist-esm/src/transforms.js.map +1 -0
  39. package/dist-esm/src/util.js +117 -0
  40. package/dist-esm/src/util.js.map +1 -0
  41. package/package.json +135 -0
  42. package/types/ai-language-text.d.ts +2477 -0
@@ -0,0 +1,2810 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export const AnalyzeAction = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "AnalyzeAction",
12
+ uberParent: "AnalyzeAction",
13
+ polymorphicDiscriminator: {
14
+ serializedName: "kind",
15
+ clientName: "kind"
16
+ },
17
+ modelProperties: {
18
+ kind: {
19
+ serializedName: "kind",
20
+ required: true,
21
+ type: {
22
+ name: "String"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ };
28
+ export const AnalyzeTextTaskResult = {
29
+ type: {
30
+ name: "Composite",
31
+ className: "AnalyzeTextTaskResult",
32
+ uberParent: "AnalyzeTextTaskResult",
33
+ polymorphicDiscriminator: {
34
+ serializedName: "kind",
35
+ clientName: "kind"
36
+ },
37
+ modelProperties: {
38
+ kind: {
39
+ serializedName: "kind",
40
+ required: true,
41
+ type: {
42
+ name: "String"
43
+ }
44
+ }
45
+ }
46
+ }
47
+ };
48
+ export const ErrorResponse = {
49
+ type: {
50
+ name: "Composite",
51
+ className: "ErrorResponse",
52
+ modelProperties: {
53
+ error: {
54
+ serializedName: "error",
55
+ type: {
56
+ name: "Composite",
57
+ className: "ErrorModel"
58
+ }
59
+ }
60
+ }
61
+ }
62
+ };
63
+ export const ErrorModel = {
64
+ type: {
65
+ name: "Composite",
66
+ className: "ErrorModel",
67
+ additionalProperties: { type: { name: "Object" } },
68
+ modelProperties: {
69
+ code: {
70
+ serializedName: "code",
71
+ required: true,
72
+ type: {
73
+ name: "String"
74
+ }
75
+ },
76
+ message: {
77
+ serializedName: "message",
78
+ required: true,
79
+ type: {
80
+ name: "String"
81
+ }
82
+ },
83
+ target: {
84
+ serializedName: "target",
85
+ type: {
86
+ name: "String"
87
+ }
88
+ },
89
+ details: {
90
+ serializedName: "details",
91
+ type: {
92
+ name: "Sequence",
93
+ element: {
94
+ type: {
95
+ name: "Composite",
96
+ className: "ErrorModel"
97
+ }
98
+ }
99
+ }
100
+ },
101
+ innererror: {
102
+ serializedName: "innererror",
103
+ type: {
104
+ name: "Composite",
105
+ className: "InnerErrorModel"
106
+ }
107
+ }
108
+ }
109
+ }
110
+ };
111
+ export const InnerErrorModel = {
112
+ type: {
113
+ name: "Composite",
114
+ className: "InnerErrorModel",
115
+ modelProperties: {
116
+ code: {
117
+ serializedName: "code",
118
+ required: true,
119
+ type: {
120
+ name: "String"
121
+ }
122
+ },
123
+ message: {
124
+ serializedName: "message",
125
+ required: true,
126
+ type: {
127
+ name: "String"
128
+ }
129
+ },
130
+ details: {
131
+ serializedName: "details",
132
+ type: {
133
+ name: "Dictionary",
134
+ value: { type: { name: "String" } }
135
+ }
136
+ },
137
+ target: {
138
+ serializedName: "target",
139
+ type: {
140
+ name: "String"
141
+ }
142
+ },
143
+ innererror: {
144
+ serializedName: "innererror",
145
+ type: {
146
+ name: "Composite",
147
+ className: "InnerErrorModel"
148
+ }
149
+ }
150
+ }
151
+ }
152
+ };
153
+ export const AnalyzeTextJobsInput = {
154
+ type: {
155
+ name: "Composite",
156
+ className: "AnalyzeTextJobsInput",
157
+ modelProperties: {
158
+ displayName: {
159
+ serializedName: "displayName",
160
+ type: {
161
+ name: "String"
162
+ }
163
+ },
164
+ analysisInput: {
165
+ serializedName: "analysisInput",
166
+ type: {
167
+ name: "Composite",
168
+ className: "MultiLanguageAnalysisInput"
169
+ }
170
+ },
171
+ tasks: {
172
+ serializedName: "tasks",
173
+ required: true,
174
+ type: {
175
+ name: "Sequence",
176
+ element: {
177
+ type: {
178
+ name: "Composite",
179
+ className: "AnalyzeBatchAction"
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ };
187
+ export const MultiLanguageAnalysisInput = {
188
+ type: {
189
+ name: "Composite",
190
+ className: "MultiLanguageAnalysisInput",
191
+ modelProperties: {
192
+ documents: {
193
+ serializedName: "documents",
194
+ type: {
195
+ name: "Sequence",
196
+ element: {
197
+ type: {
198
+ name: "Composite",
199
+ className: "TextDocumentInput"
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+ }
206
+ };
207
+ export const TextDocumentInput = {
208
+ type: {
209
+ name: "Composite",
210
+ className: "TextDocumentInput",
211
+ modelProperties: {
212
+ id: {
213
+ serializedName: "id",
214
+ required: true,
215
+ type: {
216
+ name: "String"
217
+ }
218
+ },
219
+ text: {
220
+ serializedName: "text",
221
+ required: true,
222
+ type: {
223
+ name: "String"
224
+ }
225
+ },
226
+ language: {
227
+ serializedName: "language",
228
+ type: {
229
+ name: "String"
230
+ }
231
+ }
232
+ }
233
+ }
234
+ };
235
+ export const BatchActionState = {
236
+ type: {
237
+ name: "Composite",
238
+ className: "BatchActionState",
239
+ modelProperties: {
240
+ actionName: {
241
+ serializedName: "taskName",
242
+ type: {
243
+ name: "String"
244
+ }
245
+ }
246
+ }
247
+ }
248
+ };
249
+ export const JobState = {
250
+ type: {
251
+ name: "Composite",
252
+ className: "JobState",
253
+ modelProperties: {
254
+ displayName: {
255
+ serializedName: "displayName",
256
+ type: {
257
+ name: "String"
258
+ }
259
+ },
260
+ createdOn: {
261
+ serializedName: "createdDateTime",
262
+ required: true,
263
+ type: {
264
+ name: "DateTime"
265
+ }
266
+ },
267
+ expiresOn: {
268
+ serializedName: "expirationDateTime",
269
+ type: {
270
+ name: "DateTime"
271
+ }
272
+ },
273
+ id: {
274
+ serializedName: "jobId",
275
+ required: true,
276
+ type: {
277
+ name: "Uuid"
278
+ }
279
+ },
280
+ modifiedOn: {
281
+ serializedName: "lastUpdateDateTime",
282
+ required: true,
283
+ type: {
284
+ name: "DateTime"
285
+ }
286
+ },
287
+ status: {
288
+ serializedName: "status",
289
+ required: true,
290
+ type: {
291
+ name: "Enum",
292
+ allowedValues: [
293
+ "notStarted",
294
+ "running",
295
+ "succeeded",
296
+ "partiallySucceeded",
297
+ "failed",
298
+ "cancelled",
299
+ "cancelling"
300
+ ]
301
+ }
302
+ },
303
+ errors: {
304
+ serializedName: "errors",
305
+ type: {
306
+ name: "Sequence",
307
+ element: {
308
+ type: {
309
+ name: "Composite",
310
+ className: "ErrorModel"
311
+ }
312
+ }
313
+ }
314
+ },
315
+ nextLink: {
316
+ serializedName: "nextLink",
317
+ type: {
318
+ name: "String"
319
+ }
320
+ }
321
+ }
322
+ }
323
+ };
324
+ export const TasksState = {
325
+ type: {
326
+ name: "Composite",
327
+ className: "TasksState",
328
+ modelProperties: {
329
+ tasks: {
330
+ serializedName: "tasks",
331
+ type: {
332
+ name: "Composite",
333
+ className: "TasksStateTasks"
334
+ }
335
+ }
336
+ }
337
+ }
338
+ };
339
+ export const TasksStateTasks = {
340
+ type: {
341
+ name: "Composite",
342
+ className: "TasksStateTasks",
343
+ modelProperties: {
344
+ completed: {
345
+ serializedName: "completed",
346
+ required: true,
347
+ type: {
348
+ name: "Number"
349
+ }
350
+ },
351
+ failed: {
352
+ serializedName: "failed",
353
+ required: true,
354
+ type: {
355
+ name: "Number"
356
+ }
357
+ },
358
+ inProgress: {
359
+ serializedName: "inProgress",
360
+ required: true,
361
+ type: {
362
+ name: "Number"
363
+ }
364
+ },
365
+ total: {
366
+ serializedName: "total",
367
+ required: true,
368
+ type: {
369
+ name: "Number"
370
+ }
371
+ },
372
+ items: {
373
+ serializedName: "items",
374
+ type: {
375
+ name: "Sequence",
376
+ element: {
377
+ type: {
378
+ name: "Composite",
379
+ className: "AnalyzeTextLROResult"
380
+ }
381
+ }
382
+ }
383
+ }
384
+ }
385
+ }
386
+ };
387
+ export const TaskState = {
388
+ type: {
389
+ name: "Composite",
390
+ className: "TaskState",
391
+ modelProperties: {
392
+ lastUpdateDateTime: {
393
+ serializedName: "lastUpdateDateTime",
394
+ required: true,
395
+ type: {
396
+ name: "DateTime"
397
+ }
398
+ },
399
+ status: {
400
+ serializedName: "status",
401
+ required: true,
402
+ type: {
403
+ name: "Enum",
404
+ allowedValues: [
405
+ "notStarted",
406
+ "running",
407
+ "succeeded",
408
+ "partiallySucceeded",
409
+ "failed",
410
+ "cancelled",
411
+ "cancelling"
412
+ ]
413
+ }
414
+ }
415
+ }
416
+ }
417
+ };
418
+ export const AnalyzeTextJobStatistics = {
419
+ type: {
420
+ name: "Composite",
421
+ className: "AnalyzeTextJobStatistics",
422
+ modelProperties: {
423
+ statistics: {
424
+ serializedName: "statistics",
425
+ type: {
426
+ name: "Composite",
427
+ className: "TextDocumentBatchStatistics"
428
+ }
429
+ }
430
+ }
431
+ }
432
+ };
433
+ export const TextDocumentBatchStatistics = {
434
+ type: {
435
+ name: "Composite",
436
+ className: "TextDocumentBatchStatistics",
437
+ modelProperties: {
438
+ documentCount: {
439
+ serializedName: "documentsCount",
440
+ required: true,
441
+ type: {
442
+ name: "Number"
443
+ }
444
+ },
445
+ validDocumentCount: {
446
+ serializedName: "validDocumentsCount",
447
+ required: true,
448
+ type: {
449
+ name: "Number"
450
+ }
451
+ },
452
+ erroneousDocumentCount: {
453
+ serializedName: "erroneousDocumentsCount",
454
+ required: true,
455
+ type: {
456
+ name: "Number"
457
+ }
458
+ },
459
+ transactionCount: {
460
+ serializedName: "transactionsCount",
461
+ required: true,
462
+ type: {
463
+ name: "Number"
464
+ }
465
+ }
466
+ }
467
+ }
468
+ };
469
+ export const LanguageDetectionAnalysisInput = {
470
+ type: {
471
+ name: "Composite",
472
+ className: "LanguageDetectionAnalysisInput",
473
+ modelProperties: {
474
+ documents: {
475
+ serializedName: "documents",
476
+ type: {
477
+ name: "Sequence",
478
+ element: {
479
+ type: {
480
+ name: "Composite",
481
+ className: "LanguageDetectionInput"
482
+ }
483
+ }
484
+ }
485
+ }
486
+ }
487
+ }
488
+ };
489
+ export const LanguageDetectionInput = {
490
+ type: {
491
+ name: "Composite",
492
+ className: "LanguageDetectionInput",
493
+ modelProperties: {
494
+ id: {
495
+ serializedName: "id",
496
+ required: true,
497
+ type: {
498
+ name: "String"
499
+ }
500
+ },
501
+ text: {
502
+ serializedName: "text",
503
+ required: true,
504
+ type: {
505
+ name: "String"
506
+ }
507
+ },
508
+ countryHint: {
509
+ serializedName: "countryHint",
510
+ type: {
511
+ name: "String"
512
+ }
513
+ }
514
+ }
515
+ }
516
+ };
517
+ export const ActionCommon = {
518
+ type: {
519
+ name: "Composite",
520
+ className: "ActionCommon",
521
+ modelProperties: {
522
+ disableServiceLogs: {
523
+ defaultValue: false,
524
+ serializedName: "loggingOptOut",
525
+ type: {
526
+ name: "Boolean"
527
+ }
528
+ }
529
+ }
530
+ }
531
+ };
532
+ export const PreBuiltResult = {
533
+ type: {
534
+ name: "Composite",
535
+ className: "PreBuiltResult",
536
+ modelProperties: {
537
+ errors: {
538
+ serializedName: "errors",
539
+ required: true,
540
+ type: {
541
+ name: "Sequence",
542
+ element: {
543
+ type: {
544
+ name: "Composite",
545
+ className: "DocumentError"
546
+ }
547
+ }
548
+ }
549
+ },
550
+ statistics: {
551
+ serializedName: "statistics",
552
+ type: {
553
+ name: "Composite",
554
+ className: "TextDocumentBatchStatistics"
555
+ }
556
+ },
557
+ modelVersion: {
558
+ serializedName: "modelVersion",
559
+ required: true,
560
+ type: {
561
+ name: "String"
562
+ }
563
+ }
564
+ }
565
+ }
566
+ };
567
+ export const DocumentError = {
568
+ type: {
569
+ name: "Composite",
570
+ className: "DocumentError",
571
+ modelProperties: {
572
+ id: {
573
+ serializedName: "id",
574
+ required: true,
575
+ type: {
576
+ name: "String"
577
+ }
578
+ },
579
+ error: {
580
+ serializedName: "error",
581
+ type: {
582
+ name: "Composite",
583
+ className: "ErrorModel"
584
+ }
585
+ }
586
+ }
587
+ }
588
+ };
589
+ export const CustomResult = {
590
+ type: {
591
+ name: "Composite",
592
+ className: "CustomResult",
593
+ modelProperties: {
594
+ errors: {
595
+ serializedName: "errors",
596
+ required: true,
597
+ type: {
598
+ name: "Sequence",
599
+ element: {
600
+ type: {
601
+ name: "Composite",
602
+ className: "DocumentError"
603
+ }
604
+ }
605
+ }
606
+ },
607
+ statistics: {
608
+ serializedName: "statistics",
609
+ type: {
610
+ name: "Composite",
611
+ className: "TextDocumentBatchStatistics"
612
+ }
613
+ },
614
+ projectName: {
615
+ serializedName: "projectName",
616
+ required: true,
617
+ type: {
618
+ name: "String"
619
+ }
620
+ },
621
+ deploymentName: {
622
+ serializedName: "deploymentName",
623
+ required: true,
624
+ type: {
625
+ name: "String"
626
+ }
627
+ }
628
+ }
629
+ }
630
+ };
631
+ export const Entity = {
632
+ type: {
633
+ name: "Composite",
634
+ className: "Entity",
635
+ modelProperties: {
636
+ text: {
637
+ serializedName: "text",
638
+ required: true,
639
+ type: {
640
+ name: "String"
641
+ }
642
+ },
643
+ category: {
644
+ serializedName: "category",
645
+ required: true,
646
+ type: {
647
+ name: "String"
648
+ }
649
+ },
650
+ subCategory: {
651
+ serializedName: "subcategory",
652
+ type: {
653
+ name: "String"
654
+ }
655
+ },
656
+ offset: {
657
+ serializedName: "offset",
658
+ required: true,
659
+ type: {
660
+ name: "Number"
661
+ }
662
+ },
663
+ length: {
664
+ serializedName: "length",
665
+ required: true,
666
+ type: {
667
+ name: "Number"
668
+ }
669
+ },
670
+ confidenceScore: {
671
+ serializedName: "confidenceScore",
672
+ required: true,
673
+ type: {
674
+ name: "Number"
675
+ }
676
+ }
677
+ }
678
+ }
679
+ };
680
+ export const DocumentResult = {
681
+ type: {
682
+ name: "Composite",
683
+ className: "DocumentResult",
684
+ modelProperties: {
685
+ id: {
686
+ serializedName: "id",
687
+ required: true,
688
+ type: {
689
+ name: "String"
690
+ }
691
+ },
692
+ warnings: {
693
+ serializedName: "warnings",
694
+ required: true,
695
+ type: {
696
+ name: "Sequence",
697
+ element: {
698
+ type: {
699
+ name: "Composite",
700
+ className: "DocumentWarning"
701
+ }
702
+ }
703
+ }
704
+ },
705
+ statistics: {
706
+ serializedName: "statistics",
707
+ type: {
708
+ name: "Composite",
709
+ className: "TextDocumentStatistics"
710
+ }
711
+ }
712
+ }
713
+ }
714
+ };
715
+ export const DocumentWarning = {
716
+ type: {
717
+ name: "Composite",
718
+ className: "DocumentWarning",
719
+ modelProperties: {
720
+ code: {
721
+ serializedName: "code",
722
+ required: true,
723
+ type: {
724
+ name: "String"
725
+ }
726
+ },
727
+ message: {
728
+ serializedName: "message",
729
+ required: true,
730
+ type: {
731
+ name: "String"
732
+ }
733
+ }
734
+ }
735
+ }
736
+ };
737
+ export const TextDocumentStatistics = {
738
+ type: {
739
+ name: "Composite",
740
+ className: "TextDocumentStatistics",
741
+ modelProperties: {
742
+ characterCount: {
743
+ serializedName: "charactersCount",
744
+ required: true,
745
+ type: {
746
+ name: "Number"
747
+ }
748
+ },
749
+ transactionCount: {
750
+ serializedName: "transactionsCount",
751
+ required: true,
752
+ type: {
753
+ name: "Number"
754
+ }
755
+ }
756
+ }
757
+ }
758
+ };
759
+ export const ClassificationCategory = {
760
+ type: {
761
+ name: "Composite",
762
+ className: "ClassificationCategory",
763
+ modelProperties: {
764
+ category: {
765
+ serializedName: "category",
766
+ required: true,
767
+ type: {
768
+ name: "String"
769
+ }
770
+ },
771
+ confidenceScore: {
772
+ serializedName: "confidenceScore",
773
+ required: true,
774
+ type: {
775
+ name: "Number"
776
+ }
777
+ }
778
+ }
779
+ }
780
+ };
781
+ export const HealthcareEntity = {
782
+ type: {
783
+ name: "Composite",
784
+ className: "HealthcareEntity",
785
+ modelProperties: {
786
+ text: {
787
+ serializedName: "text",
788
+ required: true,
789
+ type: {
790
+ name: "String"
791
+ }
792
+ },
793
+ category: {
794
+ serializedName: "category",
795
+ required: true,
796
+ type: {
797
+ name: "String"
798
+ }
799
+ },
800
+ subCategory: {
801
+ serializedName: "subcategory",
802
+ type: {
803
+ name: "String"
804
+ }
805
+ },
806
+ offset: {
807
+ serializedName: "offset",
808
+ required: true,
809
+ type: {
810
+ name: "Number"
811
+ }
812
+ },
813
+ length: {
814
+ serializedName: "length",
815
+ required: true,
816
+ type: {
817
+ name: "Number"
818
+ }
819
+ },
820
+ confidenceScore: {
821
+ serializedName: "confidenceScore",
822
+ required: true,
823
+ type: {
824
+ name: "Number"
825
+ }
826
+ },
827
+ assertion: {
828
+ serializedName: "assertion",
829
+ type: {
830
+ name: "Composite",
831
+ className: "HealthcareAssertion"
832
+ }
833
+ },
834
+ normalizedText: {
835
+ serializedName: "name",
836
+ type: {
837
+ name: "String"
838
+ }
839
+ },
840
+ dataSources: {
841
+ serializedName: "links",
842
+ type: {
843
+ name: "Sequence",
844
+ element: {
845
+ type: {
846
+ name: "Composite",
847
+ className: "EntityDataSource"
848
+ }
849
+ }
850
+ }
851
+ }
852
+ }
853
+ }
854
+ };
855
+ export const HealthcareAssertion = {
856
+ type: {
857
+ name: "Composite",
858
+ className: "HealthcareAssertion",
859
+ modelProperties: {
860
+ conditionality: {
861
+ serializedName: "conditionality",
862
+ type: {
863
+ name: "Enum",
864
+ allowedValues: ["hypothetical", "conditional"]
865
+ }
866
+ },
867
+ certainty: {
868
+ serializedName: "certainty",
869
+ type: {
870
+ name: "Enum",
871
+ allowedValues: [
872
+ "positive",
873
+ "positivePossible",
874
+ "neutralPossible",
875
+ "negativePossible",
876
+ "negative"
877
+ ]
878
+ }
879
+ },
880
+ association: {
881
+ serializedName: "association",
882
+ type: {
883
+ name: "Enum",
884
+ allowedValues: ["subject", "other"]
885
+ }
886
+ }
887
+ }
888
+ }
889
+ };
890
+ export const EntityDataSource = {
891
+ type: {
892
+ name: "Composite",
893
+ className: "EntityDataSource",
894
+ modelProperties: {
895
+ name: {
896
+ serializedName: "dataSource",
897
+ required: true,
898
+ type: {
899
+ name: "String"
900
+ }
901
+ },
902
+ entityId: {
903
+ serializedName: "id",
904
+ required: true,
905
+ type: {
906
+ name: "String"
907
+ }
908
+ }
909
+ }
910
+ }
911
+ };
912
+ export const HealthcareRelation = {
913
+ type: {
914
+ name: "Composite",
915
+ className: "HealthcareRelation",
916
+ modelProperties: {
917
+ relationType: {
918
+ serializedName: "relationType",
919
+ required: true,
920
+ type: {
921
+ name: "String"
922
+ }
923
+ },
924
+ entities: {
925
+ serializedName: "entities",
926
+ required: true,
927
+ type: {
928
+ name: "Sequence",
929
+ element: {
930
+ type: {
931
+ name: "Composite",
932
+ className: "HealthcareRelationEntity"
933
+ }
934
+ }
935
+ }
936
+ }
937
+ }
938
+ }
939
+ };
940
+ export const HealthcareRelationEntity = {
941
+ type: {
942
+ name: "Composite",
943
+ className: "HealthcareRelationEntity",
944
+ modelProperties: {
945
+ ref: {
946
+ serializedName: "ref",
947
+ required: true,
948
+ type: {
949
+ name: "String"
950
+ }
951
+ },
952
+ role: {
953
+ serializedName: "role",
954
+ required: true,
955
+ type: {
956
+ name: "String"
957
+ }
958
+ }
959
+ }
960
+ }
961
+ };
962
+ export const SentimentConfidenceScores = {
963
+ type: {
964
+ name: "Composite",
965
+ className: "SentimentConfidenceScores",
966
+ modelProperties: {
967
+ positive: {
968
+ serializedName: "positive",
969
+ required: true,
970
+ type: {
971
+ name: "Number"
972
+ }
973
+ },
974
+ neutral: {
975
+ serializedName: "neutral",
976
+ required: true,
977
+ type: {
978
+ name: "Number"
979
+ }
980
+ },
981
+ negative: {
982
+ serializedName: "negative",
983
+ required: true,
984
+ type: {
985
+ name: "Number"
986
+ }
987
+ }
988
+ }
989
+ }
990
+ };
991
+ export const SentenceSentiment = {
992
+ type: {
993
+ name: "Composite",
994
+ className: "SentenceSentiment",
995
+ modelProperties: {
996
+ text: {
997
+ serializedName: "text",
998
+ required: true,
999
+ type: {
1000
+ name: "String"
1001
+ }
1002
+ },
1003
+ sentiment: {
1004
+ serializedName: "sentiment",
1005
+ required: true,
1006
+ type: {
1007
+ name: "Enum",
1008
+ allowedValues: ["positive", "neutral", "negative"]
1009
+ }
1010
+ },
1011
+ confidenceScores: {
1012
+ serializedName: "confidenceScores",
1013
+ type: {
1014
+ name: "Composite",
1015
+ className: "SentimentConfidenceScores"
1016
+ }
1017
+ },
1018
+ offset: {
1019
+ serializedName: "offset",
1020
+ required: true,
1021
+ type: {
1022
+ name: "Number"
1023
+ }
1024
+ },
1025
+ length: {
1026
+ serializedName: "length",
1027
+ required: true,
1028
+ type: {
1029
+ name: "Number"
1030
+ }
1031
+ },
1032
+ targets: {
1033
+ serializedName: "targets",
1034
+ type: {
1035
+ name: "Sequence",
1036
+ element: {
1037
+ type: {
1038
+ name: "Composite",
1039
+ className: "SentenceTarget"
1040
+ }
1041
+ }
1042
+ }
1043
+ },
1044
+ assessments: {
1045
+ serializedName: "assessments",
1046
+ type: {
1047
+ name: "Sequence",
1048
+ element: {
1049
+ type: {
1050
+ name: "Composite",
1051
+ className: "AssessmentSentiment"
1052
+ }
1053
+ }
1054
+ }
1055
+ }
1056
+ }
1057
+ }
1058
+ };
1059
+ export const SentenceTarget = {
1060
+ type: {
1061
+ name: "Composite",
1062
+ className: "SentenceTarget",
1063
+ modelProperties: {
1064
+ sentiment: {
1065
+ serializedName: "sentiment",
1066
+ required: true,
1067
+ type: {
1068
+ name: "Enum",
1069
+ allowedValues: ["positive", "mixed", "negative"]
1070
+ }
1071
+ },
1072
+ confidenceScores: {
1073
+ serializedName: "confidenceScores",
1074
+ type: {
1075
+ name: "Composite",
1076
+ className: "TargetConfidenceScores"
1077
+ }
1078
+ },
1079
+ offset: {
1080
+ serializedName: "offset",
1081
+ required: true,
1082
+ type: {
1083
+ name: "Number"
1084
+ }
1085
+ },
1086
+ length: {
1087
+ serializedName: "length",
1088
+ required: true,
1089
+ type: {
1090
+ name: "Number"
1091
+ }
1092
+ },
1093
+ text: {
1094
+ serializedName: "text",
1095
+ required: true,
1096
+ type: {
1097
+ name: "String"
1098
+ }
1099
+ },
1100
+ relations: {
1101
+ serializedName: "relations",
1102
+ required: true,
1103
+ type: {
1104
+ name: "Sequence",
1105
+ element: {
1106
+ type: {
1107
+ name: "Composite",
1108
+ className: "TargetRelation"
1109
+ }
1110
+ }
1111
+ }
1112
+ }
1113
+ }
1114
+ }
1115
+ };
1116
+ export const TargetConfidenceScores = {
1117
+ type: {
1118
+ name: "Composite",
1119
+ className: "TargetConfidenceScores",
1120
+ modelProperties: {
1121
+ positive: {
1122
+ serializedName: "positive",
1123
+ required: true,
1124
+ type: {
1125
+ name: "Number"
1126
+ }
1127
+ },
1128
+ negative: {
1129
+ serializedName: "negative",
1130
+ required: true,
1131
+ type: {
1132
+ name: "Number"
1133
+ }
1134
+ }
1135
+ }
1136
+ }
1137
+ };
1138
+ export const TargetRelation = {
1139
+ type: {
1140
+ name: "Composite",
1141
+ className: "TargetRelation",
1142
+ modelProperties: {
1143
+ relationType: {
1144
+ serializedName: "relationType",
1145
+ required: true,
1146
+ type: {
1147
+ name: "Enum",
1148
+ allowedValues: ["assessment", "target"]
1149
+ }
1150
+ },
1151
+ ref: {
1152
+ serializedName: "ref",
1153
+ required: true,
1154
+ type: {
1155
+ name: "String"
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ };
1161
+ export const AssessmentSentiment = {
1162
+ type: {
1163
+ name: "Composite",
1164
+ className: "AssessmentSentiment",
1165
+ modelProperties: {
1166
+ sentiment: {
1167
+ serializedName: "sentiment",
1168
+ required: true,
1169
+ type: {
1170
+ name: "Enum",
1171
+ allowedValues: ["positive", "mixed", "negative"]
1172
+ }
1173
+ },
1174
+ confidenceScores: {
1175
+ serializedName: "confidenceScores",
1176
+ type: {
1177
+ name: "Composite",
1178
+ className: "TargetConfidenceScores"
1179
+ }
1180
+ },
1181
+ offset: {
1182
+ serializedName: "offset",
1183
+ required: true,
1184
+ type: {
1185
+ name: "Number"
1186
+ }
1187
+ },
1188
+ length: {
1189
+ serializedName: "length",
1190
+ required: true,
1191
+ type: {
1192
+ name: "Number"
1193
+ }
1194
+ },
1195
+ text: {
1196
+ serializedName: "text",
1197
+ required: true,
1198
+ type: {
1199
+ name: "String"
1200
+ }
1201
+ },
1202
+ isNegated: {
1203
+ serializedName: "isNegated",
1204
+ required: true,
1205
+ type: {
1206
+ name: "Boolean"
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ };
1212
+ export const LinkedEntity = {
1213
+ type: {
1214
+ name: "Composite",
1215
+ className: "LinkedEntity",
1216
+ modelProperties: {
1217
+ name: {
1218
+ serializedName: "name",
1219
+ required: true,
1220
+ type: {
1221
+ name: "String"
1222
+ }
1223
+ },
1224
+ matches: {
1225
+ serializedName: "matches",
1226
+ required: true,
1227
+ type: {
1228
+ name: "Sequence",
1229
+ element: {
1230
+ type: {
1231
+ name: "Composite",
1232
+ className: "Match"
1233
+ }
1234
+ }
1235
+ }
1236
+ },
1237
+ language: {
1238
+ serializedName: "language",
1239
+ required: true,
1240
+ type: {
1241
+ name: "String"
1242
+ }
1243
+ },
1244
+ dataSourceEntityId: {
1245
+ serializedName: "id",
1246
+ type: {
1247
+ name: "String"
1248
+ }
1249
+ },
1250
+ url: {
1251
+ serializedName: "url",
1252
+ required: true,
1253
+ type: {
1254
+ name: "String"
1255
+ }
1256
+ },
1257
+ dataSource: {
1258
+ serializedName: "dataSource",
1259
+ required: true,
1260
+ type: {
1261
+ name: "String"
1262
+ }
1263
+ },
1264
+ bingEntitySearchApiId: {
1265
+ serializedName: "bingId",
1266
+ type: {
1267
+ name: "String"
1268
+ }
1269
+ }
1270
+ }
1271
+ }
1272
+ };
1273
+ export const Match = {
1274
+ type: {
1275
+ name: "Composite",
1276
+ className: "Match",
1277
+ modelProperties: {
1278
+ confidenceScore: {
1279
+ serializedName: "confidenceScore",
1280
+ required: true,
1281
+ type: {
1282
+ name: "Number"
1283
+ }
1284
+ },
1285
+ text: {
1286
+ serializedName: "text",
1287
+ required: true,
1288
+ type: {
1289
+ name: "String"
1290
+ }
1291
+ },
1292
+ offset: {
1293
+ serializedName: "offset",
1294
+ required: true,
1295
+ type: {
1296
+ name: "Number"
1297
+ }
1298
+ },
1299
+ length: {
1300
+ serializedName: "length",
1301
+ required: true,
1302
+ type: {
1303
+ name: "Number"
1304
+ }
1305
+ }
1306
+ }
1307
+ }
1308
+ };
1309
+ export const SummarySentence = {
1310
+ type: {
1311
+ name: "Composite",
1312
+ className: "SummarySentence",
1313
+ modelProperties: {
1314
+ text: {
1315
+ serializedName: "text",
1316
+ required: true,
1317
+ type: {
1318
+ name: "String"
1319
+ }
1320
+ },
1321
+ rankScore: {
1322
+ serializedName: "rankScore",
1323
+ required: true,
1324
+ type: {
1325
+ name: "Number"
1326
+ }
1327
+ },
1328
+ offset: {
1329
+ serializedName: "offset",
1330
+ required: true,
1331
+ type: {
1332
+ name: "Number"
1333
+ }
1334
+ },
1335
+ length: {
1336
+ serializedName: "length",
1337
+ required: true,
1338
+ type: {
1339
+ name: "Number"
1340
+ }
1341
+ }
1342
+ }
1343
+ }
1344
+ };
1345
+ export const DetectedLanguage = {
1346
+ type: {
1347
+ name: "Composite",
1348
+ className: "DetectedLanguage",
1349
+ modelProperties: {
1350
+ name: {
1351
+ serializedName: "name",
1352
+ required: true,
1353
+ type: {
1354
+ name: "String"
1355
+ }
1356
+ },
1357
+ iso6391Name: {
1358
+ serializedName: "iso6391Name",
1359
+ required: true,
1360
+ type: {
1361
+ name: "String"
1362
+ }
1363
+ },
1364
+ confidenceScore: {
1365
+ serializedName: "confidenceScore",
1366
+ required: true,
1367
+ type: {
1368
+ name: "Number"
1369
+ }
1370
+ }
1371
+ }
1372
+ }
1373
+ };
1374
+ export const Pagination = {
1375
+ type: {
1376
+ name: "Composite",
1377
+ className: "Pagination",
1378
+ modelProperties: {
1379
+ nextLink: {
1380
+ serializedName: "nextLink",
1381
+ type: {
1382
+ name: "String"
1383
+ }
1384
+ }
1385
+ }
1386
+ }
1387
+ };
1388
+ export const JobMetadata = {
1389
+ type: {
1390
+ name: "Composite",
1391
+ className: "JobMetadata",
1392
+ modelProperties: {
1393
+ displayName: {
1394
+ serializedName: "displayName",
1395
+ type: {
1396
+ name: "String"
1397
+ }
1398
+ },
1399
+ createdDateTime: {
1400
+ serializedName: "createdDateTime",
1401
+ required: true,
1402
+ type: {
1403
+ name: "DateTime"
1404
+ }
1405
+ },
1406
+ expirationDateTime: {
1407
+ serializedName: "expirationDateTime",
1408
+ type: {
1409
+ name: "DateTime"
1410
+ }
1411
+ },
1412
+ jobId: {
1413
+ serializedName: "jobId",
1414
+ required: true,
1415
+ type: {
1416
+ name: "Uuid"
1417
+ }
1418
+ },
1419
+ lastUpdateDateTime: {
1420
+ serializedName: "lastUpdateDateTime",
1421
+ required: true,
1422
+ type: {
1423
+ name: "DateTime"
1424
+ }
1425
+ },
1426
+ status: {
1427
+ serializedName: "status",
1428
+ required: true,
1429
+ type: {
1430
+ name: "Enum",
1431
+ allowedValues: [
1432
+ "notStarted",
1433
+ "running",
1434
+ "succeeded",
1435
+ "partiallySucceeded",
1436
+ "failed",
1437
+ "cancelled",
1438
+ "cancelling"
1439
+ ]
1440
+ }
1441
+ }
1442
+ }
1443
+ }
1444
+ };
1445
+ export const JobErrors = {
1446
+ type: {
1447
+ name: "Composite",
1448
+ className: "JobErrors",
1449
+ modelProperties: {
1450
+ errors: {
1451
+ serializedName: "errors",
1452
+ type: {
1453
+ name: "Sequence",
1454
+ element: {
1455
+ type: {
1456
+ name: "Composite",
1457
+ className: "ErrorModel"
1458
+ }
1459
+ }
1460
+ }
1461
+ }
1462
+ }
1463
+ }
1464
+ };
1465
+ export const AnalyzeTextEntityLinkingInput = {
1466
+ serializedName: "EntityLinking",
1467
+ type: {
1468
+ name: "Composite",
1469
+ className: "AnalyzeTextEntityLinkingInput",
1470
+ uberParent: "AnalyzeAction",
1471
+ polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1472
+ modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1473
+ serializedName: "analysisInput",
1474
+ type: {
1475
+ name: "Composite",
1476
+ className: "MultiLanguageAnalysisInput"
1477
+ }
1478
+ }, parameters: {
1479
+ serializedName: "parameters",
1480
+ type: {
1481
+ name: "Composite",
1482
+ className: "EntityLinkingAction"
1483
+ }
1484
+ } })
1485
+ }
1486
+ };
1487
+ export const AnalyzeTextEntityRecognitionInput = {
1488
+ serializedName: "EntityRecognition",
1489
+ type: {
1490
+ name: "Composite",
1491
+ className: "AnalyzeTextEntityRecognitionInput",
1492
+ uberParent: "AnalyzeAction",
1493
+ polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1494
+ modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1495
+ serializedName: "analysisInput",
1496
+ type: {
1497
+ name: "Composite",
1498
+ className: "MultiLanguageAnalysisInput"
1499
+ }
1500
+ }, parameters: {
1501
+ serializedName: "parameters",
1502
+ type: {
1503
+ name: "Composite",
1504
+ className: "EntityRecognitionAction"
1505
+ }
1506
+ } })
1507
+ }
1508
+ };
1509
+ export const AnalyzeTextKeyPhraseExtractionInput = {
1510
+ serializedName: "KeyPhraseExtraction",
1511
+ type: {
1512
+ name: "Composite",
1513
+ className: "AnalyzeTextKeyPhraseExtractionInput",
1514
+ uberParent: "AnalyzeAction",
1515
+ polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1516
+ modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1517
+ serializedName: "analysisInput",
1518
+ type: {
1519
+ name: "Composite",
1520
+ className: "MultiLanguageAnalysisInput"
1521
+ }
1522
+ }, parameters: {
1523
+ serializedName: "parameters",
1524
+ type: {
1525
+ name: "Composite",
1526
+ className: "KeyPhraseExtractionAction"
1527
+ }
1528
+ } })
1529
+ }
1530
+ };
1531
+ export const AnalyzeTextPiiEntitiesRecognitionInput = {
1532
+ serializedName: "PiiEntityRecognition",
1533
+ type: {
1534
+ name: "Composite",
1535
+ className: "AnalyzeTextPiiEntitiesRecognitionInput",
1536
+ uberParent: "AnalyzeAction",
1537
+ polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1538
+ modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1539
+ serializedName: "analysisInput",
1540
+ type: {
1541
+ name: "Composite",
1542
+ className: "MultiLanguageAnalysisInput"
1543
+ }
1544
+ }, parameters: {
1545
+ serializedName: "parameters",
1546
+ type: {
1547
+ name: "Composite",
1548
+ className: "PiiEntityRecognitionAction"
1549
+ }
1550
+ } })
1551
+ }
1552
+ };
1553
+ export const AnalyzeTextLanguageDetectionInput = {
1554
+ serializedName: "LanguageDetection",
1555
+ type: {
1556
+ name: "Composite",
1557
+ className: "AnalyzeTextLanguageDetectionInput",
1558
+ uberParent: "AnalyzeAction",
1559
+ polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1560
+ modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1561
+ serializedName: "analysisInput",
1562
+ type: {
1563
+ name: "Composite",
1564
+ className: "LanguageDetectionAnalysisInput"
1565
+ }
1566
+ }, parameters: {
1567
+ serializedName: "parameters",
1568
+ type: {
1569
+ name: "Composite",
1570
+ className: "LanguageDetectionAction"
1571
+ }
1572
+ } })
1573
+ }
1574
+ };
1575
+ export const AnalyzeTextSentimentAnalysisInput = {
1576
+ serializedName: "SentimentAnalysis",
1577
+ type: {
1578
+ name: "Composite",
1579
+ className: "AnalyzeTextSentimentAnalysisInput",
1580
+ uberParent: "AnalyzeAction",
1581
+ polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator,
1582
+ modelProperties: Object.assign(Object.assign({}, AnalyzeAction.type.modelProperties), { analysisInput: {
1583
+ serializedName: "analysisInput",
1584
+ type: {
1585
+ name: "Composite",
1586
+ className: "MultiLanguageAnalysisInput"
1587
+ }
1588
+ }, parameters: {
1589
+ serializedName: "parameters",
1590
+ type: {
1591
+ name: "Composite",
1592
+ className: "SentimentAnalysisAction"
1593
+ }
1594
+ } })
1595
+ }
1596
+ };
1597
+ export const SentimentTaskResult = {
1598
+ serializedName: "SentimentAnalysisResults",
1599
+ type: {
1600
+ name: "Composite",
1601
+ className: "SentimentTaskResult",
1602
+ uberParent: "AnalyzeTextTaskResult",
1603
+ polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
1604
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
1605
+ serializedName: "results",
1606
+ type: {
1607
+ name: "Composite",
1608
+ className: "SentimentResponse"
1609
+ }
1610
+ } })
1611
+ }
1612
+ };
1613
+ export const EntitiesTaskResult = {
1614
+ serializedName: "EntityRecognitionResults",
1615
+ type: {
1616
+ name: "Composite",
1617
+ className: "EntitiesTaskResult",
1618
+ uberParent: "AnalyzeTextTaskResult",
1619
+ polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
1620
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
1621
+ serializedName: "results",
1622
+ type: {
1623
+ name: "Composite",
1624
+ className: "EntitiesResult"
1625
+ }
1626
+ } })
1627
+ }
1628
+ };
1629
+ export const EntityLinkingTaskResult = {
1630
+ serializedName: "EntityLinkingResults",
1631
+ type: {
1632
+ name: "Composite",
1633
+ className: "EntityLinkingTaskResult",
1634
+ uberParent: "AnalyzeTextTaskResult",
1635
+ polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
1636
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
1637
+ serializedName: "results",
1638
+ type: {
1639
+ name: "Composite",
1640
+ className: "EntityLinkingResult"
1641
+ }
1642
+ } })
1643
+ }
1644
+ };
1645
+ export const PiiTaskResult = {
1646
+ serializedName: "PiiEntityRecognitionResults",
1647
+ type: {
1648
+ name: "Composite",
1649
+ className: "PiiTaskResult",
1650
+ uberParent: "AnalyzeTextTaskResult",
1651
+ polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
1652
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
1653
+ serializedName: "results",
1654
+ type: {
1655
+ name: "Composite",
1656
+ className: "PiiResult"
1657
+ }
1658
+ } })
1659
+ }
1660
+ };
1661
+ export const KeyPhraseTaskResult = {
1662
+ serializedName: "KeyPhraseExtractionResults",
1663
+ type: {
1664
+ name: "Composite",
1665
+ className: "KeyPhraseTaskResult",
1666
+ uberParent: "AnalyzeTextTaskResult",
1667
+ polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
1668
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
1669
+ serializedName: "results",
1670
+ type: {
1671
+ name: "Composite",
1672
+ className: "KeyPhraseResult"
1673
+ }
1674
+ } })
1675
+ }
1676
+ };
1677
+ export const LanguageDetectionTaskResult = {
1678
+ serializedName: "LanguageDetectionResults",
1679
+ type: {
1680
+ name: "Composite",
1681
+ className: "LanguageDetectionTaskResult",
1682
+ uberParent: "AnalyzeTextTaskResult",
1683
+ polymorphicDiscriminator: AnalyzeTextTaskResult.type.polymorphicDiscriminator,
1684
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextTaskResult.type.modelProperties), { results: {
1685
+ serializedName: "results",
1686
+ type: {
1687
+ name: "Composite",
1688
+ className: "LanguageDetectionResult"
1689
+ }
1690
+ } })
1691
+ }
1692
+ };
1693
+ export const AnalyzeBatchAction = {
1694
+ serializedName: "AnalyzeBatchAction",
1695
+ type: {
1696
+ name: "Composite",
1697
+ className: "AnalyzeBatchAction",
1698
+ uberParent: "BatchActionState",
1699
+ polymorphicDiscriminator: {
1700
+ serializedName: "kind",
1701
+ clientName: "kind"
1702
+ },
1703
+ modelProperties: Object.assign(Object.assign({}, BatchActionState.type.modelProperties), { kind: {
1704
+ serializedName: "kind",
1705
+ required: true,
1706
+ type: {
1707
+ name: "String"
1708
+ }
1709
+ } })
1710
+ }
1711
+ };
1712
+ export const AnalyzeTextLROResult = {
1713
+ serializedName: "AnalyzeTextLROResult",
1714
+ type: {
1715
+ name: "Composite",
1716
+ className: "AnalyzeTextLROResult",
1717
+ uberParent: "TaskState",
1718
+ polymorphicDiscriminator: {
1719
+ serializedName: "kind",
1720
+ clientName: "kind"
1721
+ },
1722
+ modelProperties: Object.assign(Object.assign(Object.assign({}, TaskState.type.modelProperties), BatchActionState.type.modelProperties), { kind: {
1723
+ serializedName: "kind",
1724
+ required: true,
1725
+ type: {
1726
+ name: "String"
1727
+ }
1728
+ } })
1729
+ }
1730
+ };
1731
+ export const AnalyzeTextJobState = {
1732
+ type: {
1733
+ name: "Composite",
1734
+ className: "AnalyzeTextJobState",
1735
+ modelProperties: Object.assign(Object.assign(Object.assign({}, JobState.type.modelProperties), TasksState.type.modelProperties), AnalyzeTextJobStatistics.type.modelProperties)
1736
+ }
1737
+ };
1738
+ export const ActionPrebuilt = {
1739
+ type: {
1740
+ name: "Composite",
1741
+ className: "ActionPrebuilt",
1742
+ modelProperties: Object.assign(Object.assign({}, ActionCommon.type.modelProperties), { modelVersion: {
1743
+ defaultValue: "latest",
1744
+ serializedName: "modelVersion",
1745
+ type: {
1746
+ name: "String"
1747
+ }
1748
+ } })
1749
+ }
1750
+ };
1751
+ export const ActionCustom = {
1752
+ type: {
1753
+ name: "Composite",
1754
+ className: "ActionCustom",
1755
+ modelProperties: Object.assign(Object.assign({}, ActionCommon.type.modelProperties), { projectName: {
1756
+ serializedName: "projectName",
1757
+ required: true,
1758
+ type: {
1759
+ name: "String"
1760
+ }
1761
+ }, deploymentName: {
1762
+ serializedName: "deploymentName",
1763
+ required: true,
1764
+ type: {
1765
+ name: "String"
1766
+ }
1767
+ } })
1768
+ }
1769
+ };
1770
+ export const HealthcareResult = {
1771
+ type: {
1772
+ name: "Composite",
1773
+ className: "HealthcareResult",
1774
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1775
+ serializedName: "documents",
1776
+ required: true,
1777
+ type: {
1778
+ name: "Sequence",
1779
+ element: {
1780
+ type: {
1781
+ name: "Composite",
1782
+ className: "HealthcareResultDocumentsItem"
1783
+ }
1784
+ }
1785
+ }
1786
+ } })
1787
+ }
1788
+ };
1789
+ export const SentimentResponse = {
1790
+ type: {
1791
+ name: "Composite",
1792
+ className: "SentimentResponse",
1793
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1794
+ serializedName: "documents",
1795
+ required: true,
1796
+ type: {
1797
+ name: "Sequence",
1798
+ element: {
1799
+ type: {
1800
+ name: "Composite",
1801
+ className: "SentimentResponseDocumentsItem"
1802
+ }
1803
+ }
1804
+ }
1805
+ } })
1806
+ }
1807
+ };
1808
+ export const EntitiesResult = {
1809
+ type: {
1810
+ name: "Composite",
1811
+ className: "EntitiesResult",
1812
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1813
+ serializedName: "documents",
1814
+ required: true,
1815
+ type: {
1816
+ name: "Sequence",
1817
+ element: {
1818
+ type: {
1819
+ name: "Composite",
1820
+ className: "EntitiesResultDocumentsItem"
1821
+ }
1822
+ }
1823
+ }
1824
+ } })
1825
+ }
1826
+ };
1827
+ export const EntityLinkingResult = {
1828
+ type: {
1829
+ name: "Composite",
1830
+ className: "EntityLinkingResult",
1831
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1832
+ serializedName: "documents",
1833
+ required: true,
1834
+ type: {
1835
+ name: "Sequence",
1836
+ element: {
1837
+ type: {
1838
+ name: "Composite",
1839
+ className: "EntityLinkingResultDocumentsItem"
1840
+ }
1841
+ }
1842
+ }
1843
+ } })
1844
+ }
1845
+ };
1846
+ export const PiiResult = {
1847
+ type: {
1848
+ name: "Composite",
1849
+ className: "PiiResult",
1850
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1851
+ serializedName: "documents",
1852
+ required: true,
1853
+ type: {
1854
+ name: "Sequence",
1855
+ element: {
1856
+ type: {
1857
+ name: "Composite",
1858
+ className: "PiiResultDocumentsItem"
1859
+ }
1860
+ }
1861
+ }
1862
+ } })
1863
+ }
1864
+ };
1865
+ export const ExtractiveSummarizationResult = {
1866
+ type: {
1867
+ name: "Composite",
1868
+ className: "ExtractiveSummarizationResult",
1869
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1870
+ serializedName: "documents",
1871
+ required: true,
1872
+ type: {
1873
+ name: "Sequence",
1874
+ element: {
1875
+ type: {
1876
+ name: "Composite",
1877
+ className: "ExtractiveSummarizationResultDocumentsItem"
1878
+ }
1879
+ }
1880
+ }
1881
+ } })
1882
+ }
1883
+ };
1884
+ export const KeyPhraseResult = {
1885
+ type: {
1886
+ name: "Composite",
1887
+ className: "KeyPhraseResult",
1888
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1889
+ serializedName: "documents",
1890
+ required: true,
1891
+ type: {
1892
+ name: "Sequence",
1893
+ element: {
1894
+ type: {
1895
+ name: "Composite",
1896
+ className: "KeyPhraseResultDocumentsItem"
1897
+ }
1898
+ }
1899
+ }
1900
+ } })
1901
+ }
1902
+ };
1903
+ export const LanguageDetectionResult = {
1904
+ type: {
1905
+ name: "Composite",
1906
+ className: "LanguageDetectionResult",
1907
+ modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { documents: {
1908
+ serializedName: "documents",
1909
+ required: true,
1910
+ type: {
1911
+ name: "Sequence",
1912
+ element: {
1913
+ type: {
1914
+ name: "Composite",
1915
+ className: "LanguageDetectionDocumentResult"
1916
+ }
1917
+ }
1918
+ }
1919
+ } })
1920
+ }
1921
+ };
1922
+ export const CustomEntitiesResult = {
1923
+ type: {
1924
+ name: "Composite",
1925
+ className: "CustomEntitiesResult",
1926
+ modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
1927
+ serializedName: "documents",
1928
+ required: true,
1929
+ type: {
1930
+ name: "Sequence",
1931
+ element: {
1932
+ type: {
1933
+ name: "Composite",
1934
+ className: "CustomEntitiesResultDocumentsItem"
1935
+ }
1936
+ }
1937
+ }
1938
+ } })
1939
+ }
1940
+ };
1941
+ export const CustomSingleLabelClassificationResult = {
1942
+ type: {
1943
+ name: "Composite",
1944
+ className: "CustomSingleLabelClassificationResult",
1945
+ modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
1946
+ serializedName: "documents",
1947
+ required: true,
1948
+ type: {
1949
+ name: "Sequence",
1950
+ element: {
1951
+ type: {
1952
+ name: "Composite",
1953
+ className: "CustomSingleLabelClassificationResultDocumentsItem"
1954
+ }
1955
+ }
1956
+ }
1957
+ } })
1958
+ }
1959
+ };
1960
+ export const CustomMultiLabelClassificationResult = {
1961
+ type: {
1962
+ name: "Composite",
1963
+ className: "CustomMultiLabelClassificationResult",
1964
+ modelProperties: Object.assign(Object.assign({}, CustomResult.type.modelProperties), { documents: {
1965
+ serializedName: "documents",
1966
+ required: true,
1967
+ type: {
1968
+ name: "Sequence",
1969
+ element: {
1970
+ type: {
1971
+ name: "Composite",
1972
+ className: "CustomMultiLabelClassificationResultDocumentsItem"
1973
+ }
1974
+ }
1975
+ }
1976
+ } })
1977
+ }
1978
+ };
1979
+ export const EntitiesDocumentResult = {
1980
+ type: {
1981
+ name: "Composite",
1982
+ className: "EntitiesDocumentResult",
1983
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
1984
+ serializedName: "entities",
1985
+ required: true,
1986
+ type: {
1987
+ name: "Sequence",
1988
+ element: {
1989
+ type: {
1990
+ name: "Composite",
1991
+ className: "Entity"
1992
+ }
1993
+ }
1994
+ }
1995
+ } })
1996
+ }
1997
+ };
1998
+ export const SingleClassificationDocumentResult = {
1999
+ type: {
2000
+ name: "Composite",
2001
+ className: "SingleClassificationDocumentResult",
2002
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classification: {
2003
+ serializedName: "class",
2004
+ type: {
2005
+ name: "Composite",
2006
+ className: "ClassificationCategory"
2007
+ }
2008
+ } })
2009
+ }
2010
+ };
2011
+ export const MultiClassificationDocumentResult = {
2012
+ type: {
2013
+ name: "Composite",
2014
+ className: "MultiClassificationDocumentResult",
2015
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { classifications: {
2016
+ serializedName: "class",
2017
+ required: true,
2018
+ type: {
2019
+ name: "Sequence",
2020
+ element: {
2021
+ type: {
2022
+ name: "Composite",
2023
+ className: "ClassificationCategory"
2024
+ }
2025
+ }
2026
+ }
2027
+ } })
2028
+ }
2029
+ };
2030
+ export const HealthcareEntitiesDocumentResult = {
2031
+ type: {
2032
+ name: "Composite",
2033
+ className: "HealthcareEntitiesDocumentResult",
2034
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
2035
+ serializedName: "entities",
2036
+ required: true,
2037
+ type: {
2038
+ name: "Sequence",
2039
+ element: {
2040
+ type: {
2041
+ name: "Composite",
2042
+ className: "HealthcareEntity"
2043
+ }
2044
+ }
2045
+ }
2046
+ }, relations: {
2047
+ serializedName: "relations",
2048
+ required: true,
2049
+ type: {
2050
+ name: "Sequence",
2051
+ element: {
2052
+ type: {
2053
+ name: "Composite",
2054
+ className: "HealthcareRelation"
2055
+ }
2056
+ }
2057
+ }
2058
+ }, fhirBundle: {
2059
+ serializedName: "fhirBundle",
2060
+ type: {
2061
+ name: "Dictionary",
2062
+ value: { type: { name: "any" } }
2063
+ }
2064
+ } })
2065
+ }
2066
+ };
2067
+ export const SentimentDocumentResult = {
2068
+ type: {
2069
+ name: "Composite",
2070
+ className: "SentimentDocumentResult",
2071
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { sentiment: {
2072
+ serializedName: "sentiment",
2073
+ required: true,
2074
+ type: {
2075
+ name: "Enum",
2076
+ allowedValues: ["positive", "neutral", "negative", "mixed"]
2077
+ }
2078
+ }, confidenceScores: {
2079
+ serializedName: "confidenceScores",
2080
+ type: {
2081
+ name: "Composite",
2082
+ className: "SentimentConfidenceScores"
2083
+ }
2084
+ }, sentences: {
2085
+ serializedName: "sentences",
2086
+ required: true,
2087
+ type: {
2088
+ name: "Sequence",
2089
+ element: {
2090
+ type: {
2091
+ name: "Composite",
2092
+ className: "SentenceSentiment"
2093
+ }
2094
+ }
2095
+ }
2096
+ } })
2097
+ }
2098
+ };
2099
+ export const LinkedEntitiesDocumentResult = {
2100
+ type: {
2101
+ name: "Composite",
2102
+ className: "LinkedEntitiesDocumentResult",
2103
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { entities: {
2104
+ serializedName: "entities",
2105
+ required: true,
2106
+ type: {
2107
+ name: "Sequence",
2108
+ element: {
2109
+ type: {
2110
+ name: "Composite",
2111
+ className: "LinkedEntity"
2112
+ }
2113
+ }
2114
+ }
2115
+ } })
2116
+ }
2117
+ };
2118
+ export const PiiEntitiesDocumentResult = {
2119
+ type: {
2120
+ name: "Composite",
2121
+ className: "PiiEntitiesDocumentResult",
2122
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { redactedText: {
2123
+ serializedName: "redactedText",
2124
+ required: true,
2125
+ type: {
2126
+ name: "String"
2127
+ }
2128
+ }, entities: {
2129
+ serializedName: "entities",
2130
+ required: true,
2131
+ type: {
2132
+ name: "Sequence",
2133
+ element: {
2134
+ type: {
2135
+ name: "Composite",
2136
+ className: "Entity"
2137
+ }
2138
+ }
2139
+ }
2140
+ } })
2141
+ }
2142
+ };
2143
+ export const ExtractedSummaryDocumentResult = {
2144
+ type: {
2145
+ name: "Composite",
2146
+ className: "ExtractedSummaryDocumentResult",
2147
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { sentences: {
2148
+ serializedName: "sentences",
2149
+ required: true,
2150
+ type: {
2151
+ name: "Sequence",
2152
+ element: {
2153
+ type: {
2154
+ name: "Composite",
2155
+ className: "SummarySentence"
2156
+ }
2157
+ }
2158
+ }
2159
+ } })
2160
+ }
2161
+ };
2162
+ export const KeyPhrasesDocumentResult = {
2163
+ type: {
2164
+ name: "Composite",
2165
+ className: "KeyPhrasesDocumentResult",
2166
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { keyPhrases: {
2167
+ serializedName: "keyPhrases",
2168
+ required: true,
2169
+ type: {
2170
+ name: "Sequence",
2171
+ element: {
2172
+ type: {
2173
+ name: "String"
2174
+ }
2175
+ }
2176
+ }
2177
+ } })
2178
+ }
2179
+ };
2180
+ export const LanguageDetectionDocumentResult = {
2181
+ type: {
2182
+ name: "Composite",
2183
+ className: "LanguageDetectionDocumentResult",
2184
+ modelProperties: Object.assign(Object.assign({}, DocumentResult.type.modelProperties), { detectedLanguage: {
2185
+ serializedName: "detectedLanguage",
2186
+ type: {
2187
+ name: "Composite",
2188
+ className: "DetectedLanguage"
2189
+ }
2190
+ } })
2191
+ }
2192
+ };
2193
+ export const CustomEntitiesLROTask = {
2194
+ serializedName: "CustomEntityRecognition",
2195
+ type: {
2196
+ name: "Composite",
2197
+ className: "CustomEntitiesLROTask",
2198
+ uberParent: "BatchActionState",
2199
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2200
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2201
+ serializedName: "parameters",
2202
+ type: {
2203
+ name: "Composite",
2204
+ className: "CustomEntityRecognitionAction"
2205
+ }
2206
+ } })
2207
+ }
2208
+ };
2209
+ export const CustomSingleLabelClassificationLROTask = {
2210
+ serializedName: "CustomSingleLabelClassification",
2211
+ type: {
2212
+ name: "Composite",
2213
+ className: "CustomSingleLabelClassificationLROTask",
2214
+ uberParent: "BatchActionState",
2215
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2216
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2217
+ serializedName: "parameters",
2218
+ type: {
2219
+ name: "Composite",
2220
+ className: "CustomSingleLabelClassificationAction"
2221
+ }
2222
+ } })
2223
+ }
2224
+ };
2225
+ export const CustomMultiLabelClassificationLROTask = {
2226
+ serializedName: "CustomMultiLabelClassification",
2227
+ type: {
2228
+ name: "Composite",
2229
+ className: "CustomMultiLabelClassificationLROTask",
2230
+ uberParent: "BatchActionState",
2231
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2232
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2233
+ serializedName: "parameters",
2234
+ type: {
2235
+ name: "Composite",
2236
+ className: "CustomMultiLabelClassificationAction"
2237
+ }
2238
+ } })
2239
+ }
2240
+ };
2241
+ export const HealthcareLROTask = {
2242
+ serializedName: "Healthcare",
2243
+ type: {
2244
+ name: "Composite",
2245
+ className: "HealthcareLROTask",
2246
+ uberParent: "BatchActionState",
2247
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2248
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2249
+ serializedName: "parameters",
2250
+ type: {
2251
+ name: "Composite",
2252
+ className: "HealthcareAction"
2253
+ }
2254
+ } })
2255
+ }
2256
+ };
2257
+ export const SentimentAnalysisLROTask = {
2258
+ serializedName: "SentimentAnalysis",
2259
+ type: {
2260
+ name: "Composite",
2261
+ className: "SentimentAnalysisLROTask",
2262
+ uberParent: "BatchActionState",
2263
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2264
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2265
+ serializedName: "parameters",
2266
+ type: {
2267
+ name: "Composite",
2268
+ className: "SentimentAnalysisAction"
2269
+ }
2270
+ } })
2271
+ }
2272
+ };
2273
+ export const EntitiesLROTask = {
2274
+ serializedName: "EntityRecognition",
2275
+ type: {
2276
+ name: "Composite",
2277
+ className: "EntitiesLROTask",
2278
+ uberParent: "BatchActionState",
2279
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2280
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2281
+ serializedName: "parameters",
2282
+ type: {
2283
+ name: "Composite",
2284
+ className: "EntityRecognitionAction"
2285
+ }
2286
+ } })
2287
+ }
2288
+ };
2289
+ export const EntityLinkingLROTask = {
2290
+ serializedName: "EntityLinking",
2291
+ type: {
2292
+ name: "Composite",
2293
+ className: "EntityLinkingLROTask",
2294
+ uberParent: "BatchActionState",
2295
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2296
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2297
+ serializedName: "parameters",
2298
+ type: {
2299
+ name: "Composite",
2300
+ className: "EntityLinkingAction"
2301
+ }
2302
+ } })
2303
+ }
2304
+ };
2305
+ export const PiiLROTask = {
2306
+ serializedName: "PiiEntityRecognition",
2307
+ type: {
2308
+ name: "Composite",
2309
+ className: "PiiLROTask",
2310
+ uberParent: "BatchActionState",
2311
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2312
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2313
+ serializedName: "parameters",
2314
+ type: {
2315
+ name: "Composite",
2316
+ className: "PiiEntityRecognitionAction"
2317
+ }
2318
+ } })
2319
+ }
2320
+ };
2321
+ export const ExtractiveSummarizationLROTask = {
2322
+ serializedName: "ExtractiveSummarization",
2323
+ type: {
2324
+ name: "Composite",
2325
+ className: "ExtractiveSummarizationLROTask",
2326
+ uberParent: "BatchActionState",
2327
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2328
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2329
+ serializedName: "parameters",
2330
+ type: {
2331
+ name: "Composite",
2332
+ className: "ExtractiveSummarizationAction"
2333
+ }
2334
+ } })
2335
+ }
2336
+ };
2337
+ export const KeyPhraseLROTask = {
2338
+ serializedName: "KeyPhraseExtraction",
2339
+ type: {
2340
+ name: "Composite",
2341
+ className: "KeyPhraseLROTask",
2342
+ uberParent: "BatchActionState",
2343
+ polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator,
2344
+ modelProperties: Object.assign(Object.assign({}, AnalyzeBatchAction.type.modelProperties), { parameters: {
2345
+ serializedName: "parameters",
2346
+ type: {
2347
+ name: "Composite",
2348
+ className: "KeyPhraseExtractionAction"
2349
+ }
2350
+ } })
2351
+ }
2352
+ };
2353
+ export const EntityRecognitionLROResult = {
2354
+ serializedName: "EntityRecognitionLROResults",
2355
+ type: {
2356
+ name: "Composite",
2357
+ className: "EntityRecognitionLROResult",
2358
+ uberParent: "TaskState",
2359
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2360
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2361
+ serializedName: "results",
2362
+ type: {
2363
+ name: "Composite",
2364
+ className: "EntitiesResult"
2365
+ }
2366
+ } })
2367
+ }
2368
+ };
2369
+ export const CustomEntityRecognitionLROResult = {
2370
+ serializedName: "CustomEntityRecognitionLROResults",
2371
+ type: {
2372
+ name: "Composite",
2373
+ className: "CustomEntityRecognitionLROResult",
2374
+ uberParent: "TaskState",
2375
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2376
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2377
+ serializedName: "results",
2378
+ type: {
2379
+ name: "Composite",
2380
+ className: "CustomEntitiesResult"
2381
+ }
2382
+ } })
2383
+ }
2384
+ };
2385
+ export const CustomSingleLabelClassificationLROResult = {
2386
+ serializedName: "CustomSingleLabelClassificationLROResults",
2387
+ type: {
2388
+ name: "Composite",
2389
+ className: "CustomSingleLabelClassificationLROResult",
2390
+ uberParent: "TaskState",
2391
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2392
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2393
+ serializedName: "results",
2394
+ type: {
2395
+ name: "Composite",
2396
+ className: "CustomSingleLabelClassificationResult"
2397
+ }
2398
+ } })
2399
+ }
2400
+ };
2401
+ export const CustomMultiLabelClassificationLROResult = {
2402
+ serializedName: "CustomMultiLabelClassificationLROResults",
2403
+ type: {
2404
+ name: "Composite",
2405
+ className: "CustomMultiLabelClassificationLROResult",
2406
+ uberParent: "TaskState",
2407
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2408
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2409
+ serializedName: "results",
2410
+ type: {
2411
+ name: "Composite",
2412
+ className: "CustomMultiLabelClassificationResult"
2413
+ }
2414
+ } })
2415
+ }
2416
+ };
2417
+ export const EntityLinkingLROResult = {
2418
+ serializedName: "EntityLinkingLROResults",
2419
+ type: {
2420
+ name: "Composite",
2421
+ className: "EntityLinkingLROResult",
2422
+ uberParent: "TaskState",
2423
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2424
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2425
+ serializedName: "results",
2426
+ type: {
2427
+ name: "Composite",
2428
+ className: "EntityLinkingResult"
2429
+ }
2430
+ } })
2431
+ }
2432
+ };
2433
+ export const PiiEntityRecognitionLROResult = {
2434
+ serializedName: "PiiEntityRecognitionLROResults",
2435
+ type: {
2436
+ name: "Composite",
2437
+ className: "PiiEntityRecognitionLROResult",
2438
+ uberParent: "TaskState",
2439
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2440
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2441
+ serializedName: "results",
2442
+ type: {
2443
+ name: "Composite",
2444
+ className: "PiiResult"
2445
+ }
2446
+ } })
2447
+ }
2448
+ };
2449
+ export const ExtractiveSummarizationLROResult = {
2450
+ serializedName: "ExtractiveSummarizationLROResults",
2451
+ type: {
2452
+ name: "Composite",
2453
+ className: "ExtractiveSummarizationLROResult",
2454
+ uberParent: "TaskState",
2455
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2456
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2457
+ serializedName: "results",
2458
+ type: {
2459
+ name: "Composite",
2460
+ className: "ExtractiveSummarizationResult"
2461
+ }
2462
+ } })
2463
+ }
2464
+ };
2465
+ export const HealthcareLROResult = {
2466
+ serializedName: "HealthcareLROResults",
2467
+ type: {
2468
+ name: "Composite",
2469
+ className: "HealthcareLROResult",
2470
+ uberParent: "TaskState",
2471
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2472
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2473
+ serializedName: "results",
2474
+ type: {
2475
+ name: "Composite",
2476
+ className: "HealthcareResult"
2477
+ }
2478
+ } })
2479
+ }
2480
+ };
2481
+ export const SentimentLROResult = {
2482
+ serializedName: "SentimentAnalysisLROResults",
2483
+ type: {
2484
+ name: "Composite",
2485
+ className: "SentimentLROResult",
2486
+ uberParent: "TaskState",
2487
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2488
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2489
+ serializedName: "results",
2490
+ type: {
2491
+ name: "Composite",
2492
+ className: "SentimentResponse"
2493
+ }
2494
+ } })
2495
+ }
2496
+ };
2497
+ export const KeyPhraseExtractionLROResult = {
2498
+ serializedName: "KeyPhraseExtractionLROResults",
2499
+ type: {
2500
+ name: "Composite",
2501
+ className: "KeyPhraseExtractionLROResult",
2502
+ uberParent: "TaskState",
2503
+ polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator,
2504
+ modelProperties: Object.assign(Object.assign({}, AnalyzeTextLROResult.type.modelProperties), { results: {
2505
+ serializedName: "results",
2506
+ type: {
2507
+ name: "Composite",
2508
+ className: "KeyPhraseResult"
2509
+ }
2510
+ } })
2511
+ }
2512
+ };
2513
+ export const EntityLinkingAction = {
2514
+ type: {
2515
+ name: "Composite",
2516
+ className: "EntityLinkingAction",
2517
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { stringIndexType: {
2518
+ defaultValue: "Utf16CodeUnit",
2519
+ serializedName: "stringIndexType",
2520
+ type: {
2521
+ name: "String"
2522
+ }
2523
+ } })
2524
+ }
2525
+ };
2526
+ export const EntityRecognitionAction = {
2527
+ type: {
2528
+ name: "Composite",
2529
+ className: "EntityRecognitionAction",
2530
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { stringIndexType: {
2531
+ defaultValue: "Utf16CodeUnit",
2532
+ serializedName: "stringIndexType",
2533
+ type: {
2534
+ name: "String"
2535
+ }
2536
+ } })
2537
+ }
2538
+ };
2539
+ export const KeyPhraseExtractionAction = {
2540
+ type: {
2541
+ name: "Composite",
2542
+ className: "KeyPhraseExtractionAction",
2543
+ modelProperties: Object.assign({}, ActionPrebuilt.type.modelProperties)
2544
+ }
2545
+ };
2546
+ export const PiiEntityRecognitionAction = {
2547
+ type: {
2548
+ name: "Composite",
2549
+ className: "PiiEntityRecognitionAction",
2550
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { domainFilter: {
2551
+ defaultValue: "none",
2552
+ serializedName: "domain",
2553
+ type: {
2554
+ name: "String"
2555
+ }
2556
+ }, categoriesFilter: {
2557
+ constraints: {
2558
+ UniqueItems: true
2559
+ },
2560
+ serializedName: "piiCategories",
2561
+ type: {
2562
+ name: "Sequence",
2563
+ element: {
2564
+ type: {
2565
+ name: "String"
2566
+ }
2567
+ }
2568
+ }
2569
+ }, stringIndexType: {
2570
+ defaultValue: "Utf16CodeUnit",
2571
+ serializedName: "stringIndexType",
2572
+ type: {
2573
+ name: "String"
2574
+ }
2575
+ } })
2576
+ }
2577
+ };
2578
+ export const LanguageDetectionAction = {
2579
+ type: {
2580
+ name: "Composite",
2581
+ className: "LanguageDetectionAction",
2582
+ modelProperties: Object.assign({}, ActionPrebuilt.type.modelProperties)
2583
+ }
2584
+ };
2585
+ export const SentimentAnalysisAction = {
2586
+ type: {
2587
+ name: "Composite",
2588
+ className: "SentimentAnalysisAction",
2589
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { includeOpinionMining: {
2590
+ defaultValue: false,
2591
+ serializedName: "opinionMining",
2592
+ type: {
2593
+ name: "Boolean"
2594
+ }
2595
+ }, stringIndexType: {
2596
+ defaultValue: "Utf16CodeUnit",
2597
+ serializedName: "stringIndexType",
2598
+ type: {
2599
+ name: "String"
2600
+ }
2601
+ } })
2602
+ }
2603
+ };
2604
+ export const HealthcareAction = {
2605
+ type: {
2606
+ name: "Composite",
2607
+ className: "HealthcareAction",
2608
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { fhirVersion: {
2609
+ serializedName: "fhirVersion",
2610
+ type: {
2611
+ name: "String"
2612
+ }
2613
+ }, stringIndexType: {
2614
+ defaultValue: "Utf16CodeUnit",
2615
+ serializedName: "stringIndexType",
2616
+ type: {
2617
+ name: "String"
2618
+ }
2619
+ } })
2620
+ }
2621
+ };
2622
+ export const ExtractiveSummarizationAction = {
2623
+ type: {
2624
+ name: "Composite",
2625
+ className: "ExtractiveSummarizationAction",
2626
+ modelProperties: Object.assign(Object.assign({}, ActionPrebuilt.type.modelProperties), { maxSentenceCount: {
2627
+ defaultValue: 3,
2628
+ serializedName: "sentenceCount",
2629
+ type: {
2630
+ name: "Number"
2631
+ }
2632
+ }, orderBy: {
2633
+ defaultValue: "Offset",
2634
+ serializedName: "sortBy",
2635
+ type: {
2636
+ name: "String"
2637
+ }
2638
+ }, stringIndexType: {
2639
+ defaultValue: "Utf16CodeUnit",
2640
+ serializedName: "stringIndexType",
2641
+ type: {
2642
+ name: "String"
2643
+ }
2644
+ } })
2645
+ }
2646
+ };
2647
+ export const CustomEntityRecognitionAction = {
2648
+ type: {
2649
+ name: "Composite",
2650
+ className: "CustomEntityRecognitionAction",
2651
+ modelProperties: Object.assign(Object.assign({}, ActionCustom.type.modelProperties), { stringIndexType: {
2652
+ defaultValue: "Utf16CodeUnit",
2653
+ serializedName: "stringIndexType",
2654
+ type: {
2655
+ name: "String"
2656
+ }
2657
+ } })
2658
+ }
2659
+ };
2660
+ export const CustomSingleLabelClassificationAction = {
2661
+ type: {
2662
+ name: "Composite",
2663
+ className: "CustomSingleLabelClassificationAction",
2664
+ modelProperties: Object.assign({}, ActionCustom.type.modelProperties)
2665
+ }
2666
+ };
2667
+ export const CustomMultiLabelClassificationAction = {
2668
+ type: {
2669
+ name: "Composite",
2670
+ className: "CustomMultiLabelClassificationAction",
2671
+ modelProperties: Object.assign({}, ActionCustom.type.modelProperties)
2672
+ }
2673
+ };
2674
+ export const CustomEntitiesResultDocumentsItem = {
2675
+ type: {
2676
+ name: "Composite",
2677
+ className: "CustomEntitiesResultDocumentsItem",
2678
+ modelProperties: Object.assign({}, EntitiesDocumentResult.type.modelProperties)
2679
+ }
2680
+ };
2681
+ export const EntitiesResultDocumentsItem = {
2682
+ type: {
2683
+ name: "Composite",
2684
+ className: "EntitiesResultDocumentsItem",
2685
+ modelProperties: Object.assign({}, EntitiesDocumentResult.type.modelProperties)
2686
+ }
2687
+ };
2688
+ export const CustomSingleLabelClassificationResultDocumentsItem = {
2689
+ type: {
2690
+ name: "Composite",
2691
+ className: "CustomSingleLabelClassificationResultDocumentsItem",
2692
+ modelProperties: Object.assign({}, SingleClassificationDocumentResult.type.modelProperties)
2693
+ }
2694
+ };
2695
+ export const CustomMultiLabelClassificationResultDocumentsItem = {
2696
+ type: {
2697
+ name: "Composite",
2698
+ className: "CustomMultiLabelClassificationResultDocumentsItem",
2699
+ modelProperties: Object.assign({}, MultiClassificationDocumentResult.type.modelProperties)
2700
+ }
2701
+ };
2702
+ export const HealthcareResultDocumentsItem = {
2703
+ type: {
2704
+ name: "Composite",
2705
+ className: "HealthcareResultDocumentsItem",
2706
+ modelProperties: Object.assign({}, HealthcareEntitiesDocumentResult.type.modelProperties)
2707
+ }
2708
+ };
2709
+ export const SentimentResponseDocumentsItem = {
2710
+ type: {
2711
+ name: "Composite",
2712
+ className: "SentimentResponseDocumentsItem",
2713
+ modelProperties: Object.assign({}, SentimentDocumentResult.type.modelProperties)
2714
+ }
2715
+ };
2716
+ export const EntityLinkingResultDocumentsItem = {
2717
+ type: {
2718
+ name: "Composite",
2719
+ className: "EntityLinkingResultDocumentsItem",
2720
+ modelProperties: Object.assign({}, LinkedEntitiesDocumentResult.type.modelProperties)
2721
+ }
2722
+ };
2723
+ export const PiiResultDocumentsItem = {
2724
+ type: {
2725
+ name: "Composite",
2726
+ className: "PiiResultDocumentsItem",
2727
+ modelProperties: Object.assign({}, PiiEntitiesDocumentResult.type.modelProperties)
2728
+ }
2729
+ };
2730
+ export const ExtractiveSummarizationResultDocumentsItem = {
2731
+ type: {
2732
+ name: "Composite",
2733
+ className: "ExtractiveSummarizationResultDocumentsItem",
2734
+ modelProperties: Object.assign({}, ExtractedSummaryDocumentResult.type.modelProperties)
2735
+ }
2736
+ };
2737
+ export const KeyPhraseResultDocumentsItem = {
2738
+ type: {
2739
+ name: "Composite",
2740
+ className: "KeyPhraseResultDocumentsItem",
2741
+ modelProperties: Object.assign({}, KeyPhrasesDocumentResult.type.modelProperties)
2742
+ }
2743
+ };
2744
+ export const AnalyzeTextSubmitJobHeaders = {
2745
+ type: {
2746
+ name: "Composite",
2747
+ className: "AnalyzeTextSubmitJobHeaders",
2748
+ modelProperties: {
2749
+ operationLocation: {
2750
+ serializedName: "operation-location",
2751
+ type: {
2752
+ name: "String"
2753
+ }
2754
+ }
2755
+ }
2756
+ }
2757
+ };
2758
+ export const AnalyzeTextCancelJobHeaders = {
2759
+ type: {
2760
+ name: "Composite",
2761
+ className: "AnalyzeTextCancelJobHeaders",
2762
+ modelProperties: {
2763
+ operationLocation: {
2764
+ serializedName: "operation-location",
2765
+ type: {
2766
+ name: "String"
2767
+ }
2768
+ }
2769
+ }
2770
+ }
2771
+ };
2772
+ export let discriminators = {
2773
+ AnalyzeAction: AnalyzeAction,
2774
+ AnalyzeTextTaskResult: AnalyzeTextTaskResult,
2775
+ "AnalyzeAction.EntityLinking": AnalyzeTextEntityLinkingInput,
2776
+ "AnalyzeAction.EntityRecognition": AnalyzeTextEntityRecognitionInput,
2777
+ "AnalyzeAction.KeyPhraseExtraction": AnalyzeTextKeyPhraseExtractionInput,
2778
+ "AnalyzeAction.PiiEntityRecognition": AnalyzeTextPiiEntitiesRecognitionInput,
2779
+ "AnalyzeAction.LanguageDetection": AnalyzeTextLanguageDetectionInput,
2780
+ "AnalyzeAction.SentimentAnalysis": AnalyzeTextSentimentAnalysisInput,
2781
+ "AnalyzeTextTaskResult.SentimentAnalysisResults": SentimentTaskResult,
2782
+ "AnalyzeTextTaskResult.EntityRecognitionResults": EntitiesTaskResult,
2783
+ "AnalyzeTextTaskResult.EntityLinkingResults": EntityLinkingTaskResult,
2784
+ "AnalyzeTextTaskResult.PiiEntityRecognitionResults": PiiTaskResult,
2785
+ "AnalyzeTextTaskResult.KeyPhraseExtractionResults": KeyPhraseTaskResult,
2786
+ "AnalyzeTextTaskResult.LanguageDetectionResults": LanguageDetectionTaskResult,
2787
+ "BatchActionState.AnalyzeBatchAction": AnalyzeBatchAction,
2788
+ "TaskState.AnalyzeTextLROResult": AnalyzeTextLROResult,
2789
+ "BatchActionState.CustomEntityRecognition": CustomEntitiesLROTask,
2790
+ "BatchActionState.CustomSingleLabelClassification": CustomSingleLabelClassificationLROTask,
2791
+ "BatchActionState.CustomMultiLabelClassification": CustomMultiLabelClassificationLROTask,
2792
+ "BatchActionState.Healthcare": HealthcareLROTask,
2793
+ "BatchActionState.SentimentAnalysis": SentimentAnalysisLROTask,
2794
+ "BatchActionState.EntityRecognition": EntitiesLROTask,
2795
+ "BatchActionState.EntityLinking": EntityLinkingLROTask,
2796
+ "BatchActionState.PiiEntityRecognition": PiiLROTask,
2797
+ "BatchActionState.ExtractiveSummarization": ExtractiveSummarizationLROTask,
2798
+ "BatchActionState.KeyPhraseExtraction": KeyPhraseLROTask,
2799
+ "TaskState.EntityRecognitionLROResults": EntityRecognitionLROResult,
2800
+ "TaskState.CustomEntityRecognitionLROResults": CustomEntityRecognitionLROResult,
2801
+ "TaskState.CustomSingleLabelClassificationLROResults": CustomSingleLabelClassificationLROResult,
2802
+ "TaskState.CustomMultiLabelClassificationLROResults": CustomMultiLabelClassificationLROResult,
2803
+ "TaskState.EntityLinkingLROResults": EntityLinkingLROResult,
2804
+ "TaskState.PiiEntityRecognitionLROResults": PiiEntityRecognitionLROResult,
2805
+ "TaskState.ExtractiveSummarizationLROResults": ExtractiveSummarizationLROResult,
2806
+ "TaskState.HealthcareLROResults": HealthcareLROResult,
2807
+ "TaskState.SentimentAnalysisLROResults": SentimentLROResult,
2808
+ "TaskState.KeyPhraseExtractionLROResults": KeyPhraseExtractionLROResult
2809
+ };
2810
+ //# sourceMappingURL=mappers.js.map