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 _0x6c72=['multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','/:id','show','delete','destroy','exports'];(function(_0x4d674b,_0x176474){var _0x535a1f=function(_0xac7726){while(--_0xac7726){_0x4d674b['push'](_0x4d674b['shift']());}};_0x535a1f(++_0x176474);}(_0x6c72,0x144));var _0x26c7=function(_0x3a698f,_0x4a82fc){_0x3a698f=_0x3a698f-0x0;var _0x1b7cf3=_0x6c72[_0x3a698f];return _0x1b7cf3;};'use strict';var multer=require(_0x26c7('0x0'));var util=require(_0x26c7('0x1'));var path=require(_0x26c7('0x2'));var timeout=require(_0x26c7('0x3'));var express=require('express');var router=express[_0x26c7('0x4')]();var fs_extra=require(_0x26c7('0x5'));var auth=require(_0x26c7('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./chatApplication.controller');router['get'](_0x26c7('0x7'),auth['isAuthenticated'](),controller[_0x26c7('0x8')]);router['put'](_0x26c7('0x7'),auth['isAuthenticated'](),controller['update']);router[_0x26c7('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x26c7('0xa')]);module[_0x26c7('0xb')]=router;