Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / trigger / index.js
index aaae1af..4c3c320 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf34f=['../../components/auth/service','../../components/interaction/service','./trigger.controller','isAuthenticated','get','show','getAllConditions','getAnyConditions','/:id/actions','getActions','create','post','/:id/all_conditions','addAllCondition','/:id/any_conditions','addAnyCondition','addAction','put','/:id','update','delete','destroy','multer','path','express','fs-extra'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0xf34f,0x64));var _0xff34=function(_0x48c333,_0x3a4f7b){_0x48c333=_0x48c333-0x0;var _0x18bc3c=_0xf34f[_0x48c333];return _0x18bc3c;};'use strict';var multer=require(_0xff34('0x0'));var util=require('util');var path=require(_0xff34('0x1'));var timeout=require('connect-timeout');var express=require(_0xff34('0x2'));var router=express['Router']();var fs_extra=require(_0xff34('0x3'));var auth=require(_0xff34('0x4'));var interaction=require(_0xff34('0x5'));var config=require('../../config/environment');var controller=require(_0xff34('0x6'));router['get']('/',auth[_0xff34('0x7')](),controller['index']);router[_0xff34('0x8')]('/:id',auth[_0xff34('0x7')](),controller[_0xff34('0x9')]);router['get']('/:id/all_conditions',auth[_0xff34('0x7')](),controller[_0xff34('0xa')]);router[_0xff34('0x8')]('/:id/any_conditions',auth[_0xff34('0x7')](),controller[_0xff34('0xb')]);router['get'](_0xff34('0xc'),auth[_0xff34('0x7')](),controller[_0xff34('0xd')]);router['post']('/',auth[_0xff34('0x7')](),controller[_0xff34('0xe')]);router[_0xff34('0xf')](_0xff34('0x10'),auth[_0xff34('0x7')](),controller[_0xff34('0x11')]);router[_0xff34('0xf')](_0xff34('0x12'),auth[_0xff34('0x7')](),controller[_0xff34('0x13')]);router[_0xff34('0xf')](_0xff34('0xc'),auth[_0xff34('0x7')](),controller[_0xff34('0x14')]);router[_0xff34('0x15')](_0xff34('0x16'),auth[_0xff34('0x7')](),controller[_0xff34('0x17')]);router[_0xff34('0x18')](_0xff34('0x16'),auth['isAuthenticated'](),controller[_0xff34('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0xd7fa=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','isAuthenticated','index','/:id','show','/:id/any_conditions','/:id/actions','getActions','post','create','/:id/all_conditions','addAllCondition','addAnyCondition','addAction','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x178cfe,_0x5e23af){var _0x24b40c=function(_0x35b61c){while(--_0x35b61c){_0x178cfe['push'](_0x178cfe['shift']());}};_0x24b40c(++_0x5e23af);}(_0xd7fa,0x127));var _0xad7f=function(_0x281011,_0x597419){_0x281011=_0x281011-0x0;var _0x322acc=_0xd7fa[_0x281011];return _0x322acc;};'use strict';var multer=require(_0xad7f('0x0'));var util=require(_0xad7f('0x1'));var path=require(_0xad7f('0x2'));var timeout=require(_0xad7f('0x3'));var express=require(_0xad7f('0x4'));var router=express[_0xad7f('0x5')]();var fs_extra=require(_0xad7f('0x6'));var auth=require(_0xad7f('0x7'));var interaction=require(_0xad7f('0x8'));var config=require(_0xad7f('0x9'));var controller=require(_0xad7f('0xa'));router[_0xad7f('0xb')]('/',auth[_0xad7f('0xc')](),controller[_0xad7f('0xd')]);router['get'](_0xad7f('0xe'),auth['isAuthenticated'](),controller[_0xad7f('0xf')]);router['get']('/:id/all_conditions',auth['isAuthenticated'](),controller['getAllConditions']);router['get'](_0xad7f('0x10'),auth[_0xad7f('0xc')](),controller['getAnyConditions']);router[_0xad7f('0xb')](_0xad7f('0x11'),auth[_0xad7f('0xc')](),controller[_0xad7f('0x12')]);router[_0xad7f('0x13')]('/',auth['isAuthenticated'](),controller[_0xad7f('0x14')]);router['post'](_0xad7f('0x15'),auth['isAuthenticated'](),controller[_0xad7f('0x16')]);router[_0xad7f('0x13')]('/:id/any_conditions',auth['isAuthenticated'](),controller[_0xad7f('0x17')]);router['post'](_0xad7f('0x11'),auth['isAuthenticated'](),controller[_0xad7f('0x18')]);router[_0xad7f('0x19')](_0xad7f('0xe'),auth['isAuthenticated'](),controller[_0xad7f('0x1a')]);router[_0xad7f('0x1b')](_0xad7f('0xe'),auth[_0xad7f('0xc')](),controller[_0xad7f('0x1c')]);module[_0xad7f('0x1d')]=router;
\ No newline at end of file