import api from './api';

export const queryService = {
  // Customer types
  getCustomerTypes: () =>
    api.get('/query/customertype'),

  // States
  getStates: () =>
    api.get('/query/states'),

  // Employee types
  getEmployeeTypes: () =>
    api.get('/query/employeetype'),

  // Delivery statuses
  getDeliveryStatuses: () =>
    api.get('/query/deliverystatus'),

  // Oil pricing info
  getOilPrice: () =>
    api.get('/info/price/oil'),

  getOilPriceTable: () =>
    api.get('/info/price/oil/table'),

  getOilPriceTiers: () =>
    api.get('/info/price/oil/tiers'),
};

export default queryService;
