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