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 _0xe515=['/:id','post','put','update','delete','destroy','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','./mailQueueReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x2ad1b8,_0x1ea09b){var _0x52547d=function(_0x33b77c){while(--_0x33b77c){_0x2ad1b8['push'](_0x2ad1b8['shift']());}};_0x52547d(++_0x1ea09b);}(_0xe515,0x1ec));var _0x5e51=function(_0x2674c3,_0x4999b6){_0x2674c3=_0x2674c3-0x0;var _0x288fe1=_0xe515[_0x2674c3];return _0x288fe1;};'use strict';var multer=require(_0x5e51('0x0'));var util=require(_0x5e51('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5e51('0x2'));var router=express[_0x5e51('0x3')]();var auth=require(_0x5e51('0x4'));var interaction=require(_0x5e51('0x5'));var config=require('../../config/environment');var controller=require(_0x5e51('0x6'));router[_0x5e51('0x7')]('/',auth[_0x5e51('0x8')](),controller[_0x5e51('0x9')]);router['get'](_0x5e51('0xa'),auth['isAuthenticated'](),controller[_0x5e51('0xb')]);router[_0x5e51('0x7')](_0x5e51('0xc'),auth[_0x5e51('0x8')](),controller['show']);router[_0x5e51('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x5e51('0xe')](_0x5e51('0xc'),auth['isAuthenticated'](),controller[_0x5e51('0xf')]);router[_0x5e51('0x10')]('/:id',auth[_0x5e51('0x8')](),controller[_0x5e51('0x11')]);module['exports']=router;