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 _0xe2c0=['put','update','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','/:id','isAuthenticated','show'];(function(_0x53bea5,_0xfbebf2){var _0x10e9bc=function(_0x565ef6){while(--_0x565ef6){_0x53bea5['push'](_0x53bea5['shift']());}};_0x10e9bc(++_0xfbebf2);}(_0xe2c0,0x126));var _0x0e2c=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xe2c0[_0x2641f9];return _0x585741;};'use strict';var multer=require(_0x0e2c('0x0'));var util=require(_0x0e2c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x0e2c('0x2'));var router=express[_0x0e2c('0x3')]();var fs_extra=require(_0x0e2c('0x4'));var auth=require(_0x0e2c('0x5'));var interaction=require(_0x0e2c('0x6'));var config=require(_0x0e2c('0x7'));var controller=require(_0x0e2c('0x8'));router['get'](_0x0e2c('0x9'),auth[_0x0e2c('0xa')](),controller[_0x0e2c('0xb')]);router[_0x0e2c('0xc')](_0x0e2c('0x9'),auth['isAuthenticated'](),controller[_0x0e2c('0xd')]);router[_0x0e2c('0xe')]('/:id',auth[_0x0e2c('0xa')](),controller[_0x0e2c('0xf')]);module[_0x0e2c('0x10')]=router;