Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / automation / index.js
index a99d1ad..d202a86 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb19f=['/:id/actions','getActions','post','create','addConditions','addActions','put','delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/interaction/service','./automation.controller','isAuthenticated','index','/:id','show','/:id/conditions','getConditions'];(function(_0x2e9482,_0x5c4256){var _0x2eef28=function(_0x3e2410){while(--_0x3e2410){_0x2e9482['push'](_0x2e9482['shift']());}};_0x2eef28(++_0x5c4256);}(_0xb19f,0x7d));var _0xfb19=function(_0x24ddf6,_0x114e56){_0x24ddf6=_0x24ddf6-0x0;var _0x393d70=_0xb19f[_0x24ddf6];return _0x393d70;};'use strict';var multer=require(_0xfb19('0x0'));var util=require(_0xfb19('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xfb19('0x2'));var router=express[_0xfb19('0x3')]();var fs_extra=require(_0xfb19('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xfb19('0x5'));var config=require('../../config/environment');var controller=require(_0xfb19('0x6'));router['get']('/',auth[_0xfb19('0x7')](),controller[_0xfb19('0x8')]);router['get'](_0xfb19('0x9'),auth['isAuthenticated'](),controller[_0xfb19('0xa')]);router['get'](_0xfb19('0xb'),auth['isAuthenticated'](),controller[_0xfb19('0xc')]);router['get'](_0xfb19('0xd'),auth[_0xfb19('0x7')](),controller[_0xfb19('0xe')]);router[_0xfb19('0xf')]('/',auth[_0xfb19('0x7')](),controller[_0xfb19('0x10')]);router[_0xfb19('0xf')](_0xfb19('0xb'),auth[_0xfb19('0x7')](),controller[_0xfb19('0x11')]);router[_0xfb19('0xf')](_0xfb19('0xd'),auth[_0xfb19('0x7')](),controller[_0xfb19('0x12')]);router[_0xfb19('0x13')](_0xfb19('0x9'),auth[_0xfb19('0x7')](),controller['update']);router[_0xfb19('0x14')]('/:id',auth[_0xfb19('0x7')](),controller[_0xfb19('0x15')]);module[_0xfb19('0x16')]=router;
\ No newline at end of file
+var _0x6ff1=['delete','exports','multer','util','path','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','show','/:id/conditions','getConditions','/:id/actions','getActions','post','create','addConditions','/:id','update'];(function(_0x35a274,_0x98b399){var _0x40d905=function(_0x5c8455){while(--_0x5c8455){_0x35a274['push'](_0x35a274['shift']());}};_0x40d905(++_0x98b399);}(_0x6ff1,0x10a));var _0x16ff=function(_0x4e13c8,_0x3656e6){_0x4e13c8=_0x4e13c8-0x0;var _0x41962d=_0x6ff1[_0x4e13c8];return _0x41962d;};'use strict';var multer=require(_0x16ff('0x0'));var util=require(_0x16ff('0x1'));var path=require(_0x16ff('0x2'));var timeout=require(_0x16ff('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x16ff('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x16ff('0x5'));var config=require(_0x16ff('0x6'));var controller=require(_0x16ff('0x7'));router[_0x16ff('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0x16ff('0x9')](),controller[_0x16ff('0xa')]);router[_0x16ff('0x8')](_0x16ff('0xb'),auth[_0x16ff('0x9')](),controller[_0x16ff('0xc')]);router[_0x16ff('0x8')](_0x16ff('0xd'),auth[_0x16ff('0x9')](),controller[_0x16ff('0xe')]);router[_0x16ff('0xf')]('/',auth[_0x16ff('0x9')](),controller[_0x16ff('0x10')]);router[_0x16ff('0xf')](_0x16ff('0xb'),auth[_0x16ff('0x9')](),controller[_0x16ff('0x11')]);router[_0x16ff('0xf')](_0x16ff('0xd'),auth[_0x16ff('0x9')](),controller['addActions']);router['put'](_0x16ff('0x12'),auth[_0x16ff('0x9')](),controller[_0x16ff('0x13')]);router[_0x16ff('0x14')](_0x16ff('0x12'),auth[_0x16ff('0x9')](),controller['destroy']);module[_0x16ff('0x15')]=router;
\ No newline at end of file