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 _0x3627=['fs-extra','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','show','post','put','/:id','update','delete','destroy','exports','connect-timeout','express'];(function(_0x1fb648,_0x3375f0){var _0xc44083=function(_0x3d1520){while(--_0x3d1520){_0x1fb648['push'](_0x1fb648['shift']());}};_0xc44083(++_0x3375f0);}(_0x3627,0x185));var _0x7362=function(_0xffad3e,_0x2941f8){_0xffad3e=_0xffad3e-0x0;var _0x5b2c58=_0x3627[_0xffad3e];return _0x5b2c58;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x7362('0x0'));var express=require(_0x7362('0x1'));var router=express['Router']();var fs_extra=require(_0x7362('0x2'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7362('0x3'));var controller=require(_0x7362('0x4'));router[_0x7362('0x5')]('/',auth[_0x7362('0x6')](),controller[_0x7362('0x7')]);router['get'](_0x7362('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0x7362('0x5')]('/:id',auth[_0x7362('0x6')](),controller[_0x7362('0x9')]);router[_0x7362('0xa')]('/',auth[_0x7362('0x6')](),controller['create']);router[_0x7362('0xb')](_0x7362('0xc'),auth['isAuthenticated'](),controller[_0x7362('0xd')]);router[_0x7362('0xe')](_0x7362('0xc'),auth[_0x7362('0x6')](),controller[_0x7362('0xf')]);module[_0x7362('0x10')]=router;