Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / automation / index.js
index e53c292..c693aaa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4eb1=['/:id/actions','getActions','post','addConditions','addActions','update','destroy','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','get','isAuthenticated','index','/:id','show','/:id/conditions','getConditions'];(function(_0x2350bd,_0x1297df){var _0x491cbf=function(_0xdd8e87){while(--_0xdd8e87){_0x2350bd['push'](_0x2350bd['shift']());}};_0x491cbf(++_0x1297df);}(_0x4eb1,0x71));var _0x14eb=function(_0x58f942,_0x1cfa53){_0x58f942=_0x58f942-0x0;var _0x516129=_0x4eb1[_0x58f942];return _0x516129;};'use strict';var multer=require(_0x14eb('0x0'));var util=require(_0x14eb('0x1'));var path=require(_0x14eb('0x2'));var timeout=require(_0x14eb('0x3'));var express=require(_0x14eb('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x14eb('0x5'));var config=require('../../config/environment');var controller=require('./automation.controller');router[_0x14eb('0x6')]('/',auth[_0x14eb('0x7')](),controller[_0x14eb('0x8')]);router[_0x14eb('0x6')](_0x14eb('0x9'),auth['isAuthenticated'](),controller[_0x14eb('0xa')]);router[_0x14eb('0x6')](_0x14eb('0xb'),auth['isAuthenticated'](),controller[_0x14eb('0xc')]);router[_0x14eb('0x6')](_0x14eb('0xd'),auth[_0x14eb('0x7')](),controller[_0x14eb('0xe')]);router[_0x14eb('0xf')]('/',auth[_0x14eb('0x7')](),controller['create']);router[_0x14eb('0xf')](_0x14eb('0xb'),auth[_0x14eb('0x7')](),controller[_0x14eb('0x10')]);router['post']('/:id/actions',auth[_0x14eb('0x7')](),controller[_0x14eb('0x11')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x14eb('0x12')]);router['delete'](_0x14eb('0x9'),auth['isAuthenticated'](),controller[_0x14eb('0x13')]);module[_0x14eb('0x14')]=router;
\ No newline at end of file
+var _0xb2b3=['/:id/actions','getActions','post','addConditions','addActions','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','index','/:id','show','/:id/conditions','getConditions'];(function(_0x9e52a3,_0x48443b){var _0x4ca899=function(_0x5d496a){while(--_0x5d496a){_0x9e52a3['push'](_0x9e52a3['shift']());}};_0x4ca899(++_0x48443b);}(_0xb2b3,0x71));var _0x3b2b=function(_0x18bd30,_0x1f6c5d){_0x18bd30=_0x18bd30-0x0;var _0x20ff41=_0xb2b3[_0x18bd30];return _0x20ff41;};'use strict';var multer=require(_0x3b2b('0x0'));var util=require(_0x3b2b('0x1'));var path=require(_0x3b2b('0x2'));var timeout=require(_0x3b2b('0x3'));var express=require(_0x3b2b('0x4'));var router=express[_0x3b2b('0x5')]();var fs_extra=require(_0x3b2b('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x3b2b('0x7'));var config=require(_0x3b2b('0x8'));var controller=require(_0x3b2b('0x9'));router[_0x3b2b('0xa')]('/',auth[_0x3b2b('0xb')](),controller[_0x3b2b('0xc')]);router[_0x3b2b('0xa')](_0x3b2b('0xd'),auth[_0x3b2b('0xb')](),controller[_0x3b2b('0xe')]);router[_0x3b2b('0xa')](_0x3b2b('0xf'),auth['isAuthenticated'](),controller[_0x3b2b('0x10')]);router[_0x3b2b('0xa')](_0x3b2b('0x11'),auth[_0x3b2b('0xb')](),controller[_0x3b2b('0x12')]);router[_0x3b2b('0x13')]('/',auth['isAuthenticated'](),controller['create']);router[_0x3b2b('0x13')](_0x3b2b('0xf'),auth[_0x3b2b('0xb')](),controller[_0x3b2b('0x14')]);router['post'](_0x3b2b('0x11'),auth[_0x3b2b('0xb')](),controller[_0x3b2b('0x15')]);router[_0x3b2b('0x16')](_0x3b2b('0xd'),auth[_0x3b2b('0xb')](),controller['update']);router[_0x3b2b('0x17')](_0x3b2b('0xd'),auth['isAuthenticated'](),controller[_0x3b2b('0x18')]);module[_0x3b2b('0x19')]=router;
\ No newline at end of file