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 _0xb05c=['isAuthenticated','get','describe','/:id','show','create','put','update','destroy','exports','multer','connect-timeout','express','../../components/interaction/service'];(function(_0x4b055c,_0x4b870b){var _0x4b62bb=function(_0x4884c2){while(--_0x4884c2){_0x4b055c['push'](_0x4b055c['shift']());}};_0x4b62bb(++_0x4b870b);}(_0xb05c,0x1d8));var _0xcb05=function(_0x170f4c,_0x4a4c80){_0x170f4c=_0x170f4c-0x0;var _0x52eedd=_0xb05c[_0x170f4c];return _0x52eedd;};'use strict';var multer=require(_0xcb05('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xcb05('0x1'));var express=require(_0xcb05('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xcb05('0x3'));var config=require('../../config/environment');var controller=require('./mailQueueReport.controller');router['get']('/',auth[_0xcb05('0x4')](),controller['index']);router[_0xcb05('0x5')]('/describe',auth[_0xcb05('0x4')](),controller[_0xcb05('0x6')]);router['get'](_0xcb05('0x7'),auth[_0xcb05('0x4')](),controller[_0xcb05('0x8')]);router['post']('/',auth[_0xcb05('0x4')](),controller[_0xcb05('0x9')]);router[_0xcb05('0xa')](_0xcb05('0x7'),auth[_0xcb05('0x4')](),controller[_0xcb05('0xb')]);router['delete'](_0xcb05('0x7'),auth[_0xcb05('0x4')](),controller[_0xcb05('0xc')]);module[_0xcb05('0xd')]=router;