Built motion from commit (unavailable).|2.4.17
[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 _0x1f5e=['show','post','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./memberReport.controller','get','isAuthenticated','/describe','describe'];(function(_0x43cba5,_0x4a2f83){var _0x359d1a=function(_0x888a02){while(--_0x888a02){_0x43cba5['push'](_0x43cba5['shift']());}};_0x359d1a(++_0x4a2f83);}(_0x1f5e,0x147));var _0xe1f5=function(_0x5a0f59,_0x32673b){_0x5a0f59=_0x5a0f59-0x0;var _0x4b1e78=_0x1f5e[_0x5a0f59];return _0x4b1e78;};'use strict';var multer=require(_0xe1f5('0x0'));var util=require(_0xe1f5('0x1'));var path=require(_0xe1f5('0x2'));var timeout=require(_0xe1f5('0x3'));var express=require(_0xe1f5('0x4'));var router=express[_0xe1f5('0x5')]();var auth=require(_0xe1f5('0x6'));var interaction=require(_0xe1f5('0x7'));var config=require('../../config/environment');var controller=require(_0xe1f5('0x8'));router[_0xe1f5('0x9')]('/',auth[_0xe1f5('0xa')](),controller['index']);router[_0xe1f5('0x9')](_0xe1f5('0xb'),auth[_0xe1f5('0xa')](),controller[_0xe1f5('0xc')]);router[_0xe1f5('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xe1f5('0xd')]);router[_0xe1f5('0xe')]('/',auth[_0xe1f5('0xa')](),controller['create']);router['put']('/:id',auth[_0xe1f5('0xa')](),controller[_0xe1f5('0xf')]);router[_0xe1f5('0x10')](_0xe1f5('0x11'),auth[_0xe1f5('0xa')](),controller[_0xe1f5('0x12')]);module[_0xe1f5('0x13')]=router;