Revert "Feature/cal 274 add webhooks (#628)" (#854)

This reverts commit 4c07faefe7.
This commit is contained in:
Omar López authored and GitHub committed 2021-10-05 02:30:00 +01:00
1 parent 4c07faefe7
commit 6868474c92
19 files changed
+66 -960

No files matched your search

-15
View File
@@ -275,18 +275,3 @@ model Payment {
data Json
externalId String @unique
}
enum WebhookTriggerEvents {
BOOKING_CREATED
BOOKING_RESCHEDULED
BOOKING_CANCELLED
}
model Webhook {
id String @unique @id
userId Int
subscriberUrl String
createdAt DateTime @default(now())
active Boolean @default(true)
eventTriggers WebhookTriggerEvents[]
}