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 _0x79ba=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete'];(function(_0x5cc8b9,_0x20e3c3){var _0x58892e=function(_0x87457a){while(--_0x87457a){_0x5cc8b9['push'](_0x5cc8b9['shift']());}};_0x58892e(++_0x20e3c3);}(_0x79ba,0xf9));var _0xa79b=function(_0x5bc18d,_0x4a1372){_0x5bc18d=_0x5bc18d-0x0;var _0x32a08e=_0x79ba[_0x5bc18d];return _0x32a08e;};'use strict';var multer=require(_0xa79b('0x0'));var util=require('util');var path=require(_0xa79b('0x1'));var timeout=require(_0xa79b('0x2'));var express=require(_0xa79b('0x3'));var router=express[_0xa79b('0x4')]();var auth=require(_0xa79b('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./mailTransferReport.controller');router[_0xa79b('0x6')]('/',auth[_0xa79b('0x7')](),controller[_0xa79b('0x8')]);router['get'](_0xa79b('0x9'),auth[_0xa79b('0x7')](),controller[_0xa79b('0xa')]);router[_0xa79b('0x6')](_0xa79b('0xb'),auth[_0xa79b('0x7')](),controller[_0xa79b('0xc')]);router[_0xa79b('0xd')]('/',auth[_0xa79b('0x7')](),controller['create']);router[_0xa79b('0xe')](_0xa79b('0xb'),auth['isAuthenticated'](),controller[_0xa79b('0xf')]);router[_0xa79b('0x10')]('/:id',auth[_0xa79b('0x7')](),controller[_0xa79b('0x11')]);module[_0xa79b('0x12')]=router;