Built motion from commit 994c64e1.|2.6.1
[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 _0xcce5=['../../components/auth/service','./memberReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra'];(function(_0x130a18,_0x50f6d4){var _0x5caf36=function(_0x1289b3){while(--_0x1289b3){_0x130a18['push'](_0x130a18['shift']());}};_0x5caf36(++_0x50f6d4);}(_0xcce5,0xf7));var _0x5cce=function(_0x421d7c,_0x5a92ee){_0x421d7c=_0x421d7c-0x0;var _0x4f759e=_0xcce5[_0x421d7c];return _0x4f759e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5cce('0x0'));var timeout=require(_0x5cce('0x1'));var express=require(_0x5cce('0x2'));var router=express[_0x5cce('0x3')]();var fs_extra=require(_0x5cce('0x4'));var auth=require(_0x5cce('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5cce('0x6'));router['get']('/',auth[_0x5cce('0x7')](),controller[_0x5cce('0x8')]);router[_0x5cce('0x9')](_0x5cce('0xa'),auth['isAuthenticated'](),controller[_0x5cce('0xb')]);router[_0x5cce('0x9')](_0x5cce('0xc'),auth['isAuthenticated'](),controller[_0x5cce('0xd')]);router[_0x5cce('0xe')]('/',auth[_0x5cce('0x7')](),controller[_0x5cce('0xf')]);router[_0x5cce('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x5cce('0x11')]);router[_0x5cce('0x12')](_0x5cce('0xc'),auth[_0x5cce('0x7')](),controller[_0x5cce('0x13')]);module[_0x5cce('0x14')]=router;