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 _0xea04=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./chatApplication.controller','get','/:id','isAuthenticated','show','put','delete','util'];(function(_0x4595ea,_0x8c2feb){var _0x4daad5=function(_0x504f02){while(--_0x504f02){_0x4595ea['push'](_0x4595ea['shift']());}};_0x4daad5(++_0x8c2feb);}(_0xea04,0x185));var _0x4ea0=function(_0x11c4b6,_0x572fdb){_0x11c4b6=_0x11c4b6-0x0;var _0x2cb405=_0xea04[_0x11c4b6];return _0x2cb405;};'use strict';var multer=require('multer');var util=require(_0x4ea0('0x0'));var path=require(_0x4ea0('0x1'));var timeout=require(_0x4ea0('0x2'));var express=require(_0x4ea0('0x3'));var router=express[_0x4ea0('0x4')]();var fs_extra=require(_0x4ea0('0x5'));var auth=require(_0x4ea0('0x6'));var interaction=require(_0x4ea0('0x7'));var config=require('../../config/environment');var controller=require(_0x4ea0('0x8'));router[_0x4ea0('0x9')](_0x4ea0('0xa'),auth[_0x4ea0('0xb')](),controller[_0x4ea0('0xc')]);router[_0x4ea0('0xd')](_0x4ea0('0xa'),auth[_0x4ea0('0xb')](),controller['update']);router[_0x4ea0('0xe')](_0x4ea0('0xa'),auth[_0x4ea0('0xb')](),controller['destroy']);module['exports']=router;