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 _0x4c66=['util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','/:id','show','put','isAuthenticated','update','delete','destroy','multer'];(function(_0x3de064,_0x417806){var _0x556949=function(_0x317039){while(--_0x317039){_0x3de064['push'](_0x3de064['shift']());}};_0x556949(++_0x417806);}(_0x4c66,0xd1));var _0x64c6=function(_0x5ee996,_0x2af8f9){_0x5ee996=_0x5ee996-0x0;var _0x381d63=_0x4c66[_0x5ee996];return _0x381d63;};'use strict';var multer=require(_0x64c6('0x0'));var util=require(_0x64c6('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x64c6('0x2'));var router=express[_0x64c6('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x64c6('0x4'));var interaction=require(_0x64c6('0x5'));var config=require(_0x64c6('0x6'));var controller=require(_0x64c6('0x7'));router['get'](_0x64c6('0x8'),auth['isAuthenticated'](),controller[_0x64c6('0x9')]);router[_0x64c6('0xa')](_0x64c6('0x8'),auth[_0x64c6('0xb')](),controller[_0x64c6('0xc')]);router[_0x64c6('0xd')]('/:id',auth[_0x64c6('0xb')](),controller[_0x64c6('0xe')]);module['exports']=router;