const { 
  sendDesignsToEmail, 
  getDesignEmailLogs, 
  getAllDesignEmailLogs, 
  sendInvoicePdfToEmail
} = require('../controllers/design');

const designRoutes = [
  {
    method: 'POST',
    url: '/webservice/design/send-designs-to-email',
    handler: sendDesignsToEmail,
  },
  {
    method: 'POST',
    url: '/webservice/design/send-invoice-pdf-to-email',
    handler: sendInvoicePdfToEmail,
  },
  {
    method: 'POST',
    url: '/webservice/design/get-email-logs',
    handler: getDesignEmailLogs,
  },
  {
    method: 'POST',
    url: '/webservice/design/get-all-email-logs',
    handler: getAllDesignEmailLogs,
  },
];

module.exports = designRoutes;

