1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xfe64=['create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','isAuthenticated','/describe','describe','/:id'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xfe64,0xd7));var _0x4fe6=function(_0x321225,_0xe67ebe){_0x321225=_0x321225-0x0;var _0x6ff353=_0xfe64[_0x321225];return _0x6ff353;};'use strict';var multer=require(_0x4fe6('0x0'));var util=require('util');var path=require(_0x4fe6('0x1'));var timeout=require(_0x4fe6('0x2'));var express=require(_0x4fe6('0x3'));var router=express[_0x4fe6('0x4')]();var auth=require(_0x4fe6('0x5'));var interaction=require(_0x4fe6('0x6'));var config=require(_0x4fe6('0x7'));var controller=require(_0x4fe6('0x8'));router['get']('/',auth[_0x4fe6('0x9')](),controller['index']);router['get'](_0x4fe6('0xa'),auth[_0x4fe6('0x9')](),controller[_0x4fe6('0xb')]);router['get'](_0x4fe6('0xc'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x4fe6('0x9')](),controller[_0x4fe6('0xd')]);router[_0x4fe6('0xe')](_0x4fe6('0xc'),auth[_0x4fe6('0x9')](),controller[_0x4fe6('0xf')]);router[_0x4fe6('0x10')](_0x4fe6('0xc'),auth['isAuthenticated'](),controller[_0x4fe6('0x11')]);module[_0x4fe6('0x12')]=router;