Built motion from commit (unavailable).|2.5.24
[motion2.git] / server / api / memberReport / 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 _0x2c75=['../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','post','create','update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service'];(function(_0x7c2035,_0x13334){var _0x50f5c1=function(_0x20a9b4){while(--_0x20a9b4){_0x7c2035['push'](_0x7c2035['shift']());}};_0x50f5c1(++_0x13334);}(_0x2c75,0xd3));var _0x52c7=function(_0x9d639c,_0x524dbe){_0x9d639c=_0x9d639c-0x0;var _0x1671de=_0x2c75[_0x9d639c];return _0x1671de;};'use strict';var multer=require(_0x52c7('0x0'));var util=require('util');var path=require(_0x52c7('0x1'));var timeout=require(_0x52c7('0x2'));var express=require(_0x52c7('0x3'));var router=express['Router']();var auth=require(_0x52c7('0x4'));var interaction=require(_0x52c7('0x5'));var config=require(_0x52c7('0x6'));var controller=require('./memberReport.controller');router[_0x52c7('0x7')]('/',auth[_0x52c7('0x8')](),controller[_0x52c7('0x9')]);router[_0x52c7('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x52c7('0xa')]);router[_0x52c7('0x7')](_0x52c7('0xb'),auth[_0x52c7('0x8')](),controller['show']);router[_0x52c7('0xc')]('/',auth[_0x52c7('0x8')](),controller[_0x52c7('0xd')]);router['put'](_0x52c7('0xb'),auth['isAuthenticated'](),controller[_0x52c7('0xe')]);router[_0x52c7('0xf')]('/:id',auth[_0x52c7('0x8')](),controller[_0x52c7('0x10')]);module[_0x52c7('0x11')]=router;