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 _0x9b0e=['get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./memberReport.controller'];(function(_0x543af8,_0x54cfe8){var _0x22cb7b=function(_0x74b983){while(--_0x74b983){_0x543af8['push'](_0x543af8['shift']());}};_0x22cb7b(++_0x54cfe8);}(_0x9b0e,0x115));var _0xe9b0=function(_0x3d07bb,_0x13ea20){_0x3d07bb=_0x3d07bb-0x0;var _0x52eb0f=_0x9b0e[_0x3d07bb];return _0x52eb0f;};'use strict';var multer=require(_0xe9b0('0x0'));var util=require(_0xe9b0('0x1'));var path=require(_0xe9b0('0x2'));var timeout=require(_0xe9b0('0x3'));var express=require(_0xe9b0('0x4'));var router=express[_0xe9b0('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xe9b0('0x6'));var config=require(_0xe9b0('0x7'));var controller=require(_0xe9b0('0x8'));router[_0xe9b0('0x9')]('/',auth[_0xe9b0('0xa')](),controller[_0xe9b0('0xb')]);router[_0xe9b0('0x9')](_0xe9b0('0xc'),auth['isAuthenticated'](),controller[_0xe9b0('0xd')]);router[_0xe9b0('0x9')](_0xe9b0('0xe'),auth[_0xe9b0('0xa')](),controller[_0xe9b0('0xf')]);router[_0xe9b0('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe9b0('0x11')]('/:id',auth[_0xe9b0('0xa')](),controller[_0xe9b0('0x12')]);router[_0xe9b0('0x13')](_0xe9b0('0xe'),auth[_0xe9b0('0xa')](),controller[_0xe9b0('0x14')]);module[_0xe9b0('0x15')]=router;