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 _0x109f=['delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/:id','show','post','create','update'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x109f,0x1ba));var _0xf109=function(_0x44729f,_0x21f21b){_0x44729f=_0x44729f-0x0;var _0x458ee0=_0x109f[_0x44729f];return _0x458ee0;};'use strict';var multer=require('multer');var util=require(_0xf109('0x0'));var path=require(_0xf109('0x1'));var timeout=require(_0xf109('0x2'));var express=require(_0xf109('0x3'));var router=express[_0xf109('0x4')]();var fs_extra=require(_0xf109('0x5'));var auth=require(_0xf109('0x6'));var interaction=require(_0xf109('0x7'));var config=require(_0xf109('0x8'));var controller=require(_0xf109('0x9'));router[_0xf109('0xa')]('/',auth[_0xf109('0xb')](),controller[_0xf109('0xc')]);router[_0xf109('0xa')]('/describe',auth[_0xf109('0xb')](),controller['describe']);router[_0xf109('0xa')](_0xf109('0xd'),auth[_0xf109('0xb')](),controller[_0xf109('0xe')]);router[_0xf109('0xf')]('/',auth[_0xf109('0xb')](),controller[_0xf109('0x10')]);router['put'](_0xf109('0xd'),auth[_0xf109('0xb')](),controller[_0xf109('0x11')]);router[_0xf109('0x12')]('/:id',auth[_0xf109('0xb')](),controller[_0xf109('0x13')]);module['exports']=router;