Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / trigger / index.js
index 7d2225a..81b2dcc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xef52=['/:id/actions','addAction','update','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','isAuthenticated','index','/:id','show','getAllConditions','/:id/any_conditions','getAnyConditions','post','create','/:id/all_conditions','addAllCondition'];(function(_0xf1e10f,_0x6ccfa8){var _0x277d74=function(_0x4fafad){while(--_0x4fafad){_0xf1e10f['push'](_0xf1e10f['shift']());}};_0x277d74(++_0x6ccfa8);}(_0xef52,0x16c));var _0x2ef5=function(_0x59f0dc,_0x1e2497){_0x59f0dc=_0x59f0dc-0x0;var _0x5b5445=_0xef52[_0x59f0dc];return _0x5b5445;};'use strict';var multer=require(_0x2ef5('0x0'));var util=require(_0x2ef5('0x1'));var path=require('path');var timeout=require(_0x2ef5('0x2'));var express=require(_0x2ef5('0x3'));var router=express['Router']();var auth=require(_0x2ef5('0x4'));var interaction=require(_0x2ef5('0x5'));var config=require(_0x2ef5('0x6'));var controller=require(_0x2ef5('0x7'));router[_0x2ef5('0x8')]('/',auth[_0x2ef5('0x9')](),controller[_0x2ef5('0xa')]);router[_0x2ef5('0x8')](_0x2ef5('0xb'),auth[_0x2ef5('0x9')](),controller[_0x2ef5('0xc')]);router[_0x2ef5('0x8')]('/:id/all_conditions',auth[_0x2ef5('0x9')](),controller[_0x2ef5('0xd')]);router[_0x2ef5('0x8')](_0x2ef5('0xe'),auth[_0x2ef5('0x9')](),controller[_0x2ef5('0xf')]);router['get']('/:id/actions',auth[_0x2ef5('0x9')](),controller['getActions']);router[_0x2ef5('0x10')]('/',auth['isAuthenticated'](),controller[_0x2ef5('0x11')]);router[_0x2ef5('0x10')](_0x2ef5('0x12'),auth[_0x2ef5('0x9')](),controller[_0x2ef5('0x13')]);router['post'](_0x2ef5('0xe'),auth[_0x2ef5('0x9')](),controller['addAnyCondition']);router[_0x2ef5('0x10')](_0x2ef5('0x14'),auth[_0x2ef5('0x9')](),controller[_0x2ef5('0x15')]);router['put']('/:id',auth[_0x2ef5('0x9')](),controller[_0x2ef5('0x16')]);router['delete'](_0x2ef5('0xb'),auth[_0x2ef5('0x9')](),controller['destroy']);module[_0x2ef5('0x17')]=router;
\ No newline at end of file
+var _0xa45c=['util','express','fs-extra','../../components/interaction/service','get','isAuthenticated','index','show','/:id/all_conditions','/:id/any_conditions','getAnyConditions','/:id/actions','post','create','addAllCondition','addAction','put','/:id','delete','destroy','exports','multer'];(function(_0x5a61c2,_0x18cd7c){var _0x57b30f=function(_0x380b22){while(--_0x380b22){_0x5a61c2['push'](_0x5a61c2['shift']());}};_0x57b30f(++_0x18cd7c);}(_0xa45c,0x6d));var _0xca45=function(_0x24fd3a,_0x522e4c){_0x24fd3a=_0x24fd3a-0x0;var _0x262630=_0xa45c[_0x24fd3a];return _0x262630;};'use strict';var multer=require(_0xca45('0x0'));var util=require(_0xca45('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xca45('0x2'));var router=express['Router']();var fs_extra=require(_0xca45('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xca45('0x4'));var config=require('../../config/environment');var controller=require('./trigger.controller');router[_0xca45('0x5')]('/',auth[_0xca45('0x6')](),controller[_0xca45('0x7')]);router[_0xca45('0x5')]('/:id',auth[_0xca45('0x6')](),controller[_0xca45('0x8')]);router[_0xca45('0x5')](_0xca45('0x9'),auth[_0xca45('0x6')](),controller['getAllConditions']);router[_0xca45('0x5')](_0xca45('0xa'),auth[_0xca45('0x6')](),controller[_0xca45('0xb')]);router[_0xca45('0x5')](_0xca45('0xc'),auth[_0xca45('0x6')](),controller['getActions']);router[_0xca45('0xd')]('/',auth[_0xca45('0x6')](),controller[_0xca45('0xe')]);router[_0xca45('0xd')]('/:id/all_conditions',auth[_0xca45('0x6')](),controller[_0xca45('0xf')]);router[_0xca45('0xd')]('/:id/any_conditions',auth[_0xca45('0x6')](),controller['addAnyCondition']);router[_0xca45('0xd')](_0xca45('0xc'),auth[_0xca45('0x6')](),controller[_0xca45('0x10')]);router[_0xca45('0x11')](_0xca45('0x12'),auth[_0xca45('0x6')](),controller['update']);router[_0xca45('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xca45('0x14')]);module[_0xca45('0x15')]=router;
\ No newline at end of file