@manta-eu/client 0.6.0 → 0.8.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manta-eu/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "The Manta GraphQL contract and the typed React Query hooks generated from it",
|
|
5
5
|
"homepage": "https://developers.manta.eu",
|
|
6
6
|
"keywords": [
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"uuid": "^13.0.0",
|
|
60
60
|
"whatwg-mimetype": "^5.0.0",
|
|
61
61
|
"zod": "^4.5.0",
|
|
62
|
-
"@manta-eu/
|
|
63
|
-
"@manta-eu/
|
|
64
|
-
"@manta-eu/
|
|
65
|
-
"@manta-eu/
|
|
62
|
+
"@manta-eu/lib": "0.8.0",
|
|
63
|
+
"@manta-eu/datalog-parser": "0.8.0",
|
|
64
|
+
"@manta-eu/rdf-lib": "0.8.0",
|
|
65
|
+
"@manta-eu/ldo": "0.8.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@tanstack/react-query": "^5.100.10"
|
|
@@ -82,10 +82,6 @@
|
|
|
82
82
|
"vitest": "^4.1.8",
|
|
83
83
|
"@manta-eu/eslint-config": "0.1.0"
|
|
84
84
|
},
|
|
85
|
-
"prettier": {
|
|
86
|
-
"printWidth": 120,
|
|
87
|
-
"trailingComma": "all"
|
|
88
|
-
},
|
|
89
85
|
"imports": {
|
|
90
86
|
"#*": {
|
|
91
87
|
"manta-source": [
|
|
@@ -105,6 +101,8 @@
|
|
|
105
101
|
"test": "vitest --run --passWithNoTests",
|
|
106
102
|
"codegen:check": "./verify-generated.sh",
|
|
107
103
|
"lint": "eslint .",
|
|
108
|
-
"lint:fix": "eslint . --fix"
|
|
104
|
+
"lint:fix": "eslint . --fix",
|
|
105
|
+
"format": "prettier --write .",
|
|
106
|
+
"format:check": "prettier --check ."
|
|
109
107
|
}
|
|
110
108
|
}
|
package/src/generated/graphql.ts
CHANGED
|
@@ -1292,6 +1292,18 @@ export enum GQLIntegration {
|
|
|
1292
1292
|
Woocommerce = "WOOCOMMERCE",
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
|
+
export type GQLInvitationAcceptedResponse = {
|
|
1296
|
+
__typename?: "InvitationAcceptedResponse";
|
|
1297
|
+
joined: Scalars["Boolean"]["output"];
|
|
1298
|
+
organizationId: Scalars["ID"]["output"];
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
export type GQLInvitationDeclinedResponse = {
|
|
1302
|
+
__typename?: "InvitationDeclinedResponse";
|
|
1303
|
+
declined: Scalars["Boolean"]["output"];
|
|
1304
|
+
organizationId: Scalars["ID"]["output"];
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1295
1307
|
export enum GQLInviteGrantOutcome {
|
|
1296
1308
|
Applied = "applied",
|
|
1297
1309
|
Dropped = "dropped",
|
|
@@ -1623,6 +1635,19 @@ export type GQLMetaAdAccount = {
|
|
|
1623
1635
|
unavailableReason?: Maybe<GQLSetupAccountUnavailableReason>;
|
|
1624
1636
|
};
|
|
1625
1637
|
|
|
1638
|
+
export type GQLMetaPage = {
|
|
1639
|
+
__typename?: "MetaPage";
|
|
1640
|
+
id: Scalars["String"]["output"];
|
|
1641
|
+
kind: GQLMetaPageKind;
|
|
1642
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
1643
|
+
parent?: Maybe<Scalars["String"]["output"]>;
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
export enum GQLMetaPageKind {
|
|
1647
|
+
Instagram = "INSTAGRAM",
|
|
1648
|
+
Page = "PAGE",
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1626
1651
|
export type GQLMetaSetupLastError = {
|
|
1627
1652
|
__typename?: "MetaSetupLastError";
|
|
1628
1653
|
message: Scalars["String"]["output"];
|
|
@@ -1634,6 +1659,7 @@ export type GQLMetaSetupProgress = {
|
|
|
1634
1659
|
__typename?: "MetaSetupProgress";
|
|
1635
1660
|
accounts?: Maybe<Array<GQLMetaAdAccount>>;
|
|
1636
1661
|
lastError?: Maybe<GQLMetaSetupLastError>;
|
|
1662
|
+
pages?: Maybe<Array<GQLMetaPage>>;
|
|
1637
1663
|
state: Array<GQLMetaSetupStateEnum>;
|
|
1638
1664
|
};
|
|
1639
1665
|
|
|
@@ -1641,9 +1667,11 @@ export enum GQLMetaSetupStateEnum {
|
|
|
1641
1667
|
ConnectingAccounts = "CONNECTING_ACCOUNTS",
|
|
1642
1668
|
FatallyFailed = "FATALLY_FAILED",
|
|
1643
1669
|
FetchingAccounts = "FETCHING_ACCOUNTS",
|
|
1670
|
+
FetchingPages = "FETCHING_PAGES",
|
|
1644
1671
|
Finished = "FINISHED",
|
|
1645
1672
|
NotFound = "NOT_FOUND",
|
|
1646
1673
|
SelectingAccounts = "SELECTING_ACCOUNTS",
|
|
1674
|
+
SelectingPages = "SELECTING_PAGES",
|
|
1647
1675
|
Setup = "SETUP",
|
|
1648
1676
|
TimedOut = "TIMED_OUT",
|
|
1649
1677
|
}
|
|
@@ -1671,6 +1699,7 @@ export type GQLMicrosoftAdsSetupProgress = {
|
|
|
1671
1699
|
export type GQLMutation = {
|
|
1672
1700
|
__typename?: "Mutation";
|
|
1673
1701
|
abortUpload: GQLAbortUploadResponse;
|
|
1702
|
+
acceptInvitation: GQLInvitationAcceptedResponse;
|
|
1674
1703
|
assignTeamMembers: GQLAssignmentSummary;
|
|
1675
1704
|
attributeStripeSubscription: GQLAttributeStripeSubscriptionResponse;
|
|
1676
1705
|
awaitDataConnectionTest: GQLDataConnectionTestState;
|
|
@@ -1689,6 +1718,7 @@ export type GQLMutation = {
|
|
|
1689
1718
|
createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
|
|
1690
1719
|
createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
|
|
1691
1720
|
dashSetupConnect: GQLDashSetupProgress;
|
|
1721
|
+
declineInvitation: GQLInvitationDeclinedResponse;
|
|
1692
1722
|
deleteActionPlan: GQLDeleteActionPlanResponse;
|
|
1693
1723
|
deleteCustomApp: GQLCustomAppDeletedResponse;
|
|
1694
1724
|
deleteDataConnection: GQLDeleteDataConnectionResponse;
|
|
@@ -1724,6 +1754,7 @@ export type GQLMutation = {
|
|
|
1724
1754
|
manualActionResolve?: Maybe<GQLManualActionResolvePayload>;
|
|
1725
1755
|
materializeOntologyCoverage: GQLMaterializeOntologyCoverageResponse;
|
|
1726
1756
|
metaSetupConnect: GQLMetaSetupProgress;
|
|
1757
|
+
metaSetupIncludePages: GQLMetaSetupProgress;
|
|
1727
1758
|
microsoftAdsSetupConnect: GQLMicrosoftAdsSetupProgress;
|
|
1728
1759
|
pauseLDESStream: GQLLdesStreamResponse;
|
|
1729
1760
|
provisionDatastore: GQLProvisionDatastoreResponse;
|
|
@@ -1765,6 +1796,10 @@ export type GQLMutationAbortUploadArgs = {
|
|
|
1765
1796
|
input: GQLAbortUploadInput;
|
|
1766
1797
|
};
|
|
1767
1798
|
|
|
1799
|
+
export type GQLMutationAcceptInvitationArgs = {
|
|
1800
|
+
organizationId: Scalars["ID"]["input"];
|
|
1801
|
+
};
|
|
1802
|
+
|
|
1768
1803
|
export type GQLMutationAssignTeamMembersArgs = {
|
|
1769
1804
|
roles?: InputMaybe<Array<GQLAssignmentRoleInput>>;
|
|
1770
1805
|
targets: Array<GQLAssignTargetInput>;
|
|
@@ -1853,6 +1888,10 @@ export type GQLMutationDashSetupConnectArgs = {
|
|
|
1853
1888
|
folderIds: Array<Scalars["String"]["input"]>;
|
|
1854
1889
|
};
|
|
1855
1890
|
|
|
1891
|
+
export type GQLMutationDeclineInvitationArgs = {
|
|
1892
|
+
organizationId: Scalars["ID"]["input"];
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1856
1895
|
export type GQLMutationDeleteActionPlanArgs = {
|
|
1857
1896
|
input: GQLDeleteActionPlanInput;
|
|
1858
1897
|
};
|
|
@@ -2008,6 +2047,10 @@ export type GQLMutationMetaSetupConnectArgs = {
|
|
|
2008
2047
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
2009
2048
|
};
|
|
2010
2049
|
|
|
2050
|
+
export type GQLMutationMetaSetupIncludePagesArgs = {
|
|
2051
|
+
pageIds: Array<Scalars["String"]["input"]>;
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2011
2054
|
export type GQLMutationMicrosoftAdsSetupConnectArgs = {
|
|
2012
2055
|
accountIds: Array<Scalars["String"]["input"]>;
|
|
2013
2056
|
location: GQLInferalLocation;
|
|
@@ -2206,6 +2249,13 @@ export type GQLOrganizationNameAvailability = {
|
|
|
2206
2249
|
checked: Scalars["Boolean"]["output"];
|
|
2207
2250
|
};
|
|
2208
2251
|
|
|
2252
|
+
export type GQLPendingInvitation = {
|
|
2253
|
+
__typename?: "PendingInvitation";
|
|
2254
|
+
organizationAlias: Scalars["String"]["output"];
|
|
2255
|
+
organizationId: Scalars["ID"]["output"];
|
|
2256
|
+
organizationName: Scalars["String"]["output"];
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2209
2259
|
export type GQLPerson = {
|
|
2210
2260
|
__typename?: "Person";
|
|
2211
2261
|
name: Scalars["String"]["output"];
|
|
@@ -2326,6 +2376,7 @@ export type GQLQuery = {
|
|
|
2326
2376
|
/** @deprecated Organizations are no longer mirrored into the identity provider. */
|
|
2327
2377
|
organizationLinking?: Maybe<GQLOrganizationLinking>;
|
|
2328
2378
|
organizationNameAvailable: GQLOrganizationNameAvailability;
|
|
2379
|
+
pendingInvitations: Array<GQLPendingInvitation>;
|
|
2329
2380
|
rules: GQLRulesResponse;
|
|
2330
2381
|
sessionContext: GQLSessionContext;
|
|
2331
2382
|
shaclShapes: GQLShaclShapesResponse;
|
|
@@ -3323,6 +3374,15 @@ export type GQLAbortUploadMutation = {
|
|
|
3323
3374
|
abortUpload: { __typename?: "AbortUploadResponse"; ok: boolean };
|
|
3324
3375
|
};
|
|
3325
3376
|
|
|
3377
|
+
export type GQLAcceptInvitationMutationVariables = Exact<{
|
|
3378
|
+
organizationId: Scalars["ID"]["input"];
|
|
3379
|
+
}>;
|
|
3380
|
+
|
|
3381
|
+
export type GQLAcceptInvitationMutation = {
|
|
3382
|
+
__typename?: "Mutation";
|
|
3383
|
+
acceptInvitation: { __typename?: "InvitationAcceptedResponse"; organizationId: string; joined: boolean };
|
|
3384
|
+
};
|
|
3385
|
+
|
|
3326
3386
|
export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
|
|
3327
3387
|
subscriptionId: Scalars["String"]["input"];
|
|
3328
3388
|
datastoreId: Scalars["String"]["input"];
|
|
@@ -3623,6 +3683,15 @@ export type GQLDashSetupConnectMutation = {
|
|
|
3623
3683
|
};
|
|
3624
3684
|
};
|
|
3625
3685
|
|
|
3686
|
+
export type GQLDeclineInvitationMutationVariables = Exact<{
|
|
3687
|
+
organizationId: Scalars["ID"]["input"];
|
|
3688
|
+
}>;
|
|
3689
|
+
|
|
3690
|
+
export type GQLDeclineInvitationMutation = {
|
|
3691
|
+
__typename?: "Mutation";
|
|
3692
|
+
declineInvitation: { __typename?: "InvitationDeclinedResponse"; organizationId: string; declined: boolean };
|
|
3693
|
+
};
|
|
3694
|
+
|
|
3626
3695
|
export type GQLDeleteActionPlanMutationVariables = Exact<{
|
|
3627
3696
|
input: GQLDeleteActionPlanInput;
|
|
3628
3697
|
}>;
|
|
@@ -4061,6 +4130,42 @@ export type GQLMetaSetupConnectMutation = {
|
|
|
4061
4130
|
isConnectable?: boolean | null;
|
|
4062
4131
|
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
4063
4132
|
}> | null;
|
|
4133
|
+
pages?: Array<{
|
|
4134
|
+
__typename?: "MetaPage";
|
|
4135
|
+
id: string;
|
|
4136
|
+
name?: string | null;
|
|
4137
|
+
kind: GQLMetaPageKind;
|
|
4138
|
+
parent?: string | null;
|
|
4139
|
+
}> | null;
|
|
4140
|
+
lastError?: { __typename?: "MetaSetupLastError"; severity: string; title?: string | null; message: string } | null;
|
|
4141
|
+
};
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4144
|
+
export type GQLMetaSetupIncludePagesMutationVariables = Exact<{
|
|
4145
|
+
pageIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
|
|
4146
|
+
}>;
|
|
4147
|
+
|
|
4148
|
+
export type GQLMetaSetupIncludePagesMutation = {
|
|
4149
|
+
__typename?: "Mutation";
|
|
4150
|
+
metaSetupIncludePages: {
|
|
4151
|
+
__typename?: "MetaSetupProgress";
|
|
4152
|
+
state: Array<GQLMetaSetupStateEnum>;
|
|
4153
|
+
accounts?: Array<{
|
|
4154
|
+
__typename?: "MetaAdAccount";
|
|
4155
|
+
id: string;
|
|
4156
|
+
name?: string | null;
|
|
4157
|
+
parent?: string | null;
|
|
4158
|
+
externalId?: string | null;
|
|
4159
|
+
isConnectable?: boolean | null;
|
|
4160
|
+
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
4161
|
+
}> | null;
|
|
4162
|
+
pages?: Array<{
|
|
4163
|
+
__typename?: "MetaPage";
|
|
4164
|
+
id: string;
|
|
4165
|
+
name?: string | null;
|
|
4166
|
+
kind: GQLMetaPageKind;
|
|
4167
|
+
parent?: string | null;
|
|
4168
|
+
}> | null;
|
|
4064
4169
|
lastError?: { __typename?: "MetaSetupLastError"; severity: string; title?: string | null; message: string } | null;
|
|
4065
4170
|
};
|
|
4066
4171
|
};
|
|
@@ -5649,6 +5754,13 @@ export type GQLMetaSetupProgressQuery = {
|
|
|
5649
5754
|
isConnectable?: boolean | null;
|
|
5650
5755
|
unavailableReason?: GQLSetupAccountUnavailableReason | null;
|
|
5651
5756
|
}> | null;
|
|
5757
|
+
pages?: Array<{
|
|
5758
|
+
__typename?: "MetaPage";
|
|
5759
|
+
id: string;
|
|
5760
|
+
name?: string | null;
|
|
5761
|
+
kind: GQLMetaPageKind;
|
|
5762
|
+
parent?: string | null;
|
|
5763
|
+
}> | null;
|
|
5652
5764
|
lastError?: { __typename?: "MetaSetupLastError"; severity: string; title?: string | null; message: string } | null;
|
|
5653
5765
|
};
|
|
5654
5766
|
};
|
|
@@ -5720,6 +5832,18 @@ export type GQLOrganizationLinkingQuery = {
|
|
|
5720
5832
|
organizationLinking?: { __typename?: "OrganizationLinking"; pushEnabled: boolean; linkEnabled: boolean } | null;
|
|
5721
5833
|
};
|
|
5722
5834
|
|
|
5835
|
+
export type GQLPendingInvitationsQueryVariables = Exact<{ [key: string]: never }>;
|
|
5836
|
+
|
|
5837
|
+
export type GQLPendingInvitationsQuery = {
|
|
5838
|
+
__typename?: "Query";
|
|
5839
|
+
pendingInvitations: Array<{
|
|
5840
|
+
__typename?: "PendingInvitation";
|
|
5841
|
+
organizationId: string;
|
|
5842
|
+
organizationAlias: string;
|
|
5843
|
+
organizationName: string;
|
|
5844
|
+
}>;
|
|
5845
|
+
};
|
|
5846
|
+
|
|
5723
5847
|
export type GQLProfileQueryVariables = Exact<{ [key: string]: never }>;
|
|
5724
5848
|
|
|
5725
5849
|
export type GQLProfileQuery = {
|
|
@@ -6280,6 +6404,33 @@ export const useAbortUploadMutation = <TError = unknown, TContext = unknown>(
|
|
|
6280
6404
|
});
|
|
6281
6405
|
};
|
|
6282
6406
|
|
|
6407
|
+
export const AcceptInvitationDocument = `
|
|
6408
|
+
mutation AcceptInvitation($organizationId: ID!) {
|
|
6409
|
+
acceptInvitation(organizationId: $organizationId) {
|
|
6410
|
+
organizationId
|
|
6411
|
+
joined
|
|
6412
|
+
}
|
|
6413
|
+
}
|
|
6414
|
+
`;
|
|
6415
|
+
|
|
6416
|
+
export const useAcceptInvitationMutation = <TError = unknown, TContext = unknown>(
|
|
6417
|
+
client: GraphQLClient,
|
|
6418
|
+
options?: UseMutationOptions<GQLAcceptInvitationMutation, TError, GQLAcceptInvitationMutationVariables, TContext>,
|
|
6419
|
+
headers?: RequestInit["headers"],
|
|
6420
|
+
) => {
|
|
6421
|
+
return useMutation<GQLAcceptInvitationMutation, TError, GQLAcceptInvitationMutationVariables, TContext>({
|
|
6422
|
+
mutationKey: ["AcceptInvitation"],
|
|
6423
|
+
mutationFn: (variables?: GQLAcceptInvitationMutationVariables) =>
|
|
6424
|
+
fetcher<GQLAcceptInvitationMutation, GQLAcceptInvitationMutationVariables>(
|
|
6425
|
+
client,
|
|
6426
|
+
AcceptInvitationDocument,
|
|
6427
|
+
variables,
|
|
6428
|
+
headers,
|
|
6429
|
+
)(),
|
|
6430
|
+
...options,
|
|
6431
|
+
});
|
|
6432
|
+
};
|
|
6433
|
+
|
|
6283
6434
|
export const AttributeStripeSubscriptionDocument = `
|
|
6284
6435
|
mutation AttributeStripeSubscription($subscriptionId: String!, $datastoreId: String!) {
|
|
6285
6436
|
attributeStripeSubscription(
|
|
@@ -6835,6 +6986,33 @@ export const useDashSetupConnectMutation = <TError = unknown, TContext = unknown
|
|
|
6835
6986
|
});
|
|
6836
6987
|
};
|
|
6837
6988
|
|
|
6989
|
+
export const DeclineInvitationDocument = `
|
|
6990
|
+
mutation DeclineInvitation($organizationId: ID!) {
|
|
6991
|
+
declineInvitation(organizationId: $organizationId) {
|
|
6992
|
+
organizationId
|
|
6993
|
+
declined
|
|
6994
|
+
}
|
|
6995
|
+
}
|
|
6996
|
+
`;
|
|
6997
|
+
|
|
6998
|
+
export const useDeclineInvitationMutation = <TError = unknown, TContext = unknown>(
|
|
6999
|
+
client: GraphQLClient,
|
|
7000
|
+
options?: UseMutationOptions<GQLDeclineInvitationMutation, TError, GQLDeclineInvitationMutationVariables, TContext>,
|
|
7001
|
+
headers?: RequestInit["headers"],
|
|
7002
|
+
) => {
|
|
7003
|
+
return useMutation<GQLDeclineInvitationMutation, TError, GQLDeclineInvitationMutationVariables, TContext>({
|
|
7004
|
+
mutationKey: ["DeclineInvitation"],
|
|
7005
|
+
mutationFn: (variables?: GQLDeclineInvitationMutationVariables) =>
|
|
7006
|
+
fetcher<GQLDeclineInvitationMutation, GQLDeclineInvitationMutationVariables>(
|
|
7007
|
+
client,
|
|
7008
|
+
DeclineInvitationDocument,
|
|
7009
|
+
variables,
|
|
7010
|
+
headers,
|
|
7011
|
+
)(),
|
|
7012
|
+
...options,
|
|
7013
|
+
});
|
|
7014
|
+
};
|
|
7015
|
+
|
|
6838
7016
|
export const DeleteActionPlanDocument = `
|
|
6839
7017
|
mutation DeleteActionPlan($input: DeleteActionPlanInput!) {
|
|
6840
7018
|
deleteActionPlan(input: $input) {
|
|
@@ -7905,6 +8083,12 @@ export const MetaSetupConnectDocument = `
|
|
|
7905
8083
|
isConnectable
|
|
7906
8084
|
unavailableReason
|
|
7907
8085
|
}
|
|
8086
|
+
pages {
|
|
8087
|
+
id
|
|
8088
|
+
name
|
|
8089
|
+
kind
|
|
8090
|
+
parent
|
|
8091
|
+
}
|
|
7908
8092
|
lastError {
|
|
7909
8093
|
severity
|
|
7910
8094
|
title
|
|
@@ -7932,6 +8116,56 @@ export const useMetaSetupConnectMutation = <TError = unknown, TContext = unknown
|
|
|
7932
8116
|
});
|
|
7933
8117
|
};
|
|
7934
8118
|
|
|
8119
|
+
export const MetaSetupIncludePagesDocument = `
|
|
8120
|
+
mutation MetaSetupIncludePages($pageIds: [String!]!) {
|
|
8121
|
+
metaSetupIncludePages(pageIds: $pageIds) {
|
|
8122
|
+
state
|
|
8123
|
+
accounts {
|
|
8124
|
+
id
|
|
8125
|
+
name
|
|
8126
|
+
parent
|
|
8127
|
+
externalId
|
|
8128
|
+
isConnectable
|
|
8129
|
+
unavailableReason
|
|
8130
|
+
}
|
|
8131
|
+
pages {
|
|
8132
|
+
id
|
|
8133
|
+
name
|
|
8134
|
+
kind
|
|
8135
|
+
parent
|
|
8136
|
+
}
|
|
8137
|
+
lastError {
|
|
8138
|
+
severity
|
|
8139
|
+
title
|
|
8140
|
+
message
|
|
8141
|
+
}
|
|
8142
|
+
}
|
|
8143
|
+
}
|
|
8144
|
+
`;
|
|
8145
|
+
|
|
8146
|
+
export const useMetaSetupIncludePagesMutation = <TError = unknown, TContext = unknown>(
|
|
8147
|
+
client: GraphQLClient,
|
|
8148
|
+
options?: UseMutationOptions<
|
|
8149
|
+
GQLMetaSetupIncludePagesMutation,
|
|
8150
|
+
TError,
|
|
8151
|
+
GQLMetaSetupIncludePagesMutationVariables,
|
|
8152
|
+
TContext
|
|
8153
|
+
>,
|
|
8154
|
+
headers?: RequestInit["headers"],
|
|
8155
|
+
) => {
|
|
8156
|
+
return useMutation<GQLMetaSetupIncludePagesMutation, TError, GQLMetaSetupIncludePagesMutationVariables, TContext>({
|
|
8157
|
+
mutationKey: ["MetaSetupIncludePages"],
|
|
8158
|
+
mutationFn: (variables?: GQLMetaSetupIncludePagesMutationVariables) =>
|
|
8159
|
+
fetcher<GQLMetaSetupIncludePagesMutation, GQLMetaSetupIncludePagesMutationVariables>(
|
|
8160
|
+
client,
|
|
8161
|
+
MetaSetupIncludePagesDocument,
|
|
8162
|
+
variables,
|
|
8163
|
+
headers,
|
|
8164
|
+
)(),
|
|
8165
|
+
...options,
|
|
8166
|
+
});
|
|
8167
|
+
};
|
|
8168
|
+
|
|
7935
8169
|
export const MicrosoftAdsSetupConnectDocument = `
|
|
7936
8170
|
mutation MicrosoftAdsSetupConnect($accountIds: [String!]!, $location: InferalLocation!) {
|
|
7937
8171
|
microsoftAdsSetupConnect(accountIds: $accountIds, location: $location) {
|
|
@@ -11393,6 +11627,12 @@ export const MetaSetupProgressDocument = `
|
|
|
11393
11627
|
isConnectable
|
|
11394
11628
|
unavailableReason
|
|
11395
11629
|
}
|
|
11630
|
+
pages {
|
|
11631
|
+
id
|
|
11632
|
+
name
|
|
11633
|
+
kind
|
|
11634
|
+
parent
|
|
11635
|
+
}
|
|
11396
11636
|
lastError {
|
|
11397
11637
|
severity
|
|
11398
11638
|
title
|
|
@@ -11693,6 +11933,62 @@ export const useSuspenseOrganizationLinkingQuery = <TData = GQLOrganizationLinki
|
|
|
11693
11933
|
useSuspenseOrganizationLinkingQuery.getKey = (variables?: GQLOrganizationLinkingQueryVariables) =>
|
|
11694
11934
|
variables === undefined ? ["OrganizationLinkingSuspense"] : ["OrganizationLinkingSuspense", variables];
|
|
11695
11935
|
|
|
11936
|
+
export const PendingInvitationsDocument = `
|
|
11937
|
+
query PendingInvitations {
|
|
11938
|
+
pendingInvitations {
|
|
11939
|
+
organizationId
|
|
11940
|
+
organizationAlias
|
|
11941
|
+
organizationName
|
|
11942
|
+
}
|
|
11943
|
+
}
|
|
11944
|
+
`;
|
|
11945
|
+
|
|
11946
|
+
export const usePendingInvitationsQuery = <TData = GQLPendingInvitationsQuery, TError = unknown>(
|
|
11947
|
+
client: GraphQLClient,
|
|
11948
|
+
variables?: GQLPendingInvitationsQueryVariables,
|
|
11949
|
+
options?: Omit<UseQueryOptions<GQLPendingInvitationsQuery, TError, TData>, "queryKey"> & {
|
|
11950
|
+
queryKey?: UseQueryOptions<GQLPendingInvitationsQuery, TError, TData>["queryKey"];
|
|
11951
|
+
},
|
|
11952
|
+
headers?: RequestInit["headers"],
|
|
11953
|
+
) => {
|
|
11954
|
+
return useQuery<GQLPendingInvitationsQuery, TError, TData>({
|
|
11955
|
+
queryKey: variables === undefined ? ["PendingInvitations"] : ["PendingInvitations", variables],
|
|
11956
|
+
queryFn: fetcher<GQLPendingInvitationsQuery, GQLPendingInvitationsQueryVariables>(
|
|
11957
|
+
client,
|
|
11958
|
+
PendingInvitationsDocument,
|
|
11959
|
+
variables,
|
|
11960
|
+
headers,
|
|
11961
|
+
),
|
|
11962
|
+
...options,
|
|
11963
|
+
});
|
|
11964
|
+
};
|
|
11965
|
+
|
|
11966
|
+
usePendingInvitationsQuery.getKey = (variables?: GQLPendingInvitationsQueryVariables) =>
|
|
11967
|
+
variables === undefined ? ["PendingInvitations"] : ["PendingInvitations", variables];
|
|
11968
|
+
|
|
11969
|
+
export const useSuspensePendingInvitationsQuery = <TData = GQLPendingInvitationsQuery, TError = unknown>(
|
|
11970
|
+
client: GraphQLClient,
|
|
11971
|
+
variables?: GQLPendingInvitationsQueryVariables,
|
|
11972
|
+
options?: Omit<UseSuspenseQueryOptions<GQLPendingInvitationsQuery, TError, TData>, "queryKey"> & {
|
|
11973
|
+
queryKey?: UseSuspenseQueryOptions<GQLPendingInvitationsQuery, TError, TData>["queryKey"];
|
|
11974
|
+
},
|
|
11975
|
+
headers?: RequestInit["headers"],
|
|
11976
|
+
) => {
|
|
11977
|
+
return useSuspenseQuery<GQLPendingInvitationsQuery, TError, TData>({
|
|
11978
|
+
queryKey: variables === undefined ? ["PendingInvitationsSuspense"] : ["PendingInvitationsSuspense", variables],
|
|
11979
|
+
queryFn: fetcher<GQLPendingInvitationsQuery, GQLPendingInvitationsQueryVariables>(
|
|
11980
|
+
client,
|
|
11981
|
+
PendingInvitationsDocument,
|
|
11982
|
+
variables,
|
|
11983
|
+
headers,
|
|
11984
|
+
),
|
|
11985
|
+
...options,
|
|
11986
|
+
});
|
|
11987
|
+
};
|
|
11988
|
+
|
|
11989
|
+
useSuspensePendingInvitationsQuery.getKey = (variables?: GQLPendingInvitationsQueryVariables) =>
|
|
11990
|
+
variables === undefined ? ["PendingInvitationsSuspense"] : ["PendingInvitationsSuspense", variables];
|
|
11991
|
+
|
|
11696
11992
|
export const ProfileDocument = `
|
|
11697
11993
|
query Profile {
|
|
11698
11994
|
sessionContext {
|