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