@manta-eu/client 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/graphql.d.ts +78 -1
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +54 -1
- package/dist/generated/graphql.js.map +1 -1
- package/dist/shared/action-graph.d.ts +204 -0
- package/dist/shared/action-graph.d.ts.map +1 -0
- package/dist/shared/action-graph.js +319 -0
- package/dist/shared/action-graph.js.map +1 -0
- package/dist/shared/email.d.ts +7 -0
- package/dist/shared/email.d.ts.map +1 -1
- package/dist/shared/email.js +19 -0
- package/dist/shared/email.js.map +1 -1
- package/dist/shared/tools/metadata.d.ts.map +1 -1
- package/dist/shared/tools/metadata.js +9 -0
- package/dist/shared/tools/metadata.js.map +1 -1
- package/dist/shared/tools/types.d.ts +9 -1
- package/dist/shared/tools/types.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/generated/graphql.ts +153 -1
- package/src/shared/action-graph.ts +471 -0
- package/src/shared/email.ts +28 -0
- package/src/shared/tools/metadata.ts +10 -0
- package/src/shared/tools/types.ts +11 -1
|
@@ -950,6 +950,7 @@ export type GQLDatastoreTreeNode = {
|
|
|
950
950
|
depth: Scalars["Int"]["output"];
|
|
951
951
|
id: Scalars["String"]["output"];
|
|
952
952
|
isOrganization: Scalars["Boolean"]["output"];
|
|
953
|
+
/** @deprecated Always null: organizations are no longer mirrored. */
|
|
953
954
|
mirrored?: Maybe<Scalars["Boolean"]["output"]>;
|
|
954
955
|
name: Scalars["String"]["output"];
|
|
955
956
|
organizationAlias: Scalars["String"]["output"];
|
|
@@ -1067,6 +1068,9 @@ export declare enum GQLExecuteActionErrorCode {
|
|
|
1067
1068
|
Conflict = "CONFLICT",
|
|
1068
1069
|
Unknown = "UNKNOWN"
|
|
1069
1070
|
}
|
|
1071
|
+
export type GQLExecuteActionGraphInput = {
|
|
1072
|
+
graph: Scalars["JSONObject"]["input"];
|
|
1073
|
+
};
|
|
1070
1074
|
export type GQLExecuteActionPlanInput = {
|
|
1071
1075
|
autoApprove?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1072
1076
|
chatIri?: InputMaybe<Scalars["IRI"]["input"]>;
|
|
@@ -1674,6 +1678,7 @@ export type GQLMutation = {
|
|
|
1674
1678
|
disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
|
|
1675
1679
|
executeActionAddition: GQLExecuteActionResponse;
|
|
1676
1680
|
executeActionDeletion: GQLExecuteActionResponse;
|
|
1681
|
+
executeActionGraph: GQLExecuteActionResponse;
|
|
1677
1682
|
executeActionPlan: GQLExecuteActionPlanResponse;
|
|
1678
1683
|
executeActionUpdate: GQLExecuteActionResponse;
|
|
1679
1684
|
forgetUserName: GQLForgetUserNameResponse;
|
|
@@ -1686,6 +1691,7 @@ export type GQLMutation = {
|
|
|
1686
1691
|
inviteCustomAppUsers: Array<GQLCustomAppUserInvitation>;
|
|
1687
1692
|
inviteRoster: GQLRosterInvitationSummary;
|
|
1688
1693
|
inviteTeamMembers: GQLInviteSummary;
|
|
1694
|
+
/** @deprecated Organizations are no longer mirrored into the identity provider. */
|
|
1689
1695
|
linkOrganizationToProvider: GQLLinkOrganizationResponse;
|
|
1690
1696
|
linkUnlinkedDatastore: GQLProvisionDatastoreResponse;
|
|
1691
1697
|
linkedinSetupConnect?: Maybe<GQLLinkedinSetupProgress>;
|
|
@@ -1794,6 +1800,7 @@ export type GQLMutationCreateStripeBillingPortalSessionArgs = {
|
|
|
1794
1800
|
returnUrl: Scalars["String"]["input"];
|
|
1795
1801
|
};
|
|
1796
1802
|
export type GQLMutationCreateStripeCheckoutSessionArgs = {
|
|
1803
|
+
addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
1797
1804
|
cancelUrl: Scalars["String"]["input"];
|
|
1798
1805
|
datastoreId: Scalars["String"]["input"];
|
|
1799
1806
|
priceId: Scalars["String"]["input"];
|
|
@@ -1843,6 +1850,9 @@ export type GQLMutationExecuteActionAdditionArgs = {
|
|
|
1843
1850
|
export type GQLMutationExecuteActionDeletionArgs = {
|
|
1844
1851
|
input: GQLExecuteActionDeletionInput;
|
|
1845
1852
|
};
|
|
1853
|
+
export type GQLMutationExecuteActionGraphArgs = {
|
|
1854
|
+
input: GQLExecuteActionGraphInput;
|
|
1855
|
+
};
|
|
1846
1856
|
export type GQLMutationExecuteActionPlanArgs = {
|
|
1847
1857
|
input: GQLExecuteActionPlanInput;
|
|
1848
1858
|
};
|
|
@@ -2187,6 +2197,7 @@ export type GQLQuery = {
|
|
|
2187
2197
|
microsoftAdsSetupProgress: GQLMicrosoftAdsSetupProgress;
|
|
2188
2198
|
nodeProperties: GQLNodePropertiesResponse;
|
|
2189
2199
|
nodeRelationships: GQLActionPlanGraphResponse;
|
|
2200
|
+
/** @deprecated Organizations are no longer mirrored into the identity provider. */
|
|
2190
2201
|
organizationLinking?: Maybe<GQLOrganizationLinking>;
|
|
2191
2202
|
organizationNameAvailable: GQLOrganizationNameAvailability;
|
|
2192
2203
|
rules: GQLRulesResponse;
|
|
@@ -2201,6 +2212,7 @@ export type GQLQuery = {
|
|
|
2201
2212
|
teamManagedMemberships: Array<GQLTeamManagedMembership>;
|
|
2202
2213
|
teamMembers: GQLTeamRoster;
|
|
2203
2214
|
teamScope: GQLTeamScope;
|
|
2215
|
+
/** @deprecated Always null: organizations are no longer mirrored into the identity provider. */
|
|
2204
2216
|
tenantOrganization?: Maybe<GQLTenantOrganization>;
|
|
2205
2217
|
unlinkedDatastores: Array<GQLUnlinkedDatastore>;
|
|
2206
2218
|
userPreferences: GQLUserPreferences;
|
|
@@ -2584,11 +2596,16 @@ export type GQLSessionUser = {
|
|
|
2584
2596
|
canManageSharedMemories: Scalars["Boolean"]["output"];
|
|
2585
2597
|
canManageStreams: Scalars["Boolean"]["output"];
|
|
2586
2598
|
canManageTeam: Scalars["Boolean"]["output"];
|
|
2599
|
+
canRename: Scalars["Boolean"]["output"];
|
|
2600
|
+
canUploadProfilePicture: Scalars["Boolean"]["output"];
|
|
2587
2601
|
datastore?: Maybe<GQLCustomerDatastore>;
|
|
2588
2602
|
email: Scalars["String"]["output"];
|
|
2603
|
+
federated: Scalars["Boolean"]["output"];
|
|
2604
|
+
firstName?: Maybe<Scalars["String"]["output"]>;
|
|
2589
2605
|
id: Scalars["String"]["output"];
|
|
2590
2606
|
isOperator: Scalars["Boolean"]["output"];
|
|
2591
2607
|
isOrgAdmin: Scalars["Boolean"]["output"];
|
|
2608
|
+
lastName?: Maybe<Scalars["String"]["output"]>;
|
|
2592
2609
|
memberOrgs: Array<Scalars["String"]["output"]>;
|
|
2593
2610
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2594
2611
|
picture?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -2809,6 +2826,7 @@ export type GQLTeamOrganization = {
|
|
|
2809
2826
|
/** @deprecated Every invitation now carries its role and teams. */
|
|
2810
2827
|
inviteCarriesGrants?: Maybe<Scalars["Boolean"]["output"]>;
|
|
2811
2828
|
managed: Scalars["Boolean"]["output"];
|
|
2829
|
+
/** @deprecated Always false: organizations are no longer mirrored. */
|
|
2812
2830
|
mirrored: Scalars["Boolean"]["output"];
|
|
2813
2831
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2814
2832
|
};
|
|
@@ -3304,6 +3322,7 @@ export type GQLCreateStripeBillingPortalSessionMutation = {
|
|
|
3304
3322
|
export type GQLCreateStripeCheckoutSessionMutationVariables = Exact<{
|
|
3305
3323
|
datastoreId: Scalars["String"]["input"];
|
|
3306
3324
|
priceId: Scalars["String"]["input"];
|
|
3325
|
+
addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
3307
3326
|
successUrl: Scalars["String"]["input"];
|
|
3308
3327
|
cancelUrl: Scalars["String"]["input"];
|
|
3309
3328
|
}>;
|
|
@@ -3486,6 +3505,20 @@ export type GQLExecuteAgentActionDeletionMutation = {
|
|
|
3486
3505
|
code?: GQLExecuteActionErrorCode | null;
|
|
3487
3506
|
};
|
|
3488
3507
|
};
|
|
3508
|
+
export type GQLExecuteAgentActionGraphMutationVariables = Exact<{
|
|
3509
|
+
input: GQLExecuteActionGraphInput;
|
|
3510
|
+
}>;
|
|
3511
|
+
export type GQLExecuteAgentActionGraphMutation = {
|
|
3512
|
+
__typename?: "Mutation";
|
|
3513
|
+
executeActionGraph: {
|
|
3514
|
+
__typename?: "ExecuteActionResponse";
|
|
3515
|
+
success: boolean;
|
|
3516
|
+
workflowId?: string | null;
|
|
3517
|
+
namedGraphIri?: string | null;
|
|
3518
|
+
error?: string | null;
|
|
3519
|
+
code?: GQLExecuteActionErrorCode | null;
|
|
3520
|
+
};
|
|
3521
|
+
};
|
|
3489
3522
|
export type GQLExecuteAgentActionPlanMutationVariables = Exact<{
|
|
3490
3523
|
input: GQLExecuteActionPlanInput;
|
|
3491
3524
|
}>;
|
|
@@ -5541,6 +5574,28 @@ export type GQLOrganizationLinkingQuery = {
|
|
|
5541
5574
|
linkEnabled: boolean;
|
|
5542
5575
|
} | null;
|
|
5543
5576
|
};
|
|
5577
|
+
export type GQLProfileQueryVariables = Exact<{
|
|
5578
|
+
[key: string]: never;
|
|
5579
|
+
}>;
|
|
5580
|
+
export type GQLProfileQuery = {
|
|
5581
|
+
__typename?: "Query";
|
|
5582
|
+
sessionContext: {
|
|
5583
|
+
__typename?: "SessionContext";
|
|
5584
|
+
user: {
|
|
5585
|
+
__typename?: "SessionUser";
|
|
5586
|
+
id: string;
|
|
5587
|
+
email: string;
|
|
5588
|
+
name?: string | null;
|
|
5589
|
+
firstName?: string | null;
|
|
5590
|
+
lastName?: string | null;
|
|
5591
|
+
federated: boolean;
|
|
5592
|
+
picture?: string | null;
|
|
5593
|
+
pictureSource?: GQLPictureSource | null;
|
|
5594
|
+
canRename: boolean;
|
|
5595
|
+
canUploadProfilePicture: boolean;
|
|
5596
|
+
};
|
|
5597
|
+
};
|
|
5598
|
+
};
|
|
5544
5599
|
export type GQLRulesQueryVariables = Exact<{
|
|
5545
5600
|
ruleIri?: InputMaybe<Scalars["IRI"]["input"]>;
|
|
5546
5601
|
filterByOwner?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -5980,10 +6035,11 @@ export declare const useCreateStripeBillingPortalSessionMutation: <TError = unkn
|
|
|
5980
6035
|
datastoreId: Scalars["String"]["input"];
|
|
5981
6036
|
returnUrl: Scalars["String"]["input"];
|
|
5982
6037
|
}>, TContext>;
|
|
5983
|
-
export declare const CreateStripeCheckoutSessionDocument = "\n mutation CreateStripeCheckoutSession($datastoreId: String!, $priceId: String!, $successUrl: String!, $cancelUrl: String!) {\n createStripeCheckoutSession(\n datastoreId: $datastoreId\n priceId: $priceId\n successUrl: $successUrl\n cancelUrl: $cancelUrl\n ) {\n success\n url\n error\n }\n}\n ";
|
|
6038
|
+
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 ";
|
|
5984
6039
|
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<{
|
|
5985
6040
|
datastoreId: Scalars["String"]["input"];
|
|
5986
6041
|
priceId: Scalars["String"]["input"];
|
|
6042
|
+
addOnPriceId?: InputMaybe<Scalars["String"]["input"]>;
|
|
5987
6043
|
successUrl: Scalars["String"]["input"];
|
|
5988
6044
|
cancelUrl: Scalars["String"]["input"];
|
|
5989
6045
|
}>, TContext>;
|
|
@@ -6045,6 +6101,10 @@ export declare const ExecuteAgentActionDeletionDocument = "\n mutation Execut
|
|
|
6045
6101
|
export declare const useExecuteAgentActionDeletionMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLExecuteAgentActionDeletionMutation, TError, GQLExecuteAgentActionDeletionMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLExecuteAgentActionDeletionMutation, TError, Exact<{
|
|
6046
6102
|
input: GQLExecuteActionDeletionInput;
|
|
6047
6103
|
}>, TContext>;
|
|
6104
|
+
export declare const ExecuteAgentActionGraphDocument = "\n mutation ExecuteAgentActionGraph($input: ExecuteActionGraphInput!) {\n executeActionGraph(input: $input) {\n success\n workflowId\n namedGraphIri\n error\n code\n }\n}\n ";
|
|
6105
|
+
export declare const useExecuteAgentActionGraphMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLExecuteAgentActionGraphMutation, TError, GQLExecuteAgentActionGraphMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLExecuteAgentActionGraphMutation, TError, Exact<{
|
|
6106
|
+
input: GQLExecuteActionGraphInput;
|
|
6107
|
+
}>, TContext>;
|
|
6048
6108
|
export declare const ExecuteAgentActionPlanDocument = "\n mutation ExecuteAgentActionPlan($input: ExecuteActionPlanInput!) {\n executeActionPlan(input: $input) {\n success\n content\n workflowId\n error\n planValidation {\n valid\n completeness\n issues\n }\n semanticDiff {\n creates\n updates\n deletes\n operations\n }\n }\n}\n ";
|
|
6049
6109
|
export declare const useExecuteAgentActionPlanMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLExecuteAgentActionPlanMutation, TError, GQLExecuteAgentActionPlanMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLExecuteAgentActionPlanMutation, TError, Exact<{
|
|
6050
6110
|
input: GQLExecuteActionPlanInput;
|
|
@@ -7097,6 +7157,23 @@ export declare const useSuspenseOrganizationLinkingQuery: {
|
|
|
7097
7157
|
[key: string]: never;
|
|
7098
7158
|
}>)[];
|
|
7099
7159
|
};
|
|
7160
|
+
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 ";
|
|
7161
|
+
export declare const useProfileQuery: {
|
|
7162
|
+
<TData = GQLProfileQuery, TError = unknown>(client: GraphQLClient, variables?: GQLProfileQueryVariables, options?: Omit<UseQueryOptions<GQLProfileQuery, TError, TData>, "queryKey"> & {
|
|
7163
|
+
queryKey?: UseQueryOptions<GQLProfileQuery, TError, TData>["queryKey"];
|
|
7164
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<TData>, TError>;
|
|
7165
|
+
getKey(variables?: GQLProfileQueryVariables): (string | Exact<{
|
|
7166
|
+
[key: string]: never;
|
|
7167
|
+
}>)[];
|
|
7168
|
+
};
|
|
7169
|
+
export declare const useSuspenseProfileQuery: {
|
|
7170
|
+
<TData = GQLProfileQuery, TError = unknown>(client: GraphQLClient, variables?: GQLProfileQueryVariables, options?: Omit<UseSuspenseQueryOptions<GQLProfileQuery, TError, TData>, "queryKey"> & {
|
|
7171
|
+
queryKey?: UseSuspenseQueryOptions<GQLProfileQuery, TError, TData>["queryKey"];
|
|
7172
|
+
}, headers?: RequestInit["headers"]): import("@tanstack/react-query").UseSuspenseQueryResult<TData, TError>;
|
|
7173
|
+
getKey(variables?: GQLProfileQueryVariables): (string | Exact<{
|
|
7174
|
+
[key: string]: never;
|
|
7175
|
+
}>)[];
|
|
7176
|
+
};
|
|
7100
7177
|
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 ";
|
|
7101
7178
|
export declare const useRulesQuery: {
|
|
7102
7179
|
<TData = GQLRulesQuery, TError = unknown>(client: GraphQLClient, variables?: GQLRulesQueryVariables, options?: Omit<UseQueryOptions<GQLRulesQuery, TError, TData>, "queryKey"> & {
|