Fixed enum
parent
09acaef904
commit
b408015df4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue