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 _0xbe2b=['isAuthenticated','post','put','update','delete','destroy','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./dashboardItem.controller','get'];(function(_0x2ac471,_0x51b49a){var _0x3e2d25=function(_0x3c4b6c){while(--_0x3c4b6c){_0x2ac471['push'](_0x2ac471['shift']());}};_0x3e2d25(++_0x51b49a);}(_0xbe2b,0x6f));var _0xbbe2=function(_0x2df9fc,_0x28ba17){_0x2df9fc=_0x2df9fc-0x0;var _0x25d4ae=_0xbe2b[_0x2df9fc];return _0x25d4ae;};'use strict';var multer=require(_0xbbe2('0x0'));var util=require(_0xbbe2('0x1'));var path=require(_0xbbe2('0x2'));var timeout=require('connect-timeout');var express=require(_0xbbe2('0x3'));var router=express['Router']();var fs_extra=require(_0xbbe2('0x4'));var auth=require(_0xbbe2('0x5'));var interaction=require(_0xbbe2('0x6'));var config=require('../../config/environment');var controller=require(_0xbbe2('0x7'));router[_0xbbe2('0x8')]('/:id',auth[_0xbbe2('0x9')](),controller['show']);router[_0xbbe2('0xa')]('/',auth[_0xbbe2('0x9')](),controller['create']);router[_0xbbe2('0xb')]('/:id',auth[_0xbbe2('0x9')](),controller[_0xbbe2('0xc')]);router[_0xbbe2('0xd')]('/:id',auth[_0xbbe2('0x9')](),controller[_0xbbe2('0xe')]);module['exports']=router;