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 _0x47b9=['connect-timeout','express','Router','../../components/auth/service','./chatOfflineMessage.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post','create','put','delete','destroy','multer','util','path'];(function(_0x42d7c9,_0x3ee28e){var _0x5f227b=function(_0xf579ff){while(--_0xf579ff){_0x42d7c9['push'](_0x42d7c9['shift']());}};_0x5f227b(++_0x3ee28e);}(_0x47b9,0x1b5));var _0x947b=function(_0x810025,_0x34bb04){_0x810025=_0x810025-0x0;var _0x4dbc81=_0x47b9[_0x810025];return _0x4dbc81;};'use strict';var multer=require(_0x947b('0x0'));var util=require(_0x947b('0x1'));var path=require(_0x947b('0x2'));var timeout=require(_0x947b('0x3'));var express=require(_0x947b('0x4'));var router=express[_0x947b('0x5')]();var auth=require(_0x947b('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x947b('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x947b('0x8')]);router[_0x947b('0x9')](_0x947b('0xa'),auth[_0x947b('0xb')](),controller[_0x947b('0xc')]);router[_0x947b('0x9')](_0x947b('0xd'),auth[_0x947b('0xb')](),controller[_0x947b('0xe')]);router[_0x947b('0xf')]('/',auth[_0x947b('0xb')](),controller[_0x947b('0x10')]);router[_0x947b('0x11')]('/:id',auth[_0x947b('0xb')](),controller['update']);router[_0x947b('0x12')](_0x947b('0xd'),auth['isAuthenticated'](),controller[_0x947b('0x13')]);module['exports']=router;