refractoring & add timesheet service
This commit is contained in:
@@ -42,13 +42,6 @@ router.post(
|
||||
crmEmailController.markThreadRead
|
||||
);
|
||||
|
||||
// Get emails for a specific contact
|
||||
router.get(
|
||||
'/contact/:contactId',
|
||||
validateParams(z.object({ contactId: z.string().uuid() })),
|
||||
crmEmailController.getContactEmails
|
||||
);
|
||||
|
||||
// Mark all emails from contact as read
|
||||
router.post(
|
||||
'/contact/:contactId/read',
|
||||
@@ -56,14 +49,6 @@ router.post(
|
||||
crmEmailController.markContactEmailsRead
|
||||
);
|
||||
|
||||
// Mark email as read/unread
|
||||
router.patch(
|
||||
'/:jmapId/read',
|
||||
validateParams(z.object({ jmapId: z.string() })),
|
||||
validateBody(z.object({ isRead: z.boolean() })),
|
||||
crmEmailController.markAsRead
|
||||
);
|
||||
|
||||
// Send email reply
|
||||
router.post(
|
||||
'/reply',
|
||||
|
||||
Reference in New Issue
Block a user