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 _0x531b=['multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./chatApplication.controller','get','/:id','isAuthenticated','put','delete','destroy','exports'];(function(_0x2bbad6,_0x6a01a5){var _0x530ed4=function(_0x76d2a8){while(--_0x76d2a8){_0x2bbad6['push'](_0x2bbad6['shift']());}};_0x530ed4(++_0x6a01a5);}(_0x531b,0x16c));var _0xb531=function(_0x3a840c,_0x2c866a){_0x3a840c=_0x3a840c-0x0;var _0x16627f=_0x531b[_0x3a840c];return _0x16627f;};'use strict';var multer=require(_0xb531('0x0'));var util=require(_0xb531('0x1'));var path=require('path');var timeout=require(_0xb531('0x2'));var express=require(_0xb531('0x3'));var router=express['Router']();var auth=require(_0xb531('0x4'));var interaction=require(_0xb531('0x5'));var config=require('../../config/environment');var controller=require(_0xb531('0x6'));router[_0xb531('0x7')](_0xb531('0x8'),auth[_0xb531('0x9')](),controller['show']);router[_0xb531('0xa')]('/:id',auth[_0xb531('0x9')](),controller['update']);router[_0xb531('0xb')](_0xb531('0x8'),auth[_0xb531('0x9')](),controller[_0xb531('0xc')]);module[_0xb531('0xd')]=router;