@manta-eu/client 0.10.0 → 0.12.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.
@@ -630,6 +630,11 @@ export type GQLConsolidationCluster = {
630
630
  suggestedDescription: Scalars["String"]["output"];
631
631
  suggestedLabel: Scalars["String"]["output"];
632
632
  };
633
+ export type GQLContinueDatastoreDeletionResponse = {
634
+ __typename?: "ContinueDatastoreDeletionResponse";
635
+ error?: Maybe<Scalars["String"]["output"]>;
636
+ success: Scalars["Boolean"]["output"];
637
+ };
633
638
  export type GQLConversationStarter = {
634
639
  __typename?: "ConversationStarter";
635
640
  description?: Maybe<Scalars["String"]["output"]>;
@@ -904,6 +909,16 @@ export type GQLDataConnectorType = {
904
909
  connectorType: Scalars["String"]["output"];
905
910
  fields: Array<GQLDataConnectorField>;
906
911
  };
912
+ export type GQLDatastoreDeletion = {
913
+ __typename?: "DatastoreDeletion";
914
+ datastoreId: Scalars["String"]["output"];
915
+ error?: Maybe<Scalars["String"]["output"]>;
916
+ failure?: Maybe<Scalars["String"]["output"]>;
917
+ retrying: Scalars["Boolean"]["output"];
918
+ step?: Maybe<Scalars["String"]["output"]>;
919
+ unreadable: Scalars["Boolean"]["output"];
920
+ unregistered?: Maybe<Scalars["Boolean"]["output"]>;
921
+ };
907
922
  export type GQLDatastoreInvoice = {
908
923
  __typename?: "DatastoreInvoice";
909
924
  created: Scalars["Int"]["output"];
@@ -984,6 +999,12 @@ export type GQLDeleteMemoryResponse = {
984
999
  error?: Maybe<Scalars["String"]["output"]>;
985
1000
  success: Scalars["Boolean"]["output"];
986
1001
  };
1002
+ export type GQLDeleteRulePrefixResponse = {
1003
+ __typename?: "DeleteRulePrefixResponse";
1004
+ error?: Maybe<Scalars["String"]["output"]>;
1005
+ name: Scalars["String"]["output"];
1006
+ success: Scalars["Boolean"]["output"];
1007
+ };
987
1008
  export type GQLDeleteUserAccountResponse = {
988
1009
  __typename?: "DeleteUserAccountResponse";
989
1010
  deleted: Scalars["Boolean"]["output"];
@@ -1390,6 +1411,7 @@ export type GQLKnowledgeGraphDataVersion = {
1390
1411
  };
1391
1412
  export type GQLKnowledgeGraphState = {
1392
1413
  __typename?: "KnowledgeGraphState";
1414
+ /** @deprecated Placeholder values: the datastore is no longer counted. */
1393
1415
  capacity: GQLKnowledgeGraphCapacity;
1394
1416
  dataVersion?: Maybe<GQLKnowledgeGraphDataVersion>;
1395
1417
  exists: Scalars["Boolean"]["output"];
@@ -1712,10 +1734,12 @@ export type GQLMutation = {
1712
1734
  completeUpload: GQLCompleteUploadResponse;
1713
1735
  connectStripeAccount: GQLConnectStripeAccountResponse;
1714
1736
  consolidateMemories: GQLCreateMemoryResponse;
1737
+ continueDatastoreDeletion: GQLContinueDatastoreDeletionResponse;
1715
1738
  createCustomApp: GQLCustomAppCredentials;
1716
1739
  createDataConnection: GQLDataConnectionTestState;
1717
1740
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1718
1741
  createMemory: GQLCreateMemoryResponse;
1742
+ createRulePrefix: GQLRulePrefixResponse;
1719
1743
  createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
1720
1744
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1721
1745
  dashSetupConnect: GQLDashSetupProgress;
@@ -1726,6 +1750,7 @@ export type GQLMutation = {
1726
1750
  deleteDatastore: GQLDeleteDatastoreResponse;
1727
1751
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1728
1752
  deleteMemory: GQLDeleteMemoryResponse;
1753
+ deleteRulePrefix: GQLDeleteRulePrefixResponse;
1729
1754
  deleteUserAccount: GQLDeleteUserAccountResponse;
1730
1755
  disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
1731
1756
  disconnectCustomApp: Scalars["Boolean"]["output"];
@@ -1768,17 +1793,16 @@ export type GQLMutation = {
1768
1793
  removeCustomAppUser: GQLCustomAppUserRemoval;
1769
1794
  removeCustomAppUsers: Array<GQLCustomAppUserBulkRemovalResult>;
1770
1795
  removeCustomAppUsersCreatedBetween: GQLCustomAppUserBulkRemoval;
1771
- removeDatastore: GQLRemoveDatastoreResponse;
1772
1796
  removeTeamMember: GQLTeamMemberRemovedResponse;
1773
1797
  renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
1774
1798
  renameUser: GQLRenameUserResponse;
1775
1799
  resendTeamInvitation: GQLTeamInvitationResentResponse;
1776
- restoreDatastore: GQLRestoreDatastoreResponse;
1777
1800
  restoreMemory: GQLRestoreMemoryResponse;
1778
1801
  resumeLDESStream: GQLLdesStreamResponse;
1779
1802
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
1780
1803
  revokePreviousCustomAppSecret: GQLCustomApp;
1781
1804
  rotateCustomAppSecret: GQLCustomAppCredentials;
1805
+ runDatastoreDeletionStep: GQLRunDatastoreDeletionStepResult;
1782
1806
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
1783
1807
  setCustomAppChatAllowance: GQLCustomAppChatAllowance;
1784
1808
  setCustomAppEnabled: GQLCustomApp;
@@ -1789,6 +1813,7 @@ export type GQLMutation = {
1789
1813
  updateCustomApp: GQLCustomApp;
1790
1814
  updateDataConnection: GQLDataConnectionTestState;
1791
1815
  updateMemory: GQLUpdateMemoryResponse;
1816
+ updateRulePrefix: GQLRulePrefixResponse;
1792
1817
  updateTeamMember: GQLTeamMemberUpdateResponse;
1793
1818
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
1794
1819
  validateRule: GQLValidateRuleResponse;
@@ -1837,6 +1862,9 @@ export type GQLMutationConnectStripeAccountArgs = {
1837
1862
  export type GQLMutationConsolidateMemoriesArgs = {
1838
1863
  input: GQLConsolidateMemoriesInput;
1839
1864
  };
1865
+ export type GQLMutationContinueDatastoreDeletionArgs = {
1866
+ datastoreId: Scalars["String"]["input"];
1867
+ };
1840
1868
  export type GQLMutationCreateCustomAppArgs = {
1841
1869
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1842
1870
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
@@ -1856,6 +1884,9 @@ export type GQLMutationCreateInferalIntegrationArgs = {
1856
1884
  export type GQLMutationCreateMemoryArgs = {
1857
1885
  input: GQLCreateMemoryInput;
1858
1886
  };
1887
+ export type GQLMutationCreateRulePrefixArgs = {
1888
+ input: GQLRulePrefixInput;
1889
+ };
1859
1890
  export type GQLMutationCreateStripeBillingPortalSessionArgs = {
1860
1891
  datastoreId: Scalars["String"]["input"];
1861
1892
  returnUrl: Scalars["String"]["input"];
@@ -1893,6 +1924,9 @@ export type GQLMutationDeleteLdesStreamArgs = {
1893
1924
  export type GQLMutationDeleteMemoryArgs = {
1894
1925
  memoryIri: Scalars["IRI"]["input"];
1895
1926
  };
1927
+ export type GQLMutationDeleteRulePrefixArgs = {
1928
+ name: Scalars["String"]["input"];
1929
+ };
1896
1930
  export type GQLMutationDeleteUserAccountArgs = {
1897
1931
  userId: Scalars["String"]["input"];
1898
1932
  };
@@ -2043,9 +2077,6 @@ export type GQLMutationRemoveCustomAppUsersCreatedBetweenArgs = {
2043
2077
  createdUntil: Scalars["String"]["input"];
2044
2078
  org?: InputMaybe<Scalars["String"]["input"]>;
2045
2079
  };
2046
- export type GQLMutationRemoveDatastoreArgs = {
2047
- datastoreId: Scalars["String"]["input"];
2048
- };
2049
2080
  export type GQLMutationRemoveTeamMemberArgs = {
2050
2081
  org?: InputMaybe<Scalars["String"]["input"]>;
2051
2082
  userId: Scalars["String"]["input"];
@@ -2062,9 +2093,6 @@ export type GQLMutationResendTeamInvitationArgs = {
2062
2093
  org?: InputMaybe<Scalars["String"]["input"]>;
2063
2094
  userId: Scalars["String"]["input"];
2064
2095
  };
2065
- export type GQLMutationRestoreDatastoreArgs = {
2066
- datastoreId: Scalars["String"]["input"];
2067
- };
2068
2096
  export type GQLMutationRestoreMemoryArgs = {
2069
2097
  memoryIri: Scalars["IRI"]["input"];
2070
2098
  };
@@ -2083,6 +2111,9 @@ export type GQLMutationRotateCustomAppSecretArgs = {
2083
2111
  keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
2084
2112
  org?: InputMaybe<Scalars["String"]["input"]>;
2085
2113
  };
2114
+ export type GQLMutationRunDatastoreDeletionStepArgs = {
2115
+ input: GQLRunDatastoreDeletionStepInput;
2116
+ };
2086
2117
  export type GQLMutationSelfServeProvisionOrganizationArgs = {
2087
2118
  input: GQLSelfServeProvisionOrganizationInput;
2088
2119
  };
@@ -2127,6 +2158,9 @@ export type GQLMutationUpdateDataConnectionArgs = {
2127
2158
  export type GQLMutationUpdateMemoryArgs = {
2128
2159
  input: GQLUpdateMemoryInput;
2129
2160
  };
2161
+ export type GQLMutationUpdateRulePrefixArgs = {
2162
+ input: GQLRulePrefixInput;
2163
+ };
2130
2164
  export type GQLMutationUpdateTeamMemberArgs = {
2131
2165
  group?: InputMaybe<Scalars["String"]["input"]>;
2132
2166
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -2221,6 +2255,7 @@ export type GQLProvisionDatastoreInput = {
2221
2255
  export type GQLProvisionDatastoreResponse = {
2222
2256
  __typename?: "ProvisionDatastoreResponse";
2223
2257
  datastoreId?: Maybe<Scalars["String"]["output"]>;
2258
+ deletionWarning?: Maybe<Scalars["String"]["output"]>;
2224
2259
  error?: Maybe<Scalars["String"]["output"]>;
2225
2260
  name?: Maybe<Scalars["String"]["output"]>;
2226
2261
  path?: Maybe<Scalars["String"]["output"]>;
@@ -2255,6 +2290,7 @@ export type GQLQuery = {
2255
2290
  dashSetupProgress: GQLDashSetupProgress;
2256
2291
  dataConnections: Array<GQLDataConnection>;
2257
2292
  dataConnectorTypes: Array<GQLDataConnectorType>;
2293
+ datastoreDeletions: Array<GQLDatastoreDeletion>;
2258
2294
  datastoreInvoices: GQLDatastoreInvoicePage;
2259
2295
  datastoreProvisioningStatuses: Array<GQLDatastoreProvisioningStatus>;
2260
2296
  datastoreSubscriptions: Array<GQLDatastoreSubscription>;
@@ -2286,6 +2322,7 @@ export type GQLQuery = {
2286
2322
  pendingInvitations: Array<GQLPendingInvitation>;
2287
2323
  refreshResourceCapabilities: GQLRefreshResourceCapabilitiesResponse;
2288
2324
  refreshResourcesStatus: GQLRefreshResourcesStatusResponse;
2325
+ rulePrefixes: GQLRulePrefixesResponse;
2289
2326
  rules: GQLRulesResponse;
2290
2327
  sessionContext: GQLSessionContext;
2291
2328
  shaclShapes: GQLShaclShapesResponse;
@@ -2370,6 +2407,9 @@ export type GQLQueryCustomAppsArgs = {
2370
2407
  org?: InputMaybe<Scalars["String"]["input"]>;
2371
2408
  search?: InputMaybe<Scalars["String"]["input"]>;
2372
2409
  };
2410
+ export type GQLQueryDatastoreDeletionsArgs = {
2411
+ datastoreIds: Array<Scalars["String"]["input"]>;
2412
+ };
2373
2413
  export type GQLQueryDatastoreInvoicesArgs = {
2374
2414
  after?: InputMaybe<Scalars["String"]["input"]>;
2375
2415
  datastoreId?: InputMaybe<Scalars["String"]["input"]>;
@@ -2567,11 +2607,6 @@ export type GQLReleaseRuleOwnershipResponse = {
2567
2607
  ruleIri: Scalars["IRI"]["output"];
2568
2608
  success: Scalars["Boolean"]["output"];
2569
2609
  };
2570
- export type GQLRemoveDatastoreResponse = {
2571
- __typename?: "RemoveDatastoreResponse";
2572
- error?: Maybe<Scalars["String"]["output"]>;
2573
- success: Scalars["Boolean"]["output"];
2574
- };
2575
2610
  export type GQLRenameDatastoreGroupInput = {
2576
2611
  id: Scalars["String"]["input"];
2577
2612
  isOrganization: Scalars["Boolean"]["input"];
@@ -2588,11 +2623,6 @@ export type GQLRenameUserResponse = {
2588
2623
  id: Scalars["String"]["output"];
2589
2624
  name?: Maybe<Scalars["String"]["output"]>;
2590
2625
  };
2591
- export type GQLRestoreDatastoreResponse = {
2592
- __typename?: "RestoreDatastoreResponse";
2593
- error?: Maybe<Scalars["String"]["output"]>;
2594
- success: Scalars["Boolean"]["output"];
2595
- };
2596
2626
  export type GQLRestoreMemoryResponse = {
2597
2627
  __typename?: "RestoreMemoryResponse";
2598
2628
  blockedByIri?: Maybe<Scalars["IRI"]["output"]>;
@@ -2641,6 +2671,27 @@ export type GQLRuleOwnership = {
2641
2671
  type: GQLRuleOwner;
2642
2672
  userId?: Maybe<Scalars["String"]["output"]>;
2643
2673
  };
2674
+ export type GQLRulePrefix = {
2675
+ __typename?: "RulePrefix";
2676
+ iri: Scalars["IRI"]["output"];
2677
+ managedByManta: Scalars["Boolean"]["output"];
2678
+ name: Scalars["String"]["output"];
2679
+ };
2680
+ export type GQLRulePrefixInput = {
2681
+ iri: Scalars["IRI"]["input"];
2682
+ name: Scalars["String"]["input"];
2683
+ };
2684
+ export type GQLRulePrefixResponse = {
2685
+ __typename?: "RulePrefixResponse";
2686
+ error?: Maybe<Scalars["String"]["output"]>;
2687
+ prefix?: Maybe<GQLRulePrefix>;
2688
+ success: Scalars["Boolean"]["output"];
2689
+ };
2690
+ export type GQLRulePrefixesResponse = {
2691
+ __typename?: "RulePrefixesResponse";
2692
+ error?: Maybe<Scalars["String"]["output"]>;
2693
+ prefixes: Array<GQLRulePrefix>;
2694
+ };
2644
2695
  export type GQLRuleStructure = {
2645
2696
  __typename?: "RuleStructure";
2646
2697
  bodyFormulas: Scalars["Int"]["output"];
@@ -2665,6 +2716,22 @@ export type GQLRulesResponse = {
2665
2716
  jsonLdGraph: Scalars["JSON"]["output"];
2666
2717
  rules: Array<GQLRule>;
2667
2718
  };
2719
+ export type GQLRunDatastoreDeletionStepInput = {
2720
+ datastoreId: Scalars["String"]["input"];
2721
+ linked: Scalars["Boolean"]["input"];
2722
+ orgId?: InputMaybe<Scalars["String"]["input"]>;
2723
+ ownerGroupId?: InputMaybe<Scalars["String"]["input"]>;
2724
+ ownerOrganizationId?: InputMaybe<Scalars["String"]["input"]>;
2725
+ purgedManagers?: InputMaybe<Array<Scalars["String"]["input"]>>;
2726
+ step: Scalars["String"]["input"];
2727
+ };
2728
+ export type GQLRunDatastoreDeletionStepResult = {
2729
+ __typename?: "RunDatastoreDeletionStepResult";
2730
+ operatorError?: Maybe<Scalars["String"]["output"]>;
2731
+ purgedManagers?: Maybe<Array<Scalars["String"]["output"]>>;
2732
+ sweepable?: Maybe<Scalars["Boolean"]["output"]>;
2733
+ takenBack?: Maybe<Scalars["Boolean"]["output"]>;
2734
+ };
2668
2735
  export type GQLSelfServeInvitationInput = {
2669
2736
  email: Scalars["String"]["input"];
2670
2737
  role: Scalars["String"]["input"];
@@ -3357,6 +3424,17 @@ export type GQLConsolidateMemoriesMutation = {
3357
3424
  } | null;
3358
3425
  };
3359
3426
  };
3427
+ export type GQLContinueDatastoreDeletionMutationVariables = Exact<{
3428
+ datastoreId: Scalars["String"]["input"];
3429
+ }>;
3430
+ export type GQLContinueDatastoreDeletionMutation = {
3431
+ __typename?: "Mutation";
3432
+ continueDatastoreDeletion: {
3433
+ __typename?: "ContinueDatastoreDeletionResponse";
3434
+ success: boolean;
3435
+ error?: string | null;
3436
+ };
3437
+ };
3360
3438
  export type GQLCreateCustomAppMutationVariables = Exact<{
3361
3439
  org?: InputMaybe<Scalars["String"]["input"]>;
3362
3440
  name: Scalars["String"]["input"];
@@ -3911,6 +3989,7 @@ export type GQLLinkUnlinkedDatastoreMutation = {
3911
3989
  path?: string | null;
3912
3990
  pending: boolean;
3913
3991
  providerWarning?: string | null;
3992
+ deletionWarning?: string | null;
3914
3993
  };
3915
3994
  };
3916
3995
  export type GQLLinkedinSetupConnectMutationVariables = Exact<{
@@ -4108,6 +4187,7 @@ export type GQLProvisionDatastoreMutation = {
4108
4187
  pending: boolean;
4109
4188
  runId?: string | null;
4110
4189
  providerWarning?: string | null;
4190
+ deletionWarning?: string | null;
4111
4191
  };
4112
4192
  };
4113
4193
  export type GQLReconfirmMemoryMutationVariables = Exact<{
@@ -4221,17 +4301,6 @@ export type GQLRemoveCustomAppUsersMutation = {
4221
4301
  error?: string | null;
4222
4302
  }>;
4223
4303
  };
4224
- export type GQLRemoveDatastoreMutationVariables = Exact<{
4225
- datastoreId: Scalars["String"]["input"];
4226
- }>;
4227
- export type GQLRemoveDatastoreMutation = {
4228
- __typename?: "Mutation";
4229
- removeDatastore: {
4230
- __typename?: "RemoveDatastoreResponse";
4231
- success: boolean;
4232
- error?: string | null;
4233
- };
4234
- };
4235
4304
  export type GQLRenameDatastoreGroupMutationVariables = Exact<{
4236
4305
  input: GQLRenameDatastoreGroupInput;
4237
4306
  }>;
@@ -4256,17 +4325,6 @@ export type GQLRenameUserMutation = {
4256
4325
  name?: string | null;
4257
4326
  };
4258
4327
  };
4259
- export type GQLRestoreDatastoreMutationVariables = Exact<{
4260
- datastoreId: Scalars["String"]["input"];
4261
- }>;
4262
- export type GQLRestoreDatastoreMutation = {
4263
- __typename?: "Mutation";
4264
- restoreDatastore: {
4265
- __typename?: "RestoreDatastoreResponse";
4266
- success: boolean;
4267
- error?: string | null;
4268
- };
4269
- };
4270
4328
  export type GQLRestoreMemoryMutationVariables = Exact<{
4271
4329
  memoryIri: Scalars["IRI"]["input"];
4272
4330
  }>;
@@ -5297,6 +5355,22 @@ export type GQLDataConnectorTypesQuery = {
5297
5355
  }>;
5298
5356
  }>;
5299
5357
  };
5358
+ export type GQLDatastoreDeletionsQueryVariables = Exact<{
5359
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
5360
+ }>;
5361
+ export type GQLDatastoreDeletionsQuery = {
5362
+ __typename?: "Query";
5363
+ datastoreDeletions: Array<{
5364
+ __typename?: "DatastoreDeletion";
5365
+ datastoreId: string;
5366
+ step?: string | null;
5367
+ retrying: boolean;
5368
+ failure?: string | null;
5369
+ error?: string | null;
5370
+ unregistered?: boolean | null;
5371
+ unreadable: boolean;
5372
+ }>;
5373
+ };
5300
5374
  export type GQLDatastoreInvoicesQueryVariables = Exact<{
5301
5375
  datastoreId?: InputMaybe<Scalars["String"]["input"]>;
5302
5376
  first?: InputMaybe<Scalars["Int"]["input"]>;
@@ -5543,7 +5617,7 @@ export type GQLInferalIntegrationsQuery = {
5543
5617
  }>;
5544
5618
  };
5545
5619
  export type GQLKnowledgeGraphStateQueryVariables = Exact<{
5546
- dataVersion?: InputMaybe<Scalars["String"]["input"]>;
5620
+ [key: string]: never;
5547
5621
  }>;
5548
5622
  export type GQLKnowledgeGraphStateQuery = {
5549
5623
  __typename?: "Query";
@@ -5552,18 +5626,6 @@ export type GQLKnowledgeGraphStateQuery = {
5552
5626
  exists: boolean;
5553
5627
  isLoaded: boolean;
5554
5628
  offline: boolean;
5555
- capacity: {
5556
- __typename?: "KnowledgeGraphCapacity";
5557
- maxTriples: bigint;
5558
- currentTriples?: bigint | null;
5559
- percentageFull?: number | null;
5560
- remainingCapacity?: bigint | null;
5561
- entitySummary?: Array<{
5562
- __typename?: "EntityCount";
5563
- type: string;
5564
- count: number;
5565
- }> | null;
5566
- };
5567
5629
  dataVersion?: {
5568
5630
  __typename?: "KnowledgeGraphDataVersion";
5569
5631
  uniqueId: string;
@@ -6370,6 +6432,10 @@ export declare const ConsolidateMemoriesDocument = "\n mutation ConsolidateMe
6370
6432
  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<{
6371
6433
  input: GQLConsolidateMemoriesInput;
6372
6434
  }>, TContext>;
6435
+ export declare const ContinueDatastoreDeletionDocument = "\n mutation ContinueDatastoreDeletion($datastoreId: String!) {\n continueDatastoreDeletion(datastoreId: $datastoreId) {\n success\n error\n }\n}\n ";
6436
+ export declare const useContinueDatastoreDeletionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLContinueDatastoreDeletionMutation, TError, GQLContinueDatastoreDeletionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLContinueDatastoreDeletionMutation, TError, Exact<{
6437
+ datastoreId: Scalars["String"]["input"];
6438
+ }>, TContext>;
6373
6439
  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 ";
6374
6440
  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<{
6375
6441
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -6527,7 +6593,7 @@ export declare const LinkOrganizationToProviderDocument = "\n mutation LinkOr
6527
6593
  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<{
6528
6594
  organizationId: Scalars["String"]["input"];
6529
6595
  }>, TContext>;
6530
- export declare const LinkUnlinkedDatastoreDocument = "\n mutation LinkUnlinkedDatastore($input: LinkUnlinkedDatastoreInput!) {\n linkUnlinkedDatastore(input: $input) {\n success\n error\n datastoreId\n name\n path\n pending\n providerWarning\n }\n}\n ";
6596
+ export declare const LinkUnlinkedDatastoreDocument = "\n mutation LinkUnlinkedDatastore($input: LinkUnlinkedDatastoreInput!) {\n linkUnlinkedDatastore(input: $input) {\n success\n error\n datastoreId\n name\n path\n pending\n providerWarning\n deletionWarning\n }\n}\n ";
6531
6597
  export declare const useLinkUnlinkedDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLLinkUnlinkedDatastoreMutation, TError, GQLLinkUnlinkedDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLLinkUnlinkedDatastoreMutation, TError, Exact<{
6532
6598
  input: GQLLinkUnlinkedDatastoreInput;
6533
6599
  }>, TContext>;
@@ -6570,7 +6636,7 @@ export declare const PauseLdesStreamDocument = "\n mutation PauseLdesStream($
6570
6636
  export declare const usePauseLdesStreamMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLPauseLdesStreamMutation, TError, GQLPauseLdesStreamMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLPauseLdesStreamMutation, TError, Exact<{
6571
6637
  url: Scalars["String"]["input"];
6572
6638
  }>, TContext>;
6573
- export declare const ProvisionDatastoreDocument = "\n mutation ProvisionDatastore($input: ProvisionDatastoreInput!) {\n provisionDatastore(input: $input) {\n success\n error\n datastoreId\n name\n path\n pending\n runId\n providerWarning\n }\n}\n ";
6639
+ export declare const ProvisionDatastoreDocument = "\n mutation ProvisionDatastore($input: ProvisionDatastoreInput!) {\n provisionDatastore(input: $input) {\n success\n error\n datastoreId\n name\n path\n pending\n runId\n providerWarning\n deletionWarning\n }\n}\n ";
6574
6640
  export declare const useProvisionDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLProvisionDatastoreMutation, TError, GQLProvisionDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLProvisionDatastoreMutation, TError, Exact<{
6575
6641
  input: GQLProvisionDatastoreInput;
6576
6642
  }>, TContext>;
@@ -6610,10 +6676,6 @@ export declare const useRemoveCustomAppUsersMutation: <TError = unknown, TContex
6610
6676
  clientId: Scalars["String"]["input"];
6611
6677
  userIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
6612
6678
  }>, TContext>;
6613
- export declare const RemoveDatastoreDocument = "\n mutation RemoveDatastore($datastoreId: String!) {\n removeDatastore(datastoreId: $datastoreId) {\n success\n error\n }\n}\n ";
6614
- 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<{
6615
- datastoreId: Scalars["String"]["input"];
6616
- }>, TContext>;
6617
6679
  export declare const RenameDatastoreGroupDocument = "\n mutation RenameDatastoreGroup($input: RenameDatastoreGroupInput!) {\n renameDatastoreGroup(input: $input) {\n success\n error\n }\n}\n ";
6618
6680
  export declare const useRenameDatastoreGroupMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRenameDatastoreGroupMutation, TError, GQLRenameDatastoreGroupMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRenameDatastoreGroupMutation, TError, Exact<{
6619
6681
  input: GQLRenameDatastoreGroupInput;
@@ -6624,10 +6686,6 @@ export declare const useRenameUserMutation: <TError = unknown, TContext = unknow
6624
6686
  firstName: Scalars["String"]["input"];
6625
6687
  lastName?: InputMaybe<Scalars["String"]["input"]>;
6626
6688
  }>, TContext>;
6627
- export declare const RestoreDatastoreDocument = "\n mutation RestoreDatastore($datastoreId: String!) {\n restoreDatastore(datastoreId: $datastoreId) {\n success\n error\n }\n}\n ";
6628
- export declare const useRestoreDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRestoreDatastoreMutation, TError, GQLRestoreDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRestoreDatastoreMutation, TError, Exact<{
6629
- datastoreId: Scalars["String"]["input"];
6630
- }>, TContext>;
6631
6689
  export declare const RestoreMemoryDocument = "\n mutation RestoreMemory($memoryIri: IRI!) {\n restoreMemory(memoryIri: $memoryIri) {\n success\n blockedByIri\n blockedByLabel\n error\n }\n}\n ";
6632
6690
  export declare const useRestoreMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRestoreMemoryMutation, TError, GQLRestoreMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRestoreMemoryMutation, TError, Exact<{
6633
6691
  memoryIri: Scalars["IRI"]["input"];
@@ -7137,6 +7195,23 @@ export declare namespace useSuspenseDataConnectorTypesQuery {
7137
7195
  [key: string]: never;
7138
7196
  }>)[];
7139
7197
  }
7198
+ export declare const DatastoreDeletionsDocument = "\n query DatastoreDeletions($datastoreIds: [String!]!) {\n datastoreDeletions(datastoreIds: $datastoreIds) {\n datastoreId\n step\n retrying\n failure\n error\n unregistered\n unreadable\n }\n}\n ";
7199
+ export declare function useDatastoreDeletionsQuery<TData = GQLDatastoreDeletionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreDeletionsQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>, "queryKey"> & {
7200
+ queryKey?: UseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>["queryKey"];
7201
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
7202
+ export declare namespace useDatastoreDeletionsQuery {
7203
+ var getKey: (variables: GQLDatastoreDeletionsQueryVariables) => (string | Exact<{
7204
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
7205
+ }>)[];
7206
+ }
7207
+ export declare function useSuspenseDatastoreDeletionsQuery<TData = GQLDatastoreDeletionsQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreDeletionsQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>, "queryKey"> & {
7208
+ queryKey?: UseSuspenseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>["queryKey"];
7209
+ }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
7210
+ export declare namespace useSuspenseDatastoreDeletionsQuery {
7211
+ var getKey: (variables: GQLDatastoreDeletionsQueryVariables) => (string | Exact<{
7212
+ datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
7213
+ }>)[];
7214
+ }
7140
7215
  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 ";
7141
7216
  export declare function useDatastoreInvoicesQuery<TData = GQLDatastoreInvoicesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreInvoicesQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>, "queryKey"> & {
7142
7217
  queryKey?: UseQueryOptions<GQLDatastoreInvoicesQuery, TError, TData>["queryKey"];
@@ -7359,13 +7434,13 @@ export declare namespace useSuspenseInferalIntegrationsQuery {
7359
7434
  [key: string]: never;
7360
7435
  }>)[];
7361
7436
  }
7362
- export declare const KnowledgeGraphStateDocument = "\n query KnowledgeGraphState($dataVersion: String) {\n knowledgeGraphState(dataVersion: $dataVersion) {\n exists\n isLoaded\n offline\n capacity {\n maxTriples\n currentTriples\n percentageFull\n remainingCapacity\n entitySummary {\n type\n count\n }\n }\n dataVersion {\n uniqueId\n version\n }\n }\n}\n ";
7437
+ export declare const KnowledgeGraphStateDocument = "\n query KnowledgeGraphState {\n knowledgeGraphState {\n exists\n isLoaded\n offline\n dataVersion {\n uniqueId\n version\n }\n }\n}\n ";
7363
7438
  export declare function useKnowledgeGraphStateQuery<TData = GQLKnowledgeGraphStateQuery, TError = unknown>(client: GraphQLClient, variables?: GQLKnowledgeGraphStateQueryVariables, options?: Omit<UseQueryOptions<GQLKnowledgeGraphStateQuery, TError, TData>, "queryKey"> & {
7364
7439
  queryKey?: UseQueryOptions<GQLKnowledgeGraphStateQuery, TError, TData>["queryKey"];
7365
7440
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
7366
7441
  export declare namespace useKnowledgeGraphStateQuery {
7367
7442
  var getKey: (variables?: GQLKnowledgeGraphStateQueryVariables) => (string | Exact<{
7368
- dataVersion?: InputMaybe<Scalars["String"]["input"]>;
7443
+ [key: string]: never;
7369
7444
  }>)[];
7370
7445
  }
7371
7446
  export declare function useSuspenseKnowledgeGraphStateQuery<TData = GQLKnowledgeGraphStateQuery, TError = unknown>(client: GraphQLClient, variables?: GQLKnowledgeGraphStateQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLKnowledgeGraphStateQuery, TError, TData>, "queryKey"> & {
@@ -7373,7 +7448,7 @@ export declare function useSuspenseKnowledgeGraphStateQuery<TData = GQLKnowledge
7373
7448
  }, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
7374
7449
  export declare namespace useSuspenseKnowledgeGraphStateQuery {
7375
7450
  var getKey: (variables?: GQLKnowledgeGraphStateQueryVariables) => (string | Exact<{
7376
- dataVersion?: InputMaybe<Scalars["String"]["input"]>;
7451
+ [key: string]: never;
7377
7452
  }>)[];
7378
7453
  }
7379
7454
  export declare const LdesStreamsDocument = "\n query LdesStreams {\n ldesStreams {\n url\n datastoreId\n phase\n after\n stats {\n membersWritten\n lastMemberUri\n lastMemberAt\n lastPollAt\n nextPollAt\n lastError\n }\n }\n}\n ";