import { apiClient } from "@/api/client"; export interface ConsultationSlot { consultationSlots: string[]; // ISO date strings } export const consultationSlotApi = { getSlots: async (therapistId: number): Promise => apiClient.get(`/consultation-slots/${therapistId}`), addSlot: async ( therapistId: number, date: string, ): Promise => apiClient.post(`/consultation-slots/${therapistId}`, { date, }), removeSlot: async ( therapistId: number, date: string, ): Promise => apiClient.delete( `/consultation-slots/${therapistId}/${date}`, ), };