@manta-eu/client 0.1.9 → 0.2.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 (206) hide show
  1. package/README.md +21 -0
  2. package/dist/generated/graphql.d.ts +1132 -2
  3. package/dist/generated/graphql.d.ts.map +1 -1
  4. package/dist/generated/graphql.js +637 -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 +6 -0
  23. package/dist/shared/chat-manager.d.ts.map +1 -1
  24. package/dist/shared/chat-manager.js +5 -0
  25. package/dist/shared/chat-manager.js.map +1 -0
  26. package/dist/shared/chat-turn-errors.d.ts +10 -0
  27. package/dist/shared/chat-turn-errors.d.ts.map +1 -1
  28. package/dist/shared/chat-turn-errors.js +11 -0
  29. package/dist/shared/chat-turn-errors.js.map +1 -0
  30. package/dist/shared/constants.d.ts +1 -0
  31. package/dist/shared/constants.d.ts.map +1 -1
  32. package/dist/shared/constants.js +2 -0
  33. package/dist/shared/constants.js.map +1 -0
  34. package/dist/shared/conversation-starter-defaults.js +1 -0
  35. package/dist/shared/conversation-starter-defaults.js.map +1 -0
  36. package/dist/shared/datastore-id.js +1 -0
  37. package/dist/shared/datastore-id.js.map +1 -0
  38. package/dist/shared/datastore-path.js +1 -0
  39. package/dist/shared/datastore-path.js.map +1 -0
  40. package/dist/shared/duration.js +1 -0
  41. package/dist/shared/duration.js.map +1 -0
  42. package/dist/shared/email.js +1 -0
  43. package/dist/shared/email.js.map +1 -0
  44. package/dist/shared/entity-set.js +1 -0
  45. package/dist/shared/entity-set.js.map +1 -0
  46. package/dist/shared/error-utils.js +1 -0
  47. package/dist/shared/error-utils.js.map +1 -0
  48. package/dist/shared/explorer-paths.js +1 -0
  49. package/dist/shared/explorer-paths.js.map +1 -0
  50. package/dist/shared/fileIri.js +1 -0
  51. package/dist/shared/fileIri.js.map +1 -0
  52. package/dist/shared/index.js +1 -0
  53. package/dist/shared/index.js.map +1 -0
  54. package/dist/shared/inferal-stream.js +1 -0
  55. package/dist/shared/inferal-stream.js.map +1 -0
  56. package/dist/shared/live-context.js +1 -0
  57. package/dist/shared/live-context.js.map +1 -0
  58. package/dist/shared/maintenance-schedule.js +1 -0
  59. package/dist/shared/maintenance-schedule.js.map +1 -0
  60. package/dist/shared/memory-citation-sampling.js +1 -0
  61. package/dist/shared/memory-citation-sampling.js.map +1 -0
  62. package/dist/shared/memory-confidence.js +1 -0
  63. package/dist/shared/memory-confidence.js.map +1 -0
  64. package/dist/shared/memory-consolidation-limits.js +1 -0
  65. package/dist/shared/memory-consolidation-limits.js.map +1 -0
  66. package/dist/shared/memory-dates.js +1 -0
  67. package/dist/shared/memory-dates.js.map +1 -0
  68. package/dist/shared/memory-decay.js +1 -0
  69. package/dist/shared/memory-decay.js.map +1 -0
  70. package/dist/shared/memory-diversity.js +1 -0
  71. package/dist/shared/memory-diversity.js.map +1 -0
  72. package/dist/shared/memory-entity-recall.js +1 -0
  73. package/dist/shared/memory-entity-recall.js.map +1 -0
  74. package/dist/shared/memory-importance.js +1 -0
  75. package/dist/shared/memory-importance.js.map +1 -0
  76. package/dist/shared/memory-keyword-recall.js +1 -0
  77. package/dist/shared/memory-keyword-recall.js.map +1 -0
  78. package/dist/shared/memory-kind-iris.js +1 -0
  79. package/dist/shared/memory-kind-iris.js.map +1 -0
  80. package/dist/shared/memory-preload-gate.js +1 -0
  81. package/dist/shared/memory-preload-gate.js.map +1 -0
  82. package/dist/shared/memory-sources.js +1 -0
  83. package/dist/shared/memory-sources.js.map +1 -0
  84. package/dist/shared/memory-teams.js +1 -0
  85. package/dist/shared/memory-teams.js.map +1 -0
  86. package/dist/shared/memory-token-budget.js +1 -0
  87. package/dist/shared/memory-token-budget.js.map +1 -0
  88. package/dist/shared/memory-volatility.js +1 -0
  89. package/dist/shared/memory-volatility.js.map +1 -0
  90. package/dist/shared/message-utils.js +1 -0
  91. package/dist/shared/message-utils.js.map +1 -0
  92. package/dist/shared/model.js +1 -0
  93. package/dist/shared/model.js.map +1 -0
  94. package/dist/shared/org-roles.js +1 -0
  95. package/dist/shared/org-roles.js.map +1 -0
  96. package/dist/shared/page-context.js +1 -0
  97. package/dist/shared/page-context.js.map +1 -0
  98. package/dist/shared/permissions.js +1 -0
  99. package/dist/shared/permissions.js.map +1 -0
  100. package/dist/shared/questionnaire.js +1 -0
  101. package/dist/shared/questionnaire.js.map +1 -0
  102. package/dist/shared/rdf-namespaces.js +1 -0
  103. package/dist/shared/rdf-namespaces.js.map +1 -0
  104. package/dist/shared/rule-iri.js +1 -0
  105. package/dist/shared/rule-iri.js.map +1 -0
  106. package/dist/shared/rule-search.js +1 -0
  107. package/dist/shared/rule-search.js.map +1 -0
  108. package/dist/shared/session-types.js +1 -0
  109. package/dist/shared/session-types.js.map +1 -0
  110. package/dist/shared/stakeholder-iri.js +1 -0
  111. package/dist/shared/stakeholder-iri.js.map +1 -0
  112. package/dist/shared/team-activation.js +1 -0
  113. package/dist/shared/team-activation.js.map +1 -0
  114. package/dist/shared/team-filters.js +1 -0
  115. package/dist/shared/team-filters.js.map +1 -0
  116. package/dist/shared/team.d.ts +1 -0
  117. package/dist/shared/team.d.ts.map +1 -1
  118. package/dist/shared/team.js +1 -0
  119. package/dist/shared/team.js.map +1 -0
  120. package/dist/shared/tools/coercers.js +1 -0
  121. package/dist/shared/tools/coercers.js.map +1 -0
  122. package/dist/shared/tools/index.js +1 -0
  123. package/dist/shared/tools/index.js.map +1 -0
  124. package/dist/shared/tools/metadata.js +1 -0
  125. package/dist/shared/tools/metadata.js.map +1 -0
  126. package/dist/shared/tools/test-triple.js +1 -0
  127. package/dist/shared/tools/test-triple.js.map +1 -0
  128. package/dist/shared/tools/types.js +1 -0
  129. package/dist/shared/tools/types.js.map +1 -0
  130. package/dist/shared/upload.js +1 -0
  131. package/dist/shared/upload.js.map +1 -0
  132. package/dist/shared/website-url.js +1 -0
  133. package/dist/shared/website-url.js.map +1 -0
  134. package/dist/shared/workspace-artifacts.js +1 -0
  135. package/dist/shared/workspace-artifacts.js.map +1 -0
  136. package/dist/shared/writable-shape-query.js +1 -0
  137. package/dist/shared/writable-shape-query.js.map +1 -0
  138. package/dist/types/jsonld.js +1 -0
  139. package/dist/types/jsonld.js.map +1 -0
  140. package/dist/types/sparql-types.js +1 -0
  141. package/dist/types/sparql-types.js.map +1 -0
  142. package/package.json +11 -6
  143. package/src/generated/graphql.ts +12158 -0
  144. package/src/graphql-clients.ts +67 -0
  145. package/src/index.ts +2 -0
  146. package/src/shared/action-document.ts +56 -0
  147. package/src/shared/action-plan.ts +1 -0
  148. package/src/shared/agent-mode.ts +46 -0
  149. package/src/shared/agent-types.ts +46 -0
  150. package/src/shared/chat-context.ts +47 -0
  151. package/src/shared/chat-manager.ts +199 -0
  152. package/src/shared/chat-turn-errors.ts +35 -0
  153. package/src/shared/constants.ts +19 -0
  154. package/src/shared/conversation-starter-defaults.ts +27 -0
  155. package/src/shared/datastore-id.ts +25 -0
  156. package/src/shared/datastore-path.ts +80 -0
  157. package/src/shared/duration.ts +61 -0
  158. package/src/shared/email.ts +54 -0
  159. package/src/shared/entity-set.ts +33 -0
  160. package/src/shared/error-utils.ts +79 -0
  161. package/src/shared/explorer-paths.ts +9 -0
  162. package/src/shared/fileIri.ts +25 -0
  163. package/src/shared/index.ts +31 -0
  164. package/src/shared/inferal-stream.ts +2 -0
  165. package/src/shared/live-context.ts +15 -0
  166. package/src/shared/maintenance-schedule.ts +47 -0
  167. package/src/shared/memory-citation-sampling.ts +26 -0
  168. package/src/shared/memory-confidence.ts +8 -0
  169. package/src/shared/memory-consolidation-limits.ts +9 -0
  170. package/src/shared/memory-dates.ts +7 -0
  171. package/src/shared/memory-decay.ts +70 -0
  172. package/src/shared/memory-diversity.ts +55 -0
  173. package/src/shared/memory-entity-recall.ts +26 -0
  174. package/src/shared/memory-importance.ts +12 -0
  175. package/src/shared/memory-keyword-recall.ts +149 -0
  176. package/src/shared/memory-kind-iris.ts +36 -0
  177. package/src/shared/memory-preload-gate.ts +150 -0
  178. package/src/shared/memory-sources.ts +5 -0
  179. package/src/shared/memory-teams.ts +3 -0
  180. package/src/shared/memory-token-budget.ts +31 -0
  181. package/src/shared/memory-volatility.ts +90 -0
  182. package/src/shared/message-utils.ts +37 -0
  183. package/src/shared/model.ts +117 -0
  184. package/src/shared/org-roles.ts +21 -0
  185. package/src/shared/page-context.ts +7 -0
  186. package/src/shared/permissions.ts +19 -0
  187. package/src/shared/questionnaire.ts +76 -0
  188. package/src/shared/rdf-namespaces.ts +62 -0
  189. package/src/shared/rule-iri.ts +15 -0
  190. package/src/shared/rule-search.ts +1 -0
  191. package/src/shared/session-types.ts +14 -0
  192. package/src/shared/stakeholder-iri.ts +23 -0
  193. package/src/shared/team-activation.ts +9 -0
  194. package/src/shared/team-filters.ts +33 -0
  195. package/src/shared/team.ts +244 -0
  196. package/src/shared/tools/coercers.ts +82 -0
  197. package/src/shared/tools/index.ts +49 -0
  198. package/src/shared/tools/metadata.ts +205 -0
  199. package/src/shared/tools/test-triple.ts +33 -0
  200. package/src/shared/tools/types.ts +302 -0
  201. package/src/shared/upload.ts +57 -0
  202. package/src/shared/website-url.ts +32 -0
  203. package/src/shared/workspace-artifacts.ts +68 -0
  204. package/src/shared/writable-shape-query.ts +24 -0
  205. package/src/types/jsonld.ts +19 -0
  206. package/src/types/sparql-types.ts +10 -0
@@ -604,6 +604,12 @@ export type GQLConnectedAccount = {
604
604
  integration: GQLIntegration;
605
605
  revokedAt?: Maybe<Scalars["String"]["output"]>;
606
606
  };
607
+ export type GQLConnectedCustomApp = {
608
+ __typename?: "ConnectedCustomApp";
609
+ clientId: Scalars["String"]["output"];
610
+ name: Scalars["String"]["output"];
611
+ orgName?: Maybe<Scalars["String"]["output"]>;
612
+ };
607
613
  export type GQLConsolidateMemoriesInput = {
608
614
  customProperties?: InputMaybe<Scalars["JSONObject"]["input"]>;
609
615
  derived?: InputMaybe<Scalars["Boolean"]["input"]>;
@@ -693,6 +699,126 @@ export type GQLCurrentFactValueResponse = {
693
699
  error?: Maybe<Scalars["String"]["output"]>;
694
700
  status: GQLFactValueStatus;
695
701
  };
702
+ export type GQLCustomApp = {
703
+ __typename?: "CustomApp";
704
+ clientId: Scalars["String"]["output"];
705
+ createdAt?: Maybe<Scalars["String"]["output"]>;
706
+ createdBy?: Maybe<Scalars["String"]["output"]>;
707
+ datastores: Array<GQLCustomAppDatastore>;
708
+ enabled: Scalars["Boolean"]["output"];
709
+ homeUrl?: Maybe<Scalars["String"]["output"]>;
710
+ kind: GQLCustomAppKind;
711
+ machineAccess: Scalars["Boolean"]["output"];
712
+ name: Scalars["String"]["output"];
713
+ org?: Maybe<Scalars["String"]["output"]>;
714
+ orgName?: Maybe<Scalars["String"]["output"]>;
715
+ permissions: Array<GQLCustomAppPermission>;
716
+ previousSecretExpiresAt?: Maybe<Scalars["String"]["output"]>;
717
+ redirectUris: Array<Scalars["String"]["output"]>;
718
+ };
719
+ export type GQLCustomAppChatAllowance = {
720
+ __typename?: "CustomAppChatAllowance";
721
+ perApp: Scalars["Int"]["output"];
722
+ perPerson: Scalars["Int"]["output"];
723
+ };
724
+ export type GQLCustomAppConnection = {
725
+ __typename?: "CustomAppConnection";
726
+ discoveryUrl: Scalars["String"]["output"];
727
+ issuer: Scalars["String"]["output"];
728
+ tokenEndpoint: Scalars["String"]["output"];
729
+ };
730
+ export type GQLCustomAppCredentials = {
731
+ __typename?: "CustomAppCredentials";
732
+ app: GQLCustomApp;
733
+ clientSecret: Scalars["String"]["output"];
734
+ connection: GQLCustomAppConnection;
735
+ };
736
+ export type GQLCustomAppDatastore = {
737
+ __typename?: "CustomAppDatastore";
738
+ id: Scalars["String"]["output"];
739
+ name: Scalars["String"]["output"];
740
+ };
741
+ export type GQLCustomAppDatastoreOption = {
742
+ __typename?: "CustomAppDatastoreOption";
743
+ depth: Scalars["Int"]["output"];
744
+ id: Scalars["String"]["output"];
745
+ name: Scalars["String"]["output"];
746
+ };
747
+ export type GQLCustomAppDeletedResponse = {
748
+ __typename?: "CustomAppDeletedResponse";
749
+ clientId: Scalars["String"]["output"];
750
+ deleted: Scalars["Boolean"]["output"];
751
+ };
752
+ export declare enum GQLCustomAppKind {
753
+ Machine = "MACHINE",
754
+ SignIn = "SIGN_IN"
755
+ }
756
+ export type GQLCustomAppPage = {
757
+ __typename?: "CustomAppPage";
758
+ apps: Array<GQLCustomApp>;
759
+ connection: GQLCustomAppConnection;
760
+ nextFirst?: Maybe<Scalars["Int"]["output"]>;
761
+ };
762
+ export declare enum GQLCustomAppPermission {
763
+ ShareChats = "SHARE_CHATS",
764
+ WriteData = "WRITE_DATA"
765
+ }
766
+ export type GQLCustomAppUser = {
767
+ __typename?: "CustomAppUser";
768
+ allTeams: Scalars["Boolean"]["output"];
769
+ chatCount: Scalars["Int"]["output"];
770
+ createdAt?: Maybe<Scalars["String"]["output"]>;
771
+ email?: Maybe<Scalars["String"]["output"]>;
772
+ invitedAt?: Maybe<Scalars["String"]["output"]>;
773
+ mantaMember: Scalars["Boolean"]["output"];
774
+ name?: Maybe<Scalars["String"]["output"]>;
775
+ teams: Array<Scalars["String"]["output"]>;
776
+ userId: Scalars["String"]["output"];
777
+ };
778
+ export type GQLCustomAppUserBulkRemoval = {
779
+ __typename?: "CustomAppUserBulkRemoval";
780
+ remaining: Scalars["Int"]["output"];
781
+ removed: Scalars["Int"]["output"];
782
+ };
783
+ export type GQLCustomAppUserBulkRemovalResult = {
784
+ __typename?: "CustomAppUserBulkRemovalResult";
785
+ error?: Maybe<Scalars["String"]["output"]>;
786
+ status?: Maybe<GQLCustomAppUserStatus>;
787
+ userId: Scalars["String"]["output"];
788
+ };
789
+ export type GQLCustomAppUserInvitation = {
790
+ __typename?: "CustomAppUserInvitation";
791
+ error?: Maybe<Scalars["String"]["output"]>;
792
+ user?: Maybe<GQLCustomAppUser>;
793
+ userId: Scalars["String"]["output"];
794
+ };
795
+ export type GQLCustomAppUserInvitationInput = {
796
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
797
+ email?: InputMaybe<Scalars["String"]["input"]>;
798
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
799
+ userId: Scalars["String"]["input"];
800
+ };
801
+ export type GQLCustomAppUserPage = {
802
+ __typename?: "CustomAppUserPage";
803
+ total: Scalars["Int"]["output"];
804
+ users: Array<GQLCustomAppUser>;
805
+ };
806
+ export type GQLCustomAppUserRemoval = {
807
+ __typename?: "CustomAppUserRemoval";
808
+ status: GQLCustomAppUserStatus;
809
+ userId: Scalars["String"]["output"];
810
+ };
811
+ export declare enum GQLCustomAppUserStatus {
812
+ Active = "ACTIVE",
813
+ Erased = "ERASED",
814
+ Unknown = "UNKNOWN",
815
+ Unlinked = "UNLINKED"
816
+ }
817
+ export declare enum GQLCustomAppUserStatusFilter {
818
+ AppOnly = "APP_ONLY",
819
+ Invited = "INVITED",
820
+ MantaMember = "MANTA_MEMBER"
821
+ }
696
822
  export type GQLCustomerDatastore = {
697
823
  __typename?: "CustomerDatastore";
698
824
  badge?: Maybe<Scalars["String"]["output"]>;
@@ -768,6 +894,24 @@ export type GQLDataConnectorType = {
768
894
  connectorType: Scalars["String"]["output"];
769
895
  fields: Array<GQLDataConnectorField>;
770
896
  };
897
+ export type GQLDatastoreInvoice = {
898
+ __typename?: "DatastoreInvoice";
899
+ created: Scalars["Int"]["output"];
900
+ currency: Scalars["String"]["output"];
901
+ datastoreId?: Maybe<Scalars["String"]["output"]>;
902
+ dueDate?: Maybe<Scalars["Int"]["output"]>;
903
+ hostedInvoiceUrl?: Maybe<Scalars["String"]["output"]>;
904
+ invoiceId: Scalars["String"]["output"];
905
+ invoicePdf?: Maybe<Scalars["String"]["output"]>;
906
+ number?: Maybe<Scalars["String"]["output"]>;
907
+ status: Scalars["String"]["output"];
908
+ total: Scalars["Int"]["output"];
909
+ };
910
+ export type GQLDatastoreInvoicePage = {
911
+ __typename?: "DatastoreInvoicePage";
912
+ invoices: Array<GQLDatastoreInvoice>;
913
+ nextCursor?: Maybe<Scalars["String"]["output"]>;
914
+ };
771
915
  export type GQLDatastoreProvisioningStatus = {
772
916
  __typename?: "DatastoreProvisioningStatus";
773
917
  datastoreId: Scalars["String"]["output"];
@@ -812,6 +956,11 @@ export type GQLDeleteDataConnectionResponse = {
812
956
  __typename?: "DeleteDataConnectionResponse";
813
957
  success: Scalars["Boolean"]["output"];
814
958
  };
959
+ export type GQLDeleteDatastoreResponse = {
960
+ __typename?: "DeleteDatastoreResponse";
961
+ error?: Maybe<Scalars["String"]["output"]>;
962
+ success: Scalars["Boolean"]["output"];
963
+ };
815
964
  export type GQLDeleteMemoryResponse = {
816
965
  __typename?: "DeleteMemoryResponse";
817
966
  error?: Maybe<Scalars["String"]["output"]>;
@@ -859,6 +1008,7 @@ export type GQLDirectoryUser = {
859
1008
  memberships: Array<GQLDirectoryMembership>;
860
1009
  name?: Maybe<Scalars["String"]["output"]>;
861
1010
  nameReadOnly?: Maybe<Scalars["Boolean"]["output"]>;
1011
+ operator?: Maybe<Scalars["Boolean"]["output"]>;
862
1012
  pending?: Maybe<Scalars["Boolean"]["output"]>;
863
1013
  username?: Maybe<Scalars["String"]["output"]>;
864
1014
  };
@@ -982,6 +1132,13 @@ export type GQLGoogleAnalyticsSetupProgress = {
982
1132
  properties?: Maybe<Array<GQLGoogleAnalyticsProperty>>;
983
1133
  state: Array<GQLGoogleSetupStateEnum>;
984
1134
  };
1135
+ export type GQLGoogleBrandSuggestion = {
1136
+ __typename?: "GoogleBrandSuggestion";
1137
+ id: Scalars["String"]["output"];
1138
+ name: Scalars["String"]["output"];
1139
+ state?: Maybe<Scalars["String"]["output"]>;
1140
+ urls: Array<Scalars["String"]["output"]>;
1141
+ };
985
1142
  export type GQLGoogleSetupLastError = {
986
1143
  __typename?: "GoogleSetupLastError";
987
1144
  message: Scalars["String"]["output"];
@@ -1439,17 +1596,21 @@ export type GQLMutation = {
1439
1596
  completeUpload: GQLCompleteUploadResponse;
1440
1597
  connectStripeAccount: GQLConnectStripeAccountResponse;
1441
1598
  consolidateMemories: GQLCreateMemoryResponse;
1599
+ createCustomApp: GQLCustomAppCredentials;
1442
1600
  createDataConnection: GQLDataConnectionTestState;
1443
1601
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1444
1602
  createMemory: GQLCreateMemoryResponse;
1445
1603
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1446
1604
  dashSetupConnect: GQLDashSetupProgress;
1447
1605
  deleteActionPlan: GQLDeleteActionPlanResponse;
1606
+ deleteCustomApp: GQLCustomAppDeletedResponse;
1448
1607
  deleteDataConnection: GQLDeleteDataConnectionResponse;
1608
+ deleteDatastore: GQLDeleteDatastoreResponse;
1449
1609
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1450
1610
  deleteMemory: GQLDeleteMemoryResponse;
1451
1611
  deleteUserAccount: GQLDeleteUserAccountResponse;
1452
1612
  disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
1613
+ disconnectCustomApp: Scalars["Boolean"]["output"];
1453
1614
  disconnectGmailIntegration: GQLDisconnectGmailIntegrationResponse;
1454
1615
  disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
1455
1616
  executeActionAddition: GQLExecuteActionResponse;
@@ -1461,6 +1622,8 @@ export type GQLMutation = {
1461
1622
  googleSetupConnect: GQLGoogleSetupProgress;
1462
1623
  grantOperatorRole: GQLGrantOperatorRoleResponse;
1463
1624
  initiateUpload: GQLInitiateUploadResponse;
1625
+ inviteCustomAppUser: GQLCustomAppUser;
1626
+ inviteCustomAppUsers: Array<GQLCustomAppUserInvitation>;
1464
1627
  inviteRoster: GQLRosterInvitationSummary;
1465
1628
  inviteTeamMembers: GQLInviteSummary;
1466
1629
  linkOrganizationToProvider: GQLLinkOrganizationResponse;
@@ -1477,6 +1640,9 @@ export type GQLMutation = {
1477
1640
  recordHotelProfile: GQLRecordHotelProfileResponse;
1478
1641
  registerDatastore: GQLRegisterDatastoreResponse;
1479
1642
  releaseRuleOwnership: GQLReleaseRuleOwnershipResponse;
1643
+ removeCustomAppUser: GQLCustomAppUserRemoval;
1644
+ removeCustomAppUsers: Array<GQLCustomAppUserBulkRemovalResult>;
1645
+ removeCustomAppUsersCreatedBetween: GQLCustomAppUserBulkRemoval;
1480
1646
  removeDatastore: GQLRemoveDatastoreResponse;
1481
1647
  removeTeamMember: GQLTeamMemberRemovedResponse;
1482
1648
  renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
@@ -1486,11 +1652,16 @@ export type GQLMutation = {
1486
1652
  restoreMemory: GQLRestoreMemoryResponse;
1487
1653
  resumeLDESStream: GQLLdesStreamResponse;
1488
1654
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
1655
+ revokePreviousCustomAppSecret: GQLCustomApp;
1656
+ rotateCustomAppSecret: GQLCustomAppCredentials;
1489
1657
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
1658
+ setCustomAppChatAllowance: GQLCustomAppChatAllowance;
1659
+ setCustomAppEnabled: GQLCustomApp;
1490
1660
  setTeamMemberEnabled: GQLTeamMemberEnabledResponse;
1491
1661
  stageRuleOperation: GQLStageRuleOperationResponse;
1492
1662
  startLDESStream: GQLLdesStreamResponse;
1493
1663
  syncGmailIntegration: GQLGmailIntegration;
1664
+ updateCustomApp: GQLCustomApp;
1494
1665
  updateDataConnection: GQLDataConnectionTestState;
1495
1666
  updateMemory: GQLUpdateMemoryResponse;
1496
1667
  updateTeamMember: GQLTeamMemberUpdateResponse;
@@ -1538,6 +1709,16 @@ export type GQLMutationConnectStripeAccountArgs = {
1538
1709
  export type GQLMutationConsolidateMemoriesArgs = {
1539
1710
  input: GQLConsolidateMemoriesInput;
1540
1711
  };
1712
+ export type GQLMutationCreateCustomAppArgs = {
1713
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1714
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1715
+ kind?: InputMaybe<GQLCustomAppKind>;
1716
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1717
+ name: Scalars["String"]["input"];
1718
+ org?: InputMaybe<Scalars["String"]["input"]>;
1719
+ permissions?: InputMaybe<Array<GQLCustomAppPermission>>;
1720
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1721
+ };
1541
1722
  export type GQLMutationCreateDataConnectionArgs = {
1542
1723
  input: GQLCreateDataConnectionInput;
1543
1724
  };
@@ -1559,9 +1740,17 @@ export type GQLMutationDashSetupConnectArgs = {
1559
1740
  export type GQLMutationDeleteActionPlanArgs = {
1560
1741
  input: GQLDeleteActionPlanInput;
1561
1742
  };
1743
+ export type GQLMutationDeleteCustomAppArgs = {
1744
+ clientId: Scalars["String"]["input"];
1745
+ org?: InputMaybe<Scalars["String"]["input"]>;
1746
+ };
1562
1747
  export type GQLMutationDeleteDataConnectionArgs = {
1563
1748
  id: Scalars["String"]["input"];
1564
1749
  };
1750
+ export type GQLMutationDeleteDatastoreArgs = {
1751
+ confirmName: Scalars["String"]["input"];
1752
+ datastoreId: Scalars["String"]["input"];
1753
+ };
1565
1754
  export type GQLMutationDeleteLdesStreamArgs = {
1566
1755
  url: Scalars["String"]["input"];
1567
1756
  };
@@ -1574,6 +1763,9 @@ export type GQLMutationDeleteUserAccountArgs = {
1574
1763
  export type GQLMutationDisconnectConnectedAccountArgs = {
1575
1764
  id: Scalars["String"]["input"];
1576
1765
  };
1766
+ export type GQLMutationDisconnectCustomAppArgs = {
1767
+ clientId: Scalars["String"]["input"];
1768
+ };
1577
1769
  export type GQLMutationDisconnectGmailIntegrationArgs = {
1578
1770
  email: Scalars["String"]["input"];
1579
1771
  };
@@ -1607,6 +1799,19 @@ export type GQLMutationGrantOperatorRoleArgs = {
1607
1799
  export type GQLMutationInitiateUploadArgs = {
1608
1800
  input: GQLInitiateUploadInput;
1609
1801
  };
1802
+ export type GQLMutationInviteCustomAppUserArgs = {
1803
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
1804
+ clientId: Scalars["String"]["input"];
1805
+ email?: InputMaybe<Scalars["String"]["input"]>;
1806
+ org?: InputMaybe<Scalars["String"]["input"]>;
1807
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
1808
+ userId: Scalars["String"]["input"];
1809
+ };
1810
+ export type GQLMutationInviteCustomAppUsersArgs = {
1811
+ clientId: Scalars["String"]["input"];
1812
+ org?: InputMaybe<Scalars["String"]["input"]>;
1813
+ people: Array<GQLCustomAppUserInvitationInput>;
1814
+ };
1610
1815
  export type GQLMutationInviteRosterArgs = {
1611
1816
  invitations: Array<GQLSelfServeInvitationInput>;
1612
1817
  org: Scalars["String"]["input"];
@@ -1665,6 +1870,22 @@ export type GQLMutationRegisterDatastoreArgs = {
1665
1870
  export type GQLMutationReleaseRuleOwnershipArgs = {
1666
1871
  input: GQLReleaseRuleOwnershipInput;
1667
1872
  };
1873
+ export type GQLMutationRemoveCustomAppUserArgs = {
1874
+ clientId: Scalars["String"]["input"];
1875
+ org?: InputMaybe<Scalars["String"]["input"]>;
1876
+ userId: Scalars["String"]["input"];
1877
+ };
1878
+ export type GQLMutationRemoveCustomAppUsersArgs = {
1879
+ clientId: Scalars["String"]["input"];
1880
+ org?: InputMaybe<Scalars["String"]["input"]>;
1881
+ userIds: Array<Scalars["String"]["input"]>;
1882
+ };
1883
+ export type GQLMutationRemoveCustomAppUsersCreatedBetweenArgs = {
1884
+ clientId: Scalars["String"]["input"];
1885
+ createdFrom: Scalars["String"]["input"];
1886
+ createdUntil: Scalars["String"]["input"];
1887
+ org?: InputMaybe<Scalars["String"]["input"]>;
1888
+ };
1668
1889
  export type GQLMutationRemoveDatastoreArgs = {
1669
1890
  datastoreId: Scalars["String"]["input"];
1670
1891
  };
@@ -1696,9 +1917,29 @@ export type GQLMutationResumeLdesStreamArgs = {
1696
1917
  export type GQLMutationRevokeOperatorRoleArgs = {
1697
1918
  userId: Scalars["String"]["input"];
1698
1919
  };
1920
+ export type GQLMutationRevokePreviousCustomAppSecretArgs = {
1921
+ clientId: Scalars["String"]["input"];
1922
+ org?: InputMaybe<Scalars["String"]["input"]>;
1923
+ };
1924
+ export type GQLMutationRotateCustomAppSecretArgs = {
1925
+ clientId: Scalars["String"]["input"];
1926
+ keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
1927
+ org?: InputMaybe<Scalars["String"]["input"]>;
1928
+ };
1699
1929
  export type GQLMutationSelfServeProvisionOrganizationArgs = {
1700
1930
  input: GQLSelfServeProvisionOrganizationInput;
1701
1931
  };
1932
+ export type GQLMutationSetCustomAppChatAllowanceArgs = {
1933
+ clientId: Scalars["String"]["input"];
1934
+ org?: InputMaybe<Scalars["String"]["input"]>;
1935
+ perApp?: InputMaybe<Scalars["Int"]["input"]>;
1936
+ perPerson?: InputMaybe<Scalars["Int"]["input"]>;
1937
+ };
1938
+ export type GQLMutationSetCustomAppEnabledArgs = {
1939
+ clientId: Scalars["String"]["input"];
1940
+ enabled: Scalars["Boolean"]["input"];
1941
+ org?: InputMaybe<Scalars["String"]["input"]>;
1942
+ };
1702
1943
  export type GQLMutationSetTeamMemberEnabledArgs = {
1703
1944
  enabled: Scalars["Boolean"]["input"];
1704
1945
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -1713,6 +1954,16 @@ export type GQLMutationStartLdesStreamArgs = {
1713
1954
  export type GQLMutationSyncGmailIntegrationArgs = {
1714
1955
  email: Scalars["String"]["input"];
1715
1956
  };
1957
+ export type GQLMutationUpdateCustomAppArgs = {
1958
+ clientId: Scalars["String"]["input"];
1959
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1960
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1961
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1962
+ name?: InputMaybe<Scalars["String"]["input"]>;
1963
+ org?: InputMaybe<Scalars["String"]["input"]>;
1964
+ permissions?: InputMaybe<Array<GQLCustomAppPermission>>;
1965
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1966
+ };
1716
1967
  export type GQLMutationUpdateDataConnectionArgs = {
1717
1968
  input: GQLUpdateDataConnectionInput;
1718
1969
  };
@@ -1829,12 +2080,19 @@ export type GQLQuery = {
1829
2080
  assignableOrganizations: Array<GQLAssignableOrganization>;
1830
2081
  availableTeams: GQLAvailableTeamsResponse;
1831
2082
  connectedAccounts: Array<GQLConnectedAccount>;
2083
+ connectedCustomApps: Array<GQLConnectedCustomApp>;
1832
2084
  conversationStarters: GQLConversationStartersResponse;
1833
2085
  currentFactValue: GQLCurrentFactValueResponse;
2086
+ customApp: GQLCustomApp;
2087
+ customAppChatAllowance: GQLCustomAppChatAllowance;
2088
+ customAppDatastores: Array<GQLCustomAppDatastoreOption>;
2089
+ customAppUsers: GQLCustomAppUserPage;
2090
+ customApps: GQLCustomAppPage;
1834
2091
  customerDatastores: Array<GQLCustomerDatastore>;
1835
2092
  dashSetupProgress: GQLDashSetupProgress;
1836
2093
  dataConnections: Array<GQLDataConnection>;
1837
2094
  dataConnectorTypes: Array<GQLDataConnectorType>;
2095
+ datastoreInvoices: GQLDatastoreInvoicePage;
1838
2096
  datastoreProvisioningStatuses: Array<GQLDatastoreProvisioningStatus>;
1839
2097
  datastoreSubscriptions: Array<GQLDatastoreSubscription>;
1840
2098
  datastoreTree: Array<GQLDatastoreTreeNode>;
@@ -1842,6 +2100,7 @@ export type GQLQuery = {
1842
2100
  explainRDFoxFact: GQLRdFoxExplanationResponse;
1843
2101
  gmailIntegrations: Array<GQLGmailIntegration>;
1844
2102
  googleAnalyticsSetupProgress: GQLGoogleAnalyticsSetupProgress;
2103
+ googleBrandSuggestions: Array<GQLGoogleBrandSuggestion>;
1845
2104
  googleSetupProgress: GQLGoogleSetupProgress;
1846
2105
  inferalIntegrations: Array<GQLInferalIntegration>;
1847
2106
  knowledgeGraphState: GQLKnowledgeGraphState;
@@ -1911,6 +2170,38 @@ export type GQLQueryCurrentFactValueArgs = {
1911
2170
  predicate?: InputMaybe<Scalars["String"]["input"]>;
1912
2171
  subject: Scalars["String"]["input"];
1913
2172
  };
2173
+ export type GQLQueryCustomAppArgs = {
2174
+ clientId: Scalars["String"]["input"];
2175
+ org?: InputMaybe<Scalars["String"]["input"]>;
2176
+ };
2177
+ export type GQLQueryCustomAppChatAllowanceArgs = {
2178
+ clientId: Scalars["String"]["input"];
2179
+ org?: InputMaybe<Scalars["String"]["input"]>;
2180
+ };
2181
+ export type GQLQueryCustomAppDatastoresArgs = {
2182
+ org?: InputMaybe<Scalars["String"]["input"]>;
2183
+ };
2184
+ export type GQLQueryCustomAppUsersArgs = {
2185
+ clientId: Scalars["String"]["input"];
2186
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
2187
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
2188
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2189
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2190
+ org?: InputMaybe<Scalars["String"]["input"]>;
2191
+ search?: InputMaybe<Scalars["String"]["input"]>;
2192
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
2193
+ };
2194
+ export type GQLQueryCustomAppsArgs = {
2195
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2196
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2197
+ org?: InputMaybe<Scalars["String"]["input"]>;
2198
+ search?: InputMaybe<Scalars["String"]["input"]>;
2199
+ };
2200
+ export type GQLQueryDatastoreInvoicesArgs = {
2201
+ after?: InputMaybe<Scalars["String"]["input"]>;
2202
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
2203
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2204
+ };
1914
2205
  export type GQLQueryDatastoreProvisioningStatusesArgs = {
1915
2206
  datastoreIds: Array<Scalars["String"]["input"]>;
1916
2207
  };
@@ -1928,6 +2219,11 @@ export type GQLQueryExplainRdFoxFactArgs = {
1928
2219
  subject: Scalars["String"]["input"];
1929
2220
  summarize?: InputMaybe<Scalars["Boolean"]["input"]>;
1930
2221
  };
2222
+ export type GQLQueryGoogleBrandSuggestionsArgs = {
2223
+ brandPrefix: Scalars["String"]["input"];
2224
+ customerIri: Scalars["IRI"]["input"];
2225
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
2226
+ };
1931
2227
  export type GQLQueryKnowledgeGraphStateArgs = {
1932
2228
  dataVersion?: InputMaybe<Scalars["String"]["input"]>;
1933
2229
  };
@@ -2210,6 +2506,9 @@ export type GQLSessionOrgRole = {
2210
2506
  export type GQLSessionUser = {
2211
2507
  __typename?: "SessionUser";
2212
2508
  adminOrgs: Array<Scalars["String"]["output"]>;
2509
+ canManageCustomApps: Scalars["Boolean"]["output"];
2510
+ /** @deprecated Use canManageCustomApps */
2511
+ canManageExternalApps: Scalars["Boolean"]["output"];
2213
2512
  canManageIntegrations: Scalars["Boolean"]["output"];
2214
2513
  canManageSharedMemories: Scalars["Boolean"]["output"];
2215
2514
  canManageStreams: Scalars["Boolean"]["output"];
@@ -2573,6 +2872,33 @@ export type GQLWoocommerceProviderInput = {
2573
2872
  consumerSecret: Scalars["String"]["input"];
2574
2873
  sourceUrl: Scalars["String"]["input"];
2575
2874
  };
2875
+ export type GQLCustomAppConnectionFieldsFragment = {
2876
+ __typename?: "CustomAppConnection";
2877
+ issuer: string;
2878
+ discoveryUrl: string;
2879
+ tokenEndpoint: string;
2880
+ };
2881
+ export type GQLCustomAppFieldsFragment = {
2882
+ __typename?: "CustomApp";
2883
+ clientId: string;
2884
+ name: string;
2885
+ kind: GQLCustomAppKind;
2886
+ redirectUris: Array<string>;
2887
+ homeUrl?: string | null;
2888
+ machineAccess: boolean;
2889
+ enabled: boolean;
2890
+ org?: string | null;
2891
+ orgName?: string | null;
2892
+ previousSecretExpiresAt?: string | null;
2893
+ permissions: Array<GQLCustomAppPermission>;
2894
+ createdAt?: string | null;
2895
+ createdBy?: string | null;
2896
+ datastores: Array<{
2897
+ __typename?: "CustomAppDatastore";
2898
+ id: string;
2899
+ name: string;
2900
+ }>;
2901
+ };
2576
2902
  export type GQLMemoryFieldsFragment = {
2577
2903
  __typename?: "Memory";
2578
2904
  iri: string;
@@ -2635,6 +2961,19 @@ export type GQLAbortUploadMutation = {
2635
2961
  ok: boolean;
2636
2962
  };
2637
2963
  };
2964
+ export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
2965
+ subscriptionId: Scalars["String"]["input"];
2966
+ datastoreId: Scalars["String"]["input"];
2967
+ }>;
2968
+ export type GQLAttributeStripeSubscriptionMutation = {
2969
+ __typename?: "Mutation";
2970
+ attributeStripeSubscription: {
2971
+ __typename?: "AttributeStripeSubscriptionResponse";
2972
+ success: boolean;
2973
+ status?: string | null;
2974
+ error?: string | null;
2975
+ };
2976
+ };
2638
2977
  export type GQLAwaitDataConnectionTestMutationVariables = Exact<{
2639
2978
  id: Scalars["String"]["input"];
2640
2979
  }>;
@@ -2696,6 +3035,19 @@ export type GQLCommitStagedRulesMutation = {
2696
3035
  error?: string | null;
2697
3036
  };
2698
3037
  };
3038
+ export type GQLCompleteStripeCheckoutMutationVariables = Exact<{
3039
+ sessionId: Scalars["String"]["input"];
3040
+ }>;
3041
+ export type GQLCompleteStripeCheckoutMutation = {
3042
+ __typename?: "Mutation";
3043
+ completeStripeCheckout: {
3044
+ __typename?: "CompleteStripeCheckoutResponse";
3045
+ success: boolean;
3046
+ datastoreId?: string | null;
3047
+ status?: string | null;
3048
+ error?: string | null;
3049
+ };
3050
+ };
2699
3051
  export type GQLCompleteUploadMutationVariables = Exact<{
2700
3052
  input: GQLCompleteUploadInput;
2701
3053
  }>;
@@ -2741,6 +3093,50 @@ export type GQLConsolidateMemoriesMutation = {
2741
3093
  } | null;
2742
3094
  };
2743
3095
  };
3096
+ export type GQLCreateCustomAppMutationVariables = Exact<{
3097
+ org?: InputMaybe<Scalars["String"]["input"]>;
3098
+ name: Scalars["String"]["input"];
3099
+ kind?: InputMaybe<GQLCustomAppKind>;
3100
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3101
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
3102
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
3103
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3104
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
3105
+ }>;
3106
+ export type GQLCreateCustomAppMutation = {
3107
+ __typename?: "Mutation";
3108
+ createCustomApp: {
3109
+ __typename?: "CustomAppCredentials";
3110
+ clientSecret: string;
3111
+ app: {
3112
+ __typename?: "CustomApp";
3113
+ clientId: string;
3114
+ name: string;
3115
+ kind: GQLCustomAppKind;
3116
+ redirectUris: Array<string>;
3117
+ homeUrl?: string | null;
3118
+ machineAccess: boolean;
3119
+ enabled: boolean;
3120
+ org?: string | null;
3121
+ orgName?: string | null;
3122
+ previousSecretExpiresAt?: string | null;
3123
+ permissions: Array<GQLCustomAppPermission>;
3124
+ createdAt?: string | null;
3125
+ createdBy?: string | null;
3126
+ datastores: Array<{
3127
+ __typename?: "CustomAppDatastore";
3128
+ id: string;
3129
+ name: string;
3130
+ }>;
3131
+ };
3132
+ connection: {
3133
+ __typename?: "CustomAppConnection";
3134
+ issuer: string;
3135
+ discoveryUrl: string;
3136
+ tokenEndpoint: string;
3137
+ };
3138
+ };
3139
+ };
2744
3140
  export type GQLCreateDataConnectionMutationVariables = Exact<{
2745
3141
  input: GQLCreateDataConnectionInput;
2746
3142
  }>;
@@ -2802,6 +3198,21 @@ export type GQLCreateMemoryMutation = {
2802
3198
  } | null;
2803
3199
  };
2804
3200
  };
3201
+ export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
3202
+ datastoreId: Scalars["String"]["input"];
3203
+ priceId: Scalars["String"]["input"];
3204
+ successUrl: Scalars["String"]["input"];
3205
+ cancelUrl: Scalars["String"]["input"];
3206
+ }>;
3207
+ export type GQLCreateStripeCheckoutSessionMutation = {
3208
+ __typename?: "Mutation";
3209
+ createStripeCheckoutSession: {
3210
+ __typename?: "CreateStripeCheckoutSessionResponse";
3211
+ success: boolean;
3212
+ url?: string | null;
3213
+ error?: string | null;
3214
+ };
3215
+ };
2805
3216
  export type GQLDashSetupConnectMutationVariables = Exact<{
2806
3217
  folderIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
2807
3218
  }>;
@@ -2836,6 +3247,18 @@ export type GQLDeleteActionPlanMutation = {
2836
3247
  error?: string | null;
2837
3248
  };
2838
3249
  };
3250
+ export type GQLDeleteCustomAppMutationVariables = Exact<{
3251
+ org?: InputMaybe<Scalars["String"]["input"]>;
3252
+ clientId: Scalars["String"]["input"];
3253
+ }>;
3254
+ export type GQLDeleteCustomAppMutation = {
3255
+ __typename?: "Mutation";
3256
+ deleteCustomApp: {
3257
+ __typename?: "CustomAppDeletedResponse";
3258
+ clientId: string;
3259
+ deleted: boolean;
3260
+ };
3261
+ };
2839
3262
  export type GQLDeleteDataConnectionMutationVariables = Exact<{
2840
3263
  id: Scalars["String"]["input"];
2841
3264
  }>;
@@ -2846,6 +3269,18 @@ export type GQLDeleteDataConnectionMutation = {
2846
3269
  success: boolean;
2847
3270
  };
2848
3271
  };
3272
+ export type GQLDeleteDatastoreMutationVariables = Exact<{
3273
+ datastoreId: Scalars["String"]["input"];
3274
+ confirmName: Scalars["String"]["input"];
3275
+ }>;
3276
+ export type GQLDeleteDatastoreMutation = {
3277
+ __typename?: "Mutation";
3278
+ deleteDatastore: {
3279
+ __typename?: "DeleteDatastoreResponse";
3280
+ success: boolean;
3281
+ error?: string | null;
3282
+ };
3283
+ };
2849
3284
  export type GQLDeleteLdesStreamMutationVariables = Exact<{
2850
3285
  url: Scalars["String"]["input"];
2851
3286
  }>;
@@ -2893,6 +3328,13 @@ export type GQLDisconnectConnectedAccountMutation = {
2893
3328
  success: boolean;
2894
3329
  };
2895
3330
  };
3331
+ export type GQLDisconnectCustomAppMutationVariables = Exact<{
3332
+ clientId: Scalars["String"]["input"];
3333
+ }>;
3334
+ export type GQLDisconnectCustomAppMutation = {
3335
+ __typename?: "Mutation";
3336
+ disconnectCustomApp: boolean;
3337
+ };
2896
3338
  export type GQLDisconnectGmailIntegrationMutationVariables = Exact<{
2897
3339
  email: Scalars["String"]["input"];
2898
3340
  }>;
@@ -3070,6 +3512,42 @@ export type GQLInitiateUploadMutation = {
3070
3512
  }>;
3071
3513
  };
3072
3514
  };
3515
+ export type GQLInviteCustomAppUserMutationVariables = Exact<{
3516
+ org?: InputMaybe<Scalars["String"]["input"]>;
3517
+ clientId: Scalars["String"]["input"];
3518
+ userId: Scalars["String"]["input"];
3519
+ email?: InputMaybe<Scalars["String"]["input"]>;
3520
+ teams?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3521
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
3522
+ }>;
3523
+ export type GQLInviteCustomAppUserMutation = {
3524
+ __typename?: "Mutation";
3525
+ inviteCustomAppUser: {
3526
+ __typename?: "CustomAppUser";
3527
+ userId: string;
3528
+ invitedAt?: string | null;
3529
+ mantaMember: boolean;
3530
+ };
3531
+ };
3532
+ export type GQLInviteCustomAppUsersMutationVariables = Exact<{
3533
+ org?: InputMaybe<Scalars["String"]["input"]>;
3534
+ clientId: Scalars["String"]["input"];
3535
+ people: Array<GQLCustomAppUserInvitationInput> | GQLCustomAppUserInvitationInput;
3536
+ }>;
3537
+ export type GQLInviteCustomAppUsersMutation = {
3538
+ __typename?: "Mutation";
3539
+ inviteCustomAppUsers: Array<{
3540
+ __typename?: "CustomAppUserInvitation";
3541
+ userId: string;
3542
+ error?: string | null;
3543
+ user?: {
3544
+ __typename?: "CustomAppUser";
3545
+ userId: string;
3546
+ invitedAt?: string | null;
3547
+ mantaMember: boolean;
3548
+ } | null;
3549
+ }>;
3550
+ };
3073
3551
  export type GQLLinkOrganizationToProviderMutationVariables = Exact<{
3074
3552
  organizationId: Scalars["String"]["input"];
3075
3553
  }>;
@@ -3287,6 +3765,47 @@ export type GQLReleaseRuleOwnershipMutation = {
3287
3765
  error?: string | null;
3288
3766
  };
3289
3767
  };
3768
+ export type GQLRemoveCustomAppUserMutationVariables = Exact<{
3769
+ org?: InputMaybe<Scalars["String"]["input"]>;
3770
+ clientId: Scalars["String"]["input"];
3771
+ userId: Scalars["String"]["input"];
3772
+ }>;
3773
+ export type GQLRemoveCustomAppUserMutation = {
3774
+ __typename?: "Mutation";
3775
+ removeCustomAppUser: {
3776
+ __typename?: "CustomAppUserRemoval";
3777
+ userId: string;
3778
+ status: GQLCustomAppUserStatus;
3779
+ };
3780
+ };
3781
+ export type GQLRemoveCustomAppUsersCreatedBetweenMutationVariables = Exact<{
3782
+ org?: InputMaybe<Scalars["String"]["input"]>;
3783
+ clientId: Scalars["String"]["input"];
3784
+ createdFrom: Scalars["String"]["input"];
3785
+ createdUntil: Scalars["String"]["input"];
3786
+ }>;
3787
+ export type GQLRemoveCustomAppUsersCreatedBetweenMutation = {
3788
+ __typename?: "Mutation";
3789
+ removeCustomAppUsersCreatedBetween: {
3790
+ __typename?: "CustomAppUserBulkRemoval";
3791
+ removed: number;
3792
+ remaining: number;
3793
+ };
3794
+ };
3795
+ export type GQLRemoveCustomAppUsersMutationVariables = Exact<{
3796
+ org?: InputMaybe<Scalars["String"]["input"]>;
3797
+ clientId: Scalars["String"]["input"];
3798
+ userIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
3799
+ }>;
3800
+ export type GQLRemoveCustomAppUsersMutation = {
3801
+ __typename?: "Mutation";
3802
+ removeCustomAppUsers: Array<{
3803
+ __typename?: "CustomAppUserBulkRemovalResult";
3804
+ userId: string;
3805
+ status?: GQLCustomAppUserStatus | null;
3806
+ error?: string | null;
3807
+ }>;
3808
+ };
3290
3809
  export type GQLRemoveDatastoreMutationVariables = Exact<{
3291
3810
  datastoreId: Scalars["String"]["input"];
3292
3811
  }>;
@@ -3372,6 +3891,102 @@ export type GQLRevokeOperatorRoleMutation = {
3372
3891
  operator: boolean;
3373
3892
  };
3374
3893
  };
3894
+ export type GQLRevokePreviousCustomAppSecretMutationVariables = Exact<{
3895
+ org?: InputMaybe<Scalars["String"]["input"]>;
3896
+ clientId: Scalars["String"]["input"];
3897
+ }>;
3898
+ export type GQLRevokePreviousCustomAppSecretMutation = {
3899
+ __typename?: "Mutation";
3900
+ revokePreviousCustomAppSecret: {
3901
+ __typename?: "CustomApp";
3902
+ clientId: string;
3903
+ name: string;
3904
+ kind: GQLCustomAppKind;
3905
+ redirectUris: Array<string>;
3906
+ homeUrl?: string | null;
3907
+ machineAccess: boolean;
3908
+ enabled: boolean;
3909
+ org?: string | null;
3910
+ orgName?: string | null;
3911
+ previousSecretExpiresAt?: string | null;
3912
+ permissions: Array<GQLCustomAppPermission>;
3913
+ createdAt?: string | null;
3914
+ createdBy?: string | null;
3915
+ datastores: Array<{
3916
+ __typename?: "CustomAppDatastore";
3917
+ id: string;
3918
+ name: string;
3919
+ }>;
3920
+ };
3921
+ };
3922
+ export type GQLRotateCustomAppSecretMutationVariables = Exact<{
3923
+ org?: InputMaybe<Scalars["String"]["input"]>;
3924
+ clientId: Scalars["String"]["input"];
3925
+ keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
3926
+ }>;
3927
+ export type GQLRotateCustomAppSecretMutation = {
3928
+ __typename?: "Mutation";
3929
+ rotateCustomAppSecret: {
3930
+ __typename?: "CustomAppCredentials";
3931
+ clientSecret: string;
3932
+ app: {
3933
+ __typename?: "CustomApp";
3934
+ clientId: string;
3935
+ name: string;
3936
+ kind: GQLCustomAppKind;
3937
+ redirectUris: Array<string>;
3938
+ homeUrl?: string | null;
3939
+ machineAccess: boolean;
3940
+ enabled: boolean;
3941
+ org?: string | null;
3942
+ orgName?: string | null;
3943
+ previousSecretExpiresAt?: string | null;
3944
+ permissions: Array<GQLCustomAppPermission>;
3945
+ createdAt?: string | null;
3946
+ createdBy?: string | null;
3947
+ datastores: Array<{
3948
+ __typename?: "CustomAppDatastore";
3949
+ id: string;
3950
+ name: string;
3951
+ }>;
3952
+ };
3953
+ connection: {
3954
+ __typename?: "CustomAppConnection";
3955
+ issuer: string;
3956
+ discoveryUrl: string;
3957
+ tokenEndpoint: string;
3958
+ };
3959
+ };
3960
+ };
3961
+ export type GQLSetCustomAppEnabledMutationVariables = Exact<{
3962
+ org?: InputMaybe<Scalars["String"]["input"]>;
3963
+ clientId: Scalars["String"]["input"];
3964
+ enabled: Scalars["Boolean"]["input"];
3965
+ }>;
3966
+ export type GQLSetCustomAppEnabledMutation = {
3967
+ __typename?: "Mutation";
3968
+ setCustomAppEnabled: {
3969
+ __typename?: "CustomApp";
3970
+ clientId: string;
3971
+ name: string;
3972
+ kind: GQLCustomAppKind;
3973
+ redirectUris: Array<string>;
3974
+ homeUrl?: string | null;
3975
+ machineAccess: boolean;
3976
+ enabled: boolean;
3977
+ org?: string | null;
3978
+ orgName?: string | null;
3979
+ previousSecretExpiresAt?: string | null;
3980
+ permissions: Array<GQLCustomAppPermission>;
3981
+ createdAt?: string | null;
3982
+ createdBy?: string | null;
3983
+ datastores: Array<{
3984
+ __typename?: "CustomAppDatastore";
3985
+ id: string;
3986
+ name: string;
3987
+ }>;
3988
+ };
3989
+ };
3375
3990
  export type GQLStageRuleOperationMutationVariables = Exact<{
3376
3991
  input: GQLStageRuleOperationInput;
3377
3992
  }>;
@@ -3420,6 +4035,40 @@ export type GQLSyncGmailIntegrationMutation = {
3420
4035
  messagesIngested: number;
3421
4036
  };
3422
4037
  };
4038
+ export type GQLUpdateCustomAppMutationVariables = Exact<{
4039
+ org?: InputMaybe<Scalars["String"]["input"]>;
4040
+ clientId: Scalars["String"]["input"];
4041
+ name?: InputMaybe<Scalars["String"]["input"]>;
4042
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
4043
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
4044
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
4045
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
4046
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
4047
+ }>;
4048
+ export type GQLUpdateCustomAppMutation = {
4049
+ __typename?: "Mutation";
4050
+ updateCustomApp: {
4051
+ __typename?: "CustomApp";
4052
+ clientId: string;
4053
+ name: string;
4054
+ kind: GQLCustomAppKind;
4055
+ redirectUris: Array<string>;
4056
+ homeUrl?: string | null;
4057
+ machineAccess: boolean;
4058
+ enabled: boolean;
4059
+ org?: string | null;
4060
+ orgName?: string | null;
4061
+ previousSecretExpiresAt?: string | null;
4062
+ permissions: Array<GQLCustomAppPermission>;
4063
+ createdAt?: string | null;
4064
+ createdBy?: string | null;
4065
+ datastores: Array<{
4066
+ __typename?: "CustomAppDatastore";
4067
+ id: string;
4068
+ name: string;
4069
+ }>;
4070
+ };
4071
+ };
3423
4072
  export type GQLUpdateDataConnectionMutationVariables = Exact<{
3424
4073
  input: GQLUpdateDataConnectionInput;
3425
4074
  }>;
@@ -3964,6 +4613,18 @@ export type GQLConnectedAccountsQuery = {
3964
4613
  }>;
3965
4614
  }>;
3966
4615
  };
4616
+ export type GQLConnectedCustomAppsQueryVariables = Exact<{
4617
+ [key: string]: never;
4618
+ }>;
4619
+ export type GQLConnectedCustomAppsQuery = {
4620
+ __typename?: "Query";
4621
+ connectedCustomApps: Array<{
4622
+ __typename?: "ConnectedCustomApp";
4623
+ clientId: string;
4624
+ name: string;
4625
+ orgName?: string | null;
4626
+ }>;
4627
+ };
3967
4628
  export type GQLConversationStartersQueryVariables = Exact<{
3968
4629
  planGraphIri?: InputMaybe<Scalars["IRI"]["input"]>;
3969
4630
  }>;
@@ -4027,6 +4688,115 @@ export type GQLCurrentFactValueQuery = {
4027
4688
  error?: string | null;
4028
4689
  };
4029
4690
  };
4691
+ export type GQLCustomAppDatastoresQueryVariables = Exact<{
4692
+ org?: InputMaybe<Scalars["String"]["input"]>;
4693
+ }>;
4694
+ export type GQLCustomAppDatastoresQuery = {
4695
+ __typename?: "Query";
4696
+ customAppDatastores: Array<{
4697
+ __typename?: "CustomAppDatastoreOption";
4698
+ id: string;
4699
+ name: string;
4700
+ depth: number;
4701
+ }>;
4702
+ };
4703
+ export type GQLCustomAppUsersQueryVariables = Exact<{
4704
+ org?: InputMaybe<Scalars["String"]["input"]>;
4705
+ clientId: Scalars["String"]["input"];
4706
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4707
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4708
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
4709
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
4710
+ search?: InputMaybe<Scalars["String"]["input"]>;
4711
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
4712
+ }>;
4713
+ export type GQLCustomAppUsersQuery = {
4714
+ __typename?: "Query";
4715
+ customAppUsers: {
4716
+ __typename?: "CustomAppUserPage";
4717
+ total: number;
4718
+ users: Array<{
4719
+ __typename?: "CustomAppUser";
4720
+ userId: string;
4721
+ name?: string | null;
4722
+ email?: string | null;
4723
+ teams: Array<string>;
4724
+ allTeams: boolean;
4725
+ createdAt?: string | null;
4726
+ chatCount: number;
4727
+ invitedAt?: string | null;
4728
+ mantaMember: boolean;
4729
+ }>;
4730
+ };
4731
+ };
4732
+ export type GQLCustomAppQueryVariables = Exact<{
4733
+ org?: InputMaybe<Scalars["String"]["input"]>;
4734
+ clientId: Scalars["String"]["input"];
4735
+ }>;
4736
+ export type GQLCustomAppQuery = {
4737
+ __typename?: "Query";
4738
+ customApp: {
4739
+ __typename?: "CustomApp";
4740
+ clientId: string;
4741
+ name: string;
4742
+ kind: GQLCustomAppKind;
4743
+ redirectUris: Array<string>;
4744
+ homeUrl?: string | null;
4745
+ machineAccess: boolean;
4746
+ enabled: boolean;
4747
+ org?: string | null;
4748
+ orgName?: string | null;
4749
+ previousSecretExpiresAt?: string | null;
4750
+ permissions: Array<GQLCustomAppPermission>;
4751
+ createdAt?: string | null;
4752
+ createdBy?: string | null;
4753
+ datastores: Array<{
4754
+ __typename?: "CustomAppDatastore";
4755
+ id: string;
4756
+ name: string;
4757
+ }>;
4758
+ };
4759
+ };
4760
+ export type GQLCustomAppsQueryVariables = Exact<{
4761
+ org?: InputMaybe<Scalars["String"]["input"]>;
4762
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4763
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4764
+ search?: InputMaybe<Scalars["String"]["input"]>;
4765
+ }>;
4766
+ export type GQLCustomAppsQuery = {
4767
+ __typename?: "Query";
4768
+ customApps: {
4769
+ __typename?: "CustomAppPage";
4770
+ nextFirst?: number | null;
4771
+ apps: Array<{
4772
+ __typename?: "CustomApp";
4773
+ clientId: string;
4774
+ name: string;
4775
+ kind: GQLCustomAppKind;
4776
+ redirectUris: Array<string>;
4777
+ homeUrl?: string | null;
4778
+ machineAccess: boolean;
4779
+ enabled: boolean;
4780
+ org?: string | null;
4781
+ orgName?: string | null;
4782
+ previousSecretExpiresAt?: string | null;
4783
+ permissions: Array<GQLCustomAppPermission>;
4784
+ createdAt?: string | null;
4785
+ createdBy?: string | null;
4786
+ datastores: Array<{
4787
+ __typename?: "CustomAppDatastore";
4788
+ id: string;
4789
+ name: string;
4790
+ }>;
4791
+ }>;
4792
+ connection: {
4793
+ __typename?: "CustomAppConnection";
4794
+ issuer: string;
4795
+ discoveryUrl: string;
4796
+ tokenEndpoint: string;
4797
+ };
4798
+ };
4799
+ };
4030
4800
  export type GQLCustomerDatastoresQueryVariables = Exact<{
4031
4801
  [key: string]: never;
4032
4802
  }>;
@@ -4111,6 +4881,31 @@ export type GQLDataConnectorTypesQuery = {
4111
4881
  }>;
4112
4882
  }>;
4113
4883
  };
4884
+ export type GQLDatastoreInvoicesQueryVariables = Exact<{
4885
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
4886
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4887
+ after?: InputMaybe<Scalars["String"]["input"]>;
4888
+ }>;
4889
+ export type GQLDatastoreInvoicesQuery = {
4890
+ __typename?: "Query";
4891
+ datastoreInvoices: {
4892
+ __typename?: "DatastoreInvoicePage";
4893
+ nextCursor?: string | null;
4894
+ invoices: Array<{
4895
+ __typename?: "DatastoreInvoice";
4896
+ invoiceId: string;
4897
+ datastoreId?: string | null;
4898
+ number?: string | null;
4899
+ status: string;
4900
+ currency: string;
4901
+ total: number;
4902
+ created: number;
4903
+ dueDate?: number | null;
4904
+ hostedInvoiceUrl?: string | null;
4905
+ invoicePdf?: string | null;
4906
+ }>;
4907
+ };
4908
+ };
4114
4909
  export type GQLDatastoreProvisioningStatusesQueryVariables = Exact<{
4115
4910
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
4116
4911
  }>;
@@ -4127,6 +4922,18 @@ export type GQLDatastoreProvisioningStatusesQuery = {
4127
4922
  ready: boolean;
4128
4923
  }>;
4129
4924
  };
4925
+ export type GQLDatastoreSubscriptionsQueryVariables = Exact<{
4926
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
4927
+ }>;
4928
+ export type GQLDatastoreSubscriptionsQuery = {
4929
+ __typename?: "Query";
4930
+ datastoreSubscriptions: Array<{
4931
+ __typename?: "DatastoreSubscription";
4932
+ datastoreId: string;
4933
+ status: string;
4934
+ inGoodStanding: boolean;
4935
+ }>;
4936
+ };
4130
4937
  export type GQLDatastoreTreeQueryVariables = Exact<{
4131
4938
  [key: string]: never;
4132
4939
  }>;
@@ -4229,6 +5036,21 @@ export type GQLGoogleAnalyticsSetupProgressQuery = {
4229
5036
  } | null;
4230
5037
  };
4231
5038
  };
5039
+ export type GQLGoogleBrandSuggestionsQueryVariables = Exact<{
5040
+ customerIri: Scalars["IRI"]["input"];
5041
+ brandPrefix: Scalars["String"]["input"];
5042
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5043
+ }>;
5044
+ export type GQLGoogleBrandSuggestionsQuery = {
5045
+ __typename?: "Query";
5046
+ googleBrandSuggestions: Array<{
5047
+ __typename?: "GoogleBrandSuggestion";
5048
+ id: string;
5049
+ name: string;
5050
+ urls: Array<string>;
5051
+ state?: string | null;
5052
+ }>;
5053
+ };
4232
5054
  export type GQLGoogleSetupProgressQueryVariables = Exact<{
4233
5055
  [key: string]: never;
4234
5056
  }>;
@@ -4607,6 +5429,7 @@ export type GQLSessionContextQuery = {
4607
5429
  canManageStreams: boolean;
4608
5430
  canManageSharedMemories: boolean;
4609
5431
  canManageTeam: boolean;
5432
+ canManageCustomApps: boolean;
4610
5433
  datastore?: {
4611
5434
  __typename?: "CustomerDatastore";
4612
5435
  id: string;
@@ -4667,6 +5490,24 @@ export type GQLSparqlQueryQuery = {
4667
5490
  } | null;
4668
5491
  };
4669
5492
  };
5493
+ export type GQLStripeSubscriptionProductsQueryVariables = Exact<{
5494
+ [key: string]: never;
5495
+ }>;
5496
+ export type GQLStripeSubscriptionProductsQuery = {
5497
+ __typename?: "Query";
5498
+ stripeSubscriptionProducts: Array<{
5499
+ __typename?: "StripeSubscriptionProduct";
5500
+ priceId: string;
5501
+ priceName?: string | null;
5502
+ productId: string;
5503
+ productName: string;
5504
+ productDescription?: string | null;
5505
+ currency: string;
5506
+ unitAmount?: number | null;
5507
+ interval: string;
5508
+ intervalCount: number;
5509
+ }>;
5510
+ };
4670
5511
  export type GQLSupportedActionShapesQueryVariables = Exact<{
4671
5512
  rdfType?: InputMaybe<Scalars["String"]["input"]>;
4672
5513
  }>;
@@ -4713,6 +5554,7 @@ export type GQLTeamDirectoryQuery = {
4713
5554
  inviteUrl?: string | null;
4714
5555
  federated?: boolean | null;
4715
5556
  nameReadOnly?: boolean | null;
5557
+ operator?: boolean | null;
4716
5558
  enabled: boolean;
4717
5559
  memberships: Array<{
4718
5560
  __typename?: "DirectoryMembership";
@@ -4870,6 +5712,8 @@ export type GQLValidateActionPlanQuery = {
4870
5712
  };
4871
5713
  };
4872
5714
  };
5715
+ export declare const CustomAppConnectionFieldsFragmentDoc = "\n fragment CustomAppConnectionFields on CustomAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
5716
+ 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 ";
4873
5717
  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
5718
  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
5719
  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 +5721,11 @@ export declare const AbortUploadDocument = "\n mutation abortUpload($input: A
4877
5721
  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
5722
  input: GQLAbortUploadInput;
4879
5723
  }>, TContext>;
5724
+ 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 ";
5725
+ 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<{
5726
+ subscriptionId: Scalars["String"]["input"];
5727
+ datastoreId: Scalars["String"]["input"];
5728
+ }>, TContext>;
4880
5729
  export declare const AwaitDataConnectionTestDocument = "\n mutation AwaitDataConnectionTest($id: String!) {\n awaitDataConnectionTest(id: $id) {\n id\n status\n error\n }\n}\n ";
4881
5730
  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
5731
  id: Scalars["String"]["input"];
@@ -4898,6 +5747,10 @@ export declare const useCommitStagedRulesMutation: <TError = unknown, TContext =
4898
5747
  dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
4899
5748
  ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
4900
5749
  }>, TContext>;
5750
+ export declare const CompleteStripeCheckoutDocument = "\n mutation CompleteStripeCheckout($sessionId: String!) {\n completeStripeCheckout(sessionId: $sessionId) {\n success\n datastoreId\n status\n error\n }\n}\n ";
5751
+ 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<{
5752
+ sessionId: Scalars["String"]["input"];
5753
+ }>, TContext>;
4901
5754
  export declare const CompleteUploadDocument = "\n mutation completeUpload($input: CompleteUploadInput!) {\n completeUpload(input: $input) {\n fileIri\n mediaType\n }\n}\n ";
4902
5755
  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
5756
  input: GQLCompleteUploadInput;
@@ -4906,6 +5759,17 @@ export declare const ConsolidateMemoriesDocument = "\n mutation ConsolidateMe
4906
5759
  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<{
4907
5760
  input: GQLConsolidateMemoriesInput;
4908
5761
  }>, TContext>;
5762
+ export declare const CreateCustomAppDocument = "\n mutation CreateCustomApp($org: String, $name: String!, $kind: CustomAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {\n createCustomApp(\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 ...CustomAppFields\n }\n clientSecret\n connection {\n ...CustomAppConnectionFields\n }\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 \n\n fragment CustomAppConnectionFields on CustomAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
5763
+ export declare const useCreateCustomAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateCustomAppMutation, TError, GQLCreateCustomAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateCustomAppMutation, TError, Exact<{
5764
+ org?: InputMaybe<Scalars["String"]["input"]>;
5765
+ name: Scalars["String"]["input"];
5766
+ kind?: InputMaybe<GQLCustomAppKind>;
5767
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5768
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
5769
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
5770
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5771
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
5772
+ }>, TContext>;
4909
5773
  export declare const CreateDataConnectionDocument = "\n mutation CreateDataConnection($input: CreateDataConnectionInput!) {\n createDataConnection(input: $input) {\n id\n status\n error\n }\n}\n ";
4910
5774
  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
5775
  input: GQLCreateDataConnectionInput;
@@ -4918,6 +5782,13 @@ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input:
4918
5782
  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
5783
  input: GQLCreateMemoryInput;
4920
5784
  }>, TContext>;
5785
+ 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 ";
5786
+ 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<{
5787
+ datastoreId: Scalars["String"]["input"];
5788
+ priceId: Scalars["String"]["input"];
5789
+ successUrl: Scalars["String"]["input"];
5790
+ cancelUrl: Scalars["String"]["input"];
5791
+ }>, TContext>;
4921
5792
  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
5793
  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
5794
  folderIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
@@ -4926,10 +5797,20 @@ export declare const DeleteActionPlanDocument = "\n mutation DeleteActionPlan
4926
5797
  export declare const useDeleteActionPlanMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteActionPlanMutation, TError, GQLDeleteActionPlanMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteActionPlanMutation, TError, Exact<{
4927
5798
  input: GQLDeleteActionPlanInput;
4928
5799
  }>, TContext>;
5800
+ export declare const DeleteCustomAppDocument = "\n mutation DeleteCustomApp($org: String, $clientId: String!) {\n deleteCustomApp(org: $org, clientId: $clientId) {\n clientId\n deleted\n }\n}\n ";
5801
+ export declare const useDeleteCustomAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteCustomAppMutation, TError, GQLDeleteCustomAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteCustomAppMutation, TError, Exact<{
5802
+ org?: InputMaybe<Scalars["String"]["input"]>;
5803
+ clientId: Scalars["String"]["input"];
5804
+ }>, TContext>;
4929
5805
  export declare const DeleteDataConnectionDocument = "\n mutation DeleteDataConnection($id: String!) {\n deleteDataConnection(id: $id) {\n success\n }\n}\n ";
4930
5806
  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
5807
  id: Scalars["String"]["input"];
4932
5808
  }>, TContext>;
5809
+ export declare const DeleteDatastoreDocument = "\n mutation DeleteDatastore($datastoreId: String!, $confirmName: String!) {\n deleteDatastore(datastoreId: $datastoreId, confirmName: $confirmName) {\n success\n error\n }\n}\n ";
5810
+ export declare const useDeleteDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteDatastoreMutation, TError, GQLDeleteDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteDatastoreMutation, TError, Exact<{
5811
+ datastoreId: Scalars["String"]["input"];
5812
+ confirmName: Scalars["String"]["input"];
5813
+ }>, TContext>;
4933
5814
  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
5815
  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
5816
  url: Scalars["String"]["input"];
@@ -4946,6 +5827,10 @@ export declare const DisconnectConnectedAccountDocument = "\n mutation Discon
4946
5827
  export declare const useDisconnectConnectedAccountMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDisconnectConnectedAccountMutation, TError, GQLDisconnectConnectedAccountMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDisconnectConnectedAccountMutation, TError, Exact<{
4947
5828
  id: Scalars["String"]["input"];
4948
5829
  }>, TContext>;
5830
+ export declare const DisconnectCustomAppDocument = "\n mutation DisconnectCustomApp($clientId: String!) {\n disconnectCustomApp(clientId: $clientId)\n}\n ";
5831
+ export declare const useDisconnectCustomAppMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDisconnectCustomAppMutation, TError, GQLDisconnectCustomAppMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDisconnectCustomAppMutation, TError, Exact<{
5832
+ clientId: Scalars["String"]["input"];
5833
+ }>, TContext>;
4949
5834
  export declare const DisconnectGmailIntegrationDocument = "\n mutation DisconnectGmailIntegration($email: String!) {\n disconnectGmailIntegration(email: $email) {\n success\n }\n}\n ";
4950
5835
  export declare const useDisconnectGmailIntegrationMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDisconnectGmailIntegrationMutation, TError, GQLDisconnectGmailIntegrationMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDisconnectGmailIntegrationMutation, TError, Exact<{
4951
5836
  email: Scalars["String"]["input"];
@@ -4990,6 +5875,21 @@ export declare const InitiateUploadDocument = "\n mutation initiateUpload($in
4990
5875
  export declare const useInitiateUploadMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLInitiateUploadMutation, TError, GQLInitiateUploadMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLInitiateUploadMutation, TError, Exact<{
4991
5876
  input: GQLInitiateUploadInput;
4992
5877
  }>, TContext>;
5878
+ export declare const InviteCustomAppUserDocument = "\n mutation InviteCustomAppUser($org: String, $clientId: String!, $userId: String!, $email: String, $teams: [String!], $allTeams: Boolean) {\n inviteCustomAppUser(\n org: $org\n clientId: $clientId\n userId: $userId\n email: $email\n teams: $teams\n allTeams: $allTeams\n ) {\n userId\n invitedAt\n mantaMember\n }\n}\n ";
5879
+ export declare const useInviteCustomAppUserMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLInviteCustomAppUserMutation, TError, GQLInviteCustomAppUserMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLInviteCustomAppUserMutation, TError, Exact<{
5880
+ org?: InputMaybe<Scalars["String"]["input"]>;
5881
+ clientId: Scalars["String"]["input"];
5882
+ userId: Scalars["String"]["input"];
5883
+ email?: InputMaybe<Scalars["String"]["input"]>;
5884
+ teams?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5885
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
5886
+ }>, TContext>;
5887
+ export declare const InviteCustomAppUsersDocument = "\n mutation InviteCustomAppUsers($org: String, $clientId: String!, $people: [CustomAppUserInvitationInput!]!) {\n inviteCustomAppUsers(org: $org, clientId: $clientId, people: $people) {\n userId\n error\n user {\n userId\n invitedAt\n mantaMember\n }\n }\n}\n ";
5888
+ export declare const useInviteCustomAppUsersMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLInviteCustomAppUsersMutation, TError, GQLInviteCustomAppUsersMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLInviteCustomAppUsersMutation, TError, Exact<{
5889
+ org?: InputMaybe<Scalars["String"]["input"]>;
5890
+ clientId: Scalars["String"]["input"];
5891
+ people: Array<GQLCustomAppUserInvitationInput> | GQLCustomAppUserInvitationInput;
5892
+ }>, TContext>;
4993
5893
  export declare const LinkOrganizationToProviderDocument = "\n mutation LinkOrganizationToProvider($organizationId: String!) {\n linkOrganizationToProvider(organizationId: $organizationId) {\n linkEnabled\n linked\n mirrored\n reason\n }\n}\n ";
4994
5894
  export declare const useLinkOrganizationToProviderMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLLinkOrganizationToProviderMutation, TError, GQLLinkOrganizationToProviderMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLLinkOrganizationToProviderMutation, TError, Exact<{
4995
5895
  organizationId: Scalars["String"]["input"];
@@ -5044,6 +5944,25 @@ export declare const ReleaseRuleOwnershipDocument = "\n mutation ReleaseRuleO
5044
5944
  export declare const useReleaseRuleOwnershipMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLReleaseRuleOwnershipMutation, TError, GQLReleaseRuleOwnershipMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLReleaseRuleOwnershipMutation, TError, Exact<{
5045
5945
  input: GQLReleaseRuleOwnershipInput;
5046
5946
  }>, TContext>;
5947
+ export declare const RemoveCustomAppUserDocument = "\n mutation RemoveCustomAppUser($org: String, $clientId: String!, $userId: String!) {\n removeCustomAppUser(org: $org, clientId: $clientId, userId: $userId) {\n userId\n status\n }\n}\n ";
5948
+ export declare const useRemoveCustomAppUserMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRemoveCustomAppUserMutation, TError, GQLRemoveCustomAppUserMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRemoveCustomAppUserMutation, TError, Exact<{
5949
+ org?: InputMaybe<Scalars["String"]["input"]>;
5950
+ clientId: Scalars["String"]["input"];
5951
+ userId: Scalars["String"]["input"];
5952
+ }>, TContext>;
5953
+ export declare const RemoveCustomAppUsersCreatedBetweenDocument = "\n mutation RemoveCustomAppUsersCreatedBetween($org: String, $clientId: String!, $createdFrom: String!, $createdUntil: String!) {\n removeCustomAppUsersCreatedBetween(\n org: $org\n clientId: $clientId\n createdFrom: $createdFrom\n createdUntil: $createdUntil\n ) {\n removed\n remaining\n }\n}\n ";
5954
+ export declare const useRemoveCustomAppUsersCreatedBetweenMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRemoveCustomAppUsersCreatedBetweenMutation, TError, GQLRemoveCustomAppUsersCreatedBetweenMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRemoveCustomAppUsersCreatedBetweenMutation, TError, Exact<{
5955
+ org?: InputMaybe<Scalars["String"]["input"]>;
5956
+ clientId: Scalars["String"]["input"];
5957
+ createdFrom: Scalars["String"]["input"];
5958
+ createdUntil: Scalars["String"]["input"];
5959
+ }>, TContext>;
5960
+ export declare const RemoveCustomAppUsersDocument = "\n mutation RemoveCustomAppUsers($org: String, $clientId: String!, $userIds: [String!]!) {\n removeCustomAppUsers(org: $org, clientId: $clientId, userIds: $userIds) {\n userId\n status\n error\n }\n}\n ";
5961
+ export declare const useRemoveCustomAppUsersMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRemoveCustomAppUsersMutation, TError, GQLRemoveCustomAppUsersMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRemoveCustomAppUsersMutation, TError, Exact<{
5962
+ org?: InputMaybe<Scalars["String"]["input"]>;
5963
+ clientId: Scalars["String"]["input"];
5964
+ userIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
5965
+ }>, TContext>;
5047
5966
  export declare const RemoveDatastoreDocument = "\n mutation RemoveDatastore($datastoreId: String!) {\n removeDatastore(datastoreId: $datastoreId) {\n success\n error\n }\n}\n ";
5048
5967
  export declare const useRemoveDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRemoveDatastoreMutation, TError, GQLRemoveDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRemoveDatastoreMutation, TError, Exact<{
5049
5968
  datastoreId: Scalars["String"]["input"];
@@ -5074,6 +5993,23 @@ export declare const RevokeOperatorRoleDocument = "\n mutation RevokeOperator
5074
5993
  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
5994
  userId: Scalars["String"]["input"];
5076
5995
  }>, TContext>;
5996
+ export declare const RevokePreviousCustomAppSecretDocument = "\n mutation RevokePreviousCustomAppSecret($org: String, $clientId: String!) {\n revokePreviousCustomAppSecret(org: $org, clientId: $clientId) {\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 ";
5997
+ export declare const useRevokePreviousCustomAppSecretMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRevokePreviousCustomAppSecretMutation, TError, GQLRevokePreviousCustomAppSecretMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRevokePreviousCustomAppSecretMutation, TError, Exact<{
5998
+ org?: InputMaybe<Scalars["String"]["input"]>;
5999
+ clientId: Scalars["String"]["input"];
6000
+ }>, TContext>;
6001
+ export declare const RotateCustomAppSecretDocument = "\n mutation RotateCustomAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {\n rotateCustomAppSecret(\n org: $org\n clientId: $clientId\n keepPrevious: $keepPrevious\n ) {\n app {\n ...CustomAppFields\n }\n clientSecret\n connection {\n ...CustomAppConnectionFields\n }\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 \n\n fragment CustomAppConnectionFields on CustomAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
6002
+ export declare const useRotateCustomAppSecretMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRotateCustomAppSecretMutation, TError, GQLRotateCustomAppSecretMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRotateCustomAppSecretMutation, TError, Exact<{
6003
+ org?: InputMaybe<Scalars["String"]["input"]>;
6004
+ clientId: Scalars["String"]["input"];
6005
+ keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
6006
+ }>, TContext>;
6007
+ 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 ";
6008
+ 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<{
6009
+ org?: InputMaybe<Scalars["String"]["input"]>;
6010
+ clientId: Scalars["String"]["input"];
6011
+ enabled: Scalars["Boolean"]["input"];
6012
+ }>, TContext>;
5077
6013
  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
6014
  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
6015
  input: GQLStageRuleOperationInput;
@@ -5086,6 +6022,17 @@ export declare const SyncGmailIntegrationDocument = "\n mutation SyncGmailInt
5086
6022
  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<{
5087
6023
  email: Scalars["String"]["input"];
5088
6024
  }>, TContext>;
6025
+ 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 ";
6026
+ 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<{
6027
+ org?: InputMaybe<Scalars["String"]["input"]>;
6028
+ clientId: Scalars["String"]["input"];
6029
+ name?: InputMaybe<Scalars["String"]["input"]>;
6030
+ redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
6031
+ homeUrl?: InputMaybe<Scalars["String"]["input"]>;
6032
+ machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
6033
+ datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
6034
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
6035
+ }>, TContext>;
5089
6036
  export declare const UpdateDataConnectionDocument = "\n mutation UpdateDataConnection($input: UpdateDataConnectionInput!) {\n updateDataConnection(input: $input) {\n id\n status\n error\n }\n}\n ";
5090
6037
  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
6038
  input: GQLUpdateDataConnectionInput;
@@ -5309,6 +6256,23 @@ export declare const useSuspenseConnectedAccountsQuery: {
5309
6256
  [key: string]: never;
5310
6257
  }>)[];
5311
6258
  };
6259
+ export declare const ConnectedCustomAppsDocument = "\n query ConnectedCustomApps {\n connectedCustomApps {\n clientId\n name\n orgName\n }\n}\n ";
6260
+ export declare const useConnectedCustomAppsQuery: {
6261
+ <TData = GQLConnectedCustomAppsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLConnectedCustomAppsQueryVariables, options?: Omit<UseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>, "queryKey"> & {
6262
+ queryKey?: UseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>["queryKey"];
6263
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6264
+ getKey(variables?: GQLConnectedCustomAppsQueryVariables): (string | Exact<{
6265
+ [key: string]: never;
6266
+ }>)[];
6267
+ };
6268
+ export declare const useSuspenseConnectedCustomAppsQuery: {
6269
+ <TData = GQLConnectedCustomAppsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLConnectedCustomAppsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>, "queryKey"> & {
6270
+ queryKey?: UseSuspenseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>["queryKey"];
6271
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6272
+ getKey(variables?: GQLConnectedCustomAppsQueryVariables): (string | Exact<{
6273
+ [key: string]: never;
6274
+ }>)[];
6275
+ };
5312
6276
  export declare const ConversationStartersDocument = "\n query ConversationStarters($planGraphIri: IRI) {\n conversationStarters(planGraphIri: $planGraphIri) {\n starters {\n id\n title\n description\n priority\n }\n count\n source\n }\n}\n ";
5313
6277
  export declare const useConversationStartersQuery: {
5314
6278
  <TData = GQLConversationStartersQuery, TError = unknown>(client: GraphQLClient, variables?: GQLConversationStartersQueryVariables, options?: Omit<UseQueryOptions<GQLConversationStartersQuery, TError, TData>, "queryKey"> & {
@@ -5368,6 +6332,96 @@ export declare const useSuspenseCurrentFactValueQuery: {
5368
6332
  namedGraph?: InputMaybe<Scalars["IRI"]["input"]>;
5369
6333
  }>)[];
5370
6334
  };
6335
+ export declare const CustomAppDatastoresDocument = "\n query CustomAppDatastores($org: String) {\n customAppDatastores(org: $org) {\n id\n name\n depth\n }\n}\n ";
6336
+ export declare const useCustomAppDatastoresQuery: {
6337
+ <TData = GQLCustomAppDatastoresQuery, TError = unknown>(client: GraphQLClient, variables?: GQLCustomAppDatastoresQueryVariables, options?: Omit<UseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>, "queryKey"> & {
6338
+ queryKey?: UseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>["queryKey"];
6339
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6340
+ getKey(variables?: GQLCustomAppDatastoresQueryVariables): (string | Exact<{
6341
+ org?: InputMaybe<Scalars["String"]["input"]>;
6342
+ }>)[];
6343
+ };
6344
+ export declare const useSuspenseCustomAppDatastoresQuery: {
6345
+ <TData = GQLCustomAppDatastoresQuery, TError = unknown>(client: GraphQLClient, variables?: GQLCustomAppDatastoresQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>, "queryKey"> & {
6346
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>["queryKey"];
6347
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6348
+ getKey(variables?: GQLCustomAppDatastoresQueryVariables): (string | Exact<{
6349
+ org?: InputMaybe<Scalars["String"]["input"]>;
6350
+ }>)[];
6351
+ };
6352
+ export declare const CustomAppUsersDocument = "\n query CustomAppUsers($org: String, $clientId: String!, $first: Int, $max: Int, $createdFrom: String, $createdUntil: String, $search: String, $status: CustomAppUserStatusFilter) {\n customAppUsers(\n org: $org\n clientId: $clientId\n first: $first\n max: $max\n createdFrom: $createdFrom\n createdUntil: $createdUntil\n search: $search\n status: $status\n ) {\n users {\n userId\n name\n email\n teams\n allTeams\n createdAt\n chatCount\n invitedAt\n mantaMember\n }\n total\n }\n}\n ";
6353
+ export declare const useCustomAppUsersQuery: {
6354
+ <TData = GQLCustomAppUsersQuery, TError = unknown>(client: GraphQLClient, variables: GQLCustomAppUsersQueryVariables, options?: Omit<UseQueryOptions<GQLCustomAppUsersQuery, TError, TData>, "queryKey"> & {
6355
+ queryKey?: UseQueryOptions<GQLCustomAppUsersQuery, TError, TData>["queryKey"];
6356
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6357
+ getKey(variables: GQLCustomAppUsersQueryVariables): (string | Exact<{
6358
+ org?: InputMaybe<Scalars["String"]["input"]>;
6359
+ clientId: Scalars["String"]["input"];
6360
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6361
+ max?: InputMaybe<Scalars["Int"]["input"]>;
6362
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
6363
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
6364
+ search?: InputMaybe<Scalars["String"]["input"]>;
6365
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
6366
+ }>)[];
6367
+ };
6368
+ export declare const useSuspenseCustomAppUsersQuery: {
6369
+ <TData = GQLCustomAppUsersQuery, TError = unknown>(client: GraphQLClient, variables: GQLCustomAppUsersQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLCustomAppUsersQuery, TError, TData>, "queryKey"> & {
6370
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppUsersQuery, TError, TData>["queryKey"];
6371
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6372
+ getKey(variables: GQLCustomAppUsersQueryVariables): (string | Exact<{
6373
+ org?: InputMaybe<Scalars["String"]["input"]>;
6374
+ clientId: Scalars["String"]["input"];
6375
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6376
+ max?: InputMaybe<Scalars["Int"]["input"]>;
6377
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
6378
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
6379
+ search?: InputMaybe<Scalars["String"]["input"]>;
6380
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
6381
+ }>)[];
6382
+ };
6383
+ export declare const CustomAppDocument = "\n query CustomApp($org: String, $clientId: String!) {\n customApp(org: $org, clientId: $clientId) {\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 ";
6384
+ export declare const useCustomAppQuery: {
6385
+ <TData = GQLCustomAppQuery, TError = unknown>(client: GraphQLClient, variables: GQLCustomAppQueryVariables, options?: Omit<UseQueryOptions<GQLCustomAppQuery, TError, TData>, "queryKey"> & {
6386
+ queryKey?: UseQueryOptions<GQLCustomAppQuery, TError, TData>["queryKey"];
6387
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6388
+ getKey(variables: GQLCustomAppQueryVariables): (string | Exact<{
6389
+ org?: InputMaybe<Scalars["String"]["input"]>;
6390
+ clientId: Scalars["String"]["input"];
6391
+ }>)[];
6392
+ };
6393
+ export declare const useSuspenseCustomAppQuery: {
6394
+ <TData = GQLCustomAppQuery, TError = unknown>(client: GraphQLClient, variables: GQLCustomAppQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLCustomAppQuery, TError, TData>, "queryKey"> & {
6395
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppQuery, TError, TData>["queryKey"];
6396
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6397
+ getKey(variables: GQLCustomAppQueryVariables): (string | Exact<{
6398
+ org?: InputMaybe<Scalars["String"]["input"]>;
6399
+ clientId: Scalars["String"]["input"];
6400
+ }>)[];
6401
+ };
6402
+ export declare const CustomAppsDocument = "\n query CustomApps($org: String, $first: Int, $max: Int, $search: String) {\n customApps(org: $org, first: $first, max: $max, search: $search) {\n apps {\n ...CustomAppFields\n }\n nextFirst\n connection {\n ...CustomAppConnectionFields\n }\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 \n\n fragment CustomAppConnectionFields on CustomAppConnection {\n issuer\n discoveryUrl\n tokenEndpoint\n}\n ";
6403
+ export declare const useCustomAppsQuery: {
6404
+ <TData = GQLCustomAppsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLCustomAppsQueryVariables, options?: Omit<UseQueryOptions<GQLCustomAppsQuery, TError, TData>, "queryKey"> & {
6405
+ queryKey?: UseQueryOptions<GQLCustomAppsQuery, TError, TData>["queryKey"];
6406
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6407
+ getKey(variables?: GQLCustomAppsQueryVariables): (string | Exact<{
6408
+ org?: InputMaybe<Scalars["String"]["input"]>;
6409
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6410
+ max?: InputMaybe<Scalars["Int"]["input"]>;
6411
+ search?: InputMaybe<Scalars["String"]["input"]>;
6412
+ }>)[];
6413
+ };
6414
+ export declare const useSuspenseCustomAppsQuery: {
6415
+ <TData = GQLCustomAppsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLCustomAppsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLCustomAppsQuery, TError, TData>, "queryKey"> & {
6416
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppsQuery, TError, TData>["queryKey"];
6417
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6418
+ getKey(variables?: GQLCustomAppsQueryVariables): (string | Exact<{
6419
+ org?: InputMaybe<Scalars["String"]["input"]>;
6420
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6421
+ max?: InputMaybe<Scalars["Int"]["input"]>;
6422
+ search?: InputMaybe<Scalars["String"]["input"]>;
6423
+ }>)[];
6424
+ };
5371
6425
  export declare const CustomerDatastoresDocument = "\n query CustomerDatastores {\n customerDatastores {\n id\n name\n depth\n selectable\n badge\n }\n}\n ";
5372
6426
  export declare const useCustomerDatastoresQuery: {
5373
6427
  <TData = GQLCustomerDatastoresQuery, TError = unknown>(client: GraphQLClient, variables?: GQLCustomerDatastoresQueryVariables, options?: Omit<UseQueryOptions<GQLCustomerDatastoresQuery, TError, TData>, "queryKey"> & {
@@ -5436,6 +6490,27 @@ export declare const useSuspenseDataConnectorTypesQuery: {
5436
6490
  [key: string]: never;
5437
6491
  }>)[];
5438
6492
  };
6493
+ 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 ";
6494
+ export declare const useDatastoreInvoicesQuery: {
6495
+ <TData = GQLDatastoreInvoicesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreInvoicesQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>, "queryKey"> & {
6496
+ queryKey?: UseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>["queryKey"];
6497
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6498
+ getKey(variables?: GQLDatastoreInvoicesQueryVariables): (string | Exact<{
6499
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
6500
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6501
+ after?: InputMaybe<Scalars["String"]["input"]>;
6502
+ }>)[];
6503
+ };
6504
+ export declare const useSuspenseDatastoreInvoicesQuery: {
6505
+ <TData = GQLDatastoreInvoicesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreInvoicesQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>, "queryKey"> & {
6506
+ queryKey?: UseSuspenseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>["queryKey"];
6507
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6508
+ getKey(variables?: GQLDatastoreInvoicesQueryVariables): (string | Exact<{
6509
+ datastoreId?: InputMaybe<Scalars["String"]["input"]>;
6510
+ first?: InputMaybe<Scalars["Int"]["input"]>;
6511
+ after?: InputMaybe<Scalars["String"]["input"]>;
6512
+ }>)[];
6513
+ };
5439
6514
  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
6515
  export declare const useDatastoreProvisioningStatusesQuery: {
5441
6516
  <TData = GQLDatastoreProvisioningStatusesQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreProvisioningStatusesQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreProvisioningStatusesQuery, TError, TData>, "queryKey"> & {
@@ -5453,6 +6528,23 @@ export declare const useSuspenseDatastoreProvisioningStatusesQuery: {
5453
6528
  datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
5454
6529
  }>)[];
5455
6530
  };
6531
+ export declare const DatastoreSubscriptionsDocument = "\n query DatastoreSubscriptions($datastoreIds: [String!]!) {\n datastoreSubscriptions(datastoreIds: $datastoreIds) {\n datastoreId\n status\n inGoodStanding\n }\n}\n ";
6532
+ export declare const useDatastoreSubscriptionsQuery: {
6533
+ <TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
6534
+ queryKey?: UseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
6535
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6536
+ getKey(variables: GQLDatastoreSubscriptionsQueryVariables): (string | Exact<{
6537
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6538
+ }>)[];
6539
+ };
6540
+ export declare const useSuspenseDatastoreSubscriptionsQuery: {
6541
+ <TData = GQLDatastoreSubscriptionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreSubscriptionsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>, "queryKey"> & {
6542
+ queryKey?: UseSuspenseQueryOptions<GQLDatastoreSubscriptionsQuery, TError, TData>["queryKey"];
6543
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6544
+ getKey(variables: GQLDatastoreSubscriptionsQueryVariables): (string | Exact<{
6545
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6546
+ }>)[];
6547
+ };
5456
6548
  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
6549
  export declare const useDatastoreTreeQuery: {
5458
6550
  <TData = GQLDatastoreTreeQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreTreeQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>, "queryKey"> & {
@@ -5548,6 +6640,27 @@ export declare const useSuspenseGoogleAnalyticsSetupProgressQuery: {
5548
6640
  [key: string]: never;
5549
6641
  }>)[];
5550
6642
  };
6643
+ export declare const GoogleBrandSuggestionsDocument = "\n query GoogleBrandSuggestions($customerIri: IRI!, $brandPrefix: String!, $selectedBrandIds: [String!]) {\n googleBrandSuggestions(\n customerIri: $customerIri\n brandPrefix: $brandPrefix\n selectedBrandIds: $selectedBrandIds\n ) {\n id\n name\n urls\n state\n }\n}\n ";
6644
+ export declare const useGoogleBrandSuggestionsQuery: {
6645
+ <TData = GQLGoogleBrandSuggestionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLGoogleBrandSuggestionsQueryVariables, options?: Omit<UseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>, "queryKey"> & {
6646
+ queryKey?: UseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>["queryKey"];
6647
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6648
+ getKey(variables: GQLGoogleBrandSuggestionsQueryVariables): (string | Exact<{
6649
+ customerIri: Scalars["IRI"]["input"];
6650
+ brandPrefix: Scalars["String"]["input"];
6651
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
6652
+ }>)[];
6653
+ };
6654
+ export declare const useSuspenseGoogleBrandSuggestionsQuery: {
6655
+ <TData = GQLGoogleBrandSuggestionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLGoogleBrandSuggestionsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>, "queryKey"> & {
6656
+ queryKey?: UseSuspenseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>["queryKey"];
6657
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6658
+ getKey(variables: GQLGoogleBrandSuggestionsQueryVariables): (string | Exact<{
6659
+ customerIri: Scalars["IRI"]["input"];
6660
+ brandPrefix: Scalars["String"]["input"];
6661
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
6662
+ }>)[];
6663
+ };
5551
6664
  export declare const GoogleSetupProgressDocument = "\n query GoogleSetupProgress {\n googleSetupProgress {\n state\n accounts {\n id\n name\n parent\n manager\n level\n connectable\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
5552
6665
  export declare const useGoogleSetupProgressQuery: {
5553
6666
  <TData = GQLGoogleSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLGoogleSetupProgressQueryVariables, options?: Omit<UseQueryOptions<GQLGoogleSetupProgressQuery, TError, TData>, "queryKey"> & {
@@ -5783,7 +6896,7 @@ export declare const useSuspenseRulesQuery: {
5783
6896
  typeFilter?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
5784
6897
  }>)[];
5785
6898
  };
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 ";
6899
+ 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 canManageCustomApps\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
6900
  export declare const useSessionContextQuery: {
5788
6901
  <TData = GQLSessionContextQuery, TError = unknown>(client: GraphQLClient, variables?: GQLSessionContextQueryVariables, options?: Omit<UseQueryOptions<GQLSessionContextQuery, TError, TData>, "queryKey"> & {
5789
6902
  queryKey?: UseQueryOptions<GQLSessionContextQuery, TError, TData>["queryKey"];
@@ -5834,6 +6947,23 @@ export declare const useSuspenseSparqlQueryQuery: {
5834
6947
  query: Scalars["String"]["input"];
5835
6948
  }>)[];
5836
6949
  };
6950
+ 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 ";
6951
+ export declare const useStripeSubscriptionProductsQuery: {
6952
+ <TData = GQLStripeSubscriptionProductsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLStripeSubscriptionProductsQueryVariables, options?: Omit<UseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>, "queryKey"> & {
6953
+ queryKey?: UseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>["queryKey"];
6954
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
6955
+ getKey(variables?: GQLStripeSubscriptionProductsQueryVariables): (string | Exact<{
6956
+ [key: string]: never;
6957
+ }>)[];
6958
+ };
6959
+ export declare const useSuspenseStripeSubscriptionProductsQuery: {
6960
+ <TData = GQLStripeSubscriptionProductsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLStripeSubscriptionProductsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>, "queryKey"> & {
6961
+ queryKey?: UseSuspenseQueryOptions<GQLStripeSubscriptionProductsQuery, TError, TData>["queryKey"];
6962
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
6963
+ getKey(variables?: GQLStripeSubscriptionProductsQueryVariables): (string | Exact<{
6964
+ [key: string]: never;
6965
+ }>)[];
6966
+ };
5837
6967
  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
6968
  export declare const useSupportedActionShapesQuery: {
5839
6969
  <TData = GQLSupportedActionShapesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLSupportedActionShapesQueryVariables, options?: Omit<UseQueryOptions<GQLSupportedActionShapesQuery, TError, TData>, "queryKey"> & {
@@ -5851,7 +6981,7 @@ export declare const useSuspenseSupportedActionShapesQuery: {
5851
6981
  rdfType?: InputMaybe<Scalars["String"]["input"]>;
5852
6982
  }>)[];
5853
6983
  };
5854
- export declare const TeamDirectoryDocument = "\n query TeamDirectory($first: Int, $max: Int, $search: String, $activation: TeamDirectoryActivation, $knownTotal: Int) {\n teamDirectory(\n first: $first\n max: $max\n search: $search\n activation: $activation\n knownTotal: $knownTotal\n ) {\n truncated\n total\n hasMore\n users {\n id\n username\n email\n name\n firstName\n lastName\n pending\n inviteUrl\n federated\n nameReadOnly\n enabled\n memberships {\n org\n name\n groups\n }\n invitedTo {\n org\n name\n groups\n }\n }\n }\n}\n ";
6984
+ export declare const TeamDirectoryDocument = "\n query TeamDirectory($first: Int, $max: Int, $search: String, $activation: TeamDirectoryActivation, $knownTotal: Int) {\n teamDirectory(\n first: $first\n max: $max\n search: $search\n activation: $activation\n knownTotal: $knownTotal\n ) {\n truncated\n total\n hasMore\n users {\n id\n username\n email\n name\n firstName\n lastName\n pending\n inviteUrl\n federated\n nameReadOnly\n operator\n enabled\n memberships {\n org\n name\n groups\n }\n invitedTo {\n org\n name\n groups\n }\n }\n }\n}\n ";
5855
6985
  export declare const useTeamDirectoryQuery: {
5856
6986
  <TData = GQLTeamDirectoryQuery, TError = unknown>(client: GraphQLClient, variables?: GQLTeamDirectoryQueryVariables, options?: Omit<UseQueryOptions<GQLTeamDirectoryQuery, TError, TData>, "queryKey"> & {
5857
6987
  queryKey?: UseQueryOptions<GQLTeamDirectoryQuery, TError, TData>["queryKey"];