Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / openchannelInteraction / index.js
index 2cbbf8d..2e45d59 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb974=['openchannelinteraction:addtags','addTags','put','openchannelinteraction:update','update','delete','openchannelinteraction:destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelInteraction.controller','get','isAuthenticated','describe','/:id','show','/:id/messages','/:id/download','download','create','post','/:id/tags','tracked'];(function(_0x42eb4f,_0x3e1a17){var _0xb03f52=function(_0x270068){while(--_0x270068){_0x42eb4f['push'](_0x42eb4f['shift']());}};_0xb03f52(++_0x3e1a17);}(_0xb974,0x7c));var _0x4b97=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xb974[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0x4b97('0x0'));var util=require(_0x4b97('0x1'));var path=require('path');var timeout=require(_0x4b97('0x2'));var express=require(_0x4b97('0x3'));var router=express[_0x4b97('0x4')]();var auth=require(_0x4b97('0x5'));var interaction=require(_0x4b97('0x6'));var config=require(_0x4b97('0x7'));var controller=require(_0x4b97('0x8'));router[_0x4b97('0x9')]('/',auth[_0x4b97('0xa')](),controller['index']);router[_0x4b97('0x9')]('/describe',auth[_0x4b97('0xa')](),controller[_0x4b97('0xb')]);router[_0x4b97('0x9')](_0x4b97('0xc'),auth[_0x4b97('0xa')](),controller[_0x4b97('0xd')]);router[_0x4b97('0x9')](_0x4b97('0xe'),auth[_0x4b97('0xa')](),controller['getMessages']);router[_0x4b97('0x9')](_0x4b97('0xf'),auth['isAuthenticated'](),controller[_0x4b97('0x10')]);router['post']('/',auth[_0x4b97('0xa')](),controller[_0x4b97('0x11')]);router[_0x4b97('0x12')]('/:id/messages',auth[_0x4b97('0xa')](),controller['addMessage']);router[_0x4b97('0x12')](_0x4b97('0x13'),auth[_0x4b97('0xa')](),interaction[_0x4b97('0x14')]('openchannel',_0x4b97('0x15')),controller[_0x4b97('0x16')]);router[_0x4b97('0x17')](_0x4b97('0xc'),auth[_0x4b97('0xa')](),interaction[_0x4b97('0x14')]('openchannel',_0x4b97('0x18')),controller[_0x4b97('0x19')]);router[_0x4b97('0x1a')](_0x4b97('0xc'),auth[_0x4b97('0xa')](),interaction[_0x4b97('0x14')]('openchannel',_0x4b97('0x1b')),controller['destroy']);router[_0x4b97('0x1a')](_0x4b97('0x13'),auth[_0x4b97('0xa')](),controller['removeTags']);module[_0x4b97('0x1c')]=router;
\ No newline at end of file
+var _0x9049=['destroy','removeTags','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','describe','show','/:id/messages','download','addMessage','post','/:id/tags','tracked','openchannel','addTags','put','openchannelinteraction:update','delete','/:id','openchannelinteraction:destroy'];(function(_0xd81a1c,_0x2737ed){var _0x4d40f4=function(_0x2eba45){while(--_0x2eba45){_0xd81a1c['push'](_0xd81a1c['shift']());}};_0x4d40f4(++_0x2737ed);}(_0x9049,0xfe));var _0x9904=function(_0x5709d4,_0x4b5c60){_0x5709d4=_0x5709d4-0x0;var _0x5a38fb=_0x9049[_0x5709d4];return _0x5a38fb;};'use strict';var multer=require(_0x9904('0x0'));var util=require(_0x9904('0x1'));var path=require(_0x9904('0x2'));var timeout=require(_0x9904('0x3'));var express=require(_0x9904('0x4'));var router=express[_0x9904('0x5')]();var auth=require(_0x9904('0x6'));var interaction=require(_0x9904('0x7'));var config=require(_0x9904('0x8'));var controller=require('./openchannelInteraction.controller');router['get']('/',auth[_0x9904('0x9')](),controller['index']);router[_0x9904('0xa')]('/describe',auth[_0x9904('0x9')](),controller[_0x9904('0xb')]);router[_0x9904('0xa')]('/:id',auth[_0x9904('0x9')](),controller[_0x9904('0xc')]);router[_0x9904('0xa')](_0x9904('0xd'),auth[_0x9904('0x9')](),controller['getMessages']);router[_0x9904('0xa')]('/:id/download',auth[_0x9904('0x9')](),controller[_0x9904('0xe')]);router['post']('/',auth[_0x9904('0x9')](),controller['create']);router['post']('/:id/messages',auth[_0x9904('0x9')](),controller[_0x9904('0xf')]);router[_0x9904('0x10')](_0x9904('0x11'),auth[_0x9904('0x9')](),interaction[_0x9904('0x12')](_0x9904('0x13'),'openchannelinteraction:addtags'),controller[_0x9904('0x14')]);router[_0x9904('0x15')]('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x9904('0x13'),_0x9904('0x16')),controller['update']);router[_0x9904('0x17')](_0x9904('0x18'),auth['isAuthenticated'](),interaction['tracked'](_0x9904('0x13'),_0x9904('0x19')),controller[_0x9904('0x1a')]);router[_0x9904('0x17')](_0x9904('0x11'),auth[_0x9904('0x9')](),controller[_0x9904('0x1b')]);module['exports']=router;
\ No newline at end of file