import { client } from "../client"; import type { Appointment } from "../client"; export type RejectAppointmentBody = { /** Optional free-text reason; blank/omitted records no reason. */ reason?: string; }; export function patchRejectAppointment(id: string, body?: RejectAppointmentBody): Promise { return client(`/appointments/${id}/reject`, { method: "PATCH", body }); }