X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatOfflineMessage%2Findex.js;h=b1a3b208e8eaf9edc2176c3c0f316d19f511d6f2;hb=3912498a4dca9582374ca5cc8bf0a6347dda17ea;hp=f555d8f4412d1da90ad349913139c47541de4dea;hpb=5a8e02cd20cb48fdbc240736658fd4afd650c896;p=motion2.git diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js index f555d8f..b1a3b20 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 _0x0921=['destroy','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated','index','get','/describe','describe','show','post','put','delete','/:id'];(function(_0x173850,_0xb4984){var _0x2e747e=function(_0x50f481){while(--_0x50f481){_0x173850['push'](_0x173850['shift']());}};_0x2e747e(++_0xb4984);}(_0x0921,0xf8));var _0x1092=function(_0x153099,_0x24cc13){_0x153099=_0x153099-0x0;var _0x4a8c61=_0x0921[_0x153099];return _0x4a8c61;};'use strict';var multer=require(_0x1092('0x0'));var util=require(_0x1092('0x1'));var path=require('path');var timeout=require(_0x1092('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x1092('0x3'));var auth=require(_0x1092('0x4'));var interaction=require(_0x1092('0x5'));var config=require(_0x1092('0x6'));var controller=require(_0x1092('0x7'));router['get']('/',auth[_0x1092('0x8')](),controller[_0x1092('0x9')]);router[_0x1092('0xa')](_0x1092('0xb'),auth[_0x1092('0x8')](),controller[_0x1092('0xc')]);router[_0x1092('0xa')]('/:id',auth[_0x1092('0x8')](),controller[_0x1092('0xd')]);router[_0x1092('0xe')]('/',auth[_0x1092('0x8')](),controller['create']);router[_0x1092('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x1092('0x10')](_0x1092('0x11'),auth[_0x1092('0x8')](),controller[_0x1092('0x12')]);module['exports']=router; \ No newline at end of file +var _0x3ff4=['destroy','exports','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated','index','get','describe','post','create','put','/:id','delete'];(function(_0x2bd9db,_0x2f6076){var _0x28441e=function(_0x354695){while(--_0x354695){_0x2bd9db['push'](_0x2bd9db['shift']());}};_0x28441e(++_0x2f6076);}(_0x3ff4,0xe6));var _0x43ff=function(_0x2aec52,_0x59d962){_0x2aec52=_0x2aec52-0x0;var _0x3b8835=_0x3ff4[_0x2aec52];return _0x3b8835;};'use strict';var multer=require('multer');var util=require(_0x43ff('0x0'));var path=require(_0x43ff('0x1'));var timeout=require(_0x43ff('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x43ff('0x3'));var auth=require(_0x43ff('0x4'));var interaction=require(_0x43ff('0x5'));var config=require(_0x43ff('0x6'));var controller=require(_0x43ff('0x7'));router['get']('/',auth[_0x43ff('0x8')](),controller[_0x43ff('0x9')]);router[_0x43ff('0xa')]('/describe',auth[_0x43ff('0x8')](),controller[_0x43ff('0xb')]);router[_0x43ff('0xa')]('/:id',auth[_0x43ff('0x8')](),controller['show']);router[_0x43ff('0xc')]('/',auth['isAuthenticated'](),controller[_0x43ff('0xd')]);router[_0x43ff('0xe')](_0x43ff('0xf'),auth[_0x43ff('0x8')](),controller['update']);router[_0x43ff('0x10')](_0x43ff('0xf'),auth[_0x43ff('0x8')](),controller[_0x43ff('0x11')]);module[_0x43ff('0x12')]=router; \ No newline at end of file