Built motion from commit (unavailable).|2.4.18
[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 _0xf75d=['create','put','update','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','index','/describe','/:id','post'];(function(_0x1a0967,_0x51bc82){var _0x5a169f=function(_0x43fda2){while(--_0x43fda2){_0x1a0967['push'](_0x1a0967['shift']());}};_0x5a169f(++_0x51bc82);}(_0xf75d,0x10a));var _0xdf75=function(_0x4888e0,_0x35f563){_0x4888e0=_0x4888e0-0x0;var _0x346fee=_0xf75d[_0x4888e0];return _0x346fee;};'use strict';var multer=require(_0xdf75('0x0'));var util=require('util');var path=require(_0xdf75('0x1'));var timeout=require('connect-timeout');var express=require(_0xdf75('0x2'));var router=express[_0xdf75('0x3')]();var auth=require(_0xdf75('0x4'));var interaction=require(_0xdf75('0x5'));var config=require(_0xdf75('0x6'));var controller=require(_0xdf75('0x7'));router[_0xdf75('0x8')]('/',auth[_0xdf75('0x9')](),controller[_0xdf75('0xa')]);router[_0xdf75('0x8')](_0xdf75('0xb'),auth[_0xdf75('0x9')](),controller['describe']);router[_0xdf75('0x8')](_0xdf75('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xdf75('0xd')]('/',auth['isAuthenticated'](),controller[_0xdf75('0xe')]);router[_0xdf75('0xf')](_0xdf75('0xc'),auth[_0xdf75('0x9')](),controller[_0xdf75('0x10')]);router[_0xdf75('0x11')](_0xdf75('0xc'),auth['isAuthenticated'](),controller[_0xdf75('0x12')]);module[_0xdf75('0x13')]=router;