Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / automation / index.js
index ca5d941..bd2e735 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc7c=['Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/conditions','getConditions','/:id/actions','getActions','post','create','addConditions','addActions','update','util','connect-timeout','express'];(function(_0x105d67,_0x2c68cf){var _0x2cb749=function(_0x20b735){while(--_0x20b735){_0x105d67['push'](_0x105d67['shift']());}};_0x2cb749(++_0x2c68cf);}(_0xfc7c,0x18d));var _0xcfc7=function(_0xa48e4f,_0x442ba4){_0xa48e4f=_0xa48e4f-0x0;var _0x483abf=_0xfc7c[_0xa48e4f];return _0x483abf;};'use strict';var multer=require('multer');var util=require(_0xcfc7('0x0'));var path=require('path');var timeout=require(_0xcfc7('0x1'));var express=require(_0xcfc7('0x2'));var router=express[_0xcfc7('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xcfc7('0x4'));var config=require(_0xcfc7('0x5'));var controller=require('./automation.controller');router['get']('/',auth[_0xcfc7('0x6')](),controller[_0xcfc7('0x7')]);router[_0xcfc7('0x8')](_0xcfc7('0x9'),auth[_0xcfc7('0x6')](),controller[_0xcfc7('0xa')]);router[_0xcfc7('0x8')](_0xcfc7('0xb'),auth[_0xcfc7('0x6')](),controller[_0xcfc7('0xc')]);router[_0xcfc7('0x8')](_0xcfc7('0xd'),auth[_0xcfc7('0x6')](),controller[_0xcfc7('0xe')]);router[_0xcfc7('0xf')]('/',auth[_0xcfc7('0x6')](),controller[_0xcfc7('0x10')]);router['post'](_0xcfc7('0xb'),auth['isAuthenticated'](),controller[_0xcfc7('0x11')]);router[_0xcfc7('0xf')](_0xcfc7('0xd'),auth[_0xcfc7('0x6')](),controller[_0xcfc7('0x12')]);router['put'](_0xcfc7('0x9'),auth[_0xcfc7('0x6')](),controller[_0xcfc7('0x13')]);router['delete'](_0xcfc7('0x9'),auth['isAuthenticated'](),controller['destroy']);module['exports']=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