be409a2a1e9ad124f623a417815c40ff7fb547b9
[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 _0x5b62=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','update','destroy','exports','multer','util','connect-timeout'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5b62,0x101));var _0x25b6=function(_0x5ddaac,_0x2697a8){_0x5ddaac=_0x5ddaac-0x0;var _0x2a9c58=_0x5b62[_0x5ddaac];return _0x2a9c58;};'use strict';var multer=require(_0x25b6('0x0'));var util=require(_0x25b6('0x1'));var path=require('path');var timeout=require(_0x25b6('0x2'));var express=require(_0x25b6('0x3'));var router=express[_0x25b6('0x4')]();var auth=require(_0x25b6('0x5'));var interaction=require(_0x25b6('0x6'));var config=require(_0x25b6('0x7'));var controller=require(_0x25b6('0x8'));router[_0x25b6('0x9')]('/',auth[_0x25b6('0xa')](),controller['index']);router[_0x25b6('0x9')](_0x25b6('0xb'),auth[_0x25b6('0xa')](),controller[_0x25b6('0xc')]);router[_0x25b6('0x9')](_0x25b6('0xd'),auth[_0x25b6('0xa')](),controller[_0x25b6('0xe')]);router[_0x25b6('0xf')]('/',auth[_0x25b6('0xa')](),controller[_0x25b6('0x10')]);router['put'](_0x25b6('0xd'),auth[_0x25b6('0xa')](),controller[_0x25b6('0x11')]);router['delete'](_0x25b6('0xd'),auth[_0x25b6('0xa')](),controller[_0x25b6('0x12')]);module[_0x25b6('0x13')]=router;