Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / automation / index.js
index 9b768e2..bd2e735 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb26e=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','index','/:id','show','/:id/conditions','getConditions','getActions','post','addConditions','/:id/actions','put','update','delete','exports','multer'];(function(_0x48f04d,_0x569051){var _0x17b3e8=function(_0x582324){while(--_0x582324){_0x48f04d['push'](_0x48f04d['shift']());}};_0x17b3e8(++_0x569051);}(_0xb26e,0x11d));var _0xeb26=function(_0x12605e,_0x3d8305){_0x12605e=_0x12605e-0x0;var _0x35fb69=_0xb26e[_0x12605e];return _0x35fb69;};'use strict';var multer=require(_0xeb26('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xeb26('0x1'));var router=express[_0xeb26('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xeb26('0x3'));var interaction=require(_0xeb26('0x4'));var config=require(_0xeb26('0x5'));var controller=require(_0xeb26('0x6'));router[_0xeb26('0x7')]('/',auth[_0xeb26('0x8')](),controller[_0xeb26('0x9')]);router[_0xeb26('0x7')](_0xeb26('0xa'),auth[_0xeb26('0x8')](),controller[_0xeb26('0xb')]);router[_0xeb26('0x7')](_0xeb26('0xc'),auth['isAuthenticated'](),controller[_0xeb26('0xd')]);router['get']('/:id/actions',auth[_0xeb26('0x8')](),controller[_0xeb26('0xe')]);router['post']('/',auth[_0xeb26('0x8')](),controller['create']);router[_0xeb26('0xf')](_0xeb26('0xc'),auth[_0xeb26('0x8')](),controller[_0xeb26('0x10')]);router[_0xeb26('0xf')](_0xeb26('0x11'),auth[_0xeb26('0x8')](),controller['addActions']);router[_0xeb26('0x12')](_0xeb26('0xa'),auth['isAuthenticated'](),controller[_0xeb26('0x13')]);router[_0xeb26('0x14')](_0xeb26('0xa'),auth[_0xeb26('0x8')](),controller['destroy']);module[_0xeb26('0x15')]=router;
\ No newline at end of file
+var _0xfd8f=['index','/:id','/:id/conditions','getConditions','/:id/actions','getActions','post','create','addActions','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x2ba62e,_0x3062b6){var _0x574764=function(_0x8b469){while(--_0x8b469){_0x2ba62e['push'](_0x2ba62e['shift']());}};_0x574764(++_0x3062b6);}(_0xfd8f,0xae));var _0xffd8=function(_0xc2bb54,_0x54ece6){_0xc2bb54=_0xc2bb54-0x0;var _0x546542=_0xfd8f[_0xc2bb54];return _0x546542;};'use strict';var multer=require(_0xffd8('0x0'));var util=require(_0xffd8('0x1'));var path=require('path');var timeout=require(_0xffd8('0x2'));var express=require(_0xffd8('0x3'));var router=express[_0xffd8('0x4')]();var fs_extra=require(_0xffd8('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xffd8('0x6'));var config=require(_0xffd8('0x7'));var controller=require('./automation.controller');router[_0xffd8('0x8')]('/',auth[_0xffd8('0x9')](),controller[_0xffd8('0xa')]);router[_0xffd8('0x8')](_0xffd8('0xb'),auth[_0xffd8('0x9')](),controller['show']);router[_0xffd8('0x8')](_0xffd8('0xc'),auth[_0xffd8('0x9')](),controller[_0xffd8('0xd')]);router['get'](_0xffd8('0xe'),auth[_0xffd8('0x9')](),controller[_0xffd8('0xf')]);router[_0xffd8('0x10')]('/',auth[_0xffd8('0x9')](),controller[_0xffd8('0x11')]);router[_0xffd8('0x10')](_0xffd8('0xc'),auth[_0xffd8('0x9')](),controller['addConditions']);router['post']('/:id/actions',auth[_0xffd8('0x9')](),controller[_0xffd8('0x12')]);router[_0xffd8('0x13')](_0xffd8('0xb'),auth[_0xffd8('0x9')](),controller['update']);router[_0xffd8('0x14')](_0xffd8('0xb'),auth[_0xffd8('0x9')](),controller[_0xffd8('0x15')]);module[_0xffd8('0x16')]=router;
\ No newline at end of file