Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / automation / index.js
index 414a0b5..3c53b8a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf2c7=['getConditions','/:id/actions','getActions','post','create','addConditions','put','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../config/environment','get','isAuthenticated','/:id','/:id/conditions'];(function(_0x262baa,_0x283058){var _0x4f2257=function(_0x2cd1c6){while(--_0x2cd1c6){_0x262baa['push'](_0x262baa['shift']());}};_0x4f2257(++_0x283058);}(_0xf2c7,0x1d8));var _0x7f2c=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0xf2c7[_0x3947c9];return _0x2e7871;};'use strict';var multer=require(_0x7f2c('0x0'));var util=require(_0x7f2c('0x1'));var path=require(_0x7f2c('0x2'));var timeout=require(_0x7f2c('0x3'));var express=require('express');var router=express[_0x7f2c('0x4')]();var fs_extra=require(_0x7f2c('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7f2c('0x6'));var controller=require('./automation.controller');router[_0x7f2c('0x7')]('/',auth[_0x7f2c('0x8')](),controller['index']);router[_0x7f2c('0x7')](_0x7f2c('0x9'),auth[_0x7f2c('0x8')](),controller['show']);router[_0x7f2c('0x7')](_0x7f2c('0xa'),auth[_0x7f2c('0x8')](),controller[_0x7f2c('0xb')]);router[_0x7f2c('0x7')](_0x7f2c('0xc'),auth['isAuthenticated'](),controller[_0x7f2c('0xd')]);router[_0x7f2c('0xe')]('/',auth[_0x7f2c('0x8')](),controller[_0x7f2c('0xf')]);router[_0x7f2c('0xe')](_0x7f2c('0xa'),auth[_0x7f2c('0x8')](),controller[_0x7f2c('0x10')]);router[_0x7f2c('0xe')]('/:id/actions',auth[_0x7f2c('0x8')](),controller['addActions']);router[_0x7f2c('0x11')](_0x7f2c('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x7f2c('0x12')](_0x7f2c('0x9'),auth['isAuthenticated'](),controller[_0x7f2c('0x13')]);module[_0x7f2c('0x14')]=router;
\ No newline at end of file
+var _0xff98=['/:id/conditions','getConditions','/:id/actions','getActions','post','addConditions','addActions','put','update','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','./automation.controller','isAuthenticated','index','get','/:id','show'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xff98,0x9c));var _0x8ff9=function(_0x11c8a5,_0x42f600){_0x11c8a5=_0x11c8a5-0x0;var _0x463084=_0xff98[_0x11c8a5];return _0x463084;};'use strict';var multer=require('multer');var util=require(_0x8ff9('0x0'));var path=require(_0x8ff9('0x1'));var timeout=require(_0x8ff9('0x2'));var express=require(_0x8ff9('0x3'));var router=express['Router']();var fs_extra=require(_0x8ff9('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x8ff9('0x5'));var config=require('../../config/environment');var controller=require(_0x8ff9('0x6'));router['get']('/',auth[_0x8ff9('0x7')](),controller[_0x8ff9('0x8')]);router[_0x8ff9('0x9')](_0x8ff9('0xa'),auth[_0x8ff9('0x7')](),controller[_0x8ff9('0xb')]);router[_0x8ff9('0x9')](_0x8ff9('0xc'),auth['isAuthenticated'](),controller[_0x8ff9('0xd')]);router[_0x8ff9('0x9')](_0x8ff9('0xe'),auth[_0x8ff9('0x7')](),controller[_0x8ff9('0xf')]);router[_0x8ff9('0x10')]('/',auth[_0x8ff9('0x7')](),controller['create']);router['post']('/:id/conditions',auth[_0x8ff9('0x7')](),controller[_0x8ff9('0x11')]);router[_0x8ff9('0x10')]('/:id/actions',auth[_0x8ff9('0x7')](),controller[_0x8ff9('0x12')]);router[_0x8ff9('0x13')](_0x8ff9('0xa'),auth[_0x8ff9('0x7')](),controller[_0x8ff9('0x14')]);router[_0x8ff9('0x15')]('/:id',auth[_0x8ff9('0x7')](),controller[_0x8ff9('0x16')]);module[_0x8ff9('0x17')]=router;
\ No newline at end of file