@manta-eu/client 0.5.1 → 0.7.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 +100 -2
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +70 -0
- 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 +193 -0
- 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"]>;
|
|
@@ -1601,6 +1605,17 @@ export type GQLMetaAdAccount = {
|
|
|
1601
1605
|
parent?: Maybe<Scalars["String"]["output"]>;
|
|
1602
1606
|
unavailableReason?: Maybe<GQLSetupAccountUnavailableReason>;
|
|
1603
1607
|
};
|
|
1608
|
+
export type GQLMetaPage = {
|
|
1609
|
+
__typename?: "MetaPage";
|
|
1610
|
+
id: Scalars["String"]["output"];
|
|
1611
|
+
kind: GQLMetaPageKind;
|
|
1612
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
1613
|
+
parent?: Maybe<Scalars["String"]["output"]>;
|
|
1614
|
+
};
|
|
1615
|
+
export declare enum GQLMetaPageKind {
|
|
1616
|
+
Instagram = "INSTAGRAM",
|
|
1617
|
+
Page = "PAGE"
|
|
1618
|
+
}
|
|
1604
1619
|
export type GQLMetaSetupLastError = {
|
|
1605
1620
|
__typename?: "MetaSetupLastError";
|
|
1606
1621
|
message: Scalars["String"]["output"];
|
|
@@ -1611,15 +1626,18 @@ export type GQLMetaSetupProgress = {
|
|
|
1611
1626
|
__typename?: "MetaSetupProgress";
|
|
1612
1627
|
accounts?: Maybe<Array<GQLMetaAdAccount>>;
|
|
1613
1628
|
lastError?: Maybe<GQLMetaSetupLastError>;
|
|
1629
|
+
pages?: Maybe<Array<GQLMetaPage>>;
|
|
1614
1630
|
state: Array<GQLMetaSetupStateEnum>;
|
|
1615
1631
|
};
|
|
1616
1632
|
export declare enum GQLMetaSetupStateEnum {
|
|
1617
1633
|
ConnectingAccounts = "CONNECTING_ACCOUNTS",
|
|
1618
1634
|
FatallyFailed = "FATALLY_FAILED",
|
|
1619
1635
|
FetchingAccounts = "FETCHING_ACCOUNTS",
|
|
1636
|
+
FetchingPages = "FETCHING_PAGES",
|
|
1620
1637
|
Finished = "FINISHED",
|
|
1621
1638
|
NotFound = "NOT_FOUND",
|
|
1622
1639
|
SelectingAccounts = "SELECTING_ACCOUNTS",
|
|
1640
|
+
SelectingPages = "SELECTING_PAGES",
|
|
1623
1641
|
Setup = "SETUP",
|
|
1624
1642
|
TimedOut = "TIMED_OUT"
|
|
1625
1643
|
}
|
|
@@ -1674,6 +1692,7 @@ export type GQLMutation = {
|
|
|
1674
1692
|
disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
|
|
1675
1693
|
executeActionAddition: GQLExecuteActionResponse;
|
|
1676
1694
|
executeActionDeletion: GQLExecuteActionResponse;
|
|
1695
|
+
executeActionGraph: GQLExecuteActionResponse;
|
|
1677
1696
|
executeActionPlan: GQLExecuteActionPlanResponse;
|
|
1678
1697
|
executeActionUpdate: GQLExecuteActionResponse;
|
|
1679
1698
|
forgetUserName: GQLForgetUserNameResponse;
|
|
@@ -1686,6 +1705,7 @@ export type GQLMutation = {
|
|
|
1686
1705
|
inviteCustomAppUsers: Array<GQLCustomAppUserInvitation>;
|
|
1687
1706
|
inviteRoster: GQLRosterInvitationSummary;
|
|
1688
1707
|
inviteTeamMembers: GQLInviteSummary;
|
|
1708
|
+
/** @deprecated Organizations are no longer mirrored into the identity provider. */
|
|
1689
1709
|
linkOrganizationToProvider: GQLLinkOrganizationResponse;
|
|
1690
1710
|
linkUnlinkedDatastore: GQLProvisionDatastoreResponse;
|
|
1691
1711
|
linkedinSetupConnect?: Maybe<GQLLinkedinSetupProgress>;
|
|
@@ -1694,6 +1714,7 @@ export type GQLMutation = {
|
|
|
1694
1714
|
manualActionResolve?: Maybe<GQLManualActionResolvePayload>;
|
|
1695
1715
|
materializeOntologyCoverage: GQLMaterializeOntologyCoverageResponse;
|
|
1696
1716
|
metaSetupConnect: GQLMetaSetupProgress;
|
|
1717
|
+
metaSetupIncludePages: GQLMetaSetupProgress;
|
|
1697
1718
|
microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
|
|
1698
1719
|
pauseLDESStream: GQLLdesStreamResponse;
|
|
1699
1720
|
provisionDatastore: GQLProvisionDatastoreResponse;
|
|
@@ -1844,6 +1865,9 @@ export type GQLMutationExecuteActionAdditionArgs = {
|
|
|
1844
1865
|
export type GQLMutationExecuteActionDeletionArgs = {
|
|
1845
1866
|
input: GQLExecuteActionDeletionInput;
|
|
1846
1867
|
};
|
|
1868
|
+
export type GQLMutationExecuteActionGraphArgs = {
|
|
1869
|
+
input: GQLExecuteActionGraphInput;
|
|
1870
|
+
};
|
|
1847
1871
|
export type GQLMutationExecuteActionPlanArgs = {
|
|
1848
1872
|
input: GQLExecuteActionPlanInput;
|
|
1849
1873
|
};
|
|
@@ -1922,6 +1946,9 @@ export type GQLMutationManualActionResolveArgs = {
|
|
|
1922
1946
|
export type GQLMutationMetaSetupConnectArgs = {
|
|
1923
1947
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
1924
1948
|
};
|
|
1949
|
+
export type GQLMutationMetaSetupIncludePagesArgs = {
|
|
1950
|
+
pageIds: Array<Scalars["String"]["input"]>;
|
|
1951
|
+
};
|
|
1925
1952
|
export type GQLMutationMicrosoftAdsSetupConnectArgs = {
|
|
1926
1953
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
1927
1954
|
location: GQLInferalLocation;
|
|
@@ -2188,6 +2215,7 @@ export type GQLQuery = {
|
|
|
2188
2215
|
microsoftAdsSetupProgress: GQLMicrosoftAdsSetupProgress;
|
|
2189
2216
|
nodeProperties: GQLNodePropertiesResponse;
|
|
2190
2217
|
nodeRelationships: GQLActionPlanGraphResponse;
|
|
2218
|
+
/** @deprecated Organizations are no longer mirrored into the identity provider. */
|
|
2191
2219
|
organizationLinking?: Maybe<GQLOrganizationLinking>;
|
|
2192
2220
|
organizationNameAvailable: GQLOrganizationNameAvailability;
|
|
2193
2221
|
rules: GQLRulesResponse;
|
|
@@ -2202,6 +2230,7 @@ export type GQLQuery = {
|
|
|
2202
2230
|
teamManagedMemberships: Array<GQLTeamManagedMembership>;
|
|
2203
2231
|
teamMembers: GQLTeamRoster;
|
|
2204
2232
|
teamScope: GQLTeamScope;
|
|
2233
|
+
/** @deprecated Always null: organizations are no longer mirrored into the identity provider. */
|
|
2205
2234
|
tenantOrganization?: Maybe<GQLTenantOrganization>;
|
|
2206
2235
|
unlinkedDatastores: Array<GQLUnlinkedDatastore>;
|
|
2207
2236
|
userPreferences: GQLUserPreferences;
|
|
@@ -2815,6 +2844,7 @@ export type GQLTeamOrganization = {
|
|
|
2815
2844
|
/** @deprecated Every invitation now carries its role and teams. */
|
|
2816
2845
|
inviteCarriesGrants?: Maybe<Scalars["Boolean"]["output"]>;
|
|
2817
2846
|
managed: Scalars["Boolean"]["output"];
|
|
2847
|
+
/** @deprecated Always false: organizations are no longer mirrored. */
|
|
2818
2848
|
mirrored: Scalars["Boolean"]["output"];
|
|
2819
2849
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
2820
2850
|
};
|
|
@@ -3493,6 +3523,20 @@ export type GQLExecuteAgentActionDeletionMutation = {
|
|
|
3493
3523
|
code?: GQLExecuteActionErrorCode | null;
|
|
3494
3524
|
};
|
|
3495
3525
|
};
|
|
3526
|
+
export type GQLExecuteAgentActionGraphMutationVariables = Exact<{
|
|
3527
|
+
input: GQLExecuteActionGraphInput;
|
|
3528
|
+
}>;
|
|
3529
|
+
export type GQLExecuteAgentActionGraphMutation = {
|
|
3530
|
+
__typename?: "Mutation";
|
|
3531
|
+
executeActionGraph: {
|
|
3532
|
+
__typename?: "ExecuteActionResponse";
|
|
3533
|
+
success: boolean;
|
|
3534
|
+
workflowId?: string | null;
|
|
3535
|
+
namedGraphIri?: string | null;
|
|
3536
|
+
error?: string | null;
|
|
3537
|
+
code?: GQLExecuteActionErrorCode | null;
|
|
3538
|
+
};
|
|
3539
|
+
};
|
|
3496
3540
|
export type GQLExecuteAgentActionPlanMutationVariables = Exact<{
|
|
3497
3541
|
input: GQLExecuteActionPlanInput;
|
|
3498
3542
|
}>;
|
|
@@ -3788,6 +3832,45 @@ export type GQLMetaSetupConnectMutation = {
|
|
|
3788
3832
|
isConnectable?: boolean | null;
|
|
3789
3833
|
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
3790
3834
|
}> | null;
|
|
3835
|
+
pages?: Array<{
|
|
3836
|
+
__typename?: "MetaPage";
|
|
3837
|
+
id: string;
|
|
3838
|
+
name?: string | null;
|
|
3839
|
+
kind: GQLMetaPageKind;
|
|
3840
|
+
parent?: string | null;
|
|
3841
|
+
}> | null;
|
|
3842
|
+
lastError?: {
|
|
3843
|
+
__typename?: "MetaSetupLastError";
|
|
3844
|
+
severity: string;
|
|
3845
|
+
title?: string | null;
|
|
3846
|
+
message: string;
|
|
3847
|
+
} | null;
|
|
3848
|
+
};
|
|
3849
|
+
};
|
|
3850
|
+
export type GQLMetaSetupIncludePagesMutationVariables = Exact<{
|
|
3851
|
+
pageIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
3852
|
+
}>;
|
|
3853
|
+
export type GQLMetaSetupIncludePagesMutation = {
|
|
3854
|
+
__typename?: "Mutation";
|
|
3855
|
+
metaSetupIncludePages: {
|
|
3856
|
+
__typename?: "MetaSetupProgress";
|
|
3857
|
+
state: Array<GQLMetaSetupStateEnum>;
|
|
3858
|
+
accounts?: Array<{
|
|
3859
|
+
__typename?: "MetaAdAccount";
|
|
3860
|
+
id: string;
|
|
3861
|
+
name?: string | null;
|
|
3862
|
+
parent?: string | null;
|
|
3863
|
+
externalId?: string | null;
|
|
3864
|
+
isConnectable?: boolean | null;
|
|
3865
|
+
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
3866
|
+
}> | null;
|
|
3867
|
+
pages?: Array<{
|
|
3868
|
+
__typename?: "MetaPage";
|
|
3869
|
+
id: string;
|
|
3870
|
+
name?: string | null;
|
|
3871
|
+
kind: GQLMetaPageKind;
|
|
3872
|
+
parent?: string | null;
|
|
3873
|
+
}> | null;
|
|
3791
3874
|
lastError?: {
|
|
3792
3875
|
__typename?: "MetaSetupLastError";
|
|
3793
3876
|
severity: string;
|
|
@@ -5470,6 +5553,13 @@ export type GQLMetaSetupProgressQuery = {
|
|
|
5470
5553
|
isConnectable?: boolean | null;
|
|
5471
5554
|
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
5472
5555
|
}> | null;
|
|
5556
|
+
pages?: Array<{
|
|
5557
|
+
__typename?: "MetaPage";
|
|
5558
|
+
id: string;
|
|
5559
|
+
name?: string | null;
|
|
5560
|
+
kind: GQLMetaPageKind;
|
|
5561
|
+
parent?: string | null;
|
|
5562
|
+
}> | null;
|
|
5473
5563
|
lastError?: {
|
|
5474
5564
|
__typename?: "MetaSetupLastError";
|
|
5475
5565
|
severity: string;
|
|
@@ -6075,6 +6165,10 @@ export declare const ExecuteAgentActionDeletionDocument = "\n mutation Execut
|
|
|
6075
6165
|
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<{
|
|
6076
6166
|
input: GQLExecuteActionDeletionInput;
|
|
6077
6167
|
}>, TContext>;
|
|
6168
|
+
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 ";
|
|
6169
|
+
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<{
|
|
6170
|
+
input: GQLExecuteActionGraphInput;
|
|
6171
|
+
}>, TContext>;
|
|
6078
6172
|
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 ";
|
|
6079
6173
|
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<{
|
|
6080
6174
|
input: GQLExecuteActionPlanInput;
|
|
@@ -6152,10 +6246,14 @@ export declare const MaterializeOntologyCoverageDocument = "\n mutation Mater
|
|
|
6152
6246
|
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<{
|
|
6153
6247
|
[key: string]: never;
|
|
6154
6248
|
}>, TContext>;
|
|
6155
|
-
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 ";
|
|
6249
|
+
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 pages {\n id\n name\n kind\n parent\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
6156
6250
|
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<{
|
|
6157
6251
|
accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
6158
6252
|
}>, TContext>;
|
|
6253
|
+
export declare const MetaSetupIncludePagesDocument = "\n mutation MetaSetupIncludePages($pageIds: [String!]!) {\n metaSetupIncludePages(pageIds: $pageIds) {\n state\n accounts {\n id\n name\n parent\n externalId\n isConnectable\n unavailableReason\n }\n pages {\n id\n name\n kind\n parent\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
6254
|
+
export declare const useMetaSetupIncludePagesMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLMetaSetupIncludePagesMutation, TError, GQLMetaSetupIncludePagesMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLMetaSetupIncludePagesMutation, TError, Exact<{
|
|
6255
|
+
pageIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
6256
|
+
}>, TContext>;
|
|
6159
6257
|
export declare const MicrosoftAdsSetupConnectDocument = "\n mutation MicrosoftAdsSetupConnect($accountIds: [String!]!, $location: InferalLocation!) {\n microsoftAdsSetupConnect(accountIds: $accountIds, location: $location) {\n state\n accounts {\n id\n name\n number\n customerId\n connectable\n }\n lastError {\n severity\n message\n title\n }\n }\n}\n ";
|
|
6160
6258
|
export declare const useMicrosoftAdsSetupConnectMutation: <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<GQLMicrosoftAdsSetupConnectMutation, TError, GQLMicrosoftAdsSetupConnectMutationVariables, TContext>, headers?: RequestInit["headers"]) => import("@tanstack/react-query").UseMutationResult<GQLMicrosoftAdsSetupConnectMutation, TError, Exact<{
|
|
6161
6259
|
accountIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
@@ -7036,7 +7134,7 @@ export declare const useSuspenseMemorySchemasQuery: {
|
|
|
7036
7134
|
[key: string]: never;
|
|
7037
7135
|
}>)[];
|
|
7038
7136
|
};
|
|
7039
|
-
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 ";
|
|
7137
|
+
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 pages {\n id\n name\n kind\n parent\n }\n lastError {\n severity\n title\n message\n }\n }\n}\n ";
|
|
7040
7138
|
export declare const useMetaSetupProgressQuery: {
|
|
7041
7139
|
<TData = GQLMetaSetupProgressQuery, TError = unknown>(client: GraphQLClient, variables?: GQLMetaSetupProgressQueryVariables, options?: Omit<UseQueryOptions<GQLMetaSetupProgressQuery, TError, TData>, "queryKey"> & {
|
|
7042
7140
|
queryKey?: UseQueryOptions<GQLMetaSetupProgressQuery, TError, TData>["queryKey"];
|