hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBc35a83aBurak Boduroğlu4 months ago440 commits
| 1 | import { client } from "../client"; |
| 2 | import type { Appointment } from "../client"; |
| 3 | |
| 4 | export type RejectAppointmentBody = { |
| 5 | /** Optional free-text reason; blank/omitted records no reason. */ |
| 6 | reason?: string; |
| 7 | }; |
| 8 | |
| 9 | export function patchRejectAppointment(id: string, body?: RejectAppointmentBody): Promise<Appointment> { |
| 10 | return client<Appointment>(`/appointments/${id}/reject`, { method: "PATCH", body }); |
| 11 | } |