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 _0xab56=['get','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x229461,_0xb8cb9){var _0x3b2d9a=function(_0x12c052){while(--_0x12c052){_0x229461['push'](_0x229461['shift']());}};_0x3b2d9a(++_0xb8cb9);}(_0xab56,0x1ba));var _0x6ab5=function(_0xe66cf2,_0x32ba5f){_0xe66cf2=_0xe66cf2-0x0;var _0x2d84e7=_0xab56[_0xe66cf2];return _0x2d84e7;};'use strict';var multer=require(_0x6ab5('0x0'));var util=require('util');var path=require(_0x6ab5('0x1'));var timeout=require(_0x6ab5('0x2'));var express=require(_0x6ab5('0x3'));var router=express['Router']();var auth=require(_0x6ab5('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6ab5('0x5'));var controller=require('./mailTransferReport.controller');router[_0x6ab5('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x6ab5('0x6')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x6ab5('0x6')](_0x6ab5('0x7'),auth[_0x6ab5('0x8')](),controller[_0x6ab5('0x9')]);router[_0x6ab5('0xa')]('/',auth[_0x6ab5('0x8')](),controller[_0x6ab5('0xb')]);router[_0x6ab5('0xc')]('/:id',auth[_0x6ab5('0x8')](),controller['update']);router[_0x6ab5('0xd')](_0x6ab5('0x7'),auth[_0x6ab5('0x8')](),controller[_0x6ab5('0xe')]);module[_0x6ab5('0xf')]=router;