@manta-eu/client 0.7.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/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",
|
|
@@ -1687,6 +1699,7 @@ export type GQLMicrosoftAdsSetupProgress = {
|
|
|
1687
1699
|
export type GQLMutation = {
|
|
1688
1700
|
__typename?: "Mutation";
|
|
1689
1701
|
abortUpload: GQLAbortUploadResponse;
|
|
1702
|
+
acceptInvitation: GQLInvitationAcceptedResponse;
|
|
1690
1703
|
assignTeamMembers: GQLAssignmentSummary;
|
|
1691
1704
|
attributeStripeSubscription: GQLAttributeStripeSubscriptionResponse;
|
|
1692
1705
|
awaitDataConnectionTest: GQLDataConnectionTestState;
|
|
@@ -1705,6 +1718,7 @@ export type GQLMutation = {
|
|
|
1705
1718
|
createStripeBillingPortalSession: GQLCreateStripeBillingPortalSessionResponse;
|
|
1706
1719
|
createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
|
|
1707
1720
|
dashSetupConnect: GQLDashSetupProgress;
|
|
1721
|
+
declineInvitation: GQLInvitationDeclinedResponse;
|
|
1708
1722
|
deleteActionPlan: GQLDeleteActionPlanResponse;
|
|
1709
1723
|
deleteCustomApp: GQLCustomAppDeletedResponse;
|
|
1710
1724
|
deleteDataConnection: GQLDeleteDataConnectionResponse;
|
|
@@ -1782,6 +1796,10 @@ export type GQLMutationAbortUploadArgs = {
|
|
|
1782
1796
|
input: GQLAbortUploadInput;
|
|
1783
1797
|
};
|
|
1784
1798
|
|
|
1799
|
+
export type GQLMutationAcceptInvitationArgs = {
|
|
1800
|
+
organizationId: Scalars["ID"]["input"];
|
|
1801
|
+
};
|
|
1802
|
+
|
|
1785
1803
|
export type GQLMutationAssignTeamMembersArgs = {
|
|
1786
1804
|
roles?: InputMaybe<Array<GQLAssignmentRoleInput>>;
|
|
1787
1805
|
targets: Array<GQLAssignTargetInput>;
|
|
@@ -1870,6 +1888,10 @@ export type GQLMutationDashSetupConnectArgs = {
|
|
|
1870
1888
|
folderIds: Array<Scalars["String"]["input"]>;
|
|
1871
1889
|
};
|
|
1872
1890
|
|
|
1891
|
+
export type GQLMutationDeclineInvitationArgs = {
|
|
1892
|
+
organizationId: Scalars["ID"]["input"];
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1873
1895
|
export type GQLMutationDeleteActionPlanArgs = {
|
|
1874
1896
|
input: GQLDeleteActionPlanInput;
|
|
1875
1897
|
};
|
|
@@ -2227,6 +2249,13 @@ export type GQLOrganizationNameAvailability = {
|
|
|
2227
2249
|
checked: Scalars["Boolean"]["output"];
|
|
2228
2250
|
};
|
|
2229
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
|
+
|
|
2230
2259
|
export type GQLPerson = {
|
|
2231
2260
|
__typename?: "Person";
|
|
2232
2261
|
name: Scalars["String"]["output"];
|
|
@@ -2347,6 +2376,7 @@ export type GQLQuery = {
|
|
|
2347
2376
|
/** @deprecated Organizations are no longer mirrored into the identity provider. */
|
|
2348
2377
|
organizationLinking?: Maybe<GQLOrganizationLinking>;
|
|
2349
2378
|
organizationNameAvailable: GQLOrganizationNameAvailability;
|
|
2379
|
+
pendingInvitations: Array<GQLPendingInvitation>;
|
|
2350
2380
|
rules: GQLRulesResponse;
|
|
2351
2381
|
sessionContext: GQLSessionContext;
|
|
2352
2382
|
shaclShapes: GQLShaclShapesResponse;
|
|
@@ -3344,6 +3374,15 @@ export type GQLAbortUploadMutation = {
|
|
|
3344
3374
|
abortUpload: { __typename?: "AbortUploadResponse"; ok: boolean };
|
|
3345
3375
|
};
|
|
3346
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
|
+
|
|
3347
3386
|
export type GQLAttributeStripeSubscriptionMutationVariables = Exact<{
|
|
3348
3387
|
subscriptionId: Scalars["String"]["input"];
|
|
3349
3388
|
datastoreId: Scalars["String"]["input"];
|
|
@@ -3644,6 +3683,15 @@ export type GQLDashSetupConnectMutation = {
|
|
|
3644
3683
|
};
|
|
3645
3684
|
};
|
|
3646
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
|
+
|
|
3647
3695
|
export type GQLDeleteActionPlanMutationVariables = Exact<{
|
|
3648
3696
|
input: GQLDeleteActionPlanInput;
|
|
3649
3697
|
}>;
|
|
@@ -5784,6 +5832,18 @@ export type GQLOrganizationLinkingQuery = {
|
|
|
5784
5832
|
organizationLinking?: { __typename?: "OrganizationLinking"; pushEnabled: boolean; linkEnabled: boolean } | null;
|
|
5785
5833
|
};
|
|
5786
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
|
+
|
|
5787
5847
|
export type GQLProfileQueryVariables = Exact<{ [key: string]: never }>;
|
|
5788
5848
|
|
|
5789
5849
|
export type GQLProfileQuery = {
|
|
@@ -6344,6 +6404,33 @@ export const useAbortUploadMutation = <TError = unknown, TContext = unknown>(
|
|
|
6344
6404
|
});
|
|
6345
6405
|
};
|
|
6346
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
|
+
|
|
6347
6434
|
export const AttributeStripeSubscriptionDocument = `
|
|
6348
6435
|
mutation AttributeStripeSubscription($subscriptionId: String!, $datastoreId: String!) {
|
|
6349
6436
|
attributeStripeSubscription(
|
|
@@ -6899,6 +6986,33 @@ export const useDashSetupConnectMutation = <TError = unknown, TContext = unknown
|
|
|
6899
6986
|
});
|
|
6900
6987
|
};
|
|
6901
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
|
+
|
|
6902
7016
|
export const DeleteActionPlanDocument = `
|
|
6903
7017
|
mutation DeleteActionPlan($input: DeleteActionPlanInput!) {
|
|
6904
7018
|
deleteActionPlan(input: $input) {
|
|
@@ -11819,6 +11933,62 @@ export const useSuspenseOrganizationLinkingQuery = <TData = GQLOrganizationLinki
|
|
|
11819
11933
|
useSuspenseOrganizationLinkingQuery.getKey = (variables?: GQLOrganizationLinkingQueryVariables) =>
|
|
11820
11934
|
variables === undefined ? ["OrganizationLinkingSuspense"] : ["OrganizationLinkingSuspense", variables];
|
|
11821
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
|
+
|
|
11822
11992
|
export const ProfileDocument = `
|
|
11823
11993
|
query Profile {
|
|
11824
11994
|
sessionContext {
|