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 _0x578e=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboardItem.controller','/:id','show','post','isAuthenticated','create','update','delete','destroy','exports','util','path','connect-timeout','express'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x578e,0x1be));var _0xe578=function(_0x3a0172,_0x2e73e3){_0x3a0172=_0x3a0172-0x0;var _0x13ea5e=_0x578e[_0x3a0172];return _0x13ea5e;};'use strict';var multer=require('multer');var util=require(_0xe578('0x0'));var path=require(_0xe578('0x1'));var timeout=require(_0xe578('0x2'));var express=require(_0xe578('0x3'));var router=express['Router']();var fs_extra=require(_0xe578('0x4'));var auth=require(_0xe578('0x5'));var interaction=require(_0xe578('0x6'));var config=require(_0xe578('0x7'));var controller=require(_0xe578('0x8'));router['get'](_0xe578('0x9'),auth['isAuthenticated'](),controller[_0xe578('0xa')]);router[_0xe578('0xb')]('/',auth[_0xe578('0xc')](),controller[_0xe578('0xd')]);router['put'](_0xe578('0x9'),auth[_0xe578('0xc')](),controller[_0xe578('0xe')]);router[_0xe578('0xf')](_0xe578('0x9'),auth[_0xe578('0xc')](),controller[_0xe578('0x10')]);module[_0xe578('0x11')]=router;