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