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