@manta-eu/client 0.6.0 → 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/src/generated/graphql.ts
CHANGED
|
@@ -1623,6 +1623,19 @@ export type GQLMetaAdAccount = {
|
|
|
1623
1623
|
unavailableReason?: Maybe<GQLSetupAccountUnavailableReason>;
|
|
1624
1624
|
};
|
|
1625
1625
|
|
|
1626
|
+
export type GQLMetaPage = {
|
|
1627
|
+
__typename?: "MetaPage";
|
|
1628
|
+
id: Scalars["String"]["output"];
|
|
1629
|
+
kind: GQLMetaPageKind;
|
|
1630
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
1631
|
+
parent?: Maybe<Scalars["String"]["output"]>;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
export enum GQLMetaPageKind {
|
|
1635
|
+
Instagram = "INSTAGRAM",
|
|
1636
|
+
Page = "PAGE",
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1626
1639
|
export type GQLMetaSetupLastError = {
|
|
1627
1640
|
__typename?: "MetaSetupLastError";
|
|
1628
1641
|
message: Scalars["String"]["output"];
|
|
@@ -1634,6 +1647,7 @@ export type GQLMetaSetupProgress = {
|
|
|
1634
1647
|
__typename?: "MetaSetupProgress";
|
|
1635
1648
|
accounts?: Maybe<Array<GQLMetaAdAccount>>;
|
|
1636
1649
|
lastError?: Maybe<GQLMetaSetupLastError>;
|
|
1650
|
+
pages?: Maybe<Array<GQLMetaPage>>;
|
|
1637
1651
|
state: Array<GQLMetaSetupStateEnum>;
|
|
1638
1652
|
};
|
|
1639
1653
|
|
|
@@ -1641,9 +1655,11 @@ export enum GQLMetaSetupStateEnum {
|
|
|
1641
1655
|
ConnectingAccounts = "CONNECTING_ACCOUNTS",
|
|
1642
1656
|
FatallyFailed = "FATALLY_FAILED",
|
|
1643
1657
|
FetchingAccounts = "FETCHING_ACCOUNTS",
|
|
1658
|
+
FetchingPages = "FETCHING_PAGES",
|
|
1644
1659
|
Finished = "FINISHED",
|
|
1645
1660
|
NotFound = "NOT_FOUND",
|
|
1646
1661
|
SelectingAccounts = "SELECTING_ACCOUNTS",
|
|
1662
|
+
SelectingPages = "SELECTING_PAGES",
|
|
1647
1663
|
Setup = "SETUP",
|
|
1648
1664
|
TimedOut = "TIMED_OUT",
|
|
1649
1665
|
}
|
|
@@ -1724,6 +1740,7 @@ export type GQLMutation = {
|
|
|
1724
1740
|
manualActionResolve?: Maybe<GQLManualActionResolvePayload>;
|
|
1725
1741
|
materializeOntologyCoverage: GQLMaterializeOntologyCoverageResponse;
|
|
1726
1742
|
metaSetupConnect: GQLMetaSetupProgress;
|
|
1743
|
+
metaSetupIncludePages: GQLMetaSetupProgress;
|
|
1727
1744
|
microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
|
|
1728
1745
|
pauseLDESStream: GQLLdesStreamResponse;
|
|
1729
1746
|
provisionDatastore: GQLProvisionDatastoreResponse;
|
|
@@ -2008,6 +2025,10 @@ export type GQLMutationMetaSetupConnectArgs = {
|
|
|
2008
2025
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
2009
2026
|
};
|
|
2010
2027
|
|
|
2028
|
+
export type GQLMutationMetaSetupIncludePagesArgs = {
|
|
2029
|
+
pageIds: Array<Scalars["String"]["input"]>;
|
|
2030
|
+
};
|
|
2031
|
+
|
|
2011
2032
|
export type GQLMutationMicrosoftAdsSetupConnectArgs = {
|
|
2012
2033
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
2013
2034
|
location: GQLInferalLocation;
|
|
@@ -4061,6 +4082,42 @@ export type GQLMetaSetupConnectMutation = {
|
|
|
4061
4082
|
isConnectable?: boolean | null;
|
|
4062
4083
|
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
4063
4084
|
}> | null;
|
|
4085
|
+
pages?: Array<{
|
|
4086
|
+
__typename?: "MetaPage";
|
|
4087
|
+
id: string;
|
|
4088
|
+
name?: string | null;
|
|
4089
|
+
kind: GQLMetaPageKind;
|
|
4090
|
+
parent?: string | null;
|
|
4091
|
+
}> | null;
|
|
4092
|
+
lastError?: { __typename?: "MetaSetupLastError"; severity: string; title?: string | null; message: string } | null;
|
|
4093
|
+
};
|
|
4094
|
+
};
|
|
4095
|
+
|
|
4096
|
+
export type GQLMetaSetupIncludePagesMutationVariables = Exact<{
|
|
4097
|
+
pageIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
4098
|
+
}>;
|
|
4099
|
+
|
|
4100
|
+
export type GQLMetaSetupIncludePagesMutation = {
|
|
4101
|
+
__typename?: "Mutation";
|
|
4102
|
+
metaSetupIncludePages: {
|
|
4103
|
+
__typename?: "MetaSetupProgress";
|
|
4104
|
+
state: Array<GQLMetaSetupStateEnum>;
|
|
4105
|
+
accounts?: Array<{
|
|
4106
|
+
__typename?: "MetaAdAccount";
|
|
4107
|
+
id: string;
|
|
4108
|
+
name?: string | null;
|
|
4109
|
+
parent?: string | null;
|
|
4110
|
+
externalId?: string | null;
|
|
4111
|
+
isConnectable?: boolean | null;
|
|
4112
|
+
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
4113
|
+
}> | null;
|
|
4114
|
+
pages?: Array<{
|
|
4115
|
+
__typename?: "MetaPage";
|
|
4116
|
+
id: string;
|
|
4117
|
+
name?: string | null;
|
|
4118
|
+
kind: GQLMetaPageKind;
|
|
4119
|
+
parent?: string | null;
|
|
4120
|
+
}> | null;
|
|
4064
4121
|
lastError?: { __typename?: "MetaSetupLastError"; severity: string; title?: string | null; message: string } | null;
|
|
4065
4122
|
};
|
|
4066
4123
|
};
|
|
@@ -5649,6 +5706,13 @@ export type GQLMetaSetupProgressQuery = {
|
|
|
5649
5706
|
isConnectable?: boolean | null;
|
|
5650
5707
|
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
5651
5708
|
}> | null;
|
|
5709
|
+
pages?: Array<{
|
|
5710
|
+
__typename?: "MetaPage";
|
|
5711
|
+
id: string;
|
|
5712
|
+
name?: string | null;
|
|
5713
|
+
kind: GQLMetaPageKind;
|
|
5714
|
+
parent?: string | null;
|
|
5715
|
+
}> | null;
|
|
5652
5716
|
lastError?: { __typename?: "MetaSetupLastError"; severity: string; title?: string | null; message: string } | null;
|
|
5653
5717
|
};
|
|
5654
5718
|
};
|
|
@@ -7905,6 +7969,12 @@ export const MetaSetupConnectDocument = `
|
|
|
7905
7969
|
isConnectable
|
|
7906
7970
|
unavailableReason
|
|
7907
7971
|
}
|
|
7972
|
+
pages {
|
|
7973
|
+
id
|
|
7974
|
+
name
|
|
7975
|
+
kind
|
|
7976
|
+
parent
|
|
7977
|
+
}
|
|
7908
7978
|
lastError {
|
|
7909
7979
|
severity
|
|
7910
7980
|
title
|
|
@@ -7932,6 +8002,56 @@ export const useMetaSetupConnectMutation = <TError = unknown, TContext = unknown
|
|
|
7932
8002
|
});
|
|
7933
8003
|
};
|
|
7934
8004
|
|
|
8005
|
+
export const MetaSetupIncludePagesDocument = `
|
|
8006
|
+
mutation MetaSetupIncludePages($pageIds: [String!]!) {
|
|
8007
|
+
metaSetupIncludePages(pageIds: $pageIds) {
|
|
8008
|
+
state
|
|
8009
|
+
accounts {
|
|
8010
|
+
id
|
|
8011
|
+
name
|
|
8012
|
+
parent
|
|
8013
|
+
externalId
|
|
8014
|
+
isConnectable
|
|
8015
|
+
unavailableReason
|
|
8016
|
+
}
|
|
8017
|
+
pages {
|
|
8018
|
+
id
|
|
8019
|
+
name
|
|
8020
|
+
kind
|
|
8021
|
+
parent
|
|
8022
|
+
}
|
|
8023
|
+
lastError {
|
|
8024
|
+
severity
|
|
8025
|
+
title
|
|
8026
|
+
message
|
|
8027
|
+
}
|
|
8028
|
+
}
|
|
8029
|
+
}
|
|
8030
|
+
`;
|
|
8031
|
+
|
|
8032
|
+
export const useMetaSetupIncludePagesMutation = <TError = unknown, TContext = unknown>(
|
|
8033
|
+
client: GraphQLClient,
|
|
8034
|
+
options?: UseMutationOptions<
|
|
8035
|
+
GQLMetaSetupIncludePagesMutation,
|
|
8036
|
+
TError,
|
|
8037
|
+
GQLMetaSetupIncludePagesMutationVariables,
|
|
8038
|
+
TContext
|
|
8039
|
+
>,
|
|
8040
|
+
headers?: RequestInit["headers"],
|
|
8041
|
+
) => {
|
|
8042
|
+
return useMutation<GQLMetaSetupIncludePagesMutation, TError, GQLMetaSetupIncludePagesMutationVariables, TContext>({
|
|
8043
|
+
mutationKey: ["MetaSetupIncludePages"],
|
|
8044
|
+
mutationFn: (variables?: GQLMetaSetupIncludePagesMutationVariables) =>
|
|
8045
|
+
fetcher<GQLMetaSetupIncludePagesMutation, GQLMetaSetupIncludePagesMutationVariables>(
|
|
8046
|
+
client,
|
|
8047
|
+
MetaSetupIncludePagesDocument,
|
|
8048
|
+
variables,
|
|
8049
|
+
headers,
|
|
8050
|
+
)(),
|
|
8051
|
+
...options,
|
|
8052
|
+
});
|
|
8053
|
+
};
|
|
8054
|
+
|
|
7935
8055
|
export const MicrosoftAdsSetupConnectDocument = `
|
|
7936
8056
|
mutation MicrosoftAdsSetupConnect($accountIds: [String!]!, $location: InferalLocation!) {
|
|
7937
8057
|
microsoftAdsSetupConnect(accountIds: $accountIds, location: $location) {
|
|
@@ -11393,6 +11513,12 @@ export const MetaSetupProgressDocument = `
|
|
|
11393
11513
|
isConnectable
|
|
11394
11514
|
unavailableReason
|
|
11395
11515
|
}
|
|
11516
|
+
pages {
|
|
11517
|
+
id
|
|
11518
|
+
name
|
|
11519
|
+
kind
|
|
11520
|
+
parent
|
|
11521
|
+
}
|
|
11396
11522
|
lastError {
|
|
11397
11523
|
severity
|
|
11398
11524
|
title
|