@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.
- package/dist/generated/graphql.d.ts +141 -66
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +54 -42
- package/dist/generated/graphql.js.map +1 -1
- package/dist/shared/constants.d.ts +0 -1
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +0 -2
- package/dist/shared/constants.js.map +1 -1
- package/package.json +5 -5
- package/src/generated/graphql.ts +239 -117
- package/src/shared/constants.ts +0 -3
package/dist/shared/constants.js
CHANGED
|
@@ -12,6 +12,4 @@ export const memoryExtractionFlagKey = "memory-extraction-enabled";
|
|
|
12
12
|
export const memoryAutoSupersedeFlagKey = "memory-auto-supersede-enabled";
|
|
13
13
|
export const memoryReplayFlagKey = "memory-replay-enabled";
|
|
14
14
|
export const memoryMaintenanceFlagKey = "memory-maintenance-enabled";
|
|
15
|
-
// Gates "Remove"/"Restore" and "Show archived". Off: see wiki/infisical-secrets.md § Removal gap.
|
|
16
|
-
export const enableDatastoreRemoval = false;
|
|
17
15
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;AAEhE,MAAM,CAAC,MAAM,6BAA6B,GAAG,4BAA4B,CAAC;AAE1E,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEvC,uFAAuF;AACvF,iGAAiG;AACjG,wGAAwG;AACxG,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACxC,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAEnD,MAAM,CAAC,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AACjE,MAAM,CAAC,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AAC/D,MAAM,CAAC,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AACnE,MAAM,CAAC,MAAM,0BAA0B,GAAG,+BAA+B,CAAC;AAC1E,MAAM,CAAC,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AAC3D,MAAM,CAAC,MAAM,wBAAwB,GAAG,4BAA4B,CAAC
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;AAEhE,MAAM,CAAC,MAAM,6BAA6B,GAAG,4BAA4B,CAAC;AAE1E,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC;AAEvC,uFAAuF;AACvF,iGAAiG;AACjG,wGAAwG;AACxG,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACxC,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAEnD,MAAM,CAAC,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AACjE,MAAM,CAAC,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AAC/D,MAAM,CAAC,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AACnE,MAAM,CAAC,MAAM,0BAA0B,GAAG,+BAA+B,CAAC;AAC1E,MAAM,CAAC,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AAC3D,MAAM,CAAC,MAAM,wBAAwB,GAAG,4BAA4B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manta-eu/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "The Manta GraphQL contract and the typed React Query hooks generated from it",
|
|
5
5
|
"homepage": "https://developers.manta.eu",
|
|
6
6
|
"keywords": [
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"uuid": "^13.0.0",
|
|
60
60
|
"whatwg-mimetype": "^5.0.0",
|
|
61
61
|
"zod": "^4.6.7",
|
|
62
|
-
"@manta-eu/datalog-parser": "0.
|
|
63
|
-
"@manta-eu/
|
|
64
|
-
"@manta-eu/
|
|
65
|
-
"@manta-eu/
|
|
62
|
+
"@manta-eu/datalog-parser": "0.12.0",
|
|
63
|
+
"@manta-eu/ldo": "0.12.0",
|
|
64
|
+
"@manta-eu/lib": "0.12.0",
|
|
65
|
+
"@manta-eu/rdf-lib": "0.12.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@tanstack/react-query": "^5.100.10"
|
package/src/generated/graphql.ts
CHANGED
|
@@ -506,6 +506,12 @@ export type GQLConsolidationCluster = {
|
|
|
506
506
|
suggestedLabel: Scalars["String"]["output"];
|
|
507
507
|
};
|
|
508
508
|
|
|
509
|
+
export type GQLContinueDatastoreDeletionResponse = {
|
|
510
|
+
__typename?: "ContinueDatastoreDeletionResponse";
|
|
511
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
512
|
+
success: Scalars["Boolean"]["output"];
|
|
513
|
+
};
|
|
514
|
+
|
|
509
515
|
export type GQLConversationStarter = {
|
|
510
516
|
__typename?: "ConversationStarter";
|
|
511
517
|
description?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -821,6 +827,17 @@ export type GQLDataConnectorType = {
|
|
|
821
827
|
fields: Array<GQLDataConnectorField>;
|
|
822
828
|
};
|
|
823
829
|
|
|
830
|
+
export type GQLDatastoreDeletion = {
|
|
831
|
+
__typename?: "DatastoreDeletion";
|
|
832
|
+
datastoreId: Scalars["String"]["output"];
|
|
833
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
834
|
+
failure?: Maybe<Scalars["String"]["output"]>;
|
|
835
|
+
retrying: Scalars["Boolean"]["output"];
|
|
836
|
+
step?: Maybe<Scalars["String"]["output"]>;
|
|
837
|
+
unreadable: Scalars["Boolean"]["output"];
|
|
838
|
+
unregistered?: Maybe<Scalars["Boolean"]["output"]>;
|
|
839
|
+
};
|
|
840
|
+
|
|
824
841
|
export type GQLDatastoreInvoice = {
|
|
825
842
|
__typename?: "DatastoreInvoice";
|
|
826
843
|
created: Scalars["Int"]["output"];
|
|
@@ -911,6 +928,13 @@ export type GQLDeleteMemoryResponse = {
|
|
|
911
928
|
success: Scalars["Boolean"]["output"];
|
|
912
929
|
};
|
|
913
930
|
|
|
931
|
+
export type GQLDeleteRulePrefixResponse = {
|
|
932
|
+
__typename?: "DeleteRulePrefixResponse";
|
|
933
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
934
|
+
name: Scalars["String"]["output"];
|
|
935
|
+
success: Scalars["Boolean"]["output"];
|
|
936
|
+
};
|
|
937
|
+
|
|
914
938
|
export type GQLDeleteUserAccountResponse = {
|
|
915
939
|
__typename?: "DeleteUserAccountResponse";
|
|
916
940
|
deleted: Scalars["Boolean"]["output"];
|
|
@@ -1377,6 +1401,7 @@ export type GQLKnowledgeGraphDataVersion = {
|
|
|
1377
1401
|
|
|
1378
1402
|
export type GQLKnowledgeGraphState = {
|
|
1379
1403
|
__typename?: "KnowledgeGraphState";
|
|
1404
|
+
/** @deprecated Placeholder values: the datastore is no longer counted. */
|
|
1380
1405
|
capacity: GQLKnowledgeGraphCapacity;
|
|
1381
1406
|
dataVersion?: Maybe<GQLKnowledgeGraphDataVersion>;
|
|
1382
1407
|
exists: Scalars["Boolean"]["output"];
|
|
@@ -1743,10 +1768,12 @@ export type GQLMutation = {
|
|
|
1743
1768
|
completeUpload: GQLCompleteUploadResponse;
|
|
1744
1769
|
connectStripeAccount: GQLConnectStripeAccountResponse;
|
|
1745
1770
|
consolidateMemories: GQLCreateMemoryResponse;
|
|
1771
|
+
continueDatastoreDeletion: GQLContinueDatastoreDeletionResponse;
|
|
1746
1772
|
createCustomApp: GQLCustomAppCredentials;
|
|
1747
1773
|
createDataConnection: GQLDataConnectionTestState;
|
|
1748
1774
|
createInferalIntegration: GQLCreateInferalIntegrationResponse;
|
|
1749
1775
|
createMemory: GQLCreateMemoryResponse;
|
|
1776
|
+
createRulePrefix: GQLRulePrefixResponse;
|
|
1750
1777
|
createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
|
|
1751
1778
|
createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
|
|
1752
1779
|
dashSetupConnect: GQLDashSetupProgress;
|
|
@@ -1757,6 +1784,7 @@ export type GQLMutation = {
|
|
|
1757
1784
|
deleteDatastore: GQLDeleteDatastoreResponse;
|
|
1758
1785
|
deleteLDESStream: GQLLdesStreamDeleteResponse;
|
|
1759
1786
|
deleteMemory: GQLDeleteMemoryResponse;
|
|
1787
|
+
deleteRulePrefix: GQLDeleteRulePrefixResponse;
|
|
1760
1788
|
deleteUserAccount: GQLDeleteUserAccountResponse;
|
|
1761
1789
|
disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
|
|
1762
1790
|
disconnectCustomApp: Scalars["Boolean"]["output"];
|
|
@@ -1799,17 +1827,16 @@ export type GQLMutation = {
|
|
|
1799
1827
|
removeCustomAppUser: GQLCustomAppUserRemoval;
|
|
1800
1828
|
removeCustomAppUsers: Array<GQLCustomAppUserBulkRemovalResult>;
|
|
1801
1829
|
removeCustomAppUsersCreatedBetween: GQLCustomAppUserBulkRemoval;
|
|
1802
|
-
removeDatastore: GQLRemoveDatastoreResponse;
|
|
1803
1830
|
removeTeamMember: GQLTeamMemberRemovedResponse;
|
|
1804
1831
|
renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
|
|
1805
1832
|
renameUser: GQLRenameUserResponse;
|
|
1806
1833
|
resendTeamInvitation: GQLTeamInvitationResentResponse;
|
|
1807
|
-
restoreDatastore: GQLRestoreDatastoreResponse;
|
|
1808
1834
|
restoreMemory: GQLRestoreMemoryResponse;
|
|
1809
1835
|
resumeLDESStream: GQLLdesStreamResponse;
|
|
1810
1836
|
revokeOperatorRole: GQLRevokeOperatorRoleResponse;
|
|
1811
1837
|
revokePreviousCustomAppSecret: GQLCustomApp;
|
|
1812
1838
|
rotateCustomAppSecret: GQLCustomAppCredentials;
|
|
1839
|
+
runDatastoreDeletionStep: GQLRunDatastoreDeletionStepResult;
|
|
1813
1840
|
selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
|
|
1814
1841
|
setCustomAppChatAllowance: GQLCustomAppChatAllowance;
|
|
1815
1842
|
setCustomAppEnabled: GQLCustomApp;
|
|
@@ -1820,6 +1847,7 @@ export type GQLMutation = {
|
|
|
1820
1847
|
updateCustomApp: GQLCustomApp;
|
|
1821
1848
|
updateDataConnection: GQLDataConnectionTestState;
|
|
1822
1849
|
updateMemory: GQLUpdateMemoryResponse;
|
|
1850
|
+
updateRulePrefix: GQLRulePrefixResponse;
|
|
1823
1851
|
updateTeamMember: GQLTeamMemberUpdateResponse;
|
|
1824
1852
|
updateUserPreferences: GQLUpdateUserPreferencesResponse;
|
|
1825
1853
|
validateRule: GQLValidateRuleResponse;
|
|
@@ -1882,6 +1910,10 @@ export type GQLMutationConsolidateMemoriesArgs = {
|
|
|
1882
1910
|
input: GQLConsolidateMemoriesInput;
|
|
1883
1911
|
};
|
|
1884
1912
|
|
|
1913
|
+
export type GQLMutationContinueDatastoreDeletionArgs = {
|
|
1914
|
+
datastoreId: Scalars["String"]["input"];
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1885
1917
|
export type GQLMutationCreateCustomAppArgs = {
|
|
1886
1918
|
datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
1887
1919
|
homeUrl?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -1905,6 +1937,10 @@ export type GQLMutationCreateMemoryArgs = {
|
|
|
1905
1937
|
input: GQLCreateMemoryInput;
|
|
1906
1938
|
};
|
|
1907
1939
|
|
|
1940
|
+
export type GQLMutationCreateRulePrefixArgs = {
|
|
1941
|
+
input: GQLRulePrefixInput;
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1908
1944
|
export type GQLMutationCreateStripeBillingPortalSessionArgs = {
|
|
1909
1945
|
datastoreId: Scalars["String"]["input"];
|
|
1910
1946
|
returnUrl: Scalars["String"]["input"];
|
|
@@ -1952,6 +1988,10 @@ export type GQLMutationDeleteMemoryArgs = {
|
|
|
1952
1988
|
memoryIri: Scalars["IRI"]["input"];
|
|
1953
1989
|
};
|
|
1954
1990
|
|
|
1991
|
+
export type GQLMutationDeleteRulePrefixArgs = {
|
|
1992
|
+
name: Scalars["String"]["input"];
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1955
1995
|
export type GQLMutationDeleteUserAccountArgs = {
|
|
1956
1996
|
userId: Scalars["String"]["input"];
|
|
1957
1997
|
};
|
|
@@ -2142,10 +2182,6 @@ export type GQLMutationRemoveCustomAppUsersCreatedBetweenArgs = {
|
|
|
2142
2182
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
2143
2183
|
};
|
|
2144
2184
|
|
|
2145
|
-
export type GQLMutationRemoveDatastoreArgs = {
|
|
2146
|
-
datastoreId: Scalars["String"]["input"];
|
|
2147
|
-
};
|
|
2148
|
-
|
|
2149
2185
|
export type GQLMutationRemoveTeamMemberArgs = {
|
|
2150
2186
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
2151
2187
|
userId: Scalars["String"]["input"];
|
|
@@ -2166,10 +2202,6 @@ export type GQLMutationResendTeamInvitationArgs = {
|
|
|
2166
2202
|
userId: Scalars["String"]["input"];
|
|
2167
2203
|
};
|
|
2168
2204
|
|
|
2169
|
-
export type GQLMutationRestoreDatastoreArgs = {
|
|
2170
|
-
datastoreId: Scalars["String"]["input"];
|
|
2171
|
-
};
|
|
2172
|
-
|
|
2173
2205
|
export type GQLMutationRestoreMemoryArgs = {
|
|
2174
2206
|
memoryIri: Scalars["IRI"]["input"];
|
|
2175
2207
|
};
|
|
@@ -2193,6 +2225,10 @@ export type GQLMutationRotateCustomAppSecretArgs = {
|
|
|
2193
2225
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
2194
2226
|
};
|
|
2195
2227
|
|
|
2228
|
+
export type GQLMutationRunDatastoreDeletionStepArgs = {
|
|
2229
|
+
input: GQLRunDatastoreDeletionStepInput;
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2196
2232
|
export type GQLMutationSelfServeProvisionOrganizationArgs = {
|
|
2197
2233
|
input: GQLSelfServeProvisionOrganizationInput;
|
|
2198
2234
|
};
|
|
@@ -2247,6 +2283,10 @@ export type GQLMutationUpdateMemoryArgs = {
|
|
|
2247
2283
|
input: GQLUpdateMemoryInput;
|
|
2248
2284
|
};
|
|
2249
2285
|
|
|
2286
|
+
export type GQLMutationUpdateRulePrefixArgs = {
|
|
2287
|
+
input: GQLRulePrefixInput;
|
|
2288
|
+
};
|
|
2289
|
+
|
|
2250
2290
|
export type GQLMutationUpdateTeamMemberArgs = {
|
|
2251
2291
|
group?: InputMaybe<Scalars["String"]["input"]>;
|
|
2252
2292
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -2358,6 +2398,7 @@ export type GQLProvisionDatastoreInput = {
|
|
|
2358
2398
|
export type GQLProvisionDatastoreResponse = {
|
|
2359
2399
|
__typename?: "ProvisionDatastoreResponse";
|
|
2360
2400
|
datastoreId?: Maybe<Scalars["String"]["output"]>;
|
|
2401
|
+
deletionWarning?: Maybe<Scalars["String"]["output"]>;
|
|
2361
2402
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
2362
2403
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2363
2404
|
path?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -2394,6 +2435,7 @@ export type GQLQuery = {
|
|
|
2394
2435
|
dashSetupProgress: GQLDashSetupProgress;
|
|
2395
2436
|
dataConnections: Array<GQLDataConnection>;
|
|
2396
2437
|
dataConnectorTypes: Array<GQLDataConnectorType>;
|
|
2438
|
+
datastoreDeletions: Array<GQLDatastoreDeletion>;
|
|
2397
2439
|
datastoreInvoices: GQLDatastoreInvoicePage;
|
|
2398
2440
|
datastoreProvisioningStatuses: Array<GQLDatastoreProvisioningStatus>;
|
|
2399
2441
|
datastoreSubscriptions: Array<GQLDatastoreSubscription>;
|
|
@@ -2425,6 +2467,7 @@ export type GQLQuery = {
|
|
|
2425
2467
|
pendingInvitations: Array<GQLPendingInvitation>;
|
|
2426
2468
|
refreshResourceCapabilities: GQLRefreshResourceCapabilitiesResponse;
|
|
2427
2469
|
refreshResourcesStatus: GQLRefreshResourcesStatusResponse;
|
|
2470
|
+
rulePrefixes: GQLRulePrefixesResponse;
|
|
2428
2471
|
rules: GQLRulesResponse;
|
|
2429
2472
|
sessionContext: GQLSessionContext;
|
|
2430
2473
|
shaclShapes: GQLShaclShapesResponse;
|
|
@@ -2523,6 +2566,10 @@ export type GQLQueryCustomAppsArgs = {
|
|
|
2523
2566
|
search?: InputMaybe<Scalars["String"]["input"]>;
|
|
2524
2567
|
};
|
|
2525
2568
|
|
|
2569
|
+
export type GQLQueryDatastoreDeletionsArgs = {
|
|
2570
|
+
datastoreIds: Array<Scalars["String"]["input"]>;
|
|
2571
|
+
};
|
|
2572
|
+
|
|
2526
2573
|
export type GQLQueryDatastoreInvoicesArgs = {
|
|
2527
2574
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
2528
2575
|
datastoreId?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -2761,12 +2808,6 @@ export type GQLReleaseRuleOwnershipResponse = {
|
|
|
2761
2808
|
success: Scalars["Boolean"]["output"];
|
|
2762
2809
|
};
|
|
2763
2810
|
|
|
2764
|
-
export type GQLRemoveDatastoreResponse = {
|
|
2765
|
-
__typename?: "RemoveDatastoreResponse";
|
|
2766
|
-
error?: Maybe<Scalars["String"]["output"]>;
|
|
2767
|
-
success: Scalars["Boolean"]["output"];
|
|
2768
|
-
};
|
|
2769
|
-
|
|
2770
2811
|
export type GQLRenameDatastoreGroupInput = {
|
|
2771
2812
|
id: Scalars["String"]["input"];
|
|
2772
2813
|
isOrganization: Scalars["Boolean"]["input"];
|
|
@@ -2786,12 +2827,6 @@ export type GQLRenameUserResponse = {
|
|
|
2786
2827
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2787
2828
|
};
|
|
2788
2829
|
|
|
2789
|
-
export type GQLRestoreDatastoreResponse = {
|
|
2790
|
-
__typename?: "RestoreDatastoreResponse";
|
|
2791
|
-
error?: Maybe<Scalars["String"]["output"]>;
|
|
2792
|
-
success: Scalars["Boolean"]["output"];
|
|
2793
|
-
};
|
|
2794
|
-
|
|
2795
2830
|
export type GQLRestoreMemoryResponse = {
|
|
2796
2831
|
__typename?: "RestoreMemoryResponse";
|
|
2797
2832
|
blockedByIri?: Maybe<Scalars["IRI"]["output"]>;
|
|
@@ -2847,6 +2882,31 @@ export type GQLRuleOwnership = {
|
|
|
2847
2882
|
userId?: Maybe<Scalars["String"]["output"]>;
|
|
2848
2883
|
};
|
|
2849
2884
|
|
|
2885
|
+
export type GQLRulePrefix = {
|
|
2886
|
+
__typename?: "RulePrefix";
|
|
2887
|
+
iri: Scalars["IRI"]["output"];
|
|
2888
|
+
managedByManta: Scalars["Boolean"]["output"];
|
|
2889
|
+
name: Scalars["String"]["output"];
|
|
2890
|
+
};
|
|
2891
|
+
|
|
2892
|
+
export type GQLRulePrefixInput = {
|
|
2893
|
+
iri: Scalars["IRI"]["input"];
|
|
2894
|
+
name: Scalars["String"]["input"];
|
|
2895
|
+
};
|
|
2896
|
+
|
|
2897
|
+
export type GQLRulePrefixResponse = {
|
|
2898
|
+
__typename?: "RulePrefixResponse";
|
|
2899
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
2900
|
+
prefix?: Maybe<GQLRulePrefix>;
|
|
2901
|
+
success: Scalars["Boolean"]["output"];
|
|
2902
|
+
};
|
|
2903
|
+
|
|
2904
|
+
export type GQLRulePrefixesResponse = {
|
|
2905
|
+
__typename?: "RulePrefixesResponse";
|
|
2906
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
2907
|
+
prefixes: Array<GQLRulePrefix>;
|
|
2908
|
+
};
|
|
2909
|
+
|
|
2850
2910
|
export type GQLRuleStructure = {
|
|
2851
2911
|
__typename?: "RuleStructure";
|
|
2852
2912
|
bodyFormulas: Scalars["Int"]["output"];
|
|
@@ -2875,6 +2935,24 @@ export type GQLRulesResponse = {
|
|
|
2875
2935
|
rules: Array<GQLRule>;
|
|
2876
2936
|
};
|
|
2877
2937
|
|
|
2938
|
+
export type GQLRunDatastoreDeletionStepInput = {
|
|
2939
|
+
datastoreId: Scalars["String"]["input"];
|
|
2940
|
+
linked: Scalars["Boolean"]["input"];
|
|
2941
|
+
orgId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2942
|
+
ownerGroupId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2943
|
+
ownerOrganizationId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2944
|
+
purgedManagers?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
2945
|
+
step: Scalars["String"]["input"];
|
|
2946
|
+
};
|
|
2947
|
+
|
|
2948
|
+
export type GQLRunDatastoreDeletionStepResult = {
|
|
2949
|
+
__typename?: "RunDatastoreDeletionStepResult";
|
|
2950
|
+
operatorError?: Maybe<Scalars["String"]["output"]>;
|
|
2951
|
+
purgedManagers?: Maybe<Array<Scalars["String"]["output"]>>;
|
|
2952
|
+
sweepable?: Maybe<Scalars["Boolean"]["output"]>;
|
|
2953
|
+
takenBack?: Maybe<Scalars["Boolean"]["output"]>;
|
|
2954
|
+
};
|
|
2955
|
+
|
|
2878
2956
|
export type GQLSelfServeInvitationInput = {
|
|
2879
2957
|
email: Scalars["String"]["input"];
|
|
2880
2958
|
role: Scalars["String"]["input"];
|
|
@@ -3640,6 +3718,19 @@ export type GQLConsolidateMemoriesMutation = {
|
|
|
3640
3718
|
};
|
|
3641
3719
|
};
|
|
3642
3720
|
|
|
3721
|
+
export type GQLContinueDatastoreDeletionMutationVariables = Exact<{
|
|
3722
|
+
datastoreId: Scalars["String"]["input"];
|
|
3723
|
+
}>;
|
|
3724
|
+
|
|
3725
|
+
export type GQLContinueDatastoreDeletionMutation = {
|
|
3726
|
+
__typename?: "Mutation";
|
|
3727
|
+
continueDatastoreDeletion: {
|
|
3728
|
+
__typename?: "ContinueDatastoreDeletionResponse";
|
|
3729
|
+
success: boolean;
|
|
3730
|
+
error?: string | null;
|
|
3731
|
+
};
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3643
3734
|
export type GQLCreateCustomAppMutationVariables = Exact<{
|
|
3644
3735
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
3645
3736
|
name: Scalars["String"]["input"];
|
|
@@ -4190,6 +4281,7 @@ export type GQLLinkUnlinkedDatastoreMutation = {
|
|
|
4190
4281
|
path?: string | null;
|
|
4191
4282
|
pending: boolean;
|
|
4192
4283
|
providerWarning?: string | null;
|
|
4284
|
+
deletionWarning?: string | null;
|
|
4193
4285
|
};
|
|
4194
4286
|
};
|
|
4195
4287
|
|
|
@@ -4380,6 +4472,7 @@ export type GQLProvisionDatastoreMutation = {
|
|
|
4380
4472
|
pending: boolean;
|
|
4381
4473
|
runId?: string | null;
|
|
4382
4474
|
providerWarning?: string | null;
|
|
4475
|
+
deletionWarning?: string | null;
|
|
4383
4476
|
};
|
|
4384
4477
|
};
|
|
4385
4478
|
|
|
@@ -4497,15 +4590,6 @@ export type GQLRemoveCustomAppUsersMutation = {
|
|
|
4497
4590
|
}>;
|
|
4498
4591
|
};
|
|
4499
4592
|
|
|
4500
|
-
export type GQLRemoveDatastoreMutationVariables = Exact<{
|
|
4501
|
-
datastoreId: Scalars["String"]["input"];
|
|
4502
|
-
}>;
|
|
4503
|
-
|
|
4504
|
-
export type GQLRemoveDatastoreMutation = {
|
|
4505
|
-
__typename?: "Mutation";
|
|
4506
|
-
removeDatastore: { __typename?: "RemoveDatastoreResponse"; success: boolean; error?: string | null };
|
|
4507
|
-
};
|
|
4508
|
-
|
|
4509
4593
|
export type GQLRenameDatastoreGroupMutationVariables = Exact<{
|
|
4510
4594
|
input: GQLRenameDatastoreGroupInput;
|
|
4511
4595
|
}>;
|
|
@@ -4526,15 +4610,6 @@ export type GQLRenameUserMutation = {
|
|
|
4526
4610
|
renameUser: { __typename?: "RenameUserResponse"; id: string; name?: string | null };
|
|
4527
4611
|
};
|
|
4528
4612
|
|
|
4529
|
-
export type GQLRestoreDatastoreMutationVariables = Exact<{
|
|
4530
|
-
datastoreId: Scalars["String"]["input"];
|
|
4531
|
-
}>;
|
|
4532
|
-
|
|
4533
|
-
export type GQLRestoreDatastoreMutation = {
|
|
4534
|
-
__typename?: "Mutation";
|
|
4535
|
-
restoreDatastore: { __typename?: "RestoreDatastoreResponse"; success: boolean; error?: string | null };
|
|
4536
|
-
};
|
|
4537
|
-
|
|
4538
4613
|
export type GQLRestoreMemoryMutationVariables = Exact<{
|
|
4539
4614
|
memoryIri: Scalars["IRI"]["input"];
|
|
4540
4615
|
}>;
|
|
@@ -5481,6 +5556,24 @@ export type GQLDataConnectorTypesQuery = {
|
|
|
5481
5556
|
}>;
|
|
5482
5557
|
};
|
|
5483
5558
|
|
|
5559
|
+
export type GQLDatastoreDeletionsQueryVariables = Exact<{
|
|
5560
|
+
datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
5561
|
+
}>;
|
|
5562
|
+
|
|
5563
|
+
export type GQLDatastoreDeletionsQuery = {
|
|
5564
|
+
__typename?: "Query";
|
|
5565
|
+
datastoreDeletions: Array<{
|
|
5566
|
+
__typename?: "DatastoreDeletion";
|
|
5567
|
+
datastoreId: string;
|
|
5568
|
+
step?: string | null;
|
|
5569
|
+
retrying: boolean;
|
|
5570
|
+
failure?: string | null;
|
|
5571
|
+
error?: string | null;
|
|
5572
|
+
unregistered?: boolean | null;
|
|
5573
|
+
unreadable: boolean;
|
|
5574
|
+
}>;
|
|
5575
|
+
};
|
|
5576
|
+
|
|
5484
5577
|
export type GQLDatastoreInvoicesQueryVariables = Exact<{
|
|
5485
5578
|
datastoreId?: InputMaybe<Scalars["String"]["input"]>;
|
|
5486
5579
|
first?: InputMaybe<Scalars["Int"]["input"]>;
|
|
@@ -5738,9 +5831,7 @@ export type GQLInferalIntegrationsQuery = {
|
|
|
5738
5831
|
}>;
|
|
5739
5832
|
};
|
|
5740
5833
|
|
|
5741
|
-
export type GQLKnowledgeGraphStateQueryVariables = Exact<{
|
|
5742
|
-
dataVersion?: InputMaybe<Scalars["String"]["input"]>;
|
|
5743
|
-
}>;
|
|
5834
|
+
export type GQLKnowledgeGraphStateQueryVariables = Exact<{ [key: string]: never }>;
|
|
5744
5835
|
|
|
5745
5836
|
export type GQLKnowledgeGraphStateQuery = {
|
|
5746
5837
|
__typename?: "Query";
|
|
@@ -5749,14 +5840,6 @@ export type GQLKnowledgeGraphStateQuery = {
|
|
|
5749
5840
|
exists: boolean;
|
|
5750
5841
|
isLoaded: boolean;
|
|
5751
5842
|
offline: boolean;
|
|
5752
|
-
capacity: {
|
|
5753
|
-
__typename?: "KnowledgeGraphCapacity";
|
|
5754
|
-
maxTriples: bigint;
|
|
5755
|
-
currentTriples?: bigint | null;
|
|
5756
|
-
percentageFull?: number | null;
|
|
5757
|
-
remainingCapacity?: bigint | null;
|
|
5758
|
-
entitySummary?: Array<{ __typename?: "EntityCount"; type: string; count: number }> | null;
|
|
5759
|
-
};
|
|
5760
5843
|
dataVersion?: { __typename?: "KnowledgeGraphDataVersion"; uniqueId: string; version: bigint } | null;
|
|
5761
5844
|
};
|
|
5762
5845
|
};
|
|
@@ -6988,6 +7071,43 @@ export const useConsolidateMemoriesMutation = <TError = unknown, TContext = unkn
|
|
|
6988
7071
|
});
|
|
6989
7072
|
};
|
|
6990
7073
|
|
|
7074
|
+
export const ContinueDatastoreDeletionDocument = `
|
|
7075
|
+
mutation ContinueDatastoreDeletion($datastoreId: String!) {
|
|
7076
|
+
continueDatastoreDeletion(datastoreId: $datastoreId) {
|
|
7077
|
+
success
|
|
7078
|
+
error
|
|
7079
|
+
}
|
|
7080
|
+
}
|
|
7081
|
+
`;
|
|
7082
|
+
|
|
7083
|
+
export const useContinueDatastoreDeletionMutation = <TError = unknown, TContext = unknown>(
|
|
7084
|
+
client: GraphQLClient,
|
|
7085
|
+
options?: UseMutationOptions<
|
|
7086
|
+
GQLContinueDatastoreDeletionMutation,
|
|
7087
|
+
TError,
|
|
7088
|
+
GQLContinueDatastoreDeletionMutationVariables,
|
|
7089
|
+
TContext
|
|
7090
|
+
>,
|
|
7091
|
+
headers?: RequestInit["headers"],
|
|
7092
|
+
) => {
|
|
7093
|
+
return useMutation<
|
|
7094
|
+
GQLContinueDatastoreDeletionMutation,
|
|
7095
|
+
TError,
|
|
7096
|
+
GQLContinueDatastoreDeletionMutationVariables,
|
|
7097
|
+
TContext
|
|
7098
|
+
>({
|
|
7099
|
+
mutationKey: ["ContinueDatastoreDeletion"],
|
|
7100
|
+
mutationFn: (variables?: GQLContinueDatastoreDeletionMutationVariables) =>
|
|
7101
|
+
fetcher<GQLContinueDatastoreDeletionMutation, GQLContinueDatastoreDeletionMutationVariables>(
|
|
7102
|
+
client,
|
|
7103
|
+
ContinueDatastoreDeletionDocument,
|
|
7104
|
+
variables,
|
|
7105
|
+
headers,
|
|
7106
|
+
)(),
|
|
7107
|
+
...options,
|
|
7108
|
+
});
|
|
7109
|
+
};
|
|
7110
|
+
|
|
6991
7111
|
export const CreateCustomAppDocument = `
|
|
6992
7112
|
mutation CreateCustomApp($org: String, $name: String!, $kind: CustomAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
|
|
6993
7113
|
createCustomApp(
|
|
@@ -8194,6 +8314,7 @@ export const LinkUnlinkedDatastoreDocument = `
|
|
|
8194
8314
|
path
|
|
8195
8315
|
pending
|
|
8196
8316
|
providerWarning
|
|
8317
|
+
deletionWarning
|
|
8197
8318
|
}
|
|
8198
8319
|
}
|
|
8199
8320
|
`;
|
|
@@ -8573,6 +8694,7 @@ export const ProvisionDatastoreDocument = `
|
|
|
8573
8694
|
pending
|
|
8574
8695
|
runId
|
|
8575
8696
|
providerWarning
|
|
8697
|
+
deletionWarning
|
|
8576
8698
|
}
|
|
8577
8699
|
}
|
|
8578
8700
|
`;
|
|
@@ -8819,33 +8941,6 @@ export const useRemoveCustomAppUsersMutation = <TError = unknown, TContext = unk
|
|
|
8819
8941
|
});
|
|
8820
8942
|
};
|
|
8821
8943
|
|
|
8822
|
-
export const RemoveDatastoreDocument = `
|
|
8823
|
-
mutation RemoveDatastore($datastoreId: String!) {
|
|
8824
|
-
removeDatastore(datastoreId: $datastoreId) {
|
|
8825
|
-
success
|
|
8826
|
-
error
|
|
8827
|
-
}
|
|
8828
|
-
}
|
|
8829
|
-
`;
|
|
8830
|
-
|
|
8831
|
-
export const useRemoveDatastoreMutation = <TError = unknown, TContext = unknown>(
|
|
8832
|
-
client: GraphQLClient,
|
|
8833
|
-
options?: UseMutationOptions<GQLRemoveDatastoreMutation, TError, GQLRemoveDatastoreMutationVariables, TContext>,
|
|
8834
|
-
headers?: RequestInit["headers"],
|
|
8835
|
-
) => {
|
|
8836
|
-
return useMutation<GQLRemoveDatastoreMutation, TError, GQLRemoveDatastoreMutationVariables, TContext>({
|
|
8837
|
-
mutationKey: ["RemoveDatastore"],
|
|
8838
|
-
mutationFn: (variables?: GQLRemoveDatastoreMutationVariables) =>
|
|
8839
|
-
fetcher<GQLRemoveDatastoreMutation, GQLRemoveDatastoreMutationVariables>(
|
|
8840
|
-
client,
|
|
8841
|
-
RemoveDatastoreDocument,
|
|
8842
|
-
variables,
|
|
8843
|
-
headers,
|
|
8844
|
-
)(),
|
|
8845
|
-
...options,
|
|
8846
|
-
});
|
|
8847
|
-
};
|
|
8848
|
-
|
|
8849
8944
|
export const RenameDatastoreGroupDocument = `
|
|
8850
8945
|
mutation RenameDatastoreGroup($input: RenameDatastoreGroupInput!) {
|
|
8851
8946
|
renameDatastoreGroup(input: $input) {
|
|
@@ -8900,33 +8995,6 @@ export const useRenameUserMutation = <TError = unknown, TContext = unknown>(
|
|
|
8900
8995
|
});
|
|
8901
8996
|
};
|
|
8902
8997
|
|
|
8903
|
-
export const RestoreDatastoreDocument = `
|
|
8904
|
-
mutation RestoreDatastore($datastoreId: String!) {
|
|
8905
|
-
restoreDatastore(datastoreId: $datastoreId) {
|
|
8906
|
-
success
|
|
8907
|
-
error
|
|
8908
|
-
}
|
|
8909
|
-
}
|
|
8910
|
-
`;
|
|
8911
|
-
|
|
8912
|
-
export const useRestoreDatastoreMutation = <TError = unknown, TContext = unknown>(
|
|
8913
|
-
client: GraphQLClient,
|
|
8914
|
-
options?: UseMutationOptions<GQLRestoreDatastoreMutation, TError, GQLRestoreDatastoreMutationVariables, TContext>,
|
|
8915
|
-
headers?: RequestInit["headers"],
|
|
8916
|
-
) => {
|
|
8917
|
-
return useMutation<GQLRestoreDatastoreMutation, TError, GQLRestoreDatastoreMutationVariables, TContext>({
|
|
8918
|
-
mutationKey: ["RestoreDatastore"],
|
|
8919
|
-
mutationFn: (variables?: GQLRestoreDatastoreMutationVariables) =>
|
|
8920
|
-
fetcher<GQLRestoreDatastoreMutation, GQLRestoreDatastoreMutationVariables>(
|
|
8921
|
-
client,
|
|
8922
|
-
RestoreDatastoreDocument,
|
|
8923
|
-
variables,
|
|
8924
|
-
headers,
|
|
8925
|
-
)(),
|
|
8926
|
-
...options,
|
|
8927
|
-
});
|
|
8928
|
-
};
|
|
8929
|
-
|
|
8930
8998
|
export const RestoreMemoryDocument = `
|
|
8931
8999
|
mutation RestoreMemory($memoryIri: IRI!) {
|
|
8932
9000
|
restoreMemory(memoryIri: $memoryIri) {
|
|
@@ -10845,6 +10913,70 @@ export const useSuspenseDataConnectorTypesQuery = <TData = GQLDataConnectorTypes
|
|
|
10845
10913
|
useSuspenseDataConnectorTypesQuery.getKey = (variables?: GQLDataConnectorTypesQueryVariables) =>
|
|
10846
10914
|
variables === undefined ? ["DataConnectorTypesSuspense"] : ["DataConnectorTypesSuspense", variables];
|
|
10847
10915
|
|
|
10916
|
+
export const DatastoreDeletionsDocument = `
|
|
10917
|
+
query DatastoreDeletions($datastoreIds: [String!]!) {
|
|
10918
|
+
datastoreDeletions(datastoreIds: $datastoreIds) {
|
|
10919
|
+
datastoreId
|
|
10920
|
+
step
|
|
10921
|
+
retrying
|
|
10922
|
+
failure
|
|
10923
|
+
error
|
|
10924
|
+
unregistered
|
|
10925
|
+
unreadable
|
|
10926
|
+
}
|
|
10927
|
+
}
|
|
10928
|
+
`;
|
|
10929
|
+
|
|
10930
|
+
export const useDatastoreDeletionsQuery = <TData = GQLDatastoreDeletionsQuery, TError = unknown>(
|
|
10931
|
+
client: GraphQLClient,
|
|
10932
|
+
variables: GQLDatastoreDeletionsQueryVariables,
|
|
10933
|
+
options?: Omit<UseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>, "queryKey"> & {
|
|
10934
|
+
queryKey?: UseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>["queryKey"];
|
|
10935
|
+
},
|
|
10936
|
+
headers?: RequestInit["headers"],
|
|
10937
|
+
) => {
|
|
10938
|
+
return useQuery<GQLDatastoreDeletionsQuery, TError, TData>({
|
|
10939
|
+
queryKey: ["DatastoreDeletions", variables],
|
|
10940
|
+
queryFn: fetcher<GQLDatastoreDeletionsQuery, GQLDatastoreDeletionsQueryVariables>(
|
|
10941
|
+
client,
|
|
10942
|
+
DatastoreDeletionsDocument,
|
|
10943
|
+
variables,
|
|
10944
|
+
headers,
|
|
10945
|
+
),
|
|
10946
|
+
...options,
|
|
10947
|
+
});
|
|
10948
|
+
};
|
|
10949
|
+
|
|
10950
|
+
useDatastoreDeletionsQuery.getKey = (variables: GQLDatastoreDeletionsQueryVariables) => [
|
|
10951
|
+
"DatastoreDeletions",
|
|
10952
|
+
variables,
|
|
10953
|
+
];
|
|
10954
|
+
|
|
10955
|
+
export const useSuspenseDatastoreDeletionsQuery = <TData = GQLDatastoreDeletionsQuery, TError = unknown>(
|
|
10956
|
+
client: GraphQLClient,
|
|
10957
|
+
variables: GQLDatastoreDeletionsQueryVariables,
|
|
10958
|
+
options?: Omit<UseSuspenseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>, "queryKey"> & {
|
|
10959
|
+
queryKey?: UseSuspenseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>["queryKey"];
|
|
10960
|
+
},
|
|
10961
|
+
headers?: RequestInit["headers"],
|
|
10962
|
+
) => {
|
|
10963
|
+
return useSuspenseQuery<GQLDatastoreDeletionsQuery, TError, TData>({
|
|
10964
|
+
queryKey: ["DatastoreDeletionsSuspense", variables],
|
|
10965
|
+
queryFn: fetcher<GQLDatastoreDeletionsQuery, GQLDatastoreDeletionsQueryVariables>(
|
|
10966
|
+
client,
|
|
10967
|
+
DatastoreDeletionsDocument,
|
|
10968
|
+
variables,
|
|
10969
|
+
headers,
|
|
10970
|
+
),
|
|
10971
|
+
...options,
|
|
10972
|
+
});
|
|
10973
|
+
};
|
|
10974
|
+
|
|
10975
|
+
useSuspenseDatastoreDeletionsQuery.getKey = (variables: GQLDatastoreDeletionsQueryVariables) => [
|
|
10976
|
+
"DatastoreDeletionsSuspense",
|
|
10977
|
+
variables,
|
|
10978
|
+
];
|
|
10979
|
+
|
|
10848
10980
|
export const DatastoreInvoicesDocument = `
|
|
10849
10981
|
query DatastoreInvoices($datastoreId: String, $first: Int, $after: String) {
|
|
10850
10982
|
datastoreInvoices(datastoreId: $datastoreId, first: $first, after: $after) {
|
|
@@ -11654,21 +11786,11 @@ useSuspenseInferalIntegrationsQuery.getKey = (variables?: GQLInferalIntegrations
|
|
|
11654
11786
|
variables === undefined ? ["InferalIntegrationsSuspense"] : ["InferalIntegrationsSuspense", variables];
|
|
11655
11787
|
|
|
11656
11788
|
export const KnowledgeGraphStateDocument = `
|
|
11657
|
-
query KnowledgeGraphState
|
|
11658
|
-
knowledgeGraphState
|
|
11789
|
+
query KnowledgeGraphState {
|
|
11790
|
+
knowledgeGraphState {
|
|
11659
11791
|
exists
|
|
11660
11792
|
isLoaded
|
|
11661
11793
|
offline
|
|
11662
|
-
capacity {
|
|
11663
|
-
maxTriples
|
|
11664
|
-
currentTriples
|
|
11665
|
-
percentageFull
|
|
11666
|
-
remainingCapacity
|
|
11667
|
-
entitySummary {
|
|
11668
|
-
type
|
|
11669
|
-
count
|
|
11670
|
-
}
|
|
11671
|
-
}
|
|
11672
11794
|
dataVersion {
|
|
11673
11795
|
uniqueId
|
|
11674
11796
|
version
|
package/src/shared/constants.ts
CHANGED
|
@@ -20,6 +20,3 @@ export const memoryExtractionFlagKey = "memory-extraction-enabled";
|
|
|
20
20
|
export const memoryAutoSupersedeFlagKey = "memory-auto-supersede-enabled";
|
|
21
21
|
export const memoryReplayFlagKey = "memory-replay-enabled";
|
|
22
22
|
export const memoryMaintenanceFlagKey = "memory-maintenance-enabled";
|
|
23
|
-
|
|
24
|
-
// Gates "Remove"/"Restore" and "Show archived". Off: see wiki/infisical-secrets.md § Removal gap.
|
|
25
|
-
export const enableDatastoreRemoval = false;
|