feat: add paid webhook (#8721)
* feat: add BOOKING_PAID on enums * feat: trigger the BOOKING_PAID webhook * refactor: create payment variable * feat: add REJECTED and REQUESTED on enums * feat: create migration to booking werbhooks * Update packages/features/webhooks/lib/constants.ts Co-authored-by: Syed Ali Shahbaz <[email protected]> * Update packages/prisma/schema.prisma Co-authored-by: Syed Ali Shahbaz <[email protected]> * Update packages/prisma/migrations/20230513235419_add_booking_webhooks/migration.sql Co-authored-by: Syed Ali Shahbaz <[email protected]> --------- Co-authored-by: Syed Ali Shahbaz <[email protected]> Co-authored-by: alannnc <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
4 files changed
+41
-6
No files matched your search
@@ -7,6 +7,7 @@ export const WEBHOOK_TRIGGER_EVENTS_GROUPED_BY_APP = {
|
||||
WebhookTriggerEvents.BOOKING_CANCELLED,
|
||||
WebhookTriggerEvents.BOOKING_CREATED,
|
||||
WebhookTriggerEvents.BOOKING_RESCHEDULED,
|
||||
WebhookTriggerEvents.BOOKING_PAID,
|
||||
WebhookTriggerEvents.MEETING_ENDED,
|
||||
WebhookTriggerEvents.BOOKING_REQUESTED,
|
||||
WebhookTriggerEvents.BOOKING_REJECTED,
|
||||
|
||||
Reference in new issue
Block a user