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 _0xf86f=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x419778,_0xb7b701){var _0x31b070=function(_0x301542){while(--_0x301542){_0x419778['push'](_0x419778['shift']());}};_0x31b070(++_0xb7b701);}(_0xf86f,0x18d));var _0xff86=function(_0x2179f1,_0x21c653){_0x2179f1=_0x2179f1-0x0;var _0x176ec9=_0xf86f[_0x2179f1];return _0x176ec9;};'use strict';var multer=require(_0xff86('0x0'));var util=require(_0xff86('0x1'));var path=require('path');var timeout=require(_0xff86('0x2'));var express=require(_0xff86('0x3'));var router=express[_0xff86('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xff86('0x5'));var interaction=require(_0xff86('0x6'));var config=require(_0xff86('0x7'));var controller=require(_0xff86('0x8'));router[_0xff86('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xff86('0x9')]('/describe',auth[_0xff86('0xa')](),controller[_0xff86('0xb')]);router[_0xff86('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xff86('0xc')]);router[_0xff86('0xd')]('/',auth[_0xff86('0xa')](),controller[_0xff86('0xe')]);router[_0xff86('0xf')](_0xff86('0x10'),auth[_0xff86('0xa')](),controller[_0xff86('0x11')]);router[_0xff86('0x12')](_0xff86('0x10'),auth[_0xff86('0xa')](),controller[_0xff86('0x13')]);module[_0xff86('0x14')]=router;