X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatOfflineMessage%2Findex.js;h=efdd6aa3a683b752390f8c3f3b1b4166d6b3c185;hb=784ff39bf52a5b7c5ee0b7b10d0e51f0257b5940;hp=e142b45ca58b93de5354833b87677c0aa0f5c10b;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js index e142b45..efdd6aa 100644 --- a/server/api/chatOfflineMessage/index.js +++ b/server/api/chatOfflineMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x59c1=['../../components/interaction/service','./chatOfflineMessage.controller','isAuthenticated','index','get','/describe','/:id','show','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service'];(function(_0xa7e17d,_0x1a0c18){var _0x36a9e8=function(_0x3311ad){while(--_0x3311ad){_0xa7e17d['push'](_0xa7e17d['shift']());}};_0x36a9e8(++_0x1a0c18);}(_0x59c1,0x1e8));var _0x159c=function(_0x13617c,_0x2e6719){_0x13617c=_0x13617c-0x0;var _0x72cfb3=_0x59c1[_0x13617c];return _0x72cfb3;};'use strict';var multer=require(_0x159c('0x0'));var util=require(_0x159c('0x1'));var path=require(_0x159c('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x159c('0x3')]();var auth=require(_0x159c('0x4'));var interaction=require(_0x159c('0x5'));var config=require('../../config/environment');var controller=require(_0x159c('0x6'));router['get']('/',auth[_0x159c('0x7')](),controller[_0x159c('0x8')]);router[_0x159c('0x9')](_0x159c('0xa'),auth[_0x159c('0x7')](),controller['describe']);router[_0x159c('0x9')](_0x159c('0xb'),auth[_0x159c('0x7')](),controller[_0x159c('0xc')]);router['post']('/',auth[_0x159c('0x7')](),controller['create']);router['put']('/:id',auth[_0x159c('0x7')](),controller[_0x159c('0xd')]);router[_0x159c('0xe')]('/:id',auth[_0x159c('0x7')](),controller[_0x159c('0xf')]);module[_0x159c('0x10')]=router; \ No newline at end of file +var _0xb660=['exports','multer','util','path','connect-timeout','Router','../../config/environment','get','/describe','isAuthenticated','/:id','show','post','create','put','update','delete','destroy'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0xb660,0x7f));var _0x0b66=function(_0x394a2d,_0x460cf0){_0x394a2d=_0x394a2d-0x0;var _0x4a5274=_0xb660[_0x394a2d];return _0x4a5274;};'use strict';var multer=require(_0x0b66('0x0'));var util=require(_0x0b66('0x1'));var path=require(_0x0b66('0x2'));var timeout=require(_0x0b66('0x3'));var express=require('express');var router=express[_0x0b66('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0b66('0x5'));var controller=require('./chatOfflineMessage.controller');router[_0x0b66('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0b66('0x6')](_0x0b66('0x7'),auth[_0x0b66('0x8')](),controller['describe']);router[_0x0b66('0x6')](_0x0b66('0x9'),auth[_0x0b66('0x8')](),controller[_0x0b66('0xa')]);router[_0x0b66('0xb')]('/',auth[_0x0b66('0x8')](),controller[_0x0b66('0xc')]);router[_0x0b66('0xd')](_0x0b66('0x9'),auth['isAuthenticated'](),controller[_0x0b66('0xe')]);router[_0x0b66('0xf')](_0x0b66('0x9'),auth[_0x0b66('0x8')](),controller[_0x0b66('0x10')]);module[_0x0b66('0x11')]=router; \ No newline at end of file