Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / automation / index.js
index a99d1ad..3c7c21d 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 _0x65ff=['./automation.controller','isAuthenticated','get','show','getConditions','/:id/actions','getActions','post','create','addConditions','addActions','put','update','delete','/:id','destroy','exports','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x3addab,_0x473081){var _0x219e9f=function(_0x1472d2){while(--_0x1472d2){_0x3addab['push'](_0x3addab['shift']());}};_0x219e9f(++_0x473081);}(_0x65ff,0x1dd));var _0xf65f=function(_0x15da95,_0x2a6b25){_0x15da95=_0x15da95-0x0;var _0x5cfdc5=_0x65ff[_0x15da95];return _0x5cfdc5;};'use strict';var multer=require('multer');var util=require(_0xf65f('0x0'));var path=require(_0xf65f('0x1'));var timeout=require(_0xf65f('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xf65f('0x3'));var auth=require(_0xf65f('0x4'));var interaction=require(_0xf65f('0x5'));var config=require('../../config/environment');var controller=require(_0xf65f('0x6'));router['get']('/',auth[_0xf65f('0x7')](),controller['index']);router[_0xf65f('0x8')]('/:id',auth[_0xf65f('0x7')](),controller[_0xf65f('0x9')]);router[_0xf65f('0x8')]('/:id/conditions',auth[_0xf65f('0x7')](),controller[_0xf65f('0xa')]);router[_0xf65f('0x8')](_0xf65f('0xb'),auth[_0xf65f('0x7')](),controller[_0xf65f('0xc')]);router[_0xf65f('0xd')]('/',auth[_0xf65f('0x7')](),controller[_0xf65f('0xe')]);router[_0xf65f('0xd')]('/:id/conditions',auth['isAuthenticated'](),controller[_0xf65f('0xf')]);router[_0xf65f('0xd')](_0xf65f('0xb'),auth['isAuthenticated'](),controller[_0xf65f('0x10')]);router[_0xf65f('0x11')]('/:id',auth[_0xf65f('0x7')](),controller[_0xf65f('0x12')]);router[_0xf65f('0x13')](_0xf65f('0x14'),auth[_0xf65f('0x7')](),controller[_0xf65f('0x15')]);module[_0xf65f('0x16')]=router;
\ No newline at end of file