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