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";
|
|
|
|
import ticketRoutes from "./ticketRoutes";
|
|
|
|
import whatsappRoutes from "./whatsappRoutes";
|
|
|
|
import messageRoutes from "./messageRoutes";
|
|
|
|
import whatsappSessionRoutes from "./whatsappSessionRoutes";
|
|
|
|
import queueRoutes from "./queueRoutes";
|
|
|
|
import quickAnswerRoutes from "./quickAnswerRoutes";
|
|
|
|
|
|
|
|
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);
|
|
|
|
routes.use(contactRoutes);
|
|
|
|
routes.use(ticketRoutes);
|
|
|
|
routes.use(whatsappRoutes);
|
|
|
|
routes.use(messageRoutes);
|
|
|
|
routes.use(whatsappSessionRoutes);
|
|
|
|
routes.use(queueRoutes);
|
|
|
|
routes.use(quickAnswerRoutes);
|
|
|
|
|
|
|
|
export default routes;
|