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 _0x739c=['get','index','isAuthenticated','describe','/:id','show','post','put','update','destroy','exports','multer','path','express','../../config/environment','./mailTransferReport.controller'];(function(_0x548696,_0x11da75){var _0x2b9477=function(_0x254dae){while(--_0x254dae){_0x548696['push'](_0x548696['shift']());}};_0x2b9477(++_0x11da75);}(_0x739c,0xbb));var _0xc739=function(_0x87969f,_0x20cc69){_0x87969f=_0x87969f-0x0;var _0x40dd62=_0x739c[_0x87969f];return _0x40dd62;};'use strict';var multer=require(_0xc739('0x0'));var util=require('util');var path=require(_0xc739('0x1'));var timeout=require('connect-timeout');var express=require(_0xc739('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc739('0x3'));var controller=require(_0xc739('0x4'));router[_0xc739('0x5')]('/',auth['isAuthenticated'](),controller[_0xc739('0x6')]);router[_0xc739('0x5')]('/describe',auth[_0xc739('0x7')](),controller[_0xc739('0x8')]);router['get'](_0xc739('0x9'),auth[_0xc739('0x7')](),controller[_0xc739('0xa')]);router[_0xc739('0xb')]('/',auth[_0xc739('0x7')](),controller['create']);router[_0xc739('0xc')](_0xc739('0x9'),auth[_0xc739('0x7')](),controller[_0xc739('0xd')]);router['delete'](_0xc739('0x9'),auth['isAuthenticated'](),controller[_0xc739('0xe')]);module[_0xc739('0xf')]=router;