// Auto-generated notes service
import { api } from "./api";

export function get() {
  return api.get("/api/notes");
}

export function post(data: Record<string, unknown>) {
  return api.post("/api/notes", data);
}

export function put_id(id: string, data: Record<string, unknown>) {
  return api.put(`/api/notes/${id}`, data);
}

export function delete_id(id: string) {
  return api.delete(`/api/notes/${id}`);
}
