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 _0xaa7f=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','put','update','delete','destroy','exports','multer','connect-timeout','express'];(function(_0x1abceb,_0x59728b){var _0x391edc=function(_0x43239c){while(--_0x43239c){_0x1abceb['push'](_0x1abceb['shift']());}};_0x391edc(++_0x59728b);}(_0xaa7f,0xfc));var _0xfaa7=function(_0x2430b1,_0x42c3b0){_0x2430b1=_0x2430b1-0x0;var _0x492a2c=_0xaa7f[_0x2430b1];return _0x492a2c;};'use strict';var multer=require(_0xfaa7('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xfaa7('0x1'));var express=require(_0xfaa7('0x2'));var router=express[_0xfaa7('0x3')]();var auth=require(_0xfaa7('0x4'));var interaction=require(_0xfaa7('0x5'));var config=require(_0xfaa7('0x6'));var controller=require('./chatApplication.controller');router[_0xfaa7('0x7')](_0xfaa7('0x8'),auth[_0xfaa7('0x9')](),controller['show']);router[_0xfaa7('0xa')](_0xfaa7('0x8'),auth[_0xfaa7('0x9')](),controller[_0xfaa7('0xb')]);router[_0xfaa7('0xc')]('/:id',auth[_0xfaa7('0x9')](),controller[_0xfaa7('0xd')]);module[_0xfaa7('0xe')]=router;