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