Built motion from commit (unavailable).|2.5.4
[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 _0xf88b=['index','describe','get','show','post','create','put','update','destroy','exports','util','connect-timeout','../../config/environment','./memberReport.controller','isAuthenticated'];(function(_0x160c73,_0x2ee678){var _0xd9302=function(_0x169454){while(--_0x169454){_0x160c73['push'](_0x160c73['shift']());}};_0xd9302(++_0x2ee678);}(_0xf88b,0x163));var _0xbf88=function(_0x1f653e,_0x54b3ee){_0x1f653e=_0x1f653e-0x0;var _0x744f60=_0xf88b[_0x1f653e];return _0x744f60;};'use strict';var multer=require('multer');var util=require(_0xbf88('0x0'));var path=require('path');var timeout=require(_0xbf88('0x1'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xbf88('0x2'));var controller=require(_0xbf88('0x3'));router['get']('/',auth[_0xbf88('0x4')](),controller[_0xbf88('0x5')]);router['get']('/describe',auth[_0xbf88('0x4')](),controller[_0xbf88('0x6')]);router[_0xbf88('0x7')]('/:id',auth[_0xbf88('0x4')](),controller[_0xbf88('0x8')]);router[_0xbf88('0x9')]('/',auth['isAuthenticated'](),controller[_0xbf88('0xa')]);router[_0xbf88('0xb')]('/:id',auth[_0xbf88('0x4')](),controller[_0xbf88('0xc')]);router['delete']('/:id',auth[_0xbf88('0x4')](),controller[_0xbf88('0xd')]);module[_0xbf88('0xe')]=router;