Built motion from commit (unavailable).|2.4.18
[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 _0x320e=['multer','express','Router','../../components/auth/service','../../components/interaction/service','./memberReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x534ae9,_0x5735c1){var _0x2dc1e7=function(_0x58048a){while(--_0x58048a){_0x534ae9['push'](_0x534ae9['shift']());}};_0x2dc1e7(++_0x5735c1);}(_0x320e,0x8c));var _0xe320=function(_0x55e659,_0x233aa4){_0x55e659=_0x55e659-0x0;var _0xca08c7=_0x320e[_0x55e659];return _0xca08c7;};'use strict';var multer=require(_0xe320('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe320('0x1'));var router=express[_0xe320('0x2')]();var auth=require(_0xe320('0x3'));var interaction=require(_0xe320('0x4'));var config=require('../../config/environment');var controller=require(_0xe320('0x5'));router[_0xe320('0x6')]('/',auth[_0xe320('0x7')](),controller[_0xe320('0x8')]);router[_0xe320('0x6')](_0xe320('0x9'),auth['isAuthenticated'](),controller[_0xe320('0xa')]);router[_0xe320('0x6')](_0xe320('0xb'),auth[_0xe320('0x7')](),controller[_0xe320('0xc')]);router[_0xe320('0xd')]('/',auth[_0xe320('0x7')](),controller[_0xe320('0xe')]);router[_0xe320('0xf')](_0xe320('0xb'),auth[_0xe320('0x7')](),controller[_0xe320('0x10')]);router[_0xe320('0x11')]('/:id',auth[_0xe320('0x7')](),controller[_0xe320('0x12')]);module[_0xe320('0x13')]=router;