Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / openchannelInteraction / index.js
index c617f65..531a227 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1460=['/:id','/:id/messages','getMessages','/:id/download','download','post','addMessage','tracked','openchannel','addTags','put','openchannelinteraction:update','update','delete','destroy','/:id/tags','removeTags','exports','multer','util','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','describe'];(function(_0x1233a7,_0x3aeb2d){var _0x2fced1=function(_0x3c8c58){while(--_0x3c8c58){_0x1233a7['push'](_0x1233a7['shift']());}};_0x2fced1(++_0x3aeb2d);}(_0x1460,0x1e6));var _0x0146=function(_0xe9ada0,_0x4d4bcc){_0xe9ada0=_0xe9ada0-0x0;var _0x21a1ca=_0x1460[_0xe9ada0];return _0x21a1ca;};'use strict';var multer=require(_0x0146('0x0'));var util=require(_0x0146('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0146('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x0146('0x3'));var interaction=require(_0x0146('0x4'));var config=require('../../config/environment');var controller=require('./openchannelInteraction.controller');router[_0x0146('0x5')]('/',auth[_0x0146('0x6')](),controller['index']);router[_0x0146('0x5')]('/describe',auth[_0x0146('0x6')](),controller[_0x0146('0x7')]);router['get'](_0x0146('0x8'),auth['isAuthenticated'](),controller['show']);router['get'](_0x0146('0x9'),auth[_0x0146('0x6')](),controller[_0x0146('0xa')]);router[_0x0146('0x5')](_0x0146('0xb'),auth[_0x0146('0x6')](),controller[_0x0146('0xc')]);router[_0x0146('0xd')]('/',auth[_0x0146('0x6')](),controller['create']);router[_0x0146('0xd')](_0x0146('0x9'),auth[_0x0146('0x6')](),controller[_0x0146('0xe')]);router[_0x0146('0xd')]('/:id/tags',auth['isAuthenticated'](),interaction[_0x0146('0xf')](_0x0146('0x10'),'openchannelinteraction:addtags'),controller[_0x0146('0x11')]);router[_0x0146('0x12')](_0x0146('0x8'),auth[_0x0146('0x6')](),interaction[_0x0146('0xf')]('openchannel',_0x0146('0x13')),controller[_0x0146('0x14')]);router[_0x0146('0x15')](_0x0146('0x8'),auth[_0x0146('0x6')](),interaction[_0x0146('0xf')](_0x0146('0x10'),'openchannelinteraction:destroy'),controller[_0x0146('0x16')]);router[_0x0146('0x15')](_0x0146('0x17'),auth[_0x0146('0x6')](),controller[_0x0146('0x18')]);module[_0x0146('0x19')]=router;
\ No newline at end of file
+var _0x5e81=['addTags','openchannelinteraction:update','delete','openchannelinteraction:destroy','destroy','removeTags','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','describe','/:id','show','/:id/messages','/:id/download','download','post','addMessage','/:id/tags','tracked','openchannel','openchannelinteraction:addtags'];(function(_0x194d05,_0x5aa39a){var _0x264531=function(_0x650d02){while(--_0x650d02){_0x194d05['push'](_0x194d05['shift']());}};_0x264531(++_0x5aa39a);}(_0x5e81,0x7f));var _0x15e8=function(_0x686070,_0x5b6c83){_0x686070=_0x686070-0x0;var _0x313343=_0x5e81[_0x686070];return _0x313343;};'use strict';var multer=require(_0x15e8('0x0'));var util=require(_0x15e8('0x1'));var path=require(_0x15e8('0x2'));var timeout=require('connect-timeout');var express=require(_0x15e8('0x3'));var router=express[_0x15e8('0x4')]();var fs_extra=require(_0x15e8('0x5'));var auth=require(_0x15e8('0x6'));var interaction=require(_0x15e8('0x7'));var config=require(_0x15e8('0x8'));var controller=require('./openchannelInteraction.controller');router['get']('/',auth[_0x15e8('0x9')](),controller['index']);router[_0x15e8('0xa')]('/describe',auth[_0x15e8('0x9')](),controller[_0x15e8('0xb')]);router['get'](_0x15e8('0xc'),auth[_0x15e8('0x9')](),controller[_0x15e8('0xd')]);router['get'](_0x15e8('0xe'),auth['isAuthenticated'](),controller['getMessages']);router[_0x15e8('0xa')](_0x15e8('0xf'),auth['isAuthenticated'](),controller[_0x15e8('0x10')]);router[_0x15e8('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0x15e8('0x11')](_0x15e8('0xe'),auth[_0x15e8('0x9')](),controller[_0x15e8('0x12')]);router['post'](_0x15e8('0x13'),auth[_0x15e8('0x9')](),interaction[_0x15e8('0x14')](_0x15e8('0x15'),_0x15e8('0x16')),controller[_0x15e8('0x17')]);router['put'](_0x15e8('0xc'),auth[_0x15e8('0x9')](),interaction['tracked']('openchannel',_0x15e8('0x18')),controller['update']);router[_0x15e8('0x19')](_0x15e8('0xc'),auth['isAuthenticated'](),interaction['tracked']('openchannel',_0x15e8('0x1a')),controller[_0x15e8('0x1b')]);router[_0x15e8('0x19')](_0x15e8('0x13'),auth[_0x15e8('0x9')](),controller[_0x15e8('0x1c')]);module[_0x15e8('0x1d')]=router;
\ No newline at end of file