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 _0x2cf0=['../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','index','/describe','isAuthenticated','describe','get','/:id','show','post','create','update','delete','exports','util','connect-timeout','express'];(function(_0x14e48e,_0x4fcbe2){var _0x23e618=function(_0x17b040){while(--_0x17b040){_0x14e48e['push'](_0x14e48e['shift']());}};_0x23e618(++_0x4fcbe2);}(_0x2cf0,0x140));var _0x02cf=function(_0x53602f,_0x5cf2b3){_0x53602f=_0x53602f-0x0;var _0x5ce044=_0x2cf0[_0x53602f];return _0x5ce044;};'use strict';var multer=require('multer');var util=require(_0x02cf('0x0'));var path=require('path');var timeout=require(_0x02cf('0x1'));var express=require(_0x02cf('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x02cf('0x3'));var interaction=require(_0x02cf('0x4'));var config=require(_0x02cf('0x5'));var controller=require(_0x02cf('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x02cf('0x7')]);router['get'](_0x02cf('0x8'),auth[_0x02cf('0x9')](),controller[_0x02cf('0xa')]);router[_0x02cf('0xb')](_0x02cf('0xc'),auth[_0x02cf('0x9')](),controller[_0x02cf('0xd')]);router[_0x02cf('0xe')]('/',auth['isAuthenticated'](),controller[_0x02cf('0xf')]);router['put'](_0x02cf('0xc'),auth[_0x02cf('0x9')](),controller[_0x02cf('0x10')]);router[_0x02cf('0x11')](_0x02cf('0xc'),auth[_0x02cf('0x9')](),controller['destroy']);module[_0x02cf('0x12')]=router;