1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x4ca0=['get','isAuthenticated','index','/describe','show','post','put','/:id','delete','destroy','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x46f31f,_0x125f19){var _0x10764c=function(_0x309d58){while(--_0x309d58){_0x46f31f['push'](_0x46f31f['shift']());}};_0x10764c(++_0x125f19);}(_0x4ca0,0x16f));var _0x04ca=function(_0x1e3671,_0x9ae4fc){_0x1e3671=_0x1e3671-0x0;var _0x48d5f5=_0x4ca0[_0x1e3671];return _0x48d5f5;};'use strict';var multer=require('multer');var util=require(_0x04ca('0x0'));var path=require(_0x04ca('0x1'));var timeout=require('connect-timeout');var express=require(_0x04ca('0x2'));var router=express['Router']();var fs_extra=require(_0x04ca('0x3'));var auth=require(_0x04ca('0x4'));var interaction=require(_0x04ca('0x5'));var config=require(_0x04ca('0x6'));var controller=require('./whatsappQueueReport.controller');router[_0x04ca('0x7')]('/',auth[_0x04ca('0x8')](),controller[_0x04ca('0x9')]);router['get'](_0x04ca('0xa'),auth[_0x04ca('0x8')](),controller['describe']);router['get']('/:id',auth[_0x04ca('0x8')](),controller[_0x04ca('0xb')]);router[_0x04ca('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x04ca('0xd')](_0x04ca('0xe'),auth[_0x04ca('0x8')](),controller['update']);router[_0x04ca('0xf')]('/:id',auth[_0x04ca('0x8')](),controller[_0x04ca('0x10')]);module['exports']=router;