07f25371938d30f1d8f64aa8bacb67f7d4aa174f
[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 _0x6271=['../../components/interaction/service','get','isAuthenticated','index','describe','/:id','post','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x25dcb9,_0x4f94db){var _0x39c279=function(_0x2fb06c){while(--_0x2fb06c){_0x25dcb9['push'](_0x25dcb9['shift']());}};_0x39c279(++_0x4f94db);}(_0x6271,0x1e7));var _0x1627=function(_0x131832,_0x583391){_0x131832=_0x131832-0x0;var _0xeef957=_0x6271[_0x131832];return _0xeef957;};'use strict';var multer=require('multer');var util=require(_0x1627('0x0'));var path=require(_0x1627('0x1'));var timeout=require(_0x1627('0x2'));var express=require(_0x1627('0x3'));var router=express[_0x1627('0x4')]();var fs_extra=require(_0x1627('0x5'));var auth=require(_0x1627('0x6'));var interaction=require(_0x1627('0x7'));var config=require('../../config/environment');var controller=require('./memberReport.controller');router[_0x1627('0x8')]('/',auth[_0x1627('0x9')](),controller[_0x1627('0xa')]);router[_0x1627('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x1627('0xb')]);router[_0x1627('0x8')](_0x1627('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x1627('0xd')]('/',auth[_0x1627('0x9')](),controller['create']);router[_0x1627('0xe')]('/:id',auth[_0x1627('0x9')](),controller[_0x1627('0xf')]);router[_0x1627('0x10')](_0x1627('0xc'),auth[_0x1627('0x9')](),controller[_0x1627('0x11')]);module[_0x1627('0x12')]=router;