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 _0x6be2=['path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./memberReport.controller','isAuthenticated','index','get','/describe','describe','/:id','post','create','update','delete','exports','multer','util'];(function(_0x3dabb9,_0x15ba04){var _0x1529ae=function(_0x2a4bd1){while(--_0x2a4bd1){_0x3dabb9['push'](_0x3dabb9['shift']());}};_0x1529ae(++_0x15ba04);}(_0x6be2,0x166));var _0x26be=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6be2[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x26be('0x0'));var util=require(_0x26be('0x1'));var path=require(_0x26be('0x2'));var timeout=require(_0x26be('0x3'));var express=require(_0x26be('0x4'));var router=express[_0x26be('0x5')]();var auth=require(_0x26be('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x26be('0x7'));var controller=require(_0x26be('0x8'));router['get']('/',auth[_0x26be('0x9')](),controller[_0x26be('0xa')]);router[_0x26be('0xb')](_0x26be('0xc'),auth[_0x26be('0x9')](),controller[_0x26be('0xd')]);router[_0x26be('0xb')](_0x26be('0xe'),auth[_0x26be('0x9')](),controller['show']);router[_0x26be('0xf')]('/',auth['isAuthenticated'](),controller[_0x26be('0x10')]);router['put'](_0x26be('0xe'),auth[_0x26be('0x9')](),controller[_0x26be('0x11')]);router[_0x26be('0x12')]('/:id',auth[_0x26be('0x9')](),controller['destroy']);module[_0x26be('0x13')]=router;