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 _0x3a59=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','isAuthenticated','put','/:id','destroy','exports','multer','util'];(function(_0x595214,_0x5c3849){var _0x596d8f=function(_0x4ba584){while(--_0x4ba584){_0x595214['push'](_0x595214['shift']());}};_0x596d8f(++_0x5c3849);}(_0x3a59,0xde));var _0x93a5=function(_0x4eafed,_0x26e2bc){_0x4eafed=_0x4eafed-0x0;var _0x159c85=_0x3a59[_0x4eafed];return _0x159c85;};'use strict';var multer=require(_0x93a5('0x0'));var util=require(_0x93a5('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x93a5('0x2'));var router=express[_0x93a5('0x3')]();var auth=require(_0x93a5('0x4'));var interaction=require(_0x93a5('0x5'));var config=require(_0x93a5('0x6'));var controller=require(_0x93a5('0x7'));router[_0x93a5('0x8')]('/:id',auth[_0x93a5('0x9')](),controller['show']);router[_0x93a5('0xa')](_0x93a5('0xb'),auth[_0x93a5('0x9')](),controller['update']);router['delete'](_0x93a5('0xb'),auth[_0x93a5('0x9')](),controller[_0x93a5('0xc')]);module[_0x93a5('0xd')]=router;