@manta-eu/client 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/generated/graphql.d.ts +1132 -2
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +637 -0
- package/dist/generated/graphql.js.map +1 -0
- package/dist/graphql-clients.d.ts +10 -1
- package/dist/graphql-clients.d.ts.map +1 -1
- package/dist/graphql-clients.js +25 -3
- package/dist/graphql-clients.js.map +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/shared/action-document.js +1 -0
- package/dist/shared/action-document.js.map +1 -0
- package/dist/shared/action-plan.js +1 -0
- package/dist/shared/action-plan.js.map +1 -0
- package/dist/shared/agent-mode.js +1 -0
- package/dist/shared/agent-mode.js.map +1 -0
- package/dist/shared/agent-types.js +1 -0
- package/dist/shared/agent-types.js.map +1 -0
- package/dist/shared/chat-context.js +1 -0
- package/dist/shared/chat-context.js.map +1 -0
- package/dist/shared/chat-manager.d.ts +6 -0
- package/dist/shared/chat-manager.d.ts.map +1 -1
- package/dist/shared/chat-manager.js +5 -0
- package/dist/shared/chat-manager.js.map +1 -0
- package/dist/shared/chat-turn-errors.d.ts +10 -0
- package/dist/shared/chat-turn-errors.d.ts.map +1 -1
- package/dist/shared/chat-turn-errors.js +11 -0
- package/dist/shared/chat-turn-errors.js.map +1 -0
- package/dist/shared/constants.d.ts +1 -0
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +2 -0
- package/dist/shared/constants.js.map +1 -0
- package/dist/shared/conversation-starter-defaults.js +1 -0
- package/dist/shared/conversation-starter-defaults.js.map +1 -0
- package/dist/shared/datastore-id.js +1 -0
- package/dist/shared/datastore-id.js.map +1 -0
- package/dist/shared/datastore-path.js +1 -0
- package/dist/shared/datastore-path.js.map +1 -0
- package/dist/shared/duration.js +1 -0
- package/dist/shared/duration.js.map +1 -0
- package/dist/shared/email.js +1 -0
- package/dist/shared/email.js.map +1 -0
- package/dist/shared/entity-set.js +1 -0
- package/dist/shared/entity-set.js.map +1 -0
- package/dist/shared/error-utils.js +1 -0
- package/dist/shared/error-utils.js.map +1 -0
- package/dist/shared/explorer-paths.js +1 -0
- package/dist/shared/explorer-paths.js.map +1 -0
- package/dist/shared/fileIri.js +1 -0
- package/dist/shared/fileIri.js.map +1 -0
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/inferal-stream.js +1 -0
- package/dist/shared/inferal-stream.js.map +1 -0
- package/dist/shared/live-context.js +1 -0
- package/dist/shared/live-context.js.map +1 -0
- package/dist/shared/maintenance-schedule.js +1 -0
- package/dist/shared/maintenance-schedule.js.map +1 -0
- package/dist/shared/memory-citation-sampling.js +1 -0
- package/dist/shared/memory-citation-sampling.js.map +1 -0
- package/dist/shared/memory-confidence.js +1 -0
- package/dist/shared/memory-confidence.js.map +1 -0
- package/dist/shared/memory-consolidation-limits.js +1 -0
- package/dist/shared/memory-consolidation-limits.js.map +1 -0
- package/dist/shared/memory-dates.js +1 -0
- package/dist/shared/memory-dates.js.map +1 -0
- package/dist/shared/memory-decay.js +1 -0
- package/dist/shared/memory-decay.js.map +1 -0
- package/dist/shared/memory-diversity.js +1 -0
- package/dist/shared/memory-diversity.js.map +1 -0
- package/dist/shared/memory-entity-recall.js +1 -0
- package/dist/shared/memory-entity-recall.js.map +1 -0
- package/dist/shared/memory-importance.js +1 -0
- package/dist/shared/memory-importance.js.map +1 -0
- package/dist/shared/memory-keyword-recall.js +1 -0
- package/dist/shared/memory-keyword-recall.js.map +1 -0
- package/dist/shared/memory-kind-iris.js +1 -0
- package/dist/shared/memory-kind-iris.js.map +1 -0
- package/dist/shared/memory-preload-gate.js +1 -0
- package/dist/shared/memory-preload-gate.js.map +1 -0
- package/dist/shared/memory-sources.js +1 -0
- package/dist/shared/memory-sources.js.map +1 -0
- package/dist/shared/memory-teams.js +1 -0
- package/dist/shared/memory-teams.js.map +1 -0
- package/dist/shared/memory-token-budget.js +1 -0
- package/dist/shared/memory-token-budget.js.map +1 -0
- package/dist/shared/memory-volatility.js +1 -0
- package/dist/shared/memory-volatility.js.map +1 -0
- package/dist/shared/message-utils.js +1 -0
- package/dist/shared/message-utils.js.map +1 -0
- package/dist/shared/model.js +1 -0
- package/dist/shared/model.js.map +1 -0
- package/dist/shared/org-roles.js +1 -0
- package/dist/shared/org-roles.js.map +1 -0
- package/dist/shared/page-context.js +1 -0
- package/dist/shared/page-context.js.map +1 -0
- package/dist/shared/permissions.js +1 -0
- package/dist/shared/permissions.js.map +1 -0
- package/dist/shared/questionnaire.js +1 -0
- package/dist/shared/questionnaire.js.map +1 -0
- package/dist/shared/rdf-namespaces.js +1 -0
- package/dist/shared/rdf-namespaces.js.map +1 -0
- package/dist/shared/rule-iri.js +1 -0
- package/dist/shared/rule-iri.js.map +1 -0
- package/dist/shared/rule-search.js +1 -0
- package/dist/shared/rule-search.js.map +1 -0
- package/dist/shared/session-types.js +1 -0
- package/dist/shared/session-types.js.map +1 -0
- package/dist/shared/stakeholder-iri.js +1 -0
- package/dist/shared/stakeholder-iri.js.map +1 -0
- package/dist/shared/team-activation.js +1 -0
- package/dist/shared/team-activation.js.map +1 -0
- package/dist/shared/team-filters.js +1 -0
- package/dist/shared/team-filters.js.map +1 -0
- package/dist/shared/team.d.ts +1 -0
- package/dist/shared/team.d.ts.map +1 -1
- package/dist/shared/team.js +1 -0
- package/dist/shared/team.js.map +1 -0
- package/dist/shared/tools/coercers.js +1 -0
- package/dist/shared/tools/coercers.js.map +1 -0
- package/dist/shared/tools/index.js +1 -0
- package/dist/shared/tools/index.js.map +1 -0
- package/dist/shared/tools/metadata.js +1 -0
- package/dist/shared/tools/metadata.js.map +1 -0
- package/dist/shared/tools/test-triple.js +1 -0
- package/dist/shared/tools/test-triple.js.map +1 -0
- package/dist/shared/tools/types.js +1 -0
- package/dist/shared/tools/types.js.map +1 -0
- package/dist/shared/upload.js +1 -0
- package/dist/shared/upload.js.map +1 -0
- package/dist/shared/website-url.js +1 -0
- package/dist/shared/website-url.js.map +1 -0
- package/dist/shared/workspace-artifacts.js +1 -0
- package/dist/shared/workspace-artifacts.js.map +1 -0
- package/dist/shared/writable-shape-query.js +1 -0
- package/dist/shared/writable-shape-query.js.map +1 -0
- package/dist/types/jsonld.js +1 -0
- package/dist/types/jsonld.js.map +1 -0
- package/dist/types/sparql-types.js +1 -0
- package/dist/types/sparql-types.js.map +1 -0
- package/package.json +11 -6
- package/src/generated/graphql.ts +12158 -0
- package/src/graphql-clients.ts +67 -0
- package/src/index.ts +2 -0
- package/src/shared/action-document.ts +56 -0
- package/src/shared/action-plan.ts +1 -0
- package/src/shared/agent-mode.ts +46 -0
- package/src/shared/agent-types.ts +46 -0
- package/src/shared/chat-context.ts +47 -0
- package/src/shared/chat-manager.ts +199 -0
- package/src/shared/chat-turn-errors.ts +35 -0
- package/src/shared/constants.ts +19 -0
- package/src/shared/conversation-starter-defaults.ts +27 -0
- package/src/shared/datastore-id.ts +25 -0
- package/src/shared/datastore-path.ts +80 -0
- package/src/shared/duration.ts +61 -0
- package/src/shared/email.ts +54 -0
- package/src/shared/entity-set.ts +33 -0
- package/src/shared/error-utils.ts +79 -0
- package/src/shared/explorer-paths.ts +9 -0
- package/src/shared/fileIri.ts +25 -0
- package/src/shared/index.ts +31 -0
- package/src/shared/inferal-stream.ts +2 -0
- package/src/shared/live-context.ts +15 -0
- package/src/shared/maintenance-schedule.ts +47 -0
- package/src/shared/memory-citation-sampling.ts +26 -0
- package/src/shared/memory-confidence.ts +8 -0
- package/src/shared/memory-consolidation-limits.ts +9 -0
- package/src/shared/memory-dates.ts +7 -0
- package/src/shared/memory-decay.ts +70 -0
- package/src/shared/memory-diversity.ts +55 -0
- package/src/shared/memory-entity-recall.ts +26 -0
- package/src/shared/memory-importance.ts +12 -0
- package/src/shared/memory-keyword-recall.ts +149 -0
- package/src/shared/memory-kind-iris.ts +36 -0
- package/src/shared/memory-preload-gate.ts +150 -0
- package/src/shared/memory-sources.ts +5 -0
- package/src/shared/memory-teams.ts +3 -0
- package/src/shared/memory-token-budget.ts +31 -0
- package/src/shared/memory-volatility.ts +90 -0
- package/src/shared/message-utils.ts +37 -0
- package/src/shared/model.ts +117 -0
- package/src/shared/org-roles.ts +21 -0
- package/src/shared/page-context.ts +7 -0
- package/src/shared/permissions.ts +19 -0
- package/src/shared/questionnaire.ts +76 -0
- package/src/shared/rdf-namespaces.ts +62 -0
- package/src/shared/rule-iri.ts +15 -0
- package/src/shared/rule-search.ts +1 -0
- package/src/shared/session-types.ts +14 -0
- package/src/shared/stakeholder-iri.ts +23 -0
- package/src/shared/team-activation.ts +9 -0
- package/src/shared/team-filters.ts +33 -0
- package/src/shared/team.ts +244 -0
- package/src/shared/tools/coercers.ts +82 -0
- package/src/shared/tools/index.ts +49 -0
- package/src/shared/tools/metadata.ts +205 -0
- package/src/shared/tools/test-triple.ts +33 -0
- package/src/shared/tools/types.ts +302 -0
- package/src/shared/upload.ts +57 -0
- package/src/shared/website-url.ts +32 -0
- package/src/shared/workspace-artifacts.ts +68 -0
- package/src/shared/writable-shape-query.ts +24 -0
- package/src/types/jsonld.ts +19 -0
- package/src/types/sparql-types.ts +10 -0
|
@@ -55,6 +55,29 @@ export var GQLConversationStarterSource;
|
|
|
55
55
|
GQLConversationStarterSource["KnowledgeGraph"] = "KNOWLEDGE_GRAPH";
|
|
56
56
|
GQLConversationStarterSource["Plan"] = "PLAN";
|
|
57
57
|
})(GQLConversationStarterSource || (GQLConversationStarterSource = {}));
|
|
58
|
+
export var GQLCustomAppKind;
|
|
59
|
+
(function (GQLCustomAppKind) {
|
|
60
|
+
GQLCustomAppKind["Machine"] = "MACHINE";
|
|
61
|
+
GQLCustomAppKind["SignIn"] = "SIGN_IN";
|
|
62
|
+
})(GQLCustomAppKind || (GQLCustomAppKind = {}));
|
|
63
|
+
export var GQLCustomAppPermission;
|
|
64
|
+
(function (GQLCustomAppPermission) {
|
|
65
|
+
GQLCustomAppPermission["ShareChats"] = "SHARE_CHATS";
|
|
66
|
+
GQLCustomAppPermission["WriteData"] = "WRITE_DATA";
|
|
67
|
+
})(GQLCustomAppPermission || (GQLCustomAppPermission = {}));
|
|
68
|
+
export var GQLCustomAppUserStatus;
|
|
69
|
+
(function (GQLCustomAppUserStatus) {
|
|
70
|
+
GQLCustomAppUserStatus["Active"] = "ACTIVE";
|
|
71
|
+
GQLCustomAppUserStatus["Erased"] = "ERASED";
|
|
72
|
+
GQLCustomAppUserStatus["Unknown"] = "UNKNOWN";
|
|
73
|
+
GQLCustomAppUserStatus["Unlinked"] = "UNLINKED";
|
|
74
|
+
})(GQLCustomAppUserStatus || (GQLCustomAppUserStatus = {}));
|
|
75
|
+
export var GQLCustomAppUserStatusFilter;
|
|
76
|
+
(function (GQLCustomAppUserStatusFilter) {
|
|
77
|
+
GQLCustomAppUserStatusFilter["AppOnly"] = "APP_ONLY";
|
|
78
|
+
GQLCustomAppUserStatusFilter["Invited"] = "INVITED";
|
|
79
|
+
GQLCustomAppUserStatusFilter["MantaMember"] = "MANTA_MEMBER";
|
|
80
|
+
})(GQLCustomAppUserStatusFilter || (GQLCustomAppUserStatusFilter = {}));
|
|
58
81
|
export var GQLDataConnectionStatus;
|
|
59
82
|
(function (GQLDataConnectionStatus) {
|
|
60
83
|
GQLDataConnectionStatus["Active"] = "ACTIVE";
|
|
@@ -286,6 +309,34 @@ export var GQLUploadPurpose;
|
|
|
286
309
|
GQLUploadPurpose["Bundle"] = "BUNDLE";
|
|
287
310
|
GQLUploadPurpose["File"] = "FILE";
|
|
288
311
|
})(GQLUploadPurpose || (GQLUploadPurpose = {}));
|
|
312
|
+
export const CustomAppConnectionFieldsFragmentDoc = `
|
|
313
|
+
fragment CustomAppConnectionFields on CustomAppConnection {
|
|
314
|
+
issuer
|
|
315
|
+
discoveryUrl
|
|
316
|
+
tokenEndpoint
|
|
317
|
+
}
|
|
318
|
+
`;
|
|
319
|
+
export const CustomAppFieldsFragmentDoc = `
|
|
320
|
+
fragment CustomAppFields on CustomApp {
|
|
321
|
+
clientId
|
|
322
|
+
name
|
|
323
|
+
kind
|
|
324
|
+
redirectUris
|
|
325
|
+
homeUrl
|
|
326
|
+
machineAccess
|
|
327
|
+
enabled
|
|
328
|
+
org
|
|
329
|
+
orgName
|
|
330
|
+
previousSecretExpiresAt
|
|
331
|
+
datastores {
|
|
332
|
+
id
|
|
333
|
+
name
|
|
334
|
+
}
|
|
335
|
+
permissions
|
|
336
|
+
createdAt
|
|
337
|
+
createdBy
|
|
338
|
+
}
|
|
339
|
+
`;
|
|
289
340
|
export const MemoryFieldsFragmentDoc = `
|
|
290
341
|
fragment MemoryFields on Memory {
|
|
291
342
|
iri
|
|
@@ -423,6 +474,25 @@ export const useAbortUploadMutation = (client, options, headers) => {
|
|
|
423
474
|
...options,
|
|
424
475
|
});
|
|
425
476
|
};
|
|
477
|
+
export const AttributeStripeSubscriptionDocument = `
|
|
478
|
+
mutation AttributeStripeSubscription($subscriptionId: String!, $datastoreId: String!) {
|
|
479
|
+
attributeStripeSubscription(
|
|
480
|
+
subscriptionId: $subscriptionId
|
|
481
|
+
datastoreId: $datastoreId
|
|
482
|
+
) {
|
|
483
|
+
success
|
|
484
|
+
status
|
|
485
|
+
error
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
`;
|
|
489
|
+
export const useAttributeStripeSubscriptionMutation = (client, options, headers) => {
|
|
490
|
+
return useMutation({
|
|
491
|
+
mutationKey: ["AttributeStripeSubscription"],
|
|
492
|
+
mutationFn: (variables) => fetcher(client, AttributeStripeSubscriptionDocument, variables, headers)(),
|
|
493
|
+
...options,
|
|
494
|
+
});
|
|
495
|
+
};
|
|
426
496
|
export const AwaitDataConnectionTestDocument = `
|
|
427
497
|
mutation AwaitDataConnectionTest($id: String!) {
|
|
428
498
|
awaitDataConnectionTest(id: $id) {
|
|
@@ -503,6 +573,23 @@ export const useCommitStagedRulesMutation = (client, options, headers) => {
|
|
|
503
573
|
...options,
|
|
504
574
|
});
|
|
505
575
|
};
|
|
576
|
+
export const CompleteStripeCheckoutDocument = `
|
|
577
|
+
mutation CompleteStripeCheckout($sessionId: String!) {
|
|
578
|
+
completeStripeCheckout(sessionId: $sessionId) {
|
|
579
|
+
success
|
|
580
|
+
datastoreId
|
|
581
|
+
status
|
|
582
|
+
error
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
`;
|
|
586
|
+
export const useCompleteStripeCheckoutMutation = (client, options, headers) => {
|
|
587
|
+
return useMutation({
|
|
588
|
+
mutationKey: ["CompleteStripeCheckout"],
|
|
589
|
+
mutationFn: (variables) => fetcher(client, CompleteStripeCheckoutDocument, variables, headers)(),
|
|
590
|
+
...options,
|
|
591
|
+
});
|
|
592
|
+
};
|
|
506
593
|
export const CompleteUploadDocument = `
|
|
507
594
|
mutation completeUpload($input: CompleteUploadInput!) {
|
|
508
595
|
completeUpload(input: $input) {
|
|
@@ -535,6 +622,36 @@ export const useConsolidateMemoriesMutation = (client, options, headers) => {
|
|
|
535
622
|
...options,
|
|
536
623
|
});
|
|
537
624
|
};
|
|
625
|
+
export const CreateCustomAppDocument = `
|
|
626
|
+
mutation CreateCustomApp($org: String, $name: String!, $kind: CustomAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
|
|
627
|
+
createCustomApp(
|
|
628
|
+
org: $org
|
|
629
|
+
name: $name
|
|
630
|
+
kind: $kind
|
|
631
|
+
redirectUris: $redirectUris
|
|
632
|
+
homeUrl: $homeUrl
|
|
633
|
+
machineAccess: $machineAccess
|
|
634
|
+
datastores: $datastores
|
|
635
|
+
permissions: $permissions
|
|
636
|
+
) {
|
|
637
|
+
app {
|
|
638
|
+
...CustomAppFields
|
|
639
|
+
}
|
|
640
|
+
clientSecret
|
|
641
|
+
connection {
|
|
642
|
+
...CustomAppConnectionFields
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
${CustomAppFieldsFragmentDoc}
|
|
647
|
+
${CustomAppConnectionFieldsFragmentDoc}`;
|
|
648
|
+
export const useCreateCustomAppMutation = (client, options, headers) => {
|
|
649
|
+
return useMutation({
|
|
650
|
+
mutationKey: ["CreateCustomApp"],
|
|
651
|
+
mutationFn: (variables) => fetcher(client, CreateCustomAppDocument, variables, headers)(),
|
|
652
|
+
...options,
|
|
653
|
+
});
|
|
654
|
+
};
|
|
538
655
|
export const CreateDataConnectionDocument = `
|
|
539
656
|
mutation CreateDataConnection($input: CreateDataConnectionInput!) {
|
|
540
657
|
createDataConnection(input: $input) {
|
|
@@ -587,6 +704,27 @@ export const useCreateMemoryMutation = (client, options, headers) => {
|
|
|
587
704
|
...options,
|
|
588
705
|
});
|
|
589
706
|
};
|
|
707
|
+
export const CreateStripeCheckoutSessionDocument = `
|
|
708
|
+
mutation CreateStripeCheckoutSession($datastoreId: String!, $priceId: String!, $successUrl: String!, $cancelUrl: String!) {
|
|
709
|
+
createStripeCheckoutSession(
|
|
710
|
+
datastoreId: $datastoreId
|
|
711
|
+
priceId: $priceId
|
|
712
|
+
successUrl: $successUrl
|
|
713
|
+
cancelUrl: $cancelUrl
|
|
714
|
+
) {
|
|
715
|
+
success
|
|
716
|
+
url
|
|
717
|
+
error
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
`;
|
|
721
|
+
export const useCreateStripeCheckoutSessionMutation = (client, options, headers) => {
|
|
722
|
+
return useMutation({
|
|
723
|
+
mutationKey: ["CreateStripeCheckoutSession"],
|
|
724
|
+
mutationFn: (variables) => fetcher(client, CreateStripeCheckoutSessionDocument, variables, headers)(),
|
|
725
|
+
...options,
|
|
726
|
+
});
|
|
727
|
+
};
|
|
590
728
|
export const DashSetupConnectDocument = `
|
|
591
729
|
mutation DashSetupConnect($folderIds: [String!]!) {
|
|
592
730
|
dashSetupConnect(folderIds: $folderIds) {
|
|
@@ -627,6 +765,21 @@ export const useDeleteActionPlanMutation = (client, options, headers) => {
|
|
|
627
765
|
...options,
|
|
628
766
|
});
|
|
629
767
|
};
|
|
768
|
+
export const DeleteCustomAppDocument = `
|
|
769
|
+
mutation DeleteCustomApp($org: String, $clientId: String!) {
|
|
770
|
+
deleteCustomApp(org: $org, clientId: $clientId) {
|
|
771
|
+
clientId
|
|
772
|
+
deleted
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
`;
|
|
776
|
+
export const useDeleteCustomAppMutation = (client, options, headers) => {
|
|
777
|
+
return useMutation({
|
|
778
|
+
mutationKey: ["DeleteCustomApp"],
|
|
779
|
+
mutationFn: (variables) => fetcher(client, DeleteCustomAppDocument, variables, headers)(),
|
|
780
|
+
...options,
|
|
781
|
+
});
|
|
782
|
+
};
|
|
630
783
|
export const DeleteDataConnectionDocument = `
|
|
631
784
|
mutation DeleteDataConnection($id: String!) {
|
|
632
785
|
deleteDataConnection(id: $id) {
|
|
@@ -641,6 +794,21 @@ export const useDeleteDataConnectionMutation = (client, options, headers) => {
|
|
|
641
794
|
...options,
|
|
642
795
|
});
|
|
643
796
|
};
|
|
797
|
+
export const DeleteDatastoreDocument = `
|
|
798
|
+
mutation DeleteDatastore($datastoreId: String!, $confirmName: String!) {
|
|
799
|
+
deleteDatastore(datastoreId: $datastoreId, confirmName: $confirmName) {
|
|
800
|
+
success
|
|
801
|
+
error
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
`;
|
|
805
|
+
export const useDeleteDatastoreMutation = (client, options, headers) => {
|
|
806
|
+
return useMutation({
|
|
807
|
+
mutationKey: ["DeleteDatastore"],
|
|
808
|
+
mutationFn: (variables) => fetcher(client, DeleteDatastoreDocument, variables, headers)(),
|
|
809
|
+
...options,
|
|
810
|
+
});
|
|
811
|
+
};
|
|
644
812
|
export const DeleteLdesStreamDocument = `
|
|
645
813
|
mutation DeleteLdesStream($url: String!) {
|
|
646
814
|
deleteLDESStream(url: $url) {
|
|
@@ -703,6 +871,18 @@ export const useDisconnectConnectedAccountMutation = (client, options, headers)
|
|
|
703
871
|
...options,
|
|
704
872
|
});
|
|
705
873
|
};
|
|
874
|
+
export const DisconnectCustomAppDocument = `
|
|
875
|
+
mutation DisconnectCustomApp($clientId: String!) {
|
|
876
|
+
disconnectCustomApp(clientId: $clientId)
|
|
877
|
+
}
|
|
878
|
+
`;
|
|
879
|
+
export const useDisconnectCustomAppMutation = (client, options, headers) => {
|
|
880
|
+
return useMutation({
|
|
881
|
+
mutationKey: ["DisconnectCustomApp"],
|
|
882
|
+
mutationFn: (variables) => fetcher(client, DisconnectCustomAppDocument, variables, headers)(),
|
|
883
|
+
...options,
|
|
884
|
+
});
|
|
885
|
+
};
|
|
706
886
|
export const DisconnectGmailIntegrationDocument = `
|
|
707
887
|
mutation DisconnectGmailIntegration($email: String!) {
|
|
708
888
|
disconnectGmailIntegration(email: $email) {
|
|
@@ -916,6 +1096,49 @@ export const useInitiateUploadMutation = (client, options, headers) => {
|
|
|
916
1096
|
...options,
|
|
917
1097
|
});
|
|
918
1098
|
};
|
|
1099
|
+
export const InviteCustomAppUserDocument = `
|
|
1100
|
+
mutation InviteCustomAppUser($org: String, $clientId: String!, $userId: String!, $email: String, $teams: [String!], $allTeams: Boolean) {
|
|
1101
|
+
inviteCustomAppUser(
|
|
1102
|
+
org: $org
|
|
1103
|
+
clientId: $clientId
|
|
1104
|
+
userId: $userId
|
|
1105
|
+
email: $email
|
|
1106
|
+
teams: $teams
|
|
1107
|
+
allTeams: $allTeams
|
|
1108
|
+
) {
|
|
1109
|
+
userId
|
|
1110
|
+
invitedAt
|
|
1111
|
+
mantaMember
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
`;
|
|
1115
|
+
export const useInviteCustomAppUserMutation = (client, options, headers) => {
|
|
1116
|
+
return useMutation({
|
|
1117
|
+
mutationKey: ["InviteCustomAppUser"],
|
|
1118
|
+
mutationFn: (variables) => fetcher(client, InviteCustomAppUserDocument, variables, headers)(),
|
|
1119
|
+
...options,
|
|
1120
|
+
});
|
|
1121
|
+
};
|
|
1122
|
+
export const InviteCustomAppUsersDocument = `
|
|
1123
|
+
mutation InviteCustomAppUsers($org: String, $clientId: String!, $people: [CustomAppUserInvitationInput!]!) {
|
|
1124
|
+
inviteCustomAppUsers(org: $org, clientId: $clientId, people: $people) {
|
|
1125
|
+
userId
|
|
1126
|
+
error
|
|
1127
|
+
user {
|
|
1128
|
+
userId
|
|
1129
|
+
invitedAt
|
|
1130
|
+
mantaMember
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
`;
|
|
1135
|
+
export const useInviteCustomAppUsersMutation = (client, options, headers) => {
|
|
1136
|
+
return useMutation({
|
|
1137
|
+
mutationKey: ["InviteCustomAppUsers"],
|
|
1138
|
+
mutationFn: (variables) => fetcher(client, InviteCustomAppUsersDocument, variables, headers)(),
|
|
1139
|
+
...options,
|
|
1140
|
+
});
|
|
1141
|
+
};
|
|
919
1142
|
export const LinkOrganizationToProviderDocument = `
|
|
920
1143
|
mutation LinkOrganizationToProvider($organizationId: String!) {
|
|
921
1144
|
linkOrganizationToProvider(organizationId: $organizationId) {
|
|
@@ -1152,6 +1375,57 @@ export const useReleaseRuleOwnershipMutation = (client, options, headers) => {
|
|
|
1152
1375
|
...options,
|
|
1153
1376
|
});
|
|
1154
1377
|
};
|
|
1378
|
+
export const RemoveCustomAppUserDocument = `
|
|
1379
|
+
mutation RemoveCustomAppUser($org: String, $clientId: String!, $userId: String!) {
|
|
1380
|
+
removeCustomAppUser(org: $org, clientId: $clientId, userId: $userId) {
|
|
1381
|
+
userId
|
|
1382
|
+
status
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
`;
|
|
1386
|
+
export const useRemoveCustomAppUserMutation = (client, options, headers) => {
|
|
1387
|
+
return useMutation({
|
|
1388
|
+
mutationKey: ["RemoveCustomAppUser"],
|
|
1389
|
+
mutationFn: (variables) => fetcher(client, RemoveCustomAppUserDocument, variables, headers)(),
|
|
1390
|
+
...options,
|
|
1391
|
+
});
|
|
1392
|
+
};
|
|
1393
|
+
export const RemoveCustomAppUsersCreatedBetweenDocument = `
|
|
1394
|
+
mutation RemoveCustomAppUsersCreatedBetween($org: String, $clientId: String!, $createdFrom: String!, $createdUntil: String!) {
|
|
1395
|
+
removeCustomAppUsersCreatedBetween(
|
|
1396
|
+
org: $org
|
|
1397
|
+
clientId: $clientId
|
|
1398
|
+
createdFrom: $createdFrom
|
|
1399
|
+
createdUntil: $createdUntil
|
|
1400
|
+
) {
|
|
1401
|
+
removed
|
|
1402
|
+
remaining
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
`;
|
|
1406
|
+
export const useRemoveCustomAppUsersCreatedBetweenMutation = (client, options, headers) => {
|
|
1407
|
+
return useMutation({
|
|
1408
|
+
mutationKey: ["RemoveCustomAppUsersCreatedBetween"],
|
|
1409
|
+
mutationFn: (variables) => fetcher(client, RemoveCustomAppUsersCreatedBetweenDocument, variables, headers)(),
|
|
1410
|
+
...options,
|
|
1411
|
+
});
|
|
1412
|
+
};
|
|
1413
|
+
export const RemoveCustomAppUsersDocument = `
|
|
1414
|
+
mutation RemoveCustomAppUsers($org: String, $clientId: String!, $userIds: [String!]!) {
|
|
1415
|
+
removeCustomAppUsers(org: $org, clientId: $clientId, userIds: $userIds) {
|
|
1416
|
+
userId
|
|
1417
|
+
status
|
|
1418
|
+
error
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
`;
|
|
1422
|
+
export const useRemoveCustomAppUsersMutation = (client, options, headers) => {
|
|
1423
|
+
return useMutation({
|
|
1424
|
+
mutationKey: ["RemoveCustomAppUsers"],
|
|
1425
|
+
mutationFn: (variables) => fetcher(client, RemoveCustomAppUsersDocument, variables, headers)(),
|
|
1426
|
+
...options,
|
|
1427
|
+
});
|
|
1428
|
+
};
|
|
1155
1429
|
export const RemoveDatastoreDocument = `
|
|
1156
1430
|
mutation RemoveDatastore($datastoreId: String!) {
|
|
1157
1431
|
removeDatastore(datastoreId: $datastoreId) {
|
|
@@ -1262,6 +1536,59 @@ export const useRevokeOperatorRoleMutation = (client, options, headers) => {
|
|
|
1262
1536
|
...options,
|
|
1263
1537
|
});
|
|
1264
1538
|
};
|
|
1539
|
+
export const RevokePreviousCustomAppSecretDocument = `
|
|
1540
|
+
mutation RevokePreviousCustomAppSecret($org: String, $clientId: String!) {
|
|
1541
|
+
revokePreviousCustomAppSecret(org: $org, clientId: $clientId) {
|
|
1542
|
+
...CustomAppFields
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
${CustomAppFieldsFragmentDoc}`;
|
|
1546
|
+
export const useRevokePreviousCustomAppSecretMutation = (client, options, headers) => {
|
|
1547
|
+
return useMutation({
|
|
1548
|
+
mutationKey: ["RevokePreviousCustomAppSecret"],
|
|
1549
|
+
mutationFn: (variables) => fetcher(client, RevokePreviousCustomAppSecretDocument, variables, headers)(),
|
|
1550
|
+
...options,
|
|
1551
|
+
});
|
|
1552
|
+
};
|
|
1553
|
+
export const RotateCustomAppSecretDocument = `
|
|
1554
|
+
mutation RotateCustomAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {
|
|
1555
|
+
rotateCustomAppSecret(
|
|
1556
|
+
org: $org
|
|
1557
|
+
clientId: $clientId
|
|
1558
|
+
keepPrevious: $keepPrevious
|
|
1559
|
+
) {
|
|
1560
|
+
app {
|
|
1561
|
+
...CustomAppFields
|
|
1562
|
+
}
|
|
1563
|
+
clientSecret
|
|
1564
|
+
connection {
|
|
1565
|
+
...CustomAppConnectionFields
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
${CustomAppFieldsFragmentDoc}
|
|
1570
|
+
${CustomAppConnectionFieldsFragmentDoc}`;
|
|
1571
|
+
export const useRotateCustomAppSecretMutation = (client, options, headers) => {
|
|
1572
|
+
return useMutation({
|
|
1573
|
+
mutationKey: ["RotateCustomAppSecret"],
|
|
1574
|
+
mutationFn: (variables) => fetcher(client, RotateCustomAppSecretDocument, variables, headers)(),
|
|
1575
|
+
...options,
|
|
1576
|
+
});
|
|
1577
|
+
};
|
|
1578
|
+
export const SetCustomAppEnabledDocument = `
|
|
1579
|
+
mutation SetCustomAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
|
|
1580
|
+
setCustomAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
|
|
1581
|
+
...CustomAppFields
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
${CustomAppFieldsFragmentDoc}`;
|
|
1585
|
+
export const useSetCustomAppEnabledMutation = (client, options, headers) => {
|
|
1586
|
+
return useMutation({
|
|
1587
|
+
mutationKey: ["SetCustomAppEnabled"],
|
|
1588
|
+
mutationFn: (variables) => fetcher(client, SetCustomAppEnabledDocument, variables, headers)(),
|
|
1589
|
+
...options,
|
|
1590
|
+
});
|
|
1591
|
+
};
|
|
1265
1592
|
export const StageRuleOperationDocument = `
|
|
1266
1593
|
mutation StageRuleOperation($input: StageRuleOperationInput!) {
|
|
1267
1594
|
stageRuleOperation(input: $input) {
|
|
@@ -1320,6 +1647,29 @@ export const useSyncGmailIntegrationMutation = (client, options, headers) => {
|
|
|
1320
1647
|
...options,
|
|
1321
1648
|
});
|
|
1322
1649
|
};
|
|
1650
|
+
export const UpdateCustomAppDocument = `
|
|
1651
|
+
mutation UpdateCustomApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
|
|
1652
|
+
updateCustomApp(
|
|
1653
|
+
org: $org
|
|
1654
|
+
clientId: $clientId
|
|
1655
|
+
name: $name
|
|
1656
|
+
redirectUris: $redirectUris
|
|
1657
|
+
homeUrl: $homeUrl
|
|
1658
|
+
machineAccess: $machineAccess
|
|
1659
|
+
datastores: $datastores
|
|
1660
|
+
permissions: $permissions
|
|
1661
|
+
) {
|
|
1662
|
+
...CustomAppFields
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
${CustomAppFieldsFragmentDoc}`;
|
|
1666
|
+
export const useUpdateCustomAppMutation = (client, options, headers) => {
|
|
1667
|
+
return useMutation({
|
|
1668
|
+
mutationKey: ["UpdateCustomApp"],
|
|
1669
|
+
mutationFn: (variables) => fetcher(client, UpdateCustomAppDocument, variables, headers)(),
|
|
1670
|
+
...options,
|
|
1671
|
+
});
|
|
1672
|
+
};
|
|
1323
1673
|
export const UpdateDataConnectionDocument = `
|
|
1324
1674
|
mutation UpdateDataConnection($input: UpdateDataConnectionInput!) {
|
|
1325
1675
|
updateDataConnection(input: $input) {
|
|
@@ -1784,6 +2134,31 @@ export const useSuspenseConnectedAccountsQuery = (client, variables, options, he
|
|
|
1784
2134
|
});
|
|
1785
2135
|
};
|
|
1786
2136
|
useSuspenseConnectedAccountsQuery.getKey = (variables) => variables === undefined ? ["ConnectedAccountsSuspense"] : ["ConnectedAccountsSuspense", variables];
|
|
2137
|
+
export const ConnectedCustomAppsDocument = `
|
|
2138
|
+
query ConnectedCustomApps {
|
|
2139
|
+
connectedCustomApps {
|
|
2140
|
+
clientId
|
|
2141
|
+
name
|
|
2142
|
+
orgName
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
`;
|
|
2146
|
+
export const useConnectedCustomAppsQuery = (client, variables, options, headers) => {
|
|
2147
|
+
return useQuery({
|
|
2148
|
+
queryKey: variables === undefined ? ["ConnectedCustomApps"] : ["ConnectedCustomApps", variables],
|
|
2149
|
+
queryFn: fetcher(client, ConnectedCustomAppsDocument, variables, headers),
|
|
2150
|
+
...options,
|
|
2151
|
+
});
|
|
2152
|
+
};
|
|
2153
|
+
useConnectedCustomAppsQuery.getKey = (variables) => variables === undefined ? ["ConnectedCustomApps"] : ["ConnectedCustomApps", variables];
|
|
2154
|
+
export const useSuspenseConnectedCustomAppsQuery = (client, variables, options, headers) => {
|
|
2155
|
+
return useSuspenseQuery({
|
|
2156
|
+
queryKey: variables === undefined ? ["ConnectedCustomAppsSuspense"] : ["ConnectedCustomAppsSuspense", variables],
|
|
2157
|
+
queryFn: fetcher(client, ConnectedCustomAppsDocument, variables, headers),
|
|
2158
|
+
...options,
|
|
2159
|
+
});
|
|
2160
|
+
};
|
|
2161
|
+
useSuspenseConnectedCustomAppsQuery.getKey = (variables) => variables === undefined ? ["ConnectedCustomAppsSuspense"] : ["ConnectedCustomAppsSuspense", variables];
|
|
1787
2162
|
export const ConversationStartersDocument = `
|
|
1788
2163
|
query ConversationStarters($planGraphIri: IRI) {
|
|
1789
2164
|
conversationStarters(planGraphIri: $planGraphIri) {
|
|
@@ -1886,6 +2261,130 @@ useSuspenseCurrentFactValueQuery.getKey = (variables) => [
|
|
|
1886
2261
|
"CurrentFactValueSuspense",
|
|
1887
2262
|
variables,
|
|
1888
2263
|
];
|
|
2264
|
+
export const CustomAppDatastoresDocument = `
|
|
2265
|
+
query CustomAppDatastores($org: String) {
|
|
2266
|
+
customAppDatastores(org: $org) {
|
|
2267
|
+
id
|
|
2268
|
+
name
|
|
2269
|
+
depth
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
`;
|
|
2273
|
+
export const useCustomAppDatastoresQuery = (client, variables, options, headers) => {
|
|
2274
|
+
return useQuery({
|
|
2275
|
+
queryKey: variables === undefined ? ["CustomAppDatastores"] : ["CustomAppDatastores", variables],
|
|
2276
|
+
queryFn: fetcher(client, CustomAppDatastoresDocument, variables, headers),
|
|
2277
|
+
...options,
|
|
2278
|
+
});
|
|
2279
|
+
};
|
|
2280
|
+
useCustomAppDatastoresQuery.getKey = (variables) => variables === undefined ? ["CustomAppDatastores"] : ["CustomAppDatastores", variables];
|
|
2281
|
+
export const useSuspenseCustomAppDatastoresQuery = (client, variables, options, headers) => {
|
|
2282
|
+
return useSuspenseQuery({
|
|
2283
|
+
queryKey: variables === undefined ? ["CustomAppDatastoresSuspense"] : ["CustomAppDatastoresSuspense", variables],
|
|
2284
|
+
queryFn: fetcher(client, CustomAppDatastoresDocument, variables, headers),
|
|
2285
|
+
...options,
|
|
2286
|
+
});
|
|
2287
|
+
};
|
|
2288
|
+
useSuspenseCustomAppDatastoresQuery.getKey = (variables) => variables === undefined ? ["CustomAppDatastoresSuspense"] : ["CustomAppDatastoresSuspense", variables];
|
|
2289
|
+
export const CustomAppUsersDocument = `
|
|
2290
|
+
query CustomAppUsers($org: String, $clientId: String!, $first: Int, $max: Int, $createdFrom: String, $createdUntil: String, $search: String, $status: CustomAppUserStatusFilter) {
|
|
2291
|
+
customAppUsers(
|
|
2292
|
+
org: $org
|
|
2293
|
+
clientId: $clientId
|
|
2294
|
+
first: $first
|
|
2295
|
+
max: $max
|
|
2296
|
+
createdFrom: $createdFrom
|
|
2297
|
+
createdUntil: $createdUntil
|
|
2298
|
+
search: $search
|
|
2299
|
+
status: $status
|
|
2300
|
+
) {
|
|
2301
|
+
users {
|
|
2302
|
+
userId
|
|
2303
|
+
name
|
|
2304
|
+
email
|
|
2305
|
+
teams
|
|
2306
|
+
allTeams
|
|
2307
|
+
createdAt
|
|
2308
|
+
chatCount
|
|
2309
|
+
invitedAt
|
|
2310
|
+
mantaMember
|
|
2311
|
+
}
|
|
2312
|
+
total
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
`;
|
|
2316
|
+
export const useCustomAppUsersQuery = (client, variables, options, headers) => {
|
|
2317
|
+
return useQuery({
|
|
2318
|
+
queryKey: ["CustomAppUsers", variables],
|
|
2319
|
+
queryFn: fetcher(client, CustomAppUsersDocument, variables, headers),
|
|
2320
|
+
...options,
|
|
2321
|
+
});
|
|
2322
|
+
};
|
|
2323
|
+
useCustomAppUsersQuery.getKey = (variables) => ["CustomAppUsers", variables];
|
|
2324
|
+
export const useSuspenseCustomAppUsersQuery = (client, variables, options, headers) => {
|
|
2325
|
+
return useSuspenseQuery({
|
|
2326
|
+
queryKey: ["CustomAppUsersSuspense", variables],
|
|
2327
|
+
queryFn: fetcher(client, CustomAppUsersDocument, variables, headers),
|
|
2328
|
+
...options,
|
|
2329
|
+
});
|
|
2330
|
+
};
|
|
2331
|
+
useSuspenseCustomAppUsersQuery.getKey = (variables) => [
|
|
2332
|
+
"CustomAppUsersSuspense",
|
|
2333
|
+
variables,
|
|
2334
|
+
];
|
|
2335
|
+
export const CustomAppDocument = `
|
|
2336
|
+
query CustomApp($org: String, $clientId: String!) {
|
|
2337
|
+
customApp(org: $org, clientId: $clientId) {
|
|
2338
|
+
...CustomAppFields
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
${CustomAppFieldsFragmentDoc}`;
|
|
2342
|
+
export const useCustomAppQuery = (client, variables, options, headers) => {
|
|
2343
|
+
return useQuery({
|
|
2344
|
+
queryKey: ["CustomApp", variables],
|
|
2345
|
+
queryFn: fetcher(client, CustomAppDocument, variables, headers),
|
|
2346
|
+
...options,
|
|
2347
|
+
});
|
|
2348
|
+
};
|
|
2349
|
+
useCustomAppQuery.getKey = (variables) => ["CustomApp", variables];
|
|
2350
|
+
export const useSuspenseCustomAppQuery = (client, variables, options, headers) => {
|
|
2351
|
+
return useSuspenseQuery({
|
|
2352
|
+
queryKey: ["CustomAppSuspense", variables],
|
|
2353
|
+
queryFn: fetcher(client, CustomAppDocument, variables, headers),
|
|
2354
|
+
...options,
|
|
2355
|
+
});
|
|
2356
|
+
};
|
|
2357
|
+
useSuspenseCustomAppQuery.getKey = (variables) => ["CustomAppSuspense", variables];
|
|
2358
|
+
export const CustomAppsDocument = `
|
|
2359
|
+
query CustomApps($org: String, $first: Int, $max: Int, $search: String) {
|
|
2360
|
+
customApps(org: $org, first: $first, max: $max, search: $search) {
|
|
2361
|
+
apps {
|
|
2362
|
+
...CustomAppFields
|
|
2363
|
+
}
|
|
2364
|
+
nextFirst
|
|
2365
|
+
connection {
|
|
2366
|
+
...CustomAppConnectionFields
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
${CustomAppFieldsFragmentDoc}
|
|
2371
|
+
${CustomAppConnectionFieldsFragmentDoc}`;
|
|
2372
|
+
export const useCustomAppsQuery = (client, variables, options, headers) => {
|
|
2373
|
+
return useQuery({
|
|
2374
|
+
queryKey: variables === undefined ? ["CustomApps"] : ["CustomApps", variables],
|
|
2375
|
+
queryFn: fetcher(client, CustomAppsDocument, variables, headers),
|
|
2376
|
+
...options,
|
|
2377
|
+
});
|
|
2378
|
+
};
|
|
2379
|
+
useCustomAppsQuery.getKey = (variables) => variables === undefined ? ["CustomApps"] : ["CustomApps", variables];
|
|
2380
|
+
export const useSuspenseCustomAppsQuery = (client, variables, options, headers) => {
|
|
2381
|
+
return useSuspenseQuery({
|
|
2382
|
+
queryKey: variables === undefined ? ["CustomAppsSuspense"] : ["CustomAppsSuspense", variables],
|
|
2383
|
+
queryFn: fetcher(client, CustomAppsDocument, variables, headers),
|
|
2384
|
+
...options,
|
|
2385
|
+
});
|
|
2386
|
+
};
|
|
2387
|
+
useSuspenseCustomAppsQuery.getKey = (variables) => variables === undefined ? ["CustomAppsSuspense"] : ["CustomAppsSuspense", variables];
|
|
1889
2388
|
export const CustomerDatastoresDocument = `
|
|
1890
2389
|
query CustomerDatastores {
|
|
1891
2390
|
customerDatastores {
|
|
@@ -2017,6 +2516,41 @@ export const useSuspenseDataConnectorTypesQuery = (client, variables, options, h
|
|
|
2017
2516
|
});
|
|
2018
2517
|
};
|
|
2019
2518
|
useSuspenseDataConnectorTypesQuery.getKey = (variables) => variables === undefined ? ["DataConnectorTypesSuspense"] : ["DataConnectorTypesSuspense", variables];
|
|
2519
|
+
export const DatastoreInvoicesDocument = `
|
|
2520
|
+
query DatastoreInvoices($datastoreId: String, $first: Int, $after: String) {
|
|
2521
|
+
datastoreInvoices(datastoreId: $datastoreId, first: $first, after: $after) {
|
|
2522
|
+
invoices {
|
|
2523
|
+
invoiceId
|
|
2524
|
+
datastoreId
|
|
2525
|
+
number
|
|
2526
|
+
status
|
|
2527
|
+
currency
|
|
2528
|
+
total
|
|
2529
|
+
created
|
|
2530
|
+
dueDate
|
|
2531
|
+
hostedInvoiceUrl
|
|
2532
|
+
invoicePdf
|
|
2533
|
+
}
|
|
2534
|
+
nextCursor
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2537
|
+
`;
|
|
2538
|
+
export const useDatastoreInvoicesQuery = (client, variables, options, headers) => {
|
|
2539
|
+
return useQuery({
|
|
2540
|
+
queryKey: variables === undefined ? ["DatastoreInvoices"] : ["DatastoreInvoices", variables],
|
|
2541
|
+
queryFn: fetcher(client, DatastoreInvoicesDocument, variables, headers),
|
|
2542
|
+
...options,
|
|
2543
|
+
});
|
|
2544
|
+
};
|
|
2545
|
+
useDatastoreInvoicesQuery.getKey = (variables) => variables === undefined ? ["DatastoreInvoices"] : ["DatastoreInvoices", variables];
|
|
2546
|
+
export const useSuspenseDatastoreInvoicesQuery = (client, variables, options, headers) => {
|
|
2547
|
+
return useSuspenseQuery({
|
|
2548
|
+
queryKey: variables === undefined ? ["DatastoreInvoicesSuspense"] : ["DatastoreInvoicesSuspense", variables],
|
|
2549
|
+
queryFn: fetcher(client, DatastoreInvoicesDocument, variables, headers),
|
|
2550
|
+
...options,
|
|
2551
|
+
});
|
|
2552
|
+
};
|
|
2553
|
+
useSuspenseDatastoreInvoicesQuery.getKey = (variables) => variables === undefined ? ["DatastoreInvoicesSuspense"] : ["DatastoreInvoicesSuspense", variables];
|
|
2020
2554
|
export const DatastoreProvisioningStatusesDocument = `
|
|
2021
2555
|
query DatastoreProvisioningStatuses($datastoreIds: [String!]!) {
|
|
2022
2556
|
datastoreProvisioningStatuses(datastoreIds: $datastoreIds) {
|
|
@@ -2052,6 +2586,37 @@ useSuspenseDatastoreProvisioningStatusesQuery.getKey = (variables) => [
|
|
|
2052
2586
|
"DatastoreProvisioningStatusesSuspense",
|
|
2053
2587
|
variables,
|
|
2054
2588
|
];
|
|
2589
|
+
export const DatastoreSubscriptionsDocument = `
|
|
2590
|
+
query DatastoreSubscriptions($datastoreIds: [String!]!) {
|
|
2591
|
+
datastoreSubscriptions(datastoreIds: $datastoreIds) {
|
|
2592
|
+
datastoreId
|
|
2593
|
+
status
|
|
2594
|
+
inGoodStanding
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
`;
|
|
2598
|
+
export const useDatastoreSubscriptionsQuery = (client, variables, options, headers) => {
|
|
2599
|
+
return useQuery({
|
|
2600
|
+
queryKey: ["DatastoreSubscriptions", variables],
|
|
2601
|
+
queryFn: fetcher(client, DatastoreSubscriptionsDocument, variables, headers),
|
|
2602
|
+
...options,
|
|
2603
|
+
});
|
|
2604
|
+
};
|
|
2605
|
+
useDatastoreSubscriptionsQuery.getKey = (variables) => [
|
|
2606
|
+
"DatastoreSubscriptions",
|
|
2607
|
+
variables,
|
|
2608
|
+
];
|
|
2609
|
+
export const useSuspenseDatastoreSubscriptionsQuery = (client, variables, options, headers) => {
|
|
2610
|
+
return useSuspenseQuery({
|
|
2611
|
+
queryKey: ["DatastoreSubscriptionsSuspense", variables],
|
|
2612
|
+
queryFn: fetcher(client, DatastoreSubscriptionsDocument, variables, headers),
|
|
2613
|
+
...options,
|
|
2614
|
+
});
|
|
2615
|
+
};
|
|
2616
|
+
useSuspenseDatastoreSubscriptionsQuery.getKey = (variables) => [
|
|
2617
|
+
"DatastoreSubscriptionsSuspense",
|
|
2618
|
+
variables,
|
|
2619
|
+
];
|
|
2055
2620
|
export const DatastoreTreeDocument = `
|
|
2056
2621
|
query DatastoreTree {
|
|
2057
2622
|
datastoreTree {
|
|
@@ -2231,6 +2796,42 @@ export const useSuspenseGoogleAnalyticsSetupProgressQuery = (client, variables,
|
|
|
2231
2796
|
useSuspenseGoogleAnalyticsSetupProgressQuery.getKey = (variables) => variables === undefined
|
|
2232
2797
|
? ["GoogleAnalyticsSetupProgressSuspense"]
|
|
2233
2798
|
: ["GoogleAnalyticsSetupProgressSuspense", variables];
|
|
2799
|
+
export const GoogleBrandSuggestionsDocument = `
|
|
2800
|
+
query GoogleBrandSuggestions($customerIri: IRI!, $brandPrefix: String!, $selectedBrandIds: [String!]) {
|
|
2801
|
+
googleBrandSuggestions(
|
|
2802
|
+
customerIri: $customerIri
|
|
2803
|
+
brandPrefix: $brandPrefix
|
|
2804
|
+
selectedBrandIds: $selectedBrandIds
|
|
2805
|
+
) {
|
|
2806
|
+
id
|
|
2807
|
+
name
|
|
2808
|
+
urls
|
|
2809
|
+
state
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
`;
|
|
2813
|
+
export const useGoogleBrandSuggestionsQuery = (client, variables, options, headers) => {
|
|
2814
|
+
return useQuery({
|
|
2815
|
+
queryKey: ["GoogleBrandSuggestions", variables],
|
|
2816
|
+
queryFn: fetcher(client, GoogleBrandSuggestionsDocument, variables, headers),
|
|
2817
|
+
...options,
|
|
2818
|
+
});
|
|
2819
|
+
};
|
|
2820
|
+
useGoogleBrandSuggestionsQuery.getKey = (variables) => [
|
|
2821
|
+
"GoogleBrandSuggestions",
|
|
2822
|
+
variables,
|
|
2823
|
+
];
|
|
2824
|
+
export const useSuspenseGoogleBrandSuggestionsQuery = (client, variables, options, headers) => {
|
|
2825
|
+
return useSuspenseQuery({
|
|
2826
|
+
queryKey: ["GoogleBrandSuggestionsSuspense", variables],
|
|
2827
|
+
queryFn: fetcher(client, GoogleBrandSuggestionsDocument, variables, headers),
|
|
2828
|
+
...options,
|
|
2829
|
+
});
|
|
2830
|
+
};
|
|
2831
|
+
useSuspenseGoogleBrandSuggestionsQuery.getKey = (variables) => [
|
|
2832
|
+
"GoogleBrandSuggestionsSuspense",
|
|
2833
|
+
variables,
|
|
2834
|
+
];
|
|
2234
2835
|
export const GoogleSetupProgressDocument = `
|
|
2235
2836
|
query GoogleSetupProgress {
|
|
2236
2837
|
googleSetupProgress {
|
|
@@ -2706,6 +3307,7 @@ export const SessionContextDocument = `
|
|
|
2706
3307
|
canManageStreams
|
|
2707
3308
|
canManageSharedMemories
|
|
2708
3309
|
canManageTeam
|
|
3310
|
+
canManageCustomApps
|
|
2709
3311
|
datastore {
|
|
2710
3312
|
id
|
|
2711
3313
|
name
|
|
@@ -2803,6 +3405,39 @@ export const useSuspenseSparqlQueryQuery = (client, variables, options, headers)
|
|
|
2803
3405
|
});
|
|
2804
3406
|
};
|
|
2805
3407
|
useSuspenseSparqlQueryQuery.getKey = (variables) => ["SparqlQuerySuspense", variables];
|
|
3408
|
+
export const StripeSubscriptionProductsDocument = `
|
|
3409
|
+
query StripeSubscriptionProducts {
|
|
3410
|
+
stripeSubscriptionProducts {
|
|
3411
|
+
priceId
|
|
3412
|
+
priceName
|
|
3413
|
+
productId
|
|
3414
|
+
productName
|
|
3415
|
+
productDescription
|
|
3416
|
+
currency
|
|
3417
|
+
unitAmount
|
|
3418
|
+
interval
|
|
3419
|
+
intervalCount
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
`;
|
|
3423
|
+
export const useStripeSubscriptionProductsQuery = (client, variables, options, headers) => {
|
|
3424
|
+
return useQuery({
|
|
3425
|
+
queryKey: variables === undefined ? ["StripeSubscriptionProducts"] : ["StripeSubscriptionProducts", variables],
|
|
3426
|
+
queryFn: fetcher(client, StripeSubscriptionProductsDocument, variables, headers),
|
|
3427
|
+
...options,
|
|
3428
|
+
});
|
|
3429
|
+
};
|
|
3430
|
+
useStripeSubscriptionProductsQuery.getKey = (variables) => variables === undefined ? ["StripeSubscriptionProducts"] : ["StripeSubscriptionProducts", variables];
|
|
3431
|
+
export const useSuspenseStripeSubscriptionProductsQuery = (client, variables, options, headers) => {
|
|
3432
|
+
return useSuspenseQuery({
|
|
3433
|
+
queryKey: variables === undefined
|
|
3434
|
+
? ["StripeSubscriptionProductsSuspense"]
|
|
3435
|
+
: ["StripeSubscriptionProductsSuspense", variables],
|
|
3436
|
+
queryFn: fetcher(client, StripeSubscriptionProductsDocument, variables, headers),
|
|
3437
|
+
...options,
|
|
3438
|
+
});
|
|
3439
|
+
};
|
|
3440
|
+
useSuspenseStripeSubscriptionProductsQuery.getKey = (variables) => variables === undefined ? ["StripeSubscriptionProductsSuspense"] : ["StripeSubscriptionProductsSuspense", variables];
|
|
2806
3441
|
export const SupportedActionShapesDocument = `
|
|
2807
3442
|
query SupportedActionShapes($rdfType: String) {
|
|
2808
3443
|
supportedActionShapes(rdfType: $rdfType) {
|
|
@@ -2858,6 +3493,7 @@ export const TeamDirectoryDocument = `
|
|
|
2858
3493
|
inviteUrl
|
|
2859
3494
|
federated
|
|
2860
3495
|
nameReadOnly
|
|
3496
|
+
operator
|
|
2861
3497
|
enabled
|
|
2862
3498
|
memberships {
|
|
2863
3499
|
org
|
|
@@ -3149,3 +3785,4 @@ useSuspenseValidateActionPlanQuery.getKey = (variables) => [
|
|
|
3149
3785
|
"ValidateActionPlanSuspense",
|
|
3150
3786
|
variables,
|
|
3151
3787
|
];
|
|
3788
|
+
//# sourceMappingURL=graphql.js.map
|