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 _0xef75=['update','delete','exports','util','path','express','Router','../../components/auth/service','../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','show','put'];(function(_0x485b5a,_0x2b289b){var _0xd2b34d=function(_0x34dcbd){while(--_0x34dcbd){_0x485b5a['push'](_0x485b5a['shift']());}};_0xd2b34d(++_0x2b289b);}(_0xef75,0x17a));var _0x5ef7=function(_0x55ac73,_0x3b87a7){_0x55ac73=_0x55ac73-0x0;var _0x577de6=_0xef75[_0x55ac73];return _0x577de6;};'use strict';var multer=require('multer');var util=require(_0x5ef7('0x0'));var path=require(_0x5ef7('0x1'));var timeout=require('connect-timeout');var express=require(_0x5ef7('0x2'));var router=express[_0x5ef7('0x3')]();var auth=require(_0x5ef7('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x5ef7('0x5'));var controller=require(_0x5ef7('0x6'));router[_0x5ef7('0x7')](_0x5ef7('0x8'),auth[_0x5ef7('0x9')](),controller[_0x5ef7('0xa')]);router[_0x5ef7('0xb')](_0x5ef7('0x8'),auth['isAuthenticated'](),controller[_0x5ef7('0xc')]);router[_0x5ef7('0xd')](_0x5ef7('0x8'),auth[_0x5ef7('0x9')](),controller['destroy']);module[_0x5ef7('0xe')]=router;