f1a483cf0849a6a7ddc0695742837061e9215a85
[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 _0x2f30=['destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x2f30,0x6b));var _0x02f3=function(_0x3d6ac2,_0x3f4ca2){_0x3d6ac2=_0x3d6ac2-0x0;var _0x50092c=_0x2f30[_0x3d6ac2];return _0x50092c;};'use strict';var multer=require(_0x02f3('0x0'));var util=require('util');var path=require(_0x02f3('0x1'));var timeout=require('connect-timeout');var express=require(_0x02f3('0x2'));var router=express[_0x02f3('0x3')]();var fs_extra=require(_0x02f3('0x4'));var auth=require(_0x02f3('0x5'));var interaction=require(_0x02f3('0x6'));var config=require(_0x02f3('0x7'));var controller=require('./memberReport.controller');router[_0x02f3('0x8')]('/',auth[_0x02f3('0x9')](),controller[_0x02f3('0xa')]);router[_0x02f3('0x8')](_0x02f3('0xb'),auth[_0x02f3('0x9')](),controller[_0x02f3('0xc')]);router[_0x02f3('0x8')](_0x02f3('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x02f3('0xe')]('/',auth[_0x02f3('0x9')](),controller[_0x02f3('0xf')]);router[_0x02f3('0x10')](_0x02f3('0xd'),auth['isAuthenticated'](),controller[_0x02f3('0x11')]);router[_0x02f3('0x12')](_0x02f3('0xd'),auth['isAuthenticated'](),controller[_0x02f3('0x13')]);module[_0x02f3('0x14')]=router;