graphlit-client 1.0.20240930002 → 1.0.20241007001
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.d.ts
CHANGED
@@ -35,9 +35,10 @@ declare class Graphlit {
|
|
35
35
|
removeContentsFromCollection(contents: Types.EntityReferenceInput[], collection: Types.EntityReferenceInput): Promise<Types.RemoveContentsFromCollectionMutation>;
|
36
36
|
getCollection(id: string): Promise<Types.GetCollectionQuery>;
|
37
37
|
queryCollections(filter?: Types.CollectionFilter): Promise<Types.QueryCollectionsQuery>;
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
ingestBatch(uris: [string], workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestBatchMutation>;
|
39
|
+
ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestUriMutation>;
|
40
|
+
ingestText(name: string, text: string, textType?: Types.TextTypes, uri?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestTextMutation>;
|
41
|
+
ingestEncodedFile(name: string, data: string, mimeType: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestEncodedFileMutation>;
|
41
42
|
updateContent(content: Types.ContentUpdateInput): Promise<Types.UpdateContentMutation>;
|
42
43
|
deleteContent(id: string): Promise<Types.DeleteContentMutation>;
|
43
44
|
deleteContents(): Promise<Types.DeleteContentsMutation>;
|
@@ -60,7 +61,8 @@ declare class Graphlit {
|
|
60
61
|
closeConversation(id: string): Promise<Types.CloseConversationMutation>;
|
61
62
|
getConversation(id: string): Promise<Types.GetConversationQuery>;
|
62
63
|
queryConversations(filter?: Types.ConversationFilter): Promise<Types.QueryConversationsQuery>;
|
63
|
-
promptConversation(prompt: string, id?: string, correlationId?: string): Promise<Types.PromptConversationMutation>;
|
64
|
+
promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: [Types.ToolDefinitionInput], correlationId?: string): Promise<Types.PromptConversationMutation>;
|
65
|
+
continueConversation(id: string, responses: [Types.ConversationToolResponseInput], correlationId?: string): Promise<Types.ContinueConversationMutation>;
|
64
66
|
publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.PublishConversationMutation>;
|
65
67
|
suggestConversation(id: string, count?: number, correlationId?: string): Promise<Types.SuggestConversationMutation>;
|
66
68
|
createFeed(feed: Types.FeedInput, correlationId?: string): Promise<Types.CreateFeedMutation>;
|
@@ -151,6 +153,83 @@ declare class Graphlit {
|
|
151
153
|
deleteAllSoftwares(): Promise<Types.DeleteAllSoftwaresMutation>;
|
152
154
|
getSoftware(id: string): Promise<Types.GetSoftwareQuery>;
|
153
155
|
querySoftwares(filter?: Types.SoftwareFilter): Promise<Types.QuerySoftwaresQuery>;
|
156
|
+
createMedicalCondition(MedicalCondition: Types.MedicalConditionInput): Promise<Types.CreateMedicalConditionMutation>;
|
157
|
+
updateMedicalCondition(MedicalCondition: Types.MedicalConditionUpdateInput): Promise<Types.UpdateMedicalConditionMutation>;
|
158
|
+
deleteMedicalCondition(id: string): Promise<Types.DeleteMedicalConditionMutation>;
|
159
|
+
deleteMedicalConditions(): Promise<Types.DeleteMedicalConditionsMutation>;
|
160
|
+
deleteAllMedicalConditions(): Promise<Types.DeleteAllMedicalConditionsMutation>;
|
161
|
+
getMedicalCondition(id: string): Promise<Types.GetMedicalConditionQuery>;
|
162
|
+
queryMedicalConditions(filter?: Types.MedicalConditionFilter): Promise<Types.QueryMedicalConditionsQuery>;
|
163
|
+
createMedicalGuideline(MedicalGuideline: Types.MedicalGuidelineInput): Promise<Types.CreateMedicalGuidelineMutation>;
|
164
|
+
updateMedicalGuideline(MedicalGuideline: Types.MedicalGuidelineUpdateInput): Promise<Types.UpdateMedicalGuidelineMutation>;
|
165
|
+
deleteMedicalGuideline(id: string): Promise<Types.DeleteMedicalGuidelineMutation>;
|
166
|
+
deleteMedicalGuidelines(): Promise<Types.DeleteMedicalGuidelinesMutation>;
|
167
|
+
deleteAllMedicalGuidelines(): Promise<Types.DeleteAllMedicalGuidelinesMutation>;
|
168
|
+
getMedicalGuideline(id: string): Promise<Types.GetMedicalGuidelineQuery>;
|
169
|
+
queryMedicalGuidelines(filter?: Types.MedicalGuidelineFilter): Promise<Types.QueryMedicalGuidelinesQuery>;
|
170
|
+
createMedicalDrug(MedicalDrug: Types.MedicalDrugInput): Promise<Types.CreateMedicalDrugMutation>;
|
171
|
+
updateMedicalDrug(MedicalDrug: Types.MedicalDrugUpdateInput): Promise<Types.UpdateMedicalDrugMutation>;
|
172
|
+
deleteMedicalDrug(id: string): Promise<Types.DeleteMedicalDrugMutation>;
|
173
|
+
deleteMedicalDrugs(): Promise<Types.DeleteMedicalDrugsMutation>;
|
174
|
+
deleteAllMedicalDrugs(): Promise<Types.DeleteAllMedicalDrugsMutation>;
|
175
|
+
getMedicalDrug(id: string): Promise<Types.GetMedicalDrugQuery>;
|
176
|
+
queryMedicalDrugs(filter?: Types.MedicalDrugFilter): Promise<Types.QueryMedicalDrugsQuery>;
|
177
|
+
createMedicalIndication(MedicalIndication: Types.MedicalIndicationInput): Promise<Types.CreateMedicalIndicationMutation>;
|
178
|
+
updateMedicalIndication(MedicalIndication: Types.MedicalIndicationUpdateInput): Promise<Types.UpdateMedicalIndicationMutation>;
|
179
|
+
deleteMedicalIndication(id: string): Promise<Types.DeleteMedicalIndicationMutation>;
|
180
|
+
deleteMedicalIndications(): Promise<Types.DeleteMedicalIndicationsMutation>;
|
181
|
+
deleteAllMedicalIndications(): Promise<Types.DeleteAllMedicalIndicationsMutation>;
|
182
|
+
getMedicalIndication(id: string): Promise<Types.GetMedicalIndicationQuery>;
|
183
|
+
queryMedicalIndications(filter?: Types.MedicalIndicationFilter): Promise<Types.QueryMedicalIndicationsQuery>;
|
184
|
+
createMedicalContraindication(MedicalContraindication: Types.MedicalContraindicationInput): Promise<Types.CreateMedicalContraindicationMutation>;
|
185
|
+
updateMedicalContraindication(MedicalContraindication: Types.MedicalContraindicationUpdateInput): Promise<Types.UpdateMedicalContraindicationMutation>;
|
186
|
+
deleteMedicalContraindication(id: string): Promise<Types.DeleteMedicalContraindicationMutation>;
|
187
|
+
deleteMedicalContraindications(): Promise<Types.DeleteMedicalContraindicationsMutation>;
|
188
|
+
deleteAllMedicalContraindications(): Promise<Types.DeleteAllMedicalContraindicationsMutation>;
|
189
|
+
getMedicalContraindication(id: string): Promise<Types.GetMedicalContraindicationQuery>;
|
190
|
+
queryMedicalContraindications(filter?: Types.MedicalContraindicationFilter): Promise<Types.QueryMedicalContraindicationsQuery>;
|
191
|
+
createMedicalTest(MedicalTest: Types.MedicalTestInput): Promise<Types.CreateMedicalTestMutation>;
|
192
|
+
updateMedicalTest(MedicalTest: Types.MedicalTestUpdateInput): Promise<Types.UpdateMedicalTestMutation>;
|
193
|
+
deleteMedicalTest(id: string): Promise<Types.DeleteMedicalTestMutation>;
|
194
|
+
deleteMedicalTests(): Promise<Types.DeleteMedicalTestsMutation>;
|
195
|
+
deleteAllMedicalTests(): Promise<Types.DeleteAllMedicalTestsMutation>;
|
196
|
+
getMedicalTest(id: string): Promise<Types.GetMedicalTestQuery>;
|
197
|
+
queryMedicalTests(filter?: Types.MedicalTestFilter): Promise<Types.QueryMedicalTestsQuery>;
|
198
|
+
createMedicalDevice(MedicalDevice: Types.MedicalDeviceInput): Promise<Types.CreateMedicalDeviceMutation>;
|
199
|
+
updateMedicalDevice(MedicalDevice: Types.MedicalDeviceUpdateInput): Promise<Types.UpdateMedicalDeviceMutation>;
|
200
|
+
deleteMedicalDevice(id: string): Promise<Types.DeleteMedicalDeviceMutation>;
|
201
|
+
deleteMedicalDevices(): Promise<Types.DeleteMedicalDevicesMutation>;
|
202
|
+
deleteAllMedicalDevices(): Promise<Types.DeleteAllMedicalDevicesMutation>;
|
203
|
+
getMedicalDevice(id: string): Promise<Types.GetMedicalDeviceQuery>;
|
204
|
+
queryMedicalDevices(filter?: Types.MedicalDeviceFilter): Promise<Types.QueryMedicalDevicesQuery>;
|
205
|
+
createMedicalProcedure(MedicalProcedure: Types.MedicalProcedureInput): Promise<Types.CreateMedicalProcedureMutation>;
|
206
|
+
updateMedicalProcedure(MedicalProcedure: Types.MedicalProcedureUpdateInput): Promise<Types.UpdateMedicalProcedureMutation>;
|
207
|
+
deleteMedicalProcedure(id: string): Promise<Types.DeleteMedicalProcedureMutation>;
|
208
|
+
deleteMedicalProcedures(): Promise<Types.DeleteMedicalProceduresMutation>;
|
209
|
+
deleteAllMedicalProcedures(): Promise<Types.DeleteAllMedicalProceduresMutation>;
|
210
|
+
getMedicalProcedure(id: string): Promise<Types.GetMedicalProcedureQuery>;
|
211
|
+
queryMedicalProcedures(filter?: Types.MedicalProcedureFilter): Promise<Types.QueryMedicalProceduresQuery>;
|
212
|
+
createMedicalStudy(MedicalStudy: Types.MedicalStudyInput): Promise<Types.CreateMedicalStudyMutation>;
|
213
|
+
updateMedicalStudy(MedicalStudy: Types.MedicalStudyUpdateInput): Promise<Types.UpdateMedicalStudyMutation>;
|
214
|
+
deleteMedicalStudy(id: string): Promise<Types.DeleteMedicalStudyMutation>;
|
215
|
+
deleteMedicalStudies(): Promise<Types.DeleteMedicalStudiesMutation>;
|
216
|
+
deleteAllMedicalStudies(): Promise<Types.DeleteAllMedicalStudiesMutation>;
|
217
|
+
getMedicalStudy(id: string): Promise<Types.GetMedicalStudyQuery>;
|
218
|
+
queryMedicalStudies(filter?: Types.MedicalStudyFilter): Promise<Types.QueryMedicalStudiesQuery>;
|
219
|
+
createMedicalDrugClass(MedicalDrugClass: Types.MedicalDrugClassInput): Promise<Types.CreateMedicalDrugClassMutation>;
|
220
|
+
updateMedicalDrugClass(MedicalDrugClass: Types.MedicalDrugClassUpdateInput): Promise<Types.UpdateMedicalDrugClassMutation>;
|
221
|
+
deleteMedicalDrugClass(id: string): Promise<Types.DeleteMedicalDrugClassMutation>;
|
222
|
+
deleteMedicalDrugClasses(): Promise<Types.DeleteMedicalDrugClassesMutation>;
|
223
|
+
deleteAllMedicalDrugClasses(): Promise<Types.DeleteAllMedicalDrugClassesMutation>;
|
224
|
+
getMedicalDrugClass(id: string): Promise<Types.GetMedicalDrugClassQuery>;
|
225
|
+
queryMedicalDrugClasses(filter?: Types.MedicalDrugClassFilter): Promise<Types.QueryMedicalDrugClassesQuery>;
|
226
|
+
createMedicalTherapy(MedicalTherapy: Types.MedicalTherapyInput): Promise<Types.CreateMedicalTherapyMutation>;
|
227
|
+
updateMedicalTherapy(MedicalTherapy: Types.MedicalTherapyUpdateInput): Promise<Types.UpdateMedicalTherapyMutation>;
|
228
|
+
deleteMedicalTherapy(id: string): Promise<Types.DeleteMedicalTherapyMutation>;
|
229
|
+
deleteMedicalTherapies(): Promise<Types.DeleteMedicalTherapiesMutation>;
|
230
|
+
deleteAllMedicalTherapies(): Promise<Types.DeleteAllMedicalTherapiesMutation>;
|
231
|
+
getMedicalTherapy(id: string): Promise<Types.GetMedicalTherapyQuery>;
|
232
|
+
queryMedicalTherapies(filter?: Types.MedicalTherapyFilter): Promise<Types.QueryMedicalTherapiesQuery>;
|
154
233
|
createObservation(observation: Types.ObservationInput): Promise<Types.CreateObservationMutation>;
|
155
234
|
updateObservation(observation: Types.ObservationUpdateInput): Promise<Types.UpdateObservationMutation>;
|
156
235
|
deleteObservation(id: string): Promise<Types.DeleteObservationMutation>;
|
package/dist/client.js
CHANGED
@@ -233,19 +233,24 @@ class Graphlit {
|
|
233
233
|
return this.queryAndCheckError(Documents.QueryCollections, { filter: filter });
|
234
234
|
});
|
235
235
|
}
|
236
|
-
|
236
|
+
ingestBatch(uris, workflow, collections, correlationId) {
|
237
237
|
return __awaiter(this, void 0, void 0, function* () {
|
238
|
-
return this.mutateAndCheckError(Documents.
|
238
|
+
return this.mutateAndCheckError(Documents.IngestBatch, { uris: uris, workflow: workflow, collections: collections, correlationId: correlationId });
|
239
239
|
});
|
240
240
|
}
|
241
|
-
|
241
|
+
ingestUri(uri, name, id, isSynchronous, workflow, collections, correlationId) {
|
242
242
|
return __awaiter(this, void 0, void 0, function* () {
|
243
|
-
return this.mutateAndCheckError(Documents.
|
243
|
+
return this.mutateAndCheckError(Documents.IngestUri, { uri: uri, name: name, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, correlationId: correlationId });
|
244
244
|
});
|
245
245
|
}
|
246
|
-
|
246
|
+
ingestText(name, text, textType, uri, id, isSynchronous, workflow, collections, correlationId) {
|
247
247
|
return __awaiter(this, void 0, void 0, function* () {
|
248
|
-
return this.mutateAndCheckError(Documents.
|
248
|
+
return this.mutateAndCheckError(Documents.IngestText, { name: name, text: text, textType: textType, uri: uri, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, correlationId: correlationId });
|
249
|
+
});
|
250
|
+
}
|
251
|
+
ingestEncodedFile(name, data, mimeType, id, isSynchronous, workflow, collections, correlationId) {
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
253
|
+
return this.mutateAndCheckError(Documents.IngestEncodedFile, { name: name, data: data, mimeType: mimeType, id: id, isSynchronous: isSynchronous, workflow: workflow, collections: collections, correlationId: correlationId });
|
249
254
|
});
|
250
255
|
}
|
251
256
|
updateContent(content) {
|
@@ -358,9 +363,14 @@ class Graphlit {
|
|
358
363
|
return this.queryAndCheckError(Documents.QueryConversations, { filter: filter });
|
359
364
|
});
|
360
365
|
}
|
361
|
-
promptConversation(prompt, id, correlationId) {
|
366
|
+
promptConversation(prompt, id, specification, tools, correlationId) {
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
368
|
+
return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, tools: tools, correlationId: correlationId });
|
369
|
+
});
|
370
|
+
}
|
371
|
+
continueConversation(id, responses, correlationId) {
|
362
372
|
return __awaiter(this, void 0, void 0, function* () {
|
363
|
-
return this.mutateAndCheckError(Documents.
|
373
|
+
return this.mutateAndCheckError(Documents.ContinueConversation, { id: id, responses: responses, correlationId: correlationId });
|
364
374
|
});
|
365
375
|
}
|
366
376
|
publishConversation(id, connector, name, workflow, correlationId) {
|
@@ -813,6 +823,391 @@ class Graphlit {
|
|
813
823
|
return this.queryAndCheckError(Documents.QuerySoftwares, { filter: filter });
|
814
824
|
});
|
815
825
|
}
|
826
|
+
createMedicalCondition(MedicalCondition) {
|
827
|
+
return __awaiter(this, void 0, void 0, function* () {
|
828
|
+
return this.mutateAndCheckError(Documents.CreateMedicalCondition, { MedicalCondition: MedicalCondition });
|
829
|
+
});
|
830
|
+
}
|
831
|
+
updateMedicalCondition(MedicalCondition) {
|
832
|
+
return __awaiter(this, void 0, void 0, function* () {
|
833
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalCondition, { MedicalCondition: MedicalCondition });
|
834
|
+
});
|
835
|
+
}
|
836
|
+
deleteMedicalCondition(id) {
|
837
|
+
return __awaiter(this, void 0, void 0, function* () {
|
838
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalCondition, { id: id });
|
839
|
+
});
|
840
|
+
}
|
841
|
+
deleteMedicalConditions() {
|
842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
843
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalConditions);
|
844
|
+
});
|
845
|
+
}
|
846
|
+
deleteAllMedicalConditions() {
|
847
|
+
return __awaiter(this, void 0, void 0, function* () {
|
848
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalConditions);
|
849
|
+
});
|
850
|
+
}
|
851
|
+
getMedicalCondition(id) {
|
852
|
+
return __awaiter(this, void 0, void 0, function* () {
|
853
|
+
return this.queryAndCheckError(Documents.GetMedicalCondition, { id: id });
|
854
|
+
});
|
855
|
+
}
|
856
|
+
queryMedicalConditions(filter) {
|
857
|
+
return __awaiter(this, void 0, void 0, function* () {
|
858
|
+
return this.queryAndCheckError(Documents.QueryMedicalConditions, { filter: filter });
|
859
|
+
});
|
860
|
+
}
|
861
|
+
createMedicalGuideline(MedicalGuideline) {
|
862
|
+
return __awaiter(this, void 0, void 0, function* () {
|
863
|
+
return this.mutateAndCheckError(Documents.CreateMedicalGuideline, { MedicalGuideline: MedicalGuideline });
|
864
|
+
});
|
865
|
+
}
|
866
|
+
updateMedicalGuideline(MedicalGuideline) {
|
867
|
+
return __awaiter(this, void 0, void 0, function* () {
|
868
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalGuideline, { MedicalGuideline: MedicalGuideline });
|
869
|
+
});
|
870
|
+
}
|
871
|
+
deleteMedicalGuideline(id) {
|
872
|
+
return __awaiter(this, void 0, void 0, function* () {
|
873
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalGuideline, { id: id });
|
874
|
+
});
|
875
|
+
}
|
876
|
+
deleteMedicalGuidelines() {
|
877
|
+
return __awaiter(this, void 0, void 0, function* () {
|
878
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalGuidelines);
|
879
|
+
});
|
880
|
+
}
|
881
|
+
deleteAllMedicalGuidelines() {
|
882
|
+
return __awaiter(this, void 0, void 0, function* () {
|
883
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalGuidelines);
|
884
|
+
});
|
885
|
+
}
|
886
|
+
getMedicalGuideline(id) {
|
887
|
+
return __awaiter(this, void 0, void 0, function* () {
|
888
|
+
return this.queryAndCheckError(Documents.GetMedicalGuideline, { id: id });
|
889
|
+
});
|
890
|
+
}
|
891
|
+
queryMedicalGuidelines(filter) {
|
892
|
+
return __awaiter(this, void 0, void 0, function* () {
|
893
|
+
return this.queryAndCheckError(Documents.QueryMedicalGuidelines, { filter: filter });
|
894
|
+
});
|
895
|
+
}
|
896
|
+
createMedicalDrug(MedicalDrug) {
|
897
|
+
return __awaiter(this, void 0, void 0, function* () {
|
898
|
+
return this.mutateAndCheckError(Documents.CreateMedicalDrug, { MedicalDrug: MedicalDrug });
|
899
|
+
});
|
900
|
+
}
|
901
|
+
updateMedicalDrug(MedicalDrug) {
|
902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
903
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalDrug, { MedicalDrug: MedicalDrug });
|
904
|
+
});
|
905
|
+
}
|
906
|
+
deleteMedicalDrug(id) {
|
907
|
+
return __awaiter(this, void 0, void 0, function* () {
|
908
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalDrug, { id: id });
|
909
|
+
});
|
910
|
+
}
|
911
|
+
deleteMedicalDrugs() {
|
912
|
+
return __awaiter(this, void 0, void 0, function* () {
|
913
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalDrugs);
|
914
|
+
});
|
915
|
+
}
|
916
|
+
deleteAllMedicalDrugs() {
|
917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
918
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalDrugs);
|
919
|
+
});
|
920
|
+
}
|
921
|
+
getMedicalDrug(id) {
|
922
|
+
return __awaiter(this, void 0, void 0, function* () {
|
923
|
+
return this.queryAndCheckError(Documents.GetMedicalDrug, { id: id });
|
924
|
+
});
|
925
|
+
}
|
926
|
+
queryMedicalDrugs(filter) {
|
927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
928
|
+
return this.queryAndCheckError(Documents.QueryMedicalDrugs, { filter: filter });
|
929
|
+
});
|
930
|
+
}
|
931
|
+
createMedicalIndication(MedicalIndication) {
|
932
|
+
return __awaiter(this, void 0, void 0, function* () {
|
933
|
+
return this.mutateAndCheckError(Documents.CreateMedicalIndication, { MedicalIndication: MedicalIndication });
|
934
|
+
});
|
935
|
+
}
|
936
|
+
updateMedicalIndication(MedicalIndication) {
|
937
|
+
return __awaiter(this, void 0, void 0, function* () {
|
938
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalIndication, { MedicalIndication: MedicalIndication });
|
939
|
+
});
|
940
|
+
}
|
941
|
+
deleteMedicalIndication(id) {
|
942
|
+
return __awaiter(this, void 0, void 0, function* () {
|
943
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalIndication, { id: id });
|
944
|
+
});
|
945
|
+
}
|
946
|
+
deleteMedicalIndications() {
|
947
|
+
return __awaiter(this, void 0, void 0, function* () {
|
948
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalIndications);
|
949
|
+
});
|
950
|
+
}
|
951
|
+
deleteAllMedicalIndications() {
|
952
|
+
return __awaiter(this, void 0, void 0, function* () {
|
953
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalIndications);
|
954
|
+
});
|
955
|
+
}
|
956
|
+
getMedicalIndication(id) {
|
957
|
+
return __awaiter(this, void 0, void 0, function* () {
|
958
|
+
return this.queryAndCheckError(Documents.GetMedicalIndication, { id: id });
|
959
|
+
});
|
960
|
+
}
|
961
|
+
queryMedicalIndications(filter) {
|
962
|
+
return __awaiter(this, void 0, void 0, function* () {
|
963
|
+
return this.queryAndCheckError(Documents.QueryMedicalIndications, { filter: filter });
|
964
|
+
});
|
965
|
+
}
|
966
|
+
createMedicalContraindication(MedicalContraindication) {
|
967
|
+
return __awaiter(this, void 0, void 0, function* () {
|
968
|
+
return this.mutateAndCheckError(Documents.CreateMedicalContraindication, { MedicalContraindication: MedicalContraindication });
|
969
|
+
});
|
970
|
+
}
|
971
|
+
updateMedicalContraindication(MedicalContraindication) {
|
972
|
+
return __awaiter(this, void 0, void 0, function* () {
|
973
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalContraindication, { MedicalContraindication: MedicalContraindication });
|
974
|
+
});
|
975
|
+
}
|
976
|
+
deleteMedicalContraindication(id) {
|
977
|
+
return __awaiter(this, void 0, void 0, function* () {
|
978
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalContraindication, { id: id });
|
979
|
+
});
|
980
|
+
}
|
981
|
+
deleteMedicalContraindications() {
|
982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
983
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalContraindications);
|
984
|
+
});
|
985
|
+
}
|
986
|
+
deleteAllMedicalContraindications() {
|
987
|
+
return __awaiter(this, void 0, void 0, function* () {
|
988
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalContraindications);
|
989
|
+
});
|
990
|
+
}
|
991
|
+
getMedicalContraindication(id) {
|
992
|
+
return __awaiter(this, void 0, void 0, function* () {
|
993
|
+
return this.queryAndCheckError(Documents.GetMedicalContraindication, { id: id });
|
994
|
+
});
|
995
|
+
}
|
996
|
+
queryMedicalContraindications(filter) {
|
997
|
+
return __awaiter(this, void 0, void 0, function* () {
|
998
|
+
return this.queryAndCheckError(Documents.QueryMedicalContraindications, { filter: filter });
|
999
|
+
});
|
1000
|
+
}
|
1001
|
+
createMedicalTest(MedicalTest) {
|
1002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1003
|
+
return this.mutateAndCheckError(Documents.CreateMedicalTest, { MedicalTest: MedicalTest });
|
1004
|
+
});
|
1005
|
+
}
|
1006
|
+
updateMedicalTest(MedicalTest) {
|
1007
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1008
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalTest, { MedicalTest: MedicalTest });
|
1009
|
+
});
|
1010
|
+
}
|
1011
|
+
deleteMedicalTest(id) {
|
1012
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1013
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalTest, { id: id });
|
1014
|
+
});
|
1015
|
+
}
|
1016
|
+
deleteMedicalTests() {
|
1017
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1018
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalTests);
|
1019
|
+
});
|
1020
|
+
}
|
1021
|
+
deleteAllMedicalTests() {
|
1022
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1023
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalTests);
|
1024
|
+
});
|
1025
|
+
}
|
1026
|
+
getMedicalTest(id) {
|
1027
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1028
|
+
return this.queryAndCheckError(Documents.GetMedicalTest, { id: id });
|
1029
|
+
});
|
1030
|
+
}
|
1031
|
+
queryMedicalTests(filter) {
|
1032
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1033
|
+
return this.queryAndCheckError(Documents.QueryMedicalTests, { filter: filter });
|
1034
|
+
});
|
1035
|
+
}
|
1036
|
+
createMedicalDevice(MedicalDevice) {
|
1037
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1038
|
+
return this.mutateAndCheckError(Documents.CreateMedicalDevice, { MedicalDevice: MedicalDevice });
|
1039
|
+
});
|
1040
|
+
}
|
1041
|
+
updateMedicalDevice(MedicalDevice) {
|
1042
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1043
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalDevice, { MedicalDevice: MedicalDevice });
|
1044
|
+
});
|
1045
|
+
}
|
1046
|
+
deleteMedicalDevice(id) {
|
1047
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1048
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalDevice, { id: id });
|
1049
|
+
});
|
1050
|
+
}
|
1051
|
+
deleteMedicalDevices() {
|
1052
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1053
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalDevices);
|
1054
|
+
});
|
1055
|
+
}
|
1056
|
+
deleteAllMedicalDevices() {
|
1057
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1058
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalDevices);
|
1059
|
+
});
|
1060
|
+
}
|
1061
|
+
getMedicalDevice(id) {
|
1062
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1063
|
+
return this.queryAndCheckError(Documents.GetMedicalDevice, { id: id });
|
1064
|
+
});
|
1065
|
+
}
|
1066
|
+
queryMedicalDevices(filter) {
|
1067
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1068
|
+
return this.queryAndCheckError(Documents.QueryMedicalDevices, { filter: filter });
|
1069
|
+
});
|
1070
|
+
}
|
1071
|
+
createMedicalProcedure(MedicalProcedure) {
|
1072
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1073
|
+
return this.mutateAndCheckError(Documents.CreateMedicalProcedure, { MedicalProcedure: MedicalProcedure });
|
1074
|
+
});
|
1075
|
+
}
|
1076
|
+
updateMedicalProcedure(MedicalProcedure) {
|
1077
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1078
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalProcedure, { MedicalProcedure: MedicalProcedure });
|
1079
|
+
});
|
1080
|
+
}
|
1081
|
+
deleteMedicalProcedure(id) {
|
1082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1083
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalProcedure, { id: id });
|
1084
|
+
});
|
1085
|
+
}
|
1086
|
+
deleteMedicalProcedures() {
|
1087
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1088
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalProcedures);
|
1089
|
+
});
|
1090
|
+
}
|
1091
|
+
deleteAllMedicalProcedures() {
|
1092
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1093
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalProcedures);
|
1094
|
+
});
|
1095
|
+
}
|
1096
|
+
getMedicalProcedure(id) {
|
1097
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1098
|
+
return this.queryAndCheckError(Documents.GetMedicalProcedure, { id: id });
|
1099
|
+
});
|
1100
|
+
}
|
1101
|
+
queryMedicalProcedures(filter) {
|
1102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1103
|
+
return this.queryAndCheckError(Documents.QueryMedicalProcedures, { filter: filter });
|
1104
|
+
});
|
1105
|
+
}
|
1106
|
+
createMedicalStudy(MedicalStudy) {
|
1107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1108
|
+
return this.mutateAndCheckError(Documents.CreateMedicalStudy, { MedicalStudy: MedicalStudy });
|
1109
|
+
});
|
1110
|
+
}
|
1111
|
+
updateMedicalStudy(MedicalStudy) {
|
1112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1113
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalStudy, { MedicalStudy: MedicalStudy });
|
1114
|
+
});
|
1115
|
+
}
|
1116
|
+
deleteMedicalStudy(id) {
|
1117
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1118
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalStudy, { id: id });
|
1119
|
+
});
|
1120
|
+
}
|
1121
|
+
deleteMedicalStudies() {
|
1122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1123
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalStudies);
|
1124
|
+
});
|
1125
|
+
}
|
1126
|
+
deleteAllMedicalStudies() {
|
1127
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1128
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalStudies);
|
1129
|
+
});
|
1130
|
+
}
|
1131
|
+
getMedicalStudy(id) {
|
1132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1133
|
+
return this.queryAndCheckError(Documents.GetMedicalStudy, { id: id });
|
1134
|
+
});
|
1135
|
+
}
|
1136
|
+
queryMedicalStudies(filter) {
|
1137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1138
|
+
return this.queryAndCheckError(Documents.QueryMedicalStudies, { filter: filter });
|
1139
|
+
});
|
1140
|
+
}
|
1141
|
+
createMedicalDrugClass(MedicalDrugClass) {
|
1142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1143
|
+
return this.mutateAndCheckError(Documents.CreateMedicalDrugClass, { MedicalDrugClass: MedicalDrugClass });
|
1144
|
+
});
|
1145
|
+
}
|
1146
|
+
updateMedicalDrugClass(MedicalDrugClass) {
|
1147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1148
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalDrugClass, { MedicalDrugClass: MedicalDrugClass });
|
1149
|
+
});
|
1150
|
+
}
|
1151
|
+
deleteMedicalDrugClass(id) {
|
1152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1153
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalDrugClass, { id: id });
|
1154
|
+
});
|
1155
|
+
}
|
1156
|
+
deleteMedicalDrugClasses() {
|
1157
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1158
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalDrugClasses);
|
1159
|
+
});
|
1160
|
+
}
|
1161
|
+
deleteAllMedicalDrugClasses() {
|
1162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1163
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalDrugClasses);
|
1164
|
+
});
|
1165
|
+
}
|
1166
|
+
getMedicalDrugClass(id) {
|
1167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1168
|
+
return this.queryAndCheckError(Documents.GetMedicalDrugClass, { id: id });
|
1169
|
+
});
|
1170
|
+
}
|
1171
|
+
queryMedicalDrugClasses(filter) {
|
1172
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1173
|
+
return this.queryAndCheckError(Documents.QueryMedicalDrugClasses, { filter: filter });
|
1174
|
+
});
|
1175
|
+
}
|
1176
|
+
createMedicalTherapy(MedicalTherapy) {
|
1177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1178
|
+
return this.mutateAndCheckError(Documents.CreateMedicalTherapy, { MedicalTherapy: MedicalTherapy });
|
1179
|
+
});
|
1180
|
+
}
|
1181
|
+
updateMedicalTherapy(MedicalTherapy) {
|
1182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1183
|
+
return this.mutateAndCheckError(Documents.UpdateMedicalTherapy, { MedicalTherapy: MedicalTherapy });
|
1184
|
+
});
|
1185
|
+
}
|
1186
|
+
deleteMedicalTherapy(id) {
|
1187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1188
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalTherapy, { id: id });
|
1189
|
+
});
|
1190
|
+
}
|
1191
|
+
deleteMedicalTherapies() {
|
1192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1193
|
+
return this.mutateAndCheckError(Documents.DeleteMedicalTherapies);
|
1194
|
+
});
|
1195
|
+
}
|
1196
|
+
deleteAllMedicalTherapies() {
|
1197
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1198
|
+
return this.mutateAndCheckError(Documents.DeleteAllMedicalTherapies);
|
1199
|
+
});
|
1200
|
+
}
|
1201
|
+
getMedicalTherapy(id) {
|
1202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1203
|
+
return this.queryAndCheckError(Documents.GetMedicalTherapy, { id: id });
|
1204
|
+
});
|
1205
|
+
}
|
1206
|
+
queryMedicalTherapies(filter) {
|
1207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1208
|
+
return this.queryAndCheckError(Documents.QueryMedicalTherapies, { filter: filter });
|
1209
|
+
});
|
1210
|
+
}
|
816
1211
|
createObservation(observation) {
|
817
1212
|
return __awaiter(this, void 0, void 0, function* () {
|
818
1213
|
return this.mutateAndCheckError(Documents.CreateObservation, { observation: observation });
|
@@ -32,6 +32,7 @@ export declare const DeleteContent: import("graphql").DocumentNode;
|
|
32
32
|
export declare const DeleteContents: import("graphql").DocumentNode;
|
33
33
|
export declare const ExtractContents: import("graphql").DocumentNode;
|
34
34
|
export declare const GetContent: import("graphql").DocumentNode;
|
35
|
+
export declare const IngestBatch: import("graphql").DocumentNode;
|
35
36
|
export declare const IngestEncodedFile: import("graphql").DocumentNode;
|
36
37
|
export declare const IngestText: import("graphql").DocumentNode;
|
37
38
|
export declare const IngestUri: import("graphql").DocumentNode;
|
@@ -45,6 +46,7 @@ export declare const SummarizeContents: import("graphql").DocumentNode;
|
|
45
46
|
export declare const UpdateContent: import("graphql").DocumentNode;
|
46
47
|
export declare const ClearConversation: import("graphql").DocumentNode;
|
47
48
|
export declare const CloseConversation: import("graphql").DocumentNode;
|
49
|
+
export declare const ContinueConversation: import("graphql").DocumentNode;
|
48
50
|
export declare const CountConversations: import("graphql").DocumentNode;
|
49
51
|
export declare const CreateConversation: import("graphql").DocumentNode;
|
50
52
|
export declare const DeleteAllConversations: import("graphql").DocumentNode;
|