graphlit-client 1.0.20250105001 → 1.0.20250110001
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
@@ -73,7 +73,7 @@ declare class Graphlit {
|
|
73
73
|
reviseEncodedImage(prompt: string, mimeType: string, data: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseEncodedImageMutation>;
|
74
74
|
reviseText(prompt: string, text: string, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseTextMutation>;
|
75
75
|
reviseContent(prompt: string, content: Types.EntityReferenceInput, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseContentMutation>;
|
76
|
-
prompt(prompt
|
76
|
+
prompt(prompt?: string, mimeType?: string, data?: string, specification?: Types.EntityReferenceInput, messages?: [Types.ConversationMessageInput], correlationId?: string): Promise<Types.PromptMutation>;
|
77
77
|
formatConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, includeDetails?: boolean, correlationId?: string): Promise<Types.FormatConversationMutation>;
|
78
78
|
completeConversation(completion: string, id: string, correlationId?: string): Promise<Types.CompleteConversationMutation>;
|
79
79
|
askGraphlit(prompt: string, type?: Types.SdkTypes, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.AskGraphlitMutation>;
|
@@ -107,6 +107,13 @@ declare class Graphlit {
|
|
107
107
|
deleteAllWorkflows(): Promise<Types.DeleteAllWorkflowsMutation>;
|
108
108
|
getWorkflow(id: string): Promise<Types.GetWorkflowQuery>;
|
109
109
|
queryWorkflows(filter?: Types.WorkflowFilter): Promise<Types.QueryWorkflowsQuery>;
|
110
|
+
createUser(user: Types.UserInput): Promise<Types.CreateUserMutation>;
|
111
|
+
updateUser(user: Types.UserUpdateInput): Promise<Types.UpdateUserMutation>;
|
112
|
+
deleteUser(id: string): Promise<Types.DeleteUserMutation>;
|
113
|
+
getUser(): Promise<Types.GetUserQuery>;
|
114
|
+
queryUsers(filter?: Types.UserFilter): Promise<Types.QueryUsersQuery>;
|
115
|
+
enableUser(id: string): Promise<Types.EnableUserMutation>;
|
116
|
+
disableUser(id: string): Promise<Types.DeleteUserMutation>;
|
110
117
|
createCategory(category: Types.CategoryInput): Promise<Types.CreateCategoryMutation>;
|
111
118
|
updateCategory(category: Types.CategoryUpdateInput): Promise<Types.UpdateCategoryMutation>;
|
112
119
|
deleteCategory(id: string): Promise<Types.DeleteCategoryMutation>;
|
package/dist/client.js
CHANGED
@@ -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) {
|
@@ -593,6 +593,41 @@ class Graphlit {
|
|
593
593
|
return this.queryAndCheckError(Documents.QueryWorkflows, { filter: filter });
|
594
594
|
});
|
595
595
|
}
|
596
|
+
createUser(user) {
|
597
|
+
return __awaiter(this, void 0, void 0, function* () {
|
598
|
+
return this.mutateAndCheckError(Documents.CreateUser, { user: user });
|
599
|
+
});
|
600
|
+
}
|
601
|
+
updateUser(user) {
|
602
|
+
return __awaiter(this, void 0, void 0, function* () {
|
603
|
+
return this.mutateAndCheckError(Documents.UpdateUser, { user: user });
|
604
|
+
});
|
605
|
+
}
|
606
|
+
deleteUser(id) {
|
607
|
+
return __awaiter(this, void 0, void 0, function* () {
|
608
|
+
return this.mutateAndCheckError(Documents.DeleteUser, { id: id });
|
609
|
+
});
|
610
|
+
}
|
611
|
+
getUser() {
|
612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
613
|
+
return this.queryAndCheckError(Documents.GetUser, {});
|
614
|
+
});
|
615
|
+
}
|
616
|
+
queryUsers(filter) {
|
617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
618
|
+
return this.queryAndCheckError(Documents.QueryUsers, { filter: filter });
|
619
|
+
});
|
620
|
+
}
|
621
|
+
enableUser(id) {
|
622
|
+
return __awaiter(this, void 0, void 0, function* () {
|
623
|
+
return this.mutateAndCheckError(Documents.EnableUser, { id: id });
|
624
|
+
});
|
625
|
+
}
|
626
|
+
disableUser(id) {
|
627
|
+
return __awaiter(this, void 0, void 0, function* () {
|
628
|
+
return this.mutateAndCheckError(Documents.DisableUser, { id: id });
|
629
|
+
});
|
630
|
+
}
|
596
631
|
createCategory(category) {
|
597
632
|
return __awaiter(this, void 0, void 0, function* () {
|
598
633
|
return this.mutateAndCheckError(Documents.CreateCategory, { category: category });
|
@@ -262,6 +262,14 @@ export declare const PromptSpecifications: import("graphql").DocumentNode;
|
|
262
262
|
export declare const QueryModels: import("graphql").DocumentNode;
|
263
263
|
export declare const QuerySpecifications: import("graphql").DocumentNode;
|
264
264
|
export declare const UpdateSpecification: import("graphql").DocumentNode;
|
265
|
+
export declare const CountUsers: import("graphql").DocumentNode;
|
266
|
+
export declare const CreateUser: import("graphql").DocumentNode;
|
267
|
+
export declare const DeleteUser: import("graphql").DocumentNode;
|
268
|
+
export declare const DisableUser: import("graphql").DocumentNode;
|
269
|
+
export declare const EnableUser: import("graphql").DocumentNode;
|
270
|
+
export declare const GetUser: import("graphql").DocumentNode;
|
271
|
+
export declare const QueryUsers: import("graphql").DocumentNode;
|
272
|
+
export declare const UpdateUser: import("graphql").DocumentNode;
|
265
273
|
export declare const CountWorkflows: import("graphql").DocumentNode;
|
266
274
|
export declare const CreateWorkflow: import("graphql").DocumentNode;
|
267
275
|
export declare const DeleteAllWorkflows: import("graphql").DocumentNode;
|
@@ -8,7 +8,7 @@ exports.CountLabels = exports.UpdateFeed = exports.QuerySharePointLibraries = ex
|
|
8
8
|
exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = void 0;
|
9
9
|
exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = void 0;
|
10
10
|
exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = void 0;
|
11
|
-
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = void 0;
|
11
|
+
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpdateSpecification = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = void 0;
|
12
12
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
13
13
|
exports.CountAlerts = (0, graphql_tag_1.default) `
|
14
14
|
query CountAlerts($filter: AlertFilter) {
|
@@ -662,6 +662,8 @@ exports.DescribeEncodedImage = (0, graphql_tag_1.default) `
|
|
662
662
|
timestamp
|
663
663
|
modelService
|
664
664
|
model
|
665
|
+
data
|
666
|
+
mimeType
|
665
667
|
}
|
666
668
|
}
|
667
669
|
`;
|
@@ -792,6 +794,8 @@ exports.DescribeImage = (0, graphql_tag_1.default) `
|
|
792
794
|
timestamp
|
793
795
|
modelService
|
794
796
|
model
|
797
|
+
data
|
798
|
+
mimeType
|
795
799
|
}
|
796
800
|
}
|
797
801
|
`;
|
@@ -2417,6 +2421,8 @@ exports.AskGraphlit = (0, graphql_tag_1.default) `
|
|
2417
2421
|
timestamp
|
2418
2422
|
modelService
|
2419
2423
|
model
|
2424
|
+
data
|
2425
|
+
mimeType
|
2420
2426
|
}
|
2421
2427
|
messageCount
|
2422
2428
|
}
|
@@ -2572,6 +2578,8 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
|
|
2572
2578
|
timestamp
|
2573
2579
|
modelService
|
2574
2580
|
model
|
2581
|
+
data
|
2582
|
+
mimeType
|
2575
2583
|
}
|
2576
2584
|
messageCount
|
2577
2585
|
facets {
|
@@ -2745,6 +2753,8 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
|
|
2745
2753
|
timestamp
|
2746
2754
|
modelService
|
2747
2755
|
model
|
2756
|
+
data
|
2757
|
+
mimeType
|
2748
2758
|
}
|
2749
2759
|
}
|
2750
2760
|
}
|
@@ -2880,6 +2890,8 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
|
|
2880
2890
|
timestamp
|
2881
2891
|
modelService
|
2882
2892
|
model
|
2893
|
+
data
|
2894
|
+
mimeType
|
2883
2895
|
}
|
2884
2896
|
messageCount
|
2885
2897
|
facets {
|
@@ -3053,6 +3065,8 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
|
|
3053
3065
|
timestamp
|
3054
3066
|
modelService
|
3055
3067
|
model
|
3068
|
+
data
|
3069
|
+
mimeType
|
3056
3070
|
}
|
3057
3071
|
}
|
3058
3072
|
}
|
@@ -3235,6 +3249,8 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
|
|
3235
3249
|
timestamp
|
3236
3250
|
modelService
|
3237
3251
|
model
|
3252
|
+
data
|
3253
|
+
mimeType
|
3238
3254
|
}
|
3239
3255
|
messageCount
|
3240
3256
|
facets {
|
@@ -3408,6 +3424,8 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
|
|
3408
3424
|
timestamp
|
3409
3425
|
modelService
|
3410
3426
|
model
|
3427
|
+
data
|
3428
|
+
mimeType
|
3411
3429
|
}
|
3412
3430
|
}
|
3413
3431
|
}
|
@@ -3546,6 +3564,8 @@ exports.GetConversation = (0, graphql_tag_1.default) `
|
|
3546
3564
|
timestamp
|
3547
3565
|
modelService
|
3548
3566
|
model
|
3567
|
+
data
|
3568
|
+
mimeType
|
3549
3569
|
}
|
3550
3570
|
specification {
|
3551
3571
|
id
|
@@ -3697,9 +3717,11 @@ exports.GetConversation = (0, graphql_tag_1.default) `
|
|
3697
3717
|
}
|
3698
3718
|
`;
|
3699
3719
|
exports.Prompt = (0, graphql_tag_1.default) `
|
3700
|
-
mutation Prompt($prompt: String!, $specification: EntityReferenceInput, $messages: [ConversationMessageInput!], $correlationId: String) {
|
3720
|
+
mutation Prompt($prompt: String!, $mimeType: String, $data: String, $specification: EntityReferenceInput, $messages: [ConversationMessageInput!], $correlationId: String) {
|
3701
3721
|
prompt(
|
3702
3722
|
prompt: $prompt
|
3723
|
+
mimeType: $mimeType
|
3724
|
+
data: $data
|
3703
3725
|
specification: $specification
|
3704
3726
|
messages: $messages
|
3705
3727
|
correlationId: $correlationId
|
@@ -3827,6 +3849,8 @@ exports.Prompt = (0, graphql_tag_1.default) `
|
|
3827
3849
|
timestamp
|
3828
3850
|
modelService
|
3829
3851
|
model
|
3852
|
+
data
|
3853
|
+
mimeType
|
3830
3854
|
}
|
3831
3855
|
error
|
3832
3856
|
}
|
@@ -3966,6 +3990,8 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
|
|
3966
3990
|
timestamp
|
3967
3991
|
modelService
|
3968
3992
|
model
|
3993
|
+
data
|
3994
|
+
mimeType
|
3969
3995
|
}
|
3970
3996
|
messageCount
|
3971
3997
|
facets {
|
@@ -4139,6 +4165,8 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
|
|
4139
4165
|
timestamp
|
4140
4166
|
modelService
|
4141
4167
|
model
|
4168
|
+
data
|
4169
|
+
mimeType
|
4142
4170
|
}
|
4143
4171
|
}
|
4144
4172
|
}
|
@@ -4387,6 +4415,8 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
|
|
4387
4415
|
timestamp
|
4388
4416
|
modelService
|
4389
4417
|
model
|
4418
|
+
data
|
4419
|
+
mimeType
|
4390
4420
|
}
|
4391
4421
|
specification {
|
4392
4422
|
id
|
@@ -4670,6 +4700,8 @@ exports.ReviseContent = (0, graphql_tag_1.default) `
|
|
4670
4700
|
timestamp
|
4671
4701
|
modelService
|
4672
4702
|
model
|
4703
|
+
data
|
4704
|
+
mimeType
|
4673
4705
|
}
|
4674
4706
|
messageCount
|
4675
4707
|
}
|
@@ -4808,6 +4840,8 @@ exports.ReviseEncodedImage = (0, graphql_tag_1.default) `
|
|
4808
4840
|
timestamp
|
4809
4841
|
modelService
|
4810
4842
|
model
|
4843
|
+
data
|
4844
|
+
mimeType
|
4811
4845
|
}
|
4812
4846
|
messageCount
|
4813
4847
|
}
|
@@ -4945,6 +4979,8 @@ exports.ReviseImage = (0, graphql_tag_1.default) `
|
|
4945
4979
|
timestamp
|
4946
4980
|
modelService
|
4947
4981
|
model
|
4982
|
+
data
|
4983
|
+
mimeType
|
4948
4984
|
}
|
4949
4985
|
messageCount
|
4950
4986
|
}
|
@@ -5082,6 +5118,8 @@ exports.ReviseText = (0, graphql_tag_1.default) `
|
|
5082
5118
|
timestamp
|
5083
5119
|
modelService
|
5084
5120
|
model
|
5121
|
+
data
|
5122
|
+
mimeType
|
5085
5123
|
}
|
5086
5124
|
messageCount
|
5087
5125
|
}
|
@@ -5380,12 +5418,20 @@ exports.GetFeed = (0, graphql_tag_1.default) `
|
|
5380
5418
|
includeAttachments
|
5381
5419
|
google {
|
5382
5420
|
type
|
5421
|
+
includeSpam
|
5422
|
+
excludeSentItems
|
5423
|
+
includeDeletedItems
|
5424
|
+
inboxOnly
|
5383
5425
|
refreshToken
|
5384
5426
|
clientId
|
5385
5427
|
clientSecret
|
5386
5428
|
}
|
5387
5429
|
microsoft {
|
5388
5430
|
type
|
5431
|
+
includeSpam
|
5432
|
+
excludeSentItems
|
5433
|
+
includeDeletedItems
|
5434
|
+
inboxOnly
|
5389
5435
|
refreshToken
|
5390
5436
|
clientId
|
5391
5437
|
clientSecret
|
@@ -5611,12 +5657,20 @@ exports.QueryFeeds = (0, graphql_tag_1.default) `
|
|
5611
5657
|
includeAttachments
|
5612
5658
|
google {
|
5613
5659
|
type
|
5660
|
+
includeSpam
|
5661
|
+
excludeSentItems
|
5662
|
+
includeDeletedItems
|
5663
|
+
inboxOnly
|
5614
5664
|
refreshToken
|
5615
5665
|
clientId
|
5616
5666
|
clientSecret
|
5617
5667
|
}
|
5618
5668
|
microsoft {
|
5619
5669
|
type
|
5670
|
+
includeSpam
|
5671
|
+
excludeSentItems
|
5672
|
+
includeDeletedItems
|
5673
|
+
inboxOnly
|
5620
5674
|
refreshToken
|
5621
5675
|
clientId
|
5622
5676
|
clientSecret
|
@@ -7972,6 +8026,8 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
|
|
7972
8026
|
timestamp
|
7973
8027
|
modelService
|
7974
8028
|
model
|
8029
|
+
data
|
8030
|
+
mimeType
|
7975
8031
|
}
|
7976
8032
|
error
|
7977
8033
|
}
|
@@ -8195,6 +8251,145 @@ exports.UpdateSpecification = (0, graphql_tag_1.default) `
|
|
8195
8251
|
}
|
8196
8252
|
}
|
8197
8253
|
`;
|
8254
|
+
exports.CountUsers = (0, graphql_tag_1.default) `
|
8255
|
+
query CountUsers($filter: UserFilter) {
|
8256
|
+
countUsers(filter: $filter) {
|
8257
|
+
count
|
8258
|
+
}
|
8259
|
+
}
|
8260
|
+
`;
|
8261
|
+
exports.CreateUser = (0, graphql_tag_1.default) `
|
8262
|
+
mutation CreateUser($user: UserInput!) {
|
8263
|
+
createUser(user: $user) {
|
8264
|
+
id
|
8265
|
+
name
|
8266
|
+
state
|
8267
|
+
type
|
8268
|
+
identifier
|
8269
|
+
}
|
8270
|
+
}
|
8271
|
+
`;
|
8272
|
+
exports.DeleteUser = (0, graphql_tag_1.default) `
|
8273
|
+
mutation DeleteUser($id: ID!) {
|
8274
|
+
deleteUser(id: $id) {
|
8275
|
+
id
|
8276
|
+
state
|
8277
|
+
}
|
8278
|
+
}
|
8279
|
+
`;
|
8280
|
+
exports.DisableUser = (0, graphql_tag_1.default) `
|
8281
|
+
mutation DisableUser($id: ID!) {
|
8282
|
+
disableUser(id: $id) {
|
8283
|
+
id
|
8284
|
+
state
|
8285
|
+
}
|
8286
|
+
}
|
8287
|
+
`;
|
8288
|
+
exports.EnableUser = (0, graphql_tag_1.default) `
|
8289
|
+
mutation EnableUser($id: ID!) {
|
8290
|
+
enableUser(id: $id) {
|
8291
|
+
id
|
8292
|
+
state
|
8293
|
+
}
|
8294
|
+
}
|
8295
|
+
`;
|
8296
|
+
exports.GetUser = (0, graphql_tag_1.default) `
|
8297
|
+
query GetUser {
|
8298
|
+
user {
|
8299
|
+
id
|
8300
|
+
name
|
8301
|
+
creationDate
|
8302
|
+
relevance
|
8303
|
+
owner {
|
8304
|
+
id
|
8305
|
+
}
|
8306
|
+
state
|
8307
|
+
type
|
8308
|
+
identifier
|
8309
|
+
connectors {
|
8310
|
+
id
|
8311
|
+
name
|
8312
|
+
state
|
8313
|
+
type
|
8314
|
+
authentication {
|
8315
|
+
type
|
8316
|
+
microsoft {
|
8317
|
+
tenantId
|
8318
|
+
clientId
|
8319
|
+
clientSecret
|
8320
|
+
}
|
8321
|
+
google {
|
8322
|
+
clientId
|
8323
|
+
clientSecret
|
8324
|
+
}
|
8325
|
+
}
|
8326
|
+
integration {
|
8327
|
+
type
|
8328
|
+
uri
|
8329
|
+
slack {
|
8330
|
+
token
|
8331
|
+
channel
|
8332
|
+
}
|
8333
|
+
}
|
8334
|
+
}
|
8335
|
+
}
|
8336
|
+
}
|
8337
|
+
`;
|
8338
|
+
exports.QueryUsers = (0, graphql_tag_1.default) `
|
8339
|
+
query QueryUsers($filter: UserFilter) {
|
8340
|
+
users(filter: $filter) {
|
8341
|
+
results {
|
8342
|
+
id
|
8343
|
+
name
|
8344
|
+
creationDate
|
8345
|
+
relevance
|
8346
|
+
owner {
|
8347
|
+
id
|
8348
|
+
}
|
8349
|
+
state
|
8350
|
+
type
|
8351
|
+
identifier
|
8352
|
+
connectors {
|
8353
|
+
id
|
8354
|
+
name
|
8355
|
+
state
|
8356
|
+
type
|
8357
|
+
authentication {
|
8358
|
+
type
|
8359
|
+
microsoft {
|
8360
|
+
tenantId
|
8361
|
+
clientId
|
8362
|
+
clientSecret
|
8363
|
+
}
|
8364
|
+
google {
|
8365
|
+
clientId
|
8366
|
+
clientSecret
|
8367
|
+
}
|
8368
|
+
}
|
8369
|
+
integration {
|
8370
|
+
type
|
8371
|
+
uri
|
8372
|
+
slack {
|
8373
|
+
token
|
8374
|
+
channel
|
8375
|
+
}
|
8376
|
+
}
|
8377
|
+
}
|
8378
|
+
}
|
8379
|
+
}
|
8380
|
+
}
|
8381
|
+
`;
|
8382
|
+
exports.UpdateUser = (0, graphql_tag_1.default) `
|
8383
|
+
mutation UpdateUser($user: UserUpdateInput!) {
|
8384
|
+
updateUser(user: $user) {
|
8385
|
+
id
|
8386
|
+
name
|
8387
|
+
state
|
8388
|
+
type
|
8389
|
+
identifier
|
8390
|
+
}
|
8391
|
+
}
|
8392
|
+
`;
|
8198
8393
|
exports.CountWorkflows = (0, graphql_tag_1.default) `
|
8199
8394
|
query CountWorkflows($filter: WorkflowFilter) {
|
8200
8395
|
countWorkflows(filter: $filter) {
|
@@ -8328,6 +8523,9 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
|
|
8328
8523
|
fhir {
|
8329
8524
|
endpoint
|
8330
8525
|
}
|
8526
|
+
diffbot {
|
8527
|
+
key
|
8528
|
+
}
|
8331
8529
|
}
|
8332
8530
|
}
|
8333
8531
|
}
|
@@ -8509,6 +8707,9 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
|
|
8509
8707
|
fhir {
|
8510
8708
|
endpoint
|
8511
8709
|
}
|
8710
|
+
diffbot {
|
8711
|
+
key
|
8712
|
+
}
|
8512
8713
|
}
|
8513
8714
|
}
|
8514
8715
|
}
|
@@ -8663,6 +8864,9 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
|
|
8663
8864
|
fhir {
|
8664
8865
|
endpoint
|
8665
8866
|
}
|
8867
|
+
diffbot {
|
8868
|
+
key
|
8869
|
+
}
|
8666
8870
|
}
|
8667
8871
|
}
|
8668
8872
|
}
|
@@ -8812,6 +9016,9 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
|
|
8812
9016
|
fhir {
|
8813
9017
|
endpoint
|
8814
9018
|
}
|
9019
|
+
diffbot {
|
9020
|
+
key
|
9021
|
+
}
|
8815
9022
|
}
|
8816
9023
|
}
|
8817
9024
|
}
|