Built motion from commit d6d69adf.|2.6.33
[motion2.git] / server / api / trigger / index.js
index c5d5b6d..da40600 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7d26=['delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','isAuthenticated','/:id','show','/:id/all_conditions','getAllConditions','getAnyConditions','getActions','post','create','addAllCondition','/:id/any_conditions','addAnyCondition','/:id/actions','addAction','put'];(function(_0x256f90,_0x2187a6){var _0x415016=function(_0x43fcd6){while(--_0x43fcd6){_0x256f90['push'](_0x256f90['shift']());}};_0x415016(++_0x2187a6);}(_0x7d26,0x16f));var _0x67d2=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x7d26[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require('multer');var util=require(_0x67d2('0x0'));var path=require('path');var timeout=require(_0x67d2('0x1'));var express=require(_0x67d2('0x2'));var router=express[_0x67d2('0x3')]();var fs_extra=require(_0x67d2('0x4'));var auth=require(_0x67d2('0x5'));var interaction=require(_0x67d2('0x6'));var config=require(_0x67d2('0x7'));var controller=require(_0x67d2('0x8'));router[_0x67d2('0x9')]('/',auth[_0x67d2('0xa')](),controller['index']);router[_0x67d2('0x9')](_0x67d2('0xb'),auth[_0x67d2('0xa')](),controller[_0x67d2('0xc')]);router[_0x67d2('0x9')](_0x67d2('0xd'),auth[_0x67d2('0xa')](),controller[_0x67d2('0xe')]);router[_0x67d2('0x9')]('/:id/any_conditions',auth[_0x67d2('0xa')](),controller[_0x67d2('0xf')]);router['get']('/:id/actions',auth[_0x67d2('0xa')](),controller[_0x67d2('0x10')]);router[_0x67d2('0x11')]('/',auth['isAuthenticated'](),controller[_0x67d2('0x12')]);router[_0x67d2('0x11')](_0x67d2('0xd'),auth[_0x67d2('0xa')](),controller[_0x67d2('0x13')]);router[_0x67d2('0x11')](_0x67d2('0x14'),auth[_0x67d2('0xa')](),controller[_0x67d2('0x15')]);router['post'](_0x67d2('0x16'),auth[_0x67d2('0xa')](),controller[_0x67d2('0x17')]);router[_0x67d2('0x18')](_0x67d2('0xb'),auth[_0x67d2('0xa')](),controller['update']);router[_0x67d2('0x19')]('/:id',auth['isAuthenticated'](),controller[_0x67d2('0x1a')]);module[_0x67d2('0x1b')]=router;
\ No newline at end of file
+var _0x5692=['path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','isAuthenticated','index','show','/:id/all_conditions','/:id/any_conditions','/:id/actions','post','create','addAllCondition','addAnyCondition','addAction','put','/:id','update','delete','destroy','exports','multer'];(function(_0x3474c8,_0x433a13){var _0x41b56d=function(_0x44bf3a){while(--_0x44bf3a){_0x3474c8['push'](_0x3474c8['shift']());}};_0x41b56d(++_0x433a13);}(_0x5692,0x144));var _0x2569=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0x5692[_0x126558];return _0x1f6d14;};'use strict';var multer=require(_0x2569('0x0'));var util=require('util');var path=require(_0x2569('0x1'));var timeout=require('connect-timeout');var express=require(_0x2569('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x2569('0x3'));var interaction=require(_0x2569('0x4'));var config=require(_0x2569('0x5'));var controller=require(_0x2569('0x6'));router[_0x2569('0x7')]('/',auth[_0x2569('0x8')](),controller[_0x2569('0x9')]);router[_0x2569('0x7')]('/:id',auth[_0x2569('0x8')](),controller[_0x2569('0xa')]);router['get'](_0x2569('0xb'),auth[_0x2569('0x8')](),controller['getAllConditions']);router[_0x2569('0x7')](_0x2569('0xc'),auth['isAuthenticated'](),controller['getAnyConditions']);router[_0x2569('0x7')](_0x2569('0xd'),auth[_0x2569('0x8')](),controller['getActions']);router[_0x2569('0xe')]('/',auth[_0x2569('0x8')](),controller[_0x2569('0xf')]);router['post'](_0x2569('0xb'),auth[_0x2569('0x8')](),controller[_0x2569('0x10')]);router[_0x2569('0xe')](_0x2569('0xc'),auth['isAuthenticated'](),controller[_0x2569('0x11')]);router[_0x2569('0xe')](_0x2569('0xd'),auth['isAuthenticated'](),controller[_0x2569('0x12')]);router[_0x2569('0x13')](_0x2569('0x14'),auth[_0x2569('0x8')](),controller[_0x2569('0x15')]);router[_0x2569('0x16')](_0x2569('0x14'),auth[_0x2569('0x8')](),controller[_0x2569('0x17')]);module[_0x2569('0x18')]=router;
\ No newline at end of file