Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / trigger / index.js
index 03baa00..aca9c63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe3b7=['multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','show','/:id/all_conditions','getAllConditions','/:id/any_conditions','getAnyConditions','/:id/actions','post','create','addAllCondition','addAnyCondition','addAction','/:id','update','delete','destroy','exports'];(function(_0x490863,_0x502aca){var _0x3a0b2d=function(_0x5ae75b){while(--_0x5ae75b){_0x490863['push'](_0x490863['shift']());}};_0x3a0b2d(++_0x502aca);}(_0xe3b7,0xe1));var _0x7e3b=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0xe3b7[_0x42245d];return _0x4b211a;};'use strict';var multer=require(_0x7e3b('0x0'));var util=require(_0x7e3b('0x1'));var path=require('path');var timeout=require(_0x7e3b('0x2'));var express=require(_0x7e3b('0x3'));var router=express['Router']();var auth=require(_0x7e3b('0x4'));var interaction=require(_0x7e3b('0x5'));var config=require('../../config/environment');var controller=require('./trigger.controller');router[_0x7e3b('0x6')]('/',auth[_0x7e3b('0x7')](),controller[_0x7e3b('0x8')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x7e3b('0x9')]);router['get'](_0x7e3b('0xa'),auth[_0x7e3b('0x7')](),controller[_0x7e3b('0xb')]);router[_0x7e3b('0x6')](_0x7e3b('0xc'),auth['isAuthenticated'](),controller[_0x7e3b('0xd')]);router[_0x7e3b('0x6')](_0x7e3b('0xe'),auth[_0x7e3b('0x7')](),controller['getActions']);router[_0x7e3b('0xf')]('/',auth[_0x7e3b('0x7')](),controller[_0x7e3b('0x10')]);router['post'](_0x7e3b('0xa'),auth[_0x7e3b('0x7')](),controller[_0x7e3b('0x11')]);router['post'](_0x7e3b('0xc'),auth['isAuthenticated'](),controller[_0x7e3b('0x12')]);router[_0x7e3b('0xf')](_0x7e3b('0xe'),auth[_0x7e3b('0x7')](),controller[_0x7e3b('0x13')]);router['put'](_0x7e3b('0x14'),auth[_0x7e3b('0x7')](),controller[_0x7e3b('0x15')]);router[_0x7e3b('0x16')]('/:id',auth[_0x7e3b('0x7')](),controller[_0x7e3b('0x17')]);module[_0x7e3b('0x18')]=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