@manta-eu/client 0.4.0 → 0.5.1
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 +81 -2
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +56 -1
- package/dist/generated/graphql.js.map +1 -1
- package/dist/shared/chat-manager.d.ts +12 -0
- package/dist/shared/chat-manager.d.ts.map +1 -1
- package/dist/shared/chat-manager.js +14 -0
- package/dist/shared/chat-manager.js.map +1 -1
- package/package.json +5 -5
- package/src/generated/graphql.ts +159 -1
- package/src/shared/chat-manager.ts +18 -0
|
@@ -282,6 +282,7 @@ export type GQLAbortUploadResponse = {
|
|
|
282
282
|
};
|
|
283
283
|
export type GQLAccessibleDatastore = {
|
|
284
284
|
__typename?: "AccessibleDatastore";
|
|
285
|
+
datastoresInSubtree?: Maybe<Scalars["Int"]["output"]>;
|
|
285
286
|
depth: Scalars["Int"]["output"];
|
|
286
287
|
id: Scalars["String"]["output"];
|
|
287
288
|
live?: Maybe<Scalars["Boolean"]["output"]>;
|
|
@@ -688,6 +689,12 @@ export type GQLCreateMemoryResponse = {
|
|
|
688
689
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
689
690
|
memory?: Maybe<GQLMemory>;
|
|
690
691
|
};
|
|
692
|
+
export type GQLCreateStripeBillingPortalSessionResponse = {
|
|
693
|
+
__typename?: "CreateStripeBillingPortalSessionResponse";
|
|
694
|
+
error?: Maybe<Scalars["String"]["output"]>;
|
|
695
|
+
success: Scalars["Boolean"]["output"];
|
|
696
|
+
url?: Maybe<Scalars["String"]["output"]>;
|
|
697
|
+
};
|
|
691
698
|
export type GQLCreateStripeCheckoutSessionResponse = {
|
|
692
699
|
__typename?: "CreateStripeCheckoutSessionResponse";
|
|
693
700
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -938,6 +945,7 @@ export type GQLDatastoreSubscription = {
|
|
|
938
945
|
};
|
|
939
946
|
export type GQLDatastoreTreeNode = {
|
|
940
947
|
__typename?: "DatastoreTreeNode";
|
|
948
|
+
accessibleId: Scalars["String"]["output"];
|
|
941
949
|
datastoreId?: Maybe<Scalars["String"]["output"]>;
|
|
942
950
|
depth: Scalars["Int"]["output"];
|
|
943
951
|
id: Scalars["String"]["output"];
|
|
@@ -1650,6 +1658,7 @@ export type GQLMutation = {
|
|
|
1650
1658
|
createDataConnection: GQLDataConnectionTestState;
|
|
1651
1659
|
createInferalIntegration: GQLCreateInferalIntegrationResponse;
|
|
1652
1660
|
createMemory: GQLCreateMemoryResponse;
|
|
1661
|
+
createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
|
|
1653
1662
|
createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
|
|
1654
1663
|
dashSetupConnect: GQLDashSetupProgress;
|
|
1655
1664
|
deleteActionPlan: GQLDeleteActionPlanResponse;
|
|
@@ -1780,7 +1789,12 @@ export type GQLMutationCreateInferalIntegrationArgs = {
|
|
|
1780
1789
|
export type GQLMutationCreateMemoryArgs = {
|
|
1781
1790
|
input: GQLCreateMemoryInput;
|
|
1782
1791
|
};
|
|
1792
|
+
export type GQLMutationCreateStripeBillingPortalSessionArgs = {
|
|
1793
|
+
datastoreId: Scalars["String"]["input"];
|
|
1794
|
+
returnUrl: Scalars["String"]["input"];
|
|
1795
|
+
};
|
|
1783
1796
|
export type GQLMutationCreateStripeCheckoutSessionArgs = {
|
|
1797
|
+
addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
1784
1798
|
cancelUrl: Scalars["String"]["input"];
|
|
1785
1799
|
datastoreId: Scalars["String"]["input"];
|
|
1786
1800
|
priceId: Scalars["String"]["input"];
|
|
@@ -2571,11 +2585,16 @@ export type GQLSessionUser = {
|
|
|
2571
2585
|
canManageSharedMemories: Scalars["Boolean"]["output"];
|
|
2572
2586
|
canManageStreams: Scalars["Boolean"]["output"];
|
|
2573
2587
|
canManageTeam: Scalars["Boolean"]["output"];
|
|
2588
|
+
canRename: Scalars["Boolean"]["output"];
|
|
2589
|
+
canUploadProfilePicture: Scalars["Boolean"]["output"];
|
|
2574
2590
|
datastore?: Maybe<GQLCustomerDatastore>;
|
|
2575
2591
|
email: Scalars["String"]["output"];
|
|
2592
|
+
federated: Scalars["Boolean"]["output"];
|
|
2593
|
+
firstName?: Maybe<Scalars["String"]["output"]>;
|
|
2576
2594
|
id: Scalars["String"]["output"];
|
|
2577
2595
|
isOperator: Scalars["Boolean"]["output"];
|
|
2578
2596
|
isOrgAdmin: Scalars["Boolean"]["output"];
|
|
2597
|
+
lastName?: Maybe<Scalars["String"]["output"]>;
|
|
2579
2598
|
memberOrgs: Array<Scalars["String"]["output"]>;
|
|
2580
2599
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2581
2600
|
picture?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -3275,9 +3294,23 @@ export type GQLCreateMemoryMutation = {
|
|
|
3275
3294
|
} | null;
|
|
3276
3295
|
};
|
|
3277
3296
|
};
|
|
3297
|
+
export type GQLCreateStripeBillingPortalSessionMutationVariables = Exact<{
|
|
3298
|
+
datastoreId: Scalars["String"]["input"];
|
|
3299
|
+
returnUrl: Scalars["String"]["input"];
|
|
3300
|
+
}>;
|
|
3301
|
+
export type GQLCreateStripeBillingPortalSessionMutation = {
|
|
3302
|
+
__typename?: "Mutation";
|
|
3303
|
+
createStripeBillingPortalSession: {
|
|
3304
|
+
__typename?: "CreateStripeBillingPortalSessionResponse";
|
|
3305
|
+
success: boolean;
|
|
3306
|
+
url?: string | null;
|
|
3307
|
+
error?: string | null;
|
|
3308
|
+
};
|
|
3309
|
+
};
|
|
3278
3310
|
export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
|
|
3279
3311
|
datastoreId: Scalars["String"]["input"];
|
|
3280
3312
|
priceId: Scalars["String"]["input"];
|
|
3313
|
+
addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
3281
3314
|
successUrl: Scalars["String"]["input"];
|
|
3282
3315
|
cancelUrl: Scalars["String"]["input"];
|
|
3283
3316
|
}>;
|
|
@@ -5061,6 +5094,7 @@ export type GQLDatastoreTreeQuery = {
|
|
|
5061
5094
|
datastoreTree: Array<{
|
|
5062
5095
|
__typename?: "DatastoreTreeNode";
|
|
5063
5096
|
id: string;
|
|
5097
|
+
accessibleId: string;
|
|
5064
5098
|
name: string;
|
|
5065
5099
|
depth: number;
|
|
5066
5100
|
organizationId: string;
|
|
@@ -5514,6 +5548,28 @@ export type GQLOrganizationLinkingQuery = {
|
|
|
5514
5548
|
linkEnabled: boolean;
|
|
5515
5549
|
} | null;
|
|
5516
5550
|
};
|
|
5551
|
+
export type GQLProfileQueryVariables = Exact<{
|
|
5552
|
+
[key: string]: never;
|
|
5553
|
+
}>;
|
|
5554
|
+
export type GQLProfileQuery = {
|
|
5555
|
+
__typename?: "Query";
|
|
5556
|
+
sessionContext: {
|
|
5557
|
+
__typename?: "SessionContext";
|
|
5558
|
+
user: {
|
|
5559
|
+
__typename?: "SessionUser";
|
|
5560
|
+
id: string;
|
|
5561
|
+
email: string;
|
|
5562
|
+
name?: string | null;
|
|
5563
|
+
firstName?: string | null;
|
|
5564
|
+
lastName?: string | null;
|
|
5565
|
+
federated: boolean;
|
|
5566
|
+
picture?: string | null;
|
|
5567
|
+
pictureSource?: GQLPictureSource | null;
|
|
5568
|
+
canRename: boolean;
|
|
5569
|
+
canUploadProfilePicture: boolean;
|
|
5570
|
+
};
|
|
5571
|
+
};
|
|
5572
|
+
};
|
|
5517
5573
|
export type GQLRulesQueryVariables = Exact<{
|
|
5518
5574
|
ruleIri?: InputMaybe<Scalars["IRI"]["input"]>;
|
|
5519
5575
|
filterByOwner?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -5948,10 +6004,16 @@ export declare const CreateMemoryDocument = "\n mutation CreateMemory($input:
|
|
|
5948
6004
|
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<{
|
|
5949
6005
|
input: GQLCreateMemoryInput;
|
|
5950
6006
|
}>, TContext>;
|
|
5951
|
-
export declare const
|
|
6007
|
+
export declare const CreateStripeBillingPortalSessionDocument = "\n mutation CreateStripeBillingPortalSession($datastoreId: String!, $returnUrl: String!) {\n createStripeBillingPortalSession(\n datastoreId: $datastoreId\n returnUrl: $returnUrl\n ) {\n success\n url\n error\n }\n}\n ";
|
|
6008
|
+
export declare const useCreateStripeBillingPortalSessionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateStripeBillingPortalSessionMutation, TError, GQLCreateStripeBillingPortalSessionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateStripeBillingPortalSessionMutation, TError, Exact<{
|
|
6009
|
+
datastoreId: Scalars["String"]["input"];
|
|
6010
|
+
returnUrl: Scalars["String"]["input"];
|
|
6011
|
+
}>, TContext>;
|
|
6012
|
+
export declare const CreateStripeCheckoutSessionDocument = "\n mutation CreateStripeCheckoutSession($datastoreId: String!, $priceId: String!, $addOnPriceId: String, $successUrl: String!, $cancelUrl: String!) {\n createStripeCheckoutSession(\n datastoreId: $datastoreId\n priceId: $priceId\n addOnPriceId: $addOnPriceId\n successUrl: $successUrl\n cancelUrl: $cancelUrl\n ) {\n success\n url\n error\n }\n}\n ";
|
|
5952
6013
|
export declare const useCreateStripeCheckoutSessionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLCreateStripeCheckoutSessionMutation, TError, GQLCreateStripeCheckoutSessionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLCreateStripeCheckoutSessionMutation, TError, Exact<{
|
|
5953
6014
|
datastoreId: Scalars["String"]["input"];
|
|
5954
6015
|
priceId: Scalars["String"]["input"];
|
|
6016
|
+
addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
5955
6017
|
successUrl: Scalars["String"]["input"];
|
|
5956
6018
|
cancelUrl: Scalars["String"]["input"];
|
|
5957
6019
|
}>, TContext>;
|
|
@@ -6720,7 +6782,7 @@ export declare const useSuspenseDatastoreSubscriptionsQuery: {
|
|
|
6720
6782
|
datastoreIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
6721
6783
|
}>)[];
|
|
6722
6784
|
};
|
|
6723
|
-
export declare const DatastoreTreeDocument = "\n query DatastoreTree {\n datastoreTree {\n id\n name\n depth\n organizationId\n organizationName\n organizationAlias\n path\n datastoreId\n removed\n provisionedAt\n provisionedBy\n isOrganization\n mirrored\n }\n}\n ";
|
|
6785
|
+
export declare const DatastoreTreeDocument = "\n query DatastoreTree {\n datastoreTree {\n id\n accessibleId\n name\n depth\n organizationId\n organizationName\n organizationAlias\n path\n datastoreId\n removed\n provisionedAt\n provisionedBy\n isOrganization\n mirrored\n }\n}\n ";
|
|
6724
6786
|
export declare const useDatastoreTreeQuery: {
|
|
6725
6787
|
<TData = GQLDatastoreTreeQuery, TError = unknown>(client: GraphQLClient, variables?: GQLDatastoreTreeQueryVariables, options?: Omit<UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>, "queryKey"> & {
|
|
6726
6788
|
queryKey?: UseQueryOptions<GQLDatastoreTreeQuery, TError, TData>["queryKey"];
|
|
@@ -7065,6 +7127,23 @@ export declare const useSuspenseOrganizationLinkingQuery: {
|
|
|
7065
7127
|
[key: string]: never;
|
|
7066
7128
|
}>)[];
|
|
7067
7129
|
};
|
|
7130
|
+
export declare const ProfileDocument = "\n query Profile {\n sessionContext {\n user {\n id\n email\n name\n firstName\n lastName\n federated\n picture\n pictureSource\n canRename\n canUploadProfilePicture\n }\n }\n}\n ";
|
|
7131
|
+
export declare const useProfileQuery: {
|
|
7132
|
+
<TData = GQLProfileQuery, TError = unknown>(client: GraphQLClient, variables?: GQLProfileQueryVariables, options?: Omit<UseQueryOptions<GQLProfileQuery, TError, TData>, "queryKey"> & {
|
|
7133
|
+
queryKey?: UseQueryOptions<GQLProfileQuery, TError, TData>["queryKey"];
|
|
7134
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
|
|
7135
|
+
getKey(variables?: GQLProfileQueryVariables): (string | Exact<{
|
|
7136
|
+
[key: string]: never;
|
|
7137
|
+
}>)[];
|
|
7138
|
+
};
|
|
7139
|
+
export declare const useSuspenseProfileQuery: {
|
|
7140
|
+
<TData = GQLProfileQuery, TError = unknown>(client: GraphQLClient, variables?: GQLProfileQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLProfileQuery, TError, TData>, "queryKey"> & {
|
|
7141
|
+
queryKey?: UseSuspenseQueryOptions<GQLProfileQuery, TError, TData>["queryKey"];
|
|
7142
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
|
|
7143
|
+
getKey(variables?: GQLProfileQueryVariables): (string | Exact<{
|
|
7144
|
+
[key: string]: never;
|
|
7145
|
+
}>)[];
|
|
7146
|
+
};
|
|
7068
7147
|
export declare const RulesDocument = "\n query Rules($ruleIri: IRI, $filterByOwner: String, $namedGraph: IRI, $typeFilter: [IRI!]) {\n rules(\n ruleIri: $ruleIri\n filterByOwner: $filterByOwner\n namedGraph: $namedGraph\n typeFilter: $typeFilter\n ) {\n rules {\n ruleIri\n committedRule\n stagedRule\n isStaged\n isModified\n ownedBy {\n type\n userId\n }\n namedGraphs\n mentionedTypes\n component\n stratumIndex\n dependsPositivelyOn\n dependsNegativelyOn\n dependentRules\n unifiesWith\n }\n jsonLdGraph\n count\n error\n }\n}\n ";
|
|
7069
7148
|
export declare const useRulesQuery: {
|
|
7070
7149
|
<TData = GQLRulesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLRulesQueryVariables, options?: Omit<UseQueryOptions<GQLRulesQuery, TError, TData>, "queryKey"> & {
|