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