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 _0x2880=['../../components/auth/service','../../components/interaction/service','isAuthenticated','get','/describe','describe','/:id','post','create','put','update','delete','destroy','multer','util','connect-timeout','express','Router','fs-extra'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0x2880,0x104));var _0x0288=function(_0x50a2f9,_0xe1ddae){_0x50a2f9=_0x50a2f9-0x0;var _0x3f57a9=_0x2880[_0x50a2f9];return _0x3f57a9;};'use strict';var multer=require(_0x0288('0x0'));var util=require(_0x0288('0x1'));var path=require('path');var timeout=require(_0x0288('0x2'));var express=require(_0x0288('0x3'));var router=express[_0x0288('0x4')]();var fs_extra=require(_0x0288('0x5'));var auth=require(_0x0288('0x6'));var interaction=require(_0x0288('0x7'));var config=require('../../config/environment');var controller=require('./chatOfflineMessage.controller');router['get']('/',auth[_0x0288('0x8')](),controller['index']);router[_0x0288('0x9')](_0x0288('0xa'),auth[_0x0288('0x8')](),controller[_0x0288('0xb')]);router[_0x0288('0x9')](_0x0288('0xc'),auth[_0x0288('0x8')](),controller['show']);router[_0x0288('0xd')]('/',auth['isAuthenticated'](),controller[_0x0288('0xe')]);router[_0x0288('0xf')](_0x0288('0xc'),auth[_0x0288('0x8')](),controller[_0x0288('0x10')]);router[_0x0288('0x11')](_0x0288('0xc'),auth[_0x0288('0x8')](),controller[_0x0288('0x12')]);module['exports']=router;