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 _0x5c75=['exports','multer','util','path','express','fs-extra','../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','put','update','delete'];(function(_0x1cab83,_0x1e2b80){var _0x1a52fe=function(_0x23cf1d){while(--_0x23cf1d){_0x1cab83['push'](_0x1cab83['shift']());}};_0x1a52fe(++_0x1e2b80);}(_0x5c75,0x151));var _0x55c7=function(_0x537281,_0x3e2849){_0x537281=_0x537281-0x0;var _0x58a6b3=_0x5c75[_0x537281];return _0x58a6b3;};'use strict';var multer=require(_0x55c7('0x0'));var util=require(_0x55c7('0x1'));var path=require(_0x55c7('0x2'));var timeout=require('connect-timeout');var express=require(_0x55c7('0x3'));var router=express['Router']();var fs_extra=require(_0x55c7('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x55c7('0x5'));var controller=require(_0x55c7('0x6'));router[_0x55c7('0x7')](_0x55c7('0x8'),auth[_0x55c7('0x9')](),controller['show']);router[_0x55c7('0xa')](_0x55c7('0x8'),auth[_0x55c7('0x9')](),controller[_0x55c7('0xb')]);router[_0x55c7('0xc')](_0x55c7('0x8'),auth[_0x55c7('0x9')](),controller['destroy']);module[_0x55c7('0xd')]=router;