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