daebb88ef4e219c32db321f93eb697bdb7af949d
[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 _0x62f2=['index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated'];(function(_0x5041bb,_0x114f80){var _0x159130=function(_0x1bc141){while(--_0x1bc141){_0x5041bb['push'](_0x5041bb['shift']());}};_0x159130(++_0x114f80);}(_0x62f2,0xd3));var _0x262f=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x62f2[_0x432682];return _0x463d05;};'use strict';var multer=require('multer');var util=require(_0x262f('0x0'));var path=require('path');var timeout=require(_0x262f('0x1'));var express=require(_0x262f('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x262f('0x3'));var interaction=require(_0x262f('0x4'));var config=require(_0x262f('0x5'));var controller=require(_0x262f('0x6'));router[_0x262f('0x7')]('/',auth[_0x262f('0x8')](),controller[_0x262f('0x9')]);router[_0x262f('0x7')](_0x262f('0xa'),auth[_0x262f('0x8')](),controller[_0x262f('0xb')]);router[_0x262f('0x7')](_0x262f('0xc'),auth[_0x262f('0x8')](),controller[_0x262f('0xd')]);router[_0x262f('0xe')]('/',auth[_0x262f('0x8')](),controller[_0x262f('0xf')]);router[_0x262f('0x10')](_0x262f('0xc'),auth[_0x262f('0x8')](),controller['update']);router[_0x262f('0x11')](_0x262f('0xc'),auth[_0x262f('0x8')](),controller[_0x262f('0x12')]);module[_0x262f('0x13')]=router;