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 _0x3c24=['multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x1e8791,_0x57acc5){var _0x5a4abb=function(_0x4f9e36){while(--_0x4f9e36){_0x1e8791['push'](_0x1e8791['shift']());}};_0x5a4abb(++_0x57acc5);}(_0x3c24,0x1a4));var _0x43c2=function(_0x3f0b30,_0x159bc8){_0x3f0b30=_0x3f0b30-0x0;var _0x2748a5=_0x3c24[_0x3f0b30];return _0x2748a5;};'use strict';var multer=require(_0x43c2('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x43c2('0x1'));var express=require(_0x43c2('0x2'));var router=express[_0x43c2('0x3')]();var fs_extra=require(_0x43c2('0x4'));var auth=require(_0x43c2('0x5'));var interaction=require(_0x43c2('0x6'));var config=require(_0x43c2('0x7'));var controller=require('./mailQueueReport.controller');router[_0x43c2('0x8')]('/',auth[_0x43c2('0x9')](),controller[_0x43c2('0xa')]);router[_0x43c2('0x8')](_0x43c2('0xb'),auth[_0x43c2('0x9')](),controller['describe']);router['get'](_0x43c2('0xc'),auth[_0x43c2('0x9')](),controller[_0x43c2('0xd')]);router[_0x43c2('0xe')]('/',auth[_0x43c2('0x9')](),controller[_0x43c2('0xf')]);router[_0x43c2('0x10')](_0x43c2('0xc'),auth[_0x43c2('0x9')](),controller[_0x43c2('0x11')]);router[_0x43c2('0x12')]('/:id',auth[_0x43c2('0x9')](),controller[_0x43c2('0x13')]);module[_0x43c2('0x14')]=router;