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 _0xbca6=['/:id','update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./memberReport.controller','index','get','/describe','isAuthenticated','describe','create','put'];(function(_0x3f04d4,_0x148990){var _0x318e65=function(_0x3535ad){while(--_0x3535ad){_0x3f04d4['push'](_0x3f04d4['shift']());}};_0x318e65(++_0x148990);}(_0xbca6,0xfb));var _0x6bca=function(_0x3231fd,_0x3995aa){_0x3231fd=_0x3231fd-0x0;var _0xb07fa4=_0xbca6[_0x3231fd];return _0xb07fa4;};'use strict';var multer=require(_0x6bca('0x0'));var util=require(_0x6bca('0x1'));var path=require(_0x6bca('0x2'));var timeout=require('connect-timeout');var express=require(_0x6bca('0x3'));var router=express[_0x6bca('0x4')]();var auth=require(_0x6bca('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6bca('0x6'));var controller=require(_0x6bca('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x6bca('0x8')]);router[_0x6bca('0x9')](_0x6bca('0xa'),auth[_0x6bca('0xb')](),controller[_0x6bca('0xc')]);router[_0x6bca('0x9')]('/:id',auth[_0x6bca('0xb')](),controller['show']);router['post']('/',auth[_0x6bca('0xb')](),controller[_0x6bca('0xd')]);router[_0x6bca('0xe')](_0x6bca('0xf'),auth[_0x6bca('0xb')](),controller[_0x6bca('0x10')]);router['delete']('/:id',auth[_0x6bca('0xb')](),controller[_0x6bca('0x11')]);module[_0x6bca('0x12')]=router;