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 _0x368e=['index','/describe','/:id','post','create','exports','multer','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated'];(function(_0x100b1b,_0x21bfc5){var _0x30d58f=function(_0x11d52f){while(--_0x11d52f){_0x100b1b['push'](_0x100b1b['shift']());}};_0x30d58f(++_0x21bfc5);}(_0x368e,0x156));var _0xe368=function(_0x9fe470,_0x250a67){_0x9fe470=_0x9fe470-0x0;var _0x35677b=_0x368e[_0x9fe470];return _0x35677b;};'use strict';var multer=require(_0xe368('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xe368('0x1'));var express=require(_0xe368('0x2'));var router=express[_0xe368('0x3')]();var fs_extra=require(_0xe368('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xe368('0x5'));var config=require(_0xe368('0x6'));var controller=require(_0xe368('0x7'));router[_0xe368('0x8')]('/',auth[_0xe368('0x9')](),controller[_0xe368('0xa')]);router[_0xe368('0x8')](_0xe368('0xb'),auth[_0xe368('0x9')](),controller['describe']);router[_0xe368('0x8')](_0xe368('0xc'),auth[_0xe368('0x9')](),controller['show']);router[_0xe368('0xd')]('/',auth['isAuthenticated'](),controller[_0xe368('0xe')]);router['put'](_0xe368('0xc'),auth[_0xe368('0x9')](),controller['update']);router['delete'](_0xe368('0xc'),auth[_0xe368('0x9')](),controller['destroy']);module[_0xe368('0xf')]=router;