X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatMessage%2Findex.js;h=a9b166b440a9d2005869daf24cbaa72d06cab58b;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=73d484d7a2458293f63f6d22f9b31597c4fb2964;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/api/chatMessage/index.js b/server/api/chatMessage/index.js index 73d484d..a9b166b 100644 --- a/server/api/chatMessage/index.js +++ b/server/api/chatMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x37f0=['connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','post','tracked','chat','chatmessage:create','update','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports'];(function(_0x4e221e,_0x22329a){var _0x2297eb=function(_0x59a4cd){while(--_0x59a4cd){_0x4e221e['push'](_0x4e221e['shift']());}};_0x2297eb(++_0x22329a);}(_0x37f0,0xd8));var _0x037f=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0x37f0[_0x2b4411];return _0x8e41ef;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x037f('0x0'));var express=require(_0x037f('0x1'));var router=express[_0x037f('0x2')]();var fs_extra=require(_0x037f('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x037f('0x4'));var controller=require('./chatMessage.controller');router[_0x037f('0x5')]('/',auth[_0x037f('0x6')](),controller['index']);router[_0x037f('0x5')](_0x037f('0x7'),auth['isAuthenticated'](),controller[_0x037f('0x8')]);router[_0x037f('0x5')](_0x037f('0x9'),auth[_0x037f('0x6')](),controller[_0x037f('0xa')]);router[_0x037f('0xb')]('/',auth[_0x037f('0x6')](),interaction[_0x037f('0xc')](_0x037f('0xd'),_0x037f('0xe')),controller['create']);router['put'](_0x037f('0x9'),controller[_0x037f('0xf')]);router[_0x037f('0x10')](_0x037f('0x11'),auth[_0x037f('0x6')](),controller[_0x037f('0x12')]);router[_0x037f('0x10')](_0x037f('0x13'),auth['isAuthenticated'](),controller[_0x037f('0x14')]);router[_0x037f('0x15')](_0x037f('0x9'),auth[_0x037f('0x6')](),controller[_0x037f('0x16')]);module[_0x037f('0x17')]=router; \ No newline at end of file +var _0x094b=['/:id/accept','accept','/:id/reject','delete','destroy','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','chat','chatmessage:create','create','put','update'];(function(_0x411990,_0x307cbd){var _0x37d450=function(_0xdbc60e){while(--_0xdbc60e){_0x411990['push'](_0x411990['shift']());}};_0x37d450(++_0x307cbd);}(_0x094b,0x7d));var _0xb094=function(_0x127e8c,_0x89466f){_0x127e8c=_0x127e8c-0x0;var _0x5c571e=_0x094b[_0x127e8c];return _0x5c571e;};'use strict';var multer=require('multer');var util=require(_0xb094('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb094('0x1'));var router=express[_0xb094('0x2')]();var fs_extra=require(_0xb094('0x3'));var auth=require(_0xb094('0x4'));var interaction=require(_0xb094('0x5'));var config=require(_0xb094('0x6'));var controller=require(_0xb094('0x7'));router[_0xb094('0x8')]('/',auth[_0xb094('0x9')](),controller[_0xb094('0xa')]);router[_0xb094('0x8')](_0xb094('0xb'),auth[_0xb094('0x9')](),controller[_0xb094('0xc')]);router['get'](_0xb094('0xd'),auth[_0xb094('0x9')](),controller['show']);router['post']('/',auth[_0xb094('0x9')](),interaction['tracked'](_0xb094('0xe'),_0xb094('0xf')),controller[_0xb094('0x10')]);router[_0xb094('0x11')]('/:id',controller[_0xb094('0x12')]);router[_0xb094('0x11')](_0xb094('0x13'),auth[_0xb094('0x9')](),controller[_0xb094('0x14')]);router[_0xb094('0x11')](_0xb094('0x15'),auth[_0xb094('0x9')](),controller['reject']);router[_0xb094('0x16')](_0xb094('0xd'),auth['isAuthenticated'](),controller[_0xb094('0x17')]);module['exports']=router; \ No newline at end of file