
const {createCustomerType,findAllCustomersTypes,findCustomerTypeById,updateCustomerType,deleteCustomerType} = require('../controllers/customerType')





const customerTypeRoutes = [
  {
    method: "POST",
    url: "/webservice/customer-type/add-customer-type",
    handler: createCustomerType,
  },
  {
    method: "POST",
    url: "/webservice/customer-type/get-all-customer-type",
    handler: findAllCustomersTypes,
  },
  {
    method: "POST",
    url: "/webservice/customer-type/get-customer-type",
    handler: findCustomerTypeById,
  },
  {
    method: "POST",
    url: "/webservice/customer-type/update-customer-type",
    handler: updateCustomerType,
  },
  {
    method: "POST",
    url: "/webservice/customer-type/delete-customer-type",
    handler: deleteCustomerType,
  },

]

module.exports = customerTypeRoutes