@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.
Files changed (75) hide show
  1. package/README.md +44 -0
  2. package/dist/generated/graphql.d.ts +2119 -24
  3. package/dist/generated/graphql.d.ts.map +1 -1
  4. package/dist/generated/graphql.js +470 -12
  5. package/dist/generated/graphql.js.map +1 -1
  6. package/dist/generated/operations.d.ts +2 -0
  7. package/dist/generated/operations.d.ts.map +1 -0
  8. package/dist/generated/operations.js +165 -0
  9. package/dist/generated/operations.js.map +1 -0
  10. package/dist/graphql-clients.d.ts +2 -1
  11. package/dist/graphql-clients.d.ts.map +1 -1
  12. package/dist/graphql-clients.js +2 -1
  13. package/dist/graphql-clients.js.map +1 -1
  14. package/dist/shared/agent-types.d.ts +15 -0
  15. package/dist/shared/agent-types.d.ts.map +1 -1
  16. package/dist/shared/chat-manager.d.ts +1 -1
  17. package/dist/shared/chat-manager.d.ts.map +1 -1
  18. package/dist/shared/chat-manager.js +1 -1
  19. package/dist/shared/chat-manager.js.map +1 -1
  20. package/dist/shared/constants.d.ts +6 -0
  21. package/dist/shared/constants.d.ts.map +1 -1
  22. package/dist/shared/constants.js +6 -0
  23. package/dist/shared/constants.js.map +1 -1
  24. package/dist/shared/datastore-path.d.ts +3 -0
  25. package/dist/shared/datastore-path.d.ts.map +1 -1
  26. package/dist/shared/datastore-path.js +3 -0
  27. package/dist/shared/datastore-path.js.map +1 -1
  28. package/dist/shared/login-status.d.ts +6 -0
  29. package/dist/shared/login-status.d.ts.map +1 -0
  30. package/dist/shared/login-status.js +2 -0
  31. package/dist/shared/login-status.js.map +1 -0
  32. package/dist/shared/memory-schema-limits.d.ts +17 -0
  33. package/dist/shared/memory-schema-limits.d.ts.map +1 -0
  34. package/dist/shared/memory-schema-limits.js +17 -0
  35. package/dist/shared/memory-schema-limits.js.map +1 -0
  36. package/dist/shared/memory-schema-pattern.d.ts +3 -0
  37. package/dist/shared/memory-schema-pattern.d.ts.map +1 -0
  38. package/dist/shared/memory-schema-pattern.js +16 -0
  39. package/dist/shared/memory-schema-pattern.js.map +1 -0
  40. package/dist/shared/memory-schema-property.d.ts +64 -0
  41. package/dist/shared/memory-schema-property.d.ts.map +1 -0
  42. package/dist/shared/memory-schema-property.js +195 -0
  43. package/dist/shared/memory-schema-property.js.map +1 -0
  44. package/dist/shared/memory-schema-values.d.ts +20 -0
  45. package/dist/shared/memory-schema-values.d.ts.map +1 -0
  46. package/dist/shared/memory-schema-values.js +139 -0
  47. package/dist/shared/memory-schema-values.js.map +1 -0
  48. package/dist/shared/operation-root-fields.d.ts +7 -0
  49. package/dist/shared/operation-root-fields.d.ts.map +1 -0
  50. package/dist/shared/operation-root-fields.js +33 -0
  51. package/dist/shared/operation-root-fields.js.map +1 -0
  52. package/dist/shared/rdf-namespaces.d.ts +1 -0
  53. package/dist/shared/rdf-namespaces.d.ts.map +1 -1
  54. package/dist/shared/rdf-namespaces.js +2 -0
  55. package/dist/shared/rdf-namespaces.js.map +1 -1
  56. package/dist/testing/manta-mock.d.ts +25 -0
  57. package/dist/testing/manta-mock.d.ts.map +1 -0
  58. package/dist/testing/manta-mock.js +165 -0
  59. package/dist/testing/manta-mock.js.map +1 -0
  60. package/package.json +32 -6
  61. package/src/generated/graphql.ts +2729 -55
  62. package/src/generated/operations.ts +164 -0
  63. package/src/graphql-clients.ts +3 -2
  64. package/src/shared/agent-types.ts +16 -0
  65. package/src/shared/chat-manager.ts +1 -1
  66. package/src/shared/constants.ts +11 -0
  67. package/src/shared/datastore-path.ts +6 -0
  68. package/src/shared/login-status.ts +1 -0
  69. package/src/shared/memory-schema-limits.ts +16 -0
  70. package/src/shared/memory-schema-pattern.ts +15 -0
  71. package/src/shared/memory-schema-property.ts +280 -0
  72. package/src/shared/memory-schema-values.ts +174 -0
  73. package/src/shared/operation-root-fields.ts +56 -0
  74. package/src/shared/rdf-namespaces.ts +3 -0
  75. package/src/testing/manta-mock.ts +208 -0
@@ -407,6 +407,13 @@ export type GQLCancelActionPlanResponse = {
407
407
  success: Scalars["Boolean"]["output"];
408
408
  };
409
409
 
410
+ export type GQLClearMemorySchemaPropertyValuesInput = {
411
+ dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
412
+ expectedRevision: Scalars["Int"]["input"];
413
+ iri: Scalars["IRI"]["input"];
414
+ path: Scalars["IRI"]["input"];
415
+ };
416
+
410
417
  export type GQLClearStagedRulesResponse = {
411
418
  __typename?: "ClearStagedRulesResponse";
412
419
  error?: Maybe<Scalars["String"]["output"]>;
@@ -417,6 +424,8 @@ export type GQLClearStagedRulesResponse = {
417
424
  export type GQLCommitStagedRulesResponse = {
418
425
  __typename?: "CommitStagedRulesResponse";
419
426
  error?: Maybe<Scalars["String"]["output"]>;
427
+ outcome: GQLRuleCommitOutcome;
428
+ requestId?: Maybe<Scalars["String"]["output"]>;
420
429
  rulesAdded: Scalars["Int"]["output"];
421
430
  rulesDeleted: Scalars["Int"]["output"];
422
431
  rulesUpdated: Scalars["Int"]["output"];
@@ -577,6 +586,11 @@ export type GQLCreateMemoryResponse = {
577
586
  __typename?: "CreateMemoryResponse";
578
587
  error?: Maybe<Scalars["String"]["output"]>;
579
588
  memory?: Maybe<GQLMemory>;
589
+ propertyErrors?: Maybe<Array<GQLMemoryPropertyProblem>>;
590
+ };
591
+
592
+ export type GQLCreateMemorySchemaInput = {
593
+ definition: GQLMemorySchemaDefinitionInput;
580
594
  };
581
595
 
582
596
  export type GQLCreateStripeBillingPortalSessionResponse = {
@@ -935,6 +949,15 @@ export type GQLDeleteRulePrefixResponse = {
935
949
  success: Scalars["Boolean"]["output"];
936
950
  };
937
951
 
952
+ export type GQLDeleteUploadInput = {
953
+ storageKey: Scalars["String"]["input"];
954
+ };
955
+
956
+ export type GQLDeleteUploadResponse = {
957
+ __typename?: "DeleteUploadResponse";
958
+ ok: Scalars["Boolean"]["output"];
959
+ };
960
+
938
961
  export type GQLDeleteUserAccountResponse = {
939
962
  __typename?: "DeleteUserAccountResponse";
940
963
  deleted: Scalars["Boolean"]["output"];
@@ -1563,7 +1586,9 @@ export type GQLMemory = {
1563
1586
  aboutEntityIris: Array<Scalars["IRI"]["output"]>;
1564
1587
  confidence?: Maybe<Scalars["Float"]["output"]>;
1565
1588
  createdBy?: Maybe<Scalars["String"]["output"]>;
1589
+ /** @deprecated Read customPropertyValues: it keeps each value of a multi-valued property apart. */
1566
1590
  customProperties?: Maybe<Scalars["JSONObject"]["output"]>;
1591
+ customPropertyValues: Array<GQLMemoryPropertyValues>;
1567
1592
  description?: Maybe<Scalars["String"]["output"]>;
1568
1593
  extractedAt: Scalars["DateTime"]["output"];
1569
1594
  importance: Scalars["Int"]["output"];
@@ -1579,6 +1604,7 @@ export type GQLMemory = {
1579
1604
  memoryUseCount: Scalars["Int"]["output"];
1580
1605
  memoryValidFrom?: Maybe<Scalars["DateTime"]["output"]>;
1581
1606
  memoryValidUntil?: Maybe<Scalars["DateTime"]["output"]>;
1607
+ schemaAssignment?: Maybe<GQLMemorySchemaAssignment>;
1582
1608
  scope: GQLMemoryScope;
1583
1609
  supersededBy?: Maybe<Scalars["IRI"]["output"]>;
1584
1610
  supersedesMemory?: Maybe<Scalars["IRI"]["output"]>;
@@ -1606,6 +1632,19 @@ export enum GQLMemoryKind {
1606
1632
  Preference = "preference",
1607
1633
  }
1608
1634
 
1635
+ export type GQLMemoryPropertyProblem = {
1636
+ __typename?: "MemoryPropertyProblem";
1637
+ label?: Maybe<Scalars["String"]["output"]>;
1638
+ message: Scalars["String"]["output"];
1639
+ path: Scalars["IRI"]["output"];
1640
+ };
1641
+
1642
+ export type GQLMemoryPropertyValues = {
1643
+ __typename?: "MemoryPropertyValues";
1644
+ path: Scalars["IRI"]["output"];
1645
+ values: Array<Scalars["String"]["output"]>;
1646
+ };
1647
+
1609
1648
  export type GQLMemoryRedundancyResult = {
1610
1649
  __typename?: "MemoryRedundancyResult";
1611
1650
  abstractions: Array<GQLMemoryAbstraction>;
@@ -1636,21 +1675,177 @@ export type GQLMemoryReplaySeriesResult = {
1636
1675
 
1637
1676
  export type GQLMemorySchema = {
1638
1677
  __typename?: "MemorySchema";
1678
+ createdAt?: Maybe<Scalars["DateTime"]["output"]>;
1679
+ createdBy: GQLMemorySchemaCreator;
1680
+ customized: Scalars["Boolean"]["output"];
1681
+ defaultImportance?: Maybe<Scalars["Int"]["output"]>;
1682
+ defaultMemoryKind?: Maybe<GQLMemoryKind>;
1683
+ defaultScope?: Maybe<GQLMemoryScope>;
1684
+ defaultVolatility?: Maybe<GQLMemoryVolatility>;
1639
1685
  description?: Maybe<Scalars["String"]["output"]>;
1686
+ extractionEnabled: Scalars["Boolean"]["output"];
1687
+ extractionGuidance?: Maybe<Scalars["String"]["output"]>;
1640
1688
  iri: Scalars["IRI"]["output"];
1641
1689
  label: Scalars["String"]["output"];
1690
+ memoryCount?: Maybe<Scalars["Int"]["output"]>;
1642
1691
  properties: Array<GQLMemorySchemaProperty>;
1692
+ revision: Scalars["Int"]["output"];
1693
+ status: GQLMemorySchemaStatus;
1694
+ templateStatus: GQLMemorySchemaTemplateStatus;
1695
+ updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
1696
+ };
1697
+
1698
+ export type GQLMemorySchemaAssignment = {
1699
+ __typename?: "MemorySchemaAssignment";
1700
+ assignedAt?: Maybe<Scalars["DateTime"]["output"]>;
1701
+ confidence?: Maybe<Scalars["Float"]["output"]>;
1702
+ schemaIri: Scalars["IRI"]["output"];
1703
+ };
1704
+
1705
+ export enum GQLMemorySchemaCreator {
1706
+ AnotherUser = "anotherUser",
1707
+ CurrentUser = "currentUser",
1708
+ Manta = "manta",
1709
+ }
1710
+
1711
+ export type GQLMemorySchemaDefinitionInput = {
1712
+ defaultImportance?: InputMaybe<Scalars["Int"]["input"]>;
1713
+ defaultMemoryKind?: InputMaybe<GQLMemoryKind>;
1714
+ defaultScope?: InputMaybe<GQLMemoryScope>;
1715
+ defaultVolatility?: InputMaybe<GQLMemoryVolatility>;
1716
+ description?: InputMaybe<Scalars["String"]["input"]>;
1717
+ extractionEnabled?: InputMaybe<Scalars["Boolean"]["input"]>;
1718
+ extractionGuidance?: InputMaybe<Scalars["String"]["input"]>;
1719
+ key?: InputMaybe<Scalars["String"]["input"]>;
1720
+ label: Scalars["String"]["input"];
1721
+ properties: Array<GQLMemorySchemaPropertyDefinitionInput>;
1722
+ };
1723
+
1724
+ export type GQLMemorySchemaImpact = {
1725
+ __typename?: "MemorySchemaImpact";
1726
+ blockers: Array<Scalars["String"]["output"]>;
1727
+ clearedValues: Array<GQLMemorySchemaPropertyImpact>;
1728
+ limitViolations: Array<GQLMemorySchemaLimitImpact>;
1729
+ memoryCount: Scalars["Int"]["output"];
1730
+ multiValueConflicts: Array<GQLMemorySchemaPropertyImpact>;
1731
+ removedOptions: Array<GQLMemorySchemaOptionImpact>;
1732
+ removedProperties: Array<GQLMemorySchemaPropertyImpact>;
1733
+ ruleReferences: Array<GQLMemorySchemaRuleReference>;
1734
+ typeChanges: Array<GQLMemorySchemaTypeChangeImpact>;
1735
+ };
1736
+
1737
+ export type GQLMemorySchemaLimitImpact = {
1738
+ __typename?: "MemorySchemaLimitImpact";
1739
+ invalidCount: Scalars["Int"]["output"];
1740
+ invalidSamples: Array<Scalars["String"]["output"]>;
1741
+ label: Scalars["String"]["output"];
1742
+ path: Scalars["IRI"]["output"];
1743
+ valueCount: Scalars["Int"]["output"];
1744
+ };
1745
+
1746
+ export type GQLMemorySchemaMutationResponse = {
1747
+ __typename?: "MemorySchemaMutationResponse";
1748
+ error?: Maybe<Scalars["String"]["output"]>;
1749
+ impact?: Maybe<GQLMemorySchemaImpact>;
1750
+ schema?: Maybe<GQLMemorySchema>;
1751
+ status: GQLMemorySchemaMutationStatus;
1752
+ validationErrors: Array<GQLMemorySchemaValidationError>;
1753
+ };
1754
+
1755
+ export enum GQLMemorySchemaMutationStatus {
1756
+ Blocked = "blocked",
1757
+ Conflict = "conflict",
1758
+ Invalid = "invalid",
1759
+ Limit = "limit",
1760
+ NotFound = "notFound",
1761
+ Ok = "ok",
1762
+ Preview = "preview",
1763
+ }
1764
+
1765
+ export type GQLMemorySchemaOption = {
1766
+ __typename?: "MemorySchemaOption";
1767
+ description?: Maybe<Scalars["String"]["output"]>;
1768
+ label?: Maybe<Scalars["String"]["output"]>;
1769
+ value: Scalars["String"]["output"];
1770
+ };
1771
+
1772
+ export type GQLMemorySchemaOptionImpact = {
1773
+ __typename?: "MemorySchemaOptionImpact";
1774
+ label: Scalars["String"]["output"];
1775
+ memoryCount: Scalars["Int"]["output"];
1776
+ path: Scalars["IRI"]["output"];
1777
+ remappedTo?: Maybe<Scalars["String"]["output"]>;
1778
+ value: Scalars["String"]["output"];
1779
+ };
1780
+
1781
+ export type GQLMemorySchemaOptionInput = {
1782
+ description?: InputMaybe<Scalars["String"]["input"]>;
1783
+ label?: InputMaybe<Scalars["String"]["input"]>;
1784
+ value: Scalars["String"]["input"];
1785
+ };
1786
+
1787
+ export type GQLMemorySchemaOptionRemapInput = {
1788
+ from: Scalars["String"]["input"];
1789
+ path: Scalars["IRI"]["input"];
1790
+ to?: InputMaybe<Scalars["String"]["input"]>;
1791
+ };
1792
+
1793
+ export type GQLMemorySchemaOptionUsage = {
1794
+ __typename?: "MemorySchemaOptionUsage";
1795
+ memoryCount: Scalars["Int"]["output"];
1796
+ value: Scalars["String"]["output"];
1643
1797
  };
1644
1798
 
1645
1799
  export type GQLMemorySchemaProperty = {
1646
1800
  __typename?: "MemorySchemaProperty";
1647
1801
  allowedValues: Array<Scalars["String"]["output"]>;
1802
+ computed: Scalars["Boolean"]["output"];
1648
1803
  dataType: Scalars["String"]["output"];
1804
+ defaultValue?: Maybe<Scalars["String"]["output"]>;
1805
+ description?: Maybe<Scalars["String"]["output"]>;
1806
+ entityClass?: Maybe<Scalars["IRI"]["output"]>;
1807
+ /** @deprecated Renamed to computed. */
1649
1808
  inferred: Scalars["Boolean"]["output"];
1650
1809
  keyProperty: Scalars["Boolean"]["output"];
1651
1810
  label: Scalars["String"]["output"];
1811
+ maxLength?: Maybe<Scalars["Int"]["output"]>;
1812
+ maxValue?: Maybe<Scalars["String"]["output"]>;
1813
+ minValue?: Maybe<Scalars["String"]["output"]>;
1814
+ multiValued: Scalars["Boolean"]["output"];
1815
+ options: Array<GQLMemorySchemaOption>;
1816
+ order: Scalars["Int"]["output"];
1652
1817
  path: Scalars["IRI"]["output"];
1818
+ pattern?: Maybe<Scalars["String"]["output"]>;
1653
1819
  required: Scalars["Boolean"]["output"];
1820
+ unit?: Maybe<Scalars["String"]["output"]>;
1821
+ valueType: GQLMemorySchemaValueType;
1822
+ };
1823
+
1824
+ export type GQLMemorySchemaPropertyDefinitionInput = {
1825
+ computed?: InputMaybe<Scalars["Boolean"]["input"]>;
1826
+ defaultValue?: InputMaybe<Scalars["String"]["input"]>;
1827
+ description?: InputMaybe<Scalars["String"]["input"]>;
1828
+ entityClass?: InputMaybe<Scalars["IRI"]["input"]>;
1829
+ key?: InputMaybe<Scalars["String"]["input"]>;
1830
+ keyProperty?: InputMaybe<Scalars["Boolean"]["input"]>;
1831
+ label: Scalars["String"]["input"];
1832
+ maxLength?: InputMaybe<Scalars["Int"]["input"]>;
1833
+ maxValue?: InputMaybe<Scalars["String"]["input"]>;
1834
+ minValue?: InputMaybe<Scalars["String"]["input"]>;
1835
+ multiValued?: InputMaybe<Scalars["Boolean"]["input"]>;
1836
+ options?: InputMaybe<Array<GQLMemorySchemaOptionInput>>;
1837
+ path?: InputMaybe<Scalars["IRI"]["input"]>;
1838
+ pattern?: InputMaybe<Scalars["String"]["input"]>;
1839
+ required?: InputMaybe<Scalars["Boolean"]["input"]>;
1840
+ unit?: InputMaybe<Scalars["String"]["input"]>;
1841
+ valueType: GQLMemorySchemaValueType;
1842
+ };
1843
+
1844
+ export type GQLMemorySchemaPropertyImpact = {
1845
+ __typename?: "MemorySchemaPropertyImpact";
1846
+ label: Scalars["String"]["output"];
1847
+ memoryCount: Scalars["Int"]["output"];
1848
+ path: Scalars["IRI"]["output"];
1654
1849
  };
1655
1850
 
1656
1851
  export type GQLMemorySchemaPropertyInput = {
@@ -1661,6 +1856,118 @@ export type GQLMemorySchemaPropertyInput = {
1661
1856
  required: Scalars["Boolean"]["input"];
1662
1857
  };
1663
1858
 
1859
+ export type GQLMemorySchemaPropertyUsage = {
1860
+ __typename?: "MemorySchemaPropertyUsage";
1861
+ memoryCount: Scalars["Int"]["output"];
1862
+ options: Array<GQLMemorySchemaOptionUsage>;
1863
+ path: Scalars["IRI"]["output"];
1864
+ };
1865
+
1866
+ export type GQLMemorySchemaRevisionInput = {
1867
+ expectedRevision: Scalars["Int"]["input"];
1868
+ iri: Scalars["IRI"]["input"];
1869
+ };
1870
+
1871
+ export type GQLMemorySchemaRuleCount = {
1872
+ __typename?: "MemorySchemaRuleCount";
1873
+ iri: Scalars["IRI"]["output"];
1874
+ ruleCount: Scalars["Int"]["output"];
1875
+ };
1876
+
1877
+ export type GQLMemorySchemaRuleCountsResponse = {
1878
+ __typename?: "MemorySchemaRuleCountsResponse";
1879
+ counts: Array<GQLMemorySchemaRuleCount>;
1880
+ error?: Maybe<Scalars["String"]["output"]>;
1881
+ };
1882
+
1883
+ export enum GQLMemorySchemaRulePosition {
1884
+ Body = "body",
1885
+ Head = "head",
1886
+ }
1887
+
1888
+ export type GQLMemorySchemaRuleReference = {
1889
+ __typename?: "MemorySchemaRuleReference";
1890
+ kind: GQLMemorySchemaRuleReferenceKind;
1891
+ label?: Maybe<Scalars["String"]["output"]>;
1892
+ position: GQLMemorySchemaRulePosition;
1893
+ ruleIri: Scalars["String"]["output"];
1894
+ term: Scalars["IRI"]["output"];
1895
+ value?: Maybe<Scalars["String"]["output"]>;
1896
+ };
1897
+
1898
+ export enum GQLMemorySchemaRuleReferenceKind {
1899
+ Class = "class",
1900
+ Property = "property",
1901
+ Value = "value",
1902
+ }
1903
+
1904
+ export enum GQLMemorySchemaStatus {
1905
+ Active = "active",
1906
+ Archived = "archived",
1907
+ }
1908
+
1909
+ export type GQLMemorySchemaTemplate = {
1910
+ __typename?: "MemorySchemaTemplate";
1911
+ live: Scalars["Boolean"]["output"];
1912
+ schema: GQLMemorySchema;
1913
+ };
1914
+
1915
+ export enum GQLMemorySchemaTemplateStatus {
1916
+ Current = "current",
1917
+ None = "none",
1918
+ Removed = "removed",
1919
+ Updated = "updated",
1920
+ }
1921
+
1922
+ export type GQLMemorySchemaTemplatesResponse = {
1923
+ __typename?: "MemorySchemaTemplatesResponse";
1924
+ error?: Maybe<Scalars["String"]["output"]>;
1925
+ templates: Array<GQLMemorySchemaTemplate>;
1926
+ };
1927
+
1928
+ export type GQLMemorySchemaTypeChangeImpact = {
1929
+ __typename?: "MemorySchemaTypeChangeImpact";
1930
+ from: GQLMemorySchemaValueType;
1931
+ label: Scalars["String"]["output"];
1932
+ path: Scalars["IRI"]["output"];
1933
+ to: GQLMemorySchemaValueType;
1934
+ unconvertibleCount: Scalars["Int"]["output"];
1935
+ unconvertibleSamples: Array<Scalars["String"]["output"]>;
1936
+ valueCount: Scalars["Int"]["output"];
1937
+ };
1938
+
1939
+ export type GQLMemorySchemaUsage = {
1940
+ __typename?: "MemorySchemaUsage";
1941
+ iri: Scalars["IRI"]["output"];
1942
+ memoryCount: Scalars["Int"]["output"];
1943
+ properties: Array<GQLMemorySchemaPropertyUsage>;
1944
+ rules: Array<GQLMemorySchemaRuleReference>;
1945
+ };
1946
+
1947
+ export type GQLMemorySchemaUsageResponse = {
1948
+ __typename?: "MemorySchemaUsageResponse";
1949
+ error?: Maybe<Scalars["String"]["output"]>;
1950
+ usage?: Maybe<GQLMemorySchemaUsage>;
1951
+ };
1952
+
1953
+ export type GQLMemorySchemaValidationError = {
1954
+ __typename?: "MemorySchemaValidationError";
1955
+ field: Scalars["String"]["output"];
1956
+ message: Scalars["String"]["output"];
1957
+ };
1958
+
1959
+ export enum GQLMemorySchemaValueType {
1960
+ Boolean = "boolean",
1961
+ Date = "date",
1962
+ DateTime = "dateTime",
1963
+ Decimal = "decimal",
1964
+ Entity = "entity",
1965
+ Integer = "integer",
1966
+ LongText = "longText",
1967
+ Text = "text",
1968
+ Url = "url",
1969
+ }
1970
+
1664
1971
  export type GQLMemorySchemasResponse = {
1665
1972
  __typename?: "MemorySchemasResponse";
1666
1973
  error?: Maybe<Scalars["String"]["output"]>;
@@ -1673,6 +1980,12 @@ export enum GQLMemoryScope {
1673
1980
  User = "user",
1674
1981
  }
1675
1982
 
1983
+ export enum GQLMemoryVolatility {
1984
+ Slow = "slow",
1985
+ Stable = "stable",
1986
+ Volatile = "volatile",
1987
+ }
1988
+
1676
1989
  export type GQLMetaAdAccount = {
1677
1990
  __typename?: "MetaAdAccount";
1678
1991
  externalId?: Maybe<Scalars["String"]["output"]>;
@@ -1757,11 +2070,14 @@ export type GQLMutation = {
1757
2070
  __typename?: "Mutation";
1758
2071
  abortUpload: GQLAbortUploadResponse;
1759
2072
  acceptInvitation: GQLInvitationAcceptedResponse;
2073
+ addMemorySchemaFromTemplate: GQLMemorySchemaMutationResponse;
2074
+ archiveMemorySchema: GQLMemorySchemaMutationResponse;
1760
2075
  assignTeamMembers: GQLAssignmentSummary;
1761
2076
  attributeStripeSubscription: GQLAttributeStripeSubscriptionResponse;
1762
2077
  awaitDataConnectionTest: GQLDataConnectionTestState;
1763
2078
  bringDatastoreOnline: GQLBringDatastoreOnlineResponse;
1764
2079
  cancelActionPlan: GQLCancelActionPlanResponse;
2080
+ clearMemorySchemaPropertyValues: GQLMemorySchemaMutationResponse;
1765
2081
  clearStagedRules: GQLClearStagedRulesResponse;
1766
2082
  commitStagedRules: GQLCommitStagedRulesResponse;
1767
2083
  completeStripeCheckout: GQLCompleteStripeCheckoutResponse;
@@ -1773,6 +2089,7 @@ export type GQLMutation = {
1773
2089
  createDataConnection: GQLDataConnectionTestState;
1774
2090
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1775
2091
  createMemory: GQLCreateMemoryResponse;
2092
+ createMemorySchema: GQLMemorySchemaMutationResponse;
1776
2093
  createRulePrefix: GQLRulePrefixResponse;
1777
2094
  createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
1778
2095
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
@@ -1784,12 +2101,15 @@ export type GQLMutation = {
1784
2101
  deleteDatastore: GQLDeleteDatastoreResponse;
1785
2102
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1786
2103
  deleteMemory: GQLDeleteMemoryResponse;
2104
+ deleteMemorySchema: GQLMemorySchemaMutationResponse;
1787
2105
  deleteRulePrefix: GQLDeleteRulePrefixResponse;
2106
+ deleteUpload: GQLDeleteUploadResponse;
1788
2107
  deleteUserAccount: GQLDeleteUserAccountResponse;
1789
2108
  disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
1790
2109
  disconnectCustomApp: Scalars["Boolean"]["output"];
1791
2110
  disconnectGmailIntegration: GQLDisconnectGmailIntegrationResponse;
1792
2111
  disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
2112
+ dismissMemorySchemaTemplateUpdate: GQLMemorySchemaMutationResponse;
1793
2113
  executeActionAddition: GQLExecuteActionResponse;
1794
2114
  executeActionDeletion: GQLExecuteActionResponse;
1795
2115
  executeActionGraph: GQLExecuteActionResponse;
@@ -1819,6 +2139,7 @@ export type GQLMutation = {
1819
2139
  microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
1820
2140
  pauseLDESStream: GQLLdesStreamResponse;
1821
2141
  provisionDatastore: GQLProvisionDatastoreResponse;
2142
+ publishManualActionAssigned: GQLPublishChannelEventResult;
1822
2143
  reconfirmMemory: GQLUpdateMemoryResponse;
1823
2144
  recordHotelProfile: GQLRecordHotelProfileResponse;
1824
2145
  refreshResources: GQLRefreshResourcesResponse;
@@ -1831,6 +2152,7 @@ export type GQLMutation = {
1831
2152
  renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
1832
2153
  renameUser: GQLRenameUserResponse;
1833
2154
  resendTeamInvitation: GQLTeamInvitationResentResponse;
2155
+ resetMemorySchemaToTemplate: GQLMemorySchemaMutationResponse;
1834
2156
  restoreMemory: GQLRestoreMemoryResponse;
1835
2157
  resumeLDESStream: GQLLdesStreamResponse;
1836
2158
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
@@ -1838,15 +2160,19 @@ export type GQLMutation = {
1838
2160
  rotateCustomAppSecret: GQLCustomAppCredentials;
1839
2161
  runDatastoreDeletionStep: GQLRunDatastoreDeletionStepResult;
1840
2162
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
2163
+ setActionPlanAutoPilot: GQLSetActionPlanAutoPilotResponse;
1841
2164
  setCustomAppChatAllowance: GQLCustomAppChatAllowance;
1842
2165
  setCustomAppEnabled: GQLCustomApp;
1843
2166
  setTeamMemberEnabled: GQLTeamMemberEnabledResponse;
1844
2167
  stageRuleOperation: GQLStageRuleOperationResponse;
1845
2168
  startLDESStream: GQLLdesStreamResponse;
1846
2169
  syncGmailIntegration: GQLGmailIntegration;
2170
+ unarchiveMemorySchema: GQLMemorySchemaMutationResponse;
2171
+ undoMemorySchemaAssignment: GQLUpdateMemoryResponse;
1847
2172
  updateCustomApp: GQLCustomApp;
1848
2173
  updateDataConnection: GQLDataConnectionTestState;
1849
2174
  updateMemory: GQLUpdateMemoryResponse;
2175
+ updateMemorySchema: GQLMemorySchemaMutationResponse;
1850
2176
  updateRulePrefix: GQLRulePrefixResponse;
1851
2177
  updateTeamMember: GQLTeamMemberUpdateResponse;
1852
2178
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
@@ -1862,6 +2188,14 @@ export type GQLMutationAcceptInvitationArgs = {
1862
2188
  organizationId: Scalars["ID"]["input"];
1863
2189
  };
1864
2190
 
2191
+ export type GQLMutationAddMemorySchemaFromTemplateArgs = {
2192
+ templateIri: Scalars["IRI"]["input"];
2193
+ };
2194
+
2195
+ export type GQLMutationArchiveMemorySchemaArgs = {
2196
+ input: GQLMemorySchemaRevisionInput;
2197
+ };
2198
+
1865
2199
  export type GQLMutationAssignTeamMembersArgs = {
1866
2200
  roles?: InputMaybe<Array<GQLAssignmentRoleInput>>;
1867
2201
  targets: Array<GQLAssignTargetInput>;
@@ -1885,6 +2219,10 @@ export type GQLMutationCancelActionPlanArgs = {
1885
2219
  planIri: Scalars["String"]["input"];
1886
2220
  };
1887
2221
 
2222
+ export type GQLMutationClearMemorySchemaPropertyValuesArgs = {
2223
+ input: GQLClearMemorySchemaPropertyValuesInput;
2224
+ };
2225
+
1888
2226
  export type GQLMutationClearStagedRulesArgs = {
1889
2227
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]>>;
1890
2228
  };
@@ -1937,6 +2275,10 @@ export type GQLMutationCreateMemoryArgs = {
1937
2275
  input: GQLCreateMemoryInput;
1938
2276
  };
1939
2277
 
2278
+ export type GQLMutationCreateMemorySchemaArgs = {
2279
+ input: GQLCreateMemorySchemaInput;
2280
+ };
2281
+
1940
2282
  export type GQLMutationCreateRulePrefixArgs = {
1941
2283
  input: GQLRulePrefixInput;
1942
2284
  };
@@ -1988,10 +2330,18 @@ export type GQLMutationDeleteMemoryArgs = {
1988
2330
  memoryIri: Scalars["IRI"]["input"];
1989
2331
  };
1990
2332
 
2333
+ export type GQLMutationDeleteMemorySchemaArgs = {
2334
+ input: GQLMemorySchemaRevisionInput;
2335
+ };
2336
+
1991
2337
  export type GQLMutationDeleteRulePrefixArgs = {
1992
2338
  name: Scalars["String"]["input"];
1993
2339
  };
1994
2340
 
2341
+ export type GQLMutationDeleteUploadArgs = {
2342
+ input: GQLDeleteUploadInput;
2343
+ };
2344
+
1995
2345
  export type GQLMutationDeleteUserAccountArgs = {
1996
2346
  userId: Scalars["String"]["input"];
1997
2347
  };
@@ -2012,6 +2362,10 @@ export type GQLMutationDisconnectInferalIntegrationArgs = {
2012
2362
  id: Scalars["String"]["input"];
2013
2363
  };
2014
2364
 
2365
+ export type GQLMutationDismissMemorySchemaTemplateUpdateArgs = {
2366
+ input: GQLMemorySchemaRevisionInput;
2367
+ };
2368
+
2015
2369
  export type GQLMutationExecuteActionAdditionArgs = {
2016
2370
  input: GQLExecuteActionAdditionInput;
2017
2371
  };
@@ -2142,6 +2496,10 @@ export type GQLMutationProvisionDatastoreArgs = {
2142
2496
  input: GQLProvisionDatastoreInput;
2143
2497
  };
2144
2498
 
2499
+ export type GQLMutationPublishManualActionAssignedArgs = {
2500
+ input: GQLPublishManualActionAssignedInput;
2501
+ };
2502
+
2145
2503
  export type GQLMutationReconfirmMemoryArgs = {
2146
2504
  memoryIri: Scalars["IRI"]["input"];
2147
2505
  };
@@ -2202,6 +2560,10 @@ export type GQLMutationResendTeamInvitationArgs = {
2202
2560
  userId: Scalars["String"]["input"];
2203
2561
  };
2204
2562
 
2563
+ export type GQLMutationResetMemorySchemaToTemplateArgs = {
2564
+ input: GQLResetMemorySchemaInput;
2565
+ };
2566
+
2205
2567
  export type GQLMutationRestoreMemoryArgs = {
2206
2568
  memoryIri: Scalars["IRI"]["input"];
2207
2569
  };
@@ -2233,6 +2595,10 @@ export type GQLMutationSelfServeProvisionOrganizationArgs = {
2233
2595
  input: GQLSelfServeProvisionOrganizationInput;
2234
2596
  };
2235
2597
 
2598
+ export type GQLMutationSetActionPlanAutoPilotArgs = {
2599
+ input: GQLSetActionPlanAutoPilotInput;
2600
+ };
2601
+
2236
2602
  export type GQLMutationSetCustomAppChatAllowanceArgs = {
2237
2603
  clientId: Scalars["String"]["input"];
2238
2604
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -2264,6 +2630,14 @@ export type GQLMutationSyncGmailIntegrationArgs = {
2264
2630
  email: Scalars["String"]["input"];
2265
2631
  };
2266
2632
 
2633
+ export type GQLMutationUnarchiveMemorySchemaArgs = {
2634
+ input: GQLMemorySchemaRevisionInput;
2635
+ };
2636
+
2637
+ export type GQLMutationUndoMemorySchemaAssignmentArgs = {
2638
+ memoryIri: Scalars["IRI"]["input"];
2639
+ };
2640
+
2267
2641
  export type GQLMutationUpdateCustomAppArgs = {
2268
2642
  clientId: Scalars["String"]["input"];
2269
2643
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
@@ -2283,6 +2657,10 @@ export type GQLMutationUpdateMemoryArgs = {
2283
2657
  input: GQLUpdateMemoryInput;
2284
2658
  };
2285
2659
 
2660
+ export type GQLMutationUpdateMemorySchemaArgs = {
2661
+ input: GQLUpdateMemorySchemaInput;
2662
+ };
2663
+
2286
2664
  export type GQLMutationUpdateRulePrefixArgs = {
2287
2665
  input: GQLRulePrefixInput;
2288
2666
  };
@@ -2408,6 +2786,21 @@ export type GQLProvisionDatastoreResponse = {
2408
2786
  success: Scalars["Boolean"]["output"];
2409
2787
  };
2410
2788
 
2789
+ export type GQLPublishChannelEventResult = {
2790
+ __typename?: "PublishChannelEventResult";
2791
+ delivered: Scalars["Int"]["output"];
2792
+ };
2793
+
2794
+ export type GQLPublishManualActionAssignedInput = {
2795
+ aboutIri?: InputMaybe<Scalars["String"]["input"]>;
2796
+ actionPlanIri: Scalars["String"]["input"];
2797
+ assignees: Array<Scalars["String"]["input"]>;
2798
+ datastoreId: Scalars["String"]["input"];
2799
+ description?: InputMaybe<Scalars["String"]["input"]>;
2800
+ eventId: Scalars["String"]["input"];
2801
+ manualActionIri: Scalars["String"]["input"];
2802
+ };
2803
+
2411
2804
  export type GQLQuantitativeValue = GQLApproximateQuantitativeValue | GQLExactQuantitativeValue;
2412
2805
 
2413
2806
  export type GQLQuery = {
@@ -2455,6 +2848,9 @@ export type GQLQuery = {
2455
2848
  memories: GQLMemoriesResponse;
2456
2849
  memoryRedundancyReview: GQLMemoryRedundancyResult;
2457
2850
  memoryReplaySeries: GQLMemoryReplaySeriesResult;
2851
+ memorySchemaRuleCounts: GQLMemorySchemaRuleCountsResponse;
2852
+ memorySchemaTemplates: GQLMemorySchemaTemplatesResponse;
2853
+ memorySchemaUsage: GQLMemorySchemaUsageResponse;
2458
2854
  memorySchemas: GQLMemorySchemasResponse;
2459
2855
  metaInterestSuggestions: Array<GQLMetaInterestSuggestion>;
2460
2856
  metaSetupProgress: GQLMetaSetupProgress;
@@ -2625,6 +3021,14 @@ export type GQLQueryMemoryReplaySeriesArgs = {
2625
3021
  limit?: InputMaybe<Scalars["Int"]["input"]>;
2626
3022
  };
2627
3023
 
3024
+ export type GQLQueryMemorySchemaUsageArgs = {
3025
+ iri: Scalars["IRI"]["input"];
3026
+ };
3027
+
3028
+ export type GQLQueryMemorySchemasArgs = {
3029
+ includeArchived?: InputMaybe<Scalars["Boolean"]["input"]>;
3030
+ };
3031
+
2628
3032
  export type GQLQueryMetaInterestSuggestionsArgs = {
2629
3033
  adAccountIri: Scalars["IRI"]["input"];
2630
3034
  limit?: InputMaybe<Scalars["Int"]["input"]>;
@@ -2827,6 +3231,14 @@ export type GQLRenameUserResponse = {
2827
3231
  name?: Maybe<Scalars["String"]["output"]>;
2828
3232
  };
2829
3233
 
3234
+ export type GQLResetMemorySchemaInput = {
3235
+ clearUnconvertibleValues?: InputMaybe<Scalars["Boolean"]["input"]>;
3236
+ dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
3237
+ expectedRevision: Scalars["Int"]["input"];
3238
+ iri: Scalars["IRI"]["input"];
3239
+ optionRemaps?: InputMaybe<Array<GQLMemorySchemaOptionRemapInput>>;
3240
+ };
3241
+
2830
3242
  export type GQLRestoreMemoryResponse = {
2831
3243
  __typename?: "RestoreMemoryResponse";
2832
3244
  blockedByIri?: Maybe<Scalars["IRI"]["output"]>;
@@ -2865,6 +3277,16 @@ export type GQLRule = {
2865
3277
  unifiesWith: Array<Scalars["IRI"]["output"]>;
2866
3278
  };
2867
3279
 
3280
+ export enum GQLRuleCommitOutcome {
3281
+ Committed = "committed",
3282
+ Failed = "failed",
3283
+ GatewayGaveUp = "gateway_gave_up",
3284
+ Locked = "locked",
3285
+ NoChanges = "no_changes",
3286
+ Refused = "refused",
3287
+ TimedOut = "timed_out",
3288
+ }
3289
+
2868
3290
  export enum GQLRuleOperation {
2869
3291
  Add = "ADD",
2870
3292
  Change = "CHANGE",
@@ -3051,6 +3473,21 @@ export type GQLSessionUser = {
3051
3473
  pictureSource?: Maybe<GQLPictureSource>;
3052
3474
  };
3053
3475
 
3476
+ export type GQLSetActionPlanAutoPilotInput = {
3477
+ enabled: Scalars["Boolean"]["input"];
3478
+ planGraphIri: Scalars["IRI"]["input"];
3479
+ scheduledCadence?: InputMaybe<Scalars["String"]["input"]>;
3480
+ };
3481
+
3482
+ export type GQLSetActionPlanAutoPilotResponse = {
3483
+ __typename?: "SetActionPlanAutoPilotResponse";
3484
+ autoPilotEnabled?: Maybe<Scalars["Boolean"]["output"]>;
3485
+ error?: Maybe<Scalars["String"]["output"]>;
3486
+ planGraphIri: Scalars["IRI"]["output"];
3487
+ ruleIri?: Maybe<Scalars["IRI"]["output"]>;
3488
+ success: Scalars["Boolean"]["output"];
3489
+ };
3490
+
3054
3491
  export enum GQLSetupAccountUnavailableReason {
3055
3492
  InsufficientPermissions = "INSUFFICIENT_PERMISSIONS",
3056
3493
  TermsNotAccepted = "TERMS_NOT_ACCEPTED",
@@ -3389,6 +3826,16 @@ export type GQLUpdateMemoryResponse = {
3389
3826
  __typename?: "UpdateMemoryResponse";
3390
3827
  error?: Maybe<Scalars["String"]["output"]>;
3391
3828
  memory?: Maybe<GQLMemory>;
3829
+ propertyErrors?: Maybe<Array<GQLMemoryPropertyProblem>>;
3830
+ };
3831
+
3832
+ export type GQLUpdateMemorySchemaInput = {
3833
+ clearUnconvertibleValues?: InputMaybe<Scalars["Boolean"]["input"]>;
3834
+ definition: GQLMemorySchemaDefinitionInput;
3835
+ dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
3836
+ expectedRevision: Scalars["Int"]["input"];
3837
+ iri: Scalars["IRI"]["input"];
3838
+ optionRemaps?: InputMaybe<Array<GQLMemorySchemaOptionRemapInput>>;
3392
3839
  };
3393
3840
 
3394
3841
  export type GQLUpdateUserPreferencesInput = {
@@ -3530,7 +3977,13 @@ export type GQLMemoryFieldsFragment = {
3530
3977
  teams: Array<string>;
3531
3978
  importance: number;
3532
3979
  memorySubclass?: string | null;
3533
- customProperties?: Record<string, unknown> | null;
3980
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
3981
+ schemaAssignment?: {
3982
+ __typename?: "MemorySchemaAssignment";
3983
+ schemaIri: string;
3984
+ confidence?: number | null;
3985
+ assignedAt?: Date | string | null;
3986
+ } | null;
3534
3987
  };
3535
3988
 
3536
3989
  export type GQLMemoryMutationResultFragment = {
@@ -3558,10 +4011,210 @@ export type GQLMemoryMutationResultFragment = {
3558
4011
  teams: Array<string>;
3559
4012
  importance: number;
3560
4013
  memorySubclass?: string | null;
3561
- customProperties?: Record<string, unknown> | null;
4014
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
4015
+ schemaAssignment?: {
4016
+ __typename?: "MemorySchemaAssignment";
4017
+ schemaIri: string;
4018
+ confidence?: number | null;
4019
+ assignedAt?: Date | string | null;
4020
+ } | null;
4021
+ } | null;
4022
+ propertyErrors?: Array<{
4023
+ __typename?: "MemoryPropertyProblem";
4024
+ path: string;
4025
+ label?: string | null;
4026
+ message: string;
4027
+ }> | null;
4028
+ };
4029
+
4030
+ export type GQLMemorySchemaFieldsFragment = {
4031
+ __typename?: "MemorySchema";
4032
+ iri: string;
4033
+ label: string;
4034
+ description?: string | null;
4035
+ status: GQLMemorySchemaStatus;
4036
+ revision: number;
4037
+ defaultMemoryKind?: GQLMemoryKind | null;
4038
+ defaultVolatility?: GQLMemoryVolatility | null;
4039
+ defaultImportance?: number | null;
4040
+ defaultScope?: GQLMemoryScope | null;
4041
+ extractionEnabled: boolean;
4042
+ extractionGuidance?: string | null;
4043
+ templateStatus: GQLMemorySchemaTemplateStatus;
4044
+ customized: boolean;
4045
+ memoryCount?: number | null;
4046
+ createdAt?: Date | string | null;
4047
+ createdBy: GQLMemorySchemaCreator;
4048
+ updatedAt?: Date | string | null;
4049
+ properties: Array<{
4050
+ __typename?: "MemorySchemaProperty";
4051
+ path: string;
4052
+ label: string;
4053
+ description?: string | null;
4054
+ order: number;
4055
+ valueType: GQLMemorySchemaValueType;
4056
+ dataType: string;
4057
+ entityClass?: string | null;
4058
+ required: boolean;
4059
+ multiValued: boolean;
4060
+ allowedValues: Array<string>;
4061
+ keyProperty: boolean;
4062
+ computed: boolean;
4063
+ minValue?: string | null;
4064
+ maxValue?: string | null;
4065
+ maxLength?: number | null;
4066
+ pattern?: string | null;
4067
+ defaultValue?: string | null;
4068
+ unit?: string | null;
4069
+ options: Array<{
4070
+ __typename?: "MemorySchemaOption";
4071
+ value: string;
4072
+ label?: string | null;
4073
+ description?: string | null;
4074
+ }>;
4075
+ }>;
4076
+ };
4077
+
4078
+ export type GQLMemorySchemaMutationResultFragment = {
4079
+ __typename?: "MemorySchemaMutationResponse";
4080
+ status: GQLMemorySchemaMutationStatus;
4081
+ error?: string | null;
4082
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
4083
+ schema?: {
4084
+ __typename?: "MemorySchema";
4085
+ iri: string;
4086
+ label: string;
4087
+ description?: string | null;
4088
+ status: GQLMemorySchemaStatus;
4089
+ revision: number;
4090
+ defaultMemoryKind?: GQLMemoryKind | null;
4091
+ defaultVolatility?: GQLMemoryVolatility | null;
4092
+ defaultImportance?: number | null;
4093
+ defaultScope?: GQLMemoryScope | null;
4094
+ extractionEnabled: boolean;
4095
+ extractionGuidance?: string | null;
4096
+ templateStatus: GQLMemorySchemaTemplateStatus;
4097
+ customized: boolean;
4098
+ memoryCount?: number | null;
4099
+ createdAt?: Date | string | null;
4100
+ createdBy: GQLMemorySchemaCreator;
4101
+ updatedAt?: Date | string | null;
4102
+ properties: Array<{
4103
+ __typename?: "MemorySchemaProperty";
4104
+ path: string;
4105
+ label: string;
4106
+ description?: string | null;
4107
+ order: number;
4108
+ valueType: GQLMemorySchemaValueType;
4109
+ dataType: string;
4110
+ entityClass?: string | null;
4111
+ required: boolean;
4112
+ multiValued: boolean;
4113
+ allowedValues: Array<string>;
4114
+ keyProperty: boolean;
4115
+ computed: boolean;
4116
+ minValue?: string | null;
4117
+ maxValue?: string | null;
4118
+ maxLength?: number | null;
4119
+ pattern?: string | null;
4120
+ defaultValue?: string | null;
4121
+ unit?: string | null;
4122
+ options: Array<{
4123
+ __typename?: "MemorySchemaOption";
4124
+ value: string;
4125
+ label?: string | null;
4126
+ description?: string | null;
4127
+ }>;
4128
+ }>;
4129
+ } | null;
4130
+ impact?: {
4131
+ __typename?: "MemorySchemaImpact";
4132
+ memoryCount: number;
4133
+ blockers: Array<string>;
4134
+ removedProperties: Array<{
4135
+ __typename?: "MemorySchemaPropertyImpact";
4136
+ path: string;
4137
+ label: string;
4138
+ memoryCount: number;
4139
+ }>;
4140
+ typeChanges: Array<{
4141
+ __typename?: "MemorySchemaTypeChangeImpact";
4142
+ path: string;
4143
+ label: string;
4144
+ from: GQLMemorySchemaValueType;
4145
+ to: GQLMemorySchemaValueType;
4146
+ valueCount: number;
4147
+ unconvertibleCount: number;
4148
+ unconvertibleSamples: Array<string>;
4149
+ }>;
4150
+ removedOptions: Array<{
4151
+ __typename?: "MemorySchemaOptionImpact";
4152
+ path: string;
4153
+ label: string;
4154
+ value: string;
4155
+ memoryCount: number;
4156
+ remappedTo?: string | null;
4157
+ }>;
4158
+ limitViolations: Array<{
4159
+ __typename?: "MemorySchemaLimitImpact";
4160
+ path: string;
4161
+ label: string;
4162
+ valueCount: number;
4163
+ invalidCount: number;
4164
+ invalidSamples: Array<string>;
4165
+ }>;
4166
+ multiValueConflicts: Array<{
4167
+ __typename?: "MemorySchemaPropertyImpact";
4168
+ path: string;
4169
+ label: string;
4170
+ memoryCount: number;
4171
+ }>;
4172
+ clearedValues: Array<{
4173
+ __typename?: "MemorySchemaPropertyImpact";
4174
+ path: string;
4175
+ label: string;
4176
+ memoryCount: number;
4177
+ }>;
4178
+ ruleReferences: Array<{
4179
+ __typename?: "MemorySchemaRuleReference";
4180
+ ruleIri: string;
4181
+ label?: string | null;
4182
+ kind: GQLMemorySchemaRuleReferenceKind;
4183
+ term: string;
4184
+ value?: string | null;
4185
+ position: GQLMemorySchemaRulePosition;
4186
+ }>;
3562
4187
  } | null;
3563
4188
  };
3564
4189
 
4190
+ export type GQLMemorySchemaPropertyFieldsFragment = {
4191
+ __typename?: "MemorySchemaProperty";
4192
+ path: string;
4193
+ label: string;
4194
+ description?: string | null;
4195
+ order: number;
4196
+ valueType: GQLMemorySchemaValueType;
4197
+ dataType: string;
4198
+ entityClass?: string | null;
4199
+ required: boolean;
4200
+ multiValued: boolean;
4201
+ allowedValues: Array<string>;
4202
+ keyProperty: boolean;
4203
+ computed: boolean;
4204
+ minValue?: string | null;
4205
+ maxValue?: string | null;
4206
+ maxLength?: number | null;
4207
+ pattern?: string | null;
4208
+ defaultValue?: string | null;
4209
+ unit?: string | null;
4210
+ options: Array<{
4211
+ __typename?: "MemorySchemaOption";
4212
+ value: string;
4213
+ label?: string | null;
4214
+ description?: string | null;
4215
+ }>;
4216
+ };
4217
+
3565
4218
  export type GQLAbortUploadMutationVariables = Exact<{
3566
4219
  input: GQLAbortUploadInput;
3567
4220
  }>;
@@ -3580,31 +4233,269 @@ export type GQLAcceptInvitationMutation = {
3580
4233
  acceptInvitation: { __typename?: "InvitationAcceptedResponse"; organizationId: string; joined: boolean };
3581
4234
  };
3582
4235
 
3583
- export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
3584
- subscriptionId: Scalars["String"]["input"];
3585
- datastoreId: Scalars["String"]["input"];
3586
- }>;
3587
-
3588
- export type GQLAttributeStripeSubscriptionMutation = {
3589
- __typename?: "Mutation";
3590
- attributeStripeSubscription: {
3591
- __typename?: "AttributeStripeSubscriptionResponse";
3592
- success: boolean;
3593
- status?: string | null;
3594
- error?: string | null;
3595
- };
3596
- };
3597
-
3598
- export type GQLAwaitDataConnectionTestMutationVariables = Exact<{
3599
- id: Scalars["String"]["input"];
4236
+ export type GQLAddMemorySchemaFromTemplateMutationVariables = Exact<{
4237
+ templateIri: Scalars["IRI"]["input"];
3600
4238
  }>;
3601
4239
 
3602
- export type GQLAwaitDataConnectionTestMutation = {
4240
+ export type GQLAddMemorySchemaFromTemplateMutation = {
3603
4241
  __typename?: "Mutation";
3604
- awaitDataConnectionTest: {
3605
- __typename?: "DataConnectionTestState";
3606
- id: string;
3607
- status: GQLDataConnectionStatus;
4242
+ addMemorySchemaFromTemplate: {
4243
+ __typename?: "MemorySchemaMutationResponse";
4244
+ status: GQLMemorySchemaMutationStatus;
4245
+ error?: string | null;
4246
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
4247
+ schema?: {
4248
+ __typename?: "MemorySchema";
4249
+ iri: string;
4250
+ label: string;
4251
+ description?: string | null;
4252
+ status: GQLMemorySchemaStatus;
4253
+ revision: number;
4254
+ defaultMemoryKind?: GQLMemoryKind | null;
4255
+ defaultVolatility?: GQLMemoryVolatility | null;
4256
+ defaultImportance?: number | null;
4257
+ defaultScope?: GQLMemoryScope | null;
4258
+ extractionEnabled: boolean;
4259
+ extractionGuidance?: string | null;
4260
+ templateStatus: GQLMemorySchemaTemplateStatus;
4261
+ customized: boolean;
4262
+ memoryCount?: number | null;
4263
+ createdAt?: Date | string | null;
4264
+ createdBy: GQLMemorySchemaCreator;
4265
+ updatedAt?: Date | string | null;
4266
+ properties: Array<{
4267
+ __typename?: "MemorySchemaProperty";
4268
+ path: string;
4269
+ label: string;
4270
+ description?: string | null;
4271
+ order: number;
4272
+ valueType: GQLMemorySchemaValueType;
4273
+ dataType: string;
4274
+ entityClass?: string | null;
4275
+ required: boolean;
4276
+ multiValued: boolean;
4277
+ allowedValues: Array<string>;
4278
+ keyProperty: boolean;
4279
+ computed: boolean;
4280
+ minValue?: string | null;
4281
+ maxValue?: string | null;
4282
+ maxLength?: number | null;
4283
+ pattern?: string | null;
4284
+ defaultValue?: string | null;
4285
+ unit?: string | null;
4286
+ options: Array<{
4287
+ __typename?: "MemorySchemaOption";
4288
+ value: string;
4289
+ label?: string | null;
4290
+ description?: string | null;
4291
+ }>;
4292
+ }>;
4293
+ } | null;
4294
+ impact?: {
4295
+ __typename?: "MemorySchemaImpact";
4296
+ memoryCount: number;
4297
+ blockers: Array<string>;
4298
+ removedProperties: Array<{
4299
+ __typename?: "MemorySchemaPropertyImpact";
4300
+ path: string;
4301
+ label: string;
4302
+ memoryCount: number;
4303
+ }>;
4304
+ typeChanges: Array<{
4305
+ __typename?: "MemorySchemaTypeChangeImpact";
4306
+ path: string;
4307
+ label: string;
4308
+ from: GQLMemorySchemaValueType;
4309
+ to: GQLMemorySchemaValueType;
4310
+ valueCount: number;
4311
+ unconvertibleCount: number;
4312
+ unconvertibleSamples: Array<string>;
4313
+ }>;
4314
+ removedOptions: Array<{
4315
+ __typename?: "MemorySchemaOptionImpact";
4316
+ path: string;
4317
+ label: string;
4318
+ value: string;
4319
+ memoryCount: number;
4320
+ remappedTo?: string | null;
4321
+ }>;
4322
+ limitViolations: Array<{
4323
+ __typename?: "MemorySchemaLimitImpact";
4324
+ path: string;
4325
+ label: string;
4326
+ valueCount: number;
4327
+ invalidCount: number;
4328
+ invalidSamples: Array<string>;
4329
+ }>;
4330
+ multiValueConflicts: Array<{
4331
+ __typename?: "MemorySchemaPropertyImpact";
4332
+ path: string;
4333
+ label: string;
4334
+ memoryCount: number;
4335
+ }>;
4336
+ clearedValues: Array<{
4337
+ __typename?: "MemorySchemaPropertyImpact";
4338
+ path: string;
4339
+ label: string;
4340
+ memoryCount: number;
4341
+ }>;
4342
+ ruleReferences: Array<{
4343
+ __typename?: "MemorySchemaRuleReference";
4344
+ ruleIri: string;
4345
+ label?: string | null;
4346
+ kind: GQLMemorySchemaRuleReferenceKind;
4347
+ term: string;
4348
+ value?: string | null;
4349
+ position: GQLMemorySchemaRulePosition;
4350
+ }>;
4351
+ } | null;
4352
+ };
4353
+ };
4354
+
4355
+ export type GQLArchiveMemorySchemaMutationVariables = Exact<{
4356
+ input: GQLMemorySchemaRevisionInput;
4357
+ }>;
4358
+
4359
+ export type GQLArchiveMemorySchemaMutation = {
4360
+ __typename?: "Mutation";
4361
+ archiveMemorySchema: {
4362
+ __typename?: "MemorySchemaMutationResponse";
4363
+ status: GQLMemorySchemaMutationStatus;
4364
+ error?: string | null;
4365
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
4366
+ schema?: {
4367
+ __typename?: "MemorySchema";
4368
+ iri: string;
4369
+ label: string;
4370
+ description?: string | null;
4371
+ status: GQLMemorySchemaStatus;
4372
+ revision: number;
4373
+ defaultMemoryKind?: GQLMemoryKind | null;
4374
+ defaultVolatility?: GQLMemoryVolatility | null;
4375
+ defaultImportance?: number | null;
4376
+ defaultScope?: GQLMemoryScope | null;
4377
+ extractionEnabled: boolean;
4378
+ extractionGuidance?: string | null;
4379
+ templateStatus: GQLMemorySchemaTemplateStatus;
4380
+ customized: boolean;
4381
+ memoryCount?: number | null;
4382
+ createdAt?: Date | string | null;
4383
+ createdBy: GQLMemorySchemaCreator;
4384
+ updatedAt?: Date | string | null;
4385
+ properties: Array<{
4386
+ __typename?: "MemorySchemaProperty";
4387
+ path: string;
4388
+ label: string;
4389
+ description?: string | null;
4390
+ order: number;
4391
+ valueType: GQLMemorySchemaValueType;
4392
+ dataType: string;
4393
+ entityClass?: string | null;
4394
+ required: boolean;
4395
+ multiValued: boolean;
4396
+ allowedValues: Array<string>;
4397
+ keyProperty: boolean;
4398
+ computed: boolean;
4399
+ minValue?: string | null;
4400
+ maxValue?: string | null;
4401
+ maxLength?: number | null;
4402
+ pattern?: string | null;
4403
+ defaultValue?: string | null;
4404
+ unit?: string | null;
4405
+ options: Array<{
4406
+ __typename?: "MemorySchemaOption";
4407
+ value: string;
4408
+ label?: string | null;
4409
+ description?: string | null;
4410
+ }>;
4411
+ }>;
4412
+ } | null;
4413
+ impact?: {
4414
+ __typename?: "MemorySchemaImpact";
4415
+ memoryCount: number;
4416
+ blockers: Array<string>;
4417
+ removedProperties: Array<{
4418
+ __typename?: "MemorySchemaPropertyImpact";
4419
+ path: string;
4420
+ label: string;
4421
+ memoryCount: number;
4422
+ }>;
4423
+ typeChanges: Array<{
4424
+ __typename?: "MemorySchemaTypeChangeImpact";
4425
+ path: string;
4426
+ label: string;
4427
+ from: GQLMemorySchemaValueType;
4428
+ to: GQLMemorySchemaValueType;
4429
+ valueCount: number;
4430
+ unconvertibleCount: number;
4431
+ unconvertibleSamples: Array<string>;
4432
+ }>;
4433
+ removedOptions: Array<{
4434
+ __typename?: "MemorySchemaOptionImpact";
4435
+ path: string;
4436
+ label: string;
4437
+ value: string;
4438
+ memoryCount: number;
4439
+ remappedTo?: string | null;
4440
+ }>;
4441
+ limitViolations: Array<{
4442
+ __typename?: "MemorySchemaLimitImpact";
4443
+ path: string;
4444
+ label: string;
4445
+ valueCount: number;
4446
+ invalidCount: number;
4447
+ invalidSamples: Array<string>;
4448
+ }>;
4449
+ multiValueConflicts: Array<{
4450
+ __typename?: "MemorySchemaPropertyImpact";
4451
+ path: string;
4452
+ label: string;
4453
+ memoryCount: number;
4454
+ }>;
4455
+ clearedValues: Array<{
4456
+ __typename?: "MemorySchemaPropertyImpact";
4457
+ path: string;
4458
+ label: string;
4459
+ memoryCount: number;
4460
+ }>;
4461
+ ruleReferences: Array<{
4462
+ __typename?: "MemorySchemaRuleReference";
4463
+ ruleIri: string;
4464
+ label?: string | null;
4465
+ kind: GQLMemorySchemaRuleReferenceKind;
4466
+ term: string;
4467
+ value?: string | null;
4468
+ position: GQLMemorySchemaRulePosition;
4469
+ }>;
4470
+ } | null;
4471
+ };
4472
+ };
4473
+
4474
+ export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
4475
+ subscriptionId: Scalars["String"]["input"];
4476
+ datastoreId: Scalars["String"]["input"];
4477
+ }>;
4478
+
4479
+ export type GQLAttributeStripeSubscriptionMutation = {
4480
+ __typename?: "Mutation";
4481
+ attributeStripeSubscription: {
4482
+ __typename?: "AttributeStripeSubscriptionResponse";
4483
+ success: boolean;
4484
+ status?: string | null;
4485
+ error?: string | null;
4486
+ };
4487
+ };
4488
+
4489
+ export type GQLAwaitDataConnectionTestMutationVariables = Exact<{
4490
+ id: Scalars["String"]["input"];
4491
+ }>;
4492
+
4493
+ export type GQLAwaitDataConnectionTestMutation = {
4494
+ __typename?: "Mutation";
4495
+ awaitDataConnectionTest: {
4496
+ __typename?: "DataConnectionTestState";
4497
+ id: string;
4498
+ status: GQLDataConnectionStatus;
3608
4499
  error?: string | null;
3609
4500
  };
3610
4501
  };
@@ -3627,6 +4518,125 @@ export type GQLCancelActionPlanMutation = {
3627
4518
  cancelActionPlan: { __typename?: "CancelActionPlanResponse"; success: boolean; error?: string | null };
3628
4519
  };
3629
4520
 
4521
+ export type GQLClearMemorySchemaPropertyValuesMutationVariables = Exact<{
4522
+ input: GQLClearMemorySchemaPropertyValuesInput;
4523
+ }>;
4524
+
4525
+ export type GQLClearMemorySchemaPropertyValuesMutation = {
4526
+ __typename?: "Mutation";
4527
+ clearMemorySchemaPropertyValues: {
4528
+ __typename?: "MemorySchemaMutationResponse";
4529
+ status: GQLMemorySchemaMutationStatus;
4530
+ error?: string | null;
4531
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
4532
+ schema?: {
4533
+ __typename?: "MemorySchema";
4534
+ iri: string;
4535
+ label: string;
4536
+ description?: string | null;
4537
+ status: GQLMemorySchemaStatus;
4538
+ revision: number;
4539
+ defaultMemoryKind?: GQLMemoryKind | null;
4540
+ defaultVolatility?: GQLMemoryVolatility | null;
4541
+ defaultImportance?: number | null;
4542
+ defaultScope?: GQLMemoryScope | null;
4543
+ extractionEnabled: boolean;
4544
+ extractionGuidance?: string | null;
4545
+ templateStatus: GQLMemorySchemaTemplateStatus;
4546
+ customized: boolean;
4547
+ memoryCount?: number | null;
4548
+ createdAt?: Date | string | null;
4549
+ createdBy: GQLMemorySchemaCreator;
4550
+ updatedAt?: Date | string | null;
4551
+ properties: Array<{
4552
+ __typename?: "MemorySchemaProperty";
4553
+ path: string;
4554
+ label: string;
4555
+ description?: string | null;
4556
+ order: number;
4557
+ valueType: GQLMemorySchemaValueType;
4558
+ dataType: string;
4559
+ entityClass?: string | null;
4560
+ required: boolean;
4561
+ multiValued: boolean;
4562
+ allowedValues: Array<string>;
4563
+ keyProperty: boolean;
4564
+ computed: boolean;
4565
+ minValue?: string | null;
4566
+ maxValue?: string | null;
4567
+ maxLength?: number | null;
4568
+ pattern?: string | null;
4569
+ defaultValue?: string | null;
4570
+ unit?: string | null;
4571
+ options: Array<{
4572
+ __typename?: "MemorySchemaOption";
4573
+ value: string;
4574
+ label?: string | null;
4575
+ description?: string | null;
4576
+ }>;
4577
+ }>;
4578
+ } | null;
4579
+ impact?: {
4580
+ __typename?: "MemorySchemaImpact";
4581
+ memoryCount: number;
4582
+ blockers: Array<string>;
4583
+ removedProperties: Array<{
4584
+ __typename?: "MemorySchemaPropertyImpact";
4585
+ path: string;
4586
+ label: string;
4587
+ memoryCount: number;
4588
+ }>;
4589
+ typeChanges: Array<{
4590
+ __typename?: "MemorySchemaTypeChangeImpact";
4591
+ path: string;
4592
+ label: string;
4593
+ from: GQLMemorySchemaValueType;
4594
+ to: GQLMemorySchemaValueType;
4595
+ valueCount: number;
4596
+ unconvertibleCount: number;
4597
+ unconvertibleSamples: Array<string>;
4598
+ }>;
4599
+ removedOptions: Array<{
4600
+ __typename?: "MemorySchemaOptionImpact";
4601
+ path: string;
4602
+ label: string;
4603
+ value: string;
4604
+ memoryCount: number;
4605
+ remappedTo?: string | null;
4606
+ }>;
4607
+ limitViolations: Array<{
4608
+ __typename?: "MemorySchemaLimitImpact";
4609
+ path: string;
4610
+ label: string;
4611
+ valueCount: number;
4612
+ invalidCount: number;
4613
+ invalidSamples: Array<string>;
4614
+ }>;
4615
+ multiValueConflicts: Array<{
4616
+ __typename?: "MemorySchemaPropertyImpact";
4617
+ path: string;
4618
+ label: string;
4619
+ memoryCount: number;
4620
+ }>;
4621
+ clearedValues: Array<{
4622
+ __typename?: "MemorySchemaPropertyImpact";
4623
+ path: string;
4624
+ label: string;
4625
+ memoryCount: number;
4626
+ }>;
4627
+ ruleReferences: Array<{
4628
+ __typename?: "MemorySchemaRuleReference";
4629
+ ruleIri: string;
4630
+ label?: string | null;
4631
+ kind: GQLMemorySchemaRuleReferenceKind;
4632
+ term: string;
4633
+ value?: string | null;
4634
+ position: GQLMemorySchemaRulePosition;
4635
+ }>;
4636
+ } | null;
4637
+ };
4638
+ };
4639
+
3630
4640
  export type GQLClearStagedRulesMutationVariables = Exact<{
3631
4641
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
3632
4642
  }>;
@@ -3655,6 +4665,7 @@ export type GQLCommitStagedRulesMutation = {
3655
4665
  rulesUpdated: number;
3656
4666
  rulesDeleted: number;
3657
4667
  error?: string | null;
4668
+ requestId?: string | null;
3658
4669
  };
3659
4670
  };
3660
4671
 
@@ -3713,8 +4724,20 @@ export type GQLConsolidateMemoriesMutation = {
3713
4724
  teams: Array<string>;
3714
4725
  importance: number;
3715
4726
  memorySubclass?: string | null;
3716
- customProperties?: Record<string, unknown> | null;
4727
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
4728
+ schemaAssignment?: {
4729
+ __typename?: "MemorySchemaAssignment";
4730
+ schemaIri: string;
4731
+ confidence?: number | null;
4732
+ assignedAt?: Date | string | null;
4733
+ } | null;
3717
4734
  } | null;
4735
+ propertyErrors?: Array<{
4736
+ __typename?: "MemoryPropertyProblem";
4737
+ path: string;
4738
+ label?: string | null;
4739
+ message: string;
4740
+ }> | null;
3718
4741
  };
3719
4742
  };
3720
4743
 
@@ -3798,6 +4821,125 @@ export type GQLCreateInferalIntegrationMutation = {
3798
4821
  };
3799
4822
  };
3800
4823
 
4824
+ export type GQLCreateMemorySchemaMutationVariables = Exact<{
4825
+ input: GQLCreateMemorySchemaInput;
4826
+ }>;
4827
+
4828
+ export type GQLCreateMemorySchemaMutation = {
4829
+ __typename?: "Mutation";
4830
+ createMemorySchema: {
4831
+ __typename?: "MemorySchemaMutationResponse";
4832
+ status: GQLMemorySchemaMutationStatus;
4833
+ error?: string | null;
4834
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
4835
+ schema?: {
4836
+ __typename?: "MemorySchema";
4837
+ iri: string;
4838
+ label: string;
4839
+ description?: string | null;
4840
+ status: GQLMemorySchemaStatus;
4841
+ revision: number;
4842
+ defaultMemoryKind?: GQLMemoryKind | null;
4843
+ defaultVolatility?: GQLMemoryVolatility | null;
4844
+ defaultImportance?: number | null;
4845
+ defaultScope?: GQLMemoryScope | null;
4846
+ extractionEnabled: boolean;
4847
+ extractionGuidance?: string | null;
4848
+ templateStatus: GQLMemorySchemaTemplateStatus;
4849
+ customized: boolean;
4850
+ memoryCount?: number | null;
4851
+ createdAt?: Date | string | null;
4852
+ createdBy: GQLMemorySchemaCreator;
4853
+ updatedAt?: Date | string | null;
4854
+ properties: Array<{
4855
+ __typename?: "MemorySchemaProperty";
4856
+ path: string;
4857
+ label: string;
4858
+ description?: string | null;
4859
+ order: number;
4860
+ valueType: GQLMemorySchemaValueType;
4861
+ dataType: string;
4862
+ entityClass?: string | null;
4863
+ required: boolean;
4864
+ multiValued: boolean;
4865
+ allowedValues: Array<string>;
4866
+ keyProperty: boolean;
4867
+ computed: boolean;
4868
+ minValue?: string | null;
4869
+ maxValue?: string | null;
4870
+ maxLength?: number | null;
4871
+ pattern?: string | null;
4872
+ defaultValue?: string | null;
4873
+ unit?: string | null;
4874
+ options: Array<{
4875
+ __typename?: "MemorySchemaOption";
4876
+ value: string;
4877
+ label?: string | null;
4878
+ description?: string | null;
4879
+ }>;
4880
+ }>;
4881
+ } | null;
4882
+ impact?: {
4883
+ __typename?: "MemorySchemaImpact";
4884
+ memoryCount: number;
4885
+ blockers: Array<string>;
4886
+ removedProperties: Array<{
4887
+ __typename?: "MemorySchemaPropertyImpact";
4888
+ path: string;
4889
+ label: string;
4890
+ memoryCount: number;
4891
+ }>;
4892
+ typeChanges: Array<{
4893
+ __typename?: "MemorySchemaTypeChangeImpact";
4894
+ path: string;
4895
+ label: string;
4896
+ from: GQLMemorySchemaValueType;
4897
+ to: GQLMemorySchemaValueType;
4898
+ valueCount: number;
4899
+ unconvertibleCount: number;
4900
+ unconvertibleSamples: Array<string>;
4901
+ }>;
4902
+ removedOptions: Array<{
4903
+ __typename?: "MemorySchemaOptionImpact";
4904
+ path: string;
4905
+ label: string;
4906
+ value: string;
4907
+ memoryCount: number;
4908
+ remappedTo?: string | null;
4909
+ }>;
4910
+ limitViolations: Array<{
4911
+ __typename?: "MemorySchemaLimitImpact";
4912
+ path: string;
4913
+ label: string;
4914
+ valueCount: number;
4915
+ invalidCount: number;
4916
+ invalidSamples: Array<string>;
4917
+ }>;
4918
+ multiValueConflicts: Array<{
4919
+ __typename?: "MemorySchemaPropertyImpact";
4920
+ path: string;
4921
+ label: string;
4922
+ memoryCount: number;
4923
+ }>;
4924
+ clearedValues: Array<{
4925
+ __typename?: "MemorySchemaPropertyImpact";
4926
+ path: string;
4927
+ label: string;
4928
+ memoryCount: number;
4929
+ }>;
4930
+ ruleReferences: Array<{
4931
+ __typename?: "MemorySchemaRuleReference";
4932
+ ruleIri: string;
4933
+ label?: string | null;
4934
+ kind: GQLMemorySchemaRuleReferenceKind;
4935
+ term: string;
4936
+ value?: string | null;
4937
+ position: GQLMemorySchemaRulePosition;
4938
+ }>;
4939
+ } | null;
4940
+ };
4941
+ };
4942
+
3801
4943
  export type GQLCreateMemoryMutationVariables = Exact<{
3802
4944
  input: GQLCreateMemoryInput;
3803
4945
  }>;
@@ -3830,8 +4972,20 @@ export type GQLCreateMemoryMutation = {
3830
4972
  teams: Array<string>;
3831
4973
  importance: number;
3832
4974
  memorySubclass?: string | null;
3833
- customProperties?: Record<string, unknown> | null;
4975
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
4976
+ schemaAssignment?: {
4977
+ __typename?: "MemorySchemaAssignment";
4978
+ schemaIri: string;
4979
+ confidence?: number | null;
4980
+ assignedAt?: Date | string | null;
4981
+ } | null;
3834
4982
  } | null;
4983
+ propertyErrors?: Array<{
4984
+ __typename?: "MemoryPropertyProblem";
4985
+ path: string;
4986
+ label?: string | null;
4987
+ message: string;
4988
+ }> | null;
3835
4989
  };
3836
4990
  };
3837
4991
 
@@ -3953,6 +5107,125 @@ export type GQLDeleteLdesStreamMutation = {
3953
5107
  };
3954
5108
  };
3955
5109
 
5110
+ export type GQLDeleteMemorySchemaMutationVariables = Exact<{
5111
+ input: GQLMemorySchemaRevisionInput;
5112
+ }>;
5113
+
5114
+ export type GQLDeleteMemorySchemaMutation = {
5115
+ __typename?: "Mutation";
5116
+ deleteMemorySchema: {
5117
+ __typename?: "MemorySchemaMutationResponse";
5118
+ status: GQLMemorySchemaMutationStatus;
5119
+ error?: string | null;
5120
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
5121
+ schema?: {
5122
+ __typename?: "MemorySchema";
5123
+ iri: string;
5124
+ label: string;
5125
+ description?: string | null;
5126
+ status: GQLMemorySchemaStatus;
5127
+ revision: number;
5128
+ defaultMemoryKind?: GQLMemoryKind | null;
5129
+ defaultVolatility?: GQLMemoryVolatility | null;
5130
+ defaultImportance?: number | null;
5131
+ defaultScope?: GQLMemoryScope | null;
5132
+ extractionEnabled: boolean;
5133
+ extractionGuidance?: string | null;
5134
+ templateStatus: GQLMemorySchemaTemplateStatus;
5135
+ customized: boolean;
5136
+ memoryCount?: number | null;
5137
+ createdAt?: Date | string | null;
5138
+ createdBy: GQLMemorySchemaCreator;
5139
+ updatedAt?: Date | string | null;
5140
+ properties: Array<{
5141
+ __typename?: "MemorySchemaProperty";
5142
+ path: string;
5143
+ label: string;
5144
+ description?: string | null;
5145
+ order: number;
5146
+ valueType: GQLMemorySchemaValueType;
5147
+ dataType: string;
5148
+ entityClass?: string | null;
5149
+ required: boolean;
5150
+ multiValued: boolean;
5151
+ allowedValues: Array<string>;
5152
+ keyProperty: boolean;
5153
+ computed: boolean;
5154
+ minValue?: string | null;
5155
+ maxValue?: string | null;
5156
+ maxLength?: number | null;
5157
+ pattern?: string | null;
5158
+ defaultValue?: string | null;
5159
+ unit?: string | null;
5160
+ options: Array<{
5161
+ __typename?: "MemorySchemaOption";
5162
+ value: string;
5163
+ label?: string | null;
5164
+ description?: string | null;
5165
+ }>;
5166
+ }>;
5167
+ } | null;
5168
+ impact?: {
5169
+ __typename?: "MemorySchemaImpact";
5170
+ memoryCount: number;
5171
+ blockers: Array<string>;
5172
+ removedProperties: Array<{
5173
+ __typename?: "MemorySchemaPropertyImpact";
5174
+ path: string;
5175
+ label: string;
5176
+ memoryCount: number;
5177
+ }>;
5178
+ typeChanges: Array<{
5179
+ __typename?: "MemorySchemaTypeChangeImpact";
5180
+ path: string;
5181
+ label: string;
5182
+ from: GQLMemorySchemaValueType;
5183
+ to: GQLMemorySchemaValueType;
5184
+ valueCount: number;
5185
+ unconvertibleCount: number;
5186
+ unconvertibleSamples: Array<string>;
5187
+ }>;
5188
+ removedOptions: Array<{
5189
+ __typename?: "MemorySchemaOptionImpact";
5190
+ path: string;
5191
+ label: string;
5192
+ value: string;
5193
+ memoryCount: number;
5194
+ remappedTo?: string | null;
5195
+ }>;
5196
+ limitViolations: Array<{
5197
+ __typename?: "MemorySchemaLimitImpact";
5198
+ path: string;
5199
+ label: string;
5200
+ valueCount: number;
5201
+ invalidCount: number;
5202
+ invalidSamples: Array<string>;
5203
+ }>;
5204
+ multiValueConflicts: Array<{
5205
+ __typename?: "MemorySchemaPropertyImpact";
5206
+ path: string;
5207
+ label: string;
5208
+ memoryCount: number;
5209
+ }>;
5210
+ clearedValues: Array<{
5211
+ __typename?: "MemorySchemaPropertyImpact";
5212
+ path: string;
5213
+ label: string;
5214
+ memoryCount: number;
5215
+ }>;
5216
+ ruleReferences: Array<{
5217
+ __typename?: "MemorySchemaRuleReference";
5218
+ ruleIri: string;
5219
+ label?: string | null;
5220
+ kind: GQLMemorySchemaRuleReferenceKind;
5221
+ term: string;
5222
+ value?: string | null;
5223
+ position: GQLMemorySchemaRulePosition;
5224
+ }>;
5225
+ } | null;
5226
+ };
5227
+ };
5228
+
3956
5229
  export type GQLDeleteMemoryMutationVariables = Exact<{
3957
5230
  memoryIri: Scalars["IRI"]["input"];
3958
5231
  }>;
@@ -4004,6 +5277,125 @@ export type GQLDisconnectInferalIntegrationMutation = {
4004
5277
  disconnectInferalIntegration: { __typename?: "DisconnectInferalIntegrationResponse"; success: boolean };
4005
5278
  };
4006
5279
 
5280
+ export type GQLDismissMemorySchemaTemplateUpdateMutationVariables = Exact<{
5281
+ input: GQLMemorySchemaRevisionInput;
5282
+ }>;
5283
+
5284
+ export type GQLDismissMemorySchemaTemplateUpdateMutation = {
5285
+ __typename?: "Mutation";
5286
+ dismissMemorySchemaTemplateUpdate: {
5287
+ __typename?: "MemorySchemaMutationResponse";
5288
+ status: GQLMemorySchemaMutationStatus;
5289
+ error?: string | null;
5290
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
5291
+ schema?: {
5292
+ __typename?: "MemorySchema";
5293
+ iri: string;
5294
+ label: string;
5295
+ description?: string | null;
5296
+ status: GQLMemorySchemaStatus;
5297
+ revision: number;
5298
+ defaultMemoryKind?: GQLMemoryKind | null;
5299
+ defaultVolatility?: GQLMemoryVolatility | null;
5300
+ defaultImportance?: number | null;
5301
+ defaultScope?: GQLMemoryScope | null;
5302
+ extractionEnabled: boolean;
5303
+ extractionGuidance?: string | null;
5304
+ templateStatus: GQLMemorySchemaTemplateStatus;
5305
+ customized: boolean;
5306
+ memoryCount?: number | null;
5307
+ createdAt?: Date | string | null;
5308
+ createdBy: GQLMemorySchemaCreator;
5309
+ updatedAt?: Date | string | null;
5310
+ properties: Array<{
5311
+ __typename?: "MemorySchemaProperty";
5312
+ path: string;
5313
+ label: string;
5314
+ description?: string | null;
5315
+ order: number;
5316
+ valueType: GQLMemorySchemaValueType;
5317
+ dataType: string;
5318
+ entityClass?: string | null;
5319
+ required: boolean;
5320
+ multiValued: boolean;
5321
+ allowedValues: Array<string>;
5322
+ keyProperty: boolean;
5323
+ computed: boolean;
5324
+ minValue?: string | null;
5325
+ maxValue?: string | null;
5326
+ maxLength?: number | null;
5327
+ pattern?: string | null;
5328
+ defaultValue?: string | null;
5329
+ unit?: string | null;
5330
+ options: Array<{
5331
+ __typename?: "MemorySchemaOption";
5332
+ value: string;
5333
+ label?: string | null;
5334
+ description?: string | null;
5335
+ }>;
5336
+ }>;
5337
+ } | null;
5338
+ impact?: {
5339
+ __typename?: "MemorySchemaImpact";
5340
+ memoryCount: number;
5341
+ blockers: Array<string>;
5342
+ removedProperties: Array<{
5343
+ __typename?: "MemorySchemaPropertyImpact";
5344
+ path: string;
5345
+ label: string;
5346
+ memoryCount: number;
5347
+ }>;
5348
+ typeChanges: Array<{
5349
+ __typename?: "MemorySchemaTypeChangeImpact";
5350
+ path: string;
5351
+ label: string;
5352
+ from: GQLMemorySchemaValueType;
5353
+ to: GQLMemorySchemaValueType;
5354
+ valueCount: number;
5355
+ unconvertibleCount: number;
5356
+ unconvertibleSamples: Array<string>;
5357
+ }>;
5358
+ removedOptions: Array<{
5359
+ __typename?: "MemorySchemaOptionImpact";
5360
+ path: string;
5361
+ label: string;
5362
+ value: string;
5363
+ memoryCount: number;
5364
+ remappedTo?: string | null;
5365
+ }>;
5366
+ limitViolations: Array<{
5367
+ __typename?: "MemorySchemaLimitImpact";
5368
+ path: string;
5369
+ label: string;
5370
+ valueCount: number;
5371
+ invalidCount: number;
5372
+ invalidSamples: Array<string>;
5373
+ }>;
5374
+ multiValueConflicts: Array<{
5375
+ __typename?: "MemorySchemaPropertyImpact";
5376
+ path: string;
5377
+ label: string;
5378
+ memoryCount: number;
5379
+ }>;
5380
+ clearedValues: Array<{
5381
+ __typename?: "MemorySchemaPropertyImpact";
5382
+ path: string;
5383
+ label: string;
5384
+ memoryCount: number;
5385
+ }>;
5386
+ ruleReferences: Array<{
5387
+ __typename?: "MemorySchemaRuleReference";
5388
+ ruleIri: string;
5389
+ label?: string | null;
5390
+ kind: GQLMemorySchemaRuleReferenceKind;
5391
+ term: string;
5392
+ value?: string | null;
5393
+ position: GQLMemorySchemaRulePosition;
5394
+ }>;
5395
+ } | null;
5396
+ };
5397
+ };
5398
+
4007
5399
  export type GQLExecuteAgentActionAdditionMutationVariables = Exact<{
4008
5400
  input: GQLExecuteActionAdditionInput;
4009
5401
  }>;
@@ -4507,8 +5899,20 @@ export type GQLReconfirmMemoryMutation = {
4507
5899
  teams: Array<string>;
4508
5900
  importance: number;
4509
5901
  memorySubclass?: string | null;
4510
- customProperties?: Record<string, unknown> | null;
5902
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
5903
+ schemaAssignment?: {
5904
+ __typename?: "MemorySchemaAssignment";
5905
+ schemaIri: string;
5906
+ confidence?: number | null;
5907
+ assignedAt?: Date | string | null;
5908
+ } | null;
4511
5909
  } | null;
5910
+ propertyErrors?: Array<{
5911
+ __typename?: "MemoryPropertyProblem";
5912
+ path: string;
5913
+ label?: string | null;
5914
+ message: string;
5915
+ }> | null;
4512
5916
  };
4513
5917
  };
4514
5918
 
@@ -4610,6 +6014,125 @@ export type GQLRenameUserMutation = {
4610
6014
  renameUser: { __typename?: "RenameUserResponse"; id: string; name?: string | null };
4611
6015
  };
4612
6016
 
6017
+ export type GQLResetMemorySchemaToTemplateMutationVariables = Exact<{
6018
+ input: GQLResetMemorySchemaInput;
6019
+ }>;
6020
+
6021
+ export type GQLResetMemorySchemaToTemplateMutation = {
6022
+ __typename?: "Mutation";
6023
+ resetMemorySchemaToTemplate: {
6024
+ __typename?: "MemorySchemaMutationResponse";
6025
+ status: GQLMemorySchemaMutationStatus;
6026
+ error?: string | null;
6027
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
6028
+ schema?: {
6029
+ __typename?: "MemorySchema";
6030
+ iri: string;
6031
+ label: string;
6032
+ description?: string | null;
6033
+ status: GQLMemorySchemaStatus;
6034
+ revision: number;
6035
+ defaultMemoryKind?: GQLMemoryKind | null;
6036
+ defaultVolatility?: GQLMemoryVolatility | null;
6037
+ defaultImportance?: number | null;
6038
+ defaultScope?: GQLMemoryScope | null;
6039
+ extractionEnabled: boolean;
6040
+ extractionGuidance?: string | null;
6041
+ templateStatus: GQLMemorySchemaTemplateStatus;
6042
+ customized: boolean;
6043
+ memoryCount?: number | null;
6044
+ createdAt?: Date | string | null;
6045
+ createdBy: GQLMemorySchemaCreator;
6046
+ updatedAt?: Date | string | null;
6047
+ properties: Array<{
6048
+ __typename?: "MemorySchemaProperty";
6049
+ path: string;
6050
+ label: string;
6051
+ description?: string | null;
6052
+ order: number;
6053
+ valueType: GQLMemorySchemaValueType;
6054
+ dataType: string;
6055
+ entityClass?: string | null;
6056
+ required: boolean;
6057
+ multiValued: boolean;
6058
+ allowedValues: Array<string>;
6059
+ keyProperty: boolean;
6060
+ computed: boolean;
6061
+ minValue?: string | null;
6062
+ maxValue?: string | null;
6063
+ maxLength?: number | null;
6064
+ pattern?: string | null;
6065
+ defaultValue?: string | null;
6066
+ unit?: string | null;
6067
+ options: Array<{
6068
+ __typename?: "MemorySchemaOption";
6069
+ value: string;
6070
+ label?: string | null;
6071
+ description?: string | null;
6072
+ }>;
6073
+ }>;
6074
+ } | null;
6075
+ impact?: {
6076
+ __typename?: "MemorySchemaImpact";
6077
+ memoryCount: number;
6078
+ blockers: Array<string>;
6079
+ removedProperties: Array<{
6080
+ __typename?: "MemorySchemaPropertyImpact";
6081
+ path: string;
6082
+ label: string;
6083
+ memoryCount: number;
6084
+ }>;
6085
+ typeChanges: Array<{
6086
+ __typename?: "MemorySchemaTypeChangeImpact";
6087
+ path: string;
6088
+ label: string;
6089
+ from: GQLMemorySchemaValueType;
6090
+ to: GQLMemorySchemaValueType;
6091
+ valueCount: number;
6092
+ unconvertibleCount: number;
6093
+ unconvertibleSamples: Array<string>;
6094
+ }>;
6095
+ removedOptions: Array<{
6096
+ __typename?: "MemorySchemaOptionImpact";
6097
+ path: string;
6098
+ label: string;
6099
+ value: string;
6100
+ memoryCount: number;
6101
+ remappedTo?: string | null;
6102
+ }>;
6103
+ limitViolations: Array<{
6104
+ __typename?: "MemorySchemaLimitImpact";
6105
+ path: string;
6106
+ label: string;
6107
+ valueCount: number;
6108
+ invalidCount: number;
6109
+ invalidSamples: Array<string>;
6110
+ }>;
6111
+ multiValueConflicts: Array<{
6112
+ __typename?: "MemorySchemaPropertyImpact";
6113
+ path: string;
6114
+ label: string;
6115
+ memoryCount: number;
6116
+ }>;
6117
+ clearedValues: Array<{
6118
+ __typename?: "MemorySchemaPropertyImpact";
6119
+ path: string;
6120
+ label: string;
6121
+ memoryCount: number;
6122
+ }>;
6123
+ ruleReferences: Array<{
6124
+ __typename?: "MemorySchemaRuleReference";
6125
+ ruleIri: string;
6126
+ label?: string | null;
6127
+ kind: GQLMemorySchemaRuleReferenceKind;
6128
+ term: string;
6129
+ value?: string | null;
6130
+ position: GQLMemorySchemaRulePosition;
6131
+ }>;
6132
+ } | null;
6133
+ };
6134
+ };
6135
+
4613
6136
  export type GQLRestoreMemoryMutationVariables = Exact<{
4614
6137
  memoryIri: Scalars["IRI"]["input"];
4615
6138
  }>;
@@ -4705,6 +6228,22 @@ export type GQLRotateCustomAppSecretMutation = {
4705
6228
  };
4706
6229
  };
4707
6230
 
6231
+ export type GQLSetActionPlanAutoPilotMutationVariables = Exact<{
6232
+ input: GQLSetActionPlanAutoPilotInput;
6233
+ }>;
6234
+
6235
+ export type GQLSetActionPlanAutoPilotMutation = {
6236
+ __typename?: "Mutation";
6237
+ setActionPlanAutoPilot: {
6238
+ __typename?: "SetActionPlanAutoPilotResponse";
6239
+ success: boolean;
6240
+ error?: string | null;
6241
+ planGraphIri: string;
6242
+ autoPilotEnabled?: boolean | null;
6243
+ ruleIri?: string | null;
6244
+ };
6245
+ };
6246
+
4708
6247
  export type GQLSetCustomAppEnabledMutationVariables = Exact<{
4709
6248
  org?: InputMaybe<Scalars["String"]["input"]>;
4710
6249
  clientId: Scalars["String"]["input"];
@@ -4766,19 +6305,186 @@ export type GQLStartLdesStreamMutation = {
4766
6305
  };
4767
6306
  };
4768
6307
 
4769
- export type GQLSyncGmailIntegrationMutationVariables = Exact<{
4770
- email: Scalars["String"]["input"];
6308
+ export type GQLSyncGmailIntegrationMutationVariables = Exact<{
6309
+ email: Scalars["String"]["input"];
6310
+ }>;
6311
+
6312
+ export type GQLSyncGmailIntegrationMutation = {
6313
+ __typename?: "Mutation";
6314
+ syncGmailIntegration: {
6315
+ __typename?: "GmailIntegration";
6316
+ email: string;
6317
+ status: GQLGmailIntegrationStatus;
6318
+ error?: string | null;
6319
+ lastSyncedAt?: string | null;
6320
+ messagesIngested: number;
6321
+ };
6322
+ };
6323
+
6324
+ export type GQLUnarchiveMemorySchemaMutationVariables = Exact<{
6325
+ input: GQLMemorySchemaRevisionInput;
6326
+ }>;
6327
+
6328
+ export type GQLUnarchiveMemorySchemaMutation = {
6329
+ __typename?: "Mutation";
6330
+ unarchiveMemorySchema: {
6331
+ __typename?: "MemorySchemaMutationResponse";
6332
+ status: GQLMemorySchemaMutationStatus;
6333
+ error?: string | null;
6334
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
6335
+ schema?: {
6336
+ __typename?: "MemorySchema";
6337
+ iri: string;
6338
+ label: string;
6339
+ description?: string | null;
6340
+ status: GQLMemorySchemaStatus;
6341
+ revision: number;
6342
+ defaultMemoryKind?: GQLMemoryKind | null;
6343
+ defaultVolatility?: GQLMemoryVolatility | null;
6344
+ defaultImportance?: number | null;
6345
+ defaultScope?: GQLMemoryScope | null;
6346
+ extractionEnabled: boolean;
6347
+ extractionGuidance?: string | null;
6348
+ templateStatus: GQLMemorySchemaTemplateStatus;
6349
+ customized: boolean;
6350
+ memoryCount?: number | null;
6351
+ createdAt?: Date | string | null;
6352
+ createdBy: GQLMemorySchemaCreator;
6353
+ updatedAt?: Date | string | null;
6354
+ properties: Array<{
6355
+ __typename?: "MemorySchemaProperty";
6356
+ path: string;
6357
+ label: string;
6358
+ description?: string | null;
6359
+ order: number;
6360
+ valueType: GQLMemorySchemaValueType;
6361
+ dataType: string;
6362
+ entityClass?: string | null;
6363
+ required: boolean;
6364
+ multiValued: boolean;
6365
+ allowedValues: Array<string>;
6366
+ keyProperty: boolean;
6367
+ computed: boolean;
6368
+ minValue?: string | null;
6369
+ maxValue?: string | null;
6370
+ maxLength?: number | null;
6371
+ pattern?: string | null;
6372
+ defaultValue?: string | null;
6373
+ unit?: string | null;
6374
+ options: Array<{
6375
+ __typename?: "MemorySchemaOption";
6376
+ value: string;
6377
+ label?: string | null;
6378
+ description?: string | null;
6379
+ }>;
6380
+ }>;
6381
+ } | null;
6382
+ impact?: {
6383
+ __typename?: "MemorySchemaImpact";
6384
+ memoryCount: number;
6385
+ blockers: Array<string>;
6386
+ removedProperties: Array<{
6387
+ __typename?: "MemorySchemaPropertyImpact";
6388
+ path: string;
6389
+ label: string;
6390
+ memoryCount: number;
6391
+ }>;
6392
+ typeChanges: Array<{
6393
+ __typename?: "MemorySchemaTypeChangeImpact";
6394
+ path: string;
6395
+ label: string;
6396
+ from: GQLMemorySchemaValueType;
6397
+ to: GQLMemorySchemaValueType;
6398
+ valueCount: number;
6399
+ unconvertibleCount: number;
6400
+ unconvertibleSamples: Array<string>;
6401
+ }>;
6402
+ removedOptions: Array<{
6403
+ __typename?: "MemorySchemaOptionImpact";
6404
+ path: string;
6405
+ label: string;
6406
+ value: string;
6407
+ memoryCount: number;
6408
+ remappedTo?: string | null;
6409
+ }>;
6410
+ limitViolations: Array<{
6411
+ __typename?: "MemorySchemaLimitImpact";
6412
+ path: string;
6413
+ label: string;
6414
+ valueCount: number;
6415
+ invalidCount: number;
6416
+ invalidSamples: Array<string>;
6417
+ }>;
6418
+ multiValueConflicts: Array<{
6419
+ __typename?: "MemorySchemaPropertyImpact";
6420
+ path: string;
6421
+ label: string;
6422
+ memoryCount: number;
6423
+ }>;
6424
+ clearedValues: Array<{
6425
+ __typename?: "MemorySchemaPropertyImpact";
6426
+ path: string;
6427
+ label: string;
6428
+ memoryCount: number;
6429
+ }>;
6430
+ ruleReferences: Array<{
6431
+ __typename?: "MemorySchemaRuleReference";
6432
+ ruleIri: string;
6433
+ label?: string | null;
6434
+ kind: GQLMemorySchemaRuleReferenceKind;
6435
+ term: string;
6436
+ value?: string | null;
6437
+ position: GQLMemorySchemaRulePosition;
6438
+ }>;
6439
+ } | null;
6440
+ };
6441
+ };
6442
+
6443
+ export type GQLUndoMemorySchemaAssignmentMutationVariables = Exact<{
6444
+ memoryIri: Scalars["IRI"]["input"];
4771
6445
  }>;
4772
6446
 
4773
- export type GQLSyncGmailIntegrationMutation = {
6447
+ export type GQLUndoMemorySchemaAssignmentMutation = {
4774
6448
  __typename?: "Mutation";
4775
- syncGmailIntegration: {
4776
- __typename?: "GmailIntegration";
4777
- email: string;
4778
- status: GQLGmailIntegrationStatus;
6449
+ undoMemorySchemaAssignment: {
6450
+ __typename?: "UpdateMemoryResponse";
4779
6451
  error?: string | null;
4780
- lastSyncedAt?: string | null;
4781
- messagesIngested: number;
6452
+ memory?: {
6453
+ __typename?: "Memory";
6454
+ iri: string;
6455
+ label: string;
6456
+ description?: string | null;
6457
+ confidence?: number | null;
6458
+ extractedAt: Date | string;
6459
+ memorySource: string;
6460
+ scope: GQLMemoryScope;
6461
+ kind: GQLMemoryKind;
6462
+ memoryValidFrom?: Date | string | null;
6463
+ memoryValidUntil?: Date | string | null;
6464
+ memoryTrustedUntil?: Date | string | null;
6465
+ memoryLastUsedAt?: Date | string | null;
6466
+ memoryUseCount: number;
6467
+ memoryCiteCount: number;
6468
+ memoryEvidence?: string | null;
6469
+ aboutEntityIris: Array<string>;
6470
+ supersedesMemory?: string | null;
6471
+ teams: Array<string>;
6472
+ importance: number;
6473
+ memorySubclass?: string | null;
6474
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
6475
+ schemaAssignment?: {
6476
+ __typename?: "MemorySchemaAssignment";
6477
+ schemaIri: string;
6478
+ confidence?: number | null;
6479
+ assignedAt?: Date | string | null;
6480
+ } | null;
6481
+ } | null;
6482
+ propertyErrors?: Array<{
6483
+ __typename?: "MemoryPropertyProblem";
6484
+ path: string;
6485
+ label?: string | null;
6486
+ message: string;
6487
+ }> | null;
4782
6488
  };
4783
6489
  };
4784
6490
 
@@ -4828,6 +6534,125 @@ export type GQLUpdateDataConnectionMutation = {
4828
6534
  };
4829
6535
  };
4830
6536
 
6537
+ export type GQLUpdateMemorySchemaMutationVariables = Exact<{
6538
+ input: GQLUpdateMemorySchemaInput;
6539
+ }>;
6540
+
6541
+ export type GQLUpdateMemorySchemaMutation = {
6542
+ __typename?: "Mutation";
6543
+ updateMemorySchema: {
6544
+ __typename?: "MemorySchemaMutationResponse";
6545
+ status: GQLMemorySchemaMutationStatus;
6546
+ error?: string | null;
6547
+ validationErrors: Array<{ __typename?: "MemorySchemaValidationError"; field: string; message: string }>;
6548
+ schema?: {
6549
+ __typename?: "MemorySchema";
6550
+ iri: string;
6551
+ label: string;
6552
+ description?: string | null;
6553
+ status: GQLMemorySchemaStatus;
6554
+ revision: number;
6555
+ defaultMemoryKind?: GQLMemoryKind | null;
6556
+ defaultVolatility?: GQLMemoryVolatility | null;
6557
+ defaultImportance?: number | null;
6558
+ defaultScope?: GQLMemoryScope | null;
6559
+ extractionEnabled: boolean;
6560
+ extractionGuidance?: string | null;
6561
+ templateStatus: GQLMemorySchemaTemplateStatus;
6562
+ customized: boolean;
6563
+ memoryCount?: number | null;
6564
+ createdAt?: Date | string | null;
6565
+ createdBy: GQLMemorySchemaCreator;
6566
+ updatedAt?: Date | string | null;
6567
+ properties: Array<{
6568
+ __typename?: "MemorySchemaProperty";
6569
+ path: string;
6570
+ label: string;
6571
+ description?: string | null;
6572
+ order: number;
6573
+ valueType: GQLMemorySchemaValueType;
6574
+ dataType: string;
6575
+ entityClass?: string | null;
6576
+ required: boolean;
6577
+ multiValued: boolean;
6578
+ allowedValues: Array<string>;
6579
+ keyProperty: boolean;
6580
+ computed: boolean;
6581
+ minValue?: string | null;
6582
+ maxValue?: string | null;
6583
+ maxLength?: number | null;
6584
+ pattern?: string | null;
6585
+ defaultValue?: string | null;
6586
+ unit?: string | null;
6587
+ options: Array<{
6588
+ __typename?: "MemorySchemaOption";
6589
+ value: string;
6590
+ label?: string | null;
6591
+ description?: string | null;
6592
+ }>;
6593
+ }>;
6594
+ } | null;
6595
+ impact?: {
6596
+ __typename?: "MemorySchemaImpact";
6597
+ memoryCount: number;
6598
+ blockers: Array<string>;
6599
+ removedProperties: Array<{
6600
+ __typename?: "MemorySchemaPropertyImpact";
6601
+ path: string;
6602
+ label: string;
6603
+ memoryCount: number;
6604
+ }>;
6605
+ typeChanges: Array<{
6606
+ __typename?: "MemorySchemaTypeChangeImpact";
6607
+ path: string;
6608
+ label: string;
6609
+ from: GQLMemorySchemaValueType;
6610
+ to: GQLMemorySchemaValueType;
6611
+ valueCount: number;
6612
+ unconvertibleCount: number;
6613
+ unconvertibleSamples: Array<string>;
6614
+ }>;
6615
+ removedOptions: Array<{
6616
+ __typename?: "MemorySchemaOptionImpact";
6617
+ path: string;
6618
+ label: string;
6619
+ value: string;
6620
+ memoryCount: number;
6621
+ remappedTo?: string | null;
6622
+ }>;
6623
+ limitViolations: Array<{
6624
+ __typename?: "MemorySchemaLimitImpact";
6625
+ path: string;
6626
+ label: string;
6627
+ valueCount: number;
6628
+ invalidCount: number;
6629
+ invalidSamples: Array<string>;
6630
+ }>;
6631
+ multiValueConflicts: Array<{
6632
+ __typename?: "MemorySchemaPropertyImpact";
6633
+ path: string;
6634
+ label: string;
6635
+ memoryCount: number;
6636
+ }>;
6637
+ clearedValues: Array<{
6638
+ __typename?: "MemorySchemaPropertyImpact";
6639
+ path: string;
6640
+ label: string;
6641
+ memoryCount: number;
6642
+ }>;
6643
+ ruleReferences: Array<{
6644
+ __typename?: "MemorySchemaRuleReference";
6645
+ ruleIri: string;
6646
+ label?: string | null;
6647
+ kind: GQLMemorySchemaRuleReferenceKind;
6648
+ term: string;
6649
+ value?: string | null;
6650
+ position: GQLMemorySchemaRulePosition;
6651
+ }>;
6652
+ } | null;
6653
+ };
6654
+ };
6655
+
4831
6656
  export type GQLUpdateMemoryMutationVariables = Exact<{
4832
6657
  input: GQLUpdateMemoryInput;
4833
6658
  }>;
@@ -4859,8 +6684,20 @@ export type GQLUpdateMemoryMutation = {
4859
6684
  teams: Array<string>;
4860
6685
  importance: number;
4861
6686
  memorySubclass?: string | null;
4862
- customProperties?: Record<string, unknown> | null;
6687
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
6688
+ schemaAssignment?: {
6689
+ __typename?: "MemorySchemaAssignment";
6690
+ schemaIri: string;
6691
+ confidence?: number | null;
6692
+ assignedAt?: Date | string | null;
6693
+ } | null;
4863
6694
  } | null;
6695
+ propertyErrors?: Array<{
6696
+ __typename?: "MemoryPropertyProblem";
6697
+ path: string;
6698
+ label?: string | null;
6699
+ message: string;
6700
+ }> | null;
4864
6701
  };
4865
6702
  };
4866
6703
 
@@ -4913,6 +6750,7 @@ export type GQLActionPlanRulesQuery = {
4913
6750
  stagedRule?: string | null;
4914
6751
  isStaged: boolean;
4915
6752
  isModified: boolean;
6753
+ ownedBy?: { __typename?: "RuleOwnership"; type: GQLRuleOwner; userId?: string | null } | null;
4916
6754
  }>;
4917
6755
  };
4918
6756
  };
@@ -5934,7 +7772,13 @@ export type GQLMemoriesQuery = {
5934
7772
  teams: Array<string>;
5935
7773
  importance: number;
5936
7774
  memorySubclass?: string | null;
5937
- customProperties?: Record<string, unknown> | null;
7775
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
7776
+ schemaAssignment?: {
7777
+ __typename?: "MemorySchemaAssignment";
7778
+ schemaIri: string;
7779
+ confidence?: number | null;
7780
+ assignedAt?: Date | string | null;
7781
+ } | null;
5938
7782
  }>;
5939
7783
  };
5940
7784
  };
@@ -5977,7 +7821,13 @@ export type GQLMemoryRedundancyReviewQuery = {
5977
7821
  teams: Array<string>;
5978
7822
  importance: number;
5979
7823
  memorySubclass?: string | null;
5980
- customProperties?: Record<string, unknown> | null;
7824
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
7825
+ schemaAssignment?: {
7826
+ __typename?: "MemorySchemaAssignment";
7827
+ schemaIri: string;
7828
+ confidence?: number | null;
7829
+ assignedAt?: Date | string | null;
7830
+ } | null;
5981
7831
  }>;
5982
7832
  }>;
5983
7833
  abstractions: Array<{
@@ -6007,13 +7857,125 @@ export type GQLMemoryRedundancyReviewQuery = {
6007
7857
  teams: Array<string>;
6008
7858
  importance: number;
6009
7859
  memorySubclass?: string | null;
6010
- customProperties?: Record<string, unknown> | null;
7860
+ customPropertyValues: Array<{ __typename?: "MemoryPropertyValues"; path: string; values: Array<string> }>;
7861
+ schemaAssignment?: {
7862
+ __typename?: "MemorySchemaAssignment";
7863
+ schemaIri: string;
7864
+ confidence?: number | null;
7865
+ assignedAt?: Date | string | null;
7866
+ } | null;
6011
7867
  }>;
6012
7868
  }>;
6013
7869
  };
6014
7870
  };
6015
7871
 
6016
- export type GQLMemorySchemasQueryVariables = Exact<{ [key: string]: never }>;
7872
+ export type GQLMemorySchemaRuleCountsQueryVariables = Exact<{ [key: string]: never }>;
7873
+
7874
+ export type GQLMemorySchemaRuleCountsQuery = {
7875
+ __typename?: "Query";
7876
+ memorySchemaRuleCounts: {
7877
+ __typename?: "MemorySchemaRuleCountsResponse";
7878
+ error?: string | null;
7879
+ counts: Array<{ __typename?: "MemorySchemaRuleCount"; iri: string; ruleCount: number }>;
7880
+ };
7881
+ };
7882
+
7883
+ export type GQLMemorySchemaTemplatesQueryVariables = Exact<{ [key: string]: never }>;
7884
+
7885
+ export type GQLMemorySchemaTemplatesQuery = {
7886
+ __typename?: "Query";
7887
+ memorySchemaTemplates: {
7888
+ __typename?: "MemorySchemaTemplatesResponse";
7889
+ error?: string | null;
7890
+ templates: Array<{
7891
+ __typename?: "MemorySchemaTemplate";
7892
+ live: boolean;
7893
+ schema: {
7894
+ __typename?: "MemorySchema";
7895
+ iri: string;
7896
+ label: string;
7897
+ description?: string | null;
7898
+ status: GQLMemorySchemaStatus;
7899
+ revision: number;
7900
+ defaultMemoryKind?: GQLMemoryKind | null;
7901
+ defaultVolatility?: GQLMemoryVolatility | null;
7902
+ defaultImportance?: number | null;
7903
+ defaultScope?: GQLMemoryScope | null;
7904
+ extractionEnabled: boolean;
7905
+ extractionGuidance?: string | null;
7906
+ templateStatus: GQLMemorySchemaTemplateStatus;
7907
+ customized: boolean;
7908
+ memoryCount?: number | null;
7909
+ createdAt?: Date | string | null;
7910
+ createdBy: GQLMemorySchemaCreator;
7911
+ updatedAt?: Date | string | null;
7912
+ properties: Array<{
7913
+ __typename?: "MemorySchemaProperty";
7914
+ path: string;
7915
+ label: string;
7916
+ description?: string | null;
7917
+ order: number;
7918
+ valueType: GQLMemorySchemaValueType;
7919
+ dataType: string;
7920
+ entityClass?: string | null;
7921
+ required: boolean;
7922
+ multiValued: boolean;
7923
+ allowedValues: Array<string>;
7924
+ keyProperty: boolean;
7925
+ computed: boolean;
7926
+ minValue?: string | null;
7927
+ maxValue?: string | null;
7928
+ maxLength?: number | null;
7929
+ pattern?: string | null;
7930
+ defaultValue?: string | null;
7931
+ unit?: string | null;
7932
+ options: Array<{
7933
+ __typename?: "MemorySchemaOption";
7934
+ value: string;
7935
+ label?: string | null;
7936
+ description?: string | null;
7937
+ }>;
7938
+ }>;
7939
+ };
7940
+ }>;
7941
+ };
7942
+ };
7943
+
7944
+ export type GQLMemorySchemaUsageQueryVariables = Exact<{
7945
+ iri: Scalars["IRI"]["input"];
7946
+ }>;
7947
+
7948
+ export type GQLMemorySchemaUsageQuery = {
7949
+ __typename?: "Query";
7950
+ memorySchemaUsage: {
7951
+ __typename?: "MemorySchemaUsageResponse";
7952
+ error?: string | null;
7953
+ usage?: {
7954
+ __typename?: "MemorySchemaUsage";
7955
+ iri: string;
7956
+ memoryCount: number;
7957
+ properties: Array<{
7958
+ __typename?: "MemorySchemaPropertyUsage";
7959
+ path: string;
7960
+ memoryCount: number;
7961
+ options: Array<{ __typename?: "MemorySchemaOptionUsage"; value: string; memoryCount: number }>;
7962
+ }>;
7963
+ rules: Array<{
7964
+ __typename?: "MemorySchemaRuleReference";
7965
+ ruleIri: string;
7966
+ label?: string | null;
7967
+ kind: GQLMemorySchemaRuleReferenceKind;
7968
+ term: string;
7969
+ value?: string | null;
7970
+ position: GQLMemorySchemaRulePosition;
7971
+ }>;
7972
+ } | null;
7973
+ };
7974
+ };
7975
+
7976
+ export type GQLMemorySchemasQueryVariables = Exact<{
7977
+ includeArchived?: InputMaybe<Scalars["Boolean"]["input"]>;
7978
+ }>;
6017
7979
 
6018
7980
  export type GQLMemorySchemasQuery = {
6019
7981
  __typename?: "Query";
@@ -6025,15 +7987,46 @@ export type GQLMemorySchemasQuery = {
6025
7987
  iri: string;
6026
7988
  label: string;
6027
7989
  description?: string | null;
7990
+ status: GQLMemorySchemaStatus;
7991
+ revision: number;
7992
+ defaultMemoryKind?: GQLMemoryKind | null;
7993
+ defaultVolatility?: GQLMemoryVolatility | null;
7994
+ defaultImportance?: number | null;
7995
+ defaultScope?: GQLMemoryScope | null;
7996
+ extractionEnabled: boolean;
7997
+ extractionGuidance?: string | null;
7998
+ templateStatus: GQLMemorySchemaTemplateStatus;
7999
+ customized: boolean;
8000
+ memoryCount?: number | null;
8001
+ createdAt?: Date | string | null;
8002
+ createdBy: GQLMemorySchemaCreator;
8003
+ updatedAt?: Date | string | null;
6028
8004
  properties: Array<{
6029
8005
  __typename?: "MemorySchemaProperty";
6030
8006
  path: string;
6031
8007
  label: string;
8008
+ description?: string | null;
8009
+ order: number;
8010
+ valueType: GQLMemorySchemaValueType;
6032
8011
  dataType: string;
8012
+ entityClass?: string | null;
6033
8013
  required: boolean;
8014
+ multiValued: boolean;
6034
8015
  allowedValues: Array<string>;
6035
8016
  keyProperty: boolean;
6036
- inferred: boolean;
8017
+ computed: boolean;
8018
+ minValue?: string | null;
8019
+ maxValue?: string | null;
8020
+ maxLength?: number | null;
8021
+ pattern?: string | null;
8022
+ defaultValue?: string | null;
8023
+ unit?: string | null;
8024
+ options: Array<{
8025
+ __typename?: "MemorySchemaOption";
8026
+ value: string;
8027
+ label?: string | null;
8028
+ description?: string | null;
8029
+ }>;
6037
8030
  }>;
6038
8031
  }>;
6039
8032
  };
@@ -6629,7 +8622,15 @@ export const MemoryFieldsFragmentDoc = `
6629
8622
  teams
6630
8623
  importance
6631
8624
  memorySubclass
6632
- customProperties
8625
+ customPropertyValues {
8626
+ path
8627
+ values
8628
+ }
8629
+ schemaAssignment {
8630
+ schemaIri
8631
+ confidence
8632
+ assignedAt
8633
+ }
6633
8634
  }
6634
8635
  `;
6635
8636
  export const MemoryMutationResultFragmentDoc = `
@@ -6638,8 +8639,127 @@ export const MemoryMutationResultFragmentDoc = `
6638
8639
  ...MemoryFields
6639
8640
  }
6640
8641
  error
8642
+ propertyErrors {
8643
+ path
8644
+ label
8645
+ message
8646
+ }
6641
8647
  }
6642
8648
  ${MemoryFieldsFragmentDoc}`;
8649
+ export const MemorySchemaPropertyFieldsFragmentDoc = `
8650
+ fragment MemorySchemaPropertyFields on MemorySchemaProperty {
8651
+ path
8652
+ label
8653
+ description
8654
+ order
8655
+ valueType
8656
+ dataType
8657
+ entityClass
8658
+ required
8659
+ multiValued
8660
+ allowedValues
8661
+ options {
8662
+ value
8663
+ label
8664
+ description
8665
+ }
8666
+ keyProperty
8667
+ computed
8668
+ minValue
8669
+ maxValue
8670
+ maxLength
8671
+ pattern
8672
+ defaultValue
8673
+ unit
8674
+ }
8675
+ `;
8676
+ export const MemorySchemaFieldsFragmentDoc = `
8677
+ fragment MemorySchemaFields on MemorySchema {
8678
+ iri
8679
+ label
8680
+ description
8681
+ status
8682
+ revision
8683
+ defaultMemoryKind
8684
+ defaultVolatility
8685
+ defaultImportance
8686
+ defaultScope
8687
+ extractionEnabled
8688
+ extractionGuidance
8689
+ templateStatus
8690
+ customized
8691
+ memoryCount
8692
+ createdAt
8693
+ createdBy
8694
+ updatedAt
8695
+ properties {
8696
+ ...MemorySchemaPropertyFields
8697
+ }
8698
+ }
8699
+ ${MemorySchemaPropertyFieldsFragmentDoc}`;
8700
+ export const MemorySchemaMutationResultFragmentDoc = `
8701
+ fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {
8702
+ status
8703
+ error
8704
+ validationErrors {
8705
+ field
8706
+ message
8707
+ }
8708
+ schema {
8709
+ ...MemorySchemaFields
8710
+ }
8711
+ impact {
8712
+ memoryCount
8713
+ removedProperties {
8714
+ path
8715
+ label
8716
+ memoryCount
8717
+ }
8718
+ typeChanges {
8719
+ path
8720
+ label
8721
+ from
8722
+ to
8723
+ valueCount
8724
+ unconvertibleCount
8725
+ unconvertibleSamples
8726
+ }
8727
+ removedOptions {
8728
+ path
8729
+ label
8730
+ value
8731
+ memoryCount
8732
+ remappedTo
8733
+ }
8734
+ limitViolations {
8735
+ path
8736
+ label
8737
+ valueCount
8738
+ invalidCount
8739
+ invalidSamples
8740
+ }
8741
+ multiValueConflicts {
8742
+ path
8743
+ label
8744
+ memoryCount
8745
+ }
8746
+ clearedValues {
8747
+ path
8748
+ label
8749
+ memoryCount
8750
+ }
8751
+ ruleReferences {
8752
+ ruleIri
8753
+ label
8754
+ kind
8755
+ term
8756
+ value
8757
+ position
8758
+ }
8759
+ blockers
8760
+ }
8761
+ }
8762
+ ${MemorySchemaFieldsFragmentDoc}`;
6643
8763
  export const ActionPlanFieldsFragmentDoc = `
6644
8764
  fragment ActionPlanFields on ActionPlanGraph {
6645
8765
  iri
@@ -6783,6 +8903,73 @@ export const useAcceptInvitationMutation = <TError = unknown, TContext = unknown
6783
8903
  });
6784
8904
  };
6785
8905
 
8906
+ export const AddMemorySchemaFromTemplateDocument = `
8907
+ mutation AddMemorySchemaFromTemplate($templateIri: IRI!) {
8908
+ addMemorySchemaFromTemplate(templateIri: $templateIri) {
8909
+ ...MemorySchemaMutationResult
8910
+ }
8911
+ }
8912
+ ${MemorySchemaMutationResultFragmentDoc}`;
8913
+
8914
+ export const useAddMemorySchemaFromTemplateMutation = <TError = unknown, TContext = unknown>(
8915
+ client: GraphQLClient,
8916
+ options?: UseMutationOptions<
8917
+ GQLAddMemorySchemaFromTemplateMutation,
8918
+ TError,
8919
+ GQLAddMemorySchemaFromTemplateMutationVariables,
8920
+ TContext
8921
+ >,
8922
+ headers?: RequestInit["headers"],
8923
+ ) => {
8924
+ return useMutation<
8925
+ GQLAddMemorySchemaFromTemplateMutation,
8926
+ TError,
8927
+ GQLAddMemorySchemaFromTemplateMutationVariables,
8928
+ TContext
8929
+ >({
8930
+ mutationKey: ["AddMemorySchemaFromTemplate"],
8931
+ mutationFn: (variables?: GQLAddMemorySchemaFromTemplateMutationVariables) =>
8932
+ fetcher<GQLAddMemorySchemaFromTemplateMutation, GQLAddMemorySchemaFromTemplateMutationVariables>(
8933
+ client,
8934
+ AddMemorySchemaFromTemplateDocument,
8935
+ variables,
8936
+ headers,
8937
+ )(),
8938
+ ...options,
8939
+ });
8940
+ };
8941
+
8942
+ export const ArchiveMemorySchemaDocument = `
8943
+ mutation ArchiveMemorySchema($input: MemorySchemaRevisionInput!) {
8944
+ archiveMemorySchema(input: $input) {
8945
+ ...MemorySchemaMutationResult
8946
+ }
8947
+ }
8948
+ ${MemorySchemaMutationResultFragmentDoc}`;
8949
+
8950
+ export const useArchiveMemorySchemaMutation = <TError = unknown, TContext = unknown>(
8951
+ client: GraphQLClient,
8952
+ options?: UseMutationOptions<
8953
+ GQLArchiveMemorySchemaMutation,
8954
+ TError,
8955
+ GQLArchiveMemorySchemaMutationVariables,
8956
+ TContext
8957
+ >,
8958
+ headers?: RequestInit["headers"],
8959
+ ) => {
8960
+ return useMutation<GQLArchiveMemorySchemaMutation, TError, GQLArchiveMemorySchemaMutationVariables, TContext>({
8961
+ mutationKey: ["ArchiveMemorySchema"],
8962
+ mutationFn: (variables?: GQLArchiveMemorySchemaMutationVariables) =>
8963
+ fetcher<GQLArchiveMemorySchemaMutation, GQLArchiveMemorySchemaMutationVariables>(
8964
+ client,
8965
+ ArchiveMemorySchemaDocument,
8966
+ variables,
8967
+ headers,
8968
+ )(),
8969
+ ...options,
8970
+ });
8971
+ };
8972
+
6786
8973
  export const AttributeStripeSubscriptionDocument = `
6787
8974
  mutation AttributeStripeSubscription($subscriptionId: String!, $datastoreId: String!) {
6788
8975
  attributeStripeSubscription(
@@ -6918,6 +9105,42 @@ export const useCancelActionPlanMutation = <TError = unknown, TContext = unknown
6918
9105
  });
6919
9106
  };
6920
9107
 
9108
+ export const ClearMemorySchemaPropertyValuesDocument = `
9109
+ mutation ClearMemorySchemaPropertyValues($input: ClearMemorySchemaPropertyValuesInput!) {
9110
+ clearMemorySchemaPropertyValues(input: $input) {
9111
+ ...MemorySchemaMutationResult
9112
+ }
9113
+ }
9114
+ ${MemorySchemaMutationResultFragmentDoc}`;
9115
+
9116
+ export const useClearMemorySchemaPropertyValuesMutation = <TError = unknown, TContext = unknown>(
9117
+ client: GraphQLClient,
9118
+ options?: UseMutationOptions<
9119
+ GQLClearMemorySchemaPropertyValuesMutation,
9120
+ TError,
9121
+ GQLClearMemorySchemaPropertyValuesMutationVariables,
9122
+ TContext
9123
+ >,
9124
+ headers?: RequestInit["headers"],
9125
+ ) => {
9126
+ return useMutation<
9127
+ GQLClearMemorySchemaPropertyValuesMutation,
9128
+ TError,
9129
+ GQLClearMemorySchemaPropertyValuesMutationVariables,
9130
+ TContext
9131
+ >({
9132
+ mutationKey: ["ClearMemorySchemaPropertyValues"],
9133
+ mutationFn: (variables?: GQLClearMemorySchemaPropertyValuesMutationVariables) =>
9134
+ fetcher<GQLClearMemorySchemaPropertyValuesMutation, GQLClearMemorySchemaPropertyValuesMutationVariables>(
9135
+ client,
9136
+ ClearMemorySchemaPropertyValuesDocument,
9137
+ variables,
9138
+ headers,
9139
+ )(),
9140
+ ...options,
9141
+ });
9142
+ };
9143
+
6921
9144
  export const ClearStagedRulesDocument = `
6922
9145
  mutation ClearStagedRules($ruleIris: [IRI!]) {
6923
9146
  clearStagedRules(ruleIris: $ruleIris) {
@@ -6954,6 +9177,7 @@ export const CommitStagedRulesDocument = `
6954
9177
  rulesUpdated
6955
9178
  rulesDeleted
6956
9179
  error
9180
+ requestId
6957
9181
  }
6958
9182
  }
6959
9183
  `;
@@ -7044,6 +9268,11 @@ export const ConsolidateMemoriesDocument = `
7044
9268
  ...MemoryFields
7045
9269
  }
7046
9270
  error
9271
+ propertyErrors {
9272
+ path
9273
+ label
9274
+ message
9275
+ }
7047
9276
  }
7048
9277
  }
7049
9278
  ${MemoryFieldsFragmentDoc}`;
@@ -7215,7 +9444,33 @@ export const useCreateInferalIntegrationMutation = <TError = unknown, TContext =
7215
9444
  mutationFn: (variables?: GQLCreateInferalIntegrationMutationVariables) =>
7216
9445
  fetcher<GQLCreateInferalIntegrationMutation, GQLCreateInferalIntegrationMutationVariables>(
7217
9446
  client,
7218
- CreateInferalIntegrationDocument,
9447
+ CreateInferalIntegrationDocument,
9448
+ variables,
9449
+ headers,
9450
+ )(),
9451
+ ...options,
9452
+ });
9453
+ };
9454
+
9455
+ export const CreateMemorySchemaDocument = `
9456
+ mutation CreateMemorySchema($input: CreateMemorySchemaInput!) {
9457
+ createMemorySchema(input: $input) {
9458
+ ...MemorySchemaMutationResult
9459
+ }
9460
+ }
9461
+ ${MemorySchemaMutationResultFragmentDoc}`;
9462
+
9463
+ export const useCreateMemorySchemaMutation = <TError = unknown, TContext = unknown>(
9464
+ client: GraphQLClient,
9465
+ options?: UseMutationOptions<GQLCreateMemorySchemaMutation, TError, GQLCreateMemorySchemaMutationVariables, TContext>,
9466
+ headers?: RequestInit["headers"],
9467
+ ) => {
9468
+ return useMutation<GQLCreateMemorySchemaMutation, TError, GQLCreateMemorySchemaMutationVariables, TContext>({
9469
+ mutationKey: ["CreateMemorySchema"],
9470
+ mutationFn: (variables?: GQLCreateMemorySchemaMutationVariables) =>
9471
+ fetcher<GQLCreateMemorySchemaMutation, GQLCreateMemorySchemaMutationVariables>(
9472
+ client,
9473
+ CreateMemorySchemaDocument,
7219
9474
  variables,
7220
9475
  headers,
7221
9476
  )(),
@@ -7231,6 +9486,11 @@ export const CreateMemoryDocument = `
7231
9486
  createdBy
7232
9487
  }
7233
9488
  error
9489
+ propertyErrors {
9490
+ path
9491
+ label
9492
+ message
9493
+ }
7234
9494
  }
7235
9495
  }
7236
9496
  ${MemoryFieldsFragmentDoc}`;
@@ -7544,6 +9804,32 @@ export const useDeleteLdesStreamMutation = <TError = unknown, TContext = unknown
7544
9804
  });
7545
9805
  };
7546
9806
 
9807
+ export const DeleteMemorySchemaDocument = `
9808
+ mutation DeleteMemorySchema($input: MemorySchemaRevisionInput!) {
9809
+ deleteMemorySchema(input: $input) {
9810
+ ...MemorySchemaMutationResult
9811
+ }
9812
+ }
9813
+ ${MemorySchemaMutationResultFragmentDoc}`;
9814
+
9815
+ export const useDeleteMemorySchemaMutation = <TError = unknown, TContext = unknown>(
9816
+ client: GraphQLClient,
9817
+ options?: UseMutationOptions<GQLDeleteMemorySchemaMutation, TError, GQLDeleteMemorySchemaMutationVariables, TContext>,
9818
+ headers?: RequestInit["headers"],
9819
+ ) => {
9820
+ return useMutation<GQLDeleteMemorySchemaMutation, TError, GQLDeleteMemorySchemaMutationVariables, TContext>({
9821
+ mutationKey: ["DeleteMemorySchema"],
9822
+ mutationFn: (variables?: GQLDeleteMemorySchemaMutationVariables) =>
9823
+ fetcher<GQLDeleteMemorySchemaMutation, GQLDeleteMemorySchemaMutationVariables>(
9824
+ client,
9825
+ DeleteMemorySchemaDocument,
9826
+ variables,
9827
+ headers,
9828
+ )(),
9829
+ ...options,
9830
+ });
9831
+ };
9832
+
7547
9833
  export const DeleteMemoryDocument = `
7548
9834
  mutation DeleteMemory($memoryIri: IRI!) {
7549
9835
  deleteMemory(memoryIri: $memoryIri) {
@@ -7735,6 +10021,42 @@ export const useDisconnectInferalIntegrationMutation = <TError = unknown, TConte
7735
10021
  });
7736
10022
  };
7737
10023
 
10024
+ export const DismissMemorySchemaTemplateUpdateDocument = `
10025
+ mutation DismissMemorySchemaTemplateUpdate($input: MemorySchemaRevisionInput!) {
10026
+ dismissMemorySchemaTemplateUpdate(input: $input) {
10027
+ ...MemorySchemaMutationResult
10028
+ }
10029
+ }
10030
+ ${MemorySchemaMutationResultFragmentDoc}`;
10031
+
10032
+ export const useDismissMemorySchemaTemplateUpdateMutation = <TError = unknown, TContext = unknown>(
10033
+ client: GraphQLClient,
10034
+ options?: UseMutationOptions<
10035
+ GQLDismissMemorySchemaTemplateUpdateMutation,
10036
+ TError,
10037
+ GQLDismissMemorySchemaTemplateUpdateMutationVariables,
10038
+ TContext
10039
+ >,
10040
+ headers?: RequestInit["headers"],
10041
+ ) => {
10042
+ return useMutation<
10043
+ GQLDismissMemorySchemaTemplateUpdateMutation,
10044
+ TError,
10045
+ GQLDismissMemorySchemaTemplateUpdateMutationVariables,
10046
+ TContext
10047
+ >({
10048
+ mutationKey: ["DismissMemorySchemaTemplateUpdate"],
10049
+ mutationFn: (variables?: GQLDismissMemorySchemaTemplateUpdateMutationVariables) =>
10050
+ fetcher<GQLDismissMemorySchemaTemplateUpdateMutation, GQLDismissMemorySchemaTemplateUpdateMutationVariables>(
10051
+ client,
10052
+ DismissMemorySchemaTemplateUpdateDocument,
10053
+ variables,
10054
+ headers,
10055
+ )(),
10056
+ ...options,
10057
+ });
10058
+ };
10059
+
7738
10060
  export const ExecuteAgentActionAdditionDocument = `
7739
10061
  mutation ExecuteAgentActionAddition($input: ExecuteActionAdditionInput!) {
7740
10062
  executeActionAddition(input: $input) {
@@ -8995,6 +11317,42 @@ export const useRenameUserMutation = <TError = unknown, TContext = unknown>(
8995
11317
  });
8996
11318
  };
8997
11319
 
11320
+ export const ResetMemorySchemaToTemplateDocument = `
11321
+ mutation ResetMemorySchemaToTemplate($input: ResetMemorySchemaInput!) {
11322
+ resetMemorySchemaToTemplate(input: $input) {
11323
+ ...MemorySchemaMutationResult
11324
+ }
11325
+ }
11326
+ ${MemorySchemaMutationResultFragmentDoc}`;
11327
+
11328
+ export const useResetMemorySchemaToTemplateMutation = <TError = unknown, TContext = unknown>(
11329
+ client: GraphQLClient,
11330
+ options?: UseMutationOptions<
11331
+ GQLResetMemorySchemaToTemplateMutation,
11332
+ TError,
11333
+ GQLResetMemorySchemaToTemplateMutationVariables,
11334
+ TContext
11335
+ >,
11336
+ headers?: RequestInit["headers"],
11337
+ ) => {
11338
+ return useMutation<
11339
+ GQLResetMemorySchemaToTemplateMutation,
11340
+ TError,
11341
+ GQLResetMemorySchemaToTemplateMutationVariables,
11342
+ TContext
11343
+ >({
11344
+ mutationKey: ["ResetMemorySchemaToTemplate"],
11345
+ mutationFn: (variables?: GQLResetMemorySchemaToTemplateMutationVariables) =>
11346
+ fetcher<GQLResetMemorySchemaToTemplateMutation, GQLResetMemorySchemaToTemplateMutationVariables>(
11347
+ client,
11348
+ ResetMemorySchemaToTemplateDocument,
11349
+ variables,
11350
+ headers,
11351
+ )(),
11352
+ ...options,
11353
+ });
11354
+ };
11355
+
8998
11356
  export const RestoreMemoryDocument = `
8999
11357
  mutation RestoreMemory($memoryIri: IRI!) {
9000
11358
  restoreMemory(memoryIri: $memoryIri) {
@@ -9159,6 +11517,41 @@ export const useRotateCustomAppSecretMutation = <TError = unknown, TContext = un
9159
11517
  });
9160
11518
  };
9161
11519
 
11520
+ export const SetActionPlanAutoPilotDocument = `
11521
+ mutation SetActionPlanAutoPilot($input: SetActionPlanAutoPilotInput!) {
11522
+ setActionPlanAutoPilot(input: $input) {
11523
+ success
11524
+ error
11525
+ planGraphIri
11526
+ autoPilotEnabled
11527
+ ruleIri
11528
+ }
11529
+ }
11530
+ `;
11531
+
11532
+ export const useSetActionPlanAutoPilotMutation = <TError = unknown, TContext = unknown>(
11533
+ client: GraphQLClient,
11534
+ options?: UseMutationOptions<
11535
+ GQLSetActionPlanAutoPilotMutation,
11536
+ TError,
11537
+ GQLSetActionPlanAutoPilotMutationVariables,
11538
+ TContext
11539
+ >,
11540
+ headers?: RequestInit["headers"],
11541
+ ) => {
11542
+ return useMutation<GQLSetActionPlanAutoPilotMutation, TError, GQLSetActionPlanAutoPilotMutationVariables, TContext>({
11543
+ mutationKey: ["SetActionPlanAutoPilot"],
11544
+ mutationFn: (variables?: GQLSetActionPlanAutoPilotMutationVariables) =>
11545
+ fetcher<GQLSetActionPlanAutoPilotMutation, GQLSetActionPlanAutoPilotMutationVariables>(
11546
+ client,
11547
+ SetActionPlanAutoPilotDocument,
11548
+ variables,
11549
+ headers,
11550
+ )(),
11551
+ ...options,
11552
+ });
11553
+ };
11554
+
9162
11555
  export const SetCustomAppEnabledDocument = `
9163
11556
  mutation SetCustomAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
9164
11557
  setCustomAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
@@ -9289,6 +11682,73 @@ export const useSyncGmailIntegrationMutation = <TError = unknown, TContext = unk
9289
11682
  });
9290
11683
  };
9291
11684
 
11685
+ export const UnarchiveMemorySchemaDocument = `
11686
+ mutation UnarchiveMemorySchema($input: MemorySchemaRevisionInput!) {
11687
+ unarchiveMemorySchema(input: $input) {
11688
+ ...MemorySchemaMutationResult
11689
+ }
11690
+ }
11691
+ ${MemorySchemaMutationResultFragmentDoc}`;
11692
+
11693
+ export const useUnarchiveMemorySchemaMutation = <TError = unknown, TContext = unknown>(
11694
+ client: GraphQLClient,
11695
+ options?: UseMutationOptions<
11696
+ GQLUnarchiveMemorySchemaMutation,
11697
+ TError,
11698
+ GQLUnarchiveMemorySchemaMutationVariables,
11699
+ TContext
11700
+ >,
11701
+ headers?: RequestInit["headers"],
11702
+ ) => {
11703
+ return useMutation<GQLUnarchiveMemorySchemaMutation, TError, GQLUnarchiveMemorySchemaMutationVariables, TContext>({
11704
+ mutationKey: ["UnarchiveMemorySchema"],
11705
+ mutationFn: (variables?: GQLUnarchiveMemorySchemaMutationVariables) =>
11706
+ fetcher<GQLUnarchiveMemorySchemaMutation, GQLUnarchiveMemorySchemaMutationVariables>(
11707
+ client,
11708
+ UnarchiveMemorySchemaDocument,
11709
+ variables,
11710
+ headers,
11711
+ )(),
11712
+ ...options,
11713
+ });
11714
+ };
11715
+
11716
+ export const UndoMemorySchemaAssignmentDocument = `
11717
+ mutation UndoMemorySchemaAssignment($memoryIri: IRI!) {
11718
+ undoMemorySchemaAssignment(memoryIri: $memoryIri) {
11719
+ ...MemoryMutationResult
11720
+ }
11721
+ }
11722
+ ${MemoryMutationResultFragmentDoc}`;
11723
+
11724
+ export const useUndoMemorySchemaAssignmentMutation = <TError = unknown, TContext = unknown>(
11725
+ client: GraphQLClient,
11726
+ options?: UseMutationOptions<
11727
+ GQLUndoMemorySchemaAssignmentMutation,
11728
+ TError,
11729
+ GQLUndoMemorySchemaAssignmentMutationVariables,
11730
+ TContext
11731
+ >,
11732
+ headers?: RequestInit["headers"],
11733
+ ) => {
11734
+ return useMutation<
11735
+ GQLUndoMemorySchemaAssignmentMutation,
11736
+ TError,
11737
+ GQLUndoMemorySchemaAssignmentMutationVariables,
11738
+ TContext
11739
+ >({
11740
+ mutationKey: ["UndoMemorySchemaAssignment"],
11741
+ mutationFn: (variables?: GQLUndoMemorySchemaAssignmentMutationVariables) =>
11742
+ fetcher<GQLUndoMemorySchemaAssignmentMutation, GQLUndoMemorySchemaAssignmentMutationVariables>(
11743
+ client,
11744
+ UndoMemorySchemaAssignmentDocument,
11745
+ variables,
11746
+ headers,
11747
+ )(),
11748
+ ...options,
11749
+ });
11750
+ };
11751
+
9292
11752
  export const UpdateCustomAppDocument = `
9293
11753
  mutation UpdateCustomApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
9294
11754
  updateCustomApp(
@@ -9357,6 +11817,32 @@ export const useUpdateDataConnectionMutation = <TError = unknown, TContext = unk
9357
11817
  });
9358
11818
  };
9359
11819
 
11820
+ export const UpdateMemorySchemaDocument = `
11821
+ mutation UpdateMemorySchema($input: UpdateMemorySchemaInput!) {
11822
+ updateMemorySchema(input: $input) {
11823
+ ...MemorySchemaMutationResult
11824
+ }
11825
+ }
11826
+ ${MemorySchemaMutationResultFragmentDoc}`;
11827
+
11828
+ export const useUpdateMemorySchemaMutation = <TError = unknown, TContext = unknown>(
11829
+ client: GraphQLClient,
11830
+ options?: UseMutationOptions<GQLUpdateMemorySchemaMutation, TError, GQLUpdateMemorySchemaMutationVariables, TContext>,
11831
+ headers?: RequestInit["headers"],
11832
+ ) => {
11833
+ return useMutation<GQLUpdateMemorySchemaMutation, TError, GQLUpdateMemorySchemaMutationVariables, TContext>({
11834
+ mutationKey: ["UpdateMemorySchema"],
11835
+ mutationFn: (variables?: GQLUpdateMemorySchemaMutationVariables) =>
11836
+ fetcher<GQLUpdateMemorySchemaMutation, GQLUpdateMemorySchemaMutationVariables>(
11837
+ client,
11838
+ UpdateMemorySchemaDocument,
11839
+ variables,
11840
+ headers,
11841
+ )(),
11842
+ ...options,
11843
+ });
11844
+ };
11845
+
9360
11846
  export const UpdateMemoryDocument = `
9361
11847
  mutation UpdateMemory($input: UpdateMemoryInput!) {
9362
11848
  updateMemory(input: $input) {
@@ -9467,6 +11953,10 @@ export const ActionPlanRulesDocument = `
9467
11953
  stagedRule
9468
11954
  isStaged
9469
11955
  isModified
11956
+ ownedBy {
11957
+ type
11958
+ userId
11959
+ }
9470
11960
  }
9471
11961
  count
9472
11962
  error
@@ -12168,21 +14658,147 @@ useSuspenseMemoryRedundancyReviewQuery.getKey = (variables: GQLMemoryRedundancyR
12168
14658
  variables,
12169
14659
  ];
12170
14660
 
12171
- export const MemorySchemasDocument = `
12172
- query MemorySchemas {
12173
- memorySchemas {
12174
- schemas {
14661
+ export const MemorySchemaRuleCountsDocument = `
14662
+ query MemorySchemaRuleCounts {
14663
+ memorySchemaRuleCounts {
14664
+ counts {
12175
14665
  iri
12176
- label
12177
- description
14666
+ ruleCount
14667
+ }
14668
+ error
14669
+ }
14670
+ }
14671
+ `;
14672
+
14673
+ export const useMemorySchemaRuleCountsQuery = <TData = GQLMemorySchemaRuleCountsQuery, TError = unknown>(
14674
+ client: GraphQLClient,
14675
+ variables?: GQLMemorySchemaRuleCountsQueryVariables,
14676
+ options?: Omit<UseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>, "queryKey"> & {
14677
+ queryKey?: UseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>["queryKey"];
14678
+ },
14679
+ headers?: RequestInit["headers"],
14680
+ ) => {
14681
+ return useQuery<GQLMemorySchemaRuleCountsQuery, TError, TData>({
14682
+ queryKey: variables === undefined ? ["MemorySchemaRuleCounts"] : ["MemorySchemaRuleCounts", variables],
14683
+ queryFn: fetcher<GQLMemorySchemaRuleCountsQuery, GQLMemorySchemaRuleCountsQueryVariables>(
14684
+ client,
14685
+ MemorySchemaRuleCountsDocument,
14686
+ variables,
14687
+ headers,
14688
+ ),
14689
+ ...options,
14690
+ });
14691
+ };
14692
+
14693
+ useMemorySchemaRuleCountsQuery.getKey = (variables?: GQLMemorySchemaRuleCountsQueryVariables) =>
14694
+ variables === undefined ? ["MemorySchemaRuleCounts"] : ["MemorySchemaRuleCounts", variables];
14695
+
14696
+ export const useSuspenseMemorySchemaRuleCountsQuery = <TData = GQLMemorySchemaRuleCountsQuery, TError = unknown>(
14697
+ client: GraphQLClient,
14698
+ variables?: GQLMemorySchemaRuleCountsQueryVariables,
14699
+ options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>, "queryKey"> & {
14700
+ queryKey?: UseSuspenseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>["queryKey"];
14701
+ },
14702
+ headers?: RequestInit["headers"],
14703
+ ) => {
14704
+ return useSuspenseQuery<GQLMemorySchemaRuleCountsQuery, TError, TData>({
14705
+ queryKey:
14706
+ variables === undefined ? ["MemorySchemaRuleCountsSuspense"] : ["MemorySchemaRuleCountsSuspense", variables],
14707
+ queryFn: fetcher<GQLMemorySchemaRuleCountsQuery, GQLMemorySchemaRuleCountsQueryVariables>(
14708
+ client,
14709
+ MemorySchemaRuleCountsDocument,
14710
+ variables,
14711
+ headers,
14712
+ ),
14713
+ ...options,
14714
+ });
14715
+ };
14716
+
14717
+ useSuspenseMemorySchemaRuleCountsQuery.getKey = (variables?: GQLMemorySchemaRuleCountsQueryVariables) =>
14718
+ variables === undefined ? ["MemorySchemaRuleCountsSuspense"] : ["MemorySchemaRuleCountsSuspense", variables];
14719
+
14720
+ export const MemorySchemaTemplatesDocument = `
14721
+ query MemorySchemaTemplates {
14722
+ memorySchemaTemplates {
14723
+ templates {
14724
+ live
14725
+ schema {
14726
+ ...MemorySchemaFields
14727
+ }
14728
+ }
14729
+ error
14730
+ }
14731
+ }
14732
+ ${MemorySchemaFieldsFragmentDoc}`;
14733
+
14734
+ export const useMemorySchemaTemplatesQuery = <TData = GQLMemorySchemaTemplatesQuery, TError = unknown>(
14735
+ client: GraphQLClient,
14736
+ variables?: GQLMemorySchemaTemplatesQueryVariables,
14737
+ options?: Omit<UseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>, "queryKey"> & {
14738
+ queryKey?: UseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>["queryKey"];
14739
+ },
14740
+ headers?: RequestInit["headers"],
14741
+ ) => {
14742
+ return useQuery<GQLMemorySchemaTemplatesQuery, TError, TData>({
14743
+ queryKey: variables === undefined ? ["MemorySchemaTemplates"] : ["MemorySchemaTemplates", variables],
14744
+ queryFn: fetcher<GQLMemorySchemaTemplatesQuery, GQLMemorySchemaTemplatesQueryVariables>(
14745
+ client,
14746
+ MemorySchemaTemplatesDocument,
14747
+ variables,
14748
+ headers,
14749
+ ),
14750
+ ...options,
14751
+ });
14752
+ };
14753
+
14754
+ useMemorySchemaTemplatesQuery.getKey = (variables?: GQLMemorySchemaTemplatesQueryVariables) =>
14755
+ variables === undefined ? ["MemorySchemaTemplates"] : ["MemorySchemaTemplates", variables];
14756
+
14757
+ export const useSuspenseMemorySchemaTemplatesQuery = <TData = GQLMemorySchemaTemplatesQuery, TError = unknown>(
14758
+ client: GraphQLClient,
14759
+ variables?: GQLMemorySchemaTemplatesQueryVariables,
14760
+ options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>, "queryKey"> & {
14761
+ queryKey?: UseSuspenseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>["queryKey"];
14762
+ },
14763
+ headers?: RequestInit["headers"],
14764
+ ) => {
14765
+ return useSuspenseQuery<GQLMemorySchemaTemplatesQuery, TError, TData>({
14766
+ queryKey:
14767
+ variables === undefined ? ["MemorySchemaTemplatesSuspense"] : ["MemorySchemaTemplatesSuspense", variables],
14768
+ queryFn: fetcher<GQLMemorySchemaTemplatesQuery, GQLMemorySchemaTemplatesQueryVariables>(
14769
+ client,
14770
+ MemorySchemaTemplatesDocument,
14771
+ variables,
14772
+ headers,
14773
+ ),
14774
+ ...options,
14775
+ });
14776
+ };
14777
+
14778
+ useSuspenseMemorySchemaTemplatesQuery.getKey = (variables?: GQLMemorySchemaTemplatesQueryVariables) =>
14779
+ variables === undefined ? ["MemorySchemaTemplatesSuspense"] : ["MemorySchemaTemplatesSuspense", variables];
14780
+
14781
+ export const MemorySchemaUsageDocument = `
14782
+ query MemorySchemaUsage($iri: IRI!) {
14783
+ memorySchemaUsage(iri: $iri) {
14784
+ usage {
14785
+ iri
14786
+ memoryCount
12178
14787
  properties {
12179
14788
  path
14789
+ memoryCount
14790
+ options {
14791
+ value
14792
+ memoryCount
14793
+ }
14794
+ }
14795
+ rules {
14796
+ ruleIri
12180
14797
  label
12181
- dataType
12182
- required
12183
- allowedValues
12184
- keyProperty
12185
- inferred
14798
+ kind
14799
+ term
14800
+ value
14801
+ position
12186
14802
  }
12187
14803
  }
12188
14804
  error
@@ -12190,6 +14806,64 @@ export const MemorySchemasDocument = `
12190
14806
  }
12191
14807
  `;
12192
14808
 
14809
+ export const useMemorySchemaUsageQuery = <TData = GQLMemorySchemaUsageQuery, TError = unknown>(
14810
+ client: GraphQLClient,
14811
+ variables: GQLMemorySchemaUsageQueryVariables,
14812
+ options?: Omit<UseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>, "queryKey"> & {
14813
+ queryKey?: UseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>["queryKey"];
14814
+ },
14815
+ headers?: RequestInit["headers"],
14816
+ ) => {
14817
+ return useQuery<GQLMemorySchemaUsageQuery, TError, TData>({
14818
+ queryKey: ["MemorySchemaUsage", variables],
14819
+ queryFn: fetcher<GQLMemorySchemaUsageQuery, GQLMemorySchemaUsageQueryVariables>(
14820
+ client,
14821
+ MemorySchemaUsageDocument,
14822
+ variables,
14823
+ headers,
14824
+ ),
14825
+ ...options,
14826
+ });
14827
+ };
14828
+
14829
+ useMemorySchemaUsageQuery.getKey = (variables: GQLMemorySchemaUsageQueryVariables) => ["MemorySchemaUsage", variables];
14830
+
14831
+ export const useSuspenseMemorySchemaUsageQuery = <TData = GQLMemorySchemaUsageQuery, TError = unknown>(
14832
+ client: GraphQLClient,
14833
+ variables: GQLMemorySchemaUsageQueryVariables,
14834
+ options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>, "queryKey"> & {
14835
+ queryKey?: UseSuspenseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>["queryKey"];
14836
+ },
14837
+ headers?: RequestInit["headers"],
14838
+ ) => {
14839
+ return useSuspenseQuery<GQLMemorySchemaUsageQuery, TError, TData>({
14840
+ queryKey: ["MemorySchemaUsageSuspense", variables],
14841
+ queryFn: fetcher<GQLMemorySchemaUsageQuery, GQLMemorySchemaUsageQueryVariables>(
14842
+ client,
14843
+ MemorySchemaUsageDocument,
14844
+ variables,
14845
+ headers,
14846
+ ),
14847
+ ...options,
14848
+ });
14849
+ };
14850
+
14851
+ useSuspenseMemorySchemaUsageQuery.getKey = (variables: GQLMemorySchemaUsageQueryVariables) => [
14852
+ "MemorySchemaUsageSuspense",
14853
+ variables,
14854
+ ];
14855
+
14856
+ export const MemorySchemasDocument = `
14857
+ query MemorySchemas($includeArchived: Boolean) {
14858
+ memorySchemas(includeArchived: $includeArchived) {
14859
+ schemas {
14860
+ ...MemorySchemaFields
14861
+ }
14862
+ error
14863
+ }
14864
+ }
14865
+ ${MemorySchemaFieldsFragmentDoc}`;
14866
+
12193
14867
  export const useMemorySchemasQuery = <TData = GQLMemorySchemasQuery, TError = unknown>(
12194
14868
  client: GraphQLClient,
12195
14869
  variables?: GQLMemorySchemasQueryVariables,