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 _0xb704=['../../components/interaction/service','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x34a6d5,_0x154f22){var _0x3d51af=function(_0x15cdd5){while(--_0x15cdd5){_0x34a6d5['push'](_0x34a6d5['shift']());}};_0x3d51af(++_0x154f22);}(_0xb704,0x1b3));var _0x4b70=function(_0x2e77ca,_0x2c87ba){_0x2e77ca=_0x2e77ca-0x0;var _0x456c27=_0xb704[_0x2e77ca];return _0x456c27;};'use strict';var multer=require('multer');var util=require(_0x4b70('0x0'));var path=require(_0x4b70('0x1'));var timeout=require(_0x4b70('0x2'));var express=require(_0x4b70('0x3'));var router=express['Router']();var fs_extra=require(_0x4b70('0x4'));var auth=require(_0x4b70('0x5'));var interaction=require(_0x4b70('0x6'));var config=require('../../config/environment');var controller=require(_0x4b70('0x7'));router[_0x4b70('0x8')]('/',auth[_0x4b70('0x9')](),controller[_0x4b70('0xa')]);router[_0x4b70('0x8')](_0x4b70('0xb'),auth[_0x4b70('0x9')](),controller[_0x4b70('0xc')]);router['get'](_0x4b70('0xd'),auth[_0x4b70('0x9')](),controller[_0x4b70('0xe')]);router[_0x4b70('0xf')]('/',auth[_0x4b70('0x9')](),controller[_0x4b70('0x10')]);router[_0x4b70('0x11')](_0x4b70('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x4b70('0x12')](_0x4b70('0xd'),auth[_0x4b70('0x9')](),controller[_0x4b70('0x13')]);module[_0x4b70('0x14')]=router;