graphlit-client 1.0.20250108001 → 1.0.20250114001

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/client.js CHANGED
@@ -168,14 +168,14 @@ class Graphlit {
168
168
  return this.mutateAndCheckError(Documents.DeleteAlert, { id: id });
169
169
  });
170
170
  }
171
- deleteAlerts() {
171
+ deleteAlerts(ids, isSynchronous) {
172
172
  return __awaiter(this, void 0, void 0, function* () {
173
- return this.mutateAndCheckError(Documents.DeleteAlerts);
173
+ return this.mutateAndCheckError(Documents.DeleteAlerts, { ids: ids, isSynchronous: isSynchronous });
174
174
  });
175
175
  }
176
- deleteAllAlerts() {
176
+ deleteAllAlerts(filter, isSynchronous, correlationId) {
177
177
  return __awaiter(this, void 0, void 0, function* () {
178
- return this.mutateAndCheckError(Documents.DeleteAllAlerts);
178
+ return this.mutateAndCheckError(Documents.DeleteAllAlerts, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
179
179
  });
180
180
  }
181
181
  enableAlert(id) {
@@ -213,14 +213,14 @@ class Graphlit {
213
213
  return this.mutateAndCheckError(Documents.DeleteCollection, { id: id });
214
214
  });
215
215
  }
216
- deleteCollections() {
216
+ deleteCollections(ids, isSynchronous) {
217
217
  return __awaiter(this, void 0, void 0, function* () {
218
- return this.mutateAndCheckError(Documents.DeleteCollections);
218
+ return this.mutateAndCheckError(Documents.DeleteCollections, { ids: ids, isSynchronous: isSynchronous });
219
219
  });
220
220
  }
221
- deleteAllCollections() {
221
+ deleteAllCollections(filter, isSynchronous, correlationId) {
222
222
  return __awaiter(this, void 0, void 0, function* () {
223
- return this.mutateAndCheckError(Documents.DeleteAllCollections);
223
+ return this.mutateAndCheckError(Documents.DeleteAllCollections, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
224
224
  });
225
225
  }
226
226
  addContentsToCollections(contents, collections) {
@@ -293,14 +293,14 @@ class Graphlit {
293
293
  return this.mutateAndCheckError(Documents.DeleteContent, { id: id });
294
294
  });
295
295
  }
296
- deleteContents() {
296
+ deleteContents(ids, isSynchronous) {
297
297
  return __awaiter(this, void 0, void 0, function* () {
298
- return this.mutateAndCheckError(Documents.DeleteContents);
298
+ return this.mutateAndCheckError(Documents.DeleteContents, { ids: ids, isSynchronous: isSynchronous });
299
299
  });
300
300
  }
301
- deleteAllContents() {
301
+ deleteAllContents(filter, isSynchronous, correlationId) {
302
302
  return __awaiter(this, void 0, void 0, function* () {
303
- return this.mutateAndCheckError(Documents.DeleteAllContents);
303
+ return this.mutateAndCheckError(Documents.DeleteAllContents, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
304
304
  });
305
305
  }
306
306
  summarizeText(summarization, text, textType, correlationId) {
@@ -373,14 +373,14 @@ class Graphlit {
373
373
  return this.mutateAndCheckError(Documents.DeleteConversation, { id: id });
374
374
  });
375
375
  }
376
- deleteConversations() {
376
+ deleteConversations(ids, isSynchronous) {
377
377
  return __awaiter(this, void 0, void 0, function* () {
378
- return this.mutateAndCheckError(Documents.DeleteConversations);
378
+ return this.mutateAndCheckError(Documents.DeleteConversations, { ids: ids, isSynchronous: isSynchronous });
379
379
  });
380
380
  }
381
- deleteAllConversations() {
381
+ deleteAllConversations(filter, isSynchronous, correlationId) {
382
382
  return __awaiter(this, void 0, void 0, function* () {
383
- return this.mutateAndCheckError(Documents.DeleteAllConversations);
383
+ return this.mutateAndCheckError(Documents.DeleteAllConversations, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
384
384
  });
385
385
  }
386
386
  clearConversation(id) {
@@ -423,9 +423,9 @@ class Graphlit {
423
423
  return this.mutateAndCheckError(Documents.ReviseContent, { prompt: prompt, content: content, id: id, specification: specification, correlationId: correlationId });
424
424
  });
425
425
  }
426
- prompt(prompt, specification, messages, correlationId) {
426
+ prompt(prompt, mimeType, data, specification, messages, correlationId) {
427
427
  return __awaiter(this, void 0, void 0, function* () {
428
- return this.mutateAndCheckError(Documents.Prompt, { prompt: prompt, specification: specification, messages: messages, correlationId: correlationId });
428
+ return this.mutateAndCheckError(Documents.Prompt, { prompt: prompt, mimeType: mimeType, data: data, specification: specification, messages: messages, correlationId: correlationId });
429
429
  });
430
430
  }
431
431
  formatConversation(prompt, id, specification, includeDetails, correlationId) {
@@ -478,14 +478,14 @@ class Graphlit {
478
478
  return this.mutateAndCheckError(Documents.DeleteFeed, { id: id });
479
479
  });
480
480
  }
481
- deleteFeeds() {
481
+ deleteFeeds(ids, isSynchronous) {
482
482
  return __awaiter(this, void 0, void 0, function* () {
483
- return this.mutateAndCheckError(Documents.DeleteFeeds);
483
+ return this.mutateAndCheckError(Documents.DeleteFeeds, { ids: ids, isSynchronous: isSynchronous });
484
484
  });
485
485
  }
486
- deleteAllFeeds() {
486
+ deleteAllFeeds(filter, isSynchronous, correlationId) {
487
487
  return __awaiter(this, void 0, void 0, function* () {
488
- return this.mutateAndCheckError(Documents.DeleteAllFeeds);
488
+ return this.mutateAndCheckError(Documents.DeleteAllFeeds, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
489
489
  });
490
490
  }
491
491
  enableFeed(id) {
@@ -533,14 +533,14 @@ class Graphlit {
533
533
  return this.mutateAndCheckError(Documents.DeleteSpecification, { id: id });
534
534
  });
535
535
  }
536
- deleteSpecifications() {
536
+ deleteSpecifications(ids, isSynchronous) {
537
537
  return __awaiter(this, void 0, void 0, function* () {
538
- return this.mutateAndCheckError(Documents.DeleteSpecifications);
538
+ return this.mutateAndCheckError(Documents.DeleteSpecifications, { ids: ids, isSynchronous: isSynchronous });
539
539
  });
540
540
  }
541
- deleteAllSpecifications() {
541
+ deleteAllSpecifications(filter, isSynchronous, correlationId) {
542
542
  return __awaiter(this, void 0, void 0, function* () {
543
- return this.mutateAndCheckError(Documents.DeleteAllSpecifications);
543
+ return this.mutateAndCheckError(Documents.DeleteAllSpecifications, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
544
544
  });
545
545
  }
546
546
  getSpecification(id) {
@@ -573,14 +573,14 @@ class Graphlit {
573
573
  return this.mutateAndCheckError(Documents.DeleteWorkflow, { id: id });
574
574
  });
575
575
  }
576
- deleteWorkflows() {
576
+ deleteWorkflows(ids, isSynchronous) {
577
577
  return __awaiter(this, void 0, void 0, function* () {
578
- return this.mutateAndCheckError(Documents.DeleteWorkflows);
578
+ return this.mutateAndCheckError(Documents.DeleteWorkflows, { ids: ids, isSynchronous: isSynchronous });
579
579
  });
580
580
  }
581
- deleteAllWorkflows() {
581
+ deleteAllWorkflows(filter, isSynchronous, correlationId) {
582
582
  return __awaiter(this, void 0, void 0, function* () {
583
- return this.mutateAndCheckError(Documents.DeleteAllWorkflows);
583
+ return this.mutateAndCheckError(Documents.DeleteAllWorkflows, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
584
584
  });
585
585
  }
586
586
  getWorkflow(id) {
@@ -643,14 +643,14 @@ class Graphlit {
643
643
  return this.mutateAndCheckError(Documents.DeleteCategory, { id: id });
644
644
  });
645
645
  }
646
- deleteCategories() {
646
+ deleteCategories(ids, isSynchronous) {
647
647
  return __awaiter(this, void 0, void 0, function* () {
648
- return this.mutateAndCheckError(Documents.DeleteCategories);
648
+ return this.mutateAndCheckError(Documents.DeleteCategories, { ids: ids, isSynchronous: isSynchronous });
649
649
  });
650
650
  }
651
- deleteAllCategories() {
651
+ deleteAllCategories(filter, isSynchronous, correlationId) {
652
652
  return __awaiter(this, void 0, void 0, function* () {
653
- return this.mutateAndCheckError(Documents.DeleteAllCategories);
653
+ return this.mutateAndCheckError(Documents.DeleteAllCategories, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
654
654
  });
655
655
  }
656
656
  getCategory(id) {
@@ -678,14 +678,14 @@ class Graphlit {
678
678
  return this.mutateAndCheckError(Documents.DeleteLabel, { id: id });
679
679
  });
680
680
  }
681
- deleteLabels() {
681
+ deleteLabels(ids, isSynchronous) {
682
682
  return __awaiter(this, void 0, void 0, function* () {
683
- return this.mutateAndCheckError(Documents.DeleteLabels);
683
+ return this.mutateAndCheckError(Documents.DeleteLabels, { ids: ids, isSynchronous: isSynchronous });
684
684
  });
685
685
  }
686
- deleteAllLabels() {
686
+ deleteAllLabels(filter, isSynchronous, correlationId) {
687
687
  return __awaiter(this, void 0, void 0, function* () {
688
- return this.mutateAndCheckError(Documents.DeleteAllLabels);
688
+ return this.mutateAndCheckError(Documents.DeleteAllLabels, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
689
689
  });
690
690
  }
691
691
  getLabel(id) {
@@ -713,14 +713,14 @@ class Graphlit {
713
713
  return this.mutateAndCheckError(Documents.DeletePerson, { id: id });
714
714
  });
715
715
  }
716
- deletePersons() {
716
+ deletePersons(ids, isSynchronous) {
717
717
  return __awaiter(this, void 0, void 0, function* () {
718
- return this.mutateAndCheckError(Documents.DeletePersons);
718
+ return this.mutateAndCheckError(Documents.DeletePersons, { ids: ids, isSynchronous: isSynchronous });
719
719
  });
720
720
  }
721
- deleteAllPersons() {
721
+ deleteAllPersons(filter, isSynchronous, correlationId) {
722
722
  return __awaiter(this, void 0, void 0, function* () {
723
- return this.mutateAndCheckError(Documents.DeleteAllPersons);
723
+ return this.mutateAndCheckError(Documents.DeleteAllPersons, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
724
724
  });
725
725
  }
726
726
  getPerson(id) {
@@ -748,14 +748,14 @@ class Graphlit {
748
748
  return this.mutateAndCheckError(Documents.DeleteOrganization, { id: id });
749
749
  });
750
750
  }
751
- deleteOrganizations() {
751
+ deleteOrganizations(ids, isSynchronous) {
752
752
  return __awaiter(this, void 0, void 0, function* () {
753
- return this.mutateAndCheckError(Documents.DeleteOrganizations);
753
+ return this.mutateAndCheckError(Documents.DeleteOrganizations, { ids: ids, isSynchronous: isSynchronous });
754
754
  });
755
755
  }
756
- deleteAllOrganizations() {
756
+ deleteAllOrganizations(filter, isSynchronous, correlationId) {
757
757
  return __awaiter(this, void 0, void 0, function* () {
758
- return this.mutateAndCheckError(Documents.DeleteAllOrganizations);
758
+ return this.mutateAndCheckError(Documents.DeleteAllOrganizations, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
759
759
  });
760
760
  }
761
761
  getOrganization(id) {
@@ -783,14 +783,14 @@ class Graphlit {
783
783
  return this.mutateAndCheckError(Documents.DeletePlace, { id: id });
784
784
  });
785
785
  }
786
- deletePlaces() {
786
+ deletePlaces(ids, isSynchronous) {
787
787
  return __awaiter(this, void 0, void 0, function* () {
788
- return this.mutateAndCheckError(Documents.DeletePlaces);
788
+ return this.mutateAndCheckError(Documents.DeletePlaces, { ids: ids, isSynchronous: isSynchronous });
789
789
  });
790
790
  }
791
- deleteAllPlaces() {
791
+ deleteAllPlaces(filter, isSynchronous, correlationId) {
792
792
  return __awaiter(this, void 0, void 0, function* () {
793
- return this.mutateAndCheckError(Documents.DeleteAllPlaces);
793
+ return this.mutateAndCheckError(Documents.DeleteAllPlaces, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
794
794
  });
795
795
  }
796
796
  getPlace(id) {
@@ -818,14 +818,14 @@ class Graphlit {
818
818
  return this.mutateAndCheckError(Documents.DeleteEvent, { id: id });
819
819
  });
820
820
  }
821
- deleteEvents() {
821
+ deleteEvents(ids, isSynchronous) {
822
822
  return __awaiter(this, void 0, void 0, function* () {
823
- return this.mutateAndCheckError(Documents.DeleteEvents);
823
+ return this.mutateAndCheckError(Documents.DeleteEvents, { ids: ids, isSynchronous: isSynchronous });
824
824
  });
825
825
  }
826
- deleteAllEvents() {
826
+ deleteAllEvents(filter, isSynchronous, correlationId) {
827
827
  return __awaiter(this, void 0, void 0, function* () {
828
- return this.mutateAndCheckError(Documents.DeleteAllEvents);
828
+ return this.mutateAndCheckError(Documents.DeleteAllEvents, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
829
829
  });
830
830
  }
831
831
  getEvent(id) {
@@ -853,14 +853,14 @@ class Graphlit {
853
853
  return this.mutateAndCheckError(Documents.DeleteProduct, { id: id });
854
854
  });
855
855
  }
856
- deleteProducts() {
856
+ deleteProducts(ids, isSynchronous) {
857
857
  return __awaiter(this, void 0, void 0, function* () {
858
- return this.mutateAndCheckError(Documents.DeleteProducts);
858
+ return this.mutateAndCheckError(Documents.DeleteProducts, { ids: ids, isSynchronous: isSynchronous });
859
859
  });
860
860
  }
861
- deleteAllProducts() {
861
+ deleteAllProducts(filter, isSynchronous, correlationId) {
862
862
  return __awaiter(this, void 0, void 0, function* () {
863
- return this.mutateAndCheckError(Documents.DeleteAllProducts);
863
+ return this.mutateAndCheckError(Documents.DeleteAllProducts, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
864
864
  });
865
865
  }
866
866
  getProduct(id) {
@@ -888,14 +888,14 @@ class Graphlit {
888
888
  return this.mutateAndCheckError(Documents.DeleteRepo, { id: id });
889
889
  });
890
890
  }
891
- deleteRepos() {
891
+ deleteRepos(ids, isSynchronous) {
892
892
  return __awaiter(this, void 0, void 0, function* () {
893
- return this.mutateAndCheckError(Documents.DeleteRepos);
893
+ return this.mutateAndCheckError(Documents.DeleteRepos, { ids: ids, isSynchronous: isSynchronous });
894
894
  });
895
895
  }
896
- deleteAllRepos() {
896
+ deleteAllRepos(filter, isSynchronous, correlationId) {
897
897
  return __awaiter(this, void 0, void 0, function* () {
898
- return this.mutateAndCheckError(Documents.DeleteAllRepos);
898
+ return this.mutateAndCheckError(Documents.DeleteAllRepos, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
899
899
  });
900
900
  }
901
901
  getRepo(id) {
@@ -923,14 +923,14 @@ class Graphlit {
923
923
  return this.mutateAndCheckError(Documents.DeleteSoftware, { id: id });
924
924
  });
925
925
  }
926
- deleteSoftwares() {
926
+ deleteSoftwares(ids, isSynchronous) {
927
927
  return __awaiter(this, void 0, void 0, function* () {
928
- return this.mutateAndCheckError(Documents.DeleteSoftwares);
928
+ return this.mutateAndCheckError(Documents.DeleteSoftwares, { ids: ids, isSynchronous: isSynchronous });
929
929
  });
930
930
  }
931
- deleteAllSoftwares() {
931
+ deleteAllSoftwares(filter, isSynchronous, correlationId) {
932
932
  return __awaiter(this, void 0, void 0, function* () {
933
- return this.mutateAndCheckError(Documents.DeleteAllSoftwares);
933
+ return this.mutateAndCheckError(Documents.DeleteAllSoftwares, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
934
934
  });
935
935
  }
936
936
  getSoftware(id) {
@@ -958,14 +958,14 @@ class Graphlit {
958
958
  return this.mutateAndCheckError(Documents.DeleteMedicalCondition, { id: id });
959
959
  });
960
960
  }
961
- deleteMedicalConditions() {
961
+ deleteMedicalConditions(ids, isSynchronous) {
962
962
  return __awaiter(this, void 0, void 0, function* () {
963
- return this.mutateAndCheckError(Documents.DeleteMedicalConditions);
963
+ return this.mutateAndCheckError(Documents.DeleteMedicalConditions, { ids: ids, isSynchronous: isSynchronous });
964
964
  });
965
965
  }
966
- deleteAllMedicalConditions() {
966
+ deleteAllMedicalConditions(filter, isSynchronous, correlationId) {
967
967
  return __awaiter(this, void 0, void 0, function* () {
968
- return this.mutateAndCheckError(Documents.DeleteAllMedicalConditions);
968
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalConditions, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
969
969
  });
970
970
  }
971
971
  getMedicalCondition(id) {
@@ -993,14 +993,14 @@ class Graphlit {
993
993
  return this.mutateAndCheckError(Documents.DeleteMedicalGuideline, { id: id });
994
994
  });
995
995
  }
996
- deleteMedicalGuidelines() {
996
+ deleteMedicalGuidelines(ids, isSynchronous) {
997
997
  return __awaiter(this, void 0, void 0, function* () {
998
- return this.mutateAndCheckError(Documents.DeleteMedicalGuidelines);
998
+ return this.mutateAndCheckError(Documents.DeleteMedicalGuidelines, { ids: ids, isSynchronous: isSynchronous });
999
999
  });
1000
1000
  }
1001
- deleteAllMedicalGuidelines() {
1001
+ deleteAllMedicalGuidelines(filter, isSynchronous, correlationId) {
1002
1002
  return __awaiter(this, void 0, void 0, function* () {
1003
- return this.mutateAndCheckError(Documents.DeleteAllMedicalGuidelines);
1003
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalGuidelines, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1004
1004
  });
1005
1005
  }
1006
1006
  getMedicalGuideline(id) {
@@ -1028,14 +1028,14 @@ class Graphlit {
1028
1028
  return this.mutateAndCheckError(Documents.DeleteMedicalDrug, { id: id });
1029
1029
  });
1030
1030
  }
1031
- deleteMedicalDrugs() {
1031
+ deleteMedicalDrugs(ids, isSynchronous) {
1032
1032
  return __awaiter(this, void 0, void 0, function* () {
1033
- return this.mutateAndCheckError(Documents.DeleteMedicalDrugs);
1033
+ return this.mutateAndCheckError(Documents.DeleteMedicalDrugs, { ids: ids, isSynchronous: isSynchronous });
1034
1034
  });
1035
1035
  }
1036
- deleteAllMedicalDrugs() {
1036
+ deleteAllMedicalDrugs(filter, isSynchronous, correlationId) {
1037
1037
  return __awaiter(this, void 0, void 0, function* () {
1038
- return this.mutateAndCheckError(Documents.DeleteAllMedicalDrugs);
1038
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalDrugs, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1039
1039
  });
1040
1040
  }
1041
1041
  getMedicalDrug(id) {
@@ -1063,14 +1063,14 @@ class Graphlit {
1063
1063
  return this.mutateAndCheckError(Documents.DeleteMedicalIndication, { id: id });
1064
1064
  });
1065
1065
  }
1066
- deleteMedicalIndications() {
1066
+ deleteMedicalIndications(ids, isSynchronous) {
1067
1067
  return __awaiter(this, void 0, void 0, function* () {
1068
- return this.mutateAndCheckError(Documents.DeleteMedicalIndications);
1068
+ return this.mutateAndCheckError(Documents.DeleteMedicalIndications, { ids: ids, isSynchronous: isSynchronous });
1069
1069
  });
1070
1070
  }
1071
- deleteAllMedicalIndications() {
1071
+ deleteAllMedicalIndications(filter, isSynchronous, correlationId) {
1072
1072
  return __awaiter(this, void 0, void 0, function* () {
1073
- return this.mutateAndCheckError(Documents.DeleteAllMedicalIndications);
1073
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalIndications, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1074
1074
  });
1075
1075
  }
1076
1076
  getMedicalIndication(id) {
@@ -1098,14 +1098,14 @@ class Graphlit {
1098
1098
  return this.mutateAndCheckError(Documents.DeleteMedicalContraindication, { id: id });
1099
1099
  });
1100
1100
  }
1101
- deleteMedicalContraindications() {
1101
+ deleteMedicalContraindications(ids, isSynchronous) {
1102
1102
  return __awaiter(this, void 0, void 0, function* () {
1103
- return this.mutateAndCheckError(Documents.DeleteMedicalContraindications);
1103
+ return this.mutateAndCheckError(Documents.DeleteMedicalContraindications, { ids: ids, isSynchronous: isSynchronous });
1104
1104
  });
1105
1105
  }
1106
- deleteAllMedicalContraindications() {
1106
+ deleteAllMedicalContraindications(filter, isSynchronous, correlationId) {
1107
1107
  return __awaiter(this, void 0, void 0, function* () {
1108
- return this.mutateAndCheckError(Documents.DeleteAllMedicalContraindications);
1108
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalContraindications, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1109
1109
  });
1110
1110
  }
1111
1111
  getMedicalContraindication(id) {
@@ -1133,14 +1133,14 @@ class Graphlit {
1133
1133
  return this.mutateAndCheckError(Documents.DeleteMedicalTest, { id: id });
1134
1134
  });
1135
1135
  }
1136
- deleteMedicalTests() {
1136
+ deleteMedicalTests(ids, isSynchronous) {
1137
1137
  return __awaiter(this, void 0, void 0, function* () {
1138
- return this.mutateAndCheckError(Documents.DeleteMedicalTests);
1138
+ return this.mutateAndCheckError(Documents.DeleteMedicalTests, { ids: ids, isSynchronous: isSynchronous });
1139
1139
  });
1140
1140
  }
1141
- deleteAllMedicalTests() {
1141
+ deleteAllMedicalTests(filter, isSynchronous, correlationId) {
1142
1142
  return __awaiter(this, void 0, void 0, function* () {
1143
- return this.mutateAndCheckError(Documents.DeleteAllMedicalTests);
1143
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalTests, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1144
1144
  });
1145
1145
  }
1146
1146
  getMedicalTest(id) {
@@ -1168,14 +1168,14 @@ class Graphlit {
1168
1168
  return this.mutateAndCheckError(Documents.DeleteMedicalDevice, { id: id });
1169
1169
  });
1170
1170
  }
1171
- deleteMedicalDevices() {
1171
+ deleteMedicalDevices(ids, isSynchronous) {
1172
1172
  return __awaiter(this, void 0, void 0, function* () {
1173
- return this.mutateAndCheckError(Documents.DeleteMedicalDevices);
1173
+ return this.mutateAndCheckError(Documents.DeleteMedicalDevices, { ids: ids, isSynchronous: isSynchronous });
1174
1174
  });
1175
1175
  }
1176
- deleteAllMedicalDevices() {
1176
+ deleteAllMedicalDevices(filter, isSynchronous, correlationId) {
1177
1177
  return __awaiter(this, void 0, void 0, function* () {
1178
- return this.mutateAndCheckError(Documents.DeleteAllMedicalDevices);
1178
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalDevices, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1179
1179
  });
1180
1180
  }
1181
1181
  getMedicalDevice(id) {
@@ -1203,14 +1203,14 @@ class Graphlit {
1203
1203
  return this.mutateAndCheckError(Documents.DeleteMedicalProcedure, { id: id });
1204
1204
  });
1205
1205
  }
1206
- deleteMedicalProcedures() {
1206
+ deleteMedicalProcedures(ids, isSynchronous) {
1207
1207
  return __awaiter(this, void 0, void 0, function* () {
1208
- return this.mutateAndCheckError(Documents.DeleteMedicalProcedures);
1208
+ return this.mutateAndCheckError(Documents.DeleteMedicalProcedures, { ids: ids, isSynchronous: isSynchronous });
1209
1209
  });
1210
1210
  }
1211
- deleteAllMedicalProcedures() {
1211
+ deleteAllMedicalProcedures(filter, isSynchronous, correlationId) {
1212
1212
  return __awaiter(this, void 0, void 0, function* () {
1213
- return this.mutateAndCheckError(Documents.DeleteAllMedicalProcedures);
1213
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalProcedures, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1214
1214
  });
1215
1215
  }
1216
1216
  getMedicalProcedure(id) {
@@ -1238,14 +1238,14 @@ class Graphlit {
1238
1238
  return this.mutateAndCheckError(Documents.DeleteMedicalStudy, { id: id });
1239
1239
  });
1240
1240
  }
1241
- deleteMedicalStudies() {
1241
+ deleteMedicalStudies(ids, isSynchronous) {
1242
1242
  return __awaiter(this, void 0, void 0, function* () {
1243
- return this.mutateAndCheckError(Documents.DeleteMedicalStudies);
1243
+ return this.mutateAndCheckError(Documents.DeleteMedicalStudies, { ids: ids, isSynchronous: isSynchronous });
1244
1244
  });
1245
1245
  }
1246
- deleteAllMedicalStudies() {
1246
+ deleteAllMedicalStudies(filter, isSynchronous, correlationId) {
1247
1247
  return __awaiter(this, void 0, void 0, function* () {
1248
- return this.mutateAndCheckError(Documents.DeleteAllMedicalStudies);
1248
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalStudies, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1249
1249
  });
1250
1250
  }
1251
1251
  getMedicalStudy(id) {
@@ -1273,14 +1273,14 @@ class Graphlit {
1273
1273
  return this.mutateAndCheckError(Documents.DeleteMedicalDrugClass, { id: id });
1274
1274
  });
1275
1275
  }
1276
- deleteMedicalDrugClasses() {
1276
+ deleteMedicalDrugClasses(ids, isSynchronous) {
1277
1277
  return __awaiter(this, void 0, void 0, function* () {
1278
- return this.mutateAndCheckError(Documents.DeleteMedicalDrugClasses);
1278
+ return this.mutateAndCheckError(Documents.DeleteMedicalDrugClasses, { ids: ids, isSynchronous: isSynchronous });
1279
1279
  });
1280
1280
  }
1281
- deleteAllMedicalDrugClasses() {
1281
+ deleteAllMedicalDrugClasses(filter, isSynchronous, correlationId) {
1282
1282
  return __awaiter(this, void 0, void 0, function* () {
1283
- return this.mutateAndCheckError(Documents.DeleteAllMedicalDrugClasses);
1283
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalDrugClasses, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1284
1284
  });
1285
1285
  }
1286
1286
  getMedicalDrugClass(id) {
@@ -1308,14 +1308,14 @@ class Graphlit {
1308
1308
  return this.mutateAndCheckError(Documents.DeleteMedicalTherapy, { id: id });
1309
1309
  });
1310
1310
  }
1311
- deleteMedicalTherapies() {
1311
+ deleteMedicalTherapies(ids, isSynchronous) {
1312
1312
  return __awaiter(this, void 0, void 0, function* () {
1313
- return this.mutateAndCheckError(Documents.DeleteMedicalTherapies);
1313
+ return this.mutateAndCheckError(Documents.DeleteMedicalTherapies, { ids: ids, isSynchronous: isSynchronous });
1314
1314
  });
1315
1315
  }
1316
- deleteAllMedicalTherapies() {
1316
+ deleteAllMedicalTherapies(filter, isSynchronous, correlationId) {
1317
1317
  return __awaiter(this, void 0, void 0, function* () {
1318
- return this.mutateAndCheckError(Documents.DeleteAllMedicalTherapies);
1318
+ return this.mutateAndCheckError(Documents.DeleteAllMedicalTherapies, { filter: filter, isSynchronous: isSynchronous, correlationId: correlationId });
1319
1319
  });
1320
1320
  }
1321
1321
  getMedicalTherapy(id) {