fix: booking_paid webhook and added new payment metadata (#11093)
This commit is contained in:
1 parent
f9eb335d0b
commit
b81b221bf5
3 files changed
+81
-4
No files matched your search
@@ -18,7 +18,7 @@ export type EventTypeInfo = {
|
||||
|
||||
export type WebhookDataType = CalendarEvent &
|
||||
EventTypeInfo & {
|
||||
metadata?: { [key: string]: string };
|
||||
metadata?: { [key: string]: string | number | boolean | null };
|
||||
bookingId?: number;
|
||||
status?: string;
|
||||
smsReminderNumber?: string;
|
||||
@@ -28,6 +28,7 @@ export type WebhookDataType = CalendarEvent &
|
||||
triggerEvent: string;
|
||||
createdAt: string;
|
||||
downloadLink?: string;
|
||||
paymentId?: number;
|
||||
};
|
||||
|
||||
function getZapierPayload(
|
||||
|
||||
Reference in new issue
Block a user