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=['show','put','isAuthenticated','update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatApplication.controller','get','/:id'];(function(_0x5527f9,_0xc9a3cb){var _0x274a9e=function(_0x277b79){while(--_0x277b79){_0x5527f9['push'](_0x5527f9['shift']());}};_0x274a9e(++_0xc9a3cb);}(_0x6c72,0x19e));var _0x26c7=function(_0x19be27,_0x4c5c53){_0x19be27=_0x19be27-0x0;var _0x459cc3=_0x6c72[_0x19be27];return _0x459cc3;};'use strict';var multer=require(_0x26c7('0x0'));var util=require(_0x26c7('0x1'));var path=require(_0x26c7('0x2'));var timeout=require('connect-timeout');var express=require(_0x26c7('0x3'));var router=express[_0x26c7('0x4')]();var auth=require(_0x26c7('0x5'));var interaction=require(_0x26c7('0x6'));var config=require(_0x26c7('0x7'));var controller=require(_0x26c7('0x8'));router[_0x26c7('0x9')](_0x26c7('0xa'),auth['isAuthenticated'](),controller[_0x26c7('0xb')]);router[_0x26c7('0xc')](_0x26c7('0xa'),auth[_0x26c7('0xd')](),controller[_0x26c7('0xe')]);router['delete'](_0x26c7('0xa'),auth[_0x26c7('0xd')](),controller[_0x26c7('0xf')]);module[_0x26c7('0x10')]=router;