Built motion from commit (unavailable).|2.5.13
[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 _0xe9c7=['isAuthenticated','describe','get','/:id','show','post','create','put','destroy','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./memberReport.controller'];(function(_0x4f5fd1,_0x17d216){var _0x15dccf=function(_0x54a7be){while(--_0x54a7be){_0x4f5fd1['push'](_0x4f5fd1['shift']());}};_0x15dccf(++_0x17d216);}(_0xe9c7,0x88));var _0x7e9c=function(_0x2b904c,_0x5bc78f){_0x2b904c=_0x2b904c-0x0;var _0x384b35=_0xe9c7[_0x2b904c];return _0x384b35;};'use strict';var multer=require(_0x7e9c('0x0'));var util=require(_0x7e9c('0x1'));var path=require(_0x7e9c('0x2'));var timeout=require(_0x7e9c('0x3'));var express=require(_0x7e9c('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x7e9c('0x5'));var config=require(_0x7e9c('0x6'));var controller=require(_0x7e9c('0x7'));router['get']('/',auth[_0x7e9c('0x8')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0x7e9c('0x9')]);router[_0x7e9c('0xa')](_0x7e9c('0xb'),auth['isAuthenticated'](),controller[_0x7e9c('0xc')]);router[_0x7e9c('0xd')]('/',auth[_0x7e9c('0x8')](),controller[_0x7e9c('0xe')]);router[_0x7e9c('0xf')]('/:id',auth[_0x7e9c('0x8')](),controller['update']);router['delete'](_0x7e9c('0xb'),auth['isAuthenticated'](),controller[_0x7e9c('0x10')]);module[_0x7e9c('0x11')]=router;