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 _0x08be=['express','Router','../../components/auth/service','./mailTransferReport.controller','isAuthenticated','get','/describe','describe','show','post','put','update','delete','destroy','exports','connect-timeout'];(function(_0x1cb7c2,_0x314fbc){var _0x436048=function(_0x469692){while(--_0x469692){_0x1cb7c2['push'](_0x1cb7c2['shift']());}};_0x436048(++_0x314fbc);}(_0x08be,0xaf));var _0xe08b=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x08be[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xe08b('0x0'));var express=require(_0xe08b('0x1'));var router=express[_0xe08b('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xe08b('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe08b('0x4'));router['get']('/',auth[_0xe08b('0x5')](),controller['index']);router[_0xe08b('0x6')](_0xe08b('0x7'),auth[_0xe08b('0x5')](),controller[_0xe08b('0x8')]);router[_0xe08b('0x6')]('/:id',auth[_0xe08b('0x5')](),controller[_0xe08b('0x9')]);router[_0xe08b('0xa')]('/',auth[_0xe08b('0x5')](),controller['create']);router[_0xe08b('0xb')]('/:id',auth[_0xe08b('0x5')](),controller[_0xe08b('0xc')]);router[_0xe08b('0xd')]('/:id',auth[_0xe08b('0x5')](),controller[_0xe08b('0xe')]);module[_0xe08b('0xf')]=router;