Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / openchannelMessage / index.js
index 8533842..0c21502 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1e76=['util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelMessage.controller','get','isAuthenticated','index','/describe','/:id','show','post','tracked','openchannel','create','put','update','/:id/accept','reject','destroy','exports','multer'];(function(_0x271567,_0x3381fc){var _0x48164f=function(_0x3d561f){while(--_0x3d561f){_0x271567['push'](_0x271567['shift']());}};_0x48164f(++_0x3381fc);}(_0x1e76,0x1f3));var _0x61e7=function(_0x39391d,_0x506b9a){_0x39391d=_0x39391d-0x0;var _0xf9bf4d=_0x1e76[_0x39391d];return _0xf9bf4d;};'use strict';var multer=require(_0x61e7('0x0'));var util=require(_0x61e7('0x1'));var path=require('path');var timeout=require(_0x61e7('0x2'));var express=require(_0x61e7('0x3'));var router=express[_0x61e7('0x4')]();var auth=require(_0x61e7('0x5'));var interaction=require(_0x61e7('0x6'));var config=require(_0x61e7('0x7'));var controller=require(_0x61e7('0x8'));router[_0x61e7('0x9')]('/',auth[_0x61e7('0xa')](),controller[_0x61e7('0xb')]);router[_0x61e7('0x9')](_0x61e7('0xc'),auth[_0x61e7('0xa')](),controller['describe']);router[_0x61e7('0x9')](_0x61e7('0xd'),auth[_0x61e7('0xa')](),controller[_0x61e7('0xe')]);router[_0x61e7('0xf')]('/',auth['isAuthenticated'](),interaction[_0x61e7('0x10')](_0x61e7('0x11'),'openchannelmessage:create'),controller[_0x61e7('0x12')]);router[_0x61e7('0x13')](_0x61e7('0xd'),auth[_0x61e7('0xa')](),controller[_0x61e7('0x14')]);router[_0x61e7('0x13')](_0x61e7('0x15'),auth[_0x61e7('0xa')](),controller['accept']);router[_0x61e7('0x13')]('/:id/reject',auth[_0x61e7('0xa')](),controller[_0x61e7('0x16')]);router['delete'](_0x61e7('0xd'),auth['isAuthenticated'](),controller[_0x61e7('0x17')]);module[_0x61e7('0x18')]=router;
\ No newline at end of file
+var _0x70e0=['put','update','/:id/accept','accept','destroy','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelMessage.controller','isAuthenticated','describe','get','/:id','show','post','openchannel','openchannelmessage:create','create'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x70e0,0x17b));var _0x070e=function(_0x410af0,_0x172aec){_0x410af0=_0x410af0-0x0;var _0x1bde7d=_0x70e0[_0x410af0];return _0x1bde7d;};'use strict';var multer=require(_0x070e('0x0'));var util=require(_0x070e('0x1'));var path=require(_0x070e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x070e('0x3')]();var fs_extra=require(_0x070e('0x4'));var auth=require(_0x070e('0x5'));var interaction=require(_0x070e('0x6'));var config=require('../../config/environment');var controller=require(_0x070e('0x7'));router['get']('/',auth[_0x070e('0x8')](),controller['index']);router['get']('/describe',auth[_0x070e('0x8')](),controller[_0x070e('0x9')]);router[_0x070e('0xa')](_0x070e('0xb'),auth[_0x070e('0x8')](),controller[_0x070e('0xc')]);router[_0x070e('0xd')]('/',auth['isAuthenticated'](),interaction['tracked'](_0x070e('0xe'),_0x070e('0xf')),controller[_0x070e('0x10')]);router[_0x070e('0x11')](_0x070e('0xb'),auth[_0x070e('0x8')](),controller[_0x070e('0x12')]);router[_0x070e('0x11')](_0x070e('0x13'),auth[_0x070e('0x8')](),controller[_0x070e('0x14')]);router['put']('/:id/reject',auth[_0x070e('0x8')](),controller['reject']);router['delete']('/:id',auth[_0x070e('0x8')](),controller[_0x070e('0x15')]);module['exports']=router;
\ No newline at end of file