@manta-eu/client 0.1.9 → 0.1.10

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 (200) hide show
  1. package/README.md +21 -0
  2. package/dist/generated/graphql.d.ts +658 -1
  3. package/dist/generated/graphql.d.ts.map +1 -1
  4. package/dist/generated/graphql.js +371 -0
  5. package/dist/generated/graphql.js.map +1 -0
  6. package/dist/graphql-clients.d.ts +10 -1
  7. package/dist/graphql-clients.d.ts.map +1 -1
  8. package/dist/graphql-clients.js +25 -3
  9. package/dist/graphql-clients.js.map +1 -0
  10. package/dist/index.js +1 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/shared/action-document.js +1 -0
  13. package/dist/shared/action-document.js.map +1 -0
  14. package/dist/shared/action-plan.js +1 -0
  15. package/dist/shared/action-plan.js.map +1 -0
  16. package/dist/shared/agent-mode.js +1 -0
  17. package/dist/shared/agent-mode.js.map +1 -0
  18. package/dist/shared/agent-types.js +1 -0
  19. package/dist/shared/agent-types.js.map +1 -0
  20. package/dist/shared/chat-context.js +1 -0
  21. package/dist/shared/chat-context.js.map +1 -0
  22. package/dist/shared/chat-manager.d.ts +2 -0
  23. package/dist/shared/chat-manager.d.ts.map +1 -1
  24. package/dist/shared/chat-manager.js +3 -0
  25. package/dist/shared/chat-manager.js.map +1 -0
  26. package/dist/shared/chat-turn-errors.js +1 -0
  27. package/dist/shared/chat-turn-errors.js.map +1 -0
  28. package/dist/shared/constants.js +1 -0
  29. package/dist/shared/constants.js.map +1 -0
  30. package/dist/shared/conversation-starter-defaults.js +1 -0
  31. package/dist/shared/conversation-starter-defaults.js.map +1 -0
  32. package/dist/shared/datastore-id.js +1 -0
  33. package/dist/shared/datastore-id.js.map +1 -0
  34. package/dist/shared/datastore-path.js +1 -0
  35. package/dist/shared/datastore-path.js.map +1 -0
  36. package/dist/shared/duration.js +1 -0
  37. package/dist/shared/duration.js.map +1 -0
  38. package/dist/shared/email.js +1 -0
  39. package/dist/shared/email.js.map +1 -0
  40. package/dist/shared/entity-set.js +1 -0
  41. package/dist/shared/entity-set.js.map +1 -0
  42. package/dist/shared/error-utils.js +1 -0
  43. package/dist/shared/error-utils.js.map +1 -0
  44. package/dist/shared/explorer-paths.js +1 -0
  45. package/dist/shared/explorer-paths.js.map +1 -0
  46. package/dist/shared/fileIri.js +1 -0
  47. package/dist/shared/fileIri.js.map +1 -0
  48. package/dist/shared/index.js +1 -0
  49. package/dist/shared/index.js.map +1 -0
  50. package/dist/shared/inferal-stream.js +1 -0
  51. package/dist/shared/inferal-stream.js.map +1 -0
  52. package/dist/shared/live-context.js +1 -0
  53. package/dist/shared/live-context.js.map +1 -0
  54. package/dist/shared/maintenance-schedule.js +1 -0
  55. package/dist/shared/maintenance-schedule.js.map +1 -0
  56. package/dist/shared/memory-citation-sampling.js +1 -0
  57. package/dist/shared/memory-citation-sampling.js.map +1 -0
  58. package/dist/shared/memory-confidence.js +1 -0
  59. package/dist/shared/memory-confidence.js.map +1 -0
  60. package/dist/shared/memory-consolidation-limits.js +1 -0
  61. package/dist/shared/memory-consolidation-limits.js.map +1 -0
  62. package/dist/shared/memory-dates.js +1 -0
  63. package/dist/shared/memory-dates.js.map +1 -0
  64. package/dist/shared/memory-decay.js +1 -0
  65. package/dist/shared/memory-decay.js.map +1 -0
  66. package/dist/shared/memory-diversity.js +1 -0
  67. package/dist/shared/memory-diversity.js.map +1 -0
  68. package/dist/shared/memory-entity-recall.js +1 -0
  69. package/dist/shared/memory-entity-recall.js.map +1 -0
  70. package/dist/shared/memory-importance.js +1 -0
  71. package/dist/shared/memory-importance.js.map +1 -0
  72. package/dist/shared/memory-keyword-recall.js +1 -0
  73. package/dist/shared/memory-keyword-recall.js.map +1 -0
  74. package/dist/shared/memory-kind-iris.js +1 -0
  75. package/dist/shared/memory-kind-iris.js.map +1 -0
  76. package/dist/shared/memory-preload-gate.js +1 -0
  77. package/dist/shared/memory-preload-gate.js.map +1 -0
  78. package/dist/shared/memory-sources.js +1 -0
  79. package/dist/shared/memory-sources.js.map +1 -0
  80. package/dist/shared/memory-teams.js +1 -0
  81. package/dist/shared/memory-teams.js.map +1 -0
  82. package/dist/shared/memory-token-budget.js +1 -0
  83. package/dist/shared/memory-token-budget.js.map +1 -0
  84. package/dist/shared/memory-volatility.js +1 -0
  85. package/dist/shared/memory-volatility.js.map +1 -0
  86. package/dist/shared/message-utils.js +1 -0
  87. package/dist/shared/message-utils.js.map +1 -0
  88. package/dist/shared/model.js +1 -0
  89. package/dist/shared/model.js.map +1 -0
  90. package/dist/shared/org-roles.js +1 -0
  91. package/dist/shared/org-roles.js.map +1 -0
  92. package/dist/shared/page-context.js +1 -0
  93. package/dist/shared/page-context.js.map +1 -0
  94. package/dist/shared/permissions.js +1 -0
  95. package/dist/shared/permissions.js.map +1 -0
  96. package/dist/shared/questionnaire.js +1 -0
  97. package/dist/shared/questionnaire.js.map +1 -0
  98. package/dist/shared/rdf-namespaces.js +1 -0
  99. package/dist/shared/rdf-namespaces.js.map +1 -0
  100. package/dist/shared/rule-iri.js +1 -0
  101. package/dist/shared/rule-iri.js.map +1 -0
  102. package/dist/shared/rule-search.js +1 -0
  103. package/dist/shared/rule-search.js.map +1 -0
  104. package/dist/shared/session-types.js +1 -0
  105. package/dist/shared/session-types.js.map +1 -0
  106. package/dist/shared/stakeholder-iri.js +1 -0
  107. package/dist/shared/stakeholder-iri.js.map +1 -0
  108. package/dist/shared/team-activation.js +1 -0
  109. package/dist/shared/team-activation.js.map +1 -0
  110. package/dist/shared/team-filters.js +1 -0
  111. package/dist/shared/team-filters.js.map +1 -0
  112. package/dist/shared/team.js +1 -0
  113. package/dist/shared/team.js.map +1 -0
  114. package/dist/shared/tools/coercers.js +1 -0
  115. package/dist/shared/tools/coercers.js.map +1 -0
  116. package/dist/shared/tools/index.js +1 -0
  117. package/dist/shared/tools/index.js.map +1 -0
  118. package/dist/shared/tools/metadata.js +1 -0
  119. package/dist/shared/tools/metadata.js.map +1 -0
  120. package/dist/shared/tools/test-triple.js +1 -0
  121. package/dist/shared/tools/test-triple.js.map +1 -0
  122. package/dist/shared/tools/types.js +1 -0
  123. package/dist/shared/tools/types.js.map +1 -0
  124. package/dist/shared/upload.js +1 -0
  125. package/dist/shared/upload.js.map +1 -0
  126. package/dist/shared/website-url.js +1 -0
  127. package/dist/shared/website-url.js.map +1 -0
  128. package/dist/shared/workspace-artifacts.js +1 -0
  129. package/dist/shared/workspace-artifacts.js.map +1 -0
  130. package/dist/shared/writable-shape-query.js +1 -0
  131. package/dist/shared/writable-shape-query.js.map +1 -0
  132. package/dist/types/jsonld.js +1 -0
  133. package/dist/types/jsonld.js.map +1 -0
  134. package/dist/types/sparql-types.js +1 -0
  135. package/dist/types/sparql-types.js.map +1 -0
  136. package/package.json +11 -6
  137. package/src/generated/graphql.ts +11329 -0
  138. package/src/graphql-clients.ts +67 -0
  139. package/src/index.ts +2 -0
  140. package/src/shared/action-document.ts +56 -0
  141. package/src/shared/action-plan.ts +1 -0
  142. package/src/shared/agent-mode.ts +46 -0
  143. package/src/shared/agent-types.ts +46 -0
  144. package/src/shared/chat-context.ts +47 -0
  145. package/src/shared/chat-manager.ts +197 -0
  146. package/src/shared/chat-turn-errors.ts +25 -0
  147. package/src/shared/constants.ts +17 -0
  148. package/src/shared/conversation-starter-defaults.ts +27 -0
  149. package/src/shared/datastore-id.ts +25 -0
  150. package/src/shared/datastore-path.ts +80 -0
  151. package/src/shared/duration.ts +61 -0
  152. package/src/shared/email.ts +54 -0
  153. package/src/shared/entity-set.ts +33 -0
  154. package/src/shared/error-utils.ts +79 -0
  155. package/src/shared/explorer-paths.ts +9 -0
  156. package/src/shared/fileIri.ts +25 -0
  157. package/src/shared/index.ts +31 -0
  158. package/src/shared/inferal-stream.ts +2 -0
  159. package/src/shared/live-context.ts +15 -0
  160. package/src/shared/maintenance-schedule.ts +47 -0
  161. package/src/shared/memory-citation-sampling.ts +26 -0
  162. package/src/shared/memory-confidence.ts +8 -0
  163. package/src/shared/memory-consolidation-limits.ts +9 -0
  164. package/src/shared/memory-dates.ts +7 -0
  165. package/src/shared/memory-decay.ts +70 -0
  166. package/src/shared/memory-diversity.ts +55 -0
  167. package/src/shared/memory-entity-recall.ts +26 -0
  168. package/src/shared/memory-importance.ts +12 -0
  169. package/src/shared/memory-keyword-recall.ts +149 -0
  170. package/src/shared/memory-kind-iris.ts +36 -0
  171. package/src/shared/memory-preload-gate.ts +150 -0
  172. package/src/shared/memory-sources.ts +5 -0
  173. package/src/shared/memory-teams.ts +3 -0
  174. package/src/shared/memory-token-budget.ts +31 -0
  175. package/src/shared/memory-volatility.ts +90 -0
  176. package/src/shared/message-utils.ts +37 -0
  177. package/src/shared/model.ts +117 -0
  178. package/src/shared/org-roles.ts +21 -0
  179. package/src/shared/page-context.ts +7 -0
  180. package/src/shared/permissions.ts +19 -0
  181. package/src/shared/questionnaire.ts +76 -0
  182. package/src/shared/rdf-namespaces.ts +62 -0
  183. package/src/shared/rule-iri.ts +15 -0
  184. package/src/shared/rule-search.ts +1 -0
  185. package/src/shared/session-types.ts +14 -0
  186. package/src/shared/stakeholder-iri.ts +23 -0
  187. package/src/shared/team-activation.ts +9 -0
  188. package/src/shared/team-filters.ts +33 -0
  189. package/src/shared/team.ts +243 -0
  190. package/src/shared/tools/coercers.ts +82 -0
  191. package/src/shared/tools/index.ts +49 -0
  192. package/src/shared/tools/metadata.ts +205 -0
  193. package/src/shared/tools/test-triple.ts +33 -0
  194. package/src/shared/tools/types.ts +302 -0
  195. package/src/shared/upload.ts +57 -0
  196. package/src/shared/website-url.ts +32 -0
  197. package/src/shared/workspace-artifacts.ts +68 -0
  198. package/src/shared/writable-shape-query.ts +24 -0
  199. package/src/types/jsonld.ts +19 -0
  200. package/src/types/sparql-types.ts +10 -0
@@ -768,6 +768,24 @@ export type GQLDataConnectorType = {
768
768
  connectorType: Scalars["String"]["output"];
769
769
  fields: Array<GQLDataConnectorField>;
770
770
  };
771
+ export type GQLDatastoreInvoice = {
772
+ __typename?: "DatastoreInvoice";
773
+ created: Scalars["Int"]["output"];
774
+ currency: Scalars["String"]["output"];
775
+ datastoreId?: Maybe<Scalars["String"]["output"]>;
776
+ dueDate?: Maybe<Scalars["Int"]["output"]>;
777
+ hostedInvoiceUrl?: Maybe<Scalars["String"]["output"]>;
778
+ invoiceId: Scalars["String"]["output"];
779
+ invoicePdf?: Maybe<Scalars["String"]["output"]>;
780
+ number?: Maybe<Scalars["String"]["output"]>;
781
+ status: Scalars["String"]["output"];
782
+ total: Scalars["Int"]["output"];
783
+ };
784
+ export type GQLDatastoreInvoicePage = {
785
+ __typename?: "DatastoreInvoicePage";
786
+ invoices: Array<GQLDatastoreInvoice>;
787
+ nextCursor?: Maybe<Scalars["String"]["output"]>;
788
+ };
771
789
  export type GQLDatastoreProvisioningStatus = {
772
790
  __typename?: "DatastoreProvisioningStatus";
773
791
  datastoreId: Scalars["String"]["output"];
@@ -932,6 +950,64 @@ export type GQLExecuteActionUpdateInput = {
932
950
  rdfType: Scalars["IRI"]["input"];
933
951
  subjectIri: Scalars["IRI"]["input"];
934
952
  };
953
+ export type GQLExternalApp = {
954
+ __typename?: "ExternalApp";
955
+ clientId: Scalars["String"]["output"];
956
+ createdAt?: Maybe<Scalars["String"]["output"]>;
957
+ createdBy?: Maybe<Scalars["String"]["output"]>;
958
+ datastores: Array<GQLExternalAppDatastore>;
959
+ enabled: Scalars["Boolean"]["output"];
960
+ homeUrl?: Maybe<Scalars["String"]["output"]>;
961
+ kind: GQLExternalAppKind;
962
+ machineAccess: Scalars["Boolean"]["output"];
963
+ name: Scalars["String"]["output"];
964
+ org?: Maybe<Scalars["String"]["output"]>;
965
+ orgName?: Maybe<Scalars["String"]["output"]>;
966
+ permissions: Array<GQLExternalAppPermission>;
967
+ previousSecretExpiresAt?: Maybe<Scalars["String"]["output"]>;
968
+ redirectUris: Array<Scalars["String"]["output"]>;
969
+ };
970
+ export type GQLExternalAppConnection = {
971
+ __typename?: "ExternalAppConnection";
972
+ discoveryUrl: Scalars["String"]["output"];
973
+ issuer: Scalars["String"]["output"];
974
+ tokenEndpoint: Scalars["String"]["output"];
975
+ };
976
+ export type GQLExternalAppCredentials = {
977
+ __typename?: "ExternalAppCredentials";
978
+ app: GQLExternalApp;
979
+ clientSecret: Scalars["String"]["output"];
980
+ connection: GQLExternalAppConnection;
981
+ };
982
+ export type GQLExternalAppDatastore = {
983
+ __typename?: "ExternalAppDatastore";
984
+ id: Scalars["String"]["output"];
985
+ name: Scalars["String"]["output"];
986
+ };
987
+ export type GQLExternalAppDatastoreOption = {
988
+ __typename?: "ExternalAppDatastoreOption";
989
+ depth: Scalars["Int"]["output"];
990
+ id: Scalars["String"]["output"];
991
+ name: Scalars["String"]["output"];
992
+ };
993
+ export type GQLExternalAppDeletedResponse = {
994
+ __typename?: "ExternalAppDeletedResponse";
995
+ clientId: Scalars["String"]["output"];
996
+ deleted: Scalars["Boolean"]["output"];
997
+ };
998
+ export declare enum GQLExternalAppKind {
999
+ Machine = "MACHINE",
1000
+ SignIn = "SIGN_IN"
1001
+ }
1002
+ export type GQLExternalAppPage = {
1003
+ __typename?: "ExternalAppPage";
1004
+ apps: Array<GQLExternalApp>;
1005
+ connection: GQLExternalAppConnection;
1006
+ nextFirst?: Maybe<Scalars["Int"]["output"]>;
1007
+ };
1008
+ export declare enum GQLExternalAppPermission {
1009
+ WriteData = "WRITE_DATA"
1010
+ }
935
1011
  export declare enum GQLFactValueStatus {
936
1012
  Changed = "CHANGED",
937
1013
  Removed = "REMOVED",
@@ -1440,12 +1516,14 @@ export type GQLMutation = {
1440
1516
  connectStripeAccount: GQLConnectStripeAccountResponse;
1441
1517
  consolidateMemories: GQLCreateMemoryResponse;
1442
1518
  createDataConnection: GQLDataConnectionTestState;
1519
+ createExternalApp: GQLExternalAppCredentials;
1443
1520
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1444
1521
  createMemory: GQLCreateMemoryResponse;
1445
1522
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1446
1523
  dashSetupConnect: GQLDashSetupProgress;
1447
1524
  deleteActionPlan: GQLDeleteActionPlanResponse;
1448
1525
  deleteDataConnection: GQLDeleteDataConnectionResponse;
1526
+ deleteExternalApp: GQLExternalAppDeletedResponse;
1449
1527
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1450
1528
  deleteMemory: GQLDeleteMemoryResponse;
1451
1529
  deleteUserAccount: GQLDeleteUserAccountResponse;
@@ -1486,12 +1564,16 @@ export type GQLMutation = {
1486
1564
  restoreMemory: GQLRestoreMemoryResponse;
1487
1565
  resumeLDESStream: GQLLdesStreamResponse;
1488
1566
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
1567
+ revokePreviousExternalAppSecret: GQLExternalApp;
1568
+ rotateExternalAppSecret: GQLExternalAppCredentials;
1489
1569
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
1570
+ setExternalAppEnabled: GQLExternalApp;
1490
1571
  setTeamMemberEnabled: GQLTeamMemberEnabledResponse;
1491
1572
  stageRuleOperation: GQLStageRuleOperationResponse;
1492
1573
  startLDESStream: GQLLdesStreamResponse;
1493
1574
  syncGmailIntegration: GQLGmailIntegration;
1494
1575
  updateDataConnection: GQLDataConnectionTestState;
1576
+ updateExternalApp: GQLExternalApp;
1495
1577
  updateMemory: GQLUpdateMemoryResponse;
1496
1578
  updateTeamMember: GQLTeamMemberUpdateResponse;
1497
1579
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
@@ -1541,6 +1623,16 @@ export type GQLMutationConsolidateMemoriesArgs = {
1541
1623
  export type GQLMutationCreateDataConnectionArgs = {
1542
1624
  input: GQLCreateDataConnectionInput;
1543
1625
  };
1626
+ export type GQLMutationCreateExternalAppArgs = {
1627
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1628
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1629
+ kind?: InputMaybe<GQLExternalAppKind>;
1630
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1631
+ name: Scalars["String"]["input"];
1632
+ org?: InputMaybe<Scalars["String"]["input"]>;
1633
+ permissions?: InputMaybe<Array<GQLExternalAppPermission>>;
1634
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1635
+ };
1544
1636
  export type GQLMutationCreateInferalIntegrationArgs = {
1545
1637
  input: GQLCreateInferalIntegrationInput;
1546
1638
  };
@@ -1562,6 +1654,10 @@ export type GQLMutationDeleteActionPlanArgs = {
1562
1654
  export type GQLMutationDeleteDataConnectionArgs = {
1563
1655
  id: Scalars["String"]["input"];
1564
1656
  };
1657
+ export type GQLMutationDeleteExternalAppArgs = {
1658
+ clientId: Scalars["String"]["input"];
1659
+ org?: InputMaybe<Scalars["String"]["input"]>;
1660
+ };
1565
1661
  export type GQLMutationDeleteLdesStreamArgs = {
1566
1662
  url: Scalars["String"]["input"];
1567
1663
  };
@@ -1696,9 +1792,23 @@ export type GQLMutationResumeLdesStreamArgs = {
1696
1792
  export type GQLMutationRevokeOperatorRoleArgs = {
1697
1793
  userId: Scalars["String"]["input"];
1698
1794
  };
1795
+ export type GQLMutationRevokePreviousExternalAppSecretArgs = {
1796
+ clientId: Scalars["String"]["input"];
1797
+ org?: InputMaybe<Scalars["String"]["input"]>;
1798
+ };
1799
+ export type GQLMutationRotateExternalAppSecretArgs = {
1800
+ clientId: Scalars["String"]["input"];
1801
+ keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
1802
+ org?: InputMaybe<Scalars["String"]["input"]>;
1803
+ };
1699
1804
  export type GQLMutationSelfServeProvisionOrganizationArgs = {
1700
1805
  input: GQLSelfServeProvisionOrganizationInput;
1701
1806
  };
1807
+ export type GQLMutationSetExternalAppEnabledArgs = {
1808
+ clientId: Scalars["String"]["input"];
1809
+ enabled: Scalars["Boolean"]["input"];
1810
+ org?: InputMaybe<Scalars["String"]["input"]>;
1811
+ };
1702
1812
  export type GQLMutationSetTeamMemberEnabledArgs = {
1703
1813
  enabled: Scalars["Boolean"]["input"];
1704
1814
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -1716,6 +1826,16 @@ export type GQLMutationSyncGmailIntegrationArgs = {
1716
1826
  export type GQLMutationUpdateDataConnectionArgs = {
1717
1827
  input: GQLUpdateDataConnectionInput;
1718
1828
  };
1829
+ export type GQLMutationUpdateExternalAppArgs = {
1830
+ clientId: Scalars["String"]["input"];
1831
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1832
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1833
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1834
+ name?: InputMaybe<Scalars["String"]["input"]>;
1835
+ org?: InputMaybe<Scalars["String"]["input"]>;
1836
+ permissions?: InputMaybe<Array<GQLExternalAppPermission>>;
1837
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1838
+ };
1719
1839
  export type GQLMutationUpdateMemoryArgs = {
1720
1840
  input: GQLUpdateMemoryInput;
1721
1841
  };
@@ -1835,11 +1955,14 @@ export type GQLQuery = {
1835
1955
  dashSetupProgress: GQLDashSetupProgress;
1836
1956
  dataConnections: Array<GQLDataConnection>;
1837
1957
  dataConnectorTypes: Array<GQLDataConnectorType>;
1958
+ datastoreInvoices: GQLDatastoreInvoicePage;
1838
1959
  datastoreProvisioningStatuses: Array<GQLDatastoreProvisioningStatus>;
1839
1960
  datastoreSubscriptions: Array<GQLDatastoreSubscription>;
1840
1961
  datastoreTree: Array<GQLDatastoreTreeNode>;
1841
1962
  detectMemoryConflicts: GQLDetectMemoryConflictsResult;
1842
1963
  explainRDFoxFact: GQLRdFoxExplanationResponse;
1964
+ externalAppDatastores: Array<GQLExternalAppDatastoreOption>;
1965
+ externalApps: GQLExternalAppPage;
1843
1966
  gmailIntegrations: Array<GQLGmailIntegration>;
1844
1967
  googleAnalyticsSetupProgress: GQLGoogleAnalyticsSetupProgress;
1845
1968
  googleSetupProgress: GQLGoogleSetupProgress;
@@ -1911,6 +2034,11 @@ export type GQLQueryCurrentFactValueArgs = {
1911
2034
  predicate?: InputMaybe<Scalars["String"]["input"]>;
1912
2035
  subject: Scalars["String"]["input"];
1913
2036
  };
2037
+ export type GQLQueryDatastoreInvoicesArgs = {
2038
+ after?: InputMaybe<Scalars["String"]["input"]>;
2039
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
2040
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2041
+ };
1914
2042
  export type GQLQueryDatastoreProvisioningStatusesArgs = {
1915
2043
  datastoreIds: Array<Scalars["String"]["input"]>;
1916
2044
  };
@@ -1928,6 +2056,15 @@ export type GQLQueryExplainRdFoxFactArgs = {
1928
2056
  subject: Scalars["String"]["input"];
1929
2057
  summarize?: InputMaybe<Scalars["Boolean"]["input"]>;
1930
2058
  };
2059
+ export type GQLQueryExternalAppDatastoresArgs = {
2060
+ org?: InputMaybe<Scalars["String"]["input"]>;
2061
+ };
2062
+ export type GQLQueryExternalAppsArgs = {
2063
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2064
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2065
+ org?: InputMaybe<Scalars["String"]["input"]>;
2066
+ search?: InputMaybe<Scalars["String"]["input"]>;
2067
+ };
1931
2068
  export type GQLQueryKnowledgeGraphStateArgs = {
1932
2069
  dataVersion?: InputMaybe<Scalars["String"]["input"]>;
1933
2070
  };
@@ -2210,6 +2347,7 @@ export type GQLSessionOrgRole = {
2210
2347
  export type GQLSessionUser = {
2211
2348
  __typename?: "SessionUser";
2212
2349
  adminOrgs: Array<Scalars["String"]["output"]>;
2350
+ canManageExternalApps: Scalars["Boolean"]["output"];
2213
2351
  canManageIntegrations: Scalars["Boolean"]["output"];
2214
2352
  canManageSharedMemories: Scalars["Boolean"]["output"];
2215
2353
  canManageStreams: Scalars["Boolean"]["output"];
@@ -2573,6 +2711,33 @@ export type GQLWoocommerceProviderInput = {
2573
2711
  consumerSecret: Scalars["String"]["input"];
2574
2712
  sourceUrl: Scalars["String"]["input"];
2575
2713
  };
2714
+ export type GQLExternalAppConnectionFieldsFragment = {
2715
+ __typename?: "ExternalAppConnection";
2716
+ issuer: string;
2717
+ discoveryUrl: string;
2718
+ tokenEndpoint: string;
2719
+ };
2720
+ export type GQLExternalAppFieldsFragment = {
2721
+ __typename?: "ExternalApp";
2722
+ clientId: string;
2723
+ name: string;
2724
+ kind: GQLExternalAppKind;
2725
+ redirectUris: Array<string>;
2726
+ homeUrl?: string | null;
2727
+ machineAccess: boolean;
2728
+ enabled: boolean;
2729
+ org?: string | null;
2730
+ orgName?: string | null;
2731
+ previousSecretExpiresAt?: string | null;
2732
+ permissions: Array<GQLExternalAppPermission>;
2733
+ createdAt?: string | null;
2734
+ createdBy?: string | null;
2735
+ datastores: Array<{
2736
+ __typename?: "ExternalAppDatastore";
2737
+ id: string;
2738
+ name: string;
2739
+ }>;
2740
+ };
2576
2741
  export type GQLMemoryFieldsFragment = {
2577
2742
  __typename?: "Memory";
2578
2743
  iri: string;
@@ -2635,6 +2800,19 @@ export type GQLAbortUploadMutation = {
2635
2800
  ok: boolean;
2636
2801
  };
2637
2802
  };
2803
+ export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
2804
+ subscriptionId: Scalars["String"]["input"];
2805
+ datastoreId: Scalars["String"]["input"];
2806
+ }>;
2807
+ export type GQLAttributeStripeSubscriptionMutation = {
2808
+ __typename?: "Mutation";
2809
+ attributeStripeSubscription: {
2810
+ __typename?: "AttributeStripeSubscriptionResponse";
2811
+ success: boolean;
2812
+ status?: string | null;
2813
+ error?: string | null;
2814
+ };
2815
+ };
2638
2816
  export type GQLAwaitDataConnectionTestMutationVariables = Exact<{
2639
2817
  id: Scalars["String"]["input"];
2640
2818
  }>;
@@ -2696,6 +2874,19 @@ export type GQLCommitStagedRulesMutation = {
2696
2874
  error?: string | null;
2697
2875
  };
2698
2876
  };
2877
+ export type GQLCompleteStripeCheckoutMutationVariables = Exact<{
2878
+ sessionId: Scalars["String"]["input"];
2879
+ }>;
2880
+ export type GQLCompleteStripeCheckoutMutation = {
2881
+ __typename?: "Mutation";
2882
+ completeStripeCheckout: {
2883
+ __typename?: "CompleteStripeCheckoutResponse";
2884
+ success: boolean;
2885
+ datastoreId?: string | null;
2886
+ status?: string | null;
2887
+ error?: string | null;
2888
+ };
2889
+ };
2699
2890
  export type GQLCompleteUploadMutationVariables = Exact<{
2700
2891
  input: GQLCompleteUploadInput;
2701
2892
  }>;
@@ -2753,6 +2944,50 @@ export type GQLCreateDataConnectionMutation = {
2753
2944
  error?: string | null;
2754
2945
  };
2755
2946
  };
2947
+ export type GQLCreateExternalAppMutationVariables = Exact<{
2948
+ org?: InputMaybe<Scalars["String"]["input"]>;
2949
+ name: Scalars["String"]["input"];
2950
+ kind?: InputMaybe<GQLExternalAppKind>;
2951
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
2952
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
2953
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
2954
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
2955
+ permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
2956
+ }>;
2957
+ export type GQLCreateExternalAppMutation = {
2958
+ __typename?: "Mutation";
2959
+ createExternalApp: {
2960
+ __typename?: "ExternalAppCredentials";
2961
+ clientSecret: string;
2962
+ app: {
2963
+ __typename?: "ExternalApp";
2964
+ clientId: string;
2965
+ name: string;
2966
+ kind: GQLExternalAppKind;
2967
+ redirectUris: Array<string>;
2968
+ homeUrl?: string | null;
2969
+ machineAccess: boolean;
2970
+ enabled: boolean;
2971
+ org?: string | null;
2972
+ orgName?: string | null;
2973
+ previousSecretExpiresAt?: string | null;
2974
+ permissions: Array<GQLExternalAppPermission>;
2975
+ createdAt?: string | null;
2976
+ createdBy?: string | null;
2977
+ datastores: Array<{
2978
+ __typename?: "ExternalAppDatastore";
2979
+ id: string;
2980
+ name: string;
2981
+ }>;
2982
+ };
2983
+ connection: {
2984
+ __typename?: "ExternalAppConnection";
2985
+ issuer: string;
2986
+ discoveryUrl: string;
2987
+ tokenEndpoint: string;
2988
+ };
2989
+ };
2990
+ };
2756
2991
  export type GQLCreateInferalIntegrationMutationVariables = Exact<{
2757
2992
  input: GQLCreateInferalIntegrationInput;
2758
2993
  }>;
@@ -2802,6 +3037,21 @@ export type GQLCreateMemoryMutation = {
2802
3037
  } | null;
2803
3038
  };
2804
3039
  };
3040
+ export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
3041
+ datastoreId: Scalars["String"]["input"];
3042
+ priceId: Scalars["String"]["input"];
3043
+ successUrl: Scalars["String"]["input"];
3044
+ cancelUrl: Scalars["String"]["input"];
3045
+ }>;
3046
+ export type GQLCreateStripeCheckoutSessionMutation = {
3047
+ __typename?: "Mutation";
3048
+ createStripeCheckoutSession: {
3049
+ __typename?: "CreateStripeCheckoutSessionResponse";
3050
+ success: boolean;
3051
+ url?: string | null;
3052
+ error?: string | null;
3053
+ };
3054
+ };
2805
3055
  export type GQLDashSetupConnectMutationVariables = Exact<{
2806
3056
  folderIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
2807
3057
  }>;
@@ -2846,6 +3096,18 @@ export type GQLDeleteDataConnectionMutation = {
2846
3096
  success: boolean;
2847
3097
  };
2848
3098
  };
3099
+ export type GQLDeleteExternalAppMutationVariables = Exact<{
3100
+ org?: InputMaybe<Scalars["String"]["input"]>;
3101
+ clientId: Scalars["String"]["input"];
3102
+ }>;
3103
+ export type GQLDeleteExternalAppMutation = {
3104
+ __typename?: "Mutation";
3105
+ deleteExternalApp: {
3106
+ __typename?: "ExternalAppDeletedResponse";
3107
+ clientId: string;
3108
+ deleted: boolean;
3109
+ };
3110
+ };
2849
3111
  export type GQLDeleteLdesStreamMutationVariables = Exact<{
2850
3112
  url: Scalars["String"]["input"];
2851
3113
  }>;
@@ -3372,6 +3634,102 @@ export type GQLRevokeOperatorRoleMutation = {
3372
3634
  operator: boolean;
3373
3635
  };
3374
3636
  };
3637
+ export type GQLRevokePreviousExternalAppSecretMutationVariables = Exact<{
3638
+ org?: InputMaybe<Scalars["String"]["input"]>;
3639
+ clientId: Scalars["String"]["input"];
3640
+ }>;
3641
+ export type GQLRevokePreviousExternalAppSecretMutation = {
3642
+ __typename?: "Mutation";
3643
+ revokePreviousExternalAppSecret: {
3644
+ __typename?: "ExternalApp";
3645
+ clientId: string;
3646
+ name: string;
3647
+ kind: GQLExternalAppKind;
3648
+ redirectUris: Array<string>;
3649
+ homeUrl?: string | null;
3650
+ machineAccess: boolean;
3651
+ enabled: boolean;
3652
+ org?: string | null;
3653
+ orgName?: string | null;
3654
+ previousSecretExpiresAt?: string | null;
3655
+ permissions: Array<GQLExternalAppPermission>;
3656
+ createdAt?: string | null;
3657
+ createdBy?: string | null;
3658
+ datastores: Array<{
3659
+ __typename?: "ExternalAppDatastore";
3660
+ id: string;
3661
+ name: string;
3662
+ }>;
3663
+ };
3664
+ };
3665
+ export type GQLRotateExternalAppSecretMutationVariables = Exact<{
3666
+ org?: InputMaybe<Scalars["String"]["input"]>;
3667
+ clientId: Scalars["String"]["input"];
3668
+ keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
3669
+ }>;
3670
+ export type GQLRotateExternalAppSecretMutation = {
3671
+ __typename?: "Mutation";
3672
+ rotateExternalAppSecret: {
3673
+ __typename?: "ExternalAppCredentials";
3674
+ clientSecret: string;
3675
+ app: {
3676
+ __typename?: "ExternalApp";
3677
+ clientId: string;
3678
+ name: string;
3679
+ kind: GQLExternalAppKind;
3680
+ redirectUris: Array<string>;
3681
+ homeUrl?: string | null;
3682
+ machineAccess: boolean;
3683
+ enabled: boolean;
3684
+ org?: string | null;
3685
+ orgName?: string | null;
3686
+ previousSecretExpiresAt?: string | null;
3687
+ permissions: Array<GQLExternalAppPermission>;
3688
+ createdAt?: string | null;
3689
+ createdBy?: string | null;
3690
+ datastores: Array<{
3691
+ __typename?: "ExternalAppDatastore";
3692
+ id: string;
3693
+ name: string;
3694
+ }>;
3695
+ };
3696
+ connection: {
3697
+ __typename?: "ExternalAppConnection";
3698
+ issuer: string;
3699
+ discoveryUrl: string;
3700
+ tokenEndpoint: string;
3701
+ };
3702
+ };
3703
+ };
3704
+ export type GQLSetExternalAppEnabledMutationVariables = Exact<{
3705
+ org?: InputMaybe<Scalars["String"]["input"]>;
3706
+ clientId: Scalars["String"]["input"];
3707
+ enabled: Scalars["Boolean"]["input"];
3708
+ }>;
3709
+ export type GQLSetExternalAppEnabledMutation = {
3710
+ __typename?: "Mutation";
3711
+ setExternalAppEnabled: {
3712
+ __typename?: "ExternalApp";
3713
+ clientId: string;
3714
+ name: string;
3715
+ kind: GQLExternalAppKind;
3716
+ redirectUris: Array<string>;
3717
+ homeUrl?: string | null;
3718
+ machineAccess: boolean;
3719
+ enabled: boolean;
3720
+ org?: string | null;
3721
+ orgName?: string | null;
3722
+ previousSecretExpiresAt?: string | null;
3723
+ permissions: Array<GQLExternalAppPermission>;
3724
+ createdAt?: string | null;
3725
+ createdBy?: string | null;
3726
+ datastores: Array<{
3727
+ __typename?: "ExternalAppDatastore";
3728
+ id: string;
3729
+ name: string;
3730
+ }>;
3731
+ };
3732
+ };
3375
3733
  export type GQLStageRuleOperationMutationVariables = Exact<{
3376
3734
  input: GQLStageRuleOperationInput;
3377
3735
  }>;
@@ -3432,6 +3790,40 @@ export type GQLUpdateDataConnectionMutation = {
3432
3790
  error?: string | null;
3433
3791
  };
3434
3792
  };
3793
+ export type GQLUpdateExternalAppMutationVariables = Exact<{
3794
+ org?: InputMaybe<Scalars["String"]["input"]>;
3795
+ clientId: Scalars["String"]["input"];
3796
+ name?: InputMaybe<Scalars["String"]["input"]>;
3797
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3798
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
3799
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
3800
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3801
+ permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
3802
+ }>;
3803
+ export type GQLUpdateExternalAppMutation = {
3804
+ __typename?: "Mutation";
3805
+ updateExternalApp: {
3806
+ __typename?: "ExternalApp";
3807
+ clientId: string;
3808
+ name: string;
3809
+ kind: GQLExternalAppKind;
3810
+ redirectUris: Array<string>;
3811
+ homeUrl?: string | null;
3812
+ machineAccess: boolean;
3813
+ enabled: boolean;
3814
+ org?: string | null;
3815
+ orgName?: string | null;
3816
+ previousSecretExpiresAt?: string | null;
3817
+ permissions: Array<GQLExternalAppPermission>;
3818
+ createdAt?: string | null;
3819
+ createdBy?: string | null;
3820
+ datastores: Array<{
3821
+ __typename?: "ExternalAppDatastore";
3822
+ id: string;
3823
+ name: string;
3824
+ }>;
3825
+ };
3826
+ };
3435
3827
  export type GQLUpdateMemoryMutationVariables = Exact<{
3436
3828
  input: GQLUpdateMemoryInput;
3437
3829
  }>;
@@ -4111,6 +4503,31 @@ export type GQLDataConnectorTypesQuery = {
4111
4503
  }>;
4112
4504
  }>;
4113
4505
  };
4506
+ export type GQLDatastoreInvoicesQueryVariables = Exact<{
4507
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
4508
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4509
+ after?: InputMaybe<Scalars["String"]["input"]>;
4510
+ }>;
4511
+ export type GQLDatastoreInvoicesQuery = {
4512
+ __typename?: "Query";
4513
+ datastoreInvoices: {
4514
+ __typename?: "DatastoreInvoicePage";
4515
+ nextCursor?: string | null;
4516
+ invoices: Array<{
4517
+ __typename?: "DatastoreInvoice";
4518
+ invoiceId: string;
4519
+ datastoreId?: string | null;
4520
+ number?: string | null;
4521
+ status: string;
4522
+ currency: string;
4523
+ total: number;
4524
+ created: number;
4525
+ dueDate?: number | null;
4526
+ hostedInvoiceUrl?: string | null;
4527
+ invoicePdf?: string | null;
4528
+ }>;
4529
+ };
4530
+ };
4114
4531
  export type GQLDatastoreProvisioningStatusesQueryVariables = Exact<{
4115
4532
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
4116
4533
  }>;
@@ -4127,6 +4544,18 @@ export type GQLDatastoreProvisioningStatusesQuery = {
4127
4544
  ready: boolean;
4128
4545
  }>;
4129
4546
  };
4547
+ export type GQLDatastoreSubscriptionsQueryVariables = Exact<{
4548
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
4549
+ }>;
4550
+ export type GQLDatastoreSubscriptionsQuery = {
4551
+ __typename?: "Query";
4552
+ datastoreSubscriptions: Array<{
4553
+ __typename?: "DatastoreSubscription";
4554
+ datastoreId: string;
4555
+ status: string;
4556
+ inGoodStanding: boolean;
4557
+ }>;
4558
+ };
4130
4559
  export type GQLDatastoreTreeQueryVariables = Exact<{
4131
4560
  [key: string]: never;
4132
4561
  }>;
@@ -4190,6 +4619,58 @@ export type GQLExplainRdFoxFactQuery = {
4190
4619
  error?: string | null;
4191
4620
  };
4192
4621
  };
4622
+ export type GQLExternalAppDatastoresQueryVariables = Exact<{
4623
+ org?: InputMaybe<Scalars["String"]["input"]>;
4624
+ }>;
4625
+ export type GQLExternalAppDatastoresQuery = {
4626
+ __typename?: "Query";
4627
+ externalAppDatastores: Array<{
4628
+ __typename?: "ExternalAppDatastoreOption";
4629
+ id: string;
4630
+ name: string;
4631
+ depth: number;
4632
+ }>;
4633
+ };
4634
+ export type GQLExternalAppsQueryVariables = Exact<{
4635
+ org?: InputMaybe<Scalars["String"]["input"]>;
4636
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4637
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4638
+ search?: InputMaybe<Scalars["String"]["input"]>;
4639
+ }>;
4640
+ export type GQLExternalAppsQuery = {
4641
+ __typename?: "Query";
4642
+ externalApps: {
4643
+ __typename?: "ExternalAppPage";
4644
+ nextFirst?: number | null;
4645
+ apps: Array<{
4646
+ __typename?: "ExternalApp";
4647
+ clientId: string;
4648
+ name: string;
4649
+ kind: GQLExternalAppKind;
4650
+ redirectUris: Array<string>;
4651
+ homeUrl?: string | null;
4652
+ machineAccess: boolean;
4653
+ enabled: boolean;
4654
+ org?: string | null;
4655
+ orgName?: string | null;
4656
+ previousSecretExpiresAt?: string | null;
4657
+ permissions: Array<GQLExternalAppPermission>;
4658
+ createdAt?: string | null;
4659
+ createdBy?: string | null;
4660
+ datastores: Array<{
4661
+ __typename?: "ExternalAppDatastore";
4662
+ id: string;
4663
+ name: string;
4664
+ }>;
4665
+ }>;
4666
+ connection: {
4667
+ __typename?: "ExternalAppConnection";
4668
+ issuer: string;
4669
+ discoveryUrl: string;
4670
+ tokenEndpoint: string;
4671
+ };
4672
+ };
4673
+ };
4193
4674
  export type GQLGmailIntegrationsQueryVariables = Exact<{
4194
4675
  [key: string]: never;
4195
4676
  }>;
@@ -4607,6 +5088,7 @@ export type GQLSessionContextQuery = {
4607
5088
  canManageStreams: boolean;
4608
5089
  canManageSharedMemories: boolean;
4609
5090
  canManageTeam: boolean;
5091
+ canManageExternalApps: boolean;
4610
5092
  datastore?: {
4611
5093
  __typename?: "CustomerDatastore";
4612
5094
  id: string;
@@ -4667,6 +5149,24 @@ export type GQLSparqlQueryQuery = {
4667
5149
  } | null;
4668
5150
  };
4669
5151
  };
5152
+ export type GQLStripeSubscriptionProductsQueryVariables = Exact<{
5153
+ [key: string]: never;
5154
+ }>;
5155
+ export type GQLStripeSubscriptionProductsQuery = {
5156
+ __typename?: "Query";
5157
+ stripeSubscriptionProducts: Array<{
5158
+ __typename?: "StripeSubscriptionProduct";
5159
+ priceId: string;
5160
+ priceName?: string | null;
5161
+ productId: string;
5162
+ productName: string;
5163
+ productDescription?: string | null;
5164
+ currency: string;
5165
+ unitAmount?: number | null;
5166
+ interval: string;
5167
+ intervalCount: number;
5168
+ }>;
5169
+ };
4670
5170
  export type GQLSupportedActionShapesQueryVariables = Exact<{
4671
5171
  rdfType?: InputMaybe<Scalars["String"]["input"]>;
4672
5172
  }>;
@@ -4870,6 +5370,8 @@ export type GQLValidateActionPlanQuery = {
4870
5370
  };
4871
5371
  };
4872
5372
  };
5373
+ export declare const ExternalAppConnectionFieldsFragmentDoc = "\n fragment ExternalAppConnectionFields on ExternalAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
5374
+ export declare const ExternalAppFieldsFragmentDoc = "\n fragment ExternalAppFields on ExternalApp {\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 ";
4873
5375
  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 ";
4874
5376
  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 ";
4875
5377
  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 ";
@@ -4877,6 +5379,11 @@ export declare const AbortUploadDocument = "\n mutation abortUpload($input: A
4877
5379
  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<{
4878
5380
  input: GQLAbortUploadInput;
4879
5381
  }>, TContext>;
5382
+ 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 ";
5383
+ 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<{
5384
+ subscriptionId: Scalars["String"]["input"];
5385
+ datastoreId: Scalars["String"]["input"];
5386
+ }>, TContext>;
4880
5387
  export declare const AwaitDataConnectionTestDocument = "\n mutation AwaitDataConnectionTest($id: String!) {\n awaitDataConnectionTest(id: $id) {\n id\n status\n error\n }\n}\n ";
4881
5388
  export declare const useAwaitDataConnectionTestMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLAwaitDataConnectionTestMutation, TError, GQLAwaitDataConnectionTestMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLAwaitDataConnectionTestMutation, TError, Exact<{
4882
5389
  id: Scalars["String"]["input"];
@@ -4898,6 +5405,10 @@ export declare const useCommitStagedRulesMutation: <TError = unknown, TContext =
4898
5405
  dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
4899
5406
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
4900
5407
  }>, TContext>;
5408
+ export declare const CompleteStripeCheckoutDocument = "\n mutation CompleteStripeCheckout($sessionId: String!) {\n completeStripeCheckout(sessionId: $sessionId) {\n success\n datastoreId\n status\n error\n }\n}\n ";
5409
+ export declare const useCompleteStripeCheckoutMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCompleteStripeCheckoutMutation, TError, GQLCompleteStripeCheckoutMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCompleteStripeCheckoutMutation, TError, Exact<{
5410
+ sessionId: Scalars["String"]["input"];
5411
+ }>, TContext>;
4901
5412
  export declare const CompleteUploadDocument = "\n mutation completeUpload($input: CompleteUploadInput!) {\n completeUpload(input: $input) {\n fileIri\n mediaType\n }\n}\n ";
4902
5413
  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<{
4903
5414
  input: GQLCompleteUploadInput;
@@ -4910,6 +5421,17 @@ export declare const CreateDataConnectionDocument = "\n mutation CreateDataCo
4910
5421
  export declare const useCreateDataConnectionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateDataConnectionMutation, TError, GQLCreateDataConnectionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateDataConnectionMutation, TError, Exact<{
4911
5422
  input: GQLCreateDataConnectionInput;
4912
5423
  }>, TContext>;
5424
+ export declare const CreateExternalAppDocument = "\n mutation CreateExternalApp($org: String, $name: String!, $kind: ExternalAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [ExternalAppPermission!]) {\n createExternalApp(\n org: $org\n name: $name\n kind: $kind\n redirectUris: $redirectUris\n homeUrl: $homeUrl\n machineAccess: $machineAccess\n datastores: $datastores\n permissions: $permissions\n ) {\n app {\n ...ExternalAppFields\n }\n clientSecret\n connection {\n ...ExternalAppConnectionFields\n }\n }\n}\n \n fragment ExternalAppFields on ExternalApp {\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 \n\n fragment ExternalAppConnectionFields on ExternalAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
5425
+ export declare const useCreateExternalAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateExternalAppMutation, TError, GQLCreateExternalAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateExternalAppMutation, TError, Exact<{
5426
+ org?: InputMaybe<Scalars["String"]["input"]>;
5427
+ name: Scalars["String"]["input"];
5428
+ kind?: InputMaybe<GQLExternalAppKind>;
5429
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5430
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
5431
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
5432
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5433
+ permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
5434
+ }>, TContext>;
4913
5435
  export declare const CreateInferalIntegrationDocument = "\n mutation CreateInferalIntegration($input: CreateInferalIntegrationInput!) {\n createInferalIntegration(input: $input) {\n status\n inferalIntegrationId\n streamId\n streamUrl\n error\n }\n}\n ";
4914
5436
  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<{
4915
5437
  input: GQLCreateInferalIntegrationInput;
@@ -4918,6 +5440,13 @@ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input:
4918
5440
  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<{
4919
5441
  input: GQLCreateMemoryInput;
4920
5442
  }>, TContext>;
5443
+ export declare const CreateStripeCheckoutSessionDocument = "\n mutation CreateStripeCheckoutSession($datastoreId: String!, $priceId: String!, $successUrl: String!, $cancelUrl: String!) {\n createStripeCheckoutSession(\n datastoreId: $datastoreId\n priceId: $priceId\n successUrl: $successUrl\n cancelUrl: $cancelUrl\n ) {\n success\n url\n error\n }\n}\n ";
5444
+ export declare const useCreateStripeCheckoutSessionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateStripeCheckoutSessionMutation, TError, GQLCreateStripeCheckoutSessionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateStripeCheckoutSessionMutation, TError, Exact<{
5445
+ datastoreId: Scalars["String"]["input"];
5446
+ priceId: Scalars["String"]["input"];
5447
+ successUrl: Scalars["String"]["input"];
5448
+ cancelUrl: Scalars["String"]["input"];
5449
+ }>, TContext>;
4921
5450
  export declare const DashSetupConnectDocument = "\n mutation DashSetupConnect($folderIds: [String!]!) {\n dashSetupConnect(folderIds: $folderIds) {\n state\n folders {\n id\n name\n parent\n position\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
4922
5451
  export declare const useDashSetupConnectMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDashSetupConnectMutation, TError, GQLDashSetupConnectMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDashSetupConnectMutation, TError, Exact<{
4923
5452
  folderIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
@@ -4930,6 +5459,11 @@ export declare const DeleteDataConnectionDocument = "\n mutation DeleteDataCo
4930
5459
  export declare const useDeleteDataConnectionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteDataConnectionMutation, TError, GQLDeleteDataConnectionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteDataConnectionMutation, TError, Exact<{
4931
5460
  id: Scalars["String"]["input"];
4932
5461
  }>, TContext>;
5462
+ export declare const DeleteExternalAppDocument = "\n mutation DeleteExternalApp($org: String, $clientId: String!) {\n deleteExternalApp(org: $org, clientId: $clientId) {\n clientId\n deleted\n }\n}\n ";
5463
+ export declare const useDeleteExternalAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteExternalAppMutation, TError, GQLDeleteExternalAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteExternalAppMutation, TError, Exact<{
5464
+ org?: InputMaybe<Scalars["String"]["input"]>;
5465
+ clientId: Scalars["String"]["input"];
5466
+ }>, TContext>;
4933
5467
  export declare const DeleteLdesStreamDocument = "\n mutation DeleteLdesStream($url: String!) {\n deleteLDESStream(url: $url) {\n success\n stream {\n url\n phase\n }\n }\n}\n ";
4934
5468
  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<{
4935
5469
  url: Scalars["String"]["input"];
@@ -5074,6 +5608,23 @@ export declare const RevokeOperatorRoleDocument = "\n mutation RevokeOperator
5074
5608
  export declare const useRevokeOperatorRoleMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRevokeOperatorRoleMutation, TError, GQLRevokeOperatorRoleMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRevokeOperatorRoleMutation, TError, Exact<{
5075
5609
  userId: Scalars["String"]["input"];
5076
5610
  }>, TContext>;
5611
+ export declare const RevokePreviousExternalAppSecretDocument = "\n mutation RevokePreviousExternalAppSecret($org: String, $clientId: String!) {\n revokePreviousExternalAppSecret(org: $org, clientId: $clientId) {\n ...ExternalAppFields\n }\n}\n \n fragment ExternalAppFields on ExternalApp {\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 ";
5612
+ export declare const useRevokePreviousExternalAppSecretMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRevokePreviousExternalAppSecretMutation, TError, GQLRevokePreviousExternalAppSecretMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRevokePreviousExternalAppSecretMutation, TError, Exact<{
5613
+ org?: InputMaybe<Scalars["String"]["input"]>;
5614
+ clientId: Scalars["String"]["input"];
5615
+ }>, TContext>;
5616
+ export declare const RotateExternalAppSecretDocument = "\n mutation RotateExternalAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {\n rotateExternalAppSecret(\n org: $org\n clientId: $clientId\n keepPrevious: $keepPrevious\n ) {\n app {\n ...ExternalAppFields\n }\n clientSecret\n connection {\n ...ExternalAppConnectionFields\n }\n }\n}\n \n fragment ExternalAppFields on ExternalApp {\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 \n\n fragment ExternalAppConnectionFields on ExternalAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
5617
+ export declare const useRotateExternalAppSecretMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRotateExternalAppSecretMutation, TError, GQLRotateExternalAppSecretMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRotateExternalAppSecretMutation, TError, Exact<{
5618
+ org?: InputMaybe<Scalars["String"]["input"]>;
5619
+ clientId: Scalars["String"]["input"];
5620
+ keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
5621
+ }>, TContext>;
5622
+ export declare const SetExternalAppEnabledDocument = "\n mutation SetExternalAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {\n setExternalAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {\n ...ExternalAppFields\n }\n}\n \n fragment ExternalAppFields on ExternalApp {\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 ";
5623
+ export declare const useSetExternalAppEnabledMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLSetExternalAppEnabledMutation, TError, GQLSetExternalAppEnabledMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLSetExternalAppEnabledMutation, TError, Exact<{
5624
+ org?: InputMaybe<Scalars["String"]["input"]>;
5625
+ clientId: Scalars["String"]["input"];
5626
+ enabled: Scalars["Boolean"]["input"];
5627
+ }>, TContext>;
5077
5628
  export declare const StageRuleOperationDocument = "\n mutation StageRuleOperation($input: StageRuleOperationInput!) {\n stageRuleOperation(input: $input) {\n success\n ruleIri\n operation\n error\n }\n}\n ";
5078
5629
  export declare const useStageRuleOperationMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLStageRuleOperationMutation, TError, GQLStageRuleOperationMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLStageRuleOperationMutation, TError, Exact<{
5079
5630
  input: GQLStageRuleOperationInput;
@@ -5090,6 +5641,17 @@ export declare const UpdateDataConnectionDocument = "\n mutation UpdateDataCo
5090
5641
  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<{
5091
5642
  input: GQLUpdateDataConnectionInput;
5092
5643
  }>, TContext>;
5644
+ export declare const UpdateExternalAppDocument = "\n mutation UpdateExternalApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [ExternalAppPermission!]) {\n updateExternalApp(\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 ...ExternalAppFields\n }\n}\n \n fragment ExternalAppFields on ExternalApp {\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 ";
5645
+ export declare const useUpdateExternalAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLUpdateExternalAppMutation, TError, GQLUpdateExternalAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLUpdateExternalAppMutation, TError, Exact<{
5646
+ org?: InputMaybe<Scalars["String"]["input"]>;
5647
+ clientId: Scalars["String"]["input"];
5648
+ name?: InputMaybe<Scalars["String"]["input"]>;
5649
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5650
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
5651
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
5652
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5653
+ permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
5654
+ }>, TContext>;
5093
5655
  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 ";
5094
5656
  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<{
5095
5657
  input: GQLUpdateMemoryInput;
@@ -5436,6 +5998,27 @@ export declare const useSuspenseDataConnectorTypesQuery: {
5436
5998
  [key: string]: never;
5437
5999
  }>)[];
5438
6000
  };
6001
+ export declare const DatastoreInvoicesDocument = "\n query DatastoreInvoices($datastoreId: String, $first: Int, $after: String) {\n datastoreInvoices(datastoreId: $datastoreId, first: $first, after: $after) {\n invoices {\n invoiceId\n datastoreId\n number\n status\n currency\n total\n created\n dueDate\n hostedInvoiceUrl\n invoicePdf\n }\n nextCursor\n }\n}\n ";
6002
+ export declare const useDatastoreInvoicesQuery: {
6003
+ <TData = GQLDatastoreInvoicesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreInvoicesQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>, "queryKey"> & {
6004
+ queryKey?: UseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>["queryKey"];
6005
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6006
+ getKey(variables?: GQLDatastoreInvoicesQueryVariables): (string | Exact<{
6007
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
6008
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6009
+ after?: InputMaybe<Scalars["String"]["input"]>;
6010
+ }>)[];
6011
+ };
6012
+ export declare const useSuspenseDatastoreInvoicesQuery: {
6013
+ <TData = GQLDatastoreInvoicesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreInvoicesQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>, "queryKey"> & {
6014
+ queryKey?: UseSuspenseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>["queryKey"];
6015
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6016
+ getKey(variables?: GQLDatastoreInvoicesQueryVariables): (string | Exact<{
6017
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
6018
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6019
+ after?: InputMaybe<Scalars["String"]["input"]>;
6020
+ }>)[];
6021
+ };
5439
6022
  export declare const DatastoreProvisioningStatusesDocument = "\n query DatastoreProvisioningStatuses($datastoreIds: [String!]!) {\n datastoreProvisioningStatuses(datastoreIds: $datastoreIds) {\n datastoreId\n exists\n materialized\n registered\n offline\n known\n ready\n }\n}\n ";
5440
6023
  export declare const useDatastoreProvisioningStatusesQuery: {
5441
6024
  <TData = GQLDatastoreProvisioningStatusesQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreProvisioningStatusesQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreProvisioningStatusesQuery, TError, TData>, "queryKey"> & {
@@ -5453,6 +6036,23 @@ export declare const useSuspenseDatastoreProvisioningStatusesQuery: {
5453
6036
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
5454
6037
  }>)[];
5455
6038
  };
6039
+ export declare const DatastoreSubscriptionsDocument = "\n query DatastoreSubscriptions($datastoreIds: [String!]!) {\n datastoreSubscriptions(datastoreIds: $datastoreIds) {\n datastoreId\n status\n inGoodStanding\n }\n}\n ";
6040
+ export declare const useDatastoreSubscriptionsQuery: {
6041
+ <TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
6042
+ queryKey?: UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
6043
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6044
+ getKey(variables: GQLDatastoreSubscriptionsQueryVariables): (string | Exact<{
6045
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6046
+ }>)[];
6047
+ };
6048
+ export declare const useSuspenseDatastoreSubscriptionsQuery: {
6049
+ <TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
6050
+ queryKey?: UseSuspenseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
6051
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6052
+ getKey(variables: GQLDatastoreSubscriptionsQueryVariables): (string | Exact<{
6053
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6054
+ }>)[];
6055
+ };
5456
6056
  export declare const DatastoreTreeDocument = "\n query DatastoreTree {\n datastoreTree {\n id\n name\n depth\n organizationId\n organizationName\n organizationAlias\n path\n datastoreId\n removed\n provisionedAt\n provisionedBy\n isOrganization\n mirrored\n }\n}\n ";
5457
6057
  export declare const useDatastoreTreeQuery: {
5458
6058
  <TData = GQLDatastoreTreeQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreTreeQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>, "queryKey"> & {
@@ -5514,6 +6114,46 @@ export declare const useSuspenseExplainRdFoxFactQuery: {
5514
6114
  namedGraph?: InputMaybe<Scalars["IRI"]["input"]>;
5515
6115
  }>)[];
5516
6116
  };
6117
+ export declare const ExternalAppDatastoresDocument = "\n query ExternalAppDatastores($org: String) {\n externalAppDatastores(org: $org) {\n id\n name\n depth\n }\n}\n ";
6118
+ export declare const useExternalAppDatastoresQuery: {
6119
+ <TData = GQLExternalAppDatastoresQuery, TError = unknown>(client: GraphQLClient, variables?: GQLExternalAppDatastoresQueryVariables, options?: Omit<UseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>, "queryKey"> & {
6120
+ queryKey?: UseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>["queryKey"];
6121
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6122
+ getKey(variables?: GQLExternalAppDatastoresQueryVariables): (string | Exact<{
6123
+ org?: InputMaybe<Scalars["String"]["input"]>;
6124
+ }>)[];
6125
+ };
6126
+ export declare const useSuspenseExternalAppDatastoresQuery: {
6127
+ <TData = GQLExternalAppDatastoresQuery, TError = unknown>(client: GraphQLClient, variables?: GQLExternalAppDatastoresQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>, "queryKey"> & {
6128
+ queryKey?: UseSuspenseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>["queryKey"];
6129
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6130
+ getKey(variables?: GQLExternalAppDatastoresQueryVariables): (string | Exact<{
6131
+ org?: InputMaybe<Scalars["String"]["input"]>;
6132
+ }>)[];
6133
+ };
6134
+ export declare const ExternalAppsDocument = "\n query ExternalApps($org: String, $first: Int, $max: Int, $search: String) {\n externalApps(org: $org, first: $first, max: $max, search: $search) {\n apps {\n ...ExternalAppFields\n }\n nextFirst\n connection {\n ...ExternalAppConnectionFields\n }\n }\n}\n \n fragment ExternalAppFields on ExternalApp {\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 \n\n fragment ExternalAppConnectionFields on ExternalAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
6135
+ export declare const useExternalAppsQuery: {
6136
+ <TData = GQLExternalAppsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLExternalAppsQueryVariables, options?: Omit<UseQueryOptions<GQLExternalAppsQuery, TError, TData>, "queryKey"> & {
6137
+ queryKey?: UseQueryOptions<GQLExternalAppsQuery, TError, TData>["queryKey"];
6138
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6139
+ getKey(variables?: GQLExternalAppsQueryVariables): (string | Exact<{
6140
+ org?: InputMaybe<Scalars["String"]["input"]>;
6141
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6142
+ max?: InputMaybe<Scalars["Int"]["input"]>;
6143
+ search?: InputMaybe<Scalars["String"]["input"]>;
6144
+ }>)[];
6145
+ };
6146
+ export declare const useSuspenseExternalAppsQuery: {
6147
+ <TData = GQLExternalAppsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLExternalAppsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLExternalAppsQuery, TError, TData>, "queryKey"> & {
6148
+ queryKey?: UseSuspenseQueryOptions<GQLExternalAppsQuery, TError, TData>["queryKey"];
6149
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6150
+ getKey(variables?: GQLExternalAppsQueryVariables): (string | Exact<{
6151
+ org?: InputMaybe<Scalars["String"]["input"]>;
6152
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6153
+ max?: InputMaybe<Scalars["Int"]["input"]>;
6154
+ search?: InputMaybe<Scalars["String"]["input"]>;
6155
+ }>)[];
6156
+ };
5517
6157
  export declare const GmailIntegrationsDocument = "\n query GmailIntegrations {\n gmailIntegrations {\n email\n status\n error\n lastSyncedAt\n messagesIngested\n }\n}\n ";
5518
6158
  export declare const useGmailIntegrationsQuery: {
5519
6159
  <TData = GQLGmailIntegrationsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLGmailIntegrationsQueryVariables, options?: Omit<UseQueryOptions<GQLGmailIntegrationsQuery, TError, TData>, "queryKey"> & {
@@ -5783,7 +6423,7 @@ export declare const useSuspenseRulesQuery: {
5783
6423
  typeFilter?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
5784
6424
  }>)[];
5785
6425
  };
5786
- export declare const SessionContextDocument = "\n query SessionContext {\n sessionContext {\n datastoreAccessGranted\n user {\n id\n email\n name\n picture\n isOperator\n isOrgAdmin\n adminOrgs\n memberOrgs\n canManageIntegrations\n canManageStreams\n canManageSharedMemories\n canManageTeam\n datastore {\n id\n name\n depth\n selectable\n badge\n }\n }\n datastores {\n id\n name\n depth\n selectable\n badge\n }\n orgRoles {\n id\n groupName\n label\n capabilities\n }\n }\n}\n ";
6426
+ export declare const SessionContextDocument = "\n query SessionContext {\n sessionContext {\n datastoreAccessGranted\n user {\n id\n email\n name\n picture\n isOperator\n isOrgAdmin\n adminOrgs\n memberOrgs\n canManageIntegrations\n canManageStreams\n canManageSharedMemories\n canManageTeam\n canManageExternalApps\n datastore {\n id\n name\n depth\n selectable\n badge\n }\n }\n datastores {\n id\n name\n depth\n selectable\n badge\n }\n orgRoles {\n id\n groupName\n label\n capabilities\n }\n }\n}\n ";
5787
6427
  export declare const useSessionContextQuery: {
5788
6428
  <TData = GQLSessionContextQuery, TError = unknown>(client: GraphQLClient, variables?: GQLSessionContextQueryVariables, options?: Omit<UseQueryOptions<GQLSessionContextQuery, TError, TData>, "queryKey"> & {
5789
6429
  queryKey?: UseQueryOptions<GQLSessionContextQuery, TError, TData>["queryKey"];
@@ -5834,6 +6474,23 @@ export declare const useSuspenseSparqlQueryQuery: {
5834
6474
  query: Scalars["String"]["input"];
5835
6475
  }>)[];
5836
6476
  };
6477
+ export declare const StripeSubscriptionProductsDocument = "\n query StripeSubscriptionProducts {\n stripeSubscriptionProducts {\n priceId\n priceName\n productId\n productName\n productDescription\n currency\n unitAmount\n interval\n intervalCount\n }\n}\n ";
6478
+ export declare const useStripeSubscriptionProductsQuery: {
6479
+ <TData = GQLStripeSubscriptionProductsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLStripeSubscriptionProductsQueryVariables, options?: Omit<UseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>, "queryKey"> & {
6480
+ queryKey?: UseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>["queryKey"];
6481
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6482
+ getKey(variables?: GQLStripeSubscriptionProductsQueryVariables): (string | Exact<{
6483
+ [key: string]: never;
6484
+ }>)[];
6485
+ };
6486
+ export declare const useSuspenseStripeSubscriptionProductsQuery: {
6487
+ <TData = GQLStripeSubscriptionProductsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLStripeSubscriptionProductsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>, "queryKey"> & {
6488
+ queryKey?: UseSuspenseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>["queryKey"];
6489
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6490
+ getKey(variables?: GQLStripeSubscriptionProductsQueryVariables): (string | Exact<{
6491
+ [key: string]: never;
6492
+ }>)[];
6493
+ };
5837
6494
  export declare const SupportedActionShapesDocument = "\n query SupportedActionShapes($rdfType: String) {\n supportedActionShapes(rdfType: $rdfType) {\n supportedActionShapes {\n actionShape\n rdfTypes\n operations\n supportsCreate\n supportsUpdate\n supportsDelete\n }\n count\n error\n }\n}\n ";
5838
6495
  export declare const useSupportedActionShapesQuery: {
5839
6496
  <TData = GQLSupportedActionShapesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLSupportedActionShapesQueryVariables, options?: Omit<UseQueryOptions<GQLSupportedActionShapesQuery, TError, TData>, "queryKey"> & {