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 _0xb552=['show','put','isAuthenticated','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','/:id'];(function(_0x378891,_0x4e3e16){var _0xfbfda2=function(_0x3b7681){while(--_0x3b7681){_0x378891['push'](_0x378891['shift']());}};_0xfbfda2(++_0x4e3e16);}(_0xb552,0x8e));var _0x2b55=function(_0x4c8a02,_0x35a179){_0x4c8a02=_0x4c8a02-0x0;var _0x259314=_0xb552[_0x4c8a02];return _0x259314;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x2b55('0x0'));var timeout=require(_0x2b55('0x1'));var express=require(_0x2b55('0x2'));var router=express[_0x2b55('0x3')]();var fs_extra=require(_0x2b55('0x4'));var auth=require(_0x2b55('0x5'));var interaction=require(_0x2b55('0x6'));var config=require(_0x2b55('0x7'));var controller=require(_0x2b55('0x8'));router[_0x2b55('0x9')](_0x2b55('0xa'),auth['isAuthenticated'](),controller[_0x2b55('0xb')]);router[_0x2b55('0xc')](_0x2b55('0xa'),auth[_0x2b55('0xd')](),controller['update']);router[_0x2b55('0xe')](_0x2b55('0xa'),auth['isAuthenticated'](),controller[_0x2b55('0xf')]);module[_0x2b55('0x10')]=router;