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 _0xfe63=['express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','isAuthenticated','get','describe','/:id','show','post','create','put','update','delete','destroy','path','connect-timeout'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xfe63,0x83));var _0x3fe6=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xfe63[_0x20a584];return _0x4b41a8;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3fe6('0x0'));var timeout=require(_0x3fe6('0x1'));var express=require(_0x3fe6('0x2'));var router=express['Router']();var fs_extra=require(_0x3fe6('0x3'));var auth=require(_0x3fe6('0x4'));var interaction=require(_0x3fe6('0x5'));var config=require(_0x3fe6('0x6'));var controller=require(_0x3fe6('0x7'));router['get']('/',auth[_0x3fe6('0x8')](),controller['index']);router[_0x3fe6('0x9')]('/describe',auth[_0x3fe6('0x8')](),controller[_0x3fe6('0xa')]);router[_0x3fe6('0x9')](_0x3fe6('0xb'),auth[_0x3fe6('0x8')](),controller[_0x3fe6('0xc')]);router[_0x3fe6('0xd')]('/',auth[_0x3fe6('0x8')](),controller[_0x3fe6('0xe')]);router[_0x3fe6('0xf')](_0x3fe6('0xb'),auth[_0x3fe6('0x8')](),controller[_0x3fe6('0x10')]);router[_0x3fe6('0x11')](_0x3fe6('0xb'),auth[_0x3fe6('0x8')](),controller[_0x3fe6('0x12')]);module['exports']=router;