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 { schemaEventTypeCustomInputPublic } from "~/lib/validations/event-type-custom-input";
  import { schemaQueryIdParseInt } from "~/lib/validations/shared/queryIdTransformParseInt";
  
  /**
   * @swagger
   * /custom-inputs/{id}:
   *   get:
   *     summary: Find a eventTypeCustomInput
   *     parameters:
   *       - in: path
   *         name: id
   *         schema:
   *           type: integer
   *         required: true
   *         description: ID of the eventTypeCustomInput to get
   *     tags:
   *     - custom-inputs
   *     responses:
   *       200:
   *         description: OK
   *       401:
   *        description: Authorization information is missing or invalid.
   *       404:
   *         description: EventType was not found
   */
  export async function getHandler(req: NextApiRequest) {
    const { prisma, query } = req;
    const { id } = schemaQueryIdParseInt.parse(query);
    const data = await prisma.eventTypeCustomInput.findUniqueOrThrow({ where: { id } });
    return { event_type_custom_input: schemaEventTypeCustomInputPublic.parse(data) };
  }
  
  export default defaultResponder(getHandler);
  