a96a526ccc43768f16f5e40b78e9261e21e8c121
[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 _0x1e0d=['destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','isAuthenticated','/describe','describe','get','/:id','show','post','create','put'];(function(_0x113282,_0x3495ab){var _0x33f4c4=function(_0x4e5ff6){while(--_0x4e5ff6){_0x113282['push'](_0x113282['shift']());}};_0x33f4c4(++_0x3495ab);}(_0x1e0d,0x6b));var _0xd1e0=function(_0x84a946,_0x31719b){_0x84a946=_0x84a946-0x0;var _0x207f46=_0x1e0d[_0x84a946];return _0x207f46;};'use strict';var multer=require(_0xd1e0('0x0'));var util=require(_0xd1e0('0x1'));var path=require(_0xd1e0('0x2'));var timeout=require('connect-timeout');var express=require(_0xd1e0('0x3'));var router=express[_0xd1e0('0x4')]();var fs_extra=require(_0xd1e0('0x5'));var auth=require(_0xd1e0('0x6'));var interaction=require(_0xd1e0('0x7'));var config=require(_0xd1e0('0x8'));var controller=require(_0xd1e0('0x9'));router['get']('/',auth[_0xd1e0('0xa')](),controller['index']);router['get'](_0xd1e0('0xb'),auth[_0xd1e0('0xa')](),controller[_0xd1e0('0xc')]);router[_0xd1e0('0xd')](_0xd1e0('0xe'),auth[_0xd1e0('0xa')](),controller[_0xd1e0('0xf')]);router[_0xd1e0('0x10')]('/',auth[_0xd1e0('0xa')](),controller[_0xd1e0('0x11')]);router[_0xd1e0('0x12')]('/:id',auth[_0xd1e0('0xa')](),controller['update']);router['delete']('/:id',auth[_0xd1e0('0xa')](),controller[_0xd1e0('0x13')]);module[_0xd1e0('0x14')]=router;