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 _0xd8b0=['/describe','isAuthenticated','/users','getUsers','/:id','show','post','create','delete','destroy','exports','multer','util','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInternalMessage.controller','get'];(function(_0x4d45c1,_0x2beda1){var _0x244478=function(_0x11304c){while(--_0x11304c){_0x4d45c1['push'](_0x4d45c1['shift']());}};_0x244478(++_0x2beda1);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x0d8b('0x0'));var util=require(_0x0d8b('0x1'));var path=require('path');var express=require('express');var router=express['Router']();var auth=require(_0x0d8b('0x2'));var interaction=require(_0x0d8b('0x3'));var config=require(_0x0d8b('0x4'));var controller=require(_0x0d8b('0x5'));router[_0x0d8b('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0d8b('0x6')](_0x0d8b('0x7'),auth[_0x0d8b('0x8')](),controller['describe']);router[_0x0d8b('0x6')](_0x0d8b('0x9'),auth['isAuthenticated'](),controller[_0x0d8b('0xa')]);router[_0x0d8b('0x6')](_0x0d8b('0xb'),auth[_0x0d8b('0x8')](),controller[_0x0d8b('0xc')]);router[_0x0d8b('0xd')]('/',auth[_0x0d8b('0x8')](),controller[_0x0d8b('0xe')]);router['put'](_0x0d8b('0xb'),controller['update']);router[_0x0d8b('0xf')](_0x0d8b('0xb'),auth[_0x0d8b('0x8')](),controller[_0x0d8b('0x10')]);module[_0x0d8b('0x11')]=router;