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