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