forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB7122d71Burak Boduroğlu4 months ago419 commits

patchRejectAppointment.ts11 lines, 407 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Appointment } from "../client";
3
4export type RejectAppointmentBody = {
5 /** Optional free-text reason; blank/omitted records no reason. */
6 reason?: string;
7};
8
9export function patchRejectAppointment(id: string, body?: RejectAppointmentBody): Promise<Appointment> {
10 return client<Appointment>(`/appointments/${id}/reject`, { method: "PATCH", body });
11}