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 _0x778c=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboardItem.controller','get','/:id','show','post','isAuthenticated','create','put','exports','path','Router'];(function(_0x27b3df,_0x34a01a){var _0x275390=function(_0x46e282){while(--_0x46e282){_0x27b3df['push'](_0x27b3df['shift']());}};_0x275390(++_0x34a01a);}(_0x778c,0xfd));var _0xc778=function(_0x38c652,_0x1ea1b7){_0x38c652=_0x38c652-0x0;var _0x218a37=_0x778c[_0x38c652];return _0x218a37;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc778('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc778('0x1')]();var fs_extra=require(_0xc778('0x2'));var auth=require(_0xc778('0x3'));var interaction=require(_0xc778('0x4'));var config=require(_0xc778('0x5'));var controller=require(_0xc778('0x6'));router[_0xc778('0x7')](_0xc778('0x8'),auth['isAuthenticated'](),controller[_0xc778('0x9')]);router[_0xc778('0xa')]('/',auth[_0xc778('0xb')](),controller[_0xc778('0xc')]);router[_0xc778('0xd')](_0xc778('0x8'),auth[_0xc778('0xb')](),controller['update']);router['delete'](_0xc778('0x8'),auth[_0xc778('0xb')](),controller['destroy']);module[_0xc778('0xe')]=router;