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 _0x027f=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./memberReport.controller','get','isAuthenticated','/describe','/:id','show','put','destroy','exports','multer','util','path','connect-timeout'];(function(_0x235f49,_0x2992b4){var _0x551139=function(_0x35565c){while(--_0x35565c){_0x235f49['push'](_0x235f49['shift']());}};_0x551139(++_0x2992b4);}(_0x027f,0x140));var _0xf027=function(_0x101ac5,_0x3fa8a1){_0x101ac5=_0x101ac5-0x0;var _0x39a1a3=_0x027f[_0x101ac5];return _0x39a1a3;};'use strict';var multer=require(_0xf027('0x0'));var util=require(_0xf027('0x1'));var path=require(_0xf027('0x2'));var timeout=require(_0xf027('0x3'));var express=require(_0xf027('0x4'));var router=express[_0xf027('0x5')]();var fs_extra=require(_0xf027('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xf027('0x7'));var config=require(_0xf027('0x8'));var controller=require(_0xf027('0x9'));router[_0xf027('0xa')]('/',auth[_0xf027('0xb')](),controller['index']);router[_0xf027('0xa')](_0xf027('0xc'),auth[_0xf027('0xb')](),controller['describe']);router['get'](_0xf027('0xd'),auth[_0xf027('0xb')](),controller[_0xf027('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xf027('0xf')](_0xf027('0xd'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xf027('0xb')](),controller[_0xf027('0x10')]);module[_0xf027('0x11')]=router;