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