Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / automation / index.js
index 3c53b8a..6177345 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x14ac=['/:id/actions','getActions','post','addActions','put','delete','exports','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','isAuthenticated','index','get','/:id','show','/:id/conditions','getConditions'];(function(_0x254ede,_0x3b3d0f){var _0x2e3704=function(_0x1f96a6){while(--_0x1f96a6){_0x254ede['push'](_0x254ede['shift']());}};_0x2e3704(++_0x3b3d0f);}(_0x14ac,0x13b));var _0xc14a=function(_0x48d933,_0x4eaabe){_0x48d933=_0x48d933-0x0;var _0x4caf07=_0x14ac[_0x48d933];return _0x4caf07;};'use strict';var multer=require('multer');var util=require(_0xc14a('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc14a('0x1'));var router=express[_0xc14a('0x2')]();var fs_extra=require(_0xc14a('0x3'));var auth=require(_0xc14a('0x4'));var interaction=require(_0xc14a('0x5'));var config=require(_0xc14a('0x6'));var controller=require(_0xc14a('0x7'));router['get']('/',auth[_0xc14a('0x8')](),controller[_0xc14a('0x9')]);router[_0xc14a('0xa')](_0xc14a('0xb'),auth[_0xc14a('0x8')](),controller[_0xc14a('0xc')]);router['get'](_0xc14a('0xd'),auth['isAuthenticated'](),controller[_0xc14a('0xe')]);router['get'](_0xc14a('0xf'),auth['isAuthenticated'](),controller[_0xc14a('0x10')]);router[_0xc14a('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc14a('0x11')](_0xc14a('0xd'),auth[_0xc14a('0x8')](),controller['addConditions']);router[_0xc14a('0x11')](_0xc14a('0xf'),auth[_0xc14a('0x8')](),controller[_0xc14a('0x12')]);router[_0xc14a('0x13')]('/:id',auth[_0xc14a('0x8')](),controller['update']);router[_0xc14a('0x14')](_0xc14a('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0xc14a('0x15')]=router;
\ No newline at end of file