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 _0xf43b=['get','isAuthenticated','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/interaction/service','./chatApplication.controller'];(function(_0x1c15d1,_0x412776){var _0x278c59=function(_0x350236){while(--_0x350236){_0x1c15d1['push'](_0x1c15d1['shift']());}};_0x278c59(++_0x412776);}(_0xf43b,0x1e4));var _0xbf43=function(_0x2372a1,_0x4c6967){_0x2372a1=_0x2372a1-0x0;var _0x146610=_0xf43b[_0x2372a1];return _0x146610;};'use strict';var multer=require(_0xbf43('0x0'));var util=require('util');var path=require(_0xbf43('0x1'));var timeout=require(_0xbf43('0x2'));var express=require('express');var router=express[_0xbf43('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xbf43('0x4'));var config=require('../../config/environment');var controller=require(_0xbf43('0x5'));router[_0xbf43('0x6')]('/:id',auth[_0xbf43('0x7')](),controller['show']);router[_0xbf43('0x8')](_0xbf43('0x9'),auth['isAuthenticated'](),controller[_0xbf43('0xa')]);router[_0xbf43('0xb')]('/:id',auth[_0xbf43('0x7')](),controller[_0xbf43('0xc')]);module[_0xbf43('0xd')]=router;