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 _0x1299=['describe','/:id','show','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x5875c1,_0x58a247){var _0x103b60=function(_0xa953ab){while(--_0xa953ab){_0x5875c1['push'](_0x5875c1['shift']());}};_0x103b60(++_0x58a247);}(_0x1299,0x14b));var _0x9129=function(_0x31ec94,_0x4db63d){_0x31ec94=_0x31ec94-0x0;var _0x4e39a6=_0x1299[_0x31ec94];return _0x4e39a6;};'use strict';var multer=require(_0x9129('0x0'));var util=require(_0x9129('0x1'));var path=require(_0x9129('0x2'));var timeout=require(_0x9129('0x3'));var express=require(_0x9129('0x4'));var router=express[_0x9129('0x5')]();var auth=require(_0x9129('0x6'));var interaction=require(_0x9129('0x7'));var config=require(_0x9129('0x8'));var controller=require('./mailQueueReport.controller');router[_0x9129('0x9')]('/',auth[_0x9129('0xa')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0x9129('0xb')]);router['get'](_0x9129('0xc'),auth[_0x9129('0xa')](),controller[_0x9129('0xd')]);router['post']('/',auth[_0x9129('0xa')](),controller[_0x9129('0xe')]);router[_0x9129('0xf')](_0x9129('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x9129('0x10')](_0x9129('0xc'),auth['isAuthenticated'](),controller[_0x9129('0x11')]);module[_0x9129('0x12')]=router;