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 _0xf4df=['Router','../../components/auth/service','../../components/interaction/service','./chatApplication.controller','/:id','isAuthenticated','show','update','exports','path','connect-timeout','express'];(function(_0x5f2f3f,_0x2ad9bd){var _0x2dc628=function(_0x4c0dbd){while(--_0x4c0dbd){_0x5f2f3f['push'](_0x5f2f3f['shift']());}};_0x2dc628(++_0x2ad9bd);}(_0xf4df,0x111));var _0xff4d=function(_0x54af50,_0x505414){_0x54af50=_0x54af50-0x0;var _0x4f8a5f=_0xf4df[_0x54af50];return _0x4f8a5f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xff4d('0x0'));var timeout=require(_0xff4d('0x1'));var express=require(_0xff4d('0x2'));var router=express[_0xff4d('0x3')]();var auth=require(_0xff4d('0x4'));var interaction=require(_0xff4d('0x5'));var config=require('../../config/environment');var controller=require(_0xff4d('0x6'));router['get'](_0xff4d('0x7'),auth[_0xff4d('0x8')](),controller[_0xff4d('0x9')]);router['put'](_0xff4d('0x7'),auth['isAuthenticated'](),controller[_0xff4d('0xa')]);router['delete'](_0xff4d('0x7'),auth[_0xff4d('0x8')](),controller['destroy']);module[_0xff4d('0xb')]=router;