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 _0xf79d=['put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create'];(function(_0x30faec,_0x18940b){var _0x29484f=function(_0x169ae8){while(--_0x169ae8){_0x30faec['push'](_0x30faec['shift']());}};_0x29484f(++_0x18940b);}(_0xf79d,0x12b));var _0xdf79=function(_0x2a05f8,_0x42fbbe){_0x2a05f8=_0x2a05f8-0x0;var _0x429b9c=_0xf79d[_0x2a05f8];return _0x429b9c;};'use strict';var multer=require(_0xdf79('0x0'));var util=require('util');var path=require(_0xdf79('0x1'));var timeout=require(_0xdf79('0x2'));var express=require('express');var router=express[_0xdf79('0x3')]();var fs_extra=require(_0xdf79('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xdf79('0x5'));var config=require(_0xdf79('0x6'));var controller=require(_0xdf79('0x7'));router[_0xdf79('0x8')]('/',auth[_0xdf79('0x9')](),controller[_0xdf79('0xa')]);router[_0xdf79('0x8')](_0xdf79('0xb'),auth[_0xdf79('0x9')](),controller[_0xdf79('0xc')]);router[_0xdf79('0x8')](_0xdf79('0xd'),auth['isAuthenticated'](),controller['show']);router[_0xdf79('0xe')]('/',auth[_0xdf79('0x9')](),controller[_0xdf79('0xf')]);router[_0xdf79('0x10')](_0xdf79('0xd'),auth[_0xdf79('0x9')](),controller[_0xdf79('0x11')]);router[_0xdf79('0x12')](_0xdf79('0xd'),auth[_0xdf79('0x9')](),controller[_0xdf79('0x13')]);module[_0xdf79('0x14')]=router;