Built motion from commit (unavailable).|2.5.23
[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 _0xb7f4=['isAuthenticated','/describe','describe','get','/:id','show','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller'];(function(_0x5b719b,_0x3abe16){var _0x5c4d16=function(_0x1894ed){while(--_0x1894ed){_0x5b719b['push'](_0x5b719b['shift']());}};_0x5c4d16(++_0x3abe16);}(_0xb7f4,0x160));var _0x4b7f=function(_0x1c9ae0,_0x4022e4){_0x1c9ae0=_0x1c9ae0-0x0;var _0x4833d5=_0xb7f4[_0x1c9ae0];return _0x4833d5;};'use strict';var multer=require(_0x4b7f('0x0'));var util=require(_0x4b7f('0x1'));var path=require('path');var timeout=require(_0x4b7f('0x2'));var express=require(_0x4b7f('0x3'));var router=express['Router']();var auth=require(_0x4b7f('0x4'));var interaction=require(_0x4b7f('0x5'));var config=require(_0x4b7f('0x6'));var controller=require(_0x4b7f('0x7'));router['get']('/',auth[_0x4b7f('0x8')](),controller['index']);router['get'](_0x4b7f('0x9'),auth[_0x4b7f('0x8')](),controller[_0x4b7f('0xa')]);router[_0x4b7f('0xb')](_0x4b7f('0xc'),auth[_0x4b7f('0x8')](),controller[_0x4b7f('0xd')]);router[_0x4b7f('0xe')]('/',auth[_0x4b7f('0x8')](),controller['create']);router[_0x4b7f('0xf')](_0x4b7f('0xc'),auth['isAuthenticated'](),controller[_0x4b7f('0x10')]);router[_0x4b7f('0x11')](_0x4b7f('0xc'),auth[_0x4b7f('0x8')](),controller[_0x4b7f('0x12')]);module[_0x4b7f('0x13')]=router;