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 _0xff7a=['get','isAuthenticated','index','/describe','describe','/:id','put','update','delete','exports','multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller'];(function(_0x555788,_0x207c93){var _0x2ec89b=function(_0x376709){while(--_0x376709){_0x555788['push'](_0x555788['shift']());}};_0x2ec89b(++_0x207c93);}(_0xff7a,0xb4));var _0xaff7=function(_0x592769,_0xdff12d){_0x592769=_0x592769-0x0;var _0x28dd3e=_0xff7a[_0x592769];return _0x28dd3e;};'use strict';var multer=require(_0xaff7('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xaff7('0x1'));var express=require(_0xaff7('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xaff7('0x3'));var interaction=require(_0xaff7('0x4'));var config=require(_0xaff7('0x5'));var controller=require(_0xaff7('0x6'));router[_0xaff7('0x7')]('/',auth[_0xaff7('0x8')](),controller[_0xaff7('0x9')]);router[_0xaff7('0x7')](_0xaff7('0xa'),auth[_0xaff7('0x8')](),controller[_0xaff7('0xb')]);router[_0xaff7('0x7')](_0xaff7('0xc'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xaff7('0x8')](),controller['create']);router[_0xaff7('0xd')]('/:id',auth[_0xaff7('0x8')](),controller[_0xaff7('0xe')]);router[_0xaff7('0xf')](_0xaff7('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xaff7('0x10')]=router;