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 _0xf642=['Router','../../components/auth/service','../../config/environment','./chatOfflineMessage.controller','get','index','/describe','describe','/:id','isAuthenticated','post','put','update','exports','multer','util','path','connect-timeout','express'];(function(_0x5d30b4,_0x199248){var _0x1acfb8=function(_0x3544b2){while(--_0x3544b2){_0x5d30b4['push'](_0x5d30b4['shift']());}};_0x1acfb8(++_0x199248);}(_0xf642,0x151));var _0x2f64=function(_0x53e3de,_0x13da7b){_0x53e3de=_0x53e3de-0x0;var _0x7b905b=_0xf642[_0x53e3de];return _0x7b905b;};'use strict';var multer=require(_0x2f64('0x0'));var util=require(_0x2f64('0x1'));var path=require(_0x2f64('0x2'));var timeout=require(_0x2f64('0x3'));var express=require(_0x2f64('0x4'));var router=express[_0x2f64('0x5')]();var auth=require(_0x2f64('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2f64('0x7'));var controller=require(_0x2f64('0x8'));router[_0x2f64('0x9')]('/',auth['isAuthenticated'](),controller[_0x2f64('0xa')]);router[_0x2f64('0x9')](_0x2f64('0xb'),auth['isAuthenticated'](),controller[_0x2f64('0xc')]);router[_0x2f64('0x9')](_0x2f64('0xd'),auth[_0x2f64('0xe')](),controller['show']);router[_0x2f64('0xf')]('/',auth[_0x2f64('0xe')](),controller['create']);router[_0x2f64('0x10')]('/:id',auth[_0x2f64('0xe')](),controller[_0x2f64('0x11')]);router['delete'](_0x2f64('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x2f64('0x12')]=router;