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 _0x10a8=['delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','./dashboardItem.controller','get','/:id','isAuthenticated','post','update'];(function(_0x3b19ea,_0x518b6b){var _0x40ece9=function(_0x3a3386){while(--_0x3a3386){_0x3b19ea['push'](_0x3b19ea['shift']());}};_0x40ece9(++_0x518b6b);}(_0x10a8,0x13e));var _0x810a=function(_0x72eb91,_0x24e873){_0x72eb91=_0x72eb91-0x0;var _0x17d1b2=_0x10a8[_0x72eb91];return _0x17d1b2;};'use strict';var multer=require('multer');var util=require(_0x810a('0x0'));var path=require(_0x810a('0x1'));var timeout=require(_0x810a('0x2'));var express=require(_0x810a('0x3'));var router=express[_0x810a('0x4')]();var auth=require(_0x810a('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x810a('0x6'));router[_0x810a('0x7')](_0x810a('0x8'),auth[_0x810a('0x9')](),controller['show']);router[_0x810a('0xa')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x810a('0x8'),auth[_0x810a('0x9')](),controller[_0x810a('0xb')]);router[_0x810a('0xc')](_0x810a('0x8'),auth[_0x810a('0x9')](),controller[_0x810a('0xd')]);module[_0x810a('0xe')]=router;