X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatMessage%2Findex.js;h=5ff67a6d9b0d00d15bd0302ca1102b60b5621e02;hb=9c8616cfa647d703a1bff4c288be65133e777d2a;hp=b897a3f3ac4e233c7eabdd5a83454e3302384894;hpb=9a44dbf63247346f18777cf5ec4c91e11165c4b0;p=motion2.git diff --git a/server/api/chatMessage/index.js b/server/api/chatMessage/index.js index b897a3f..5ff67a6 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 _0x161e=['chatmessage:create','create','put','accept','/:id/reject','reject','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','index','describe','/:id','show','isAuthenticated','tracked','chat'];(function(_0x1b5cd6,_0x519dc4){var _0x1e62dc=function(_0x3b6756){while(--_0x3b6756){_0x1b5cd6['push'](_0x1b5cd6['shift']());}};_0x1e62dc(++_0x519dc4);}(_0x161e,0x1e8));var _0xe161=function(_0x3e2c67,_0x7e4ae8){_0x3e2c67=_0x3e2c67-0x0;var _0x37dab5=_0x161e[_0x3e2c67];return _0x37dab5;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe161('0x0'));var timeout=require(_0xe161('0x1'));var express=require(_0xe161('0x2'));var router=express[_0xe161('0x3')]();var auth=require(_0xe161('0x4'));var interaction=require(_0xe161('0x5'));var config=require(_0xe161('0x6'));var controller=require(_0xe161('0x7'));router[_0xe161('0x8')]('/',auth['isAuthenticated'](),controller[_0xe161('0x9')]);router[_0xe161('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xe161('0xa')]);router[_0xe161('0x8')](_0xe161('0xb'),auth['isAuthenticated'](),controller[_0xe161('0xc')]);router['post']('/',auth[_0xe161('0xd')](),interaction[_0xe161('0xe')](_0xe161('0xf'),_0xe161('0x10')),controller[_0xe161('0x11')]);router[_0xe161('0x12')](_0xe161('0xb'),controller['update']);router[_0xe161('0x12')]('/:id/accept',auth[_0xe161('0xd')](),controller[_0xe161('0x13')]);router[_0xe161('0x12')](_0xe161('0x14'),auth[_0xe161('0xd')](),controller[_0xe161('0x15')]);router['delete'](_0xe161('0xb'),auth[_0xe161('0xd')](),controller[_0xe161('0x16')]);module[_0xe161('0x17')]=router; \ No newline at end of file +var _0xea51=['post','tracked','chat','chatmessage:create','create','update','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show'];(function(_0x1fa4bd,_0x325a40){var _0x5ee352=function(_0x18b39d){while(--_0x18b39d){_0x1fa4bd['push'](_0x1fa4bd['shift']());}};_0x5ee352(++_0x325a40);}(_0xea51,0xf8));var _0x1ea5=function(_0x38cbd7,_0x503573){_0x38cbd7=_0x38cbd7-0x0;var _0x3f2923=_0xea51[_0x38cbd7];return _0x3f2923;};'use strict';var multer=require(_0x1ea5('0x0'));var util=require('util');var path=require(_0x1ea5('0x1'));var timeout=require(_0x1ea5('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x1ea5('0x3'));var interaction=require(_0x1ea5('0x4'));var config=require(_0x1ea5('0x5'));var controller=require('./chatMessage.controller');router[_0x1ea5('0x6')]('/',auth[_0x1ea5('0x7')](),controller['index']);router[_0x1ea5('0x6')](_0x1ea5('0x8'),auth[_0x1ea5('0x7')](),controller[_0x1ea5('0x9')]);router[_0x1ea5('0x6')](_0x1ea5('0xa'),auth[_0x1ea5('0x7')](),controller[_0x1ea5('0xb')]);router[_0x1ea5('0xc')]('/',auth[_0x1ea5('0x7')](),interaction[_0x1ea5('0xd')](_0x1ea5('0xe'),_0x1ea5('0xf')),controller[_0x1ea5('0x10')]);router['put']('/:id',controller[_0x1ea5('0x11')]);router[_0x1ea5('0x12')](_0x1ea5('0x13'),auth['isAuthenticated'](),controller[_0x1ea5('0x14')]);router['put'](_0x1ea5('0x15'),auth['isAuthenticated'](),controller[_0x1ea5('0x16')]);router[_0x1ea5('0x17')]('/:id',auth[_0x1ea5('0x7')](),controller[_0x1ea5('0x18')]);module[_0x1ea5('0x19')]=router; \ No newline at end of file