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