Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / trigger / index.js
index c2346aa..4c3c320 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe3bb=['isAuthenticated','show','/:id/all_conditions','/:id/any_conditions','getAnyConditions','/:id/actions','post','create','addAllCondition','addAction','put','update','/:id','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','index'];(function(_0x4d613c,_0x55f220){var _0x301fe3=function(_0x5eec0b){while(--_0x5eec0b){_0x4d613c['push'](_0x4d613c['shift']());}};_0x301fe3(++_0x55f220);}(_0xe3bb,0x1c8));var _0xbe3b=function(_0x47899b,_0x3a9171){_0x47899b=_0x47899b-0x0;var _0x3cf890=_0xe3bb[_0x47899b];return _0x3cf890;};'use strict';var multer=require(_0xbe3b('0x0'));var util=require(_0xbe3b('0x1'));var path=require(_0xbe3b('0x2'));var timeout=require(_0xbe3b('0x3'));var express=require(_0xbe3b('0x4'));var router=express['Router']();var fs_extra=require(_0xbe3b('0x5'));var auth=require(_0xbe3b('0x6'));var interaction=require(_0xbe3b('0x7'));var config=require(_0xbe3b('0x8'));var controller=require(_0xbe3b('0x9'));router[_0xbe3b('0xa')]('/',auth['isAuthenticated'](),controller[_0xbe3b('0xb')]);router[_0xbe3b('0xa')]('/:id',auth[_0xbe3b('0xc')](),controller[_0xbe3b('0xd')]);router[_0xbe3b('0xa')](_0xbe3b('0xe'),auth[_0xbe3b('0xc')](),controller['getAllConditions']);router[_0xbe3b('0xa')](_0xbe3b('0xf'),auth[_0xbe3b('0xc')](),controller[_0xbe3b('0x10')]);router[_0xbe3b('0xa')](_0xbe3b('0x11'),auth[_0xbe3b('0xc')](),controller['getActions']);router[_0xbe3b('0x12')]('/',auth[_0xbe3b('0xc')](),controller[_0xbe3b('0x13')]);router[_0xbe3b('0x12')]('/:id/all_conditions',auth[_0xbe3b('0xc')](),controller[_0xbe3b('0x14')]);router[_0xbe3b('0x12')](_0xbe3b('0xf'),auth[_0xbe3b('0xc')](),controller['addAnyCondition']);router[_0xbe3b('0x12')](_0xbe3b('0x11'),auth[_0xbe3b('0xc')](),controller[_0xbe3b('0x15')]);router[_0xbe3b('0x16')]('/:id',auth[_0xbe3b('0xc')](),controller[_0xbe3b('0x17')]);router['delete'](_0xbe3b('0x18'),auth[_0xbe3b('0xc')](),controller[_0xbe3b('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