Fixed enum

This commit is contained in:
Syed Ali Shahbaz authored and Agusti Fernandez Pardo committed 2022-05-27 20:46:22 +02:00
1 parent 81793aebcd
commit c185883e5a
1 file changed
+6 -1
+6 -1
View File
@@ -1,8 +1,13 @@
import { z } from "zod";
import { WebhookTriggerEvents } from "@calcom/prisma/client";
import { _WebhookModel as Webhook } from "@calcom/prisma/zod";
export const WebhookTriggerEvents: {
BOOKING_CREATED: 'BOOKING_CREATED',
BOOKING_RESCHEDULED: 'BOOKING_RESCHEDULED',
BOOKING_CANCELLED: 'BOOKING_CANCELLED'
};
export const WEBHOOK_TRIGGER_EVENTS = [
WebhookTriggerEvents.BOOKING_CANCELLED,
WebhookTriggerEvents.BOOKING_CREATED,