563de850b2c73aa177a7679253105f9453d85bf0
[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 _0xb53a=['post','create','put','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id'];(function(_0x2084d3,_0x239d50){var _0x57884a=function(_0x1bb241){while(--_0x1bb241){_0x2084d3['push'](_0x2084d3['shift']());}};_0x57884a(++_0x239d50);}(_0xb53a,0xb1));var _0xab53=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb53a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xab53('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xab53('0x1'));var express=require(_0xab53('0x2'));var router=express[_0xab53('0x3')]();var auth=require(_0xab53('0x4'));var interaction=require(_0xab53('0x5'));var config=require(_0xab53('0x6'));var controller=require('./memberReport.controller');router[_0xab53('0x7')]('/',auth['isAuthenticated'](),controller[_0xab53('0x8')]);router[_0xab53('0x7')](_0xab53('0x9'),auth[_0xab53('0xa')](),controller[_0xab53('0xb')]);router[_0xab53('0x7')](_0xab53('0xc'),auth[_0xab53('0xa')](),controller['show']);router[_0xab53('0xd')]('/',auth[_0xab53('0xa')](),controller[_0xab53('0xe')]);router[_0xab53('0xf')](_0xab53('0xc'),auth[_0xab53('0xa')](),controller['update']);router[_0xab53('0x10')](_0xab53('0xc'),auth[_0xab53('0xa')](),controller[_0xab53('0x11')]);module[_0xab53('0x12')]=router;