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