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