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 _0xa30f=['./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','put','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4cb91b,_0x563522){var _0x36601f=function(_0x1b0e3d){while(--_0x1b0e3d){_0x4cb91b['push'](_0x4cb91b['shift']());}};_0x36601f(++_0x563522);}(_0xa30f,0x1d5));var _0xfa30=function(_0x4a9cb5,_0x59a7af){_0x4a9cb5=_0x4a9cb5-0x0;var _0xc71927=_0xa30f[_0x4a9cb5];return _0xc71927;};'use strict';var multer=require(_0xfa30('0x0'));var util=require('util');var path=require(_0xfa30('0x1'));var timeout=require(_0xfa30('0x2'));var express=require(_0xfa30('0x3'));var router=express['Router']();var auth=require(_0xfa30('0x4'));var interaction=require(_0xfa30('0x5'));var config=require(_0xfa30('0x6'));var controller=require(_0xfa30('0x7'));router[_0xfa30('0x8')]('/',auth[_0xfa30('0x9')](),controller[_0xfa30('0xa')]);router[_0xfa30('0x8')](_0xfa30('0xb'),auth[_0xfa30('0x9')](),controller['describe']);router[_0xfa30('0x8')](_0xfa30('0xc'),auth[_0xfa30('0x9')](),controller[_0xfa30('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xfa30('0xe')](_0xfa30('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xfa30('0xc'),auth[_0xfa30('0x9')](),controller[_0xfa30('0xf')]);module[_0xfa30('0x10')]=router;