Fix small issues

This commit is contained in:
Krzysztof Bialoglowicz 2019-10-11 15:35:33 +02:00
parent 83cd51e001
commit c8dbe00db4
14 changed files with 346 additions and 405 deletions

View file

@ -166,7 +166,7 @@ export function createConfigurationMenu(intl: IntlShape): MenuSection[] {
}, },
{ {
description: intl.formatMessage({ description: intl.formatMessage({
defaultMessage: "View and update your site settings" defaultMessage: "View and update your webhook and their settings"
}), }),
icon: <Webhooks fontSize="inherit" viewBox="0 0 44 44" />, icon: <Webhooks fontSize="inherit" viewBox="0 0 44 44" />,
permission: PermissionEnum.MANAGE_WEBHOOKS, permission: PermissionEnum.MANAGE_WEBHOOKS,

View file

@ -10,12 +10,11 @@ import { sectionNames } from "@saleor/intl";
import { maybe } from "@saleor/misc"; import { maybe } from "@saleor/misc";
import { UserError } from "@saleor/types"; import { UserError } from "@saleor/types";
import { WebhookEventTypeEnum } from "@saleor/types/globalTypes"; import { WebhookEventTypeEnum } from "@saleor/types/globalTypes";
import WebhookEvents from "@saleor/webhooks/components/WebhookEvents";
import WebhookInfo from "@saleor/webhooks/components/WebhookInfo";
import WebhookStatus from "@saleor/webhooks/components/WebhookStatus";
import React from "react"; import React from "react";
import { useIntl } from "react-intl"; import { useIntl } from "react-intl";
import { ServiceList_serviceAccounts_edges_node } from "../../types/ServiceList";
import WebhookEvents from "../WebhookEvents";
import WebhookInfo from "../WebhookInfo";
import WebhookStatus from "../WebhookStatus";
export interface FormData { export interface FormData {
id: string; id: string;
@ -59,8 +58,7 @@ const WebhookCreatePage: React.StatelessComponent<WebhookCreatePageProps> = ({
return ( return (
<Form errors={errors} initial={initialForm} onSubmit={onSubmit}> <Form errors={errors} initial={initialForm} onSubmit={onSubmit}>
{({ data, errors, hasChanged, submit, change }) => { {({ data, errors, hasChanged, submit, change }) => (
return (
<Container> <Container>
<AppHeader onBack={onBack}> <AppHeader onBack={onBack}>
{intl.formatMessage(sectionNames.plugins)} {intl.formatMessage(sectionNames.plugins)}
@ -102,8 +100,7 @@ const WebhookCreatePage: React.StatelessComponent<WebhookCreatePageProps> = ({
onSave={submit} onSave={submit}
/> />
</Container> </Container>
); )}
}}
</Form> </Form>
); );
}; };

View file

@ -13,7 +13,7 @@ const props: WebhookCreatePageProps = {
saveButtonBarState: "default", saveButtonBarState: "default",
services: [] services: []
}; };
storiesOf("Views / Services / Create service", module) storiesOf("Views / Webhook / Create webhook", module)
.addDecorator(Decorator) .addDecorator(Decorator)
.add("default", () => <WebhookCreatePage {...props} />) .add("default", () => <WebhookCreatePage {...props} />)
.add("loading", () => <WebhookCreatePage {...props} disabled={true} />) .add("loading", () => <WebhookCreatePage {...props} disabled={true} />)

View file

@ -4,9 +4,10 @@ import Typography from "@material-ui/core/Typography";
import CardTitle from "@saleor/components/CardTitle"; import CardTitle from "@saleor/components/CardTitle";
import ControlledCheckbox from "@saleor/components/ControlledCheckbox"; import ControlledCheckbox from "@saleor/components/ControlledCheckbox";
import Hr from "@saleor/components/Hr"; import Hr from "@saleor/components/Hr";
import { ChangeEvent } from "@saleor/hooks/useForm";
import { WebhookEventTypeEnum } from "@saleor/types/globalTypes";
import React from "react"; import React from "react";
import { useIntl } from "react-intl"; import { useIntl } from "react-intl";
import { WebhookEventTypeEnum } from "../../../types/globalTypes";
interface WebhookEventsProps { interface WebhookEventsProps {
data: { data: {
@ -25,16 +26,14 @@ const WebhookEvents: React.StatelessComponent<WebhookEventsProps> = ({
const intl = useIntl(); const intl = useIntl();
const eventsEnum = Object.values(WebhookEventTypeEnum); const eventsEnum = Object.values(WebhookEventTypeEnum);
const handleAllEventsChange = (event: React.ChangeEvent<any>) => const handleAllEventsChange = () =>
onChange(event, () =>
onChange({ onChange({
target: { target: {
name: "events", name: "events",
value: WebhookEventTypeEnum.ALL_EVENTS value: WebhookEventTypeEnum.ALL_EVENTS
} }
} as any) } as any);
); const handleEventsChange = (event: ChangeEvent) => {
const handleEventsChange = (event: React.ChangeEvent<any>) => {
onChange({ onChange({
target: { target: {
name: "events", name: "events",
@ -73,10 +72,9 @@ const WebhookEvents: React.StatelessComponent<WebhookEventsProps> = ({
/> />
<Hr /> <Hr />
{!data.allEvents && {!data.allEvents &&
eventsEnum.map((event, index) => { eventsEnum.slice(1).map(event => {
if (index !== 0) {
return ( return (
<div key={index}> <div key={event}>
<ControlledCheckbox <ControlledCheckbox
checked={data.events.includes(event)} checked={data.events.includes(event)}
disabled={disabled} disabled={disabled}
@ -86,7 +84,6 @@ const WebhookEvents: React.StatelessComponent<WebhookEventsProps> = ({
/> />
</div> </div>
); );
}
})} })}
</CardContent> </CardContent>
</Card> </Card>

View file

@ -10,6 +10,8 @@ import CardTitle from "@saleor/components/CardTitle";
import FormSpacer from "@saleor/components/FormSpacer"; import FormSpacer from "@saleor/components/FormSpacer";
import Hr from "@saleor/components/Hr"; import Hr from "@saleor/components/Hr";
import SingleSelectField from "@saleor/components/SingleSelectField"; import SingleSelectField from "@saleor/components/SingleSelectField";
import { SingleAutocompleteSelectField } from "@saleor/components/SingleAutocompleteSelectField";
import { commonMessages } from "@saleor/intl";
import { FormErrors } from "@saleor/types"; import { FormErrors } from "@saleor/types";
import { FormData } from "../WebhooksDetailsPage"; import { FormData } from "../WebhooksDetailsPage";
@ -54,10 +56,7 @@ const WebhookInfo: React.StatelessComponent<WebhookInfoProps> = ({
/> />
<CardContent> <CardContent>
<Typography className={classes.title}> <Typography className={classes.title}>
{intl.formatMessage({ {intl.formatMessage(commonMessages.generalInformations)}
defaultMessage: "General Information",
description: "webhook general information"
})}
</Typography> </Typography>
<TextField <TextField
disabled={disabled} disabled={disabled}
@ -81,17 +80,22 @@ const WebhookInfo: React.StatelessComponent<WebhookInfoProps> = ({
description: "webhook specific information" description: "webhook specific information"
})} })}
</Typography> </Typography>
<SingleSelectField <SingleAutocompleteSelectField
disabled={disabled}
displayValue={data.serviceAccount}
label={intl.formatMessage({
defaultMessage: "Assign to Service Account"
})}
name="serviceAccount"
onChange={onChange}
value={data.serviceAccount}
choices={services.map(service => ({ choices={services.map(service => ({
label: service.name, label: service.name,
value: service.id value: service.id
}))} }))}
name="serviceAccount" InputProps={{
value={data.serviceAccount} autoComplete: "off"
label={intl.formatMessage({ }}
defaultMessage: "Assign to Service Account"
})}
onChange={onChange}
/> />
<FormSpacer /> <FormSpacer />
<TextField <TextField

View file

@ -3,6 +3,7 @@ import CardContent from "@material-ui/core/CardContent";
import Typography from "@material-ui/core/Typography"; import Typography from "@material-ui/core/Typography";
import CardTitle from "@saleor/components/CardTitle"; import CardTitle from "@saleor/components/CardTitle";
import ControlledCheckbox from "@saleor/components/ControlledCheckbox"; import ControlledCheckbox from "@saleor/components/ControlledCheckbox";
import { FormChange } from "@saleor/hooks/useForm";
import React from "react"; import React from "react";
import { useIntl } from "react-intl"; import { useIntl } from "react-intl";
@ -11,10 +12,10 @@ import { FormData } from "../WebhooksDetailsPage";
interface WebhookStatusProps { interface WebhookStatusProps {
data: FormData; data: FormData;
disabled: boolean; disabled: boolean;
onChange: (event: React.ChangeEvent<any>) => void; onChange: (event: FormChange) => void;
} }
const WebhookStatus: React.StatelessComponent<WebhookStatusProps> = ({ const WebhookStatus: React.FC<WebhookStatusProps> = ({
data, data,
disabled, disabled,
onChange onChange

View file

@ -16,7 +16,7 @@ const props: WebhooksDetailsPageProps = {
saveButtonBarState: "default", saveButtonBarState: "default",
services: [] services: []
}; };
storiesOf("Views / Services / Service details", module) storiesOf("Views / Webhook / Webhook details", module)
.addDecorator(Decorator) .addDecorator(Decorator)
.add("default", () => <WebhooksDetailsPage {...props} />) .add("default", () => <WebhooksDetailsPage {...props} />)
.add("loading", () => ( .add("loading", () => (

View file

@ -10,13 +10,13 @@ import { sectionNames } from "@saleor/intl";
import { maybe } from "@saleor/misc"; import { maybe } from "@saleor/misc";
import { UserError } from "@saleor/types"; import { UserError } from "@saleor/types";
import { WebhookEventTypeEnum } from "@saleor/types/globalTypes"; import { WebhookEventTypeEnum } from "@saleor/types/globalTypes";
import WebhookEvents from "@saleor/webhooks/components/WebhookEvents";
import WebhookInfo from "@saleor/webhooks/components/WebhookInfo";
import WebhookStatus from "@saleor/webhooks/components/WebhookStatus";
import { ServiceList_serviceAccounts_edges_node } from "@saleor/webhooks/types/ServiceList";
import { Webhook_webhook } from "@saleor/webhooks/types/Webhook";
import React from "react"; import React from "react";
import { useIntl } from "react-intl"; import { useIntl } from "react-intl";
import { ServiceList_serviceAccounts_edges_node } from "../../types/ServiceList";
import { Webhook_webhook } from "../../types/Webhook";
import WebhookEvents from "../WebhookEvents";
import WebhookInfo from "../WebhookInfo";
import WebhookStatus from "../WebhookStatus";
export interface FormData { export interface FormData {
id: string; id: string;
@ -54,11 +54,8 @@ const WebhooksDetailsPage: React.StatelessComponent<
}) => { }) => {
const intl = useIntl(); const intl = useIntl();
const initialForm: FormData = { const initialForm: FormData = {
allEvents: maybe( allEvents: !!maybe(() => webhook.events, []).find(
() => event => event.eventType === WebhookEventTypeEnum.ALL_EVENTS
maybe(() => webhook.events, [])[0].eventType ===
WebhookEventTypeEnum.ALL_EVENTS,
false
), ),
events: maybe(() => webhook.events, []).map(event => event.eventType), events: maybe(() => webhook.events, []).map(event => event.eventType),
id: maybe(() => webhook.id, null), id: maybe(() => webhook.id, null),
@ -70,8 +67,7 @@ const WebhooksDetailsPage: React.StatelessComponent<
}; };
return ( return (
<Form errors={errors} initial={initialForm} onSubmit={onSubmit}> <Form errors={errors} initial={initialForm} onSubmit={onSubmit}>
{({ data, errors, hasChanged, submit, change }) => { {({ data, errors, hasChanged, submit, change }) => (
return (
<Container> <Container>
<AppHeader onBack={onBack}> <AppHeader onBack={onBack}>
{intl.formatMessage(sectionNames.plugins)} {intl.formatMessage(sectionNames.plugins)}
@ -79,11 +75,11 @@ const WebhooksDetailsPage: React.StatelessComponent<
<PageHeader <PageHeader
title={intl.formatMessage( title={intl.formatMessage(
{ {
defaultMessage: "{pluginName} Details", defaultMessage: "{webhookName} Details",
description: "header" description: "header"
}, },
{ {
pluginName: maybe(() => webhook.name, "...") webhookName: maybe(() => webhook.name, "...")
} }
)} )}
/> />
@ -119,8 +115,7 @@ const WebhooksDetailsPage: React.StatelessComponent<
onDelete={onDelete} onDelete={onDelete}
/> />
</Container> </Container>
); )}
}}
</Form> </Form>
); );
}; };

View file

@ -1,11 +1,6 @@
import Card from "@material-ui/core/Card"; import Card from "@material-ui/core/Card";
import IconButton from "@material-ui/core/IconButton"; import IconButton from "@material-ui/core/IconButton";
import { import { Theme } from "@material-ui/core/styles";
createStyles,
Theme,
withStyles,
WithStyles
} from "@material-ui/core/styles";
import Table from "@material-ui/core/Table"; import Table from "@material-ui/core/Table";
import TableBody from "@material-ui/core/TableBody"; import TableBody from "@material-ui/core/TableBody";
import TableCell from "@material-ui/core/TableCell"; import TableCell from "@material-ui/core/TableCell";
@ -14,6 +9,7 @@ import TableHead from "@material-ui/core/TableHead";
import TableRow from "@material-ui/core/TableRow"; import TableRow from "@material-ui/core/TableRow";
import DeleteIcon from "@material-ui/icons/Delete"; import DeleteIcon from "@material-ui/icons/Delete";
import EditIcon from "@material-ui/icons/Edit"; import EditIcon from "@material-ui/icons/Edit";
import makeStyles from "@material-ui/styles/makeStyles";
import React from "react"; import React from "react";
import { useIntl } from "react-intl"; import { useIntl } from "react-intl";
@ -28,8 +24,7 @@ export interface WebhooksListProps extends ListProps {
onRemove: (id: string) => void; onRemove: (id: string) => void;
} }
const styles = (theme: Theme) => const useStyles = makeStyles((theme: Theme) => ({
createStyles({
[theme.breakpoints.up("lg")]: { [theme.breakpoints.up("lg")]: {
colAction: { colAction: {
"& svg": { "& svg": {
@ -43,16 +38,14 @@ const styles = (theme: Theme) =>
colAction: {}, colAction: {},
colActive: {}, colActive: {},
colName: {}, colName: {},
link: { tableRow: {
cursor: "pointer" cursor: "pointer"
} }
}); }));
const numberOfColumns = 4; const numberOfColumns = 4;
const WebhooksList = withStyles(styles, { name: "PluginList" })( const WebhooksList: React.FC<WebhooksListProps> = ({
({
classes,
settings, settings,
webhooks, webhooks,
disabled, disabled,
@ -62,8 +55,9 @@ const WebhooksList = withStyles(styles, { name: "PluginList" })(
onRemove, onRemove,
onUpdateListSettings, onUpdateListSettings,
onPreviousPage onPreviousPage
}: WebhooksListProps & WithStyles<typeof styles>) => { }) => {
const intl = useIntl(); const intl = useIntl();
const classes = useStyles({});
return ( return (
<Card> <Card>
<Table> <Table>
@ -94,9 +88,7 @@ const WebhooksList = withStyles(styles, { name: "PluginList" })(
<TablePagination <TablePagination
colSpan={numberOfColumns} colSpan={numberOfColumns}
settings={settings} settings={settings}
hasNextPage={ hasNextPage={pageInfo && !disabled ? pageInfo.hasNextPage : false}
pageInfo && !disabled ? pageInfo.hasNextPage : false
}
onNextPage={onNextPage} onNextPage={onNextPage}
onUpdateListSettings={onUpdateListSettings} onUpdateListSettings={onUpdateListSettings}
hasPreviousPage={ hasPreviousPage={
@ -109,11 +101,10 @@ const WebhooksList = withStyles(styles, { name: "PluginList" })(
<TableBody> <TableBody>
{renderCollection( {renderCollection(
webhooks, webhooks,
webhook => { webhook => (
return (
<TableRow <TableRow
hover={!!webhook} hover={!!webhook}
className={!!webhook ? classes.link : undefined} className={!!webhook ? classes.tableRow : undefined}
onClick={webhook ? onRowClick(webhook.id) : undefined} onClick={webhook ? onRowClick(webhook.id) : undefined}
key={webhook ? webhook.id : "skeleton"} key={webhook ? webhook.id : "skeleton"}
> >
@ -145,8 +136,7 @@ const WebhooksList = withStyles(styles, { name: "PluginList" })(
</IconButton> </IconButton>
</TableCell> </TableCell>
</TableRow> </TableRow>
); ),
},
() => ( () => (
<TableRow> <TableRow>
<TableCell colSpan={numberOfColumns}> <TableCell colSpan={numberOfColumns}>
@ -161,7 +151,6 @@ const WebhooksList = withStyles(styles, { name: "PluginList" })(
</Table> </Table>
</Card> </Card>
); );
} };
);
WebhooksList.displayName = "WebhooksList"; WebhooksList.displayName = "WebhooksList";
export default WebhooksList; export default WebhooksList;

View file

@ -21,7 +21,7 @@ const props: WebhooksListPageProps = {
webhooks: webhookList webhooks: webhookList
}; };
storiesOf("Views / Services / Service list", module) storiesOf("Views / Webhook / Webhook list", module)
.addDecorator(Decorator) .addDecorator(Decorator)
.add("default", () => <WebhooksListPage {...props} />) .add("default", () => <WebhooksListPage {...props} />)
.add("loading", () => ( .add("loading", () => (

View file

@ -1,18 +1,9 @@
import gql from "graphql-tag"; import gql from "graphql-tag";
import { TypedQuery } from "../queries"; import { TypedQuery } from "../queries";
import { ServiceList, ServiceListVariables } from "./types/ServiceList";
import { Webhook, WebhookVariables } from "./types/Webhook"; import { Webhook, WebhookVariables } from "./types/Webhook";
import { Webhooks, WebhooksVariables } from "./types/Webhooks"; import { Webhooks, WebhooksVariables } from "./types/Webhooks";
export const serviceFragment = gql`
fragment ServiceFragment on ServiceAccount {
id
name
isActive
}
`;
export const webhooksFragment = gql` export const webhooksFragment = gql`
fragment WebhookFragment on Webhook { fragment WebhookFragment on Webhook {
id id
@ -59,37 +50,9 @@ export const TypedWebhooksListQuery = TypedQuery<Webhooks, WebhooksVariables>(
webhooksList webhooksList
); );
const serviceList = gql`
${serviceFragment}
query ServiceList($first: Int, $after: String, $last: Int, $before: String) {
serviceAccounts(
first: $first
after: $after
before: $before
last: $last
) {
edges {
node {
...ServiceFragment
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}
`;
export const TypedServiceListQuery = TypedQuery<
ServiceList,
ServiceListVariables
>(serviceList);
const webhooksDetails = gql` const webhooksDetails = gql`
${webhooksFragment} ${webhooksFragment}
query Webhook($id: ID!) { query WebhookDetails($id: ID!) {
webhook(id: $id) { webhook(id: $id) {
...WebhookFragment ...WebhookFragment
} }

View file

@ -2,8 +2,6 @@
/* eslint-disable */ /* eslint-disable */
// This file was automatically generated and should not be edited. // This file was automatically generated and should not be edited.
import { ServiceAccountFilterInput } from "./../../types/globalTypes";
// ==================================================== // ====================================================
// GraphQL query operation: ServiceList // GraphQL query operation: ServiceList
// ==================================================== // ====================================================
@ -43,5 +41,4 @@ export interface ServiceListVariables {
after?: string | null; after?: string | null;
last?: number | null; last?: number | null;
before?: string | null; before?: string | null;
filter?: ServiceAccountFilterInput | null;
} }

View file

@ -10,7 +10,6 @@ import { useIntl } from "react-intl";
import { getMutationState, maybe } from "../../misc"; import { getMutationState, maybe } from "../../misc";
import WebhookCreatePage, { FormData } from "../components/WebhookCreatePage"; import WebhookCreatePage, { FormData } from "../components/WebhookCreatePage";
import { TypedWebhookCreate } from "../mutations"; import { TypedWebhookCreate } from "../mutations";
import { TypedServiceListQuery } from "../queries";
import { import {
webhooksListUrl, webhooksListUrl,
WebhooksListUrlQueryParams, WebhooksListUrlQueryParams,
@ -43,7 +42,7 @@ export const WebhooksCreate: React.StatelessComponent<
return ( return (
<TypedWebhookCreate onCompleted={onSubmit}> <TypedWebhookCreate onCompleted={onSubmit}>
{(WebhookCreate, webhookCreateOpts) => { {(WebhookCreate, webhookCreateOpts) => {
const handleSubmit = (data: FormData) => { const handleSubmit = (data: FormData) =>
WebhookCreate({ WebhookCreate({
variables: { variables: {
input: { input: {
@ -58,7 +57,6 @@ export const WebhooksCreate: React.StatelessComponent<
} }
} }
}); });
};
const formTransitionState = getMutationState( const formTransitionState = getMutationState(
webhookCreateOpts.called, webhookCreateOpts.called,
@ -66,9 +64,6 @@ export const WebhooksCreate: React.StatelessComponent<
maybe(() => webhookCreateOpts.data.webhookCreate.errors) maybe(() => webhookCreateOpts.data.webhookCreate.errors)
); );
return (
<TypedServiceListQuery displayLoader variables={{ first: 99 }}>
{({ data }) => {
return ( return (
<> <>
<WindowTitle <WindowTitle
@ -93,9 +88,6 @@ export const WebhooksCreate: React.StatelessComponent<
</> </>
); );
}} }}
</TypedServiceListQuery>
);
}}
</TypedWebhookCreate> </TypedWebhookCreate>
); );
}; };

View file

@ -5,13 +5,14 @@ import { commonMessages } from "@saleor/intl";
import { WebhookEventTypeEnum } from "@saleor/types/globalTypes"; import { WebhookEventTypeEnum } from "@saleor/types/globalTypes";
import WebhookDeleteDialog from "@saleor/webhooks/components/WebhookDeleteDialog"; import WebhookDeleteDialog from "@saleor/webhooks/components/WebhookDeleteDialog";
import { WebhookDelete } from "@saleor/webhooks/types/WebhookDelete"; import { WebhookDelete } from "@saleor/webhooks/types/WebhookDelete";
import { WebhookUpdate } from "@saleor/webhooks/types/WebhookUpdate";
import React from "react"; import React from "react";
import { useIntl } from "react-intl"; import { useIntl } from "react-intl";
import { getMutationState, maybe } from "../../misc"; import { getMutationState, maybe } from "../../misc";
import WebhooksDetailsPage from "../components/WebhooksDetailsPage"; import WebhooksDetailsPage from "../components/WebhooksDetailsPage";
import { TypedWebhookDelete, TypedWebhookUpdate } from "../mutations"; import { TypedWebhookDelete, TypedWebhookUpdate } from "../mutations";
import { TypedServiceListQuery, TypedWebhooksDetailsQuery } from "../queries"; import { TypedWebhooksDetailsQuery } from "../queries";
import { import {
webhooksListUrl, webhooksListUrl,
WebhooksListUrlQueryParams, WebhooksListUrlQueryParams,
@ -59,8 +60,17 @@ export const WebhooksDetails: React.StatelessComponent<
} }
}; };
const onWebhookUpdate = (data: WebhookUpdate) => {
if (data.webhookUpdate.errors.length === 0) {
notify({
text: intl.formatMessage(commonMessages.savedChanges)
});
navigate(webhooksUrl(data.webhookUpdate.webhook.id));
}
};
return ( return (
<TypedWebhookUpdate> <TypedWebhookUpdate onCompleted={onWebhookUpdate}>
{(webhookUpdate, webhookUpdateOpts) => ( {(webhookUpdate, webhookUpdateOpts) => (
<TypedWebhookDelete onCompleted={onWebhookDelete}> <TypedWebhookDelete onCompleted={onWebhookDelete}>
{(webhookDelete, webhookDeleteOpts) => ( {(webhookDelete, webhookDeleteOpts) => (
@ -91,8 +101,6 @@ export const WebhooksDetails: React.StatelessComponent<
); );
return ( return (
<TypedServiceListQuery variables={{ first: 99 }}>
{({ data }) => (
<> <>
<WindowTitle <WindowTitle
title={maybe(() => WebhookDetails.data.webhook.name)} title={maybe(() => WebhookDetails.data.webhook.name)}
@ -136,8 +144,6 @@ export const WebhooksDetails: React.StatelessComponent<
open={params.action === "remove"} open={params.action === "remove"}
/> />
</> </>
)}
</TypedServiceListQuery>
); );
}} }}
</TypedWebhooksDetailsQuery> </TypedWebhooksDetailsQuery>