graphlit-client 1.0.20250313001 → 1.0.20250315001
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
@@ -99,23 +99,28 @@ declare class Graphlit {
|
|
99
99
|
disableFeed(id: string): Promise<Types.DeleteFeedMutation>;
|
100
100
|
getFeed(id: string): Promise<Types.GetFeedQuery>;
|
101
101
|
queryFeeds(filter?: Types.FeedFilter): Promise<Types.QueryFeedsQuery>;
|
102
|
+
feedExists(filter?: Types.FeedFilter): Promise<Types.FeedExistsQuery>;
|
102
103
|
isFeedDone(id: string): Promise<Types.IsFeedDoneQuery>;
|
103
104
|
promptSpecifications(prompt: string, ids: [string]): Promise<Types.PromptSpecificationsMutation>;
|
104
105
|
createSpecification(specification: Types.SpecificationInput): Promise<Types.CreateSpecificationMutation>;
|
105
106
|
updateSpecification(specification: Types.SpecificationUpdateInput): Promise<Types.UpdateSpecificationMutation>;
|
107
|
+
upsertSpecification(specification: Types.SpecificationInput): Promise<Types.UpsertSpecificationMutation>;
|
106
108
|
deleteSpecification(id: string): Promise<Types.DeleteSpecificationMutation>;
|
107
109
|
deleteSpecifications(ids: [string], isSynchronous?: boolean): Promise<Types.DeleteSpecificationsMutation>;
|
108
110
|
deleteAllSpecifications(filter?: Types.SpecificationFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllSpecificationsMutation>;
|
109
111
|
getSpecification(id: string): Promise<Types.GetSpecificationQuery>;
|
110
112
|
querySpecifications(filter?: Types.SpecificationFilter): Promise<Types.QuerySpecificationsQuery>;
|
113
|
+
specificationExists(filter?: Types.SpecificationFilter): Promise<Types.SpecificationExistsQuery>;
|
111
114
|
queryModels(filter?: Types.ModelFilter): Promise<Types.QueryModelsQuery>;
|
112
115
|
createWorkflow(workflow: Types.WorkflowInput): Promise<Types.CreateWorkflowMutation>;
|
113
116
|
updateWorkflow(workflow: Types.WorkflowUpdateInput): Promise<Types.UpdateWorkflowMutation>;
|
117
|
+
upsertWorkflow(workflow: Types.WorkflowInput): Promise<Types.UpsertWorkflowMutation>;
|
114
118
|
deleteWorkflow(id: string): Promise<Types.DeleteWorkflowMutation>;
|
115
119
|
deleteWorkflows(ids: [string], isSynchronous?: boolean): Promise<Types.DeleteWorkflowsMutation>;
|
116
120
|
deleteAllWorkflows(filter?: Types.WorkflowFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllWorkflowsMutation>;
|
117
121
|
getWorkflow(id: string): Promise<Types.GetWorkflowQuery>;
|
118
122
|
queryWorkflows(filter?: Types.WorkflowFilter): Promise<Types.QueryWorkflowsQuery>;
|
123
|
+
workflowExists(filter?: Types.WorkflowFilter): Promise<Types.WorkflowExistsQuery>;
|
119
124
|
createUser(user: Types.UserInput): Promise<Types.CreateUserMutation>;
|
120
125
|
updateUser(user: Types.UserUpdateInput): Promise<Types.UpdateUserMutation>;
|
121
126
|
deleteUser(id: string): Promise<Types.DeleteUserMutation>;
|
@@ -125,6 +130,7 @@ declare class Graphlit {
|
|
125
130
|
disableUser(id: string): Promise<Types.DeleteUserMutation>;
|
126
131
|
createCategory(category: Types.CategoryInput): Promise<Types.CreateCategoryMutation>;
|
127
132
|
updateCategory(category: Types.CategoryUpdateInput): Promise<Types.UpdateCategoryMutation>;
|
133
|
+
upsertCategory(category: Types.CategoryInput): Promise<Types.UpsertCategoryMutation>;
|
128
134
|
deleteCategory(id: string): Promise<Types.DeleteCategoryMutation>;
|
129
135
|
deleteCategories(ids: [string], isSynchronous?: boolean): Promise<Types.DeleteCategoriesMutation>;
|
130
136
|
deleteAllCategories(filter?: Types.CategoryFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllCategoriesMutation>;
|
@@ -132,6 +138,7 @@ declare class Graphlit {
|
|
132
138
|
queryCategories(filter?: Types.CategoryFilter): Promise<Types.QueryCategoriesQuery>;
|
133
139
|
createLabel(label: Types.LabelInput): Promise<Types.CreateLabelMutation>;
|
134
140
|
updateLabel(label: Types.LabelUpdateInput): Promise<Types.UpdateLabelMutation>;
|
141
|
+
upsertLabel(label: Types.LabelInput): Promise<Types.UpsertLabelMutation>;
|
135
142
|
deleteLabel(id: string): Promise<Types.DeleteLabelMutation>;
|
136
143
|
deleteLabels(ids: [string], isSynchronous?: boolean): Promise<Types.DeleteLabelsMutation>;
|
137
144
|
deleteAllLabels(filter?: Types.LabelFilter, isSynchronous?: boolean, correlationId?: string): Promise<Types.DeleteAllLabelsMutation>;
|
package/dist/client.js
CHANGED
@@ -553,6 +553,11 @@ class Graphlit {
|
|
553
553
|
return this.queryAndCheckError(Documents.QueryFeeds, { filter: filter });
|
554
554
|
});
|
555
555
|
}
|
556
|
+
feedExists(filter) {
|
557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
558
|
+
return this.queryAndCheckError(Documents.FeedExists, { filter: filter });
|
559
|
+
});
|
560
|
+
}
|
556
561
|
isFeedDone(id) {
|
557
562
|
return __awaiter(this, void 0, void 0, function* () {
|
558
563
|
return this.queryAndCheckError(Documents.IsFeedDone, { id: id });
|
@@ -573,6 +578,11 @@ class Graphlit {
|
|
573
578
|
return this.mutateAndCheckError(Documents.UpdateSpecification, { specification: specification });
|
574
579
|
});
|
575
580
|
}
|
581
|
+
upsertSpecification(specification) {
|
582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
583
|
+
return this.mutateAndCheckError(Documents.UpsertSpecification, { specification: specification });
|
584
|
+
});
|
585
|
+
}
|
576
586
|
deleteSpecification(id) {
|
577
587
|
return __awaiter(this, void 0, void 0, function* () {
|
578
588
|
return this.mutateAndCheckError(Documents.DeleteSpecification, { id: id });
|
@@ -598,6 +608,11 @@ class Graphlit {
|
|
598
608
|
return this.queryAndCheckError(Documents.QuerySpecifications, { filter: filter });
|
599
609
|
});
|
600
610
|
}
|
611
|
+
specificationExists(filter) {
|
612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
613
|
+
return this.queryAndCheckError(Documents.SpecificationExists, { filter: filter });
|
614
|
+
});
|
615
|
+
}
|
601
616
|
queryModels(filter) {
|
602
617
|
return __awaiter(this, void 0, void 0, function* () {
|
603
618
|
return this.queryAndCheckError(Documents.QueryModels, { filter: filter });
|
@@ -613,6 +628,11 @@ class Graphlit {
|
|
613
628
|
return this.mutateAndCheckError(Documents.UpdateWorkflow, { workflow: workflow });
|
614
629
|
});
|
615
630
|
}
|
631
|
+
upsertWorkflow(workflow) {
|
632
|
+
return __awaiter(this, void 0, void 0, function* () {
|
633
|
+
return this.mutateAndCheckError(Documents.UpsertWorkflow, { workflow: workflow });
|
634
|
+
});
|
635
|
+
}
|
616
636
|
deleteWorkflow(id) {
|
617
637
|
return __awaiter(this, void 0, void 0, function* () {
|
618
638
|
return this.mutateAndCheckError(Documents.DeleteWorkflow, { id: id });
|
@@ -638,6 +658,11 @@ class Graphlit {
|
|
638
658
|
return this.queryAndCheckError(Documents.QueryWorkflows, { filter: filter });
|
639
659
|
});
|
640
660
|
}
|
661
|
+
workflowExists(filter) {
|
662
|
+
return __awaiter(this, void 0, void 0, function* () {
|
663
|
+
return this.queryAndCheckError(Documents.WorkflowExists, { filter: filter });
|
664
|
+
});
|
665
|
+
}
|
641
666
|
createUser(user) {
|
642
667
|
return __awaiter(this, void 0, void 0, function* () {
|
643
668
|
return this.mutateAndCheckError(Documents.CreateUser, { user: user });
|
@@ -683,6 +708,11 @@ class Graphlit {
|
|
683
708
|
return this.mutateAndCheckError(Documents.UpdateCategory, { category: category });
|
684
709
|
});
|
685
710
|
}
|
711
|
+
upsertCategory(category) {
|
712
|
+
return __awaiter(this, void 0, void 0, function* () {
|
713
|
+
return this.mutateAndCheckError(Documents.UpsertCategory, { category: category });
|
714
|
+
});
|
715
|
+
}
|
686
716
|
deleteCategory(id) {
|
687
717
|
return __awaiter(this, void 0, void 0, function* () {
|
688
718
|
return this.mutateAndCheckError(Documents.DeleteCategory, { id: id });
|
@@ -718,6 +748,11 @@ class Graphlit {
|
|
718
748
|
return this.mutateAndCheckError(Documents.UpdateLabel, { label: label });
|
719
749
|
});
|
720
750
|
}
|
751
|
+
upsertLabel(label) {
|
752
|
+
return __awaiter(this, void 0, void 0, function* () {
|
753
|
+
return this.mutateAndCheckError(Documents.UpsertLabel, { label: label });
|
754
|
+
});
|
755
|
+
}
|
721
756
|
deleteLabel(id) {
|
722
757
|
return __awaiter(this, void 0, void 0, function* () {
|
723
758
|
return this.mutateAndCheckError(Documents.DeleteLabel, { id: id });
|
@@ -16,6 +16,7 @@ export declare const DeleteCategory: import("graphql").DocumentNode;
|
|
16
16
|
export declare const GetCategory: import("graphql").DocumentNode;
|
17
17
|
export declare const QueryCategories: import("graphql").DocumentNode;
|
18
18
|
export declare const UpdateCategory: import("graphql").DocumentNode;
|
19
|
+
export declare const UpsertCategory: import("graphql").DocumentNode;
|
19
20
|
export declare const AddContentsToCollections: import("graphql").DocumentNode;
|
20
21
|
export declare const CountCollections: import("graphql").DocumentNode;
|
21
22
|
export declare const CreateCollection: import("graphql").DocumentNode;
|
@@ -88,6 +89,7 @@ export declare const DeleteFeed: import("graphql").DocumentNode;
|
|
88
89
|
export declare const DeleteFeeds: import("graphql").DocumentNode;
|
89
90
|
export declare const DisableFeed: import("graphql").DocumentNode;
|
90
91
|
export declare const EnableFeed: import("graphql").DocumentNode;
|
92
|
+
export declare const FeedExists: import("graphql").DocumentNode;
|
91
93
|
export declare const GetFeed: import("graphql").DocumentNode;
|
92
94
|
export declare const GetSharePointConsentUri: import("graphql").DocumentNode;
|
93
95
|
export declare const IsFeedDone: import("graphql").DocumentNode;
|
@@ -108,6 +110,7 @@ export declare const DeleteLabels: import("graphql").DocumentNode;
|
|
108
110
|
export declare const GetLabel: import("graphql").DocumentNode;
|
109
111
|
export declare const QueryLabels: import("graphql").DocumentNode;
|
110
112
|
export declare const UpdateLabel: import("graphql").DocumentNode;
|
113
|
+
export declare const UpsertLabel: import("graphql").DocumentNode;
|
111
114
|
export declare const CountMedicalConditions: import("graphql").DocumentNode;
|
112
115
|
export declare const CreateMedicalCondition: import("graphql").DocumentNode;
|
113
116
|
export declare const DeleteAllMedicalConditions: import("graphql").DocumentNode;
|
@@ -265,7 +268,9 @@ export declare const GetSpecification: import("graphql").DocumentNode;
|
|
265
268
|
export declare const PromptSpecifications: import("graphql").DocumentNode;
|
266
269
|
export declare const QueryModels: import("graphql").DocumentNode;
|
267
270
|
export declare const QuerySpecifications: import("graphql").DocumentNode;
|
271
|
+
export declare const SpecificationExists: import("graphql").DocumentNode;
|
268
272
|
export declare const UpdateSpecification: import("graphql").DocumentNode;
|
273
|
+
export declare const UpsertSpecification: import("graphql").DocumentNode;
|
269
274
|
export declare const CountUsers: import("graphql").DocumentNode;
|
270
275
|
export declare const CreateUser: import("graphql").DocumentNode;
|
271
276
|
export declare const DeleteUser: import("graphql").DocumentNode;
|
@@ -282,3 +287,5 @@ export declare const DeleteWorkflows: import("graphql").DocumentNode;
|
|
282
287
|
export declare const GetWorkflow: import("graphql").DocumentNode;
|
283
288
|
export declare const QueryWorkflows: import("graphql").DocumentNode;
|
284
289
|
export declare const UpdateWorkflow: import("graphql").DocumentNode;
|
290
|
+
export declare const UpsertWorkflow: import("graphql").DocumentNode;
|
291
|
+
export declare const WorkflowExists: import("graphql").DocumentNode;
|