Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / trigger / index.js
index f73503a..aca9c63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4b88=['express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','getAllConditions','/:id/any_conditions','/:id/actions','getActions','post','create','/:id/all_conditions','addAnyCondition','addAction','update','delete','destroy','exports','util'];(function(_0x2920dd,_0x19d049){var _0x5d4e52=function(_0x46c751){while(--_0x46c751){_0x2920dd['push'](_0x2920dd['shift']());}};_0x5d4e52(++_0x19d049);}(_0x4b88,0x141));var _0x84b8=function(_0x4eaa61,_0x361fde){_0x4eaa61=_0x4eaa61-0x0;var _0x3115ff=_0x4b88[_0x4eaa61];return _0x3115ff;};'use strict';var multer=require('multer');var util=require(_0x84b8('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x84b8('0x1'));var router=express[_0x84b8('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x84b8('0x3'));var config=require(_0x84b8('0x4'));var controller=require('./trigger.controller');router[_0x84b8('0x5')]('/',auth[_0x84b8('0x6')](),controller[_0x84b8('0x7')]);router[_0x84b8('0x5')](_0x84b8('0x8'),auth[_0x84b8('0x6')](),controller[_0x84b8('0x9')]);router[_0x84b8('0x5')]('/:id/all_conditions',auth['isAuthenticated'](),controller[_0x84b8('0xa')]);router[_0x84b8('0x5')](_0x84b8('0xb'),auth[_0x84b8('0x6')](),controller['getAnyConditions']);router[_0x84b8('0x5')](_0x84b8('0xc'),auth[_0x84b8('0x6')](),controller[_0x84b8('0xd')]);router[_0x84b8('0xe')]('/',auth[_0x84b8('0x6')](),controller[_0x84b8('0xf')]);router[_0x84b8('0xe')](_0x84b8('0x10'),auth[_0x84b8('0x6')](),controller['addAllCondition']);router[_0x84b8('0xe')](_0x84b8('0xb'),auth[_0x84b8('0x6')](),controller[_0x84b8('0x11')]);router['post'](_0x84b8('0xc'),auth[_0x84b8('0x6')](),controller[_0x84b8('0x12')]);router['put'](_0x84b8('0x8'),auth[_0x84b8('0x6')](),controller[_0x84b8('0x13')]);router[_0x84b8('0x14')]('/:id',auth[_0x84b8('0x6')](),controller[_0x84b8('0x15')]);module[_0x84b8('0x16')]=router;
\ No newline at end of file
+var _0x76c6=['/:id/all_conditions','addAllCondition','/:id/any_conditions','addAction','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','get','isAuthenticated','index','show','getAllConditions','getAnyConditions','/:id/actions','getActions','post','create'];(function(_0x3ff085,_0x27c92e){var _0x2b68c3=function(_0x37811e){while(--_0x37811e){_0x3ff085['push'](_0x3ff085['shift']());}};_0x2b68c3(++_0x27c92e);}(_0x76c6,0x9f));var _0x676c=function(_0x27a8d3,_0x36b711){_0x27a8d3=_0x27a8d3-0x0;var _0x7aff99=_0x76c6[_0x27a8d3];return _0x7aff99;};'use strict';var multer=require(_0x676c('0x0'));var util=require(_0x676c('0x1'));var path=require('path');var timeout=require(_0x676c('0x2'));var express=require(_0x676c('0x3'));var router=express[_0x676c('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x676c('0x5'));var config=require('../../config/environment');var controller=require('./trigger.controller');router[_0x676c('0x6')]('/',auth[_0x676c('0x7')](),controller[_0x676c('0x8')]);router[_0x676c('0x6')]('/:id',auth[_0x676c('0x7')](),controller[_0x676c('0x9')]);router['get']('/:id/all_conditions',auth[_0x676c('0x7')](),controller[_0x676c('0xa')]);router[_0x676c('0x6')]('/:id/any_conditions',auth[_0x676c('0x7')](),controller[_0x676c('0xb')]);router[_0x676c('0x6')](_0x676c('0xc'),auth[_0x676c('0x7')](),controller[_0x676c('0xd')]);router[_0x676c('0xe')]('/',auth[_0x676c('0x7')](),controller[_0x676c('0xf')]);router[_0x676c('0xe')](_0x676c('0x10'),auth[_0x676c('0x7')](),controller[_0x676c('0x11')]);router[_0x676c('0xe')](_0x676c('0x12'),auth[_0x676c('0x7')](),controller['addAnyCondition']);router[_0x676c('0xe')]('/:id/actions',auth[_0x676c('0x7')](),controller[_0x676c('0x13')]);router['put'](_0x676c('0x14'),auth[_0x676c('0x7')](),controller[_0x676c('0x15')]);router[_0x676c('0x16')](_0x676c('0x14'),auth[_0x676c('0x7')](),controller[_0x676c('0x17')]);module[_0x676c('0x18')]=router;
\ No newline at end of file