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 _0x630e=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated','/describe','describe','get','/:id','show','create','put','destroy','exports','multer'];(function(_0x155908,_0x28ce07){var _0x75ee3a=function(_0x14f3e3){while(--_0x14f3e3){_0x155908['push'](_0x155908['shift']());}};_0x75ee3a(++_0x28ce07);}(_0x630e,0xc5));var _0xe630=function(_0x56fc72,_0x74b589){_0x56fc72=_0x56fc72-0x0;var _0x33c3d4=_0x630e[_0x56fc72];return _0x33c3d4;};'use strict';var multer=require(_0xe630('0x0'));var util=require('util');var path=require(_0xe630('0x1'));var timeout=require('connect-timeout');var express=require(_0xe630('0x2'));var router=express[_0xe630('0x3')]();var auth=require(_0xe630('0x4'));var interaction=require(_0xe630('0x5'));var config=require(_0xe630('0x6'));var controller=require(_0xe630('0x7'));router['get']('/',auth[_0xe630('0x8')](),controller['index']);router['get'](_0xe630('0x9'),auth[_0xe630('0x8')](),controller[_0xe630('0xa')]);router[_0xe630('0xb')](_0xe630('0xc'),auth['isAuthenticated'](),controller[_0xe630('0xd')]);router['post']('/',auth[_0xe630('0x8')](),controller[_0xe630('0xe')]);router[_0xe630('0xf')](_0xe630('0xc'),auth[_0xe630('0x8')](),controller['update']);router['delete'](_0xe630('0xc'),auth[_0xe630('0x8')](),controller[_0xe630('0x10')]);module[_0xe630('0x11')]=router;