import api from './api';

const budgetService = {
    setBudget: (data) => api.post('/budgets', data),
    getStatus: (period) => api.get('/budgets/status', { params: { period } }),
    deleteBudget: (id) => api.delete(`/budgets/${id}`),
};

export default budgetService;
