@manta-eu/client 0.1.7 → 0.1.8
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 +2 -0
- package/dist/generated/graphql.d.ts +76 -3
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +44 -0
- package/dist/shared/chat-manager.d.ts +54 -0
- package/dist/shared/chat-manager.d.ts.map +1 -1
- package/dist/shared/chat-manager.js +40 -6
- package/dist/shared/datastore-id.d.ts.map +1 -1
- package/dist/shared/datastore-id.js +5 -2
- package/dist/shared/email.d.ts +21 -0
- package/dist/shared/email.d.ts.map +1 -0
- package/dist/shared/email.js +34 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +2 -0
- package/dist/shared/team.d.ts +8 -0
- package/dist/shared/team.d.ts.map +1 -1
- package/dist/shared/team.js +1 -0
- package/package.json +17 -5
package/README.md
CHANGED
|
@@ -851,10 +851,14 @@ export type GQLDirectoryUser = {
|
|
|
851
851
|
email?: Maybe<Scalars["String"]["output"]>;
|
|
852
852
|
enabled: Scalars["Boolean"]["output"];
|
|
853
853
|
federated?: Maybe<Scalars["Boolean"]["output"]>;
|
|
854
|
+
firstName?: Maybe<Scalars["String"]["output"]>;
|
|
854
855
|
id: Scalars["String"]["output"];
|
|
855
856
|
inviteUrl?: Maybe<Scalars["String"]["output"]>;
|
|
857
|
+
invitedTo?: Maybe<Array<GQLDirectoryMembership>>;
|
|
858
|
+
lastName?: Maybe<Scalars["String"]["output"]>;
|
|
856
859
|
memberships: Array<GQLDirectoryMembership>;
|
|
857
860
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
861
|
+
nameReadOnly?: Maybe<Scalars["Boolean"]["output"]>;
|
|
858
862
|
pending?: Maybe<Scalars["Boolean"]["output"]>;
|
|
859
863
|
username?: Maybe<Scalars["String"]["output"]>;
|
|
860
864
|
};
|
|
@@ -1476,6 +1480,7 @@ export type GQLMutation = {
|
|
|
1476
1480
|
removeDatastore: GQLRemoveDatastoreResponse;
|
|
1477
1481
|
removeTeamMember: GQLTeamMemberRemovedResponse;
|
|
1478
1482
|
renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
|
|
1483
|
+
renameUser: GQLRenameUserResponse;
|
|
1479
1484
|
resendTeamInvitation: GQLTeamInvitationResentResponse;
|
|
1480
1485
|
restoreDatastore: GQLRestoreDatastoreResponse;
|
|
1481
1486
|
restoreMemory: GQLRestoreMemoryResponse;
|
|
@@ -1669,6 +1674,11 @@ export type GQLMutationRemoveTeamMemberArgs = {
|
|
|
1669
1674
|
export type GQLMutationRenameDatastoreGroupArgs = {
|
|
1670
1675
|
input: GQLRenameDatastoreGroupInput;
|
|
1671
1676
|
};
|
|
1677
|
+
export type GQLMutationRenameUserArgs = {
|
|
1678
|
+
firstName: Scalars["String"]["input"];
|
|
1679
|
+
lastName?: InputMaybe<Scalars["String"]["input"]>;
|
|
1680
|
+
userId: Scalars["String"]["input"];
|
|
1681
|
+
};
|
|
1672
1682
|
export type GQLMutationResendTeamInvitationArgs = {
|
|
1673
1683
|
org?: InputMaybe<Scalars["String"]["input"]>;
|
|
1674
1684
|
userId: Scalars["String"]["input"];
|
|
@@ -1750,6 +1760,10 @@ export type GQLPerson = {
|
|
|
1750
1760
|
name: Scalars["String"]["output"];
|
|
1751
1761
|
url?: Maybe<Scalars["String"]["output"]>;
|
|
1752
1762
|
};
|
|
1763
|
+
export declare enum GQLPictureSource {
|
|
1764
|
+
IdentityProvider = "IDENTITY_PROVIDER",
|
|
1765
|
+
Upload = "UPLOAD"
|
|
1766
|
+
}
|
|
1753
1767
|
export declare enum GQLPlanOperation {
|
|
1754
1768
|
Added = "ADDED",
|
|
1755
1769
|
Updated = "UPDATED"
|
|
@@ -2043,6 +2057,11 @@ export type GQLRenameDatastoreGroupResponse = {
|
|
|
2043
2057
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
2044
2058
|
success: Scalars["Boolean"]["output"];
|
|
2045
2059
|
};
|
|
2060
|
+
export type GQLRenameUserResponse = {
|
|
2061
|
+
__typename?: "RenameUserResponse";
|
|
2062
|
+
id: Scalars["String"]["output"];
|
|
2063
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
2064
|
+
};
|
|
2046
2065
|
export type GQLRestoreDatastoreResponse = {
|
|
2047
2066
|
__typename?: "RestoreDatastoreResponse";
|
|
2048
2067
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -2197,6 +2216,8 @@ export type GQLSessionUser = {
|
|
|
2197
2216
|
isOrgAdmin: Scalars["Boolean"]["output"];
|
|
2198
2217
|
memberOrgs: Array<Scalars["String"]["output"]>;
|
|
2199
2218
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2219
|
+
picture?: Maybe<Scalars["String"]["output"]>;
|
|
2220
|
+
pictureSource?: Maybe<GQLPictureSource>;
|
|
2200
2221
|
};
|
|
2201
2222
|
export declare enum GQLSetupAccountUnavailableReason {
|
|
2202
2223
|
InsufficientPermissions = "INSUFFICIENT_PERMISSIONS"
|
|
@@ -2286,15 +2307,31 @@ export type GQLStripeSubscriptionProduct = {
|
|
|
2286
2307
|
productName: Scalars["String"]["output"];
|
|
2287
2308
|
unitAmount?: Maybe<Scalars["Int"]["output"]>;
|
|
2288
2309
|
};
|
|
2310
|
+
export declare enum GQLStructuredDataErrorCode {
|
|
2311
|
+
GenerationFailed = "GENERATION_FAILED",
|
|
2312
|
+
OutputInvalid = "OUTPUT_INVALID",
|
|
2313
|
+
RateLimited = "RATE_LIMITED",
|
|
2314
|
+
SchemaInvalid = "SCHEMA_INVALID",
|
|
2315
|
+
Unauthorized = "UNAUTHORIZED",
|
|
2316
|
+
Unknown = "UNKNOWN"
|
|
2317
|
+
}
|
|
2289
2318
|
export type GQLStructuredDataInput = {
|
|
2290
2319
|
context?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
2291
2320
|
prompt: Scalars["String"]["input"];
|
|
2292
2321
|
schema: Scalars["JSONObject"]["input"];
|
|
2293
2322
|
};
|
|
2323
|
+
export type GQLStructuredDataIssue = {
|
|
2324
|
+
__typename?: "StructuredDataIssue";
|
|
2325
|
+
message: Scalars["String"]["output"];
|
|
2326
|
+
path: Scalars["String"]["output"];
|
|
2327
|
+
};
|
|
2294
2328
|
export type GQLStructuredDataResponse = {
|
|
2295
2329
|
__typename?: "StructuredDataResponse";
|
|
2330
|
+
code?: Maybe<GQLStructuredDataErrorCode>;
|
|
2296
2331
|
data?: Maybe<Scalars["JSON"]["output"]>;
|
|
2297
2332
|
error?: Maybe<Scalars["String"]["output"]>;
|
|
2333
|
+
issues?: Maybe<Array<GQLStructuredDataIssue>>;
|
|
2334
|
+
outputExcerpt?: Maybe<Scalars["String"]["output"]>;
|
|
2298
2335
|
};
|
|
2299
2336
|
export type GQLSubscription = {
|
|
2300
2337
|
__typename?: "Subscription";
|
|
@@ -2936,6 +2973,13 @@ export type GQLGenerateStructuredDataMutation = {
|
|
|
2936
2973
|
__typename?: "StructuredDataResponse";
|
|
2937
2974
|
data?: unknown | null;
|
|
2938
2975
|
error?: string | null;
|
|
2976
|
+
code?: GQLStructuredDataErrorCode | null;
|
|
2977
|
+
outputExcerpt?: string | null;
|
|
2978
|
+
issues?: Array<{
|
|
2979
|
+
__typename?: "StructuredDataIssue";
|
|
2980
|
+
path: string;
|
|
2981
|
+
message: string;
|
|
2982
|
+
}> | null;
|
|
2939
2983
|
};
|
|
2940
2984
|
};
|
|
2941
2985
|
export type GQLGoogleAnalyticsSetupConnectMutationVariables = Exact<{
|
|
@@ -3248,6 +3292,19 @@ export type GQLRenameDatastoreGroupMutation = {
|
|
|
3248
3292
|
error?: string | null;
|
|
3249
3293
|
};
|
|
3250
3294
|
};
|
|
3295
|
+
export type GQLRenameUserMutationVariables = Exact<{
|
|
3296
|
+
userId: Scalars["String"]["input"];
|
|
3297
|
+
firstName: Scalars["String"]["input"];
|
|
3298
|
+
lastName?: InputMaybe<Scalars["String"]["input"]>;
|
|
3299
|
+
}>;
|
|
3300
|
+
export type GQLRenameUserMutation = {
|
|
3301
|
+
__typename?: "Mutation";
|
|
3302
|
+
renameUser: {
|
|
3303
|
+
__typename?: "RenameUserResponse";
|
|
3304
|
+
id: string;
|
|
3305
|
+
name?: string | null;
|
|
3306
|
+
};
|
|
3307
|
+
};
|
|
3251
3308
|
export type GQLRestoreDatastoreMutationVariables = Exact<{
|
|
3252
3309
|
datastoreId: Scalars["String"]["input"];
|
|
3253
3310
|
}>;
|
|
@@ -4524,6 +4581,7 @@ export type GQLSessionContextQuery = {
|
|
|
4524
4581
|
id: string;
|
|
4525
4582
|
email: string;
|
|
4526
4583
|
name?: string | null;
|
|
4584
|
+
picture?: string | null;
|
|
4527
4585
|
isOperator: boolean;
|
|
4528
4586
|
isOrgAdmin: boolean;
|
|
4529
4587
|
adminOrgs: Array<string>;
|
|
@@ -4632,9 +4690,12 @@ export type GQLTeamDirectoryQuery = {
|
|
|
4632
4690
|
username?: string | null;
|
|
4633
4691
|
email?: string | null;
|
|
4634
4692
|
name?: string | null;
|
|
4693
|
+
firstName?: string | null;
|
|
4694
|
+
lastName?: string | null;
|
|
4635
4695
|
pending?: boolean | null;
|
|
4636
4696
|
inviteUrl?: string | null;
|
|
4637
4697
|
federated?: boolean | null;
|
|
4698
|
+
nameReadOnly?: boolean | null;
|
|
4638
4699
|
enabled: boolean;
|
|
4639
4700
|
memberships: Array<{
|
|
4640
4701
|
__typename?: "DirectoryMembership";
|
|
@@ -4642,6 +4703,12 @@ export type GQLTeamDirectoryQuery = {
|
|
|
4642
4703
|
name?: string | null;
|
|
4643
4704
|
groups: Array<string>;
|
|
4644
4705
|
}>;
|
|
4706
|
+
invitedTo?: Array<{
|
|
4707
|
+
__typename?: "DirectoryMembership";
|
|
4708
|
+
org: string;
|
|
4709
|
+
name?: string | null;
|
|
4710
|
+
groups: Array<string>;
|
|
4711
|
+
}> | null;
|
|
4645
4712
|
}>;
|
|
4646
4713
|
};
|
|
4647
4714
|
};
|
|
@@ -4874,7 +4941,7 @@ export declare const ExecuteAgentActionUpdateDocument = "\n mutation ExecuteA
|
|
|
4874
4941
|
export declare const useExecuteAgentActionUpdateMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLExecuteAgentActionUpdateMutation, TError, GQLExecuteAgentActionUpdateMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLExecuteAgentActionUpdateMutation, TError, Exact<{
|
|
4875
4942
|
input: GQLExecuteActionUpdateInput;
|
|
4876
4943
|
}>, TContext>;
|
|
4877
|
-
export declare const GenerateStructuredDataDocument = "\n mutation GenerateStructuredData($input: StructuredDataInput!) {\n generateStructuredData(input: $input) {\n data\n error\n }\n}\n ";
|
|
4944
|
+
export declare const GenerateStructuredDataDocument = "\n mutation GenerateStructuredData($input: StructuredDataInput!) {\n generateStructuredData(input: $input) {\n data\n error\n code\n issues {\n path\n message\n }\n outputExcerpt\n }\n}\n ";
|
|
4878
4945
|
export declare const useGenerateStructuredDataMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLGenerateStructuredDataMutation, TError, GQLGenerateStructuredDataMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLGenerateStructuredDataMutation, TError, Exact<{
|
|
4879
4946
|
input: GQLStructuredDataInput;
|
|
4880
4947
|
}>, TContext>;
|
|
@@ -4956,6 +5023,12 @@ export declare const RenameDatastoreGroupDocument = "\n mutation RenameDatast
|
|
|
4956
5023
|
export declare const useRenameDatastoreGroupMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRenameDatastoreGroupMutation, TError, GQLRenameDatastoreGroupMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRenameDatastoreGroupMutation, TError, Exact<{
|
|
4957
5024
|
input: GQLRenameDatastoreGroupInput;
|
|
4958
5025
|
}>, TContext>;
|
|
5026
|
+
export declare const RenameUserDocument = "\n mutation RenameUser($userId: String!, $firstName: String!, $lastName: String) {\n renameUser(userId: $userId, firstName: $firstName, lastName: $lastName) {\n id\n name\n }\n}\n ";
|
|
5027
|
+
export declare const useRenameUserMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRenameUserMutation, TError, GQLRenameUserMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRenameUserMutation, TError, Exact<{
|
|
5028
|
+
userId: Scalars["String"]["input"];
|
|
5029
|
+
firstName: Scalars["String"]["input"];
|
|
5030
|
+
lastName?: InputMaybe<Scalars["String"]["input"]>;
|
|
5031
|
+
}>, TContext>;
|
|
4959
5032
|
export declare const RestoreDatastoreDocument = "\n mutation RestoreDatastore($datastoreId: String!) {\n restoreDatastore(datastoreId: $datastoreId) {\n success\n error\n }\n}\n ";
|
|
4960
5033
|
export declare const useRestoreDatastoreMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLRestoreDatastoreMutation, TError, GQLRestoreDatastoreMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLRestoreDatastoreMutation, TError, Exact<{
|
|
4961
5034
|
datastoreId: Scalars["String"]["input"];
|
|
@@ -5681,7 +5754,7 @@ export declare const useSuspenseRulesQuery: {
|
|
|
5681
5754
|
typeFilter?: InputMaybe<Array<Scalars["IRI"]["input"]> | Scalars["IRI"]["input"]>;
|
|
5682
5755
|
}>)[];
|
|
5683
5756
|
};
|
|
5684
|
-
export declare const SessionContextDocument = "\n query SessionContext {\n sessionContext {\n datastoreAccessGranted\n user {\n id\n email\n name\n isOperator\n isOrgAdmin\n adminOrgs\n memberOrgs\n canManageIntegrations\n canManageStreams\n canManageSharedMemories\n canManageTeam\n datastore {\n id\n name\n depth\n selectable\n badge\n }\n }\n datastores {\n id\n name\n depth\n selectable\n badge\n }\n orgRoles {\n id\n groupName\n label\n capabilities\n }\n }\n}\n ";
|
|
5757
|
+
export declare const SessionContextDocument = "\n query SessionContext {\n sessionContext {\n datastoreAccessGranted\n user {\n id\n email\n name\n picture\n isOperator\n isOrgAdmin\n adminOrgs\n memberOrgs\n canManageIntegrations\n canManageStreams\n canManageSharedMemories\n canManageTeam\n datastore {\n id\n name\n depth\n selectable\n badge\n }\n }\n datastores {\n id\n name\n depth\n selectable\n badge\n }\n orgRoles {\n id\n groupName\n label\n capabilities\n }\n }\n}\n ";
|
|
5685
5758
|
export declare const useSessionContextQuery: {
|
|
5686
5759
|
<TData = GQLSessionContextQuery, TError = unknown>(client: GraphQLClient, variables?: GQLSessionContextQueryVariables, options?: Omit<UseQueryOptions<GQLSessionContextQuery, TError, TData>, "queryKey"> & {
|
|
5687
5760
|
queryKey?: UseQueryOptions<GQLSessionContextQuery, TError, TData>["queryKey"];
|
|
@@ -5749,7 +5822,7 @@ export declare const useSuspenseSupportedActionShapesQuery: {
|
|
|
5749
5822
|
rdfType?: InputMaybe<Scalars["String"]["input"]>;
|
|
5750
5823
|
}>)[];
|
|
5751
5824
|
};
|
|
5752
|
-
export declare const TeamDirectoryDocument = "\n query TeamDirectory($first: Int, $max: Int, $search: String, $activation: TeamDirectoryActivation, $knownTotal: Int) {\n teamDirectory(\n first: $first\n max: $max\n search: $search\n activation: $activation\n knownTotal: $knownTotal\n ) {\n truncated\n total\n hasMore\n users {\n id\n username\n email\n name\n pending\n inviteUrl\n federated\n enabled\n memberships {\n org\n name\n groups\n }\n }\n }\n}\n ";
|
|
5825
|
+
export declare const TeamDirectoryDocument = "\n query TeamDirectory($first: Int, $max: Int, $search: String, $activation: TeamDirectoryActivation, $knownTotal: Int) {\n teamDirectory(\n first: $first\n max: $max\n search: $search\n activation: $activation\n knownTotal: $knownTotal\n ) {\n truncated\n total\n hasMore\n users {\n id\n username\n email\n name\n firstName\n lastName\n pending\n inviteUrl\n federated\n nameReadOnly\n enabled\n memberships {\n org\n name\n groups\n }\n invitedTo {\n org\n name\n groups\n }\n }\n }\n}\n ";
|
|
5753
5826
|
export declare const useTeamDirectoryQuery: {
|
|
5754
5827
|
<TData = GQLTeamDirectoryQuery, TError = unknown>(client: GraphQLClient, variables?: GQLTeamDirectoryQueryVariables, options?: Omit<UseQueryOptions<GQLTeamDirectoryQuery, TError, TData>, "queryKey"> & {
|
|
5755
5828
|
queryKey?: UseQueryOptions<GQLTeamDirectoryQuery, TError, TData>["queryKey"];
|