Built motion from commit 14588770.|2.5.38
[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 _0xf1e0=['connect-timeout','express','Router','fs-extra','get','isAuthenticated','show','post','create','put','/:id','delete','destroy','exports','multer','util','path'];(function(_0x2294bb,_0x3bc4fe){var _0x374942=function(_0x17ee9a){while(--_0x17ee9a){_0x2294bb['push'](_0x2294bb['shift']());}};_0x374942(++_0x3bc4fe);}(_0xf1e0,0x162));var _0x0f1e=function(_0x630942,_0x416196){_0x630942=_0x630942-0x0;var _0x599c57=_0xf1e0[_0x630942];return _0x599c57;};'use strict';var multer=require(_0x0f1e('0x0'));var util=require(_0x0f1e('0x1'));var path=require(_0x0f1e('0x2'));var timeout=require(_0x0f1e('0x3'));var express=require(_0x0f1e('0x4'));var router=express[_0x0f1e('0x5')]();var fs_extra=require(_0x0f1e('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./memberReport.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x0f1e('0x7')]('/describe',auth[_0x0f1e('0x8')](),controller['describe']);router[_0x0f1e('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x0f1e('0x9')]);router[_0x0f1e('0xa')]('/',auth['isAuthenticated'](),controller[_0x0f1e('0xb')]);router[_0x0f1e('0xc')](_0x0f1e('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x0f1e('0xe')](_0x0f1e('0xd'),auth[_0x0f1e('0x8')](),controller[_0x0f1e('0xf')]);module[_0x0f1e('0x10')]=router;