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 _0xfe6d=['Router','fs-extra','../../components/auth/service','../../config/environment','get','/:id','isAuthenticated','show','post','create','put','delete','destroy','util','path'];(function(_0x581eb7,_0x11bef5){var _0x8efe8f=function(_0x384007){while(--_0x384007){_0x581eb7['push'](_0x581eb7['shift']());}};_0x8efe8f(++_0x11bef5);}(_0xfe6d,0x1ed));var _0xdfe6=function(_0x59d0cc,_0xa7c52b){_0x59d0cc=_0x59d0cc-0x0;var _0x2ae79f=_0xfe6d[_0x59d0cc];return _0x2ae79f;};'use strict';var multer=require('multer');var util=require(_0xdfe6('0x0'));var path=require(_0xdfe6('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xdfe6('0x2')]();var fs_extra=require(_0xdfe6('0x3'));var auth=require(_0xdfe6('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xdfe6('0x5'));var controller=require('./dashboardItem.controller');router[_0xdfe6('0x6')](_0xdfe6('0x7'),auth[_0xdfe6('0x8')](),controller[_0xdfe6('0x9')]);router[_0xdfe6('0xa')]('/',auth[_0xdfe6('0x8')](),controller[_0xdfe6('0xb')]);router[_0xdfe6('0xc')](_0xdfe6('0x7'),auth[_0xdfe6('0x8')](),controller['update']);router[_0xdfe6('0xd')]('/:id',auth[_0xdfe6('0x8')](),controller[_0xdfe6('0xe')]);module['exports']=router;