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