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 _0x061d=['delete','destroy','exports','util','express','Router','fs-extra','../../components/interaction/service','./dashboardItem.controller','get','/:id','isAuthenticated','create','put','update'];(function(_0x670830,_0x22b470){var _0x2da829=function(_0x3bd034){while(--_0x3bd034){_0x670830['push'](_0x670830['shift']());}};_0x2da829(++_0x22b470);}(_0x061d,0x1a7));var _0xd061=function(_0x25bea7,_0x49ab45){_0x25bea7=_0x25bea7-0x0;var _0x175952=_0x061d[_0x25bea7];return _0x175952;};'use strict';var multer=require('multer');var util=require(_0xd061('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd061('0x1'));var router=express[_0xd061('0x2')]();var fs_extra=require(_0xd061('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xd061('0x4'));var config=require('../../config/environment');var controller=require(_0xd061('0x5'));router[_0xd061('0x6')](_0xd061('0x7'),auth[_0xd061('0x8')](),controller['show']);router['post']('/',auth[_0xd061('0x8')](),controller[_0xd061('0x9')]);router[_0xd061('0xa')](_0xd061('0x7'),auth[_0xd061('0x8')](),controller[_0xd061('0xb')]);router[_0xd061('0xc')](_0xd061('0x7'),auth[_0xd061('0x8')](),controller[_0xd061('0xd')]);module[_0xd061('0xe')]=router;