@manta-eu/client 0.12.0 → 0.13.0
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/README.md +44 -0
- package/dist/generated/graphql.d.ts +2119 -24
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +470 -12
- package/dist/generated/graphql.js.map +1 -1
- package/dist/generated/operations.d.ts +2 -0
- package/dist/generated/operations.d.ts.map +1 -0
- package/dist/generated/operations.js +165 -0
- package/dist/generated/operations.js.map +1 -0
- package/dist/graphql-clients.d.ts +2 -1
- package/dist/graphql-clients.d.ts.map +1 -1
- package/dist/graphql-clients.js +2 -1
- package/dist/graphql-clients.js.map +1 -1
- package/dist/shared/agent-types.d.ts +15 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/shared/chat-manager.d.ts +1 -1
- package/dist/shared/chat-manager.d.ts.map +1 -1
- package/dist/shared/chat-manager.js +1 -1
- package/dist/shared/chat-manager.js.map +1 -1
- package/dist/shared/constants.d.ts +6 -0
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +6 -0
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/datastore-path.d.ts +3 -0
- package/dist/shared/datastore-path.d.ts.map +1 -1
- package/dist/shared/datastore-path.js +3 -0
- package/dist/shared/datastore-path.js.map +1 -1
- package/dist/shared/login-status.d.ts +6 -0
- package/dist/shared/login-status.d.ts.map +1 -0
- package/dist/shared/login-status.js +2 -0
- package/dist/shared/login-status.js.map +1 -0
- package/dist/shared/memory-schema-limits.d.ts +17 -0
- package/dist/shared/memory-schema-limits.d.ts.map +1 -0
- package/dist/shared/memory-schema-limits.js +17 -0
- package/dist/shared/memory-schema-limits.js.map +1 -0
- package/dist/shared/memory-schema-pattern.d.ts +3 -0
- package/dist/shared/memory-schema-pattern.d.ts.map +1 -0
- package/dist/shared/memory-schema-pattern.js +16 -0
- package/dist/shared/memory-schema-pattern.js.map +1 -0
- package/dist/shared/memory-schema-property.d.ts +64 -0
- package/dist/shared/memory-schema-property.d.ts.map +1 -0
- package/dist/shared/memory-schema-property.js +195 -0
- package/dist/shared/memory-schema-property.js.map +1 -0
- package/dist/shared/memory-schema-values.d.ts +20 -0
- package/dist/shared/memory-schema-values.d.ts.map +1 -0
- package/dist/shared/memory-schema-values.js +139 -0
- package/dist/shared/memory-schema-values.js.map +1 -0
- package/dist/shared/operation-root-fields.d.ts +7 -0
- package/dist/shared/operation-root-fields.d.ts.map +1 -0
- package/dist/shared/operation-root-fields.js +33 -0
- package/dist/shared/operation-root-fields.js.map +1 -0
- package/dist/shared/rdf-namespaces.d.ts +1 -0
- package/dist/shared/rdf-namespaces.d.ts.map +1 -1
- package/dist/shared/rdf-namespaces.js +2 -0
- package/dist/shared/rdf-namespaces.js.map +1 -1
- package/dist/testing/manta-mock.d.ts +25 -0
- package/dist/testing/manta-mock.d.ts.map +1 -0
- package/dist/testing/manta-mock.js +165 -0
- package/dist/testing/manta-mock.js.map +1 -0
- package/package.json +32 -6
- package/src/generated/graphql.ts +2729 -55
- package/src/generated/operations.ts +164 -0
- package/src/graphql-clients.ts +3 -2
- package/src/shared/agent-types.ts +16 -0
- package/src/shared/chat-manager.ts +1 -1
- package/src/shared/constants.ts +11 -0
- package/src/shared/datastore-path.ts +6 -0
- package/src/shared/login-status.ts +1 -0
- package/src/shared/memory-schema-limits.ts +16 -0
- package/src/shared/memory-schema-pattern.ts +15 -0
- package/src/shared/memory-schema-property.ts +280 -0
- package/src/shared/memory-schema-values.ts +174 -0
- package/src/shared/operation-root-fields.ts +56 -0
- package/src/shared/rdf-namespaces.ts +3 -0
- package/src/testing/manta-mock.ts +208 -0
|
@@ -206,12 +206,69 @@ export var GQLMemoryKind;
|
|
|
206
206
|
GQLMemoryKind["Objective"] = "objective";
|
|
207
207
|
GQLMemoryKind["Preference"] = "preference";
|
|
208
208
|
})(GQLMemoryKind || (GQLMemoryKind = {}));
|
|
209
|
+
export var GQLMemorySchemaCreator;
|
|
210
|
+
(function (GQLMemorySchemaCreator) {
|
|
211
|
+
GQLMemorySchemaCreator["AnotherUser"] = "anotherUser";
|
|
212
|
+
GQLMemorySchemaCreator["CurrentUser"] = "currentUser";
|
|
213
|
+
GQLMemorySchemaCreator["Manta"] = "manta";
|
|
214
|
+
})(GQLMemorySchemaCreator || (GQLMemorySchemaCreator = {}));
|
|
215
|
+
export var GQLMemorySchemaMutationStatus;
|
|
216
|
+
(function (GQLMemorySchemaMutationStatus) {
|
|
217
|
+
GQLMemorySchemaMutationStatus["Blocked"] = "blocked";
|
|
218
|
+
GQLMemorySchemaMutationStatus["Conflict"] = "conflict";
|
|
219
|
+
GQLMemorySchemaMutationStatus["Invalid"] = "invalid";
|
|
220
|
+
GQLMemorySchemaMutationStatus["Limit"] = "limit";
|
|
221
|
+
GQLMemorySchemaMutationStatus["NotFound"] = "notFound";
|
|
222
|
+
GQLMemorySchemaMutationStatus["Ok"] = "ok";
|
|
223
|
+
GQLMemorySchemaMutationStatus["Preview"] = "preview";
|
|
224
|
+
})(GQLMemorySchemaMutationStatus || (GQLMemorySchemaMutationStatus = {}));
|
|
225
|
+
export var GQLMemorySchemaRulePosition;
|
|
226
|
+
(function (GQLMemorySchemaRulePosition) {
|
|
227
|
+
GQLMemorySchemaRulePosition["Body"] = "body";
|
|
228
|
+
GQLMemorySchemaRulePosition["Head"] = "head";
|
|
229
|
+
})(GQLMemorySchemaRulePosition || (GQLMemorySchemaRulePosition = {}));
|
|
230
|
+
export var GQLMemorySchemaRuleReferenceKind;
|
|
231
|
+
(function (GQLMemorySchemaRuleReferenceKind) {
|
|
232
|
+
GQLMemorySchemaRuleReferenceKind["Class"] = "class";
|
|
233
|
+
GQLMemorySchemaRuleReferenceKind["Property"] = "property";
|
|
234
|
+
GQLMemorySchemaRuleReferenceKind["Value"] = "value";
|
|
235
|
+
})(GQLMemorySchemaRuleReferenceKind || (GQLMemorySchemaRuleReferenceKind = {}));
|
|
236
|
+
export var GQLMemorySchemaStatus;
|
|
237
|
+
(function (GQLMemorySchemaStatus) {
|
|
238
|
+
GQLMemorySchemaStatus["Active"] = "active";
|
|
239
|
+
GQLMemorySchemaStatus["Archived"] = "archived";
|
|
240
|
+
})(GQLMemorySchemaStatus || (GQLMemorySchemaStatus = {}));
|
|
241
|
+
export var GQLMemorySchemaTemplateStatus;
|
|
242
|
+
(function (GQLMemorySchemaTemplateStatus) {
|
|
243
|
+
GQLMemorySchemaTemplateStatus["Current"] = "current";
|
|
244
|
+
GQLMemorySchemaTemplateStatus["None"] = "none";
|
|
245
|
+
GQLMemorySchemaTemplateStatus["Removed"] = "removed";
|
|
246
|
+
GQLMemorySchemaTemplateStatus["Updated"] = "updated";
|
|
247
|
+
})(GQLMemorySchemaTemplateStatus || (GQLMemorySchemaTemplateStatus = {}));
|
|
248
|
+
export var GQLMemorySchemaValueType;
|
|
249
|
+
(function (GQLMemorySchemaValueType) {
|
|
250
|
+
GQLMemorySchemaValueType["Boolean"] = "boolean";
|
|
251
|
+
GQLMemorySchemaValueType["Date"] = "date";
|
|
252
|
+
GQLMemorySchemaValueType["DateTime"] = "dateTime";
|
|
253
|
+
GQLMemorySchemaValueType["Decimal"] = "decimal";
|
|
254
|
+
GQLMemorySchemaValueType["Entity"] = "entity";
|
|
255
|
+
GQLMemorySchemaValueType["Integer"] = "integer";
|
|
256
|
+
GQLMemorySchemaValueType["LongText"] = "longText";
|
|
257
|
+
GQLMemorySchemaValueType["Text"] = "text";
|
|
258
|
+
GQLMemorySchemaValueType["Url"] = "url";
|
|
259
|
+
})(GQLMemorySchemaValueType || (GQLMemorySchemaValueType = {}));
|
|
209
260
|
export var GQLMemoryScope;
|
|
210
261
|
(function (GQLMemoryScope) {
|
|
211
262
|
GQLMemoryScope["Company"] = "company";
|
|
212
263
|
GQLMemoryScope["Team"] = "team";
|
|
213
264
|
GQLMemoryScope["User"] = "user";
|
|
214
265
|
})(GQLMemoryScope || (GQLMemoryScope = {}));
|
|
266
|
+
export var GQLMemoryVolatility;
|
|
267
|
+
(function (GQLMemoryVolatility) {
|
|
268
|
+
GQLMemoryVolatility["Slow"] = "slow";
|
|
269
|
+
GQLMemoryVolatility["Stable"] = "stable";
|
|
270
|
+
GQLMemoryVolatility["Volatile"] = "volatile";
|
|
271
|
+
})(GQLMemoryVolatility || (GQLMemoryVolatility = {}));
|
|
215
272
|
export var GQLMetaPageKind;
|
|
216
273
|
(function (GQLMetaPageKind) {
|
|
217
274
|
GQLMetaPageKind["Instagram"] = "INSTAGRAM";
|
|
@@ -275,6 +332,16 @@ export var GQLRelayIntegrationStatus;
|
|
|
275
332
|
GQLRelayIntegrationStatus["Paused"] = "PAUSED";
|
|
276
333
|
GQLRelayIntegrationStatus["Pending"] = "PENDING";
|
|
277
334
|
})(GQLRelayIntegrationStatus || (GQLRelayIntegrationStatus = {}));
|
|
335
|
+
export var GQLRuleCommitOutcome;
|
|
336
|
+
(function (GQLRuleCommitOutcome) {
|
|
337
|
+
GQLRuleCommitOutcome["Committed"] = "committed";
|
|
338
|
+
GQLRuleCommitOutcome["Failed"] = "failed";
|
|
339
|
+
GQLRuleCommitOutcome["GatewayGaveUp"] = "gateway_gave_up";
|
|
340
|
+
GQLRuleCommitOutcome["Locked"] = "locked";
|
|
341
|
+
GQLRuleCommitOutcome["NoChanges"] = "no_changes";
|
|
342
|
+
GQLRuleCommitOutcome["Refused"] = "refused";
|
|
343
|
+
GQLRuleCommitOutcome["TimedOut"] = "timed_out";
|
|
344
|
+
})(GQLRuleCommitOutcome || (GQLRuleCommitOutcome = {}));
|
|
278
345
|
export var GQLRuleOperation;
|
|
279
346
|
(function (GQLRuleOperation) {
|
|
280
347
|
GQLRuleOperation["Add"] = "ADD";
|
|
@@ -384,7 +451,15 @@ export const MemoryFieldsFragmentDoc = `
|
|
|
384
451
|
teams
|
|
385
452
|
importance
|
|
386
453
|
memorySubclass
|
|
387
|
-
|
|
454
|
+
customPropertyValues {
|
|
455
|
+
path
|
|
456
|
+
values
|
|
457
|
+
}
|
|
458
|
+
schemaAssignment {
|
|
459
|
+
schemaIri
|
|
460
|
+
confidence
|
|
461
|
+
assignedAt
|
|
462
|
+
}
|
|
388
463
|
}
|
|
389
464
|
`;
|
|
390
465
|
export const MemoryMutationResultFragmentDoc = `
|
|
@@ -393,8 +468,127 @@ export const MemoryMutationResultFragmentDoc = `
|
|
|
393
468
|
...MemoryFields
|
|
394
469
|
}
|
|
395
470
|
error
|
|
471
|
+
propertyErrors {
|
|
472
|
+
path
|
|
473
|
+
label
|
|
474
|
+
message
|
|
475
|
+
}
|
|
396
476
|
}
|
|
397
477
|
${MemoryFieldsFragmentDoc}`;
|
|
478
|
+
export const MemorySchemaPropertyFieldsFragmentDoc = `
|
|
479
|
+
fragment MemorySchemaPropertyFields on MemorySchemaProperty {
|
|
480
|
+
path
|
|
481
|
+
label
|
|
482
|
+
description
|
|
483
|
+
order
|
|
484
|
+
valueType
|
|
485
|
+
dataType
|
|
486
|
+
entityClass
|
|
487
|
+
required
|
|
488
|
+
multiValued
|
|
489
|
+
allowedValues
|
|
490
|
+
options {
|
|
491
|
+
value
|
|
492
|
+
label
|
|
493
|
+
description
|
|
494
|
+
}
|
|
495
|
+
keyProperty
|
|
496
|
+
computed
|
|
497
|
+
minValue
|
|
498
|
+
maxValue
|
|
499
|
+
maxLength
|
|
500
|
+
pattern
|
|
501
|
+
defaultValue
|
|
502
|
+
unit
|
|
503
|
+
}
|
|
504
|
+
`;
|
|
505
|
+
export const MemorySchemaFieldsFragmentDoc = `
|
|
506
|
+
fragment MemorySchemaFields on MemorySchema {
|
|
507
|
+
iri
|
|
508
|
+
label
|
|
509
|
+
description
|
|
510
|
+
status
|
|
511
|
+
revision
|
|
512
|
+
defaultMemoryKind
|
|
513
|
+
defaultVolatility
|
|
514
|
+
defaultImportance
|
|
515
|
+
defaultScope
|
|
516
|
+
extractionEnabled
|
|
517
|
+
extractionGuidance
|
|
518
|
+
templateStatus
|
|
519
|
+
customized
|
|
520
|
+
memoryCount
|
|
521
|
+
createdAt
|
|
522
|
+
createdBy
|
|
523
|
+
updatedAt
|
|
524
|
+
properties {
|
|
525
|
+
...MemorySchemaPropertyFields
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
${MemorySchemaPropertyFieldsFragmentDoc}`;
|
|
529
|
+
export const MemorySchemaMutationResultFragmentDoc = `
|
|
530
|
+
fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {
|
|
531
|
+
status
|
|
532
|
+
error
|
|
533
|
+
validationErrors {
|
|
534
|
+
field
|
|
535
|
+
message
|
|
536
|
+
}
|
|
537
|
+
schema {
|
|
538
|
+
...MemorySchemaFields
|
|
539
|
+
}
|
|
540
|
+
impact {
|
|
541
|
+
memoryCount
|
|
542
|
+
removedProperties {
|
|
543
|
+
path
|
|
544
|
+
label
|
|
545
|
+
memoryCount
|
|
546
|
+
}
|
|
547
|
+
typeChanges {
|
|
548
|
+
path
|
|
549
|
+
label
|
|
550
|
+
from
|
|
551
|
+
to
|
|
552
|
+
valueCount
|
|
553
|
+
unconvertibleCount
|
|
554
|
+
unconvertibleSamples
|
|
555
|
+
}
|
|
556
|
+
removedOptions {
|
|
557
|
+
path
|
|
558
|
+
label
|
|
559
|
+
value
|
|
560
|
+
memoryCount
|
|
561
|
+
remappedTo
|
|
562
|
+
}
|
|
563
|
+
limitViolations {
|
|
564
|
+
path
|
|
565
|
+
label
|
|
566
|
+
valueCount
|
|
567
|
+
invalidCount
|
|
568
|
+
invalidSamples
|
|
569
|
+
}
|
|
570
|
+
multiValueConflicts {
|
|
571
|
+
path
|
|
572
|
+
label
|
|
573
|
+
memoryCount
|
|
574
|
+
}
|
|
575
|
+
clearedValues {
|
|
576
|
+
path
|
|
577
|
+
label
|
|
578
|
+
memoryCount
|
|
579
|
+
}
|
|
580
|
+
ruleReferences {
|
|
581
|
+
ruleIri
|
|
582
|
+
label
|
|
583
|
+
kind
|
|
584
|
+
term
|
|
585
|
+
value
|
|
586
|
+
position
|
|
587
|
+
}
|
|
588
|
+
blockers
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
${MemorySchemaFieldsFragmentDoc}`;
|
|
398
592
|
export const ActionPlanFieldsFragmentDoc = `
|
|
399
593
|
fragment ActionPlanFields on ActionPlanGraph {
|
|
400
594
|
iri
|
|
@@ -514,6 +708,34 @@ export const useAcceptInvitationMutation = (client, options, headers) => {
|
|
|
514
708
|
...options,
|
|
515
709
|
});
|
|
516
710
|
};
|
|
711
|
+
export const AddMemorySchemaFromTemplateDocument = `
|
|
712
|
+
mutation AddMemorySchemaFromTemplate($templateIri: IRI!) {
|
|
713
|
+
addMemorySchemaFromTemplate(templateIri: $templateIri) {
|
|
714
|
+
...MemorySchemaMutationResult
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
718
|
+
export const useAddMemorySchemaFromTemplateMutation = (client, options, headers) => {
|
|
719
|
+
return useMutation({
|
|
720
|
+
mutationKey: ["AddMemorySchemaFromTemplate"],
|
|
721
|
+
mutationFn: (variables) => fetcher(client, AddMemorySchemaFromTemplateDocument, variables, headers)(),
|
|
722
|
+
...options,
|
|
723
|
+
});
|
|
724
|
+
};
|
|
725
|
+
export const ArchiveMemorySchemaDocument = `
|
|
726
|
+
mutation ArchiveMemorySchema($input: MemorySchemaRevisionInput!) {
|
|
727
|
+
archiveMemorySchema(input: $input) {
|
|
728
|
+
...MemorySchemaMutationResult
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
732
|
+
export const useArchiveMemorySchemaMutation = (client, options, headers) => {
|
|
733
|
+
return useMutation({
|
|
734
|
+
mutationKey: ["ArchiveMemorySchema"],
|
|
735
|
+
mutationFn: (variables) => fetcher(client, ArchiveMemorySchemaDocument, variables, headers)(),
|
|
736
|
+
...options,
|
|
737
|
+
});
|
|
738
|
+
};
|
|
517
739
|
export const AttributeStripeSubscriptionDocument = `
|
|
518
740
|
mutation AttributeStripeSubscription($subscriptionId: String!, $datastoreId: String!) {
|
|
519
741
|
attributeStripeSubscription(
|
|
@@ -579,6 +801,20 @@ export const useCancelActionPlanMutation = (client, options, headers) => {
|
|
|
579
801
|
...options,
|
|
580
802
|
});
|
|
581
803
|
};
|
|
804
|
+
export const ClearMemorySchemaPropertyValuesDocument = `
|
|
805
|
+
mutation ClearMemorySchemaPropertyValues($input: ClearMemorySchemaPropertyValuesInput!) {
|
|
806
|
+
clearMemorySchemaPropertyValues(input: $input) {
|
|
807
|
+
...MemorySchemaMutationResult
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
811
|
+
export const useClearMemorySchemaPropertyValuesMutation = (client, options, headers) => {
|
|
812
|
+
return useMutation({
|
|
813
|
+
mutationKey: ["ClearMemorySchemaPropertyValues"],
|
|
814
|
+
mutationFn: (variables) => fetcher(client, ClearMemorySchemaPropertyValuesDocument, variables, headers)(),
|
|
815
|
+
...options,
|
|
816
|
+
});
|
|
817
|
+
};
|
|
582
818
|
export const ClearStagedRulesDocument = `
|
|
583
819
|
mutation ClearStagedRules($ruleIris: [IRI!]) {
|
|
584
820
|
clearStagedRules(ruleIris: $ruleIris) {
|
|
@@ -603,6 +839,7 @@ export const CommitStagedRulesDocument = `
|
|
|
603
839
|
rulesUpdated
|
|
604
840
|
rulesDeleted
|
|
605
841
|
error
|
|
842
|
+
requestId
|
|
606
843
|
}
|
|
607
844
|
}
|
|
608
845
|
`;
|
|
@@ -652,6 +889,11 @@ export const ConsolidateMemoriesDocument = `
|
|
|
652
889
|
...MemoryFields
|
|
653
890
|
}
|
|
654
891
|
error
|
|
892
|
+
propertyErrors {
|
|
893
|
+
path
|
|
894
|
+
label
|
|
895
|
+
message
|
|
896
|
+
}
|
|
655
897
|
}
|
|
656
898
|
}
|
|
657
899
|
${MemoryFieldsFragmentDoc}`;
|
|
@@ -741,6 +983,20 @@ export const useCreateInferalIntegrationMutation = (client, options, headers) =>
|
|
|
741
983
|
...options,
|
|
742
984
|
});
|
|
743
985
|
};
|
|
986
|
+
export const CreateMemorySchemaDocument = `
|
|
987
|
+
mutation CreateMemorySchema($input: CreateMemorySchemaInput!) {
|
|
988
|
+
createMemorySchema(input: $input) {
|
|
989
|
+
...MemorySchemaMutationResult
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
993
|
+
export const useCreateMemorySchemaMutation = (client, options, headers) => {
|
|
994
|
+
return useMutation({
|
|
995
|
+
mutationKey: ["CreateMemorySchema"],
|
|
996
|
+
mutationFn: (variables) => fetcher(client, CreateMemorySchemaDocument, variables, headers)(),
|
|
997
|
+
...options,
|
|
998
|
+
});
|
|
999
|
+
};
|
|
744
1000
|
export const CreateMemoryDocument = `
|
|
745
1001
|
mutation CreateMemory($input: CreateMemoryInput!) {
|
|
746
1002
|
createMemory(input: $input) {
|
|
@@ -749,6 +1005,11 @@ export const CreateMemoryDocument = `
|
|
|
749
1005
|
createdBy
|
|
750
1006
|
}
|
|
751
1007
|
error
|
|
1008
|
+
propertyErrors {
|
|
1009
|
+
path
|
|
1010
|
+
label
|
|
1011
|
+
message
|
|
1012
|
+
}
|
|
752
1013
|
}
|
|
753
1014
|
}
|
|
754
1015
|
${MemoryFieldsFragmentDoc}`;
|
|
@@ -917,6 +1178,20 @@ export const useDeleteLdesStreamMutation = (client, options, headers) => {
|
|
|
917
1178
|
...options,
|
|
918
1179
|
});
|
|
919
1180
|
};
|
|
1181
|
+
export const DeleteMemorySchemaDocument = `
|
|
1182
|
+
mutation DeleteMemorySchema($input: MemorySchemaRevisionInput!) {
|
|
1183
|
+
deleteMemorySchema(input: $input) {
|
|
1184
|
+
...MemorySchemaMutationResult
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
1188
|
+
export const useDeleteMemorySchemaMutation = (client, options, headers) => {
|
|
1189
|
+
return useMutation({
|
|
1190
|
+
mutationKey: ["DeleteMemorySchema"],
|
|
1191
|
+
mutationFn: (variables) => fetcher(client, DeleteMemorySchemaDocument, variables, headers)(),
|
|
1192
|
+
...options,
|
|
1193
|
+
});
|
|
1194
|
+
};
|
|
920
1195
|
export const DeleteMemoryDocument = `
|
|
921
1196
|
mutation DeleteMemory($memoryIri: IRI!) {
|
|
922
1197
|
deleteMemory(memoryIri: $memoryIri) {
|
|
@@ -1001,6 +1276,20 @@ export const useDisconnectInferalIntegrationMutation = (client, options, headers
|
|
|
1001
1276
|
...options,
|
|
1002
1277
|
});
|
|
1003
1278
|
};
|
|
1279
|
+
export const DismissMemorySchemaTemplateUpdateDocument = `
|
|
1280
|
+
mutation DismissMemorySchemaTemplateUpdate($input: MemorySchemaRevisionInput!) {
|
|
1281
|
+
dismissMemorySchemaTemplateUpdate(input: $input) {
|
|
1282
|
+
...MemorySchemaMutationResult
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
1286
|
+
export const useDismissMemorySchemaTemplateUpdateMutation = (client, options, headers) => {
|
|
1287
|
+
return useMutation({
|
|
1288
|
+
mutationKey: ["DismissMemorySchemaTemplateUpdate"],
|
|
1289
|
+
mutationFn: (variables) => fetcher(client, DismissMemorySchemaTemplateUpdateDocument, variables, headers)(),
|
|
1290
|
+
...options,
|
|
1291
|
+
});
|
|
1292
|
+
};
|
|
1004
1293
|
export const ExecuteAgentActionAdditionDocument = `
|
|
1005
1294
|
mutation ExecuteAgentActionAddition($input: ExecuteActionAdditionInput!) {
|
|
1006
1295
|
executeActionAddition(input: $input) {
|
|
@@ -1691,6 +1980,20 @@ export const useRenameUserMutation = (client, options, headers) => {
|
|
|
1691
1980
|
...options,
|
|
1692
1981
|
});
|
|
1693
1982
|
};
|
|
1983
|
+
export const ResetMemorySchemaToTemplateDocument = `
|
|
1984
|
+
mutation ResetMemorySchemaToTemplate($input: ResetMemorySchemaInput!) {
|
|
1985
|
+
resetMemorySchemaToTemplate(input: $input) {
|
|
1986
|
+
...MemorySchemaMutationResult
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
1990
|
+
export const useResetMemorySchemaToTemplateMutation = (client, options, headers) => {
|
|
1991
|
+
return useMutation({
|
|
1992
|
+
mutationKey: ["ResetMemorySchemaToTemplate"],
|
|
1993
|
+
mutationFn: (variables) => fetcher(client, ResetMemorySchemaToTemplateDocument, variables, headers)(),
|
|
1994
|
+
...options,
|
|
1995
|
+
});
|
|
1996
|
+
};
|
|
1694
1997
|
export const RestoreMemoryDocument = `
|
|
1695
1998
|
mutation RestoreMemory($memoryIri: IRI!) {
|
|
1696
1999
|
restoreMemory(memoryIri: $memoryIri) {
|
|
@@ -1780,6 +2083,24 @@ export const useRotateCustomAppSecretMutation = (client, options, headers) => {
|
|
|
1780
2083
|
...options,
|
|
1781
2084
|
});
|
|
1782
2085
|
};
|
|
2086
|
+
export const SetActionPlanAutoPilotDocument = `
|
|
2087
|
+
mutation SetActionPlanAutoPilot($input: SetActionPlanAutoPilotInput!) {
|
|
2088
|
+
setActionPlanAutoPilot(input: $input) {
|
|
2089
|
+
success
|
|
2090
|
+
error
|
|
2091
|
+
planGraphIri
|
|
2092
|
+
autoPilotEnabled
|
|
2093
|
+
ruleIri
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
`;
|
|
2097
|
+
export const useSetActionPlanAutoPilotMutation = (client, options, headers) => {
|
|
2098
|
+
return useMutation({
|
|
2099
|
+
mutationKey: ["SetActionPlanAutoPilot"],
|
|
2100
|
+
mutationFn: (variables) => fetcher(client, SetActionPlanAutoPilotDocument, variables, headers)(),
|
|
2101
|
+
...options,
|
|
2102
|
+
});
|
|
2103
|
+
};
|
|
1783
2104
|
export const SetCustomAppEnabledDocument = `
|
|
1784
2105
|
mutation SetCustomAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
|
|
1785
2106
|
setCustomAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
|
|
@@ -1852,6 +2173,34 @@ export const useSyncGmailIntegrationMutation = (client, options, headers) => {
|
|
|
1852
2173
|
...options,
|
|
1853
2174
|
});
|
|
1854
2175
|
};
|
|
2176
|
+
export const UnarchiveMemorySchemaDocument = `
|
|
2177
|
+
mutation UnarchiveMemorySchema($input: MemorySchemaRevisionInput!) {
|
|
2178
|
+
unarchiveMemorySchema(input: $input) {
|
|
2179
|
+
...MemorySchemaMutationResult
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
2183
|
+
export const useUnarchiveMemorySchemaMutation = (client, options, headers) => {
|
|
2184
|
+
return useMutation({
|
|
2185
|
+
mutationKey: ["UnarchiveMemorySchema"],
|
|
2186
|
+
mutationFn: (variables) => fetcher(client, UnarchiveMemorySchemaDocument, variables, headers)(),
|
|
2187
|
+
...options,
|
|
2188
|
+
});
|
|
2189
|
+
};
|
|
2190
|
+
export const UndoMemorySchemaAssignmentDocument = `
|
|
2191
|
+
mutation UndoMemorySchemaAssignment($memoryIri: IRI!) {
|
|
2192
|
+
undoMemorySchemaAssignment(memoryIri: $memoryIri) {
|
|
2193
|
+
...MemoryMutationResult
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
${MemoryMutationResultFragmentDoc}`;
|
|
2197
|
+
export const useUndoMemorySchemaAssignmentMutation = (client, options, headers) => {
|
|
2198
|
+
return useMutation({
|
|
2199
|
+
mutationKey: ["UndoMemorySchemaAssignment"],
|
|
2200
|
+
mutationFn: (variables) => fetcher(client, UndoMemorySchemaAssignmentDocument, variables, headers)(),
|
|
2201
|
+
...options,
|
|
2202
|
+
});
|
|
2203
|
+
};
|
|
1855
2204
|
export const UpdateCustomAppDocument = `
|
|
1856
2205
|
mutation UpdateCustomApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
|
|
1857
2206
|
updateCustomApp(
|
|
@@ -1891,6 +2240,20 @@ export const useUpdateDataConnectionMutation = (client, options, headers) => {
|
|
|
1891
2240
|
...options,
|
|
1892
2241
|
});
|
|
1893
2242
|
};
|
|
2243
|
+
export const UpdateMemorySchemaDocument = `
|
|
2244
|
+
mutation UpdateMemorySchema($input: UpdateMemorySchemaInput!) {
|
|
2245
|
+
updateMemorySchema(input: $input) {
|
|
2246
|
+
...MemorySchemaMutationResult
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
${MemorySchemaMutationResultFragmentDoc}`;
|
|
2250
|
+
export const useUpdateMemorySchemaMutation = (client, options, headers) => {
|
|
2251
|
+
return useMutation({
|
|
2252
|
+
mutationKey: ["UpdateMemorySchema"],
|
|
2253
|
+
mutationFn: (variables) => fetcher(client, UpdateMemorySchemaDocument, variables, headers)(),
|
|
2254
|
+
...options,
|
|
2255
|
+
});
|
|
2256
|
+
};
|
|
1894
2257
|
export const UpdateMemoryDocument = `
|
|
1895
2258
|
mutation UpdateMemory($input: UpdateMemoryInput!) {
|
|
1896
2259
|
updateMemory(input: $input) {
|
|
@@ -1955,6 +2318,10 @@ export const ActionPlanRulesDocument = `
|
|
|
1955
2318
|
stagedRule
|
|
1956
2319
|
isStaged
|
|
1957
2320
|
isModified
|
|
2321
|
+
ownedBy {
|
|
2322
|
+
type
|
|
2323
|
+
userId
|
|
2324
|
+
}
|
|
1958
2325
|
}
|
|
1959
2326
|
count
|
|
1960
2327
|
error
|
|
@@ -3396,27 +3763,118 @@ useSuspenseMemoryRedundancyReviewQuery.getKey = (variables) => [
|
|
|
3396
3763
|
"MemoryRedundancyReviewSuspense",
|
|
3397
3764
|
variables,
|
|
3398
3765
|
];
|
|
3399
|
-
export const
|
|
3400
|
-
query
|
|
3401
|
-
|
|
3402
|
-
|
|
3766
|
+
export const MemorySchemaRuleCountsDocument = `
|
|
3767
|
+
query MemorySchemaRuleCounts {
|
|
3768
|
+
memorySchemaRuleCounts {
|
|
3769
|
+
counts {
|
|
3403
3770
|
iri
|
|
3404
|
-
|
|
3405
|
-
|
|
3771
|
+
ruleCount
|
|
3772
|
+
}
|
|
3773
|
+
error
|
|
3774
|
+
}
|
|
3775
|
+
}
|
|
3776
|
+
`;
|
|
3777
|
+
export const useMemorySchemaRuleCountsQuery = (client, variables, options, headers) => {
|
|
3778
|
+
return useQuery({
|
|
3779
|
+
queryKey: variables === undefined ? ["MemorySchemaRuleCounts"] : ["MemorySchemaRuleCounts", variables],
|
|
3780
|
+
queryFn: fetcher(client, MemorySchemaRuleCountsDocument, variables, headers),
|
|
3781
|
+
...options,
|
|
3782
|
+
});
|
|
3783
|
+
};
|
|
3784
|
+
useMemorySchemaRuleCountsQuery.getKey = (variables) => variables === undefined ? ["MemorySchemaRuleCounts"] : ["MemorySchemaRuleCounts", variables];
|
|
3785
|
+
export const useSuspenseMemorySchemaRuleCountsQuery = (client, variables, options, headers) => {
|
|
3786
|
+
return useSuspenseQuery({
|
|
3787
|
+
queryKey: variables === undefined ? ["MemorySchemaRuleCountsSuspense"] : ["MemorySchemaRuleCountsSuspense", variables],
|
|
3788
|
+
queryFn: fetcher(client, MemorySchemaRuleCountsDocument, variables, headers),
|
|
3789
|
+
...options,
|
|
3790
|
+
});
|
|
3791
|
+
};
|
|
3792
|
+
useSuspenseMemorySchemaRuleCountsQuery.getKey = (variables) => variables === undefined ? ["MemorySchemaRuleCountsSuspense"] : ["MemorySchemaRuleCountsSuspense", variables];
|
|
3793
|
+
export const MemorySchemaTemplatesDocument = `
|
|
3794
|
+
query MemorySchemaTemplates {
|
|
3795
|
+
memorySchemaTemplates {
|
|
3796
|
+
templates {
|
|
3797
|
+
live
|
|
3798
|
+
schema {
|
|
3799
|
+
...MemorySchemaFields
|
|
3800
|
+
}
|
|
3801
|
+
}
|
|
3802
|
+
error
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
${MemorySchemaFieldsFragmentDoc}`;
|
|
3806
|
+
export const useMemorySchemaTemplatesQuery = (client, variables, options, headers) => {
|
|
3807
|
+
return useQuery({
|
|
3808
|
+
queryKey: variables === undefined ? ["MemorySchemaTemplates"] : ["MemorySchemaTemplates", variables],
|
|
3809
|
+
queryFn: fetcher(client, MemorySchemaTemplatesDocument, variables, headers),
|
|
3810
|
+
...options,
|
|
3811
|
+
});
|
|
3812
|
+
};
|
|
3813
|
+
useMemorySchemaTemplatesQuery.getKey = (variables) => variables === undefined ? ["MemorySchemaTemplates"] : ["MemorySchemaTemplates", variables];
|
|
3814
|
+
export const useSuspenseMemorySchemaTemplatesQuery = (client, variables, options, headers) => {
|
|
3815
|
+
return useSuspenseQuery({
|
|
3816
|
+
queryKey: variables === undefined ? ["MemorySchemaTemplatesSuspense"] : ["MemorySchemaTemplatesSuspense", variables],
|
|
3817
|
+
queryFn: fetcher(client, MemorySchemaTemplatesDocument, variables, headers),
|
|
3818
|
+
...options,
|
|
3819
|
+
});
|
|
3820
|
+
};
|
|
3821
|
+
useSuspenseMemorySchemaTemplatesQuery.getKey = (variables) => variables === undefined ? ["MemorySchemaTemplatesSuspense"] : ["MemorySchemaTemplatesSuspense", variables];
|
|
3822
|
+
export const MemorySchemaUsageDocument = `
|
|
3823
|
+
query MemorySchemaUsage($iri: IRI!) {
|
|
3824
|
+
memorySchemaUsage(iri: $iri) {
|
|
3825
|
+
usage {
|
|
3826
|
+
iri
|
|
3827
|
+
memoryCount
|
|
3406
3828
|
properties {
|
|
3407
3829
|
path
|
|
3830
|
+
memoryCount
|
|
3831
|
+
options {
|
|
3832
|
+
value
|
|
3833
|
+
memoryCount
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
rules {
|
|
3837
|
+
ruleIri
|
|
3408
3838
|
label
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
inferred
|
|
3839
|
+
kind
|
|
3840
|
+
term
|
|
3841
|
+
value
|
|
3842
|
+
position
|
|
3414
3843
|
}
|
|
3415
3844
|
}
|
|
3416
3845
|
error
|
|
3417
3846
|
}
|
|
3418
3847
|
}
|
|
3419
3848
|
`;
|
|
3849
|
+
export const useMemorySchemaUsageQuery = (client, variables, options, headers) => {
|
|
3850
|
+
return useQuery({
|
|
3851
|
+
queryKey: ["MemorySchemaUsage", variables],
|
|
3852
|
+
queryFn: fetcher(client, MemorySchemaUsageDocument, variables, headers),
|
|
3853
|
+
...options,
|
|
3854
|
+
});
|
|
3855
|
+
};
|
|
3856
|
+
useMemorySchemaUsageQuery.getKey = (variables) => ["MemorySchemaUsage", variables];
|
|
3857
|
+
export const useSuspenseMemorySchemaUsageQuery = (client, variables, options, headers) => {
|
|
3858
|
+
return useSuspenseQuery({
|
|
3859
|
+
queryKey: ["MemorySchemaUsageSuspense", variables],
|
|
3860
|
+
queryFn: fetcher(client, MemorySchemaUsageDocument, variables, headers),
|
|
3861
|
+
...options,
|
|
3862
|
+
});
|
|
3863
|
+
};
|
|
3864
|
+
useSuspenseMemorySchemaUsageQuery.getKey = (variables) => [
|
|
3865
|
+
"MemorySchemaUsageSuspense",
|
|
3866
|
+
variables,
|
|
3867
|
+
];
|
|
3868
|
+
export const MemorySchemasDocument = `
|
|
3869
|
+
query MemorySchemas($includeArchived: Boolean) {
|
|
3870
|
+
memorySchemas(includeArchived: $includeArchived) {
|
|
3871
|
+
schemas {
|
|
3872
|
+
...MemorySchemaFields
|
|
3873
|
+
}
|
|
3874
|
+
error
|
|
3875
|
+
}
|
|
3876
|
+
}
|
|
3877
|
+
${MemorySchemaFieldsFragmentDoc}`;
|
|
3420
3878
|
export const useMemorySchemasQuery = (client, variables, options, headers) => {
|
|
3421
3879
|
return useQuery({
|
|
3422
3880
|
queryKey: variables === undefined ? ["MemorySchemas"] : ["MemorySchemas", variables],
|