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 _0x9577=['describe','/users','/:id','show','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInternalMessage.controller','get','isAuthenticated','/describe'];(function(_0x2f359a,_0x5584a8){var _0x3733c9=function(_0x3ba43c){while(--_0x3ba43c){_0x2f359a['push'](_0x2f359a['shift']());}};_0x3733c9(++_0x5584a8);}(_0x9577,0xda));var _0x7957=function(_0x57f02c,_0x24a8af){_0x57f02c=_0x57f02c-0x0;var _0x21cec3=_0x9577[_0x57f02c];return _0x21cec3;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7957('0x0'));var timeout=require(_0x7957('0x1'));var express=require(_0x7957('0x2'));var router=express[_0x7957('0x3')]();var fs_extra=require(_0x7957('0x4'));var auth=require(_0x7957('0x5'));var interaction=require(_0x7957('0x6'));var config=require(_0x7957('0x7'));var controller=require(_0x7957('0x8'));router[_0x7957('0x9')]('/',auth[_0x7957('0xa')](),controller['index']);router[_0x7957('0x9')](_0x7957('0xb'),auth['isAuthenticated'](),controller[_0x7957('0xc')]);router[_0x7957('0x9')](_0x7957('0xd'),auth['isAuthenticated'](),controller['getUsers']);router[_0x7957('0x9')](_0x7957('0xe'),auth[_0x7957('0xa')](),controller[_0x7957('0xf')]);router[_0x7957('0x10')]('/',auth[_0x7957('0xa')](),controller[_0x7957('0x11')]);router[_0x7957('0x12')]('/:id',controller[_0x7957('0x13')]);router[_0x7957('0x14')](_0x7957('0xe'),auth[_0x7957('0xa')](),controller[_0x7957('0x15')]);module[_0x7957('0x16')]=router;