import requests from "./api/base-api";

const cafeService = {
    getCafeList: () => requests.get("/admin/v1/get-cafe-lists"),
    getCafeById: (id) => requests.get(`/cafe/v1/get-cafe-profile-by-cafe/${id}`),

    editCafe: (cafeData) => requests.put(`/cafe/v1/edit-cafe-profile-by-admin`, cafeData),
    editMenu: (menuData) => requests.put(`/cafe/v1/edit-menu-items`, menuData),

    addMenuItem: (itemData) => requests.post(`/cafemenu/create-cafe-menu`, itemData),
};

export default cafeService;