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-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
|
|
|
|
|
|
|
|
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-12 05:13:15 +00:00
|
|
|
routes.use(schedulingNotifiyRoutes)
|
2022-01-15 18:32:46 +00:00
|
|
|
routes.use(reportRoutes);
|
|
|
|
|
|
|
|
|
2022-01-06 01:26:15 +00:00
|
|
|
export default routes;
|