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 _0x6a58=['/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','put'];(function(_0x3e18ca,_0x517303){var _0x574cfd=function(_0x1dca93){while(--_0x1dca93){_0x3e18ca['push'](_0x3e18ca['shift']());}};_0x574cfd(++_0x517303);}(_0x6a58,0x154));var _0x86a5=function(_0x5027b1,_0x1409a5){_0x5027b1=_0x5027b1-0x0;var _0x4a46cf=_0x6a58[_0x5027b1];return _0x4a46cf;};'use strict';var multer=require(_0x86a5('0x0'));var util=require(_0x86a5('0x1'));var path=require(_0x86a5('0x2'));var timeout=require(_0x86a5('0x3'));var express=require(_0x86a5('0x4'));var router=express[_0x86a5('0x5')]();var fs_extra=require(_0x86a5('0x6'));var auth=require(_0x86a5('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x86a5('0x8'));var controller=require('./chatApplication.controller');router[_0x86a5('0x9')]('/:id',auth[_0x86a5('0xa')](),controller['show']);router[_0x86a5('0xb')](_0x86a5('0xc'),auth['isAuthenticated'](),controller[_0x86a5('0xd')]);router[_0x86a5('0xe')](_0x86a5('0xc'),auth[_0x86a5('0xa')](),controller['destroy']);module[_0x86a5('0xf')]=router;