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 _0xe508=['../../config/environment','index','get','/describe','describe','/:id','isAuthenticated','show','create','put','update','destroy','exports','multer','util'];(function(_0x23cc2d,_0xd02450){var _0x3dd47d=function(_0x26c771){while(--_0x26c771){_0x23cc2d['push'](_0x23cc2d['shift']());}};_0x3dd47d(++_0xd02450);}(_0xe508,0x67));var _0x8e50=function(_0x25cf37,_0x1753a0){_0x25cf37=_0x25cf37-0x0;var _0x2141fe=_0xe508[_0x25cf37];return _0x2141fe;};'use strict';var multer=require(_0x8e50('0x0'));var util=require(_0x8e50('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8e50('0x2'));var controller=require('./memberReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x8e50('0x3')]);router[_0x8e50('0x4')](_0x8e50('0x5'),auth['isAuthenticated'](),controller[_0x8e50('0x6')]);router[_0x8e50('0x4')](_0x8e50('0x7'),auth[_0x8e50('0x8')](),controller[_0x8e50('0x9')]);router['post']('/',auth[_0x8e50('0x8')](),controller[_0x8e50('0xa')]);router[_0x8e50('0xb')](_0x8e50('0x7'),auth['isAuthenticated'](),controller[_0x8e50('0xc')]);router['delete'](_0x8e50('0x7'),auth[_0x8e50('0x8')](),controller[_0x8e50('0xd')]);module[_0x8e50('0xe')]=router;