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 _0xfc1c=['../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x43b814,_0x32af91){var _0x5416c4=function(_0x454307){while(--_0x454307){_0x43b814['push'](_0x43b814['shift']());}};_0x5416c4(++_0x32af91);}(_0xfc1c,0x6c));var _0xcfc1=function(_0x5a18c3,_0x5c6928){_0x5a18c3=_0x5a18c3-0x0;var _0x3e22e7=_0xfc1c[_0x5a18c3];return _0x3e22e7;};'use strict';var multer=require('multer');var util=require(_0xcfc1('0x0'));var path=require(_0xcfc1('0x1'));var timeout=require(_0xcfc1('0x2'));var express=require(_0xcfc1('0x3'));var router=express[_0xcfc1('0x4')]();var fs_extra=require(_0xcfc1('0x5'));var auth=require(_0xcfc1('0x6'));var interaction=require(_0xcfc1('0x7'));var config=require(_0xcfc1('0x8'));var controller=require(_0xcfc1('0x9'));router[_0xcfc1('0xa')]('/',auth['isAuthenticated'](),controller[_0xcfc1('0xb')]);router['get'](_0xcfc1('0xc'),auth[_0xcfc1('0xd')](),controller[_0xcfc1('0xe')]);router[_0xcfc1('0xa')](_0xcfc1('0xf'),auth[_0xcfc1('0xd')](),controller[_0xcfc1('0x10')]);router[_0xcfc1('0x11')]('/',auth[_0xcfc1('0xd')](),controller[_0xcfc1('0x12')]);router[_0xcfc1('0x13')](_0xcfc1('0xf'),auth[_0xcfc1('0xd')](),controller[_0xcfc1('0x14')]);router['delete'](_0xcfc1('0xf'),auth[_0xcfc1('0xd')](),controller[_0xcfc1('0x15')]);module[_0xcfc1('0x16')]=router;