Built motion from commit 7ab0e143.|2.5.49
[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 _0x4413=['multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','index','/describe','/:id','create','put','update','delete','destroy','exports'];(function(_0x2113df,_0x31fe0e){var _0x5433a0=function(_0x501a6f){while(--_0x501a6f){_0x2113df['push'](_0x2113df['shift']());}};_0x5433a0(++_0x31fe0e);}(_0x4413,0x90));var _0x3441=function(_0x34dbc4,_0x37b8f2){_0x34dbc4=_0x34dbc4-0x0;var _0x203be5=_0x4413[_0x34dbc4];return _0x203be5;};'use strict';var multer=require(_0x3441('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3441('0x1'));var express=require(_0x3441('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x3441('0x3'));var interaction=require(_0x3441('0x4'));var config=require(_0x3441('0x5'));var controller=require(_0x3441('0x6'));router[_0x3441('0x7')]('/',auth[_0x3441('0x8')](),controller[_0x3441('0x9')]);router['get'](_0x3441('0xa'),auth[_0x3441('0x8')](),controller['describe']);router[_0x3441('0x7')](_0x3441('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x3441('0x8')](),controller[_0x3441('0xc')]);router[_0x3441('0xd')](_0x3441('0xb'),auth['isAuthenticated'](),controller[_0x3441('0xe')]);router[_0x3441('0xf')](_0x3441('0xb'),auth[_0x3441('0x8')](),controller[_0x3441('0x10')]);module[_0x3441('0x11')]=router;