X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatOfflineMessage%2Findex.js;h=365de7887756f625f77281a670e087856b4a9728;hb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;hp=a9366c0c405f634682bd29b6e83e107cdb43da96;hpb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;p=motion2.git diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js index a9366c0..365de78 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 _0xe66c=['update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','/:id','post','create'];(function(_0x8bdea4,_0x2b175d){var _0x3f619f=function(_0x5782e9){while(--_0x5782e9){_0x8bdea4['push'](_0x8bdea4['shift']());}};_0x3f619f(++_0x2b175d);}(_0xe66c,0x133));var _0xce66=function(_0x3c8ea6,_0x54723e){_0x3c8ea6=_0x3c8ea6-0x0;var _0x217dc0=_0xe66c[_0x3c8ea6];return _0x217dc0;};'use strict';var multer=require(_0xce66('0x0'));var util=require(_0xce66('0x1'));var path=require(_0xce66('0x2'));var timeout=require(_0xce66('0x3'));var express=require(_0xce66('0x4'));var router=express[_0xce66('0x5')]();var fs_extra=require(_0xce66('0x6'));var auth=require(_0xce66('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xce66('0x8'));var controller=require(_0xce66('0x9'));router[_0xce66('0xa')]('/',auth[_0xce66('0xb')](),controller[_0xce66('0xc')]);router[_0xce66('0xa')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get'](_0xce66('0xd'),auth[_0xce66('0xb')](),controller['show']);router[_0xce66('0xe')]('/',auth[_0xce66('0xb')](),controller[_0xce66('0xf')]);router['put'](_0xce66('0xd'),auth[_0xce66('0xb')](),controller[_0xce66('0x10')]);router[_0xce66('0x11')](_0xce66('0xd'),auth[_0xce66('0xb')](),controller[_0xce66('0x12')]);module['exports']=router; \ No newline at end of file +var _0x58ff=['/:id','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated','get','describe','show','post','put'];(function(_0x162048,_0x411f1b){var _0x2339bf=function(_0x4101a2){while(--_0x4101a2){_0x162048['push'](_0x162048['shift']());}};_0x2339bf(++_0x411f1b);}(_0x58ff,0x136));var _0xf58f=function(_0x393b39,_0x4730a0){_0x393b39=_0x393b39-0x0;var _0x32c652=_0x58ff[_0x393b39];return _0x32c652;};'use strict';var multer=require(_0xf58f('0x0'));var util=require(_0xf58f('0x1'));var path=require(_0xf58f('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf58f('0x3')]();var fs_extra=require(_0xf58f('0x4'));var auth=require(_0xf58f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf58f('0x6'));var controller=require(_0xf58f('0x7'));router['get']('/',auth[_0xf58f('0x8')](),controller['index']);router[_0xf58f('0x9')]('/describe',auth[_0xf58f('0x8')](),controller[_0xf58f('0xa')]);router['get']('/:id',auth[_0xf58f('0x8')](),controller[_0xf58f('0xb')]);router[_0xf58f('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf58f('0xd')](_0xf58f('0xe'),auth[_0xf58f('0x8')](),controller['update']);router[_0xf58f('0xf')](_0xf58f('0xe'),auth[_0xf58f('0x8')](),controller[_0xf58f('0x10')]);module[_0xf58f('0x11')]=router; \ No newline at end of file