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 _0xcf42=['delete','exports','multer','util','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./dashboardItem.controller','/:id','isAuthenticated','show','create','put','update'];(function(_0x2318b2,_0x5737ed){var _0x56634a=function(_0x3001c2){while(--_0x3001c2){_0x2318b2['push'](_0x2318b2['shift']());}};_0x56634a(++_0x5737ed);}(_0xcf42,0x132));var _0x2cf4=function(_0x545064,_0x132f18){_0x545064=_0x545064-0x0;var _0x4fe04a=_0xcf42[_0x545064];return _0x4fe04a;};'use strict';var multer=require(_0x2cf4('0x0'));var util=require(_0x2cf4('0x1'));var path=require('path');var timeout=require(_0x2cf4('0x2'));var express=require(_0x2cf4('0x3'));var router=express['Router']();var fs_extra=require(_0x2cf4('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x2cf4('0x5'));var config=require(_0x2cf4('0x6'));var controller=require(_0x2cf4('0x7'));router['get'](_0x2cf4('0x8'),auth[_0x2cf4('0x9')](),controller[_0x2cf4('0xa')]);router['post']('/',auth[_0x2cf4('0x9')](),controller[_0x2cf4('0xb')]);router[_0x2cf4('0xc')](_0x2cf4('0x8'),auth[_0x2cf4('0x9')](),controller[_0x2cf4('0xd')]);router[_0x2cf4('0xe')](_0x2cf4('0x8'),auth['isAuthenticated'](),controller['destroy']);module[_0x2cf4('0xf')]=router;