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 _0x6f60=['delete','exports','multer','connect-timeout','express','Router','../../components/interaction/service','get','/:id','isAuthenticated','show','put','update'];(function(_0x63ad22,_0x45b603){var _0x149611=function(_0x1b8799){while(--_0x1b8799){_0x63ad22['push'](_0x63ad22['shift']());}};_0x149611(++_0x45b603);}(_0x6f60,0x1bc));var _0x06f6=function(_0x1604cf,_0x506442){_0x1604cf=_0x1604cf-0x0;var _0x1c1105=_0x6f60[_0x1604cf];return _0x1c1105;};'use strict';var multer=require(_0x06f6('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x06f6('0x1'));var express=require(_0x06f6('0x2'));var router=express[_0x06f6('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x06f6('0x4'));var config=require('../../config/environment');var controller=require('./chatApplication.controller');router[_0x06f6('0x5')](_0x06f6('0x6'),auth[_0x06f6('0x7')](),controller[_0x06f6('0x8')]);router[_0x06f6('0x9')]('/:id',auth[_0x06f6('0x7')](),controller[_0x06f6('0xa')]);router[_0x06f6('0xb')](_0x06f6('0x6'),auth[_0x06f6('0x7')](),controller['destroy']);module[_0x06f6('0xc')]=router;