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 _0x133f=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','exports'];(function(_0x24ca1f,_0x3d2164){var _0x5f4222=function(_0x37b651){while(--_0x37b651){_0x24ca1f['push'](_0x24ca1f['shift']());}};_0x5f4222(++_0x3d2164);}(_0x133f,0x1e3));var _0xf133=function(_0x52c69a,_0x4757c9){_0x52c69a=_0x52c69a-0x0;var _0x35b7eb=_0x133f[_0x52c69a];return _0x35b7eb;};'use strict';var multer=require(_0xf133('0x0'));var util=require(_0xf133('0x1'));var path=require(_0xf133('0x2'));var timeout=require(_0xf133('0x3'));var express=require(_0xf133('0x4'));var router=express[_0xf133('0x5')]();var fs_extra=require(_0xf133('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xf133('0x7'));var config=require(_0xf133('0x8'));var controller=require(_0xf133('0x9'));router[_0xf133('0xa')]('/',auth[_0xf133('0xb')](),controller[_0xf133('0xc')]);router[_0xf133('0xa')](_0xf133('0xd'),auth[_0xf133('0xb')](),controller[_0xf133('0xe')]);router[_0xf133('0xa')]('/:id',auth[_0xf133('0xb')](),controller[_0xf133('0xf')]);router[_0xf133('0x10')]('/',auth['isAuthenticated'](),controller[_0xf133('0x11')]);router[_0xf133('0x12')](_0xf133('0x13'),auth[_0xf133('0xb')](),controller[_0xf133('0x14')]);router[_0xf133('0x15')](_0xf133('0x13'),auth[_0xf133('0xb')](),controller['destroy']);module[_0xf133('0x16')]=router;