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 _0x39eb=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./dashboardItem.controller','get','isAuthenticated','show','post','create','/:id','delete','destroy','exports','multer','util','path'];(function(_0x44ed60,_0x5ced59){var _0x282785=function(_0x4ece10){while(--_0x4ece10){_0x44ed60['push'](_0x44ed60['shift']());}};_0x282785(++_0x5ced59);}(_0x39eb,0x82));var _0xb39e=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x39eb[_0x122ef9];return _0x42fba0;};'use strict';var multer=require(_0xb39e('0x0'));var util=require(_0xb39e('0x1'));var path=require(_0xb39e('0x2'));var timeout=require(_0xb39e('0x3'));var express=require(_0xb39e('0x4'));var router=express[_0xb39e('0x5')]();var fs_extra=require(_0xb39e('0x6'));var auth=require(_0xb39e('0x7'));var interaction=require(_0xb39e('0x8'));var config=require('../../config/environment');var controller=require(_0xb39e('0x9'));router[_0xb39e('0xa')]('/:id',auth[_0xb39e('0xb')](),controller[_0xb39e('0xc')]);router[_0xb39e('0xd')]('/',auth[_0xb39e('0xb')](),controller[_0xb39e('0xe')]);router['put'](_0xb39e('0xf'),auth['isAuthenticated'](),controller['update']);router[_0xb39e('0x10')](_0xb39e('0xf'),auth[_0xb39e('0xb')](),controller[_0xb39e('0x11')]);module[_0xb39e('0x12')]=router;