UNPKG

skailan-crm

Version:

Servicio de CRM y gestión de ventas para Skailan

14 lines 711 B
import { Router } from 'express'; import { createLead, getLeadById, listLeads, updateLead, deleteLead, sendLeadFollowUpEmail, startConversationWithLead, getLeadSummaryByStatus, syncLeadWithContact } from '../controllers/leadController'; const router = Router(); router.post('/', createLead); router.get('/', listLeads); router.get('/summary', getLeadSummaryByStatus); router.get('/:id', getLeadById); router.put('/:id', updateLead); router.delete('/:id', deleteLead); router.post('/:id/follow-up-email', sendLeadFollowUpEmail); router.post('/:id/start-conversation', startConversationWithLead); router.post('/:id/sync-contact', syncLeadWithContact); export default router; //# sourceMappingURL=leadRoutes.js.map