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 _0xfb26=['describe','/:id','show','post','put','update','delete','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./memberReport.controller','get','isAuthenticated','index','/describe'];(function(_0x311c35,_0x534915){var _0x5cc50c=function(_0x3ad680){while(--_0x3ad680){_0x311c35['push'](_0x311c35['shift']());}};_0x5cc50c(++_0x534915);}(_0xfb26,0x170));var _0x6fb2=function(_0x1e8ac9,_0x1bd0fe){_0x1e8ac9=_0x1e8ac9-0x0;var _0x4c895c=_0xfb26[_0x1e8ac9];return _0x4c895c;};'use strict';var multer=require(_0x6fb2('0x0'));var util=require('util');var path=require(_0x6fb2('0x1'));var timeout=require(_0x6fb2('0x2'));var express=require(_0x6fb2('0x3'));var router=express['Router']();var fs_extra=require(_0x6fb2('0x4'));var auth=require(_0x6fb2('0x5'));var interaction=require(_0x6fb2('0x6'));var config=require('../../config/environment');var controller=require(_0x6fb2('0x7'));router[_0x6fb2('0x8')]('/',auth[_0x6fb2('0x9')](),controller[_0x6fb2('0xa')]);router[_0x6fb2('0x8')](_0x6fb2('0xb'),auth[_0x6fb2('0x9')](),controller[_0x6fb2('0xc')]);router['get'](_0x6fb2('0xd'),auth[_0x6fb2('0x9')](),controller[_0x6fb2('0xe')]);router[_0x6fb2('0xf')]('/',auth[_0x6fb2('0x9')](),controller['create']);router[_0x6fb2('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x6fb2('0x11')]);router[_0x6fb2('0x12')](_0x6fb2('0xd'),auth[_0x6fb2('0x9')](),controller['destroy']);module[_0x6fb2('0x13')]=router;