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 _0x5ba2=['./dashboardItem.controller','/:id','isAuthenticated','show','create','put','update','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x35da42,_0x5c2610){var _0x370035=function(_0x546db5){while(--_0x546db5){_0x35da42['push'](_0x35da42['shift']());}};_0x370035(++_0x5c2610);}(_0x5ba2,0x1cb));var _0x25ba=function(_0x44c935,_0x3653f0){_0x44c935=_0x44c935-0x0;var _0x465bee=_0x5ba2[_0x44c935];return _0x465bee;};'use strict';var multer=require(_0x25ba('0x0'));var util=require('util');var path=require(_0x25ba('0x1'));var timeout=require(_0x25ba('0x2'));var express=require(_0x25ba('0x3'));var router=express['Router']();var auth=require(_0x25ba('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x25ba('0x5'));var controller=require(_0x25ba('0x6'));router['get'](_0x25ba('0x7'),auth[_0x25ba('0x8')](),controller[_0x25ba('0x9')]);router['post']('/',auth[_0x25ba('0x8')](),controller[_0x25ba('0xa')]);router[_0x25ba('0xb')](_0x25ba('0x7'),auth[_0x25ba('0x8')](),controller[_0x25ba('0xc')]);router['delete'](_0x25ba('0x7'),auth[_0x25ba('0x8')](),controller[_0x25ba('0xd')]);module[_0x25ba('0xe')]=router;