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 _0x11df=['../../components/auth/service','../../config/environment','get','/:id','isAuthenticated','show','put','update','destroy','exports','multer','util','path','express','Router'];(function(_0x26dfad,_0x555ef4){var _0x2b914c=function(_0xb3746e){while(--_0xb3746e){_0x26dfad['push'](_0x26dfad['shift']());}};_0x2b914c(++_0x555ef4);}(_0x11df,0x1ea));var _0xf11d=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x11df[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0xf11d('0x0'));var util=require(_0xf11d('0x1'));var path=require(_0xf11d('0x2'));var timeout=require('connect-timeout');var express=require(_0xf11d('0x3'));var router=express[_0xf11d('0x4')]();var auth=require(_0xf11d('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf11d('0x6'));var controller=require('./chatApplication.controller');router[_0xf11d('0x7')](_0xf11d('0x8'),auth[_0xf11d('0x9')](),controller[_0xf11d('0xa')]);router[_0xf11d('0xb')]('/:id',auth[_0xf11d('0x9')](),controller[_0xf11d('0xc')]);router['delete']('/:id',auth[_0xf11d('0x9')](),controller[_0xf11d('0xd')]);module[_0xf11d('0xe')]=router;