Built motion from commit 85328c08.|2.5.50
[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 _0x641f=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','describe','/:id','show','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express'];(function(_0xc1ede1,_0x27c567){var _0x36f293=function(_0x1fe28c){while(--_0x1fe28c){_0xc1ede1['push'](_0xc1ede1['shift']());}};_0x36f293(++_0x27c567);}(_0x641f,0xba));var _0xf641=function(_0x4b010a,_0x3f6824){_0x4b010a=_0x4b010a-0x0;var _0x5d5084=_0x641f[_0x4b010a];return _0x5d5084;};'use strict';var multer=require(_0xf641('0x0'));var util=require(_0xf641('0x1'));var path=require('path');var timeout=require(_0xf641('0x2'));var express=require(_0xf641('0x3'));var router=express[_0xf641('0x4')]();var fs_extra=require(_0xf641('0x5'));var auth=require(_0xf641('0x6'));var interaction=require(_0xf641('0x7'));var config=require('../../config/environment');var controller=require('./memberReport.controller');router[_0xf641('0x8')]('/',auth[_0xf641('0x9')](),controller['index']);router[_0xf641('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xf641('0xa')]);router[_0xf641('0x8')](_0xf641('0xb'),auth[_0xf641('0x9')](),controller[_0xf641('0xc')]);router[_0xf641('0xd')]('/',auth[_0xf641('0x9')](),controller['create']);router[_0xf641('0xe')](_0xf641('0xb'),auth[_0xf641('0x9')](),controller[_0xf641('0xf')]);router[_0xf641('0x10')](_0xf641('0xb'),auth['isAuthenticated'](),controller[_0xf641('0x11')]);module[_0xf641('0x12')]=router;