2023-01-16 09:45:12 +00:00
|
|
|
import { WebhookDetailsFragment } from "@dashboard/graphql";
|
2019-10-09 06:01:52 +00:00
|
|
|
|
2022-12-01 13:42:18 +00:00
|
|
|
export const webhook: WebhookDetailsFragment = {
|
2019-10-10 11:40:31 +00:00
|
|
|
__typename: "Webhook",
|
2020-07-22 10:54:15 +00:00
|
|
|
app: {
|
|
|
|
__typename: "App",
|
|
|
|
id: "Jzx1ss23sEt==",
|
2022-06-21 09:36:55 +00:00
|
|
|
name: "Test App 2",
|
2020-07-22 10:54:15 +00:00
|
|
|
},
|
2021-12-13 14:43:30 +00:00
|
|
|
syncEvents: [],
|
|
|
|
asyncEvents: [],
|
2019-10-10 11:40:31 +00:00
|
|
|
id: "Jzx123sEt==",
|
|
|
|
isActive: true,
|
|
|
|
name: "Webhook Test 2",
|
|
|
|
secretKey: "zxczx_asdas",
|
2023-01-24 13:59:14 +00:00
|
|
|
subscriptionQuery:
|
|
|
|
"subscription { event { ... on ProductUpdated { product { name } } } }",
|
2022-06-21 09:36:55 +00:00
|
|
|
targetUrl: "http://www.getsaleor.com",
|
2023-02-22 13:14:51 +00:00
|
|
|
customHeaders: "{}",
|
2019-10-09 06:01:52 +00:00
|
|
|
};
|