Built motion from commit (unavailable).|2.5.14
[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 _0x3048=['/describe','describe','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x3048,0x1d0));var _0x8304=function(_0x213502,_0x22ede6){_0x213502=_0x213502-0x0;var _0x40abef=_0x3048[_0x213502];return _0x40abef;};'use strict';var multer=require(_0x8304('0x0'));var util=require(_0x8304('0x1'));var path=require(_0x8304('0x2'));var timeout=require(_0x8304('0x3'));var express=require(_0x8304('0x4'));var router=express[_0x8304('0x5')]();var auth=require(_0x8304('0x6'));var interaction=require(_0x8304('0x7'));var config=require('../../config/environment');var controller=require('./mailTransferReport.controller');router[_0x8304('0x8')]('/',auth[_0x8304('0x9')](),controller[_0x8304('0xa')]);router[_0x8304('0x8')](_0x8304('0xb'),auth[_0x8304('0x9')](),controller[_0x8304('0xc')]);router[_0x8304('0x8')]('/:id',auth[_0x8304('0x9')](),controller['show']);router['post']('/',auth[_0x8304('0x9')](),controller['create']);router[_0x8304('0xd')](_0x8304('0xe'),auth[_0x8304('0x9')](),controller[_0x8304('0xf')]);router[_0x8304('0x10')](_0x8304('0xe'),auth[_0x8304('0x9')](),controller[_0x8304('0x11')]);module[_0x8304('0x12')]=router;