fix: Add booking related events for recurring bookings as well (#16180)

* Add bookingSuccessful event for recurring booking

* Remove unused variable
This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-08-13 10:25:52 +00:00
1 parent 3666c260ee
commit c36249b5a7
5 files changed
+108 -34

No files matched your search

@@ -30,6 +30,11 @@ export type EventDataMap = {
eventTypeId: number | null | undefined;
status: string | undefined;
paymentRequired: boolean;
isRecurring: boolean;
/**
* This is only used for recurring bookings
*/
allBookings?: { startTime: string; endTime: string }[];
};
/**
@@ -56,6 +61,11 @@ export type EventDataMap = {
eventTypeId: number | null | undefined;
status: string | undefined;
paymentRequired: boolean;
isRecurring: boolean;
/**
* This is only used for recurring bookings
*/
allBookings?: { startTime: string; endTime: string }[];
};
/**
* @deprecated Use `rescheduleBookingSuccessfulV2` instead. We restrict the data heavily there, only sending what is absolutely needed and keeping it light as well. Plus, more importantly that can be documented well.