1265a5f750baa19e7aba3e7313c9c9fd6b68f89d
[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 _0xbdaa=['path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./memberReport.controller','get','index','/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','exports','multer','util'];(function(_0x16c305,_0x2c2b5d){var _0x4b15a1=function(_0x15613b){while(--_0x15613b){_0x16c305['push'](_0x16c305['shift']());}};_0x4b15a1(++_0x2c2b5d);}(_0xbdaa,0xb2));var _0xabda=function(_0x3f35e3,_0x367438){_0x3f35e3=_0x3f35e3-0x0;var _0x20fbe5=_0xbdaa[_0x3f35e3];return _0x20fbe5;};'use strict';var multer=require(_0xabda('0x0'));var util=require(_0xabda('0x1'));var path=require(_0xabda('0x2'));var timeout=require(_0xabda('0x3'));var express=require('express');var router=express[_0xabda('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xabda('0x5'));var config=require(_0xabda('0x6'));var controller=require(_0xabda('0x7'));router[_0xabda('0x8')]('/',auth['isAuthenticated'](),controller[_0xabda('0x9')]);router[_0xabda('0x8')](_0xabda('0xa'),auth[_0xabda('0xb')](),controller[_0xabda('0xc')]);router[_0xabda('0x8')](_0xabda('0xd'),auth[_0xabda('0xb')](),controller['show']);router[_0xabda('0xe')]('/',auth[_0xabda('0xb')](),controller[_0xabda('0xf')]);router[_0xabda('0x10')](_0xabda('0xd'),auth[_0xabda('0xb')](),controller[_0xabda('0x11')]);router[_0xabda('0x12')](_0xabda('0xd'),auth[_0xabda('0xb')](),controller['destroy']);module[_0xabda('0x13')]=router;