17103c5ce41b0309b8c25ab606a7603270486760
[motion2.git] / server / api / mailTransferReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4ab9=['multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./mailTransferReport.controller','get','isAuthenticated','describe','/:id','show','post','create','delete','destroy','exports'];(function(_0x4b2863,_0x494899){var _0x567d67=function(_0x751f03){while(--_0x751f03){_0x4b2863['push'](_0x4b2863['shift']());}};_0x567d67(++_0x494899);}(_0x4ab9,0xc6));var _0x94ab=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x4ab9[_0x2641f9];return _0x585741;};'use strict';var multer=require(_0x94ab('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x94ab('0x1'));var express=require(_0x94ab('0x2'));var router=express[_0x94ab('0x3')]();var fs_extra=require(_0x94ab('0x4'));var auth=require(_0x94ab('0x5'));var interaction=require(_0x94ab('0x6'));var config=require('../../config/environment');var controller=require(_0x94ab('0x7'));router[_0x94ab('0x8')]('/',auth[_0x94ab('0x9')](),controller['index']);router[_0x94ab('0x8')]('/describe',auth[_0x94ab('0x9')](),controller[_0x94ab('0xa')]);router[_0x94ab('0x8')](_0x94ab('0xb'),auth[_0x94ab('0x9')](),controller[_0x94ab('0xc')]);router[_0x94ab('0xd')]('/',auth[_0x94ab('0x9')](),controller[_0x94ab('0xe')]);router['put']('/:id',auth[_0x94ab('0x9')](),controller['update']);router[_0x94ab('0xf')]('/:id',auth[_0x94ab('0x9')](),controller[_0x94ab('0x10')]);module[_0x94ab('0x11')]=router;