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 _0xfafb=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','post','create','update','delete','destroy'];(function(_0x17884c,_0x10959f){var _0x1c1c66=function(_0x4492ff){while(--_0x4492ff){_0x17884c['push'](_0x17884c['shift']());}};_0x1c1c66(++_0x10959f);}(_0xfafb,0x6d));var _0xbfaf=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfafb[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xbfaf('0x0'));var util=require(_0xbfaf('0x1'));var path=require(_0xbfaf('0x2'));var timeout=require(_0xbfaf('0x3'));var express=require(_0xbfaf('0x4'));var router=express[_0xbfaf('0x5')]();var fs_extra=require(_0xbfaf('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xbfaf('0x7'));var config=require(_0xbfaf('0x8'));var controller=require('./mailQueueReport.controller');router[_0xbfaf('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xbfaf('0x9')]('/describe',auth[_0xbfaf('0xa')](),controller['describe']);router[_0xbfaf('0x9')](_0xbfaf('0xb'),auth[_0xbfaf('0xa')](),controller['show']);router[_0xbfaf('0xc')]('/',auth[_0xbfaf('0xa')](),controller[_0xbfaf('0xd')]);router['put']('/:id',auth[_0xbfaf('0xa')](),controller[_0xbfaf('0xe')]);router[_0xbfaf('0xf')](_0xbfaf('0xb'),auth['isAuthenticated'](),controller[_0xbfaf('0x10')]);module[_0xbfaf('0x11')]=router;