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