X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatOfflineMessage%2Findex.js;h=57d5e90a7974011fce4fda10f4249338784e5f74;hb=01b994ccefecbcf0783b039dab259e973f97957c;hp=24293d54ac83c7ea81b01d6b45b576acddc18702;hpb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;p=motion2.git diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js index 24293d5..57d5e90 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 _0xc92d=['index','get','/:id','show','post','create','delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated'];(function(_0x5a776b,_0x46f785){var _0xbbef59=function(_0x38313e){while(--_0x38313e){_0x5a776b['push'](_0x5a776b['shift']());}};_0xbbef59(++_0x46f785);}(_0xc92d,0x1b8));var _0xdc92=function(_0x54bc7a,_0x5079d8){_0x54bc7a=_0x54bc7a-0x0;var _0x34bb82=_0xc92d[_0x54bc7a];return _0x34bb82;};'use strict';var multer=require(_0xdc92('0x0'));var util=require(_0xdc92('0x1'));var path=require(_0xdc92('0x2'));var timeout=require(_0xdc92('0x3'));var express=require('express');var router=express[_0xdc92('0x4')]();var auth=require(_0xdc92('0x5'));var interaction=require(_0xdc92('0x6'));var config=require(_0xdc92('0x7'));var controller=require(_0xdc92('0x8'));router['get']('/',auth[_0xdc92('0x9')](),controller[_0xdc92('0xa')]);router['get']('/describe',auth[_0xdc92('0x9')](),controller['describe']);router[_0xdc92('0xb')](_0xdc92('0xc'),auth[_0xdc92('0x9')](),controller[_0xdc92('0xd')]);router[_0xdc92('0xe')]('/',auth['isAuthenticated'](),controller[_0xdc92('0xf')]);router['put']('/:id',auth[_0xdc92('0x9')](),controller['update']);router[_0xdc92('0x10')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xdc92('0x11')]=router; \ No newline at end of file +var _0x103f=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','post','put','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra'];(function(_0x3dfea7,_0x34923a){var _0x30facb=function(_0x38216e){while(--_0x38216e){_0x3dfea7['push'](_0x3dfea7['shift']());}};_0x30facb(++_0x34923a);}(_0x103f,0x1e7));var _0xf103=function(_0x2823c1,_0x36e0af){_0x2823c1=_0x2823c1-0x0;var _0x8d0582=_0x103f[_0x2823c1];return _0x8d0582;};'use strict';var multer=require(_0xf103('0x0'));var util=require(_0xf103('0x1'));var path=require(_0xf103('0x2'));var timeout=require(_0xf103('0x3'));var express=require('express');var router=express[_0xf103('0x4')]();var fs_extra=require(_0xf103('0x5'));var auth=require(_0xf103('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf103('0x7'));var controller=require('./chatOfflineMessage.controller');router[_0xf103('0x8')]('/',auth[_0xf103('0x9')](),controller[_0xf103('0xa')]);router[_0xf103('0x8')](_0xf103('0xb'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xf103('0xc'),auth[_0xf103('0x9')](),controller['show']);router[_0xf103('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf103('0xe')](_0xf103('0xc'),auth[_0xf103('0x9')](),controller['update']);router['delete'](_0xf103('0xc'),auth[_0xf103('0x9')](),controller[_0xf103('0xf')]);module[_0xf103('0x10')]=router; \ No newline at end of file