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 _0xe848=['get','index','/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./mailTransferReport.controller'];(function(_0x1913f1,_0xe19928){var _0x4118c4=function(_0x269237){while(--_0x269237){_0x1913f1['push'](_0x1913f1['shift']());}};_0x4118c4(++_0xe19928);}(_0xe848,0xb4));var _0x8e84=function(_0x53adb1,_0x46d52a){_0x53adb1=_0x53adb1-0x0;var _0x53474c=_0xe848[_0x53adb1];return _0x53474c;};'use strict';var multer=require(_0x8e84('0x0'));var util=require(_0x8e84('0x1'));var path=require(_0x8e84('0x2'));var timeout=require(_0x8e84('0x3'));var express=require(_0x8e84('0x4'));var router=express[_0x8e84('0x5')]();var auth=require(_0x8e84('0x6'));var interaction=require(_0x8e84('0x7'));var config=require('../../config/environment');var controller=require(_0x8e84('0x8'));router[_0x8e84('0x9')]('/',auth['isAuthenticated'](),controller[_0x8e84('0xa')]);router[_0x8e84('0x9')](_0x8e84('0xb'),auth[_0x8e84('0xc')](),controller[_0x8e84('0xd')]);router[_0x8e84('0x9')](_0x8e84('0xe'),auth[_0x8e84('0xc')](),controller['show']);router[_0x8e84('0xf')]('/',auth[_0x8e84('0xc')](),controller[_0x8e84('0x10')]);router[_0x8e84('0x11')](_0x8e84('0xe'),auth[_0x8e84('0xc')](),controller[_0x8e84('0x12')]);router[_0x8e84('0x13')](_0x8e84('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x8e84('0x14')]=router;