5d4014518559e4c0870e4cb0f5b38064c9c4fccd
[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 _0xe954=['../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','show','post','create','put','delete','destroy','multer','util','express','Router','fs-extra'];(function(_0x13ee11,_0x129ca5){var _0xfe3915=function(_0x11b6c6){while(--_0x11b6c6){_0x13ee11['push'](_0x13ee11['shift']());}};_0xfe3915(++_0x129ca5);}(_0xe954,0xc7));var _0x4e95=function(_0x4d5f76,_0x11295c){_0x4d5f76=_0x4d5f76-0x0;var _0xb1e4a4=_0xe954[_0x4d5f76];return _0xb1e4a4;};'use strict';var multer=require(_0x4e95('0x0'));var util=require(_0x4e95('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x4e95('0x2'));var router=express[_0x4e95('0x3')]();var fs_extra=require(_0x4e95('0x4'));var auth=require(_0x4e95('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4e95('0x6'));var controller=require('./memberReport.controller');router['get']('/',auth[_0x4e95('0x7')](),controller[_0x4e95('0x8')]);router[_0x4e95('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x4e95('0x9')](_0x4e95('0xa'),auth[_0x4e95('0x7')](),controller[_0x4e95('0xb')]);router[_0x4e95('0xc')]('/',auth[_0x4e95('0x7')](),controller[_0x4e95('0xd')]);router[_0x4e95('0xe')](_0x4e95('0xa'),auth[_0x4e95('0x7')](),controller['update']);router[_0x4e95('0xf')](_0x4e95('0xa'),auth[_0x4e95('0x7')](),controller[_0x4e95('0x10')]);module['exports']=router;