@manta-eu/client 0.10.0 → 0.11.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 +136 -50
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +52 -30
- 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 +235 -94
- package/src/shared/constants.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manta-eu/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.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/lib": "0.
|
|
64
|
-
"@manta-eu/
|
|
65
|
-
"@manta-eu/ldo": "0.
|
|
62
|
+
"@manta-eu/datalog-parser": "0.11.0",
|
|
63
|
+
"@manta-eu/rdf-lib": "0.11.0",
|
|
64
|
+
"@manta-eu/lib": "0.11.0",
|
|
65
|
+
"@manta-eu/ldo": "0.11.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"];
|
|
@@ -1743,10 +1767,12 @@ export type GQLMutation = {
|
|
|
1743
1767
|
completeUpload: GQLCompleteUploadResponse;
|
|
1744
1768
|
connectStripeAccount: GQLConnectStripeAccountResponse;
|
|
1745
1769
|
consolidateMemories: GQLCreateMemoryResponse;
|
|
1770
|
+
continueDatastoreDeletion: GQLContinueDatastoreDeletionResponse;
|
|
1746
1771
|
createCustomApp: GQLCustomAppCredentials;
|
|
1747
1772
|
createDataConnection: GQLDataConnectionTestState;
|
|
1748
1773
|
createInferalIntegration: GQLCreateInferalIntegrationResponse;
|
|
1749
1774
|
createMemory: GQLCreateMemoryResponse;
|
|
1775
|
+
createRulePrefix: GQLRulePrefixResponse;
|
|
1750
1776
|
createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
|
|
1751
1777
|
createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
|
|
1752
1778
|
dashSetupConnect: GQLDashSetupProgress;
|
|
@@ -1757,6 +1783,7 @@ export type GQLMutation = {
|
|
|
1757
1783
|
deleteDatastore: GQLDeleteDatastoreResponse;
|
|
1758
1784
|
deleteLDESStream: GQLLdesStreamDeleteResponse;
|
|
1759
1785
|
deleteMemory: GQLDeleteMemoryResponse;
|
|
1786
|
+
deleteRulePrefix: GQLDeleteRulePrefixResponse;
|
|
1760
1787
|
deleteUserAccount: GQLDeleteUserAccountResponse;
|
|
1761
1788
|
disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
|
|
1762
1789
|
disconnectCustomApp: Scalars["Boolean"]["output"];
|
|
@@ -1799,17 +1826,16 @@ export type GQLMutation = {
|
|
|
1799
1826
|
removeCustomAppUser: GQLCustomAppUserRemoval;
|
|
1800
1827
|
removeCustomAppUsers: Array<GQLCustomAppUserBulkRemovalResult>;
|
|
1801
1828
|
removeCustomAppUsersCreatedBetween: GQLCustomAppUserBulkRemoval;
|
|
1802
|
-
removeDatastore: GQLRemoveDatastoreResponse;
|
|
1803
1829
|
removeTeamMember: GQLTeamMemberRemovedResponse;
|
|
1804
1830
|
renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
|
|
1805
1831
|
renameUser: GQLRenameUserResponse;
|
|
1806
1832
|
resendTeamInvitation: GQLTeamInvitationResentResponse;
|
|
1807
|
-
restoreDatastore: GQLRestoreDatastoreResponse;
|
|
1808
1833
|
restoreMemory: GQLRestoreMemoryResponse;
|
|
1809
1834
|
resumeLDESStream: GQLLdesStreamResponse;
|
|
1810
1835
|
revokeOperatorRole: GQLRevokeOperatorRoleResponse;
|
|
1811
1836
|
revokePreviousCustomAppSecret: GQLCustomApp;
|
|
1812
1837
|
rotateCustomAppSecret: GQLCustomAppCredentials;
|
|
1838
|
+
runDatastoreDeletionStep: GQLRunDatastoreDeletionStepResult;
|
|
1813
1839
|
selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
|
|
1814
1840
|
setCustomAppChatAllowance: GQLCustomAppChatAllowance;
|
|
1815
1841
|
setCustomAppEnabled: GQLCustomApp;
|
|
@@ -1820,6 +1846,7 @@ export type GQLMutation = {
|
|
|
1820
1846
|
updateCustomApp: GQLCustomApp;
|
|
1821
1847
|
updateDataConnection: GQLDataConnectionTestState;
|
|
1822
1848
|
updateMemory: GQLUpdateMemoryResponse;
|
|
1849
|
+
updateRulePrefix: GQLRulePrefixResponse;
|
|
1823
1850
|
updateTeamMember: GQLTeamMemberUpdateResponse;
|
|
1824
1851
|
updateUserPreferences: GQLUpdateUserPreferencesResponse;
|
|
1825
1852
|
validateRule: GQLValidateRuleResponse;
|
|
@@ -1882,6 +1909,10 @@ export type GQLMutationConsolidateMemoriesArgs = {
|
|
|
1882
1909
|
input: GQLConsolidateMemoriesInput;
|
|
1883
1910
|
};
|
|
1884
1911
|
|
|
1912
|
+
export type GQLMutationContinueDatastoreDeletionArgs = {
|
|
1913
|
+
datastoreId: Scalars["String"]["input"];
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1885
1916
|
export type GQLMutationCreateCustomAppArgs = {
|
|
1886
1917
|
datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
1887
1918
|
homeUrl?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -1905,6 +1936,10 @@ export type GQLMutationCreateMemoryArgs = {
|
|
|
1905
1936
|
input: GQLCreateMemoryInput;
|
|
1906
1937
|
};
|
|
1907
1938
|
|
|
1939
|
+
export type GQLMutationCreateRulePrefixArgs = {
|
|
1940
|
+
input: GQLRulePrefixInput;
|
|
1941
|
+
};
|
|
1942
|
+
|
|
1908
1943
|
export type GQLMutationCreateStripeBillingPortalSessionArgs = {
|
|
1909
1944
|
datastoreId: Scalars["String"]["input"];
|
|
1910
1945
|
returnUrl: Scalars["String"]["input"];
|
|
@@ -1952,6 +1987,10 @@ export type GQLMutationDeleteMemoryArgs = {
|
|
|
1952
1987
|
memoryIri: Scalars["IRI"]["input"];
|
|
1953
1988
|
};
|
|
1954
1989
|
|
|
1990
|
+
export type GQLMutationDeleteRulePrefixArgs = {
|
|
1991
|
+
name: Scalars["String"]["input"];
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1955
1994
|
export type GQLMutationDeleteUserAccountArgs = {
|
|
1956
1995
|
userId: Scalars["String"]["input"];
|
|
1957
1996
|
};
|
|
@@ -2142,10 +2181,6 @@ export type GQLMutationRemoveCustomAppUsersCreatedBetweenArgs = {
|
|
|
2142
2181
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
2143
2182
|
};
|
|
2144
2183
|
|
|
2145
|
-
export type GQLMutationRemoveDatastoreArgs = {
|
|
2146
|
-
datastoreId: Scalars["String"]["input"];
|
|
2147
|
-
};
|
|
2148
|
-
|
|
2149
2184
|
export type GQLMutationRemoveTeamMemberArgs = {
|
|
2150
2185
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
2151
2186
|
userId: Scalars["String"]["input"];
|
|
@@ -2166,10 +2201,6 @@ export type GQLMutationResendTeamInvitationArgs = {
|
|
|
2166
2201
|
userId: Scalars["String"]["input"];
|
|
2167
2202
|
};
|
|
2168
2203
|
|
|
2169
|
-
export type GQLMutationRestoreDatastoreArgs = {
|
|
2170
|
-
datastoreId: Scalars["String"]["input"];
|
|
2171
|
-
};
|
|
2172
|
-
|
|
2173
2204
|
export type GQLMutationRestoreMemoryArgs = {
|
|
2174
2205
|
memoryIri: Scalars["IRI"]["input"];
|
|
2175
2206
|
};
|
|
@@ -2193,6 +2224,10 @@ export type GQLMutationRotateCustomAppSecretArgs = {
|
|
|
2193
2224
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
2194
2225
|
};
|
|
2195
2226
|
|
|
2227
|
+
export type GQLMutationRunDatastoreDeletionStepArgs = {
|
|
2228
|
+
input: GQLRunDatastoreDeletionStepInput;
|
|
2229
|
+
};
|
|
2230
|
+
|
|
2196
2231
|
export type GQLMutationSelfServeProvisionOrganizationArgs = {
|
|
2197
2232
|
input: GQLSelfServeProvisionOrganizationInput;
|
|
2198
2233
|
};
|
|
@@ -2247,6 +2282,10 @@ export type GQLMutationUpdateMemoryArgs = {
|
|
|
2247
2282
|
input: GQLUpdateMemoryInput;
|
|
2248
2283
|
};
|
|
2249
2284
|
|
|
2285
|
+
export type GQLMutationUpdateRulePrefixArgs = {
|
|
2286
|
+
input: GQLRulePrefixInput;
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2250
2289
|
export type GQLMutationUpdateTeamMemberArgs = {
|
|
2251
2290
|
group?: InputMaybe<Scalars["String"]["input"]>;
|
|
2252
2291
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -2358,6 +2397,7 @@ export type GQLProvisionDatastoreInput = {
|
|
|
2358
2397
|
export type GQLProvisionDatastoreResponse = {
|
|
2359
2398
|
__typename?: "ProvisionDatastoreResponse";
|
|
2360
2399
|
datastoreId?: Maybe<Scalars["String"]["output"]>;
|
|
2400
|
+
deletionWarning?: Maybe<Scalars["String"]["output"]>;
|
|
2361
2401
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
2362
2402
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2363
2403
|
path?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -2394,6 +2434,7 @@ export type GQLQuery = {
|
|
|
2394
2434
|
dashSetupProgress: GQLDashSetupProgress;
|
|
2395
2435
|
dataConnections: Array<GQLDataConnection>;
|
|
2396
2436
|
dataConnectorTypes: Array<GQLDataConnectorType>;
|
|
2437
|
+
datastoreDeletions: Array<GQLDatastoreDeletion>;
|
|
2397
2438
|
datastoreInvoices: GQLDatastoreInvoicePage;
|
|
2398
2439
|
datastoreProvisioningStatuses: Array<GQLDatastoreProvisioningStatus>;
|
|
2399
2440
|
datastoreSubscriptions: Array<GQLDatastoreSubscription>;
|
|
@@ -2425,6 +2466,7 @@ export type GQLQuery = {
|
|
|
2425
2466
|
pendingInvitations: Array<GQLPendingInvitation>;
|
|
2426
2467
|
refreshResourceCapabilities: GQLRefreshResourceCapabilitiesResponse;
|
|
2427
2468
|
refreshResourcesStatus: GQLRefreshResourcesStatusResponse;
|
|
2469
|
+
rulePrefixes: GQLRulePrefixesResponse;
|
|
2428
2470
|
rules: GQLRulesResponse;
|
|
2429
2471
|
sessionContext: GQLSessionContext;
|
|
2430
2472
|
shaclShapes: GQLShaclShapesResponse;
|
|
@@ -2523,6 +2565,10 @@ export type GQLQueryCustomAppsArgs = {
|
|
|
2523
2565
|
search?: InputMaybe<Scalars["String"]["input"]>;
|
|
2524
2566
|
};
|
|
2525
2567
|
|
|
2568
|
+
export type GQLQueryDatastoreDeletionsArgs = {
|
|
2569
|
+
datastoreIds: Array<Scalars["String"]["input"]>;
|
|
2570
|
+
};
|
|
2571
|
+
|
|
2526
2572
|
export type GQLQueryDatastoreInvoicesArgs = {
|
|
2527
2573
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
2528
2574
|
datastoreId?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -2761,12 +2807,6 @@ export type GQLReleaseRuleOwnershipResponse = {
|
|
|
2761
2807
|
success: Scalars["Boolean"]["output"];
|
|
2762
2808
|
};
|
|
2763
2809
|
|
|
2764
|
-
export type GQLRemoveDatastoreResponse = {
|
|
2765
|
-
__typename?: "RemoveDatastoreResponse";
|
|
2766
|
-
error?: Maybe<Scalars["String"]["output"]>;
|
|
2767
|
-
success: Scalars["Boolean"]["output"];
|
|
2768
|
-
};
|
|
2769
|
-
|
|
2770
2810
|
export type GQLRenameDatastoreGroupInput = {
|
|
2771
2811
|
id: Scalars["String"]["input"];
|
|
2772
2812
|
isOrganization: Scalars["Boolean"]["input"];
|
|
@@ -2786,12 +2826,6 @@ export type GQLRenameUserResponse = {
|
|
|
2786
2826
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2787
2827
|
};
|
|
2788
2828
|
|
|
2789
|
-
export type GQLRestoreDatastoreResponse = {
|
|
2790
|
-
__typename?: "RestoreDatastoreResponse";
|
|
2791
|
-
error?: Maybe<Scalars["String"]["output"]>;
|
|
2792
|
-
success: Scalars["Boolean"]["output"];
|
|
2793
|
-
};
|
|
2794
|
-
|
|
2795
2829
|
export type GQLRestoreMemoryResponse = {
|
|
2796
2830
|
__typename?: "RestoreMemoryResponse";
|
|
2797
2831
|
blockedByIri?: Maybe<Scalars["IRI"]["output"]>;
|
|
@@ -2847,6 +2881,31 @@ export type GQLRuleOwnership = {
|
|
|
2847
2881
|
userId?: Maybe<Scalars["String"]["output"]>;
|
|
2848
2882
|
};
|
|
2849
2883
|
|
|
2884
|
+
export type GQLRulePrefix = {
|
|
2885
|
+
__typename?: "RulePrefix";
|
|
2886
|
+
iri: Scalars["IRI"]["output"];
|
|
2887
|
+
managedByManta: Scalars["Boolean"]["output"];
|
|
2888
|
+
name: Scalars["String"]["output"];
|
|
2889
|
+
};
|
|
2890
|
+
|
|
2891
|
+
export type GQLRulePrefixInput = {
|
|
2892
|
+
iri: Scalars["IRI"]["input"];
|
|
2893
|
+
name: Scalars["String"]["input"];
|
|
2894
|
+
};
|
|
2895
|
+
|
|
2896
|
+
export type GQLRulePrefixResponse = {
|
|
2897
|
+
__typename?: "RulePrefixResponse";
|
|
2898
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
2899
|
+
prefix?: Maybe<GQLRulePrefix>;
|
|
2900
|
+
success: Scalars["Boolean"]["output"];
|
|
2901
|
+
};
|
|
2902
|
+
|
|
2903
|
+
export type GQLRulePrefixesResponse = {
|
|
2904
|
+
__typename?: "RulePrefixesResponse";
|
|
2905
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
2906
|
+
prefixes: Array<GQLRulePrefix>;
|
|
2907
|
+
};
|
|
2908
|
+
|
|
2850
2909
|
export type GQLRuleStructure = {
|
|
2851
2910
|
__typename?: "RuleStructure";
|
|
2852
2911
|
bodyFormulas: Scalars["Int"]["output"];
|
|
@@ -2875,6 +2934,24 @@ export type GQLRulesResponse = {
|
|
|
2875
2934
|
rules: Array<GQLRule>;
|
|
2876
2935
|
};
|
|
2877
2936
|
|
|
2937
|
+
export type GQLRunDatastoreDeletionStepInput = {
|
|
2938
|
+
datastoreId: Scalars["String"]["input"];
|
|
2939
|
+
linked: Scalars["Boolean"]["input"];
|
|
2940
|
+
orgId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2941
|
+
ownerGroupId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2942
|
+
ownerOrganizationId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2943
|
+
purgedManagers?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
2944
|
+
step: Scalars["String"]["input"];
|
|
2945
|
+
};
|
|
2946
|
+
|
|
2947
|
+
export type GQLRunDatastoreDeletionStepResult = {
|
|
2948
|
+
__typename?: "RunDatastoreDeletionStepResult";
|
|
2949
|
+
operatorError?: Maybe<Scalars["String"]["output"]>;
|
|
2950
|
+
purgedManagers?: Maybe<Array<Scalars["String"]["output"]>>;
|
|
2951
|
+
sweepable?: Maybe<Scalars["Boolean"]["output"]>;
|
|
2952
|
+
takenBack?: Maybe<Scalars["Boolean"]["output"]>;
|
|
2953
|
+
};
|
|
2954
|
+
|
|
2878
2955
|
export type GQLSelfServeInvitationInput = {
|
|
2879
2956
|
email: Scalars["String"]["input"];
|
|
2880
2957
|
role: Scalars["String"]["input"];
|
|
@@ -3640,6 +3717,19 @@ export type GQLConsolidateMemoriesMutation = {
|
|
|
3640
3717
|
};
|
|
3641
3718
|
};
|
|
3642
3719
|
|
|
3720
|
+
export type GQLContinueDatastoreDeletionMutationVariables = Exact<{
|
|
3721
|
+
datastoreId: Scalars["String"]["input"];
|
|
3722
|
+
}>;
|
|
3723
|
+
|
|
3724
|
+
export type GQLContinueDatastoreDeletionMutation = {
|
|
3725
|
+
__typename?: "Mutation";
|
|
3726
|
+
continueDatastoreDeletion: {
|
|
3727
|
+
__typename?: "ContinueDatastoreDeletionResponse";
|
|
3728
|
+
success: boolean;
|
|
3729
|
+
error?: string | null;
|
|
3730
|
+
};
|
|
3731
|
+
};
|
|
3732
|
+
|
|
3643
3733
|
export type GQLCreateCustomAppMutationVariables = Exact<{
|
|
3644
3734
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
3645
3735
|
name: Scalars["String"]["input"];
|
|
@@ -4190,6 +4280,7 @@ export type GQLLinkUnlinkedDatastoreMutation = {
|
|
|
4190
4280
|
path?: string | null;
|
|
4191
4281
|
pending: boolean;
|
|
4192
4282
|
providerWarning?: string | null;
|
|
4283
|
+
deletionWarning?: string | null;
|
|
4193
4284
|
};
|
|
4194
4285
|
};
|
|
4195
4286
|
|
|
@@ -4380,6 +4471,7 @@ export type GQLProvisionDatastoreMutation = {
|
|
|
4380
4471
|
pending: boolean;
|
|
4381
4472
|
runId?: string | null;
|
|
4382
4473
|
providerWarning?: string | null;
|
|
4474
|
+
deletionWarning?: string | null;
|
|
4383
4475
|
};
|
|
4384
4476
|
};
|
|
4385
4477
|
|
|
@@ -4497,15 +4589,6 @@ export type GQLRemoveCustomAppUsersMutation = {
|
|
|
4497
4589
|
}>;
|
|
4498
4590
|
};
|
|
4499
4591
|
|
|
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
4592
|
export type GQLRenameDatastoreGroupMutationVariables = Exact<{
|
|
4510
4593
|
input: GQLRenameDatastoreGroupInput;
|
|
4511
4594
|
}>;
|
|
@@ -4526,15 +4609,6 @@ export type GQLRenameUserMutation = {
|
|
|
4526
4609
|
renameUser: { __typename?: "RenameUserResponse"; id: string; name?: string | null };
|
|
4527
4610
|
};
|
|
4528
4611
|
|
|
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
4612
|
export type GQLRestoreMemoryMutationVariables = Exact<{
|
|
4539
4613
|
memoryIri: Scalars["IRI"]["input"];
|
|
4540
4614
|
}>;
|
|
@@ -5481,6 +5555,24 @@ export type GQLDataConnectorTypesQuery = {
|
|
|
5481
5555
|
}>;
|
|
5482
5556
|
};
|
|
5483
5557
|
|
|
5558
|
+
export type GQLDatastoreDeletionsQueryVariables = Exact<{
|
|
5559
|
+
datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
5560
|
+
}>;
|
|
5561
|
+
|
|
5562
|
+
export type GQLDatastoreDeletionsQuery = {
|
|
5563
|
+
__typename?: "Query";
|
|
5564
|
+
datastoreDeletions: Array<{
|
|
5565
|
+
__typename?: "DatastoreDeletion";
|
|
5566
|
+
datastoreId: string;
|
|
5567
|
+
step?: string | null;
|
|
5568
|
+
retrying: boolean;
|
|
5569
|
+
failure?: string | null;
|
|
5570
|
+
error?: string | null;
|
|
5571
|
+
unregistered?: boolean | null;
|
|
5572
|
+
unreadable: boolean;
|
|
5573
|
+
}>;
|
|
5574
|
+
};
|
|
5575
|
+
|
|
5484
5576
|
export type GQLDatastoreInvoicesQueryVariables = Exact<{
|
|
5485
5577
|
datastoreId?: InputMaybe<Scalars["String"]["input"]>;
|
|
5486
5578
|
first?: InputMaybe<Scalars["Int"]["input"]>;
|
|
@@ -6988,6 +7080,43 @@ export const useConsolidateMemoriesMutation = <TError = unknown, TContext = unkn
|
|
|
6988
7080
|
});
|
|
6989
7081
|
};
|
|
6990
7082
|
|
|
7083
|
+
export const ContinueDatastoreDeletionDocument = `
|
|
7084
|
+
mutation ContinueDatastoreDeletion($datastoreId: String!) {
|
|
7085
|
+
continueDatastoreDeletion(datastoreId: $datastoreId) {
|
|
7086
|
+
success
|
|
7087
|
+
error
|
|
7088
|
+
}
|
|
7089
|
+
}
|
|
7090
|
+
`;
|
|
7091
|
+
|
|
7092
|
+
export const useContinueDatastoreDeletionMutation = <TError = unknown, TContext = unknown>(
|
|
7093
|
+
client: GraphQLClient,
|
|
7094
|
+
options?: UseMutationOptions<
|
|
7095
|
+
GQLContinueDatastoreDeletionMutation,
|
|
7096
|
+
TError,
|
|
7097
|
+
GQLContinueDatastoreDeletionMutationVariables,
|
|
7098
|
+
TContext
|
|
7099
|
+
>,
|
|
7100
|
+
headers?: RequestInit["headers"],
|
|
7101
|
+
) => {
|
|
7102
|
+
return useMutation<
|
|
7103
|
+
GQLContinueDatastoreDeletionMutation,
|
|
7104
|
+
TError,
|
|
7105
|
+
GQLContinueDatastoreDeletionMutationVariables,
|
|
7106
|
+
TContext
|
|
7107
|
+
>({
|
|
7108
|
+
mutationKey: ["ContinueDatastoreDeletion"],
|
|
7109
|
+
mutationFn: (variables?: GQLContinueDatastoreDeletionMutationVariables) =>
|
|
7110
|
+
fetcher<GQLContinueDatastoreDeletionMutation, GQLContinueDatastoreDeletionMutationVariables>(
|
|
7111
|
+
client,
|
|
7112
|
+
ContinueDatastoreDeletionDocument,
|
|
7113
|
+
variables,
|
|
7114
|
+
headers,
|
|
7115
|
+
)(),
|
|
7116
|
+
...options,
|
|
7117
|
+
});
|
|
7118
|
+
};
|
|
7119
|
+
|
|
6991
7120
|
export const CreateCustomAppDocument = `
|
|
6992
7121
|
mutation CreateCustomApp($org: String, $name: String!, $kind: CustomAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
|
|
6993
7122
|
createCustomApp(
|
|
@@ -8194,6 +8323,7 @@ export const LinkUnlinkedDatastoreDocument = `
|
|
|
8194
8323
|
path
|
|
8195
8324
|
pending
|
|
8196
8325
|
providerWarning
|
|
8326
|
+
deletionWarning
|
|
8197
8327
|
}
|
|
8198
8328
|
}
|
|
8199
8329
|
`;
|
|
@@ -8573,6 +8703,7 @@ export const ProvisionDatastoreDocument = `
|
|
|
8573
8703
|
pending
|
|
8574
8704
|
runId
|
|
8575
8705
|
providerWarning
|
|
8706
|
+
deletionWarning
|
|
8576
8707
|
}
|
|
8577
8708
|
}
|
|
8578
8709
|
`;
|
|
@@ -8819,33 +8950,6 @@ export const useRemoveCustomAppUsersMutation = <TError = unknown, TContext = unk
|
|
|
8819
8950
|
});
|
|
8820
8951
|
};
|
|
8821
8952
|
|
|
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
8953
|
export const RenameDatastoreGroupDocument = `
|
|
8850
8954
|
mutation RenameDatastoreGroup($input: RenameDatastoreGroupInput!) {
|
|
8851
8955
|
renameDatastoreGroup(input: $input) {
|
|
@@ -8900,33 +9004,6 @@ export const useRenameUserMutation = <TError = unknown, TContext = unknown>(
|
|
|
8900
9004
|
});
|
|
8901
9005
|
};
|
|
8902
9006
|
|
|
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
9007
|
export const RestoreMemoryDocument = `
|
|
8931
9008
|
mutation RestoreMemory($memoryIri: IRI!) {
|
|
8932
9009
|
restoreMemory(memoryIri: $memoryIri) {
|
|
@@ -10845,6 +10922,70 @@ export const useSuspenseDataConnectorTypesQuery = <TData = GQLDataConnectorTypes
|
|
|
10845
10922
|
useSuspenseDataConnectorTypesQuery.getKey = (variables?: GQLDataConnectorTypesQueryVariables) =>
|
|
10846
10923
|
variables === undefined ? ["DataConnectorTypesSuspense"] : ["DataConnectorTypesSuspense", variables];
|
|
10847
10924
|
|
|
10925
|
+
export const DatastoreDeletionsDocument = `
|
|
10926
|
+
query DatastoreDeletions($datastoreIds: [String!]!) {
|
|
10927
|
+
datastoreDeletions(datastoreIds: $datastoreIds) {
|
|
10928
|
+
datastoreId
|
|
10929
|
+
step
|
|
10930
|
+
retrying
|
|
10931
|
+
failure
|
|
10932
|
+
error
|
|
10933
|
+
unregistered
|
|
10934
|
+
unreadable
|
|
10935
|
+
}
|
|
10936
|
+
}
|
|
10937
|
+
`;
|
|
10938
|
+
|
|
10939
|
+
export const useDatastoreDeletionsQuery = <TData = GQLDatastoreDeletionsQuery, TError = unknown>(
|
|
10940
|
+
client: GraphQLClient,
|
|
10941
|
+
variables: GQLDatastoreDeletionsQueryVariables,
|
|
10942
|
+
options?: Omit<UseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>, "queryKey"> & {
|
|
10943
|
+
queryKey?: UseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>["queryKey"];
|
|
10944
|
+
},
|
|
10945
|
+
headers?: RequestInit["headers"],
|
|
10946
|
+
) => {
|
|
10947
|
+
return useQuery<GQLDatastoreDeletionsQuery, TError, TData>({
|
|
10948
|
+
queryKey: ["DatastoreDeletions", variables],
|
|
10949
|
+
queryFn: fetcher<GQLDatastoreDeletionsQuery, GQLDatastoreDeletionsQueryVariables>(
|
|
10950
|
+
client,
|
|
10951
|
+
DatastoreDeletionsDocument,
|
|
10952
|
+
variables,
|
|
10953
|
+
headers,
|
|
10954
|
+
),
|
|
10955
|
+
...options,
|
|
10956
|
+
});
|
|
10957
|
+
};
|
|
10958
|
+
|
|
10959
|
+
useDatastoreDeletionsQuery.getKey = (variables: GQLDatastoreDeletionsQueryVariables) => [
|
|
10960
|
+
"DatastoreDeletions",
|
|
10961
|
+
variables,
|
|
10962
|
+
];
|
|
10963
|
+
|
|
10964
|
+
export const useSuspenseDatastoreDeletionsQuery = <TData = GQLDatastoreDeletionsQuery, TError = unknown>(
|
|
10965
|
+
client: GraphQLClient,
|
|
10966
|
+
variables: GQLDatastoreDeletionsQueryVariables,
|
|
10967
|
+
options?: Omit<UseSuspenseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>, "queryKey"> & {
|
|
10968
|
+
queryKey?: UseSuspenseQueryOptions<GQLDatastoreDeletionsQuery, TError, TData>["queryKey"];
|
|
10969
|
+
},
|
|
10970
|
+
headers?: RequestInit["headers"],
|
|
10971
|
+
) => {
|
|
10972
|
+
return useSuspenseQuery<GQLDatastoreDeletionsQuery, TError, TData>({
|
|
10973
|
+
queryKey: ["DatastoreDeletionsSuspense", variables],
|
|
10974
|
+
queryFn: fetcher<GQLDatastoreDeletionsQuery, GQLDatastoreDeletionsQueryVariables>(
|
|
10975
|
+
client,
|
|
10976
|
+
DatastoreDeletionsDocument,
|
|
10977
|
+
variables,
|
|
10978
|
+
headers,
|
|
10979
|
+
),
|
|
10980
|
+
...options,
|
|
10981
|
+
});
|
|
10982
|
+
};
|
|
10983
|
+
|
|
10984
|
+
useSuspenseDatastoreDeletionsQuery.getKey = (variables: GQLDatastoreDeletionsQueryVariables) => [
|
|
10985
|
+
"DatastoreDeletionsSuspense",
|
|
10986
|
+
variables,
|
|
10987
|
+
];
|
|
10988
|
+
|
|
10848
10989
|
export const DatastoreInvoicesDocument = `
|
|
10849
10990
|
query DatastoreInvoices($datastoreId: String, $first: Int, $after: String) {
|
|
10850
10991
|
datastoreInvoices(datastoreId: $datastoreId, first: $first, after: $after) {
|
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;
|