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 _0x5e63=['connect-timeout','express','Router','../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','put','update','delete','destroy','util'];(function(_0x43aef0,_0x4c097a){var _0x4d7473=function(_0x4e2ce0){while(--_0x4e2ce0){_0x43aef0['push'](_0x43aef0['shift']());}};_0x4d7473(++_0x4c097a);}(_0x5e63,0x9b));var _0x35e6=function(_0x1f74f0,_0x3492a8){_0x1f74f0=_0x1f74f0-0x0;var _0x513768=_0x5e63[_0x1f74f0];return _0x513768;};'use strict';var multer=require('multer');var util=require(_0x35e6('0x0'));var path=require('path');var timeout=require(_0x35e6('0x1'));var express=require(_0x35e6('0x2'));var router=express[_0x35e6('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x35e6('0x4'));var controller=require(_0x35e6('0x5'));router[_0x35e6('0x6')](_0x35e6('0x7'),auth[_0x35e6('0x8')](),controller['show']);router[_0x35e6('0x9')](_0x35e6('0x7'),auth['isAuthenticated'](),controller[_0x35e6('0xa')]);router[_0x35e6('0xb')](_0x35e6('0x7'),auth[_0x35e6('0x8')](),controller[_0x35e6('0xc')]);module['exports']=router;