hunk.code_window:   .object({
       title: z.string().optional(),
       slug: z.string().optional(),
       length: z.number().int().optional(),
     })
     .strict();
   export const schemaEventTypeEditBodyParams = schemaEventTypeBaseBodyParams.merge(schemaEventTypeEditParams);
   export const schemaEventTypeReadPublic = EventType.pick({
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     seatsPerTimeSlot: z.number().optional(),
       seatsShowAttendees: z.boolean().optional(),
  
hunk.file_path: lib/validations/event-type.ts
hunk.type: add
file: import type { NextApiRequest } from "next";
  
  import { defaultResponder } from "@calcom/lib/server";
  
  import { schemaQueryIdParseInt } from "~/lib/validations/shared/queryIdTransformParseInt";
  
  /**
   * @swagger
   * /attendees/{id}:
   *   delete:
   *     operationId: removeAttendeeById
   *     summary: Remove an existing attendee
   *     parameters:
   *      - in: path
   *        name: id
   *        schema:
   *          type: integer
   *        required: true
   *        description: ID of the attendee to delete
   *     tags:
   *     - attendees
   *     responses:
   *       201:
   *         description: OK, attendee removed successfuly
   *       400:
   *        description: Bad request. Attendee id is invalid.
   *       401:
   *        description: Authorization information is missing or invalid.
   */
  export async function deleteHandler(req: NextApiRequest) {
    const { prisma, query } = req;
    const { id } = schemaQueryIdParseInt.parse(query);
    await prisma.attendee.delete({ where: { id } });
    return { message: `Attendee with id: ${id} deleted successfully` };
  }
  
  export default defaultResponder(deleteHandler);
  