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