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