89dc4cdf42e117329074dbbd05cad820e7b76497
[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 _0x9920=['put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','describe','show','post','create'];(function(_0x1ee057,_0x2b3832){var _0x35fb1f=function(_0x4637cb){while(--_0x4637cb){_0x1ee057['push'](_0x1ee057['shift']());}};_0x35fb1f(++_0x2b3832);}(_0x9920,0x195));var _0x0992=function(_0x5ab57c,_0x262c5d){_0x5ab57c=_0x5ab57c-0x0;var _0x2cf398=_0x9920[_0x5ab57c];return _0x2cf398;};'use strict';var multer=require(_0x0992('0x0'));var util=require(_0x0992('0x1'));var path=require('path');var timeout=require(_0x0992('0x2'));var express=require(_0x0992('0x3'));var router=express['Router']();var fs_extra=require(_0x0992('0x4'));var auth=require(_0x0992('0x5'));var interaction=require(_0x0992('0x6'));var config=require('../../config/environment');var controller=require('./memberReport.controller');router[_0x0992('0x7')]('/',auth[_0x0992('0x8')](),controller['index']);router[_0x0992('0x7')]('/describe',auth[_0x0992('0x8')](),controller[_0x0992('0x9')]);router[_0x0992('0x7')]('/:id',auth[_0x0992('0x8')](),controller[_0x0992('0xa')]);router[_0x0992('0xb')]('/',auth[_0x0992('0x8')](),controller[_0x0992('0xc')]);router[_0x0992('0xd')](_0x0992('0xe'),auth[_0x0992('0x8')](),controller[_0x0992('0xf')]);router[_0x0992('0x10')](_0x0992('0xe'),auth['isAuthenticated'](),controller[_0x0992('0x11')]);module[_0x0992('0x12')]=router;