@manta-eu/client 0.1.0 → 0.1.2
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/README.md +43 -0
- package/dist/generated/graphql.d.ts +169 -3
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +73 -0
- package/dist/graphql-clients.d.ts +2 -2
- package/dist/graphql-clients.d.ts.map +1 -1
- package/dist/graphql-clients.js +4 -4
- package/package.json +8 -12
- package/dist/shared/datastore-route-table.d.ts +0 -36
- package/dist/shared/datastore-route-table.d.ts.map +0 -1
- package/dist/shared/datastore-route-table.js +0 -43
- package/dist/shared/spa-routes.d.ts +0 -3
- package/dist/shared/spa-routes.d.ts.map +0 -1
- package/dist/shared/spa-routes.js +0 -5
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# @manta-eu/client
|
|
2
|
+
|
|
3
|
+
The Manta GraphQL contract and the typed React Query hooks generated from it.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @manta-eu/client
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
`@tanstack/react-query`, `react` and `react-router` are peer dependencies — the generated hooks are
|
|
12
|
+
React Query hooks, so your app supplies the versions it already runs.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
Build a client against your deployment, then call the generated hooks:
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { mantaGraphQLClient } from "@manta-eu/client";
|
|
20
|
+
|
|
21
|
+
const client = mantaGraphQLClient(new URL("https://app.hiremanta.com"));
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Pass the origin — `mantaGraphQLClient` appends the GraphQL path itself.
|
|
25
|
+
|
|
26
|
+
Requests carry the session from that origin, so the user signs in there.
|
|
27
|
+
|
|
28
|
+
## Exports
|
|
29
|
+
|
|
30
|
+
| Export | Contents |
|
|
31
|
+
| ---------------- | ---------------------------------------------------------------------------------------------- |
|
|
32
|
+
| `.` | The generated GraphQL types and hooks, plus the client constructors |
|
|
33
|
+
| `./shared/*` | Contract pieces shared with the server — page context, models, datastore paths, RDF namespaces |
|
|
34
|
+
| `./types/*` | Standalone type modules |
|
|
35
|
+
| `./shared/tools` | Tool definitions the assistant is given |
|
|
36
|
+
|
|
37
|
+
Most consumers reach this package through [`@manta-eu/react`](https://www.npmjs.com/package/@manta-eu/react),
|
|
38
|
+
which mounts the copilot and its providers for you. Use it directly when you want the contract
|
|
39
|
+
without the UI.
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
MIT
|
|
@@ -462,6 +462,12 @@ export type GQLApproximateQuantitativeValue = {
|
|
|
462
462
|
unitCode: Scalars["String"]["output"];
|
|
463
463
|
unitText?: Maybe<Scalars["String"]["output"]>;
|
|
464
464
|
};
|
|
465
|
+
export type GQLAttributeStripeSubscriptionResponse = {
|
|
466
|
+
__typename?: "AttributeStripeSubscriptionResponse";
|
|
467
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
468
|
+
status?: Maybe<Scalars["String"]["output"]>;
|
|
469
|
+
success: Scalars["Boolean"]["output"];
|
|
470
|
+
};
|
|
465
471
|
export type GQLAvailableTeam = {
|
|
466
472
|
__typename?: "AvailableTeam";
|
|
467
473
|
name: Scalars["String"]["output"];
|
|
@@ -495,6 +501,13 @@ export type GQLCommitStagedRulesResponse = {
|
|
|
495
501
|
rulesUpdated: Scalars["Int"]["output"];
|
|
496
502
|
success: Scalars["Boolean"]["output"];
|
|
497
503
|
};
|
|
504
|
+
export type GQLCompleteStripeCheckoutResponse = {
|
|
505
|
+
__typename?: "CompleteStripeCheckoutResponse";
|
|
506
|
+
datastoreId?: Maybe<Scalars["String"]["output"]>;
|
|
507
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
508
|
+
status?: Maybe<Scalars["String"]["output"]>;
|
|
509
|
+
success: Scalars["Boolean"]["output"];
|
|
510
|
+
};
|
|
498
511
|
export type GQLCompleteUploadInput = {
|
|
499
512
|
facts: GQLFileFactsInput;
|
|
500
513
|
fileName: Scalars["String"]["input"];
|
|
@@ -530,6 +543,7 @@ export type GQLConnectedAccount = {
|
|
|
530
543
|
__typename?: "ConnectedAccount";
|
|
531
544
|
externalId: Scalars["String"]["output"];
|
|
532
545
|
id: Scalars["String"]["output"];
|
|
546
|
+
includedResources: Array<GQLIncludedResource>;
|
|
533
547
|
integration: GQLIntegration;
|
|
534
548
|
};
|
|
535
549
|
export type GQLConsolidateMemoriesInput = {
|
|
@@ -604,12 +618,31 @@ export type GQLCreateMemoryResponse = {
|
|
|
604
618
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
605
619
|
memory?: Maybe<GQLMemory>;
|
|
606
620
|
};
|
|
621
|
+
export type GQLCreateStripeCheckoutSessionResponse = {
|
|
622
|
+
__typename?: "CreateStripeCheckoutSessionResponse";
|
|
623
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
624
|
+
success: Scalars["Boolean"]["output"];
|
|
625
|
+
url?: Maybe<Scalars["String"]["output"]>;
|
|
626
|
+
};
|
|
607
627
|
export type GQLCurrentFactValueResponse = {
|
|
608
628
|
__typename?: "CurrentFactValueResponse";
|
|
609
629
|
currentObject?: Maybe<Scalars["String"]["output"]>;
|
|
610
630
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
611
631
|
status: GQLFactValueStatus;
|
|
612
632
|
};
|
|
633
|
+
export type GQLDashFolder = {
|
|
634
|
+
__typename?: "DashFolder";
|
|
635
|
+
id: Scalars["String"]["output"];
|
|
636
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
637
|
+
parent?: Maybe<Scalars["String"]["output"]>;
|
|
638
|
+
position?: Maybe<Scalars["Int"]["output"]>;
|
|
639
|
+
};
|
|
640
|
+
export type GQLDashSetupProgress = {
|
|
641
|
+
__typename?: "DashSetupProgress";
|
|
642
|
+
folders?: Maybe<Array<GQLDashFolder>>;
|
|
643
|
+
lastError?: Maybe<GQLGoogleSetupLastError>;
|
|
644
|
+
state: Array<GQLGoogleSetupStateEnum>;
|
|
645
|
+
};
|
|
613
646
|
export type GQLDatastoreProvisioningStatus = {
|
|
614
647
|
__typename?: "DatastoreProvisioningStatus";
|
|
615
648
|
datastoreId: Scalars["String"]["output"];
|
|
@@ -620,6 +653,12 @@ export type GQLDatastoreProvisioningStatus = {
|
|
|
620
653
|
ready: Scalars["Boolean"]["output"];
|
|
621
654
|
registered?: Maybe<Scalars["Boolean"]["output"]>;
|
|
622
655
|
};
|
|
656
|
+
export type GQLDatastoreSubscription = {
|
|
657
|
+
__typename?: "DatastoreSubscription";
|
|
658
|
+
datastoreId: Scalars["String"]["output"];
|
|
659
|
+
inGoodStanding: Scalars["Boolean"]["output"];
|
|
660
|
+
status: Scalars["String"]["output"];
|
|
661
|
+
};
|
|
623
662
|
export type GQLDatastoreTreeNode = {
|
|
624
663
|
__typename?: "DatastoreTreeNode";
|
|
625
664
|
datastoreId?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -830,6 +869,11 @@ export type GQLImageObject = {
|
|
|
830
869
|
url: Scalars["URL"]["output"];
|
|
831
870
|
width?: Maybe<Scalars["NonNegativeInt"]["output"]>;
|
|
832
871
|
};
|
|
872
|
+
export type GQLIncludedResource = {
|
|
873
|
+
__typename?: "IncludedResource";
|
|
874
|
+
id: Scalars["String"]["output"];
|
|
875
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
876
|
+
};
|
|
833
877
|
export type GQLInferalIntegration = {
|
|
834
878
|
__typename?: "InferalIntegration";
|
|
835
879
|
id: Scalars["String"]["output"];
|
|
@@ -1147,9 +1191,12 @@ export declare enum GQLMemoryScope {
|
|
|
1147
1191
|
}
|
|
1148
1192
|
export type GQLMetaAdAccount = {
|
|
1149
1193
|
__typename?: "MetaAdAccount";
|
|
1194
|
+
externalId?: Maybe<Scalars["String"]["output"]>;
|
|
1150
1195
|
id: Scalars["String"]["output"];
|
|
1196
|
+
isConnectable?: Maybe<Scalars["Boolean"]["output"]>;
|
|
1151
1197
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
1152
1198
|
parent?: Maybe<Scalars["String"]["output"]>;
|
|
1199
|
+
unavailableReason?: Maybe<GQLSetupAccountUnavailableReason>;
|
|
1153
1200
|
};
|
|
1154
1201
|
export type GQLMetaSetupLastError = {
|
|
1155
1202
|
__typename?: "MetaSetupLastError";
|
|
@@ -1176,15 +1223,19 @@ export declare enum GQLMetaSetupStateEnum {
|
|
|
1176
1223
|
export type GQLMutation = {
|
|
1177
1224
|
__typename?: "Mutation";
|
|
1178
1225
|
abortUpload: GQLAbortUploadResponse;
|
|
1226
|
+
attributeStripeSubscription: GQLAttributeStripeSubscriptionResponse;
|
|
1179
1227
|
bringDatastoreOnline: GQLBringDatastoreOnlineResponse;
|
|
1180
1228
|
cancelActionPlan: GQLCancelActionPlanResponse;
|
|
1181
1229
|
clearStagedRules: GQLClearStagedRulesResponse;
|
|
1182
1230
|
commitStagedRules: GQLCommitStagedRulesResponse;
|
|
1231
|
+
completeStripeCheckout: GQLCompleteStripeCheckoutResponse;
|
|
1183
1232
|
completeUpload: GQLCompleteUploadResponse;
|
|
1184
1233
|
connectStripeAccount: GQLConnectStripeAccountResponse;
|
|
1185
1234
|
consolidateMemories: GQLCreateMemoryResponse;
|
|
1186
1235
|
createInferalIntegration: GQLCreateInferalIntegrationResponse;
|
|
1187
1236
|
createMemory: GQLCreateMemoryResponse;
|
|
1237
|
+
createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
|
|
1238
|
+
dashSetupConnect: GQLDashSetupProgress;
|
|
1188
1239
|
deleteActionPlan: GQLDeleteActionPlanResponse;
|
|
1189
1240
|
deleteLDESStream: GQLLdesStreamDeleteResponse;
|
|
1190
1241
|
deleteMemory: GQLDeleteMemoryResponse;
|
|
@@ -1232,6 +1283,10 @@ export type GQLMutation = {
|
|
|
1232
1283
|
export type GQLMutationAbortUploadArgs = {
|
|
1233
1284
|
input: GQLAbortUploadInput;
|
|
1234
1285
|
};
|
|
1286
|
+
export type GQLMutationAttributeStripeSubscriptionArgs = {
|
|
1287
|
+
datastoreId: Scalars["String"]["input"];
|
|
1288
|
+
subscriptionId: Scalars["String"]["input"];
|
|
1289
|
+
};
|
|
1235
1290
|
export type GQLMutationBringDatastoreOnlineArgs = {
|
|
1236
1291
|
datastoreId?: InputMaybe<Scalars["String"]["input"]>;
|
|
1237
1292
|
};
|
|
@@ -1245,6 +1300,9 @@ export type GQLMutationCommitStagedRulesArgs = {
|
|
|
1245
1300
|
dryRun?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1246
1301
|
ruleIris?: InputMaybe<Array<Scalars["IRI"]["input"]>>;
|
|
1247
1302
|
};
|
|
1303
|
+
export type GQLMutationCompleteStripeCheckoutArgs = {
|
|
1304
|
+
sessionId: Scalars["String"]["input"];
|
|
1305
|
+
};
|
|
1248
1306
|
export type GQLMutationCompleteUploadArgs = {
|
|
1249
1307
|
input: GQLCompleteUploadInput;
|
|
1250
1308
|
};
|
|
@@ -1260,6 +1318,15 @@ export type GQLMutationCreateInferalIntegrationArgs = {
|
|
|
1260
1318
|
export type GQLMutationCreateMemoryArgs = {
|
|
1261
1319
|
input: GQLCreateMemoryInput;
|
|
1262
1320
|
};
|
|
1321
|
+
export type GQLMutationCreateStripeCheckoutSessionArgs = {
|
|
1322
|
+
cancelUrl: Scalars["String"]["input"];
|
|
1323
|
+
datastoreId: Scalars["String"]["input"];
|
|
1324
|
+
priceId: Scalars["String"]["input"];
|
|
1325
|
+
successUrl: Scalars["String"]["input"];
|
|
1326
|
+
};
|
|
1327
|
+
export type GQLMutationDashSetupConnectArgs = {
|
|
1328
|
+
folderIds: Array<Scalars["String"]["input"]>;
|
|
1329
|
+
};
|
|
1263
1330
|
export type GQLMutationDeleteActionPlanArgs = {
|
|
1264
1331
|
input: GQLDeleteActionPlanInput;
|
|
1265
1332
|
};
|
|
@@ -1471,7 +1538,9 @@ export type GQLQuery = {
|
|
|
1471
1538
|
connectedAccounts: Array<GQLConnectedAccount>;
|
|
1472
1539
|
conversationStarters: GQLConversationStartersResponse;
|
|
1473
1540
|
currentFactValue: GQLCurrentFactValueResponse;
|
|
1541
|
+
dashSetupProgress: GQLDashSetupProgress;
|
|
1474
1542
|
datastoreProvisioningStatuses: Array<GQLDatastoreProvisioningStatus>;
|
|
1543
|
+
datastoreSubscriptions: Array<GQLDatastoreSubscription>;
|
|
1475
1544
|
datastoreTree: Array<GQLDatastoreTreeNode>;
|
|
1476
1545
|
detectMemoryConflicts: GQLDetectMemoryConflictsResult;
|
|
1477
1546
|
explainRDFoxFact: GQLRdFoxExplanationResponse;
|
|
@@ -1493,6 +1562,7 @@ export type GQLQuery = {
|
|
|
1493
1562
|
shaclShapes: GQLShaclShapesResponse;
|
|
1494
1563
|
sparqlQuery: GQLSparqlQueryResponse;
|
|
1495
1564
|
stripeConnectionStatus: GQLStripeConnectionStatus;
|
|
1565
|
+
stripeSubscriptionProducts: Array<GQLStripeSubscriptionProduct>;
|
|
1496
1566
|
supportedActionShapes: GQLSupportedActionShapesResponse;
|
|
1497
1567
|
unlinkedDatastores: Array<GQLUnlinkedDatastore>;
|
|
1498
1568
|
userPreferences: GQLUserPreferences;
|
|
@@ -1536,6 +1606,9 @@ export type GQLQueryCurrentFactValueArgs = {
|
|
|
1536
1606
|
export type GQLQueryDatastoreProvisioningStatusesArgs = {
|
|
1537
1607
|
datastoreIds: Array<Scalars["String"]["input"]>;
|
|
1538
1608
|
};
|
|
1609
|
+
export type GQLQueryDatastoreSubscriptionsArgs = {
|
|
1610
|
+
datastoreIds: Array<Scalars["String"]["input"]>;
|
|
1611
|
+
};
|
|
1539
1612
|
export type GQLQueryDetectMemoryConflictsArgs = {
|
|
1540
1613
|
input: GQLDetectMemoryConflictsInput;
|
|
1541
1614
|
};
|
|
@@ -1770,6 +1843,9 @@ export type GQLSemanticDiff = {
|
|
|
1770
1843
|
operations?: Maybe<Scalars["String"]["output"]>;
|
|
1771
1844
|
updates: Scalars["Int"]["output"];
|
|
1772
1845
|
};
|
|
1846
|
+
export declare enum GQLSetupAccountUnavailableReason {
|
|
1847
|
+
InsufficientPermissions = "INSUFFICIENT_PERMISSIONS"
|
|
1848
|
+
}
|
|
1773
1849
|
export declare enum GQLShaclSeverity {
|
|
1774
1850
|
Info = "INFO",
|
|
1775
1851
|
Violation = "VIOLATION",
|
|
@@ -1843,6 +1919,18 @@ export type GQLStripeConnectionStatus = {
|
|
|
1843
1919
|
connected: Scalars["Boolean"]["output"];
|
|
1844
1920
|
stripeAccountId?: Maybe<Scalars["String"]["output"]>;
|
|
1845
1921
|
};
|
|
1922
|
+
export type GQLStripeSubscriptionProduct = {
|
|
1923
|
+
__typename?: "StripeSubscriptionProduct";
|
|
1924
|
+
currency: Scalars["String"]["output"];
|
|
1925
|
+
interval: Scalars["String"]["output"];
|
|
1926
|
+
intervalCount: Scalars["Int"]["output"];
|
|
1927
|
+
priceId: Scalars["String"]["output"];
|
|
1928
|
+
priceName?: Maybe<Scalars["String"]["output"]>;
|
|
1929
|
+
productDescription?: Maybe<Scalars["String"]["output"]>;
|
|
1930
|
+
productId: Scalars["String"]["output"];
|
|
1931
|
+
productName: Scalars["String"]["output"];
|
|
1932
|
+
unitAmount?: Maybe<Scalars["Int"]["output"]>;
|
|
1933
|
+
};
|
|
1846
1934
|
export type GQLStructuredDataInput = {
|
|
1847
1935
|
context?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1848
1936
|
prompt: Scalars["String"]["input"];
|
|
@@ -2182,6 +2270,29 @@ export type GQLCreateMemoryMutation = {
|
|
|
2182
2270
|
} | null;
|
|
2183
2271
|
};
|
|
2184
2272
|
};
|
|
2273
|
+
export type GQLDashSetupConnectMutationVariables = Exact<{
|
|
2274
|
+
folderIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
2275
|
+
}>;
|
|
2276
|
+
export type GQLDashSetupConnectMutation = {
|
|
2277
|
+
__typename?: "Mutation";
|
|
2278
|
+
dashSetupConnect: {
|
|
2279
|
+
__typename?: "DashSetupProgress";
|
|
2280
|
+
state: Array<GQLGoogleSetupStateEnum>;
|
|
2281
|
+
folders?: Array<{
|
|
2282
|
+
__typename?: "DashFolder";
|
|
2283
|
+
id: string;
|
|
2284
|
+
name?: string | null;
|
|
2285
|
+
parent?: string | null;
|
|
2286
|
+
position?: number | null;
|
|
2287
|
+
}> | null;
|
|
2288
|
+
lastError?: {
|
|
2289
|
+
__typename?: "GoogleSetupLastError";
|
|
2290
|
+
severity: string;
|
|
2291
|
+
title?: string | null;
|
|
2292
|
+
message: string;
|
|
2293
|
+
} | null;
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2185
2296
|
export type GQLDeleteActionPlanMutationVariables = Exact<{
|
|
2186
2297
|
input: GQLDeleteActionPlanInput;
|
|
2187
2298
|
}>;
|
|
@@ -2511,6 +2622,9 @@ export type GQLMetaSetupConnectMutation = {
|
|
|
2511
2622
|
id: string;
|
|
2512
2623
|
name?: string | null;
|
|
2513
2624
|
parent?: string | null;
|
|
2625
|
+
externalId?: string | null;
|
|
2626
|
+
isConnectable?: boolean | null;
|
|
2627
|
+
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
2514
2628
|
}> | null;
|
|
2515
2629
|
lastError?: {
|
|
2516
2630
|
__typename?: "MetaSetupLastError";
|
|
@@ -3219,6 +3333,11 @@ export type GQLConnectedAccountsQuery = {
|
|
|
3219
3333
|
id: string;
|
|
3220
3334
|
integration: GQLIntegration;
|
|
3221
3335
|
externalId: string;
|
|
3336
|
+
includedResources: Array<{
|
|
3337
|
+
__typename?: "IncludedResource";
|
|
3338
|
+
id: string;
|
|
3339
|
+
name?: string | null;
|
|
3340
|
+
}>;
|
|
3222
3341
|
}>;
|
|
3223
3342
|
};
|
|
3224
3343
|
export type GQLConversationStartersQueryVariables = Exact<{
|
|
@@ -3284,6 +3403,29 @@ export type GQLCurrentFactValueQuery = {
|
|
|
3284
3403
|
error?: string | null;
|
|
3285
3404
|
};
|
|
3286
3405
|
};
|
|
3406
|
+
export type GQLDashSetupProgressQueryVariables = Exact<{
|
|
3407
|
+
[key: string]: never;
|
|
3408
|
+
}>;
|
|
3409
|
+
export type GQLDashSetupProgressQuery = {
|
|
3410
|
+
__typename?: "Query";
|
|
3411
|
+
dashSetupProgress: {
|
|
3412
|
+
__typename?: "DashSetupProgress";
|
|
3413
|
+
state: Array<GQLGoogleSetupStateEnum>;
|
|
3414
|
+
folders?: Array<{
|
|
3415
|
+
__typename?: "DashFolder";
|
|
3416
|
+
id: string;
|
|
3417
|
+
name?: string | null;
|
|
3418
|
+
parent?: string | null;
|
|
3419
|
+
position?: number | null;
|
|
3420
|
+
}> | null;
|
|
3421
|
+
lastError?: {
|
|
3422
|
+
__typename?: "GoogleSetupLastError";
|
|
3423
|
+
severity: string;
|
|
3424
|
+
title?: string | null;
|
|
3425
|
+
message: string;
|
|
3426
|
+
} | null;
|
|
3427
|
+
};
|
|
3428
|
+
};
|
|
3287
3429
|
export type GQLDatastoreProvisioningStatusesQueryVariables = Exact<{
|
|
3288
3430
|
datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
3289
3431
|
}>;
|
|
@@ -3663,6 +3805,9 @@ export type GQLMetaSetupProgressQuery = {
|
|
|
3663
3805
|
id: string;
|
|
3664
3806
|
name?: string | null;
|
|
3665
3807
|
parent?: string | null;
|
|
3808
|
+
externalId?: string | null;
|
|
3809
|
+
isConnectable?: boolean | null;
|
|
3810
|
+
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
3666
3811
|
}> | null;
|
|
3667
3812
|
lastError?: {
|
|
3668
3813
|
__typename?: "MetaSetupLastError";
|
|
@@ -3888,6 +4033,10 @@ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input:
|
|
|
3888
4033
|
export declare const useCreateMemoryMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateMemoryMutation, TError, GQLCreateMemoryMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateMemoryMutation, TError, Exact<{
|
|
3889
4034
|
input: GQLCreateMemoryInput;
|
|
3890
4035
|
}>, TContext>;
|
|
4036
|
+
export declare const DashSetupConnectDocument = "\n mutation DashSetupConnect($folderIds: [String!]!) {\n dashSetupConnect(folderIds: $folderIds) {\n state\n folders {\n id\n name\n parent\n position\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
4037
|
+
export declare const useDashSetupConnectMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDashSetupConnectMutation, TError, GQLDashSetupConnectMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDashSetupConnectMutation, TError, Exact<{
|
|
4038
|
+
folderIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
4039
|
+
}>, TContext>;
|
|
3891
4040
|
export declare const DeleteActionPlanDocument = "\n mutation DeleteActionPlan($input: DeleteActionPlanInput!) {\n deleteActionPlan(input: $input) {\n success\n error\n }\n}\n ";
|
|
3892
4041
|
export declare const useDeleteActionPlanMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLDeleteActionPlanMutation, TError, GQLDeleteActionPlanMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLDeleteActionPlanMutation, TError, Exact<{
|
|
3893
4042
|
input: GQLDeleteActionPlanInput;
|
|
@@ -3978,7 +4127,7 @@ export declare const MaterializeOntologyCoverageDocument = "\n mutation Mater
|
|
|
3978
4127
|
export declare const useMaterializeOntologyCoverageMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLMaterializeOntologyCoverageMutation, TError, GQLMaterializeOntologyCoverageMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLMaterializeOntologyCoverageMutation, TError, Exact<{
|
|
3979
4128
|
[key: string]: never;
|
|
3980
4129
|
}>, TContext>;
|
|
3981
|
-
export declare const MetaSetupConnectDocument = "\n mutation MetaSetupConnect($accountIds: [String!]!) {\n metaSetupConnect(accountIds: $accountIds) {\n state\n accounts {\n id\n name\n parent\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
4130
|
+
export declare const MetaSetupConnectDocument = "\n mutation MetaSetupConnect($accountIds: [String!]!) {\n metaSetupConnect(accountIds: $accountIds) {\n state\n accounts {\n id\n name\n parent\n externalId\n isConnectable\n unavailableReason\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
3982
4131
|
export declare const useMetaSetupConnectMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLMetaSetupConnectMutation, TError, GQLMetaSetupConnectMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLMetaSetupConnectMutation, TError, Exact<{
|
|
3983
4132
|
accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
3984
4133
|
}>, TContext>;
|
|
@@ -4206,7 +4355,7 @@ export declare const useSuspenseAvailableTeamsQuery: {
|
|
|
4206
4355
|
[key: string]: never;
|
|
4207
4356
|
}>)[];
|
|
4208
4357
|
};
|
|
4209
|
-
export declare const ConnectedAccountsDocument = "\n query ConnectedAccounts {\n connectedAccounts {\n id\n integration\n externalId\n }\n}\n ";
|
|
4358
|
+
export declare const ConnectedAccountsDocument = "\n query ConnectedAccounts {\n connectedAccounts {\n id\n integration\n externalId\n includedResources {\n id\n name\n }\n }\n}\n ";
|
|
4210
4359
|
export declare const useConnectedAccountsQuery: {
|
|
4211
4360
|
<TData = GQLConnectedAccountsQuery, TError = unknown>(client: GraphQLClient, variables?: GQLConnectedAccountsQueryVariables, options?: Omit<UseQueryOptions<GQLConnectedAccountsQuery, TError, TData>, "queryKey"> & {
|
|
4212
4361
|
queryKey?: UseQueryOptions<GQLConnectedAccountsQuery, TError, TData>["queryKey"];
|
|
@@ -4282,6 +4431,23 @@ export declare const useSuspenseCurrentFactValueQuery: {
|
|
|
4282
4431
|
namedGraph?: InputMaybe<Scalars["IRI"]["input"]>;
|
|
4283
4432
|
}>)[];
|
|
4284
4433
|
};
|
|
4434
|
+
export declare const DashSetupProgressDocument = "\n query DashSetupProgress {\n dashSetupProgress {\n state\n folders {\n id\n name\n parent\n position\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
4435
|
+
export declare const useDashSetupProgressQuery: {
|
|
4436
|
+
<TData = GQLDashSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDashSetupProgressQueryVariables, options?: Omit<UseQueryOptions<GQLDashSetupProgressQuery, TError, TData>, "queryKey"> & {
|
|
4437
|
+
queryKey?: UseQueryOptions<GQLDashSetupProgressQuery, TError, TData>["queryKey"];
|
|
4438
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
|
|
4439
|
+
getKey(variables?: GQLDashSetupProgressQueryVariables): (string | Exact<{
|
|
4440
|
+
[key: string]: never;
|
|
4441
|
+
}>)[];
|
|
4442
|
+
};
|
|
4443
|
+
export declare const useSuspenseDashSetupProgressQuery: {
|
|
4444
|
+
<TData = GQLDashSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDashSetupProgressQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLDashSetupProgressQuery, TError, TData>, "queryKey"> & {
|
|
4445
|
+
queryKey?: UseSuspenseQueryOptions<GQLDashSetupProgressQuery, TError, TData>["queryKey"];
|
|
4446
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
|
|
4447
|
+
getKey(variables?: GQLDashSetupProgressQueryVariables): (string | Exact<{
|
|
4448
|
+
[key: string]: never;
|
|
4449
|
+
}>)[];
|
|
4450
|
+
};
|
|
4285
4451
|
export declare const DatastoreProvisioningStatusesDocument = "\n query DatastoreProvisioningStatuses($datastoreIds: [String!]!) {\n datastoreProvisioningStatuses(datastoreIds: $datastoreIds) {\n datastoreId\n exists\n materialized\n registered\n offline\n known\n ready\n }\n}\n ";
|
|
4286
4452
|
export declare const useDatastoreProvisioningStatusesQuery: {
|
|
4287
4453
|
<TData = GQLDatastoreProvisioningStatusesQuery, TError = unknown>(client: GraphQLClient, variables: GQLDatastoreProvisioningStatusesQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreProvisioningStatusesQuery, TError, TData>, "queryKey"> & {
|
|
@@ -4532,7 +4698,7 @@ export declare const useSuspenseMemorySchemasQuery: {
|
|
|
4532
4698
|
[key: string]: never;
|
|
4533
4699
|
}>)[];
|
|
4534
4700
|
};
|
|
4535
|
-
export declare const MetaSetupProgressDocument = "\n query MetaSetupProgress {\n metaSetupProgress {\n state\n accounts {\n id\n name\n parent\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
4701
|
+
export declare const MetaSetupProgressDocument = "\n query MetaSetupProgress {\n metaSetupProgress {\n state\n accounts {\n id\n name\n parent\n externalId\n isConnectable\n unavailableReason\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
4536
4702
|
export declare const useMetaSetupProgressQuery: {
|
|
4537
4703
|
<TData = GQLMetaSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMetaSetupProgressQueryVariables, options?: Omit<UseQueryOptions<GQLMetaSetupProgressQuery, TError, TData>, "queryKey"> & {
|
|
4538
4704
|
queryKey?: UseQueryOptions<GQLMetaSetupProgressQuery, TError, TData>["queryKey"];
|