38b01c5ea752a20b6fdadea87b01c733f4ebfff9
[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 _0xcceb=['../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x38a3c1,_0x3c4b20){var _0x58721e=function(_0x5cd5ac){while(--_0x5cd5ac){_0x38a3c1['push'](_0x38a3c1['shift']());}};_0x58721e(++_0x3c4b20);}(_0xcceb,0x144));var _0xbcce=function(_0x3f146c,_0x42e0dc){_0x3f146c=_0x3f146c-0x0;var _0x407f72=_0xcceb[_0x3f146c];return _0x407f72;};'use strict';var multer=require(_0xbcce('0x0'));var util=require(_0xbcce('0x1'));var path=require(_0xbcce('0x2'));var timeout=require(_0xbcce('0x3'));var express=require(_0xbcce('0x4'));var router=express[_0xbcce('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xbcce('0x6'));var interaction=require(_0xbcce('0x7'));var config=require(_0xbcce('0x8'));var controller=require(_0xbcce('0x9'));router[_0xbcce('0xa')]('/',auth[_0xbcce('0xb')](),controller[_0xbcce('0xc')]);router[_0xbcce('0xa')](_0xbcce('0xd'),auth[_0xbcce('0xb')](),controller[_0xbcce('0xe')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xbcce('0xf')]);router[_0xbcce('0x10')]('/',auth[_0xbcce('0xb')](),controller[_0xbcce('0x11')]);router[_0xbcce('0x12')](_0xbcce('0x13'),auth[_0xbcce('0xb')](),controller['update']);router['delete'](_0xbcce('0x13'),auth['isAuthenticated'](),controller[_0xbcce('0x14')]);module[_0xbcce('0x15')]=router;