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 _0xe4aa=['../../components/interaction/service','../../config/environment','./dashboardItem.controller','/:id','isAuthenticated','create','put','update','delete','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x4a688a,_0x21e1e1){var _0x244150=function(_0x4f9c5b){while(--_0x4f9c5b){_0x4a688a['push'](_0x4a688a['shift']());}};_0x244150(++_0x21e1e1);}(_0xe4aa,0x12a));var _0xae4a=function(_0x11bb33,_0x22a80e){_0x11bb33=_0x11bb33-0x0;var _0x127372=_0xe4aa[_0x11bb33];return _0x127372;};'use strict';var multer=require('multer');var util=require(_0xae4a('0x0'));var path=require(_0xae4a('0x1'));var timeout=require(_0xae4a('0x2'));var express=require(_0xae4a('0x3'));var router=express['Router']();var fs_extra=require(_0xae4a('0x4'));var auth=require(_0xae4a('0x5'));var interaction=require(_0xae4a('0x6'));var config=require(_0xae4a('0x7'));var controller=require(_0xae4a('0x8'));router['get'](_0xae4a('0x9'),auth[_0xae4a('0xa')](),controller['show']);router['post']('/',auth[_0xae4a('0xa')](),controller[_0xae4a('0xb')]);router[_0xae4a('0xc')](_0xae4a('0x9'),auth[_0xae4a('0xa')](),controller[_0xae4a('0xd')]);router[_0xae4a('0xe')]('/:id',auth[_0xae4a('0xa')](),controller['destroy']);module[_0xae4a('0xf')]=router;