@manta-eu/client 0.11.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 +2124 -40
  3. package/dist/generated/graphql.d.ts.map +1 -1
  4. package/dist/generated/graphql.js +472 -24
  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 +2726 -71
  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
@@ -542,6 +542,12 @@ export type GQLCancelActionPlanResponse = {
542
542
  error?: Maybe<Scalars["String"]["output"]>;
543
543
  success: Scalars["Boolean"]["output"];
544
544
  };
545
+ export type GQLClearMemorySchemaPropertyValuesInput = {
546
+ dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
547
+ expectedRevision: Scalars["Int"]["input"];
548
+ iri: Scalars["IRI"]["input"];
549
+ path: Scalars["IRI"]["input"];
550
+ };
545
551
  export type GQLClearStagedRulesResponse = {
546
552
  __typename?: "ClearStagedRulesResponse";
547
553
  error?: Maybe<Scalars["String"]["output"]>;
@@ -551,6 +557,8 @@ export type GQLClearStagedRulesResponse = {
551
557
  export type GQLCommitStagedRulesResponse = {
552
558
  __typename?: "CommitStagedRulesResponse";
553
559
  error?: Maybe<Scalars["String"]["output"]>;
560
+ outcome: GQLRuleCommitOutcome;
561
+ requestId?: Maybe<Scalars["String"]["output"]>;
554
562
  rulesAdded: Scalars["Int"]["output"];
555
563
  rulesDeleted: Scalars["Int"]["output"];
556
564
  rulesUpdated: Scalars["Int"]["output"];
@@ -693,6 +701,10 @@ export type GQLCreateMemoryResponse = {
693
701
  __typename?: "CreateMemoryResponse";
694
702
  error?: Maybe<Scalars["String"]["output"]>;
695
703
  memory?: Maybe<GQLMemory>;
704
+ propertyErrors?: Maybe<Array<GQLMemoryPropertyProblem>>;
705
+ };
706
+ export type GQLCreateMemorySchemaInput = {
707
+ definition: GQLMemorySchemaDefinitionInput;
696
708
  };
697
709
  export type GQLCreateStripeBillingPortalSessionResponse = {
698
710
  __typename?: "CreateStripeBillingPortalSessionResponse";
@@ -1005,6 +1017,13 @@ export type GQLDeleteRulePrefixResponse = {
1005
1017
  name: Scalars["String"]["output"];
1006
1018
  success: Scalars["Boolean"]["output"];
1007
1019
  };
1020
+ export type GQLDeleteUploadInput = {
1021
+ storageKey: Scalars["String"]["input"];
1022
+ };
1023
+ export type GQLDeleteUploadResponse = {
1024
+ __typename?: "DeleteUploadResponse";
1025
+ ok: Scalars["Boolean"]["output"];
1026
+ };
1008
1027
  export type GQLDeleteUserAccountResponse = {
1009
1028
  __typename?: "DeleteUserAccountResponse";
1010
1029
  deleted: Scalars["Boolean"]["output"];
@@ -1411,6 +1430,7 @@ export type GQLKnowledgeGraphDataVersion = {
1411
1430
  };
1412
1431
  export type GQLKnowledgeGraphState = {
1413
1432
  __typename?: "KnowledgeGraphState";
1433
+ /** @deprecated Placeholder values: the datastore is no longer counted. */
1414
1434
  capacity: GQLKnowledgeGraphCapacity;
1415
1435
  dataVersion?: Maybe<GQLKnowledgeGraphDataVersion>;
1416
1436
  exists: Scalars["Boolean"]["output"];
@@ -1550,7 +1570,9 @@ export type GQLMemory = {
1550
1570
  aboutEntityIris: Array<Scalars["IRI"]["output"]>;
1551
1571
  confidence?: Maybe<Scalars["Float"]["output"]>;
1552
1572
  createdBy?: Maybe<Scalars["String"]["output"]>;
1573
+ /** @deprecated Read customPropertyValues: it keeps each value of a multi-valued property apart. */
1553
1574
  customProperties?: Maybe<Scalars["JSONObject"]["output"]>;
1575
+ customPropertyValues: Array<GQLMemoryPropertyValues>;
1554
1576
  description?: Maybe<Scalars["String"]["output"]>;
1555
1577
  extractedAt: Scalars["DateTime"]["output"];
1556
1578
  importance: Scalars["Int"]["output"];
@@ -1566,6 +1588,7 @@ export type GQLMemory = {
1566
1588
  memoryUseCount: Scalars["Int"]["output"];
1567
1589
  memoryValidFrom?: Maybe<Scalars["DateTime"]["output"]>;
1568
1590
  memoryValidUntil?: Maybe<Scalars["DateTime"]["output"]>;
1591
+ schemaAssignment?: Maybe<GQLMemorySchemaAssignment>;
1569
1592
  scope: GQLMemoryScope;
1570
1593
  supersededBy?: Maybe<Scalars["IRI"]["output"]>;
1571
1594
  supersedesMemory?: Maybe<Scalars["IRI"]["output"]>;
@@ -1589,6 +1612,17 @@ export declare enum GQLMemoryKind {
1589
1612
  Objective = "objective",
1590
1613
  Preference = "preference"
1591
1614
  }
1615
+ export type GQLMemoryPropertyProblem = {
1616
+ __typename?: "MemoryPropertyProblem";
1617
+ label?: Maybe<Scalars["String"]["output"]>;
1618
+ message: Scalars["String"]["output"];
1619
+ path: Scalars["IRI"]["output"];
1620
+ };
1621
+ export type GQLMemoryPropertyValues = {
1622
+ __typename?: "MemoryPropertyValues";
1623
+ path: Scalars["IRI"]["output"];
1624
+ values: Array<Scalars["String"]["output"]>;
1625
+ };
1592
1626
  export type GQLMemoryRedundancyResult = {
1593
1627
  __typename?: "MemoryRedundancyResult";
1594
1628
  abstractions: Array<GQLMemoryAbstraction>;
@@ -1616,20 +1650,162 @@ export type GQLMemoryReplaySeriesResult = {
1616
1650
  };
1617
1651
  export type GQLMemorySchema = {
1618
1652
  __typename?: "MemorySchema";
1653
+ createdAt?: Maybe<Scalars["DateTime"]["output"]>;
1654
+ createdBy: GQLMemorySchemaCreator;
1655
+ customized: Scalars["Boolean"]["output"];
1656
+ defaultImportance?: Maybe<Scalars["Int"]["output"]>;
1657
+ defaultMemoryKind?: Maybe<GQLMemoryKind>;
1658
+ defaultScope?: Maybe<GQLMemoryScope>;
1659
+ defaultVolatility?: Maybe<GQLMemoryVolatility>;
1619
1660
  description?: Maybe<Scalars["String"]["output"]>;
1661
+ extractionEnabled: Scalars["Boolean"]["output"];
1662
+ extractionGuidance?: Maybe<Scalars["String"]["output"]>;
1620
1663
  iri: Scalars["IRI"]["output"];
1621
1664
  label: Scalars["String"]["output"];
1665
+ memoryCount?: Maybe<Scalars["Int"]["output"]>;
1622
1666
  properties: Array<GQLMemorySchemaProperty>;
1667
+ revision: Scalars["Int"]["output"];
1668
+ status: GQLMemorySchemaStatus;
1669
+ templateStatus: GQLMemorySchemaTemplateStatus;
1670
+ updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
1671
+ };
1672
+ export type GQLMemorySchemaAssignment = {
1673
+ __typename?: "MemorySchemaAssignment";
1674
+ assignedAt?: Maybe<Scalars["DateTime"]["output"]>;
1675
+ confidence?: Maybe<Scalars["Float"]["output"]>;
1676
+ schemaIri: Scalars["IRI"]["output"];
1677
+ };
1678
+ export declare enum GQLMemorySchemaCreator {
1679
+ AnotherUser = "anotherUser",
1680
+ CurrentUser = "currentUser",
1681
+ Manta = "manta"
1682
+ }
1683
+ export type GQLMemorySchemaDefinitionInput = {
1684
+ defaultImportance?: InputMaybe<Scalars["Int"]["input"]>;
1685
+ defaultMemoryKind?: InputMaybe<GQLMemoryKind>;
1686
+ defaultScope?: InputMaybe<GQLMemoryScope>;
1687
+ defaultVolatility?: InputMaybe<GQLMemoryVolatility>;
1688
+ description?: InputMaybe<Scalars["String"]["input"]>;
1689
+ extractionEnabled?: InputMaybe<Scalars["Boolean"]["input"]>;
1690
+ extractionGuidance?: InputMaybe<Scalars["String"]["input"]>;
1691
+ key?: InputMaybe<Scalars["String"]["input"]>;
1692
+ label: Scalars["String"]["input"];
1693
+ properties: Array<GQLMemorySchemaPropertyDefinitionInput>;
1694
+ };
1695
+ export type GQLMemorySchemaImpact = {
1696
+ __typename?: "MemorySchemaImpact";
1697
+ blockers: Array<Scalars["String"]["output"]>;
1698
+ clearedValues: Array<GQLMemorySchemaPropertyImpact>;
1699
+ limitViolations: Array<GQLMemorySchemaLimitImpact>;
1700
+ memoryCount: Scalars["Int"]["output"];
1701
+ multiValueConflicts: Array<GQLMemorySchemaPropertyImpact>;
1702
+ removedOptions: Array<GQLMemorySchemaOptionImpact>;
1703
+ removedProperties: Array<GQLMemorySchemaPropertyImpact>;
1704
+ ruleReferences: Array<GQLMemorySchemaRuleReference>;
1705
+ typeChanges: Array<GQLMemorySchemaTypeChangeImpact>;
1706
+ };
1707
+ export type GQLMemorySchemaLimitImpact = {
1708
+ __typename?: "MemorySchemaLimitImpact";
1709
+ invalidCount: Scalars["Int"]["output"];
1710
+ invalidSamples: Array<Scalars["String"]["output"]>;
1711
+ label: Scalars["String"]["output"];
1712
+ path: Scalars["IRI"]["output"];
1713
+ valueCount: Scalars["Int"]["output"];
1714
+ };
1715
+ export type GQLMemorySchemaMutationResponse = {
1716
+ __typename?: "MemorySchemaMutationResponse";
1717
+ error?: Maybe<Scalars["String"]["output"]>;
1718
+ impact?: Maybe<GQLMemorySchemaImpact>;
1719
+ schema?: Maybe<GQLMemorySchema>;
1720
+ status: GQLMemorySchemaMutationStatus;
1721
+ validationErrors: Array<GQLMemorySchemaValidationError>;
1722
+ };
1723
+ export declare enum GQLMemorySchemaMutationStatus {
1724
+ Blocked = "blocked",
1725
+ Conflict = "conflict",
1726
+ Invalid = "invalid",
1727
+ Limit = "limit",
1728
+ NotFound = "notFound",
1729
+ Ok = "ok",
1730
+ Preview = "preview"
1731
+ }
1732
+ export type GQLMemorySchemaOption = {
1733
+ __typename?: "MemorySchemaOption";
1734
+ description?: Maybe<Scalars["String"]["output"]>;
1735
+ label?: Maybe<Scalars["String"]["output"]>;
1736
+ value: Scalars["String"]["output"];
1737
+ };
1738
+ export type GQLMemorySchemaOptionImpact = {
1739
+ __typename?: "MemorySchemaOptionImpact";
1740
+ label: Scalars["String"]["output"];
1741
+ memoryCount: Scalars["Int"]["output"];
1742
+ path: Scalars["IRI"]["output"];
1743
+ remappedTo?: Maybe<Scalars["String"]["output"]>;
1744
+ value: Scalars["String"]["output"];
1745
+ };
1746
+ export type GQLMemorySchemaOptionInput = {
1747
+ description?: InputMaybe<Scalars["String"]["input"]>;
1748
+ label?: InputMaybe<Scalars["String"]["input"]>;
1749
+ value: Scalars["String"]["input"];
1750
+ };
1751
+ export type GQLMemorySchemaOptionRemapInput = {
1752
+ from: Scalars["String"]["input"];
1753
+ path: Scalars["IRI"]["input"];
1754
+ to?: InputMaybe<Scalars["String"]["input"]>;
1755
+ };
1756
+ export type GQLMemorySchemaOptionUsage = {
1757
+ __typename?: "MemorySchemaOptionUsage";
1758
+ memoryCount: Scalars["Int"]["output"];
1759
+ value: Scalars["String"]["output"];
1623
1760
  };
1624
1761
  export type GQLMemorySchemaProperty = {
1625
1762
  __typename?: "MemorySchemaProperty";
1626
1763
  allowedValues: Array<Scalars["String"]["output"]>;
1764
+ computed: Scalars["Boolean"]["output"];
1627
1765
  dataType: Scalars["String"]["output"];
1766
+ defaultValue?: Maybe<Scalars["String"]["output"]>;
1767
+ description?: Maybe<Scalars["String"]["output"]>;
1768
+ entityClass?: Maybe<Scalars["IRI"]["output"]>;
1769
+ /** @deprecated Renamed to computed. */
1628
1770
  inferred: Scalars["Boolean"]["output"];
1629
1771
  keyProperty: Scalars["Boolean"]["output"];
1630
1772
  label: Scalars["String"]["output"];
1773
+ maxLength?: Maybe<Scalars["Int"]["output"]>;
1774
+ maxValue?: Maybe<Scalars["String"]["output"]>;
1775
+ minValue?: Maybe<Scalars["String"]["output"]>;
1776
+ multiValued: Scalars["Boolean"]["output"];
1777
+ options: Array<GQLMemorySchemaOption>;
1778
+ order: Scalars["Int"]["output"];
1631
1779
  path: Scalars["IRI"]["output"];
1780
+ pattern?: Maybe<Scalars["String"]["output"]>;
1632
1781
  required: Scalars["Boolean"]["output"];
1782
+ unit?: Maybe<Scalars["String"]["output"]>;
1783
+ valueType: GQLMemorySchemaValueType;
1784
+ };
1785
+ export type GQLMemorySchemaPropertyDefinitionInput = {
1786
+ computed?: InputMaybe<Scalars["Boolean"]["input"]>;
1787
+ defaultValue?: InputMaybe<Scalars["String"]["input"]>;
1788
+ description?: InputMaybe<Scalars["String"]["input"]>;
1789
+ entityClass?: InputMaybe<Scalars["IRI"]["input"]>;
1790
+ key?: InputMaybe<Scalars["String"]["input"]>;
1791
+ keyProperty?: InputMaybe<Scalars["Boolean"]["input"]>;
1792
+ label: Scalars["String"]["input"];
1793
+ maxLength?: InputMaybe<Scalars["Int"]["input"]>;
1794
+ maxValue?: InputMaybe<Scalars["String"]["input"]>;
1795
+ minValue?: InputMaybe<Scalars["String"]["input"]>;
1796
+ multiValued?: InputMaybe<Scalars["Boolean"]["input"]>;
1797
+ options?: InputMaybe<Array<GQLMemorySchemaOptionInput>>;
1798
+ path?: InputMaybe<Scalars["IRI"]["input"]>;
1799
+ pattern?: InputMaybe<Scalars["String"]["input"]>;
1800
+ required?: InputMaybe<Scalars["Boolean"]["input"]>;
1801
+ unit?: InputMaybe<Scalars["String"]["input"]>;
1802
+ valueType: GQLMemorySchemaValueType;
1803
+ };
1804
+ export type GQLMemorySchemaPropertyImpact = {
1805
+ __typename?: "MemorySchemaPropertyImpact";
1806
+ label: Scalars["String"]["output"];
1807
+ memoryCount: Scalars["Int"]["output"];
1808
+ path: Scalars["IRI"]["output"];
1633
1809
  };
1634
1810
  export type GQLMemorySchemaPropertyInput = {
1635
1811
  allowedValues?: InputMaybe<Array<Scalars["String"]["input"]>>;
@@ -1638,6 +1814,102 @@ export type GQLMemorySchemaPropertyInput = {
1638
1814
  path: Scalars["IRI"]["input"];
1639
1815
  required: Scalars["Boolean"]["input"];
1640
1816
  };
1817
+ export type GQLMemorySchemaPropertyUsage = {
1818
+ __typename?: "MemorySchemaPropertyUsage";
1819
+ memoryCount: Scalars["Int"]["output"];
1820
+ options: Array<GQLMemorySchemaOptionUsage>;
1821
+ path: Scalars["IRI"]["output"];
1822
+ };
1823
+ export type GQLMemorySchemaRevisionInput = {
1824
+ expectedRevision: Scalars["Int"]["input"];
1825
+ iri: Scalars["IRI"]["input"];
1826
+ };
1827
+ export type GQLMemorySchemaRuleCount = {
1828
+ __typename?: "MemorySchemaRuleCount";
1829
+ iri: Scalars["IRI"]["output"];
1830
+ ruleCount: Scalars["Int"]["output"];
1831
+ };
1832
+ export type GQLMemorySchemaRuleCountsResponse = {
1833
+ __typename?: "MemorySchemaRuleCountsResponse";
1834
+ counts: Array<GQLMemorySchemaRuleCount>;
1835
+ error?: Maybe<Scalars["String"]["output"]>;
1836
+ };
1837
+ export declare enum GQLMemorySchemaRulePosition {
1838
+ Body = "body",
1839
+ Head = "head"
1840
+ }
1841
+ export type GQLMemorySchemaRuleReference = {
1842
+ __typename?: "MemorySchemaRuleReference";
1843
+ kind: GQLMemorySchemaRuleReferenceKind;
1844
+ label?: Maybe<Scalars["String"]["output"]>;
1845
+ position: GQLMemorySchemaRulePosition;
1846
+ ruleIri: Scalars["String"]["output"];
1847
+ term: Scalars["IRI"]["output"];
1848
+ value?: Maybe<Scalars["String"]["output"]>;
1849
+ };
1850
+ export declare enum GQLMemorySchemaRuleReferenceKind {
1851
+ Class = "class",
1852
+ Property = "property",
1853
+ Value = "value"
1854
+ }
1855
+ export declare enum GQLMemorySchemaStatus {
1856
+ Active = "active",
1857
+ Archived = "archived"
1858
+ }
1859
+ export type GQLMemorySchemaTemplate = {
1860
+ __typename?: "MemorySchemaTemplate";
1861
+ live: Scalars["Boolean"]["output"];
1862
+ schema: GQLMemorySchema;
1863
+ };
1864
+ export declare enum GQLMemorySchemaTemplateStatus {
1865
+ Current = "current",
1866
+ None = "none",
1867
+ Removed = "removed",
1868
+ Updated = "updated"
1869
+ }
1870
+ export type GQLMemorySchemaTemplatesResponse = {
1871
+ __typename?: "MemorySchemaTemplatesResponse";
1872
+ error?: Maybe<Scalars["String"]["output"]>;
1873
+ templates: Array<GQLMemorySchemaTemplate>;
1874
+ };
1875
+ export type GQLMemorySchemaTypeChangeImpact = {
1876
+ __typename?: "MemorySchemaTypeChangeImpact";
1877
+ from: GQLMemorySchemaValueType;
1878
+ label: Scalars["String"]["output"];
1879
+ path: Scalars["IRI"]["output"];
1880
+ to: GQLMemorySchemaValueType;
1881
+ unconvertibleCount: Scalars["Int"]["output"];
1882
+ unconvertibleSamples: Array<Scalars["String"]["output"]>;
1883
+ valueCount: Scalars["Int"]["output"];
1884
+ };
1885
+ export type GQLMemorySchemaUsage = {
1886
+ __typename?: "MemorySchemaUsage";
1887
+ iri: Scalars["IRI"]["output"];
1888
+ memoryCount: Scalars["Int"]["output"];
1889
+ properties: Array<GQLMemorySchemaPropertyUsage>;
1890
+ rules: Array<GQLMemorySchemaRuleReference>;
1891
+ };
1892
+ export type GQLMemorySchemaUsageResponse = {
1893
+ __typename?: "MemorySchemaUsageResponse";
1894
+ error?: Maybe<Scalars["String"]["output"]>;
1895
+ usage?: Maybe<GQLMemorySchemaUsage>;
1896
+ };
1897
+ export type GQLMemorySchemaValidationError = {
1898
+ __typename?: "MemorySchemaValidationError";
1899
+ field: Scalars["String"]["output"];
1900
+ message: Scalars["String"]["output"];
1901
+ };
1902
+ export declare enum GQLMemorySchemaValueType {
1903
+ Boolean = "boolean",
1904
+ Date = "date",
1905
+ DateTime = "dateTime",
1906
+ Decimal = "decimal",
1907
+ Entity = "entity",
1908
+ Integer = "integer",
1909
+ LongText = "longText",
1910
+ Text = "text",
1911
+ Url = "url"
1912
+ }
1641
1913
  export type GQLMemorySchemasResponse = {
1642
1914
  __typename?: "MemorySchemasResponse";
1643
1915
  error?: Maybe<Scalars["String"]["output"]>;
@@ -1648,6 +1920,11 @@ export declare enum GQLMemoryScope {
1648
1920
  Team = "team",
1649
1921
  User = "user"
1650
1922
  }
1923
+ export declare enum GQLMemoryVolatility {
1924
+ Slow = "slow",
1925
+ Stable = "stable",
1926
+ Volatile = "volatile"
1927
+ }
1651
1928
  export type GQLMetaAdAccount = {
1652
1929
  __typename?: "MetaAdAccount";
1653
1930
  externalId?: Maybe<Scalars["String"]["output"]>;
@@ -1722,11 +1999,14 @@ export type GQLMutation = {
1722
1999
  __typename?: "Mutation";
1723
2000
  abortUpload: GQLAbortUploadResponse;
1724
2001
  acceptInvitation: GQLInvitationAcceptedResponse;
2002
+ addMemorySchemaFromTemplate: GQLMemorySchemaMutationResponse;
2003
+ archiveMemorySchema: GQLMemorySchemaMutationResponse;
1725
2004
  assignTeamMembers: GQLAssignmentSummary;
1726
2005
  attributeStripeSubscription: GQLAttributeStripeSubscriptionResponse;
1727
2006
  awaitDataConnectionTest: GQLDataConnectionTestState;
1728
2007
  bringDatastoreOnline: GQLBringDatastoreOnlineResponse;
1729
2008
  cancelActionPlan: GQLCancelActionPlanResponse;
2009
+ clearMemorySchemaPropertyValues: GQLMemorySchemaMutationResponse;
1730
2010
  clearStagedRules: GQLClearStagedRulesResponse;
1731
2011
  commitStagedRules: GQLCommitStagedRulesResponse;
1732
2012
  completeStripeCheckout: GQLCompleteStripeCheckoutResponse;
@@ -1738,6 +2018,7 @@ export type GQLMutation = {
1738
2018
  createDataConnection: GQLDataConnectionTestState;
1739
2019
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1740
2020
  createMemory: GQLCreateMemoryResponse;
2021
+ createMemorySchema: GQLMemorySchemaMutationResponse;
1741
2022
  createRulePrefix: GQLRulePrefixResponse;
1742
2023
  createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
1743
2024
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
@@ -1749,12 +2030,15 @@ export type GQLMutation = {
1749
2030
  deleteDatastore: GQLDeleteDatastoreResponse;
1750
2031
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1751
2032
  deleteMemory: GQLDeleteMemoryResponse;
2033
+ deleteMemorySchema: GQLMemorySchemaMutationResponse;
1752
2034
  deleteRulePrefix: GQLDeleteRulePrefixResponse;
2035
+ deleteUpload: GQLDeleteUploadResponse;
1753
2036
  deleteUserAccount: GQLDeleteUserAccountResponse;
1754
2037
  disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
1755
2038
  disconnectCustomApp: Scalars["Boolean"]["output"];
1756
2039
  disconnectGmailIntegration: GQLDisconnectGmailIntegrationResponse;
1757
2040
  disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
2041
+ dismissMemorySchemaTemplateUpdate: GQLMemorySchemaMutationResponse;
1758
2042
  executeActionAddition: GQLExecuteActionResponse;
1759
2043
  executeActionDeletion: GQLExecuteActionResponse;
1760
2044
  executeActionGraph: GQLExecuteActionResponse;
@@ -1784,6 +2068,7 @@ export type GQLMutation = {
1784
2068
  microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
1785
2069
  pauseLDESStream: GQLLdesStreamResponse;
1786
2070
  provisionDatastore: GQLProvisionDatastoreResponse;
2071
+ publishManualActionAssigned: GQLPublishChannelEventResult;
1787
2072
  reconfirmMemory: GQLUpdateMemoryResponse;
1788
2073
  recordHotelProfile: GQLRecordHotelProfileResponse;
1789
2074
  refreshResources: GQLRefreshResourcesResponse;
@@ -1796,6 +2081,7 @@ export type GQLMutation = {
1796
2081
  renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
1797
2082
  renameUser: GQLRenameUserResponse;
1798
2083
  resendTeamInvitation: GQLTeamInvitationResentResponse;
2084
+ resetMemorySchemaToTemplate: GQLMemorySchemaMutationResponse;
1799
2085
  restoreMemory: GQLRestoreMemoryResponse;
1800
2086
  resumeLDESStream: GQLLdesStreamResponse;
1801
2087
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
@@ -1803,15 +2089,19 @@ export type GQLMutation = {
1803
2089
  rotateCustomAppSecret: GQLCustomAppCredentials;
1804
2090
  runDatastoreDeletionStep: GQLRunDatastoreDeletionStepResult;
1805
2091
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
2092
+ setActionPlanAutoPilot: GQLSetActionPlanAutoPilotResponse;
1806
2093
  setCustomAppChatAllowance: GQLCustomAppChatAllowance;
1807
2094
  setCustomAppEnabled: GQLCustomApp;
1808
2095
  setTeamMemberEnabled: GQLTeamMemberEnabledResponse;
1809
2096
  stageRuleOperation: GQLStageRuleOperationResponse;
1810
2097
  startLDESStream: GQLLdesStreamResponse;
1811
2098
  syncGmailIntegration: GQLGmailIntegration;
2099
+ unarchiveMemorySchema: GQLMemorySchemaMutationResponse;
2100
+ undoMemorySchemaAssignment: GQLUpdateMemoryResponse;
1812
2101
  updateCustomApp: GQLCustomApp;
1813
2102
  updateDataConnection: GQLDataConnectionTestState;
1814
2103
  updateMemory: GQLUpdateMemoryResponse;
2104
+ updateMemorySchema: GQLMemorySchemaMutationResponse;
1815
2105
  updateRulePrefix: GQLRulePrefixResponse;
1816
2106
  updateTeamMember: GQLTeamMemberUpdateResponse;
1817
2107
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
@@ -1824,6 +2114,12 @@ export type GQLMutationAbortUploadArgs = {
1824
2114
  export type GQLMutationAcceptInvitationArgs = {
1825
2115
  organizationId: Scalars["ID"]["input"];
1826
2116
  };
2117
+ export type GQLMutationAddMemorySchemaFromTemplateArgs = {
2118
+ templateIri: Scalars["IRI"]["input"];
2119
+ };
2120
+ export type GQLMutationArchiveMemorySchemaArgs = {
2121
+ input: GQLMemorySchemaRevisionInput;
2122
+ };
1827
2123
  export type GQLMutationAssignTeamMembersArgs = {
1828
2124
  roles?: InputMaybe<Array<GQLAssignmentRoleInput>>;
1829
2125
  targets: Array<GQLAssignTargetInput>;
@@ -1842,6 +2138,9 @@ export type GQLMutationBringDatastoreOnlineArgs = {
1842
2138
  export type GQLMutationCancelActionPlanArgs = {
1843
2139
  planIri: Scalars["String"]["input"];
1844
2140
  };
2141
+ export type GQLMutationClearMemorySchemaPropertyValuesArgs = {
2142
+ input: GQLClearMemorySchemaPropertyValuesInput;
2143
+ };
1845
2144
  export type GQLMutationClearStagedRulesArgs = {
1846
2145
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]>>;
1847
2146
  };
@@ -1883,6 +2182,9 @@ export type GQLMutationCreateInferalIntegrationArgs = {
1883
2182
  export type GQLMutationCreateMemoryArgs = {
1884
2183
  input: GQLCreateMemoryInput;
1885
2184
  };
2185
+ export type GQLMutationCreateMemorySchemaArgs = {
2186
+ input: GQLCreateMemorySchemaInput;
2187
+ };
1886
2188
  export type GQLMutationCreateRulePrefixArgs = {
1887
2189
  input: GQLRulePrefixInput;
1888
2190
  };
@@ -1923,9 +2225,15 @@ export type GQLMutationDeleteLdesStreamArgs = {
1923
2225
  export type GQLMutationDeleteMemoryArgs = {
1924
2226
  memoryIri: Scalars["IRI"]["input"];
1925
2227
  };
2228
+ export type GQLMutationDeleteMemorySchemaArgs = {
2229
+ input: GQLMemorySchemaRevisionInput;
2230
+ };
1926
2231
  export type GQLMutationDeleteRulePrefixArgs = {
1927
2232
  name: Scalars["String"]["input"];
1928
2233
  };
2234
+ export type GQLMutationDeleteUploadArgs = {
2235
+ input: GQLDeleteUploadInput;
2236
+ };
1929
2237
  export type GQLMutationDeleteUserAccountArgs = {
1930
2238
  userId: Scalars["String"]["input"];
1931
2239
  };
@@ -1941,6 +2249,9 @@ export type GQLMutationDisconnectGmailIntegrationArgs = {
1941
2249
  export type GQLMutationDisconnectInferalIntegrationArgs = {
1942
2250
  id: Scalars["String"]["input"];
1943
2251
  };
2252
+ export type GQLMutationDismissMemorySchemaTemplateUpdateArgs = {
2253
+ input: GQLMemorySchemaRevisionInput;
2254
+ };
1944
2255
  export type GQLMutationExecuteActionAdditionArgs = {
1945
2256
  input: GQLExecuteActionAdditionInput;
1946
2257
  };
@@ -2044,6 +2355,9 @@ export type GQLMutationPauseLdesStreamArgs = {
2044
2355
  export type GQLMutationProvisionDatastoreArgs = {
2045
2356
  input: GQLProvisionDatastoreInput;
2046
2357
  };
2358
+ export type GQLMutationPublishManualActionAssignedArgs = {
2359
+ input: GQLPublishManualActionAssignedInput;
2360
+ };
2047
2361
  export type GQLMutationReconfirmMemoryArgs = {
2048
2362
  memoryIri: Scalars["IRI"]["input"];
2049
2363
  };
@@ -2092,6 +2406,9 @@ export type GQLMutationResendTeamInvitationArgs = {
2092
2406
  org?: InputMaybe<Scalars["String"]["input"]>;
2093
2407
  userId: Scalars["String"]["input"];
2094
2408
  };
2409
+ export type GQLMutationResetMemorySchemaToTemplateArgs = {
2410
+ input: GQLResetMemorySchemaInput;
2411
+ };
2095
2412
  export type GQLMutationRestoreMemoryArgs = {
2096
2413
  memoryIri: Scalars["IRI"]["input"];
2097
2414
  };
@@ -2116,6 +2433,9 @@ export type GQLMutationRunDatastoreDeletionStepArgs = {
2116
2433
  export type GQLMutationSelfServeProvisionOrganizationArgs = {
2117
2434
  input: GQLSelfServeProvisionOrganizationInput;
2118
2435
  };
2436
+ export type GQLMutationSetActionPlanAutoPilotArgs = {
2437
+ input: GQLSetActionPlanAutoPilotInput;
2438
+ };
2119
2439
  export type GQLMutationSetCustomAppChatAllowanceArgs = {
2120
2440
  clientId: Scalars["String"]["input"];
2121
2441
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -2141,6 +2461,12 @@ export type GQLMutationStartLdesStreamArgs = {
2141
2461
  export type GQLMutationSyncGmailIntegrationArgs = {
2142
2462
  email: Scalars["String"]["input"];
2143
2463
  };
2464
+ export type GQLMutationUnarchiveMemorySchemaArgs = {
2465
+ input: GQLMemorySchemaRevisionInput;
2466
+ };
2467
+ export type GQLMutationUndoMemorySchemaAssignmentArgs = {
2468
+ memoryIri: Scalars["IRI"]["input"];
2469
+ };
2144
2470
  export type GQLMutationUpdateCustomAppArgs = {
2145
2471
  clientId: Scalars["String"]["input"];
2146
2472
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
@@ -2157,6 +2483,9 @@ export type GQLMutationUpdateDataConnectionArgs = {
2157
2483
  export type GQLMutationUpdateMemoryArgs = {
2158
2484
  input: GQLUpdateMemoryInput;
2159
2485
  };
2486
+ export type GQLMutationUpdateMemorySchemaArgs = {
2487
+ input: GQLUpdateMemorySchemaInput;
2488
+ };
2160
2489
  export type GQLMutationUpdateRulePrefixArgs = {
2161
2490
  input: GQLRulePrefixInput;
2162
2491
  };
@@ -2263,6 +2592,19 @@ export type GQLProvisionDatastoreResponse = {
2263
2592
  runId?: Maybe<Scalars["String"]["output"]>;
2264
2593
  success: Scalars["Boolean"]["output"];
2265
2594
  };
2595
+ export type GQLPublishChannelEventResult = {
2596
+ __typename?: "PublishChannelEventResult";
2597
+ delivered: Scalars["Int"]["output"];
2598
+ };
2599
+ export type GQLPublishManualActionAssignedInput = {
2600
+ aboutIri?: InputMaybe<Scalars["String"]["input"]>;
2601
+ actionPlanIri: Scalars["String"]["input"];
2602
+ assignees: Array<Scalars["String"]["input"]>;
2603
+ datastoreId: Scalars["String"]["input"];
2604
+ description?: InputMaybe<Scalars["String"]["input"]>;
2605
+ eventId: Scalars["String"]["input"];
2606
+ manualActionIri: Scalars["String"]["input"];
2607
+ };
2266
2608
  export type GQLQuantitativeValue = GQLApproximateQuantitativeValue | GQLExactQuantitativeValue;
2267
2609
  export type GQLQuery = {
2268
2610
  __typename?: "Query";
@@ -2309,6 +2651,9 @@ export type GQLQuery = {
2309
2651
  memories: GQLMemoriesResponse;
2310
2652
  memoryRedundancyReview: GQLMemoryRedundancyResult;
2311
2653
  memoryReplaySeries: GQLMemoryReplaySeriesResult;
2654
+ memorySchemaRuleCounts: GQLMemorySchemaRuleCountsResponse;
2655
+ memorySchemaTemplates: GQLMemorySchemaTemplatesResponse;
2656
+ memorySchemaUsage: GQLMemorySchemaUsageResponse;
2312
2657
  memorySchemas: GQLMemorySchemasResponse;
2313
2658
  metaInterestSuggestions: Array<GQLMetaInterestSuggestion>;
2314
2659
  metaSetupProgress: GQLMetaSetupProgress;
@@ -2453,6 +2798,12 @@ export type GQLQueryMemoryRedundancyReviewArgs = {
2453
2798
  export type GQLQueryMemoryReplaySeriesArgs = {
2454
2799
  limit?: InputMaybe<Scalars["Int"]["input"]>;
2455
2800
  };
2801
+ export type GQLQueryMemorySchemaUsageArgs = {
2802
+ iri: Scalars["IRI"]["input"];
2803
+ };
2804
+ export type GQLQueryMemorySchemasArgs = {
2805
+ includeArchived?: InputMaybe<Scalars["Boolean"]["input"]>;
2806
+ };
2456
2807
  export type GQLQueryMetaInterestSuggestionsArgs = {
2457
2808
  adAccountIri: Scalars["IRI"]["input"];
2458
2809
  limit?: InputMaybe<Scalars["Int"]["input"]>;
@@ -2622,6 +2973,13 @@ export type GQLRenameUserResponse = {
2622
2973
  id: Scalars["String"]["output"];
2623
2974
  name?: Maybe<Scalars["String"]["output"]>;
2624
2975
  };
2976
+ export type GQLResetMemorySchemaInput = {
2977
+ clearUnconvertibleValues?: InputMaybe<Scalars["Boolean"]["input"]>;
2978
+ dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
2979
+ expectedRevision: Scalars["Int"]["input"];
2980
+ iri: Scalars["IRI"]["input"];
2981
+ optionRemaps?: InputMaybe<Array<GQLMemorySchemaOptionRemapInput>>;
2982
+ };
2625
2983
  export type GQLRestoreMemoryResponse = {
2626
2984
  __typename?: "RestoreMemoryResponse";
2627
2985
  blockedByIri?: Maybe<Scalars["IRI"]["output"]>;
@@ -2656,6 +3014,15 @@ export type GQLRule = {
2656
3014
  stratumIndex?: Maybe<Scalars["Int"]["output"]>;
2657
3015
  unifiesWith: Array<Scalars["IRI"]["output"]>;
2658
3016
  };
3017
+ export declare enum GQLRuleCommitOutcome {
3018
+ Committed = "committed",
3019
+ Failed = "failed",
3020
+ GatewayGaveUp = "gateway_gave_up",
3021
+ Locked = "locked",
3022
+ NoChanges = "no_changes",
3023
+ Refused = "refused",
3024
+ TimedOut = "timed_out"
3025
+ }
2659
3026
  export declare enum GQLRuleOperation {
2660
3027
  Add = "ADD",
2661
3028
  Change = "CHANGE",
@@ -2819,6 +3186,19 @@ export type GQLSessionUser = {
2819
3186
  picture?: Maybe<Scalars["String"]["output"]>;
2820
3187
  pictureSource?: Maybe<GQLPictureSource>;
2821
3188
  };
3189
+ export type GQLSetActionPlanAutoPilotInput = {
3190
+ enabled: Scalars["Boolean"]["input"];
3191
+ planGraphIri: Scalars["IRI"]["input"];
3192
+ scheduledCadence?: InputMaybe<Scalars["String"]["input"]>;
3193
+ };
3194
+ export type GQLSetActionPlanAutoPilotResponse = {
3195
+ __typename?: "SetActionPlanAutoPilotResponse";
3196
+ autoPilotEnabled?: Maybe<Scalars["Boolean"]["output"]>;
3197
+ error?: Maybe<Scalars["String"]["output"]>;
3198
+ planGraphIri: Scalars["IRI"]["output"];
3199
+ ruleIri?: Maybe<Scalars["IRI"]["output"]>;
3200
+ success: Scalars["Boolean"]["output"];
3201
+ };
2822
3202
  export declare enum GQLSetupAccountUnavailableReason {
2823
3203
  InsufficientPermissions = "INSUFFICIENT_PERMISSIONS",
2824
3204
  TermsNotAccepted = "TERMS_NOT_ACCEPTED"
@@ -3112,6 +3492,15 @@ export type GQLUpdateMemoryResponse = {
3112
3492
  __typename?: "UpdateMemoryResponse";
3113
3493
  error?: Maybe<Scalars["String"]["output"]>;
3114
3494
  memory?: Maybe<GQLMemory>;
3495
+ propertyErrors?: Maybe<Array<GQLMemoryPropertyProblem>>;
3496
+ };
3497
+ export type GQLUpdateMemorySchemaInput = {
3498
+ clearUnconvertibleValues?: InputMaybe<Scalars["Boolean"]["input"]>;
3499
+ definition: GQLMemorySchemaDefinitionInput;
3500
+ dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
3501
+ expectedRevision: Scalars["Int"]["input"];
3502
+ iri: Scalars["IRI"]["input"];
3503
+ optionRemaps?: InputMaybe<Array<GQLMemorySchemaOptionRemapInput>>;
3115
3504
  };
3116
3505
  export type GQLUpdateUserPreferencesInput = {
3117
3506
  defaultMemoryTtlDays?: InputMaybe<Scalars["Int"]["input"]>;
@@ -3240,7 +3629,17 @@ export type GQLMemoryFieldsFragment = {
3240
3629
  teams: Array<string>;
3241
3630
  importance: number;
3242
3631
  memorySubclass?: string | null;
3243
- customProperties?: Record<string, unknown> | null;
3632
+ customPropertyValues: Array<{
3633
+ __typename?: "MemoryPropertyValues";
3634
+ path: string;
3635
+ values: Array<string>;
3636
+ }>;
3637
+ schemaAssignment?: {
3638
+ __typename?: "MemorySchemaAssignment";
3639
+ schemaIri: string;
3640
+ confidence?: number | null;
3641
+ assignedAt?: Date | string | null;
3642
+ } | null;
3244
3643
  };
3245
3644
  export type GQLMemoryMutationResultFragment = {
3246
3645
  __typename?: "UpdateMemoryResponse";
@@ -3267,9 +3666,214 @@ export type GQLMemoryMutationResultFragment = {
3267
3666
  teams: Array<string>;
3268
3667
  importance: number;
3269
3668
  memorySubclass?: string | null;
3270
- customProperties?: Record<string, unknown> | null;
3669
+ customPropertyValues: Array<{
3670
+ __typename?: "MemoryPropertyValues";
3671
+ path: string;
3672
+ values: Array<string>;
3673
+ }>;
3674
+ schemaAssignment?: {
3675
+ __typename?: "MemorySchemaAssignment";
3676
+ schemaIri: string;
3677
+ confidence?: number | null;
3678
+ assignedAt?: Date | string | null;
3679
+ } | null;
3680
+ } | null;
3681
+ propertyErrors?: Array<{
3682
+ __typename?: "MemoryPropertyProblem";
3683
+ path: string;
3684
+ label?: string | null;
3685
+ message: string;
3686
+ }> | null;
3687
+ };
3688
+ export type GQLMemorySchemaFieldsFragment = {
3689
+ __typename?: "MemorySchema";
3690
+ iri: string;
3691
+ label: string;
3692
+ description?: string | null;
3693
+ status: GQLMemorySchemaStatus;
3694
+ revision: number;
3695
+ defaultMemoryKind?: GQLMemoryKind | null;
3696
+ defaultVolatility?: GQLMemoryVolatility | null;
3697
+ defaultImportance?: number | null;
3698
+ defaultScope?: GQLMemoryScope | null;
3699
+ extractionEnabled: boolean;
3700
+ extractionGuidance?: string | null;
3701
+ templateStatus: GQLMemorySchemaTemplateStatus;
3702
+ customized: boolean;
3703
+ memoryCount?: number | null;
3704
+ createdAt?: Date | string | null;
3705
+ createdBy: GQLMemorySchemaCreator;
3706
+ updatedAt?: Date | string | null;
3707
+ properties: Array<{
3708
+ __typename?: "MemorySchemaProperty";
3709
+ path: string;
3710
+ label: string;
3711
+ description?: string | null;
3712
+ order: number;
3713
+ valueType: GQLMemorySchemaValueType;
3714
+ dataType: string;
3715
+ entityClass?: string | null;
3716
+ required: boolean;
3717
+ multiValued: boolean;
3718
+ allowedValues: Array<string>;
3719
+ keyProperty: boolean;
3720
+ computed: boolean;
3721
+ minValue?: string | null;
3722
+ maxValue?: string | null;
3723
+ maxLength?: number | null;
3724
+ pattern?: string | null;
3725
+ defaultValue?: string | null;
3726
+ unit?: string | null;
3727
+ options: Array<{
3728
+ __typename?: "MemorySchemaOption";
3729
+ value: string;
3730
+ label?: string | null;
3731
+ description?: string | null;
3732
+ }>;
3733
+ }>;
3734
+ };
3735
+ export type GQLMemorySchemaMutationResultFragment = {
3736
+ __typename?: "MemorySchemaMutationResponse";
3737
+ status: GQLMemorySchemaMutationStatus;
3738
+ error?: string | null;
3739
+ validationErrors: Array<{
3740
+ __typename?: "MemorySchemaValidationError";
3741
+ field: string;
3742
+ message: string;
3743
+ }>;
3744
+ schema?: {
3745
+ __typename?: "MemorySchema";
3746
+ iri: string;
3747
+ label: string;
3748
+ description?: string | null;
3749
+ status: GQLMemorySchemaStatus;
3750
+ revision: number;
3751
+ defaultMemoryKind?: GQLMemoryKind | null;
3752
+ defaultVolatility?: GQLMemoryVolatility | null;
3753
+ defaultImportance?: number | null;
3754
+ defaultScope?: GQLMemoryScope | null;
3755
+ extractionEnabled: boolean;
3756
+ extractionGuidance?: string | null;
3757
+ templateStatus: GQLMemorySchemaTemplateStatus;
3758
+ customized: boolean;
3759
+ memoryCount?: number | null;
3760
+ createdAt?: Date | string | null;
3761
+ createdBy: GQLMemorySchemaCreator;
3762
+ updatedAt?: Date | string | null;
3763
+ properties: Array<{
3764
+ __typename?: "MemorySchemaProperty";
3765
+ path: string;
3766
+ label: string;
3767
+ description?: string | null;
3768
+ order: number;
3769
+ valueType: GQLMemorySchemaValueType;
3770
+ dataType: string;
3771
+ entityClass?: string | null;
3772
+ required: boolean;
3773
+ multiValued: boolean;
3774
+ allowedValues: Array<string>;
3775
+ keyProperty: boolean;
3776
+ computed: boolean;
3777
+ minValue?: string | null;
3778
+ maxValue?: string | null;
3779
+ maxLength?: number | null;
3780
+ pattern?: string | null;
3781
+ defaultValue?: string | null;
3782
+ unit?: string | null;
3783
+ options: Array<{
3784
+ __typename?: "MemorySchemaOption";
3785
+ value: string;
3786
+ label?: string | null;
3787
+ description?: string | null;
3788
+ }>;
3789
+ }>;
3790
+ } | null;
3791
+ impact?: {
3792
+ __typename?: "MemorySchemaImpact";
3793
+ memoryCount: number;
3794
+ blockers: Array<string>;
3795
+ removedProperties: Array<{
3796
+ __typename?: "MemorySchemaPropertyImpact";
3797
+ path: string;
3798
+ label: string;
3799
+ memoryCount: number;
3800
+ }>;
3801
+ typeChanges: Array<{
3802
+ __typename?: "MemorySchemaTypeChangeImpact";
3803
+ path: string;
3804
+ label: string;
3805
+ from: GQLMemorySchemaValueType;
3806
+ to: GQLMemorySchemaValueType;
3807
+ valueCount: number;
3808
+ unconvertibleCount: number;
3809
+ unconvertibleSamples: Array<string>;
3810
+ }>;
3811
+ removedOptions: Array<{
3812
+ __typename?: "MemorySchemaOptionImpact";
3813
+ path: string;
3814
+ label: string;
3815
+ value: string;
3816
+ memoryCount: number;
3817
+ remappedTo?: string | null;
3818
+ }>;
3819
+ limitViolations: Array<{
3820
+ __typename?: "MemorySchemaLimitImpact";
3821
+ path: string;
3822
+ label: string;
3823
+ valueCount: number;
3824
+ invalidCount: number;
3825
+ invalidSamples: Array<string>;
3826
+ }>;
3827
+ multiValueConflicts: Array<{
3828
+ __typename?: "MemorySchemaPropertyImpact";
3829
+ path: string;
3830
+ label: string;
3831
+ memoryCount: number;
3832
+ }>;
3833
+ clearedValues: Array<{
3834
+ __typename?: "MemorySchemaPropertyImpact";
3835
+ path: string;
3836
+ label: string;
3837
+ memoryCount: number;
3838
+ }>;
3839
+ ruleReferences: Array<{
3840
+ __typename?: "MemorySchemaRuleReference";
3841
+ ruleIri: string;
3842
+ label?: string | null;
3843
+ kind: GQLMemorySchemaRuleReferenceKind;
3844
+ term: string;
3845
+ value?: string | null;
3846
+ position: GQLMemorySchemaRulePosition;
3847
+ }>;
3271
3848
  } | null;
3272
3849
  };
3850
+ export type GQLMemorySchemaPropertyFieldsFragment = {
3851
+ __typename?: "MemorySchemaProperty";
3852
+ path: string;
3853
+ label: string;
3854
+ description?: string | null;
3855
+ order: number;
3856
+ valueType: GQLMemorySchemaValueType;
3857
+ dataType: string;
3858
+ entityClass?: string | null;
3859
+ required: boolean;
3860
+ multiValued: boolean;
3861
+ allowedValues: Array<string>;
3862
+ keyProperty: boolean;
3863
+ computed: boolean;
3864
+ minValue?: string | null;
3865
+ maxValue?: string | null;
3866
+ maxLength?: number | null;
3867
+ pattern?: string | null;
3868
+ defaultValue?: string | null;
3869
+ unit?: string | null;
3870
+ options: Array<{
3871
+ __typename?: "MemorySchemaOption";
3872
+ value: string;
3873
+ label?: string | null;
3874
+ description?: string | null;
3875
+ }>;
3876
+ };
3273
3877
  export type GQLAbortUploadMutationVariables = Exact<{
3274
3878
  input: GQLAbortUploadInput;
3275
3879
  }>;
@@ -3291,6 +3895,248 @@ export type GQLAcceptInvitationMutation = {
3291
3895
  joined: boolean;
3292
3896
  };
3293
3897
  };
3898
+ export type GQLAddMemorySchemaFromTemplateMutationVariables = Exact<{
3899
+ templateIri: Scalars["IRI"]["input"];
3900
+ }>;
3901
+ export type GQLAddMemorySchemaFromTemplateMutation = {
3902
+ __typename?: "Mutation";
3903
+ addMemorySchemaFromTemplate: {
3904
+ __typename?: "MemorySchemaMutationResponse";
3905
+ status: GQLMemorySchemaMutationStatus;
3906
+ error?: string | null;
3907
+ validationErrors: Array<{
3908
+ __typename?: "MemorySchemaValidationError";
3909
+ field: string;
3910
+ message: string;
3911
+ }>;
3912
+ schema?: {
3913
+ __typename?: "MemorySchema";
3914
+ iri: string;
3915
+ label: string;
3916
+ description?: string | null;
3917
+ status: GQLMemorySchemaStatus;
3918
+ revision: number;
3919
+ defaultMemoryKind?: GQLMemoryKind | null;
3920
+ defaultVolatility?: GQLMemoryVolatility | null;
3921
+ defaultImportance?: number | null;
3922
+ defaultScope?: GQLMemoryScope | null;
3923
+ extractionEnabled: boolean;
3924
+ extractionGuidance?: string | null;
3925
+ templateStatus: GQLMemorySchemaTemplateStatus;
3926
+ customized: boolean;
3927
+ memoryCount?: number | null;
3928
+ createdAt?: Date | string | null;
3929
+ createdBy: GQLMemorySchemaCreator;
3930
+ updatedAt?: Date | string | null;
3931
+ properties: Array<{
3932
+ __typename?: "MemorySchemaProperty";
3933
+ path: string;
3934
+ label: string;
3935
+ description?: string | null;
3936
+ order: number;
3937
+ valueType: GQLMemorySchemaValueType;
3938
+ dataType: string;
3939
+ entityClass?: string | null;
3940
+ required: boolean;
3941
+ multiValued: boolean;
3942
+ allowedValues: Array<string>;
3943
+ keyProperty: boolean;
3944
+ computed: boolean;
3945
+ minValue?: string | null;
3946
+ maxValue?: string | null;
3947
+ maxLength?: number | null;
3948
+ pattern?: string | null;
3949
+ defaultValue?: string | null;
3950
+ unit?: string | null;
3951
+ options: Array<{
3952
+ __typename?: "MemorySchemaOption";
3953
+ value: string;
3954
+ label?: string | null;
3955
+ description?: string | null;
3956
+ }>;
3957
+ }>;
3958
+ } | null;
3959
+ impact?: {
3960
+ __typename?: "MemorySchemaImpact";
3961
+ memoryCount: number;
3962
+ blockers: Array<string>;
3963
+ removedProperties: Array<{
3964
+ __typename?: "MemorySchemaPropertyImpact";
3965
+ path: string;
3966
+ label: string;
3967
+ memoryCount: number;
3968
+ }>;
3969
+ typeChanges: Array<{
3970
+ __typename?: "MemorySchemaTypeChangeImpact";
3971
+ path: string;
3972
+ label: string;
3973
+ from: GQLMemorySchemaValueType;
3974
+ to: GQLMemorySchemaValueType;
3975
+ valueCount: number;
3976
+ unconvertibleCount: number;
3977
+ unconvertibleSamples: Array<string>;
3978
+ }>;
3979
+ removedOptions: Array<{
3980
+ __typename?: "MemorySchemaOptionImpact";
3981
+ path: string;
3982
+ label: string;
3983
+ value: string;
3984
+ memoryCount: number;
3985
+ remappedTo?: string | null;
3986
+ }>;
3987
+ limitViolations: Array<{
3988
+ __typename?: "MemorySchemaLimitImpact";
3989
+ path: string;
3990
+ label: string;
3991
+ valueCount: number;
3992
+ invalidCount: number;
3993
+ invalidSamples: Array<string>;
3994
+ }>;
3995
+ multiValueConflicts: Array<{
3996
+ __typename?: "MemorySchemaPropertyImpact";
3997
+ path: string;
3998
+ label: string;
3999
+ memoryCount: number;
4000
+ }>;
4001
+ clearedValues: Array<{
4002
+ __typename?: "MemorySchemaPropertyImpact";
4003
+ path: string;
4004
+ label: string;
4005
+ memoryCount: number;
4006
+ }>;
4007
+ ruleReferences: Array<{
4008
+ __typename?: "MemorySchemaRuleReference";
4009
+ ruleIri: string;
4010
+ label?: string | null;
4011
+ kind: GQLMemorySchemaRuleReferenceKind;
4012
+ term: string;
4013
+ value?: string | null;
4014
+ position: GQLMemorySchemaRulePosition;
4015
+ }>;
4016
+ } | null;
4017
+ };
4018
+ };
4019
+ export type GQLArchiveMemorySchemaMutationVariables = Exact<{
4020
+ input: GQLMemorySchemaRevisionInput;
4021
+ }>;
4022
+ export type GQLArchiveMemorySchemaMutation = {
4023
+ __typename?: "Mutation";
4024
+ archiveMemorySchema: {
4025
+ __typename?: "MemorySchemaMutationResponse";
4026
+ status: GQLMemorySchemaMutationStatus;
4027
+ error?: string | null;
4028
+ validationErrors: Array<{
4029
+ __typename?: "MemorySchemaValidationError";
4030
+ field: string;
4031
+ message: string;
4032
+ }>;
4033
+ schema?: {
4034
+ __typename?: "MemorySchema";
4035
+ iri: string;
4036
+ label: string;
4037
+ description?: string | null;
4038
+ status: GQLMemorySchemaStatus;
4039
+ revision: number;
4040
+ defaultMemoryKind?: GQLMemoryKind | null;
4041
+ defaultVolatility?: GQLMemoryVolatility | null;
4042
+ defaultImportance?: number | null;
4043
+ defaultScope?: GQLMemoryScope | null;
4044
+ extractionEnabled: boolean;
4045
+ extractionGuidance?: string | null;
4046
+ templateStatus: GQLMemorySchemaTemplateStatus;
4047
+ customized: boolean;
4048
+ memoryCount?: number | null;
4049
+ createdAt?: Date | string | null;
4050
+ createdBy: GQLMemorySchemaCreator;
4051
+ updatedAt?: Date | string | null;
4052
+ properties: Array<{
4053
+ __typename?: "MemorySchemaProperty";
4054
+ path: string;
4055
+ label: string;
4056
+ description?: string | null;
4057
+ order: number;
4058
+ valueType: GQLMemorySchemaValueType;
4059
+ dataType: string;
4060
+ entityClass?: string | null;
4061
+ required: boolean;
4062
+ multiValued: boolean;
4063
+ allowedValues: Array<string>;
4064
+ keyProperty: boolean;
4065
+ computed: boolean;
4066
+ minValue?: string | null;
4067
+ maxValue?: string | null;
4068
+ maxLength?: number | null;
4069
+ pattern?: string | null;
4070
+ defaultValue?: string | null;
4071
+ unit?: string | null;
4072
+ options: Array<{
4073
+ __typename?: "MemorySchemaOption";
4074
+ value: string;
4075
+ label?: string | null;
4076
+ description?: string | null;
4077
+ }>;
4078
+ }>;
4079
+ } | null;
4080
+ impact?: {
4081
+ __typename?: "MemorySchemaImpact";
4082
+ memoryCount: number;
4083
+ blockers: Array<string>;
4084
+ removedProperties: Array<{
4085
+ __typename?: "MemorySchemaPropertyImpact";
4086
+ path: string;
4087
+ label: string;
4088
+ memoryCount: number;
4089
+ }>;
4090
+ typeChanges: Array<{
4091
+ __typename?: "MemorySchemaTypeChangeImpact";
4092
+ path: string;
4093
+ label: string;
4094
+ from: GQLMemorySchemaValueType;
4095
+ to: GQLMemorySchemaValueType;
4096
+ valueCount: number;
4097
+ unconvertibleCount: number;
4098
+ unconvertibleSamples: Array<string>;
4099
+ }>;
4100
+ removedOptions: Array<{
4101
+ __typename?: "MemorySchemaOptionImpact";
4102
+ path: string;
4103
+ label: string;
4104
+ value: string;
4105
+ memoryCount: number;
4106
+ remappedTo?: string | null;
4107
+ }>;
4108
+ limitViolations: Array<{
4109
+ __typename?: "MemorySchemaLimitImpact";
4110
+ path: string;
4111
+ label: string;
4112
+ valueCount: number;
4113
+ invalidCount: number;
4114
+ invalidSamples: Array<string>;
4115
+ }>;
4116
+ multiValueConflicts: Array<{
4117
+ __typename?: "MemorySchemaPropertyImpact";
4118
+ path: string;
4119
+ label: string;
4120
+ memoryCount: number;
4121
+ }>;
4122
+ clearedValues: Array<{
4123
+ __typename?: "MemorySchemaPropertyImpact";
4124
+ path: string;
4125
+ label: string;
4126
+ memoryCount: number;
4127
+ }>;
4128
+ ruleReferences: Array<{
4129
+ __typename?: "MemorySchemaRuleReference";
4130
+ ruleIri: string;
4131
+ label?: string | null;
4132
+ kind: GQLMemorySchemaRuleReferenceKind;
4133
+ term: string;
4134
+ value?: string | null;
4135
+ position: GQLMemorySchemaRulePosition;
4136
+ }>;
4137
+ } | null;
4138
+ };
4139
+ };
3294
4140
  export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
3295
4141
  subscriptionId: Scalars["String"]["input"];
3296
4142
  datastoreId: Scalars["String"]["input"];
@@ -3338,6 +4184,127 @@ export type GQLCancelActionPlanMutation = {
3338
4184
  error?: string | null;
3339
4185
  };
3340
4186
  };
4187
+ export type GQLClearMemorySchemaPropertyValuesMutationVariables = Exact<{
4188
+ input: GQLClearMemorySchemaPropertyValuesInput;
4189
+ }>;
4190
+ export type GQLClearMemorySchemaPropertyValuesMutation = {
4191
+ __typename?: "Mutation";
4192
+ clearMemorySchemaPropertyValues: {
4193
+ __typename?: "MemorySchemaMutationResponse";
4194
+ status: GQLMemorySchemaMutationStatus;
4195
+ error?: string | null;
4196
+ validationErrors: Array<{
4197
+ __typename?: "MemorySchemaValidationError";
4198
+ field: string;
4199
+ message: string;
4200
+ }>;
4201
+ schema?: {
4202
+ __typename?: "MemorySchema";
4203
+ iri: string;
4204
+ label: string;
4205
+ description?: string | null;
4206
+ status: GQLMemorySchemaStatus;
4207
+ revision: number;
4208
+ defaultMemoryKind?: GQLMemoryKind | null;
4209
+ defaultVolatility?: GQLMemoryVolatility | null;
4210
+ defaultImportance?: number | null;
4211
+ defaultScope?: GQLMemoryScope | null;
4212
+ extractionEnabled: boolean;
4213
+ extractionGuidance?: string | null;
4214
+ templateStatus: GQLMemorySchemaTemplateStatus;
4215
+ customized: boolean;
4216
+ memoryCount?: number | null;
4217
+ createdAt?: Date | string | null;
4218
+ createdBy: GQLMemorySchemaCreator;
4219
+ updatedAt?: Date | string | null;
4220
+ properties: Array<{
4221
+ __typename?: "MemorySchemaProperty";
4222
+ path: string;
4223
+ label: string;
4224
+ description?: string | null;
4225
+ order: number;
4226
+ valueType: GQLMemorySchemaValueType;
4227
+ dataType: string;
4228
+ entityClass?: string | null;
4229
+ required: boolean;
4230
+ multiValued: boolean;
4231
+ allowedValues: Array<string>;
4232
+ keyProperty: boolean;
4233
+ computed: boolean;
4234
+ minValue?: string | null;
4235
+ maxValue?: string | null;
4236
+ maxLength?: number | null;
4237
+ pattern?: string | null;
4238
+ defaultValue?: string | null;
4239
+ unit?: string | null;
4240
+ options: Array<{
4241
+ __typename?: "MemorySchemaOption";
4242
+ value: string;
4243
+ label?: string | null;
4244
+ description?: string | null;
4245
+ }>;
4246
+ }>;
4247
+ } | null;
4248
+ impact?: {
4249
+ __typename?: "MemorySchemaImpact";
4250
+ memoryCount: number;
4251
+ blockers: Array<string>;
4252
+ removedProperties: Array<{
4253
+ __typename?: "MemorySchemaPropertyImpact";
4254
+ path: string;
4255
+ label: string;
4256
+ memoryCount: number;
4257
+ }>;
4258
+ typeChanges: Array<{
4259
+ __typename?: "MemorySchemaTypeChangeImpact";
4260
+ path: string;
4261
+ label: string;
4262
+ from: GQLMemorySchemaValueType;
4263
+ to: GQLMemorySchemaValueType;
4264
+ valueCount: number;
4265
+ unconvertibleCount: number;
4266
+ unconvertibleSamples: Array<string>;
4267
+ }>;
4268
+ removedOptions: Array<{
4269
+ __typename?: "MemorySchemaOptionImpact";
4270
+ path: string;
4271
+ label: string;
4272
+ value: string;
4273
+ memoryCount: number;
4274
+ remappedTo?: string | null;
4275
+ }>;
4276
+ limitViolations: Array<{
4277
+ __typename?: "MemorySchemaLimitImpact";
4278
+ path: string;
4279
+ label: string;
4280
+ valueCount: number;
4281
+ invalidCount: number;
4282
+ invalidSamples: Array<string>;
4283
+ }>;
4284
+ multiValueConflicts: Array<{
4285
+ __typename?: "MemorySchemaPropertyImpact";
4286
+ path: string;
4287
+ label: string;
4288
+ memoryCount: number;
4289
+ }>;
4290
+ clearedValues: Array<{
4291
+ __typename?: "MemorySchemaPropertyImpact";
4292
+ path: string;
4293
+ label: string;
4294
+ memoryCount: number;
4295
+ }>;
4296
+ ruleReferences: Array<{
4297
+ __typename?: "MemorySchemaRuleReference";
4298
+ ruleIri: string;
4299
+ label?: string | null;
4300
+ kind: GQLMemorySchemaRuleReferenceKind;
4301
+ term: string;
4302
+ value?: string | null;
4303
+ position: GQLMemorySchemaRulePosition;
4304
+ }>;
4305
+ } | null;
4306
+ };
4307
+ };
3341
4308
  export type GQLClearStagedRulesMutationVariables = Exact<{
3342
4309
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
3343
4310
  }>;
@@ -3363,6 +4330,7 @@ export type GQLCommitStagedRulesMutation = {
3363
4330
  rulesUpdated: number;
3364
4331
  rulesDeleted: number;
3365
4332
  error?: string | null;
4333
+ requestId?: string | null;
3366
4334
  };
3367
4335
  };
3368
4336
  export type GQLCompleteStripeCheckoutMutationVariables = Exact<{
@@ -3419,8 +4387,24 @@ export type GQLConsolidateMemoriesMutation = {
3419
4387
  teams: Array<string>;
3420
4388
  importance: number;
3421
4389
  memorySubclass?: string | null;
3422
- customProperties?: Record<string, unknown> | null;
4390
+ customPropertyValues: Array<{
4391
+ __typename?: "MemoryPropertyValues";
4392
+ path: string;
4393
+ values: Array<string>;
4394
+ }>;
4395
+ schemaAssignment?: {
4396
+ __typename?: "MemorySchemaAssignment";
4397
+ schemaIri: string;
4398
+ confidence?: number | null;
4399
+ assignedAt?: Date | string | null;
4400
+ } | null;
3423
4401
  } | null;
4402
+ propertyErrors?: Array<{
4403
+ __typename?: "MemoryPropertyProblem";
4404
+ path: string;
4405
+ label?: string | null;
4406
+ message: string;
4407
+ }> | null;
3424
4408
  };
3425
4409
  };
3426
4410
  export type GQLContinueDatastoreDeletionMutationVariables = Exact<{
@@ -3504,6 +4488,127 @@ export type GQLCreateInferalIntegrationMutation = {
3504
4488
  error?: string | null;
3505
4489
  };
3506
4490
  };
4491
+ export type GQLCreateMemorySchemaMutationVariables = Exact<{
4492
+ input: GQLCreateMemorySchemaInput;
4493
+ }>;
4494
+ export type GQLCreateMemorySchemaMutation = {
4495
+ __typename?: "Mutation";
4496
+ createMemorySchema: {
4497
+ __typename?: "MemorySchemaMutationResponse";
4498
+ status: GQLMemorySchemaMutationStatus;
4499
+ error?: string | null;
4500
+ validationErrors: Array<{
4501
+ __typename?: "MemorySchemaValidationError";
4502
+ field: string;
4503
+ message: string;
4504
+ }>;
4505
+ schema?: {
4506
+ __typename?: "MemorySchema";
4507
+ iri: string;
4508
+ label: string;
4509
+ description?: string | null;
4510
+ status: GQLMemorySchemaStatus;
4511
+ revision: number;
4512
+ defaultMemoryKind?: GQLMemoryKind | null;
4513
+ defaultVolatility?: GQLMemoryVolatility | null;
4514
+ defaultImportance?: number | null;
4515
+ defaultScope?: GQLMemoryScope | null;
4516
+ extractionEnabled: boolean;
4517
+ extractionGuidance?: string | null;
4518
+ templateStatus: GQLMemorySchemaTemplateStatus;
4519
+ customized: boolean;
4520
+ memoryCount?: number | null;
4521
+ createdAt?: Date | string | null;
4522
+ createdBy: GQLMemorySchemaCreator;
4523
+ updatedAt?: Date | string | null;
4524
+ properties: Array<{
4525
+ __typename?: "MemorySchemaProperty";
4526
+ path: string;
4527
+ label: string;
4528
+ description?: string | null;
4529
+ order: number;
4530
+ valueType: GQLMemorySchemaValueType;
4531
+ dataType: string;
4532
+ entityClass?: string | null;
4533
+ required: boolean;
4534
+ multiValued: boolean;
4535
+ allowedValues: Array<string>;
4536
+ keyProperty: boolean;
4537
+ computed: boolean;
4538
+ minValue?: string | null;
4539
+ maxValue?: string | null;
4540
+ maxLength?: number | null;
4541
+ pattern?: string | null;
4542
+ defaultValue?: string | null;
4543
+ unit?: string | null;
4544
+ options: Array<{
4545
+ __typename?: "MemorySchemaOption";
4546
+ value: string;
4547
+ label?: string | null;
4548
+ description?: string | null;
4549
+ }>;
4550
+ }>;
4551
+ } | null;
4552
+ impact?: {
4553
+ __typename?: "MemorySchemaImpact";
4554
+ memoryCount: number;
4555
+ blockers: Array<string>;
4556
+ removedProperties: Array<{
4557
+ __typename?: "MemorySchemaPropertyImpact";
4558
+ path: string;
4559
+ label: string;
4560
+ memoryCount: number;
4561
+ }>;
4562
+ typeChanges: Array<{
4563
+ __typename?: "MemorySchemaTypeChangeImpact";
4564
+ path: string;
4565
+ label: string;
4566
+ from: GQLMemorySchemaValueType;
4567
+ to: GQLMemorySchemaValueType;
4568
+ valueCount: number;
4569
+ unconvertibleCount: number;
4570
+ unconvertibleSamples: Array<string>;
4571
+ }>;
4572
+ removedOptions: Array<{
4573
+ __typename?: "MemorySchemaOptionImpact";
4574
+ path: string;
4575
+ label: string;
4576
+ value: string;
4577
+ memoryCount: number;
4578
+ remappedTo?: string | null;
4579
+ }>;
4580
+ limitViolations: Array<{
4581
+ __typename?: "MemorySchemaLimitImpact";
4582
+ path: string;
4583
+ label: string;
4584
+ valueCount: number;
4585
+ invalidCount: number;
4586
+ invalidSamples: Array<string>;
4587
+ }>;
4588
+ multiValueConflicts: Array<{
4589
+ __typename?: "MemorySchemaPropertyImpact";
4590
+ path: string;
4591
+ label: string;
4592
+ memoryCount: number;
4593
+ }>;
4594
+ clearedValues: Array<{
4595
+ __typename?: "MemorySchemaPropertyImpact";
4596
+ path: string;
4597
+ label: string;
4598
+ memoryCount: number;
4599
+ }>;
4600
+ ruleReferences: Array<{
4601
+ __typename?: "MemorySchemaRuleReference";
4602
+ ruleIri: string;
4603
+ label?: string | null;
4604
+ kind: GQLMemorySchemaRuleReferenceKind;
4605
+ term: string;
4606
+ value?: string | null;
4607
+ position: GQLMemorySchemaRulePosition;
4608
+ }>;
4609
+ } | null;
4610
+ };
4611
+ };
3507
4612
  export type GQLCreateMemoryMutationVariables = Exact<{
3508
4613
  input: GQLCreateMemoryInput;
3509
4614
  }>;
@@ -3535,8 +4640,24 @@ export type GQLCreateMemoryMutation = {
3535
4640
  teams: Array<string>;
3536
4641
  importance: number;
3537
4642
  memorySubclass?: string | null;
3538
- customProperties?: Record<string, unknown> | null;
4643
+ customPropertyValues: Array<{
4644
+ __typename?: "MemoryPropertyValues";
4645
+ path: string;
4646
+ values: Array<string>;
4647
+ }>;
4648
+ schemaAssignment?: {
4649
+ __typename?: "MemorySchemaAssignment";
4650
+ schemaIri: string;
4651
+ confidence?: number | null;
4652
+ assignedAt?: Date | string | null;
4653
+ } | null;
3539
4654
  } | null;
4655
+ propertyErrors?: Array<{
4656
+ __typename?: "MemoryPropertyProblem";
4657
+ path: string;
4658
+ label?: string | null;
4659
+ message: string;
4660
+ }> | null;
3540
4661
  };
3541
4662
  };
3542
4663
  export type GQLCreateStripeBillingPortalSessionMutationVariables = Exact<{
@@ -3662,6 +4783,127 @@ export type GQLDeleteLdesStreamMutation = {
3662
4783
  } | null;
3663
4784
  };
3664
4785
  };
4786
+ export type GQLDeleteMemorySchemaMutationVariables = Exact<{
4787
+ input: GQLMemorySchemaRevisionInput;
4788
+ }>;
4789
+ export type GQLDeleteMemorySchemaMutation = {
4790
+ __typename?: "Mutation";
4791
+ deleteMemorySchema: {
4792
+ __typename?: "MemorySchemaMutationResponse";
4793
+ status: GQLMemorySchemaMutationStatus;
4794
+ error?: string | null;
4795
+ validationErrors: Array<{
4796
+ __typename?: "MemorySchemaValidationError";
4797
+ field: string;
4798
+ message: string;
4799
+ }>;
4800
+ schema?: {
4801
+ __typename?: "MemorySchema";
4802
+ iri: string;
4803
+ label: string;
4804
+ description?: string | null;
4805
+ status: GQLMemorySchemaStatus;
4806
+ revision: number;
4807
+ defaultMemoryKind?: GQLMemoryKind | null;
4808
+ defaultVolatility?: GQLMemoryVolatility | null;
4809
+ defaultImportance?: number | null;
4810
+ defaultScope?: GQLMemoryScope | null;
4811
+ extractionEnabled: boolean;
4812
+ extractionGuidance?: string | null;
4813
+ templateStatus: GQLMemorySchemaTemplateStatus;
4814
+ customized: boolean;
4815
+ memoryCount?: number | null;
4816
+ createdAt?: Date | string | null;
4817
+ createdBy: GQLMemorySchemaCreator;
4818
+ updatedAt?: Date | string | null;
4819
+ properties: Array<{
4820
+ __typename?: "MemorySchemaProperty";
4821
+ path: string;
4822
+ label: string;
4823
+ description?: string | null;
4824
+ order: number;
4825
+ valueType: GQLMemorySchemaValueType;
4826
+ dataType: string;
4827
+ entityClass?: string | null;
4828
+ required: boolean;
4829
+ multiValued: boolean;
4830
+ allowedValues: Array<string>;
4831
+ keyProperty: boolean;
4832
+ computed: boolean;
4833
+ minValue?: string | null;
4834
+ maxValue?: string | null;
4835
+ maxLength?: number | null;
4836
+ pattern?: string | null;
4837
+ defaultValue?: string | null;
4838
+ unit?: string | null;
4839
+ options: Array<{
4840
+ __typename?: "MemorySchemaOption";
4841
+ value: string;
4842
+ label?: string | null;
4843
+ description?: string | null;
4844
+ }>;
4845
+ }>;
4846
+ } | null;
4847
+ impact?: {
4848
+ __typename?: "MemorySchemaImpact";
4849
+ memoryCount: number;
4850
+ blockers: Array<string>;
4851
+ removedProperties: Array<{
4852
+ __typename?: "MemorySchemaPropertyImpact";
4853
+ path: string;
4854
+ label: string;
4855
+ memoryCount: number;
4856
+ }>;
4857
+ typeChanges: Array<{
4858
+ __typename?: "MemorySchemaTypeChangeImpact";
4859
+ path: string;
4860
+ label: string;
4861
+ from: GQLMemorySchemaValueType;
4862
+ to: GQLMemorySchemaValueType;
4863
+ valueCount: number;
4864
+ unconvertibleCount: number;
4865
+ unconvertibleSamples: Array<string>;
4866
+ }>;
4867
+ removedOptions: Array<{
4868
+ __typename?: "MemorySchemaOptionImpact";
4869
+ path: string;
4870
+ label: string;
4871
+ value: string;
4872
+ memoryCount: number;
4873
+ remappedTo?: string | null;
4874
+ }>;
4875
+ limitViolations: Array<{
4876
+ __typename?: "MemorySchemaLimitImpact";
4877
+ path: string;
4878
+ label: string;
4879
+ valueCount: number;
4880
+ invalidCount: number;
4881
+ invalidSamples: Array<string>;
4882
+ }>;
4883
+ multiValueConflicts: Array<{
4884
+ __typename?: "MemorySchemaPropertyImpact";
4885
+ path: string;
4886
+ label: string;
4887
+ memoryCount: number;
4888
+ }>;
4889
+ clearedValues: Array<{
4890
+ __typename?: "MemorySchemaPropertyImpact";
4891
+ path: string;
4892
+ label: string;
4893
+ memoryCount: number;
4894
+ }>;
4895
+ ruleReferences: Array<{
4896
+ __typename?: "MemorySchemaRuleReference";
4897
+ ruleIri: string;
4898
+ label?: string | null;
4899
+ kind: GQLMemorySchemaRuleReferenceKind;
4900
+ term: string;
4901
+ value?: string | null;
4902
+ position: GQLMemorySchemaRulePosition;
4903
+ }>;
4904
+ } | null;
4905
+ };
4906
+ };
3665
4907
  export type GQLDeleteMemoryMutationVariables = Exact<{
3666
4908
  memoryIri: Scalars["IRI"]["input"];
3667
4909
  }>;
@@ -3721,6 +4963,127 @@ export type GQLDisconnectInferalIntegrationMutation = {
3721
4963
  success: boolean;
3722
4964
  };
3723
4965
  };
4966
+ export type GQLDismissMemorySchemaTemplateUpdateMutationVariables = Exact<{
4967
+ input: GQLMemorySchemaRevisionInput;
4968
+ }>;
4969
+ export type GQLDismissMemorySchemaTemplateUpdateMutation = {
4970
+ __typename?: "Mutation";
4971
+ dismissMemorySchemaTemplateUpdate: {
4972
+ __typename?: "MemorySchemaMutationResponse";
4973
+ status: GQLMemorySchemaMutationStatus;
4974
+ error?: string | null;
4975
+ validationErrors: Array<{
4976
+ __typename?: "MemorySchemaValidationError";
4977
+ field: string;
4978
+ message: string;
4979
+ }>;
4980
+ schema?: {
4981
+ __typename?: "MemorySchema";
4982
+ iri: string;
4983
+ label: string;
4984
+ description?: string | null;
4985
+ status: GQLMemorySchemaStatus;
4986
+ revision: number;
4987
+ defaultMemoryKind?: GQLMemoryKind | null;
4988
+ defaultVolatility?: GQLMemoryVolatility | null;
4989
+ defaultImportance?: number | null;
4990
+ defaultScope?: GQLMemoryScope | null;
4991
+ extractionEnabled: boolean;
4992
+ extractionGuidance?: string | null;
4993
+ templateStatus: GQLMemorySchemaTemplateStatus;
4994
+ customized: boolean;
4995
+ memoryCount?: number | null;
4996
+ createdAt?: Date | string | null;
4997
+ createdBy: GQLMemorySchemaCreator;
4998
+ updatedAt?: Date | string | null;
4999
+ properties: Array<{
5000
+ __typename?: "MemorySchemaProperty";
5001
+ path: string;
5002
+ label: string;
5003
+ description?: string | null;
5004
+ order: number;
5005
+ valueType: GQLMemorySchemaValueType;
5006
+ dataType: string;
5007
+ entityClass?: string | null;
5008
+ required: boolean;
5009
+ multiValued: boolean;
5010
+ allowedValues: Array<string>;
5011
+ keyProperty: boolean;
5012
+ computed: boolean;
5013
+ minValue?: string | null;
5014
+ maxValue?: string | null;
5015
+ maxLength?: number | null;
5016
+ pattern?: string | null;
5017
+ defaultValue?: string | null;
5018
+ unit?: string | null;
5019
+ options: Array<{
5020
+ __typename?: "MemorySchemaOption";
5021
+ value: string;
5022
+ label?: string | null;
5023
+ description?: string | null;
5024
+ }>;
5025
+ }>;
5026
+ } | null;
5027
+ impact?: {
5028
+ __typename?: "MemorySchemaImpact";
5029
+ memoryCount: number;
5030
+ blockers: Array<string>;
5031
+ removedProperties: Array<{
5032
+ __typename?: "MemorySchemaPropertyImpact";
5033
+ path: string;
5034
+ label: string;
5035
+ memoryCount: number;
5036
+ }>;
5037
+ typeChanges: Array<{
5038
+ __typename?: "MemorySchemaTypeChangeImpact";
5039
+ path: string;
5040
+ label: string;
5041
+ from: GQLMemorySchemaValueType;
5042
+ to: GQLMemorySchemaValueType;
5043
+ valueCount: number;
5044
+ unconvertibleCount: number;
5045
+ unconvertibleSamples: Array<string>;
5046
+ }>;
5047
+ removedOptions: Array<{
5048
+ __typename?: "MemorySchemaOptionImpact";
5049
+ path: string;
5050
+ label: string;
5051
+ value: string;
5052
+ memoryCount: number;
5053
+ remappedTo?: string | null;
5054
+ }>;
5055
+ limitViolations: Array<{
5056
+ __typename?: "MemorySchemaLimitImpact";
5057
+ path: string;
5058
+ label: string;
5059
+ valueCount: number;
5060
+ invalidCount: number;
5061
+ invalidSamples: Array<string>;
5062
+ }>;
5063
+ multiValueConflicts: Array<{
5064
+ __typename?: "MemorySchemaPropertyImpact";
5065
+ path: string;
5066
+ label: string;
5067
+ memoryCount: number;
5068
+ }>;
5069
+ clearedValues: Array<{
5070
+ __typename?: "MemorySchemaPropertyImpact";
5071
+ path: string;
5072
+ label: string;
5073
+ memoryCount: number;
5074
+ }>;
5075
+ ruleReferences: Array<{
5076
+ __typename?: "MemorySchemaRuleReference";
5077
+ ruleIri: string;
5078
+ label?: string | null;
5079
+ kind: GQLMemorySchemaRuleReferenceKind;
5080
+ term: string;
5081
+ value?: string | null;
5082
+ position: GQLMemorySchemaRulePosition;
5083
+ }>;
5084
+ } | null;
5085
+ };
5086
+ };
3724
5087
  export type GQLExecuteAgentActionAdditionMutationVariables = Exact<{
3725
5088
  input: GQLExecuteActionAdditionInput;
3726
5089
  }>;
@@ -4219,8 +5582,24 @@ export type GQLReconfirmMemoryMutation = {
4219
5582
  teams: Array<string>;
4220
5583
  importance: number;
4221
5584
  memorySubclass?: string | null;
4222
- customProperties?: Record<string, unknown> | null;
5585
+ customPropertyValues: Array<{
5586
+ __typename?: "MemoryPropertyValues";
5587
+ path: string;
5588
+ values: Array<string>;
5589
+ }>;
5590
+ schemaAssignment?: {
5591
+ __typename?: "MemorySchemaAssignment";
5592
+ schemaIri: string;
5593
+ confidence?: number | null;
5594
+ assignedAt?: Date | string | null;
5595
+ } | null;
4223
5596
  } | null;
5597
+ propertyErrors?: Array<{
5598
+ __typename?: "MemoryPropertyProblem";
5599
+ path: string;
5600
+ label?: string | null;
5601
+ message: string;
5602
+ }> | null;
4224
5603
  };
4225
5604
  };
4226
5605
  export type GQLRefreshResourcesMutationVariables = Exact<{
@@ -4324,6 +5703,127 @@ export type GQLRenameUserMutation = {
4324
5703
  name?: string | null;
4325
5704
  };
4326
5705
  };
5706
+ export type GQLResetMemorySchemaToTemplateMutationVariables = Exact<{
5707
+ input: GQLResetMemorySchemaInput;
5708
+ }>;
5709
+ export type GQLResetMemorySchemaToTemplateMutation = {
5710
+ __typename?: "Mutation";
5711
+ resetMemorySchemaToTemplate: {
5712
+ __typename?: "MemorySchemaMutationResponse";
5713
+ status: GQLMemorySchemaMutationStatus;
5714
+ error?: string | null;
5715
+ validationErrors: Array<{
5716
+ __typename?: "MemorySchemaValidationError";
5717
+ field: string;
5718
+ message: string;
5719
+ }>;
5720
+ schema?: {
5721
+ __typename?: "MemorySchema";
5722
+ iri: string;
5723
+ label: string;
5724
+ description?: string | null;
5725
+ status: GQLMemorySchemaStatus;
5726
+ revision: number;
5727
+ defaultMemoryKind?: GQLMemoryKind | null;
5728
+ defaultVolatility?: GQLMemoryVolatility | null;
5729
+ defaultImportance?: number | null;
5730
+ defaultScope?: GQLMemoryScope | null;
5731
+ extractionEnabled: boolean;
5732
+ extractionGuidance?: string | null;
5733
+ templateStatus: GQLMemorySchemaTemplateStatus;
5734
+ customized: boolean;
5735
+ memoryCount?: number | null;
5736
+ createdAt?: Date | string | null;
5737
+ createdBy: GQLMemorySchemaCreator;
5738
+ updatedAt?: Date | string | null;
5739
+ properties: Array<{
5740
+ __typename?: "MemorySchemaProperty";
5741
+ path: string;
5742
+ label: string;
5743
+ description?: string | null;
5744
+ order: number;
5745
+ valueType: GQLMemorySchemaValueType;
5746
+ dataType: string;
5747
+ entityClass?: string | null;
5748
+ required: boolean;
5749
+ multiValued: boolean;
5750
+ allowedValues: Array<string>;
5751
+ keyProperty: boolean;
5752
+ computed: boolean;
5753
+ minValue?: string | null;
5754
+ maxValue?: string | null;
5755
+ maxLength?: number | null;
5756
+ pattern?: string | null;
5757
+ defaultValue?: string | null;
5758
+ unit?: string | null;
5759
+ options: Array<{
5760
+ __typename?: "MemorySchemaOption";
5761
+ value: string;
5762
+ label?: string | null;
5763
+ description?: string | null;
5764
+ }>;
5765
+ }>;
5766
+ } | null;
5767
+ impact?: {
5768
+ __typename?: "MemorySchemaImpact";
5769
+ memoryCount: number;
5770
+ blockers: Array<string>;
5771
+ removedProperties: Array<{
5772
+ __typename?: "MemorySchemaPropertyImpact";
5773
+ path: string;
5774
+ label: string;
5775
+ memoryCount: number;
5776
+ }>;
5777
+ typeChanges: Array<{
5778
+ __typename?: "MemorySchemaTypeChangeImpact";
5779
+ path: string;
5780
+ label: string;
5781
+ from: GQLMemorySchemaValueType;
5782
+ to: GQLMemorySchemaValueType;
5783
+ valueCount: number;
5784
+ unconvertibleCount: number;
5785
+ unconvertibleSamples: Array<string>;
5786
+ }>;
5787
+ removedOptions: Array<{
5788
+ __typename?: "MemorySchemaOptionImpact";
5789
+ path: string;
5790
+ label: string;
5791
+ value: string;
5792
+ memoryCount: number;
5793
+ remappedTo?: string | null;
5794
+ }>;
5795
+ limitViolations: Array<{
5796
+ __typename?: "MemorySchemaLimitImpact";
5797
+ path: string;
5798
+ label: string;
5799
+ valueCount: number;
5800
+ invalidCount: number;
5801
+ invalidSamples: Array<string>;
5802
+ }>;
5803
+ multiValueConflicts: Array<{
5804
+ __typename?: "MemorySchemaPropertyImpact";
5805
+ path: string;
5806
+ label: string;
5807
+ memoryCount: number;
5808
+ }>;
5809
+ clearedValues: Array<{
5810
+ __typename?: "MemorySchemaPropertyImpact";
5811
+ path: string;
5812
+ label: string;
5813
+ memoryCount: number;
5814
+ }>;
5815
+ ruleReferences: Array<{
5816
+ __typename?: "MemorySchemaRuleReference";
5817
+ ruleIri: string;
5818
+ label?: string | null;
5819
+ kind: GQLMemorySchemaRuleReferenceKind;
5820
+ term: string;
5821
+ value?: string | null;
5822
+ position: GQLMemorySchemaRulePosition;
5823
+ }>;
5824
+ } | null;
5825
+ };
5826
+ };
4327
5827
  export type GQLRestoreMemoryMutationVariables = Exact<{
4328
5828
  memoryIri: Scalars["IRI"]["input"];
4329
5829
  }>;
@@ -4430,6 +5930,20 @@ export type GQLRotateCustomAppSecretMutation = {
4430
5930
  };
4431
5931
  };
4432
5932
  };
5933
+ export type GQLSetActionPlanAutoPilotMutationVariables = Exact<{
5934
+ input: GQLSetActionPlanAutoPilotInput;
5935
+ }>;
5936
+ export type GQLSetActionPlanAutoPilotMutation = {
5937
+ __typename?: "Mutation";
5938
+ setActionPlanAutoPilot: {
5939
+ __typename?: "SetActionPlanAutoPilotResponse";
5940
+ success: boolean;
5941
+ error?: string | null;
5942
+ planGraphIri: string;
5943
+ autoPilotEnabled?: boolean | null;
5944
+ ruleIri?: string | null;
5945
+ };
5946
+ };
4433
5947
  export type GQLSetCustomAppEnabledMutationVariables = Exact<{
4434
5948
  org?: InputMaybe<Scalars["String"]["input"]>;
4435
5949
  clientId: Scalars["String"]["input"];
@@ -4507,6 +6021,177 @@ export type GQLSyncGmailIntegrationMutation = {
4507
6021
  messagesIngested: number;
4508
6022
  };
4509
6023
  };
6024
+ export type GQLUnarchiveMemorySchemaMutationVariables = Exact<{
6025
+ input: GQLMemorySchemaRevisionInput;
6026
+ }>;
6027
+ export type GQLUnarchiveMemorySchemaMutation = {
6028
+ __typename?: "Mutation";
6029
+ unarchiveMemorySchema: {
6030
+ __typename?: "MemorySchemaMutationResponse";
6031
+ status: GQLMemorySchemaMutationStatus;
6032
+ error?: string | null;
6033
+ validationErrors: Array<{
6034
+ __typename?: "MemorySchemaValidationError";
6035
+ field: string;
6036
+ message: string;
6037
+ }>;
6038
+ schema?: {
6039
+ __typename?: "MemorySchema";
6040
+ iri: string;
6041
+ label: string;
6042
+ description?: string | null;
6043
+ status: GQLMemorySchemaStatus;
6044
+ revision: number;
6045
+ defaultMemoryKind?: GQLMemoryKind | null;
6046
+ defaultVolatility?: GQLMemoryVolatility | null;
6047
+ defaultImportance?: number | null;
6048
+ defaultScope?: GQLMemoryScope | null;
6049
+ extractionEnabled: boolean;
6050
+ extractionGuidance?: string | null;
6051
+ templateStatus: GQLMemorySchemaTemplateStatus;
6052
+ customized: boolean;
6053
+ memoryCount?: number | null;
6054
+ createdAt?: Date | string | null;
6055
+ createdBy: GQLMemorySchemaCreator;
6056
+ updatedAt?: Date | string | null;
6057
+ properties: Array<{
6058
+ __typename?: "MemorySchemaProperty";
6059
+ path: string;
6060
+ label: string;
6061
+ description?: string | null;
6062
+ order: number;
6063
+ valueType: GQLMemorySchemaValueType;
6064
+ dataType: string;
6065
+ entityClass?: string | null;
6066
+ required: boolean;
6067
+ multiValued: boolean;
6068
+ allowedValues: Array<string>;
6069
+ keyProperty: boolean;
6070
+ computed: boolean;
6071
+ minValue?: string | null;
6072
+ maxValue?: string | null;
6073
+ maxLength?: number | null;
6074
+ pattern?: string | null;
6075
+ defaultValue?: string | null;
6076
+ unit?: string | null;
6077
+ options: Array<{
6078
+ __typename?: "MemorySchemaOption";
6079
+ value: string;
6080
+ label?: string | null;
6081
+ description?: string | null;
6082
+ }>;
6083
+ }>;
6084
+ } | null;
6085
+ impact?: {
6086
+ __typename?: "MemorySchemaImpact";
6087
+ memoryCount: number;
6088
+ blockers: Array<string>;
6089
+ removedProperties: Array<{
6090
+ __typename?: "MemorySchemaPropertyImpact";
6091
+ path: string;
6092
+ label: string;
6093
+ memoryCount: number;
6094
+ }>;
6095
+ typeChanges: Array<{
6096
+ __typename?: "MemorySchemaTypeChangeImpact";
6097
+ path: string;
6098
+ label: string;
6099
+ from: GQLMemorySchemaValueType;
6100
+ to: GQLMemorySchemaValueType;
6101
+ valueCount: number;
6102
+ unconvertibleCount: number;
6103
+ unconvertibleSamples: Array<string>;
6104
+ }>;
6105
+ removedOptions: Array<{
6106
+ __typename?: "MemorySchemaOptionImpact";
6107
+ path: string;
6108
+ label: string;
6109
+ value: string;
6110
+ memoryCount: number;
6111
+ remappedTo?: string | null;
6112
+ }>;
6113
+ limitViolations: Array<{
6114
+ __typename?: "MemorySchemaLimitImpact";
6115
+ path: string;
6116
+ label: string;
6117
+ valueCount: number;
6118
+ invalidCount: number;
6119
+ invalidSamples: Array<string>;
6120
+ }>;
6121
+ multiValueConflicts: Array<{
6122
+ __typename?: "MemorySchemaPropertyImpact";
6123
+ path: string;
6124
+ label: string;
6125
+ memoryCount: number;
6126
+ }>;
6127
+ clearedValues: Array<{
6128
+ __typename?: "MemorySchemaPropertyImpact";
6129
+ path: string;
6130
+ label: string;
6131
+ memoryCount: number;
6132
+ }>;
6133
+ ruleReferences: Array<{
6134
+ __typename?: "MemorySchemaRuleReference";
6135
+ ruleIri: string;
6136
+ label?: string | null;
6137
+ kind: GQLMemorySchemaRuleReferenceKind;
6138
+ term: string;
6139
+ value?: string | null;
6140
+ position: GQLMemorySchemaRulePosition;
6141
+ }>;
6142
+ } | null;
6143
+ };
6144
+ };
6145
+ export type GQLUndoMemorySchemaAssignmentMutationVariables = Exact<{
6146
+ memoryIri: Scalars["IRI"]["input"];
6147
+ }>;
6148
+ export type GQLUndoMemorySchemaAssignmentMutation = {
6149
+ __typename?: "Mutation";
6150
+ undoMemorySchemaAssignment: {
6151
+ __typename?: "UpdateMemoryResponse";
6152
+ error?: string | null;
6153
+ memory?: {
6154
+ __typename?: "Memory";
6155
+ iri: string;
6156
+ label: string;
6157
+ description?: string | null;
6158
+ confidence?: number | null;
6159
+ extractedAt: Date | string;
6160
+ memorySource: string;
6161
+ scope: GQLMemoryScope;
6162
+ kind: GQLMemoryKind;
6163
+ memoryValidFrom?: Date | string | null;
6164
+ memoryValidUntil?: Date | string | null;
6165
+ memoryTrustedUntil?: Date | string | null;
6166
+ memoryLastUsedAt?: Date | string | null;
6167
+ memoryUseCount: number;
6168
+ memoryCiteCount: number;
6169
+ memoryEvidence?: string | null;
6170
+ aboutEntityIris: Array<string>;
6171
+ supersedesMemory?: string | null;
6172
+ teams: Array<string>;
6173
+ importance: number;
6174
+ memorySubclass?: string | null;
6175
+ customPropertyValues: Array<{
6176
+ __typename?: "MemoryPropertyValues";
6177
+ path: string;
6178
+ values: Array<string>;
6179
+ }>;
6180
+ schemaAssignment?: {
6181
+ __typename?: "MemorySchemaAssignment";
6182
+ schemaIri: string;
6183
+ confidence?: number | null;
6184
+ assignedAt?: Date | string | null;
6185
+ } | null;
6186
+ } | null;
6187
+ propertyErrors?: Array<{
6188
+ __typename?: "MemoryPropertyProblem";
6189
+ path: string;
6190
+ label?: string | null;
6191
+ message: string;
6192
+ }> | null;
6193
+ };
6194
+ };
4510
6195
  export type GQLUpdateCustomAppMutationVariables = Exact<{
4511
6196
  org?: InputMaybe<Scalars["String"]["input"]>;
4512
6197
  clientId: Scalars["String"]["input"];
@@ -4553,6 +6238,127 @@ export type GQLUpdateDataConnectionMutation = {
4553
6238
  error?: string | null;
4554
6239
  };
4555
6240
  };
6241
+ export type GQLUpdateMemorySchemaMutationVariables = Exact<{
6242
+ input: GQLUpdateMemorySchemaInput;
6243
+ }>;
6244
+ export type GQLUpdateMemorySchemaMutation = {
6245
+ __typename?: "Mutation";
6246
+ updateMemorySchema: {
6247
+ __typename?: "MemorySchemaMutationResponse";
6248
+ status: GQLMemorySchemaMutationStatus;
6249
+ error?: string | null;
6250
+ validationErrors: Array<{
6251
+ __typename?: "MemorySchemaValidationError";
6252
+ field: string;
6253
+ message: string;
6254
+ }>;
6255
+ schema?: {
6256
+ __typename?: "MemorySchema";
6257
+ iri: string;
6258
+ label: string;
6259
+ description?: string | null;
6260
+ status: GQLMemorySchemaStatus;
6261
+ revision: number;
6262
+ defaultMemoryKind?: GQLMemoryKind | null;
6263
+ defaultVolatility?: GQLMemoryVolatility | null;
6264
+ defaultImportance?: number | null;
6265
+ defaultScope?: GQLMemoryScope | null;
6266
+ extractionEnabled: boolean;
6267
+ extractionGuidance?: string | null;
6268
+ templateStatus: GQLMemorySchemaTemplateStatus;
6269
+ customized: boolean;
6270
+ memoryCount?: number | null;
6271
+ createdAt?: Date | string | null;
6272
+ createdBy: GQLMemorySchemaCreator;
6273
+ updatedAt?: Date | string | null;
6274
+ properties: Array<{
6275
+ __typename?: "MemorySchemaProperty";
6276
+ path: string;
6277
+ label: string;
6278
+ description?: string | null;
6279
+ order: number;
6280
+ valueType: GQLMemorySchemaValueType;
6281
+ dataType: string;
6282
+ entityClass?: string | null;
6283
+ required: boolean;
6284
+ multiValued: boolean;
6285
+ allowedValues: Array<string>;
6286
+ keyProperty: boolean;
6287
+ computed: boolean;
6288
+ minValue?: string | null;
6289
+ maxValue?: string | null;
6290
+ maxLength?: number | null;
6291
+ pattern?: string | null;
6292
+ defaultValue?: string | null;
6293
+ unit?: string | null;
6294
+ options: Array<{
6295
+ __typename?: "MemorySchemaOption";
6296
+ value: string;
6297
+ label?: string | null;
6298
+ description?: string | null;
6299
+ }>;
6300
+ }>;
6301
+ } | null;
6302
+ impact?: {
6303
+ __typename?: "MemorySchemaImpact";
6304
+ memoryCount: number;
6305
+ blockers: Array<string>;
6306
+ removedProperties: Array<{
6307
+ __typename?: "MemorySchemaPropertyImpact";
6308
+ path: string;
6309
+ label: string;
6310
+ memoryCount: number;
6311
+ }>;
6312
+ typeChanges: Array<{
6313
+ __typename?: "MemorySchemaTypeChangeImpact";
6314
+ path: string;
6315
+ label: string;
6316
+ from: GQLMemorySchemaValueType;
6317
+ to: GQLMemorySchemaValueType;
6318
+ valueCount: number;
6319
+ unconvertibleCount: number;
6320
+ unconvertibleSamples: Array<string>;
6321
+ }>;
6322
+ removedOptions: Array<{
6323
+ __typename?: "MemorySchemaOptionImpact";
6324
+ path: string;
6325
+ label: string;
6326
+ value: string;
6327
+ memoryCount: number;
6328
+ remappedTo?: string | null;
6329
+ }>;
6330
+ limitViolations: Array<{
6331
+ __typename?: "MemorySchemaLimitImpact";
6332
+ path: string;
6333
+ label: string;
6334
+ valueCount: number;
6335
+ invalidCount: number;
6336
+ invalidSamples: Array<string>;
6337
+ }>;
6338
+ multiValueConflicts: Array<{
6339
+ __typename?: "MemorySchemaPropertyImpact";
6340
+ path: string;
6341
+ label: string;
6342
+ memoryCount: number;
6343
+ }>;
6344
+ clearedValues: Array<{
6345
+ __typename?: "MemorySchemaPropertyImpact";
6346
+ path: string;
6347
+ label: string;
6348
+ memoryCount: number;
6349
+ }>;
6350
+ ruleReferences: Array<{
6351
+ __typename?: "MemorySchemaRuleReference";
6352
+ ruleIri: string;
6353
+ label?: string | null;
6354
+ kind: GQLMemorySchemaRuleReferenceKind;
6355
+ term: string;
6356
+ value?: string | null;
6357
+ position: GQLMemorySchemaRulePosition;
6358
+ }>;
6359
+ } | null;
6360
+ };
6361
+ };
4556
6362
  export type GQLUpdateMemoryMutationVariables = Exact<{
4557
6363
  input: GQLUpdateMemoryInput;
4558
6364
  }>;
@@ -4583,8 +6389,24 @@ export type GQLUpdateMemoryMutation = {
4583
6389
  teams: Array<string>;
4584
6390
  importance: number;
4585
6391
  memorySubclass?: string | null;
4586
- customProperties?: Record<string, unknown> | null;
6392
+ customPropertyValues: Array<{
6393
+ __typename?: "MemoryPropertyValues";
6394
+ path: string;
6395
+ values: Array<string>;
6396
+ }>;
6397
+ schemaAssignment?: {
6398
+ __typename?: "MemorySchemaAssignment";
6399
+ schemaIri: string;
6400
+ confidence?: number | null;
6401
+ assignedAt?: Date | string | null;
6402
+ } | null;
4587
6403
  } | null;
6404
+ propertyErrors?: Array<{
6405
+ __typename?: "MemoryPropertyProblem";
6406
+ path: string;
6407
+ label?: string | null;
6408
+ message: string;
6409
+ }> | null;
4588
6410
  };
4589
6411
  };
4590
6412
  export type GQLUpdateUserPreferencesMutationVariables = Exact<{
@@ -4634,6 +6456,11 @@ export type GQLActionPlanRulesQuery = {
4634
6456
  stagedRule?: string | null;
4635
6457
  isStaged: boolean;
4636
6458
  isModified: boolean;
6459
+ ownedBy?: {
6460
+ __typename?: "RuleOwnership";
6461
+ type: GQLRuleOwner;
6462
+ userId?: string | null;
6463
+ } | null;
4637
6464
  }>;
4638
6465
  };
4639
6466
  };
@@ -5616,7 +7443,7 @@ export type GQLInferalIntegrationsQuery = {
5616
7443
  }>;
5617
7444
  };
5618
7445
  export type GQLKnowledgeGraphStateQueryVariables = Exact<{
5619
- dataVersion?: InputMaybe<Scalars["String"]["input"]>;
7446
+ [key: string]: never;
5620
7447
  }>;
5621
7448
  export type GQLKnowledgeGraphStateQuery = {
5622
7449
  __typename?: "Query";
@@ -5625,18 +7452,6 @@ export type GQLKnowledgeGraphStateQuery = {
5625
7452
  exists: boolean;
5626
7453
  isLoaded: boolean;
5627
7454
  offline: boolean;
5628
- capacity: {
5629
- __typename?: "KnowledgeGraphCapacity";
5630
- maxTriples: bigint;
5631
- currentTriples?: bigint | null;
5632
- percentageFull?: number | null;
5633
- remainingCapacity?: bigint | null;
5634
- entitySummary?: Array<{
5635
- __typename?: "EntityCount";
5636
- type: string;
5637
- count: number;
5638
- }> | null;
5639
- };
5640
7455
  dataVersion?: {
5641
7456
  __typename?: "KnowledgeGraphDataVersion";
5642
7457
  uniqueId: string;
@@ -5740,7 +7555,17 @@ export type GQLMemoriesQuery = {
5740
7555
  teams: Array<string>;
5741
7556
  importance: number;
5742
7557
  memorySubclass?: string | null;
5743
- customProperties?: Record<string, unknown> | null;
7558
+ customPropertyValues: Array<{
7559
+ __typename?: "MemoryPropertyValues";
7560
+ path: string;
7561
+ values: Array<string>;
7562
+ }>;
7563
+ schemaAssignment?: {
7564
+ __typename?: "MemorySchemaAssignment";
7565
+ schemaIri: string;
7566
+ confidence?: number | null;
7567
+ assignedAt?: Date | string | null;
7568
+ } | null;
5744
7569
  }>;
5745
7570
  };
5746
7571
  };
@@ -5781,7 +7606,17 @@ export type GQLMemoryRedundancyReviewQuery = {
5781
7606
  teams: Array<string>;
5782
7607
  importance: number;
5783
7608
  memorySubclass?: string | null;
5784
- customProperties?: Record<string, unknown> | null;
7609
+ customPropertyValues: Array<{
7610
+ __typename?: "MemoryPropertyValues";
7611
+ path: string;
7612
+ values: Array<string>;
7613
+ }>;
7614
+ schemaAssignment?: {
7615
+ __typename?: "MemorySchemaAssignment";
7616
+ schemaIri: string;
7617
+ confidence?: number | null;
7618
+ assignedAt?: Date | string | null;
7619
+ } | null;
5785
7620
  }>;
5786
7621
  }>;
5787
7622
  abstractions: Array<{
@@ -5811,14 +7646,134 @@ export type GQLMemoryRedundancyReviewQuery = {
5811
7646
  teams: Array<string>;
5812
7647
  importance: number;
5813
7648
  memorySubclass?: string | null;
5814
- customProperties?: Record<string, unknown> | null;
7649
+ customPropertyValues: Array<{
7650
+ __typename?: "MemoryPropertyValues";
7651
+ path: string;
7652
+ values: Array<string>;
7653
+ }>;
7654
+ schemaAssignment?: {
7655
+ __typename?: "MemorySchemaAssignment";
7656
+ schemaIri: string;
7657
+ confidence?: number | null;
7658
+ assignedAt?: Date | string | null;
7659
+ } | null;
5815
7660
  }>;
5816
7661
  }>;
5817
7662
  };
5818
7663
  };
5819
- export type GQLMemorySchemasQueryVariables = Exact<{
7664
+ export type GQLMemorySchemaRuleCountsQueryVariables = Exact<{
7665
+ [key: string]: never;
7666
+ }>;
7667
+ export type GQLMemorySchemaRuleCountsQuery = {
7668
+ __typename?: "Query";
7669
+ memorySchemaRuleCounts: {
7670
+ __typename?: "MemorySchemaRuleCountsResponse";
7671
+ error?: string | null;
7672
+ counts: Array<{
7673
+ __typename?: "MemorySchemaRuleCount";
7674
+ iri: string;
7675
+ ruleCount: number;
7676
+ }>;
7677
+ };
7678
+ };
7679
+ export type GQLMemorySchemaTemplatesQueryVariables = Exact<{
5820
7680
  [key: string]: never;
5821
7681
  }>;
7682
+ export type GQLMemorySchemaTemplatesQuery = {
7683
+ __typename?: "Query";
7684
+ memorySchemaTemplates: {
7685
+ __typename?: "MemorySchemaTemplatesResponse";
7686
+ error?: string | null;
7687
+ templates: Array<{
7688
+ __typename?: "MemorySchemaTemplate";
7689
+ live: boolean;
7690
+ schema: {
7691
+ __typename?: "MemorySchema";
7692
+ iri: string;
7693
+ label: string;
7694
+ description?: string | null;
7695
+ status: GQLMemorySchemaStatus;
7696
+ revision: number;
7697
+ defaultMemoryKind?: GQLMemoryKind | null;
7698
+ defaultVolatility?: GQLMemoryVolatility | null;
7699
+ defaultImportance?: number | null;
7700
+ defaultScope?: GQLMemoryScope | null;
7701
+ extractionEnabled: boolean;
7702
+ extractionGuidance?: string | null;
7703
+ templateStatus: GQLMemorySchemaTemplateStatus;
7704
+ customized: boolean;
7705
+ memoryCount?: number | null;
7706
+ createdAt?: Date | string | null;
7707
+ createdBy: GQLMemorySchemaCreator;
7708
+ updatedAt?: Date | string | null;
7709
+ properties: Array<{
7710
+ __typename?: "MemorySchemaProperty";
7711
+ path: string;
7712
+ label: string;
7713
+ description?: string | null;
7714
+ order: number;
7715
+ valueType: GQLMemorySchemaValueType;
7716
+ dataType: string;
7717
+ entityClass?: string | null;
7718
+ required: boolean;
7719
+ multiValued: boolean;
7720
+ allowedValues: Array<string>;
7721
+ keyProperty: boolean;
7722
+ computed: boolean;
7723
+ minValue?: string | null;
7724
+ maxValue?: string | null;
7725
+ maxLength?: number | null;
7726
+ pattern?: string | null;
7727
+ defaultValue?: string | null;
7728
+ unit?: string | null;
7729
+ options: Array<{
7730
+ __typename?: "MemorySchemaOption";
7731
+ value: string;
7732
+ label?: string | null;
7733
+ description?: string | null;
7734
+ }>;
7735
+ }>;
7736
+ };
7737
+ }>;
7738
+ };
7739
+ };
7740
+ export type GQLMemorySchemaUsageQueryVariables = Exact<{
7741
+ iri: Scalars["IRI"]["input"];
7742
+ }>;
7743
+ export type GQLMemorySchemaUsageQuery = {
7744
+ __typename?: "Query";
7745
+ memorySchemaUsage: {
7746
+ __typename?: "MemorySchemaUsageResponse";
7747
+ error?: string | null;
7748
+ usage?: {
7749
+ __typename?: "MemorySchemaUsage";
7750
+ iri: string;
7751
+ memoryCount: number;
7752
+ properties: Array<{
7753
+ __typename?: "MemorySchemaPropertyUsage";
7754
+ path: string;
7755
+ memoryCount: number;
7756
+ options: Array<{
7757
+ __typename?: "MemorySchemaOptionUsage";
7758
+ value: string;
7759
+ memoryCount: number;
7760
+ }>;
7761
+ }>;
7762
+ rules: Array<{
7763
+ __typename?: "MemorySchemaRuleReference";
7764
+ ruleIri: string;
7765
+ label?: string | null;
7766
+ kind: GQLMemorySchemaRuleReferenceKind;
7767
+ term: string;
7768
+ value?: string | null;
7769
+ position: GQLMemorySchemaRulePosition;
7770
+ }>;
7771
+ } | null;
7772
+ };
7773
+ };
7774
+ export type GQLMemorySchemasQueryVariables = Exact<{
7775
+ includeArchived?: InputMaybe<Scalars["Boolean"]["input"]>;
7776
+ }>;
5822
7777
  export type GQLMemorySchemasQuery = {
5823
7778
  __typename?: "Query";
5824
7779
  memorySchemas: {
@@ -5829,15 +7784,46 @@ export type GQLMemorySchemasQuery = {
5829
7784
  iri: string;
5830
7785
  label: string;
5831
7786
  description?: string | null;
7787
+ status: GQLMemorySchemaStatus;
7788
+ revision: number;
7789
+ defaultMemoryKind?: GQLMemoryKind | null;
7790
+ defaultVolatility?: GQLMemoryVolatility | null;
7791
+ defaultImportance?: number | null;
7792
+ defaultScope?: GQLMemoryScope | null;
7793
+ extractionEnabled: boolean;
7794
+ extractionGuidance?: string | null;
7795
+ templateStatus: GQLMemorySchemaTemplateStatus;
7796
+ customized: boolean;
7797
+ memoryCount?: number | null;
7798
+ createdAt?: Date | string | null;
7799
+ createdBy: GQLMemorySchemaCreator;
7800
+ updatedAt?: Date | string | null;
5832
7801
  properties: Array<{
5833
7802
  __typename?: "MemorySchemaProperty";
5834
7803
  path: string;
5835
7804
  label: string;
7805
+ description?: string | null;
7806
+ order: number;
7807
+ valueType: GQLMemorySchemaValueType;
5836
7808
  dataType: string;
7809
+ entityClass?: string | null;
5837
7810
  required: boolean;
7811
+ multiValued: boolean;
5838
7812
  allowedValues: Array<string>;
5839
7813
  keyProperty: boolean;
5840
- inferred: boolean;
7814
+ computed: boolean;
7815
+ minValue?: string | null;
7816
+ maxValue?: string | null;
7817
+ maxLength?: number | null;
7818
+ pattern?: string | null;
7819
+ defaultValue?: string | null;
7820
+ unit?: string | null;
7821
+ options: Array<{
7822
+ __typename?: "MemorySchemaOption";
7823
+ value: string;
7824
+ label?: string | null;
7825
+ description?: string | null;
7826
+ }>;
5841
7827
  }>;
5842
7828
  }>;
5843
7829
  };
@@ -6394,8 +8380,11 @@ export type GQLWarehouseQueryQuery = {
6394
8380
  };
6395
8381
  export declare const CustomAppConnectionFieldsFragmentDoc = "\n fragment CustomAppConnectionFields on CustomAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
6396
8382
  export declare const CustomAppFieldsFragmentDoc = "\n fragment CustomAppFields on CustomApp {\n clientId\n name\n kind\n redirectUris\n homeUrl\n machineAccess\n enabled\n org\n orgName\n previousSecretExpiresAt\n datastores {\n id\n name\n }\n permissions\n createdAt\n createdBy\n}\n ";
6397
- export declare const MemoryFieldsFragmentDoc = "\n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
6398
- export declare const MemoryMutationResultFragmentDoc = "\n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
8383
+ export declare const MemoryFieldsFragmentDoc = "\n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
8384
+ export declare const MemoryMutationResultFragmentDoc = "\n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n propertyErrors {\n path\n label\n message\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
8385
+ export declare const MemorySchemaPropertyFieldsFragmentDoc = "\n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8386
+ export declare const MemorySchemaFieldsFragmentDoc = "\n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8387
+ export declare const MemorySchemaMutationResultFragmentDoc = "\n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
6399
8388
  export declare const ActionPlanFieldsFragmentDoc = "\n fragment ActionPlanFields on ActionPlanGraph {\n iri\n statements\n subjects\n state\n description\n duration\n primaryIntegration\n priority\n actionCount\n completedActionCount\n actionCountByType {\n typeName\n count\n }\n createdBy {\n ... on ActionPlanCreatedByManta {\n __typename\n reason\n confidenceScore\n }\n ... on ActionPlanCreatedByUser {\n __typename\n id\n reason\n }\n }\n estimatedCost {\n ... on ExactQuantitativeValue {\n __typename\n value\n unitCode\n unitText\n }\n ... on ApproximateQuantitativeValue {\n __typename\n minValue\n maxValue\n unitCode\n unitText\n }\n }\n estimatedReturn {\n ... on ExactQuantitativeValue {\n __typename\n value\n unitCode\n unitText\n }\n ... on ApproximateQuantitativeValue {\n __typename\n minValue\n maxValue\n unitCode\n unitText\n }\n }\n estimatedROI {\n ... on ExactQuantitativeValue {\n __typename\n value\n unitCode\n unitText\n }\n ... on ApproximateQuantitativeValue {\n __typename\n minValue\n maxValue\n unitCode\n unitText\n }\n }\n potentialProfit {\n ... on ExactQuantitativeValue {\n __typename\n value\n unitCode\n unitText\n }\n ... on ApproximateQuantitativeValue {\n __typename\n minValue\n maxValue\n unitCode\n unitText\n }\n }\n}\n ";
6400
8389
  export declare const AbortUploadDocument = "\n mutation abortUpload($input: AbortUploadInput!) {\n abortUpload(input: $input) {\n ok\n }\n}\n ";
6401
8390
  export declare const useAbortUploadMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLAbortUploadMutation, TError, GQLAbortUploadMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLAbortUploadMutation, TError, Exact<{
@@ -6405,6 +8394,14 @@ export declare const AcceptInvitationDocument = "\n mutation AcceptInvitation
6405
8394
  export declare const useAcceptInvitationMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLAcceptInvitationMutation, TError, GQLAcceptInvitationMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLAcceptInvitationMutation, TError, Exact<{
6406
8395
  organizationId: Scalars["ID"]["input"];
6407
8396
  }>, TContext>;
8397
+ export declare const AddMemorySchemaFromTemplateDocument = "\n mutation AddMemorySchemaFromTemplate($templateIri: IRI!) {\n addMemorySchemaFromTemplate(templateIri: $templateIri) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8398
+ export declare const useAddMemorySchemaFromTemplateMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLAddMemorySchemaFromTemplateMutation, TError, GQLAddMemorySchemaFromTemplateMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLAddMemorySchemaFromTemplateMutation, TError, Exact<{
8399
+ templateIri: Scalars["IRI"]["input"];
8400
+ }>, TContext>;
8401
+ export declare const ArchiveMemorySchemaDocument = "\n mutation ArchiveMemorySchema($input: MemorySchemaRevisionInput!) {\n archiveMemorySchema(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8402
+ export declare const useArchiveMemorySchemaMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLArchiveMemorySchemaMutation, TError, GQLArchiveMemorySchemaMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLArchiveMemorySchemaMutation, TError, Exact<{
8403
+ input: GQLMemorySchemaRevisionInput;
8404
+ }>, TContext>;
6408
8405
  export declare const AttributeStripeSubscriptionDocument = "\n mutation AttributeStripeSubscription($subscriptionId: String!, $datastoreId: String!) {\n attributeStripeSubscription(\n subscriptionId: $subscriptionId\n datastoreId: $datastoreId\n ) {\n success\n status\n error\n }\n}\n ";
6409
8406
  export declare const useAttributeStripeSubscriptionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLAttributeStripeSubscriptionMutation, TError, GQLAttributeStripeSubscriptionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLAttributeStripeSubscriptionMutation, TError, Exact<{
6410
8407
  subscriptionId: Scalars["String"]["input"];
@@ -6422,11 +8419,15 @@ export declare const CancelActionPlanDocument = "\n mutation CancelActionPlan
6422
8419
  export declare const useCancelActionPlanMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCancelActionPlanMutation, TError, GQLCancelActionPlanMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCancelActionPlanMutation, TError, Exact<{
6423
8420
  planIri: Scalars["String"]["input"];
6424
8421
  }>, TContext>;
8422
+ export declare const ClearMemorySchemaPropertyValuesDocument = "\n mutation ClearMemorySchemaPropertyValues($input: ClearMemorySchemaPropertyValuesInput!) {\n clearMemorySchemaPropertyValues(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8423
+ export declare const useClearMemorySchemaPropertyValuesMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLClearMemorySchemaPropertyValuesMutation, TError, GQLClearMemorySchemaPropertyValuesMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLClearMemorySchemaPropertyValuesMutation, TError, Exact<{
8424
+ input: GQLClearMemorySchemaPropertyValuesInput;
8425
+ }>, TContext>;
6425
8426
  export declare const ClearStagedRulesDocument = "\n mutation ClearStagedRules($ruleIris: [IRI!]) {\n clearStagedRules(ruleIris: $ruleIris) {\n success\n rulesCleared\n error\n }\n}\n ";
6426
8427
  export declare const useClearStagedRulesMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLClearStagedRulesMutation, TError, GQLClearStagedRulesMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLClearStagedRulesMutation, TError, Exact<{
6427
8428
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
6428
8429
  }>, TContext>;
6429
- export declare const CommitStagedRulesDocument = "\n mutation CommitStagedRules($dryRun: Boolean, $ruleIris: [IRI!]) {\n commitStagedRules(dryRun: $dryRun, ruleIris: $ruleIris) {\n success\n rulesAdded\n rulesUpdated\n rulesDeleted\n error\n }\n}\n ";
8430
+ export declare const CommitStagedRulesDocument = "\n mutation CommitStagedRules($dryRun: Boolean, $ruleIris: [IRI!]) {\n commitStagedRules(dryRun: $dryRun, ruleIris: $ruleIris) {\n success\n rulesAdded\n rulesUpdated\n rulesDeleted\n error\n requestId\n }\n}\n ";
6430
8431
  export declare const useCommitStagedRulesMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCommitStagedRulesMutation, TError, GQLCommitStagedRulesMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCommitStagedRulesMutation, TError, Exact<{
6431
8432
  dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
6432
8433
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
@@ -6439,7 +8440,7 @@ export declare const CompleteUploadDocument = "\n mutation completeUpload($in
6439
8440
  export declare const useCompleteUploadMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCompleteUploadMutation, TError, GQLCompleteUploadMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCompleteUploadMutation, TError, Exact<{
6440
8441
  input: GQLCompleteUploadInput;
6441
8442
  }>, TContext>;
6442
- export declare const ConsolidateMemoriesDocument = "\n mutation ConsolidateMemories($input: ConsolidateMemoriesInput!) {\n consolidateMemories(input: $input) {\n memory {\n ...MemoryFields\n }\n error\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
8443
+ export declare const ConsolidateMemoriesDocument = "\n mutation ConsolidateMemories($input: ConsolidateMemoriesInput!) {\n consolidateMemories(input: $input) {\n memory {\n ...MemoryFields\n }\n error\n propertyErrors {\n path\n label\n message\n }\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
6443
8444
  export declare const useConsolidateMemoriesMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLConsolidateMemoriesMutation, TError, GQLConsolidateMemoriesMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLConsolidateMemoriesMutation, TError, Exact<{
6444
8445
  input: GQLConsolidateMemoriesInput;
6445
8446
  }>, TContext>;
@@ -6466,7 +8467,11 @@ export declare const CreateInferalIntegrationDocument = "\n mutation CreateIn
6466
8467
  export declare const useCreateInferalIntegrationMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateInferalIntegrationMutation, TError, GQLCreateInferalIntegrationMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateInferalIntegrationMutation, TError, Exact<{
6467
8468
  input: GQLCreateInferalIntegrationInput;
6468
8469
  }>, TContext>;
6469
- export declare const CreateMemoryDocument = "\n mutation CreateMemory($input: CreateMemoryInput!) {\n createMemory(input: $input) {\n memory {\n ...MemoryFields\n createdBy\n }\n error\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
8470
+ export declare const CreateMemorySchemaDocument = "\n mutation CreateMemorySchema($input: CreateMemorySchemaInput!) {\n createMemorySchema(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8471
+ export declare const useCreateMemorySchemaMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateMemorySchemaMutation, TError, GQLCreateMemorySchemaMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateMemorySchemaMutation, TError, Exact<{
8472
+ input: GQLCreateMemorySchemaInput;
8473
+ }>, TContext>;
8474
+ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input: CreateMemoryInput!) {\n createMemory(input: $input) {\n memory {\n ...MemoryFields\n createdBy\n }\n error\n propertyErrors {\n path\n label\n message\n }\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
6470
8475
  export declare const useCreateMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateMemoryMutation, TError, GQLCreateMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateMemoryMutation, TError, Exact<{
6471
8476
  input: GQLCreateMemoryInput;
6472
8477
  }>, TContext>;
@@ -6513,6 +8518,10 @@ export declare const DeleteLdesStreamDocument = "\n mutation DeleteLdesStream
6513
8518
  export declare const useDeleteLdesStreamMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteLdesStreamMutation, TError, GQLDeleteLdesStreamMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteLdesStreamMutation, TError, Exact<{
6514
8519
  url: Scalars["String"]["input"];
6515
8520
  }>, TContext>;
8521
+ export declare const DeleteMemorySchemaDocument = "\n mutation DeleteMemorySchema($input: MemorySchemaRevisionInput!) {\n deleteMemorySchema(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8522
+ export declare const useDeleteMemorySchemaMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteMemorySchemaMutation, TError, GQLDeleteMemorySchemaMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteMemorySchemaMutation, TError, Exact<{
8523
+ input: GQLMemorySchemaRevisionInput;
8524
+ }>, TContext>;
6516
8525
  export declare const DeleteMemoryDocument = "\n mutation DeleteMemory($memoryIri: IRI!) {\n deleteMemory(memoryIri: $memoryIri) {\n success\n error\n }\n}\n ";
6517
8526
  export declare const useDeleteMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteMemoryMutation, TError, GQLDeleteMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteMemoryMutation, TError, Exact<{
6518
8527
  memoryIri: Scalars["IRI"]["input"];
@@ -6537,6 +8546,10 @@ export declare const DisconnectInferalIntegrationDocument = "\n mutation Disc
6537
8546
  export declare const useDisconnectInferalIntegrationMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDisconnectInferalIntegrationMutation, TError, GQLDisconnectInferalIntegrationMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDisconnectInferalIntegrationMutation, TError, Exact<{
6538
8547
  id: Scalars["String"]["input"];
6539
8548
  }>, TContext>;
8549
+ export declare const DismissMemorySchemaTemplateUpdateDocument = "\n mutation DismissMemorySchemaTemplateUpdate($input: MemorySchemaRevisionInput!) {\n dismissMemorySchemaTemplateUpdate(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8550
+ export declare const useDismissMemorySchemaTemplateUpdateMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDismissMemorySchemaTemplateUpdateMutation, TError, GQLDismissMemorySchemaTemplateUpdateMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDismissMemorySchemaTemplateUpdateMutation, TError, Exact<{
8551
+ input: GQLMemorySchemaRevisionInput;
8552
+ }>, TContext>;
6540
8553
  export declare const ExecuteAgentActionAdditionDocument = "\n mutation ExecuteAgentActionAddition($input: ExecuteActionAdditionInput!) {\n executeActionAddition(input: $input) {\n success\n workflowId\n namedGraphIri\n error\n code\n }\n}\n ";
6541
8554
  export declare const useExecuteAgentActionAdditionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLExecuteAgentActionAdditionMutation, TError, GQLExecuteAgentActionAdditionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLExecuteAgentActionAdditionMutation, TError, Exact<{
6542
8555
  input: GQLExecuteActionAdditionInput;
@@ -6651,7 +8664,7 @@ export declare const ProvisionDatastoreDocument = "\n mutation ProvisionDatas
6651
8664
  export declare const useProvisionDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLProvisionDatastoreMutation, TError, GQLProvisionDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLProvisionDatastoreMutation, TError, Exact<{
6652
8665
  input: GQLProvisionDatastoreInput;
6653
8666
  }>, TContext>;
6654
- export declare const ReconfirmMemoryDocument = "\n mutation ReconfirmMemory($memoryIri: IRI!) {\n reconfirmMemory(memoryIri: $memoryIri) {\n ...MemoryMutationResult\n }\n}\n \n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
8667
+ export declare const ReconfirmMemoryDocument = "\n mutation ReconfirmMemory($memoryIri: IRI!) {\n reconfirmMemory(memoryIri: $memoryIri) {\n ...MemoryMutationResult\n }\n}\n \n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n propertyErrors {\n path\n label\n message\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
6655
8668
  export declare const useReconfirmMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLReconfirmMemoryMutation, TError, GQLReconfirmMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLReconfirmMemoryMutation, TError, Exact<{
6656
8669
  memoryIri: Scalars["IRI"]["input"];
6657
8670
  }>, TContext>;
@@ -6697,6 +8710,10 @@ export declare const useRenameUserMutation: <TError = unknown, TContext = unknow
6697
8710
  firstName: Scalars["String"]["input"];
6698
8711
  lastName?: InputMaybe<Scalars["String"]["input"]>;
6699
8712
  }>, TContext>;
8713
+ export declare const ResetMemorySchemaToTemplateDocument = "\n mutation ResetMemorySchemaToTemplate($input: ResetMemorySchemaInput!) {\n resetMemorySchemaToTemplate(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8714
+ export declare const useResetMemorySchemaToTemplateMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLResetMemorySchemaToTemplateMutation, TError, GQLResetMemorySchemaToTemplateMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLResetMemorySchemaToTemplateMutation, TError, Exact<{
8715
+ input: GQLResetMemorySchemaInput;
8716
+ }>, TContext>;
6700
8717
  export declare const RestoreMemoryDocument = "\n mutation RestoreMemory($memoryIri: IRI!) {\n restoreMemory(memoryIri: $memoryIri) {\n success\n blockedByIri\n blockedByLabel\n error\n }\n}\n ";
6701
8718
  export declare const useRestoreMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRestoreMemoryMutation, TError, GQLRestoreMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRestoreMemoryMutation, TError, Exact<{
6702
8719
  memoryIri: Scalars["IRI"]["input"];
@@ -6720,6 +8737,10 @@ export declare const useRotateCustomAppSecretMutation: <TError = unknown, TConte
6720
8737
  clientId: Scalars["String"]["input"];
6721
8738
  keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
6722
8739
  }>, TContext>;
8740
+ export declare const SetActionPlanAutoPilotDocument = "\n mutation SetActionPlanAutoPilot($input: SetActionPlanAutoPilotInput!) {\n setActionPlanAutoPilot(input: $input) {\n success\n error\n planGraphIri\n autoPilotEnabled\n ruleIri\n }\n}\n ";
8741
+ export declare const useSetActionPlanAutoPilotMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLSetActionPlanAutoPilotMutation, TError, GQLSetActionPlanAutoPilotMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLSetActionPlanAutoPilotMutation, TError, Exact<{
8742
+ input: GQLSetActionPlanAutoPilotInput;
8743
+ }>, TContext>;
6723
8744
  export declare const SetCustomAppEnabledDocument = "\n mutation SetCustomAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {\n setCustomAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {\n ...CustomAppFields\n }\n}\n \n fragment CustomAppFields on CustomApp {\n clientId\n name\n kind\n redirectUris\n homeUrl\n machineAccess\n enabled\n org\n orgName\n previousSecretExpiresAt\n datastores {\n id\n name\n }\n permissions\n createdAt\n createdBy\n}\n ";
6724
8745
  export declare const useSetCustomAppEnabledMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLSetCustomAppEnabledMutation, TError, GQLSetCustomAppEnabledMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLSetCustomAppEnabledMutation, TError, Exact<{
6725
8746
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -6738,6 +8759,14 @@ export declare const SyncGmailIntegrationDocument = "\n mutation SyncGmailInt
6738
8759
  export declare const useSyncGmailIntegrationMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLSyncGmailIntegrationMutation, TError, GQLSyncGmailIntegrationMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLSyncGmailIntegrationMutation, TError, Exact<{
6739
8760
  email: Scalars["String"]["input"];
6740
8761
  }>, TContext>;
8762
+ export declare const UnarchiveMemorySchemaDocument = "\n mutation UnarchiveMemorySchema($input: MemorySchemaRevisionInput!) {\n unarchiveMemorySchema(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8763
+ export declare const useUnarchiveMemorySchemaMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUnarchiveMemorySchemaMutation, TError, GQLUnarchiveMemorySchemaMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUnarchiveMemorySchemaMutation, TError, Exact<{
8764
+ input: GQLMemorySchemaRevisionInput;
8765
+ }>, TContext>;
8766
+ export declare const UndoMemorySchemaAssignmentDocument = "\n mutation UndoMemorySchemaAssignment($memoryIri: IRI!) {\n undoMemorySchemaAssignment(memoryIri: $memoryIri) {\n ...MemoryMutationResult\n }\n}\n \n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n propertyErrors {\n path\n label\n message\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
8767
+ export declare const useUndoMemorySchemaAssignmentMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUndoMemorySchemaAssignmentMutation, TError, GQLUndoMemorySchemaAssignmentMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUndoMemorySchemaAssignmentMutation, TError, Exact<{
8768
+ memoryIri: Scalars["IRI"]["input"];
8769
+ }>, TContext>;
6741
8770
  export declare const UpdateCustomAppDocument = "\n mutation UpdateCustomApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {\n updateCustomApp(\n org: $org\n clientId: $clientId\n name: $name\n redirectUris: $redirectUris\n homeUrl: $homeUrl\n machineAccess: $machineAccess\n datastores: $datastores\n permissions: $permissions\n ) {\n ...CustomAppFields\n }\n}\n \n fragment CustomAppFields on CustomApp {\n clientId\n name\n kind\n redirectUris\n homeUrl\n machineAccess\n enabled\n org\n orgName\n previousSecretExpiresAt\n datastores {\n id\n name\n }\n permissions\n createdAt\n createdBy\n}\n ";
6742
8771
  export declare const useUpdateCustomAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUpdateCustomAppMutation, TError, GQLUpdateCustomAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUpdateCustomAppMutation, TError, Exact<{
6743
8772
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -6753,7 +8782,11 @@ export declare const UpdateDataConnectionDocument = "\n mutation UpdateDataCo
6753
8782
  export declare const useUpdateDataConnectionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUpdateDataConnectionMutation, TError, GQLUpdateDataConnectionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUpdateDataConnectionMutation, TError, Exact<{
6754
8783
  input: GQLUpdateDataConnectionInput;
6755
8784
  }>, TContext>;
6756
- export declare const UpdateMemoryDocument = "\n mutation UpdateMemory($input: UpdateMemoryInput!) {\n updateMemory(input: $input) {\n ...MemoryMutationResult\n }\n}\n \n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
8785
+ export declare const UpdateMemorySchemaDocument = "\n mutation UpdateMemorySchema($input: UpdateMemorySchemaInput!) {\n updateMemorySchema(input: $input) {\n ...MemorySchemaMutationResult\n }\n}\n \n fragment MemorySchemaMutationResult on MemorySchemaMutationResponse {\n status\n error\n validationErrors {\n field\n message\n }\n schema {\n ...MemorySchemaFields\n }\n impact {\n memoryCount\n removedProperties {\n path\n label\n memoryCount\n }\n typeChanges {\n path\n label\n from\n to\n valueCount\n unconvertibleCount\n unconvertibleSamples\n }\n removedOptions {\n path\n label\n value\n memoryCount\n remappedTo\n }\n limitViolations {\n path\n label\n valueCount\n invalidCount\n invalidSamples\n }\n multiValueConflicts {\n path\n label\n memoryCount\n }\n clearedValues {\n path\n label\n memoryCount\n }\n ruleReferences {\n ruleIri\n label\n kind\n term\n value\n position\n }\n blockers\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
8786
+ export declare const useUpdateMemorySchemaMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUpdateMemorySchemaMutation, TError, GQLUpdateMemorySchemaMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUpdateMemorySchemaMutation, TError, Exact<{
8787
+ input: GQLUpdateMemorySchemaInput;
8788
+ }>, TContext>;
8789
+ export declare const UpdateMemoryDocument = "\n mutation UpdateMemory($input: UpdateMemoryInput!) {\n updateMemory(input: $input) {\n ...MemoryMutationResult\n }\n}\n \n fragment MemoryMutationResult on UpdateMemoryResponse {\n memory {\n ...MemoryFields\n }\n error\n propertyErrors {\n path\n label\n message\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
6757
8790
  export declare const useUpdateMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUpdateMemoryMutation, TError, GQLUpdateMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUpdateMemoryMutation, TError, Exact<{
6758
8791
  input: GQLUpdateMemoryInput;
6759
8792
  }>, TContext>;
@@ -6765,7 +8798,7 @@ export declare const ValidateStagedRulesDocument = "\n mutation ValidateStage
6765
8798
  export declare const useValidateStagedRulesMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLValidateStagedRulesMutation, TError, GQLValidateStagedRulesMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLValidateStagedRulesMutation, TError, Exact<{
6766
8799
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
6767
8800
  }>, TContext>;
6768
- export declare const ActionPlanRulesDocument = "\n query ActionPlanRules($namedGraph: IRI!, $search: String, $limit: Int!, $offset: Int!) {\n rules(\n namedGraph: $namedGraph\n search: $search\n limit: $limit\n offset: $offset\n includeDependencyGraph: false\n ) {\n rules {\n ruleIri\n committedRule\n stagedRule\n isStaged\n isModified\n }\n count\n error\n }\n}\n ";
8801
+ export declare const ActionPlanRulesDocument = "\n query ActionPlanRules($namedGraph: IRI!, $search: String, $limit: Int!, $offset: Int!) {\n rules(\n namedGraph: $namedGraph\n search: $search\n limit: $limit\n offset: $offset\n includeDependencyGraph: false\n ) {\n rules {\n ruleIri\n committedRule\n stagedRule\n isStaged\n isModified\n ownedBy {\n type\n userId\n }\n }\n count\n error\n }\n}\n ";
6769
8802
  export declare function useActionPlanRulesQuery<TData = GQLActionPlanRulesQuery, TError = unknown>(client: GraphQLClient, variables: GQLActionPlanRulesQueryVariables, options?: Omit<UseQueryOptions<GQLActionPlanRulesQuery, TError, TData>, "queryKey"> & {
6770
8803
  queryKey?: UseQueryOptions<GQLActionPlanRulesQuery, TError, TData>["queryKey"];
6771
8804
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
@@ -7445,13 +9478,13 @@ export declare namespace useSuspenseInferalIntegrationsQuery {
7445
9478
  [key: string]: never;
7446
9479
  }>)[];
7447
9480
  }
7448
- export declare const KnowledgeGraphStateDocument = "\n query KnowledgeGraphState($dataVersion: String) {\n knowledgeGraphState(dataVersion: $dataVersion) {\n exists\n isLoaded\n offline\n capacity {\n maxTriples\n currentTriples\n percentageFull\n remainingCapacity\n entitySummary {\n type\n count\n }\n }\n dataVersion {\n uniqueId\n version\n }\n }\n}\n ";
9481
+ export declare const KnowledgeGraphStateDocument = "\n query KnowledgeGraphState {\n knowledgeGraphState {\n exists\n isLoaded\n offline\n dataVersion {\n uniqueId\n version\n }\n }\n}\n ";
7449
9482
  export declare function useKnowledgeGraphStateQuery<TData = GQLKnowledgeGraphStateQuery, TError = unknown>(client: GraphQLClient, variables?: GQLKnowledgeGraphStateQueryVariables, options?: Omit<UseQueryOptions<GQLKnowledgeGraphStateQuery, TError, TData>, "queryKey"> & {
7450
9483
  queryKey?: UseQueryOptions<GQLKnowledgeGraphStateQuery, TError, TData>["queryKey"];
7451
9484
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
7452
9485
  export declare namespace useKnowledgeGraphStateQuery {
7453
9486
  var getKey: (variables?: GQLKnowledgeGraphStateQueryVariables) => (string | Exact<{
7454
- dataVersion?: InputMaybe<Scalars["String"]["input"]>;
9487
+ [key: string]: never;
7455
9488
  }>)[];
7456
9489
  }
7457
9490
  export declare function useSuspenseKnowledgeGraphStateQuery<TData = GQLKnowledgeGraphStateQuery, TError = unknown>(client: GraphQLClient, variables?: GQLKnowledgeGraphStateQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLKnowledgeGraphStateQuery, TError, TData>, "queryKey"> & {
@@ -7459,7 +9492,7 @@ export declare function useSuspenseKnowledgeGraphStateQuery<TData = GQLKnowledge
7459
9492
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
7460
9493
  export declare namespace useSuspenseKnowledgeGraphStateQuery {
7461
9494
  var getKey: (variables?: GQLKnowledgeGraphStateQueryVariables) => (string | Exact<{
7462
- dataVersion?: InputMaybe<Scalars["String"]["input"]>;
9495
+ [key: string]: never;
7463
9496
  }>)[];
7464
9497
  }
7465
9498
  export declare const LdesStreamsDocument = "\n query LdesStreams {\n ldesStreams {\n url\n datastoreId\n phase\n after\n stats {\n membersWritten\n lastMemberUri\n lastMemberAt\n lastPollAt\n nextPollAt\n lastError\n }\n }\n}\n ";
@@ -7515,7 +9548,7 @@ export declare namespace useSuspenseManualActionProgressQuery {
7515
9548
  subjectIri: Scalars["String"]["input"];
7516
9549
  }>)[];
7517
9550
  }
7518
- export declare const MemoriesDocument = "\n query Memories($includeArchived: Boolean, $includeOutOfWindow: Boolean) {\n memories(\n includeArchived: $includeArchived\n includeOutOfWindow: $includeOutOfWindow\n ) {\n memories {\n ...MemoryFields\n updatedAt\n supersededBy\n createdBy\n }\n error\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
9551
+ export declare const MemoriesDocument = "\n query Memories($includeArchived: Boolean, $includeOutOfWindow: Boolean) {\n memories(\n includeArchived: $includeArchived\n includeOutOfWindow: $includeOutOfWindow\n ) {\n memories {\n ...MemoryFields\n updatedAt\n supersededBy\n createdBy\n }\n error\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
7519
9552
  export declare function useMemoriesQuery<TData = GQLMemoriesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemoriesQueryVariables, options?: Omit<UseQueryOptions<GQLMemoriesQuery, TError, TData>, "queryKey"> & {
7520
9553
  queryKey?: UseQueryOptions<GQLMemoriesQuery, TError, TData>["queryKey"];
7521
9554
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
@@ -7534,7 +9567,7 @@ export declare namespace useSuspenseMemoriesQuery {
7534
9567
  includeOutOfWindow?: InputMaybe<Scalars["Boolean"]["input"]>;
7535
9568
  }>)[];
7536
9569
  }
7537
- export declare const MemoryRedundancyReviewDocument = "\n query MemoryRedundancyReview($input: MemoryConsolidationInput!) {\n memoryRedundancyReview(input: $input) {\n clusters {\n memories {\n ...MemoryFields\n }\n reason\n suggestedLabel\n suggestedDescription\n }\n abstractions {\n memories {\n ...MemoryFields\n }\n reason\n suggestedLabel\n suggestedDescription\n }\n comparedCount\n timedOut\n error\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customProperties\n}\n ";
9570
+ export declare const MemoryRedundancyReviewDocument = "\n query MemoryRedundancyReview($input: MemoryConsolidationInput!) {\n memoryRedundancyReview(input: $input) {\n clusters {\n memories {\n ...MemoryFields\n }\n reason\n suggestedLabel\n suggestedDescription\n }\n abstractions {\n memories {\n ...MemoryFields\n }\n reason\n suggestedLabel\n suggestedDescription\n }\n comparedCount\n timedOut\n error\n }\n}\n \n fragment MemoryFields on Memory {\n iri\n label\n description\n confidence\n extractedAt\n memorySource\n scope\n kind\n memoryValidFrom\n memoryValidUntil\n memoryTrustedUntil\n memoryLastUsedAt\n memoryUseCount\n memoryCiteCount\n memoryEvidence\n aboutEntityIris\n supersedesMemory\n teams\n importance\n memorySubclass\n customPropertyValues {\n path\n values\n }\n schemaAssignment {\n schemaIri\n confidence\n assignedAt\n }\n}\n ";
7538
9571
  export declare function useMemoryRedundancyReviewQuery<TData = GQLMemoryRedundancyReviewQuery, TError = unknown>(client: GraphQLClient, variables: GQLMemoryRedundancyReviewQueryVariables, options?: Omit<UseQueryOptions<GQLMemoryRedundancyReviewQuery, TError, TData>, "queryKey"> & {
7539
9572
  queryKey?: UseQueryOptions<GQLMemoryRedundancyReviewQuery, TError, TData>["queryKey"];
7540
9573
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
@@ -7551,13 +9584,64 @@ export declare namespace useSuspenseMemoryRedundancyReviewQuery {
7551
9584
  input: GQLMemoryConsolidationInput;
7552
9585
  }>)[];
7553
9586
  }
7554
- export declare const MemorySchemasDocument = "\n query MemorySchemas {\n memorySchemas {\n schemas {\n iri\n label\n description\n properties {\n path\n label\n dataType\n required\n allowedValues\n keyProperty\n inferred\n }\n }\n error\n }\n}\n ";
9587
+ export declare const MemorySchemaRuleCountsDocument = "\n query MemorySchemaRuleCounts {\n memorySchemaRuleCounts {\n counts {\n iri\n ruleCount\n }\n error\n }\n}\n ";
9588
+ export declare function useMemorySchemaRuleCountsQuery<TData = GQLMemorySchemaRuleCountsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemorySchemaRuleCountsQueryVariables, options?: Omit<UseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>, "queryKey"> & {
9589
+ queryKey?: UseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>["queryKey"];
9590
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
9591
+ export declare namespace useMemorySchemaRuleCountsQuery {
9592
+ var getKey: (variables?: GQLMemorySchemaRuleCountsQueryVariables) => (string | Exact<{
9593
+ [key: string]: never;
9594
+ }>)[];
9595
+ }
9596
+ export declare function useSuspenseMemorySchemaRuleCountsQuery<TData = GQLMemorySchemaRuleCountsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemorySchemaRuleCountsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>, "queryKey"> & {
9597
+ queryKey?: UseSuspenseQueryOptions<GQLMemorySchemaRuleCountsQuery, TError, TData>["queryKey"];
9598
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
9599
+ export declare namespace useSuspenseMemorySchemaRuleCountsQuery {
9600
+ var getKey: (variables?: GQLMemorySchemaRuleCountsQueryVariables) => (string | Exact<{
9601
+ [key: string]: never;
9602
+ }>)[];
9603
+ }
9604
+ export declare const MemorySchemaTemplatesDocument = "\n query MemorySchemaTemplates {\n memorySchemaTemplates {\n templates {\n live\n schema {\n ...MemorySchemaFields\n }\n }\n error\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
9605
+ export declare function useMemorySchemaTemplatesQuery<TData = GQLMemorySchemaTemplatesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemorySchemaTemplatesQueryVariables, options?: Omit<UseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>, "queryKey"> & {
9606
+ queryKey?: UseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>["queryKey"];
9607
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
9608
+ export declare namespace useMemorySchemaTemplatesQuery {
9609
+ var getKey: (variables?: GQLMemorySchemaTemplatesQueryVariables) => (string | Exact<{
9610
+ [key: string]: never;
9611
+ }>)[];
9612
+ }
9613
+ export declare function useSuspenseMemorySchemaTemplatesQuery<TData = GQLMemorySchemaTemplatesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemorySchemaTemplatesQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>, "queryKey"> & {
9614
+ queryKey?: UseSuspenseQueryOptions<GQLMemorySchemaTemplatesQuery, TError, TData>["queryKey"];
9615
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
9616
+ export declare namespace useSuspenseMemorySchemaTemplatesQuery {
9617
+ var getKey: (variables?: GQLMemorySchemaTemplatesQueryVariables) => (string | Exact<{
9618
+ [key: string]: never;
9619
+ }>)[];
9620
+ }
9621
+ export declare const MemorySchemaUsageDocument = "\n query MemorySchemaUsage($iri: IRI!) {\n memorySchemaUsage(iri: $iri) {\n usage {\n iri\n memoryCount\n properties {\n path\n memoryCount\n options {\n value\n memoryCount\n }\n }\n rules {\n ruleIri\n label\n kind\n term\n value\n position\n }\n }\n error\n }\n}\n ";
9622
+ export declare function useMemorySchemaUsageQuery<TData = GQLMemorySchemaUsageQuery, TError = unknown>(client: GraphQLClient, variables: GQLMemorySchemaUsageQueryVariables, options?: Omit<UseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>, "queryKey"> & {
9623
+ queryKey?: UseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>["queryKey"];
9624
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
9625
+ export declare namespace useMemorySchemaUsageQuery {
9626
+ var getKey: (variables: GQLMemorySchemaUsageQueryVariables) => (string | Exact<{
9627
+ iri: Scalars["IRI"]["input"];
9628
+ }>)[];
9629
+ }
9630
+ export declare function useSuspenseMemorySchemaUsageQuery<TData = GQLMemorySchemaUsageQuery, TError = unknown>(client: GraphQLClient, variables: GQLMemorySchemaUsageQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>, "queryKey"> & {
9631
+ queryKey?: UseSuspenseQueryOptions<GQLMemorySchemaUsageQuery, TError, TData>["queryKey"];
9632
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
9633
+ export declare namespace useSuspenseMemorySchemaUsageQuery {
9634
+ var getKey: (variables: GQLMemorySchemaUsageQueryVariables) => (string | Exact<{
9635
+ iri: Scalars["IRI"]["input"];
9636
+ }>)[];
9637
+ }
9638
+ export declare const MemorySchemasDocument = "\n query MemorySchemas($includeArchived: Boolean) {\n memorySchemas(includeArchived: $includeArchived) {\n schemas {\n ...MemorySchemaFields\n }\n error\n }\n}\n \n fragment MemorySchemaFields on MemorySchema {\n iri\n label\n description\n status\n revision\n defaultMemoryKind\n defaultVolatility\n defaultImportance\n defaultScope\n extractionEnabled\n extractionGuidance\n templateStatus\n customized\n memoryCount\n createdAt\n createdBy\n updatedAt\n properties {\n ...MemorySchemaPropertyFields\n }\n}\n \n fragment MemorySchemaPropertyFields on MemorySchemaProperty {\n path\n label\n description\n order\n valueType\n dataType\n entityClass\n required\n multiValued\n allowedValues\n options {\n value\n label\n description\n }\n keyProperty\n computed\n minValue\n maxValue\n maxLength\n pattern\n defaultValue\n unit\n}\n ";
7555
9639
  export declare function useMemorySchemasQuery<TData = GQLMemorySchemasQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemorySchemasQueryVariables, options?: Omit<UseQueryOptions<GQLMemorySchemasQuery, TError, TData>, "queryKey"> & {
7556
9640
  queryKey?: UseQueryOptions<GQLMemorySchemasQuery, TError, TData>["queryKey"];
7557
9641
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
7558
9642
  export declare namespace useMemorySchemasQuery {
7559
9643
  var getKey: (variables?: GQLMemorySchemasQueryVariables) => (string | Exact<{
7560
- [key: string]: never;
9644
+ includeArchived?: InputMaybe<Scalars["Boolean"]["input"]>;
7561
9645
  }>)[];
7562
9646
  }
7563
9647
  export declare function useSuspenseMemorySchemasQuery<TData = GQLMemorySchemasQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMemorySchemasQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLMemorySchemasQuery, TError, TData>, "queryKey"> & {
@@ -7565,7 +9649,7 @@ export declare function useSuspenseMemorySchemasQuery<TData = GQLMemorySchemasQu
7565
9649
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
7566
9650
  export declare namespace useSuspenseMemorySchemasQuery {
7567
9651
  var getKey: (variables?: GQLMemorySchemasQueryVariables) => (string | Exact<{
7568
- [key: string]: never;
9652
+ includeArchived?: InputMaybe<Scalars["Boolean"]["input"]>;
7569
9653
  }>)[];
7570
9654
  }
7571
9655
  export declare const MetaInterestSuggestionsDocument = "\n query MetaInterestSuggestions($adAccountIri: IRI!, $term: String!, $limit: Int, $locale: String) {\n metaInterestSuggestions(\n adAccountIri: $adAccountIri\n term: $term\n limit: $limit\n locale: $locale\n ) {\n id\n name\n path\n audienceSizeLowerBound\n audienceSizeUpperBound\n }\n}\n ";