2022-01-06 01:26:15 +00:00
|
|
|
import { Router } from "express";
|
|
|
|
|
|
|
|
import userRoutes from "./userRoutes";
|
|
|
|
import authRoutes from "./authRoutes";
|
|
|
|
import settingRoutes from "./settingRoutes";
|
|
|
|
import contactRoutes from "./contactRoutes";
|
2022-01-15 18:32:46 +00:00
|
|
|
import ticketRoutes from "./ticketRoutes";
|
2022-01-06 01:26:15 +00:00
|
|
|
import whatsappRoutes from "./whatsappRoutes";
|
|
|
|
import messageRoutes from "./messageRoutes";
|
|
|
|
import whatsappSessionRoutes from "./whatsappSessionRoutes";
|
|
|
|
import queueRoutes from "./queueRoutes";
|
|
|
|
import quickAnswerRoutes from "./quickAnswerRoutes";
|
2022-01-15 18:32:46 +00:00
|
|
|
import reportRoutes from "./reportRoutes";
|
2022-03-12 05:13:15 +00:00
|
|
|
import schedulingNotifiyRoutes from "./SchedulingNotifyRoutes";
|
2022-03-24 22:16:31 +00:00
|
|
|
import statusChatEndRoutes from "./statusChatEndRoutes";
|
2024-02-07 19:36:45 +00:00
|
|
|
import hitRoutes from "./hitRoutes";
|
2023-02-07 15:47:40 +00:00
|
|
|
import wbotMonitorRoutes from "./wbotMonitorRoutes";
|
2024-03-12 15:46:12 +00:00
|
|
|
import iamRoutesEL from "./iamRoutesEL";
|
2022-01-06 01:26:15 +00:00
|
|
|
|
2022-01-15 18:32:46 +00:00
|
|
|
const routes = Router();
|
2022-01-10 20:10:20 +00:00
|
|
|
|
|
|
|
|
2024-03-12 15:46:12 +00:00
|
|
|
routes.use(iamRoutesEL);
|
2022-01-06 01:26:15 +00:00
|
|
|
routes.use(userRoutes);
|
|
|
|
routes.use("/auth", authRoutes);
|
|
|
|
routes.use(settingRoutes);
|
2022-01-15 18:32:46 +00:00
|
|
|
routes.use(contactRoutes);
|
|
|
|
routes.use(ticketRoutes);
|
2022-01-06 01:26:15 +00:00
|
|
|
routes.use(whatsappRoutes);
|
|
|
|
routes.use(messageRoutes);
|
|
|
|
routes.use(whatsappSessionRoutes);
|
|
|
|
routes.use(queueRoutes);
|
|
|
|
routes.use(quickAnswerRoutes);
|
|
|
|
|
2022-03-24 22:16:31 +00:00
|
|
|
routes.use(schedulingNotifiyRoutes);
|
2022-01-15 18:32:46 +00:00
|
|
|
routes.use(reportRoutes);
|
2022-03-24 22:16:31 +00:00
|
|
|
routes.use(statusChatEndRoutes);
|
2024-02-07 19:36:45 +00:00
|
|
|
routes.use(hitRoutes);
|
2023-02-07 15:47:40 +00:00
|
|
|
routes.use(wbotMonitorRoutes);
|
2022-01-15 18:32:46 +00:00
|
|
|
|
2022-01-06 01:26:15 +00:00
|
|
|
export default routes;
|