import { client } from "../client"; import type { Term } from "../client"; export type PatchTermBody = { name?: string | null; starts_at?: number | null; ends_at?: number | null; }; export function patchTermById(id: string, body: PatchTermBody): Promise { return client(`/terms/${id}`, { method: "PATCH", body }); }