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 _0x7e01=['destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','put','update','delete'];(function(_0xda9b6,_0x54ea66){var _0x14f93c=function(_0x5d02c6){while(--_0x5d02c6){_0xda9b6['push'](_0xda9b6['shift']());}};_0x14f93c(++_0x54ea66);}(_0x7e01,0x1cd));var _0x17e0=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x7e01[_0x5b644e];return _0x49c6bf;};'use strict';var multer=require('multer');var util=require(_0x17e0('0x0'));var path=require(_0x17e0('0x1'));var timeout=require('connect-timeout');var express=require(_0x17e0('0x2'));var router=express[_0x17e0('0x3')]();var fs_extra=require(_0x17e0('0x4'));var auth=require(_0x17e0('0x5'));var interaction=require(_0x17e0('0x6'));var config=require(_0x17e0('0x7'));var controller=require(_0x17e0('0x8'));router[_0x17e0('0x9')](_0x17e0('0xa'),auth[_0x17e0('0xb')](),controller['show']);router[_0x17e0('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x17e0('0xd')]);router[_0x17e0('0xe')](_0x17e0('0xa'),auth[_0x17e0('0xb')](),controller[_0x17e0('0xf')]);module[_0x17e0('0x10')]=router;