Built motion from commit 06eb8eb0.|2.6.31
[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 _0x071c=['index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','Router','fs-extra','../../components/auth/service','isAuthenticated'];(function(_0x1b2ff7,_0x12a034){var _0x31656a=function(_0x1165a5){while(--_0x1165a5){_0x1b2ff7['push'](_0x1b2ff7['shift']());}};_0x31656a(++_0x12a034);}(_0x071c,0x13d));var _0xc071=function(_0x5dfd91,_0x52d7a4){_0x5dfd91=_0x5dfd91-0x0;var _0x49410d=_0x071c[_0x5dfd91];return _0x49410d;};'use strict';var multer=require(_0xc071('0x0'));var util=require('util');var path=require(_0xc071('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc071('0x2')]();var fs_extra=require(_0xc071('0x3'));var auth=require(_0xc071('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./memberReport.controller');router['get']('/',auth[_0xc071('0x5')](),controller[_0xc071('0x6')]);router[_0xc071('0x7')](_0xc071('0x8'),auth['isAuthenticated'](),controller[_0xc071('0x9')]);router[_0xc071('0x7')](_0xc071('0xa'),auth[_0xc071('0x5')](),controller[_0xc071('0xb')]);router[_0xc071('0xc')]('/',auth[_0xc071('0x5')](),controller[_0xc071('0xd')]);router[_0xc071('0xe')](_0xc071('0xa'),auth['isAuthenticated'](),controller[_0xc071('0xf')]);router[_0xc071('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xc071('0x11')]);module[_0xc071('0x12')]=router;