import { apiClient } from "@/api/client"; export interface Patient { userId: number; firstName: string; lastName: string; email: string; } export const patientApi = { getAllPatients: async (): Promise => apiClient.get("/patients"), setTherapist: async (therapistId: number): Promise => apiClient.put(`/patients/therapist/${therapistId}`), removeTherapist: async (): Promise => apiClient.delete("/patients/therapist"), getCurrentTherapist: async (): Promise => apiClient.get("/patients/therapist"), };