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 _0x512d=['express','Router','../../components/auth/service','../../config/environment','isAuthenticated','get','/describe','describe','/:id','show','post','update','delete','destroy','exports','util','path','connect-timeout'];(function(_0x50a0c2,_0x4befab){var _0x5ebadd=function(_0x3a3342){while(--_0x3a3342){_0x50a0c2['push'](_0x50a0c2['shift']());}};_0x5ebadd(++_0x4befab);}(_0x512d,0x153));var _0xd512=function(_0x40e18b,_0xb1f8ed){_0x40e18b=_0x40e18b-0x0;var _0x2919d7=_0x512d[_0x40e18b];return _0x2919d7;};'use strict';var multer=require('multer');var util=require(_0xd512('0x0'));var path=require(_0xd512('0x1'));var timeout=require(_0xd512('0x2'));var express=require(_0xd512('0x3'));var router=express[_0xd512('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xd512('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xd512('0x6'));var controller=require('./mailTransferReport.controller');router['get']('/',auth[_0xd512('0x7')](),controller['index']);router[_0xd512('0x8')](_0xd512('0x9'),auth[_0xd512('0x7')](),controller[_0xd512('0xa')]);router['get'](_0xd512('0xb'),auth[_0xd512('0x7')](),controller[_0xd512('0xc')]);router[_0xd512('0xd')]('/',auth[_0xd512('0x7')](),controller['create']);router['put'](_0xd512('0xb'),auth['isAuthenticated'](),controller[_0xd512('0xe')]);router[_0xd512('0xf')]('/:id',auth[_0xd512('0x7')](),controller[_0xd512('0x10')]);module[_0xd512('0x11')]=router;