Built motion from commit 5b761a7b.|2.5.36
[motion2.git] / server / api / trigger / index.js
index 1b7fb5e..4f58b81 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x84e9=['./trigger.controller','get','index','/:id','isAuthenticated','show','/:id/all_conditions','/:id/any_conditions','getAnyConditions','/:id/actions','getActions','post','create','addAllCondition','addAnyCondition','addAction','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x1035c1,_0x2d8583){var _0x308d67=function(_0x58ddb6){while(--_0x58ddb6){_0x1035c1['push'](_0x1035c1['shift']());}};_0x308d67(++_0x2d8583);}(_0x84e9,0x180));var _0x984e=function(_0x566350,_0x1e4817){_0x566350=_0x566350-0x0;var _0x548590=_0x84e9[_0x566350];return _0x548590;};'use strict';var multer=require(_0x984e('0x0'));var util=require(_0x984e('0x1'));var path=require(_0x984e('0x2'));var timeout=require(_0x984e('0x3'));var express=require(_0x984e('0x4'));var router=express['Router']();var fs_extra=require(_0x984e('0x5'));var auth=require(_0x984e('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x984e('0x7'));var controller=require(_0x984e('0x8'));router[_0x984e('0x9')]('/',auth['isAuthenticated'](),controller[_0x984e('0xa')]);router[_0x984e('0x9')](_0x984e('0xb'),auth[_0x984e('0xc')](),controller[_0x984e('0xd')]);router[_0x984e('0x9')](_0x984e('0xe'),auth[_0x984e('0xc')](),controller['getAllConditions']);router['get'](_0x984e('0xf'),auth['isAuthenticated'](),controller[_0x984e('0x10')]);router[_0x984e('0x9')](_0x984e('0x11'),auth['isAuthenticated'](),controller[_0x984e('0x12')]);router[_0x984e('0x13')]('/',auth[_0x984e('0xc')](),controller[_0x984e('0x14')]);router[_0x984e('0x13')](_0x984e('0xe'),auth[_0x984e('0xc')](),controller[_0x984e('0x15')]);router[_0x984e('0x13')]('/:id/any_conditions',auth[_0x984e('0xc')](),controller[_0x984e('0x16')]);router[_0x984e('0x13')](_0x984e('0x11'),auth[_0x984e('0xc')](),controller[_0x984e('0x17')]);router['put'](_0x984e('0xb'),auth['isAuthenticated'](),controller[_0x984e('0x18')]);router[_0x984e('0x19')](_0x984e('0xb'),auth[_0x984e('0xc')](),controller[_0x984e('0x1a')]);module[_0x984e('0x1b')]=router;
\ No newline at end of file
+var _0xaf0c=['/:id/actions','addAction','/:id','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./trigger.controller','get','isAuthenticated','index','show','/:id/all_conditions','getAllConditions','/:id/any_conditions','getAnyConditions','getActions','post','create','addAllCondition','addAnyCondition'];(function(_0x39c32a,_0x10932e){var _0x1ef1fc=function(_0x34b760){while(--_0x34b760){_0x39c32a['push'](_0x39c32a['shift']());}};_0x1ef1fc(++_0x10932e);}(_0xaf0c,0x1c6));var _0xcaf0=function(_0x2de020,_0x252df0){_0x2de020=_0x2de020-0x0;var _0x182b7c=_0xaf0c[_0x2de020];return _0x182b7c;};'use strict';var multer=require(_0xcaf0('0x0'));var util=require(_0xcaf0('0x1'));var path=require(_0xcaf0('0x2'));var timeout=require(_0xcaf0('0x3'));var express=require('express');var router=express[_0xcaf0('0x4')]();var fs_extra=require(_0xcaf0('0x5'));var auth=require(_0xcaf0('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xcaf0('0x7'));var controller=require(_0xcaf0('0x8'));router[_0xcaf0('0x9')]('/',auth[_0xcaf0('0xa')](),controller[_0xcaf0('0xb')]);router[_0xcaf0('0x9')]('/:id',auth[_0xcaf0('0xa')](),controller[_0xcaf0('0xc')]);router[_0xcaf0('0x9')](_0xcaf0('0xd'),auth[_0xcaf0('0xa')](),controller[_0xcaf0('0xe')]);router[_0xcaf0('0x9')](_0xcaf0('0xf'),auth['isAuthenticated'](),controller[_0xcaf0('0x10')]);router[_0xcaf0('0x9')]('/:id/actions',auth[_0xcaf0('0xa')](),controller[_0xcaf0('0x11')]);router[_0xcaf0('0x12')]('/',auth['isAuthenticated'](),controller[_0xcaf0('0x13')]);router[_0xcaf0('0x12')](_0xcaf0('0xd'),auth['isAuthenticated'](),controller[_0xcaf0('0x14')]);router[_0xcaf0('0x12')](_0xcaf0('0xf'),auth[_0xcaf0('0xa')](),controller[_0xcaf0('0x15')]);router['post'](_0xcaf0('0x16'),auth[_0xcaf0('0xa')](),controller[_0xcaf0('0x17')]);router['put'](_0xcaf0('0x18'),auth['isAuthenticated'](),controller[_0xcaf0('0x19')]);router['delete'](_0xcaf0('0x18'),auth[_0xcaf0('0xa')](),controller[_0xcaf0('0x1a')]);module[_0xcaf0('0x1b')]=router;
\ No newline at end of file