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