Built motion from commit (unavailable).|2.5.17
[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 _0x4138=['Router','../../config/environment','./mailTransferReport.controller','get','isAuthenticated','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0xbdf03f,_0x595215){var _0x2bbe9e=function(_0x59fbd4){while(--_0x59fbd4){_0xbdf03f['push'](_0xbdf03f['shift']());}};_0x2bbe9e(++_0x595215);}(_0x4138,0x13f));var _0x8413=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0x4138[_0x1035c1];return _0x308d67;};'use strict';var multer=require(_0x8413('0x0'));var util=require(_0x8413('0x1'));var path=require(_0x8413('0x2'));var timeout=require(_0x8413('0x3'));var express=require('express');var router=express[_0x8413('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8413('0x5'));var controller=require(_0x8413('0x6'));router[_0x8413('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8413('0x7')]('/describe',auth[_0x8413('0x8')](),controller[_0x8413('0x9')]);router[_0x8413('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x8413('0xa')]);router[_0x8413('0xb')]('/',auth['isAuthenticated'](),controller[_0x8413('0xc')]);router[_0x8413('0xd')](_0x8413('0xe'),auth[_0x8413('0x8')](),controller[_0x8413('0xf')]);router[_0x8413('0x10')]('/:id',auth[_0x8413('0x8')](),controller[_0x8413('0x11')]);module[_0x8413('0x12')]=router;