feat: Add scheduleId to POST and PATCH requests in event-type endpoint (#10816)

* adds scheduleId to PATCH

* adds scheduleID to POST

* updated docs
This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2023-08-17 15:42:29 +00:00
1 parent 0f2b6bbe1a
commit efa195059e
3 files changed
+9

No files matched your search

+2
View File
@@ -67,6 +67,7 @@ const schemaEventTypeCreateParams = z
seatsPerTimeSlot: z.number().optional(),
seatsShowAttendees: z.boolean().optional(),
bookingFields: eventTypeBookingFields.optional(),
scheduleId: z.number().optional(),
})
.strict();
@@ -85,6 +86,7 @@ const schemaEventTypeEditParams = z
seatsPerTimeSlot: z.number().optional(),
seatsShowAttendees: z.boolean().optional(),
bookingFields: eventTypeBookingFields.optional(),
scheduleId: z.number().optional(),
})
.strict();