Get a daily random issue suggestion from any GitHub repository
This PR implements guest availability checking during host reschedule to address issue #16378. When a host reschedules a booking, the system now checks if attendees who are Cal.com users are available at the new time and only shows mutually available slots.
getGuestBusyTimesForReschedule
method in AvailableSlotsService
to fetch busy times for Cal.com guest usersgetUsersAvailability
to include guest busy times in availability calculationfindUsersByEmails
and findBookingsByUserIdsAndDateRange
methods with prismock-compatible filteringThe implementation works by:
All tests pass successfully. The implementation includes comprehensive test coverage for various scenarios including single guests, multiple guests, non-Cal.com users, and different scheduling types.
Closes #16378