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