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 _0x346a=['isAuthenticated','index','/describe','describe','show','post','create','delete','/:id','destroy','exports','util','path','connect-timeout','Router','fs-extra','./memberReport.controller','get'];(function(_0x18b477,_0x555d04){var _0x240b92=function(_0x343b06){while(--_0x343b06){_0x18b477['push'](_0x18b477['shift']());}};_0x240b92(++_0x555d04);}(_0x346a,0xd1));var _0xa346=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x346a[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require(_0xa346('0x0'));var path=require(_0xa346('0x1'));var timeout=require(_0xa346('0x2'));var express=require('express');var router=express[_0xa346('0x3')]();var fs_extra=require(_0xa346('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa346('0x5'));router[_0xa346('0x6')]('/',auth[_0xa346('0x7')](),controller[_0xa346('0x8')]);router[_0xa346('0x6')](_0xa346('0x9'),auth[_0xa346('0x7')](),controller[_0xa346('0xa')]);router[_0xa346('0x6')]('/:id',auth[_0xa346('0x7')](),controller[_0xa346('0xb')]);router[_0xa346('0xc')]('/',auth['isAuthenticated'](),controller[_0xa346('0xd')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xa346('0xe')](_0xa346('0xf'),auth['isAuthenticated'](),controller[_0xa346('0x10')]);module[_0xa346('0x11')]=router;