attendes of users bookings only

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-08 03:16:53 +02:00
1 parent 3d917e4dd4
commit fc3677631f
3 files changed
+27 -7

No files matched your search

+2
View File
@@ -62,6 +62,8 @@ export type SelectedCalendarsResponse = BaseResponse & {
export type AttendeeResponse = BaseResponse & {
data?: Partial<Attendee>;
};
// Grouping attendees in booking arrays for now,
// later might remove endpoint and move to booking endpoint altogether.
export type AttendeesResponse = BaseResponse & {
data?: Partial<Attendee>[];
};
+1
View File
@@ -8,6 +8,7 @@ export const schemaAttendeeBaseBodyParams = Attendee.omit({ id: true }).partial(
export const schemaAttendeePublic = Attendee.omit({});
const schemaAttendeeRequiredParams = z.object({
bookingId: z.any(),
email: z.string().email(),
name: z.string(),
timeZone: z.string(),