import api from '@/core/api/axios';
export const settingsService = {
  getOverheadTypes: () => api.get('/api/wtm/overhead-types'),
  createOverheadType: (d: unknown) => api.post('/api/wtm/overhead-types', d),
  updateOverheadType: (id: number, d: unknown) => api.put(`/api/wtm/overhead-types/${id}`, d),
  getWorkRules: () => api.get('/api/wtm/work-rules'),
  updateWorkRules: (d: unknown) => api.put('/api/wtm/work-rules', d),
};
