forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB4e0a329Burak Boduroğlu2 months ago537 commits

patchRescheduleAppointment.ts11 lines, 352 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Appointment } from "../client";
3
4export type RescheduleBody = {
5 starts_at: number;
6 ends_at: number;
7};
8
9export function patchRescheduleAppointment(id: string, body: RescheduleBody): Promise<Appointment> {
10 return client<Appointment>(`/appointments/${id}/reschedule`, { method: "PATCH", body });
11}