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 _0x9958=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','create','put','update','delete','destroy'];(function(_0x278e3c,_0x1c9cfd){var _0x3e2d9b=function(_0x34d928){while(--_0x34d928){_0x278e3c['push'](_0x278e3c['shift']());}};_0x3e2d9b(++_0x1c9cfd);}(_0x9958,0x1b6));var _0x8995=function(_0x2387d6,_0x34d49c){_0x2387d6=_0x2387d6-0x0;var _0x4e1834=_0x9958[_0x2387d6];return _0x4e1834;};'use strict';var multer=require(_0x8995('0x0'));var util=require('util');var path=require(_0x8995('0x1'));var timeout=require(_0x8995('0x2'));var express=require(_0x8995('0x3'));var router=express[_0x8995('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x8995('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8995('0x6'));var controller=require('./mailQueueReport.controller');router['get']('/',auth[_0x8995('0x7')](),controller[_0x8995('0x8')]);router[_0x8995('0x9')](_0x8995('0xa'),auth[_0x8995('0x7')](),controller[_0x8995('0xb')]);router[_0x8995('0x9')](_0x8995('0xc'),auth[_0x8995('0x7')](),controller['show']);router['post']('/',auth[_0x8995('0x7')](),controller[_0x8995('0xd')]);router[_0x8995('0xe')](_0x8995('0xc'),auth[_0x8995('0x7')](),controller[_0x8995('0xf')]);router[_0x8995('0x10')](_0x8995('0xc'),auth[_0x8995('0x7')](),controller[_0x8995('0x11')]);module[_0x8995('0x12')]=router;