Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / automation / index.js
index 70d1159..dbce494 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x15cb=['get','/:id','isAuthenticated','show','/:id/conditions','getConditions','/:id/actions','create','post','addConditions','put','update','delete','destroy','exports','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./automation.controller'];(function(_0x305c31,_0x466b17){var _0x17f39f=function(_0x53ae03){while(--_0x53ae03){_0x305c31['push'](_0x305c31['shift']());}};_0x17f39f(++_0x466b17);}(_0x15cb,0x16f));var _0xb15c=function(_0x5cd6da,_0x54ecd6){_0x5cd6da=_0x5cd6da-0x0;var _0x4c2c69=_0x15cb[_0x5cd6da];return _0x4c2c69;};'use strict';var multer=require('multer');var util=require(_0xb15c('0x0'));var path=require('path');var timeout=require(_0xb15c('0x1'));var express=require('express');var router=express[_0xb15c('0x2')]();var fs_extra=require(_0xb15c('0x3'));var auth=require(_0xb15c('0x4'));var interaction=require(_0xb15c('0x5'));var config=require('../../config/environment');var controller=require(_0xb15c('0x6'));router[_0xb15c('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb15c('0x7')](_0xb15c('0x8'),auth[_0xb15c('0x9')](),controller[_0xb15c('0xa')]);router[_0xb15c('0x7')](_0xb15c('0xb'),auth[_0xb15c('0x9')](),controller[_0xb15c('0xc')]);router['get'](_0xb15c('0xd'),auth['isAuthenticated'](),controller['getActions']);router['post']('/',auth[_0xb15c('0x9')](),controller[_0xb15c('0xe')]);router[_0xb15c('0xf')](_0xb15c('0xb'),auth[_0xb15c('0x9')](),controller[_0xb15c('0x10')]);router['post']('/:id/actions',auth[_0xb15c('0x9')](),controller['addActions']);router[_0xb15c('0x11')](_0xb15c('0x8'),auth[_0xb15c('0x9')](),controller[_0xb15c('0x12')]);router[_0xb15c('0x13')](_0xb15c('0x8'),auth[_0xb15c('0x9')](),controller[_0xb15c('0x14')]);module[_0xb15c('0x15')]=router;
\ No newline at end of file
+var _0xb028=['multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./automation.controller','isAuthenticated','show','get','/:id/conditions','getConditions','post','create','addActions','/:id','update','delete','destroy','exports'];(function(_0x3f3ae9,_0x46b55c){var _0x2700d4=function(_0x227480){while(--_0x227480){_0x3f3ae9['push'](_0x3f3ae9['shift']());}};_0x2700d4(++_0x46b55c);}(_0xb028,0x72));var _0x8b02=function(_0x3af1ee,_0x2c54b1){_0x3af1ee=_0x3af1ee-0x0;var _0x49cbcf=_0xb028[_0x3af1ee];return _0x49cbcf;};'use strict';var multer=require(_0x8b02('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x8b02('0x1'));var express=require('express');var router=express[_0x8b02('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x8b02('0x3'));var interaction=require(_0x8b02('0x4'));var config=require('../../config/environment');var controller=require(_0x8b02('0x5'));router['get']('/',auth[_0x8b02('0x6')](),controller['index']);router['get']('/:id',auth[_0x8b02('0x6')](),controller[_0x8b02('0x7')]);router[_0x8b02('0x8')](_0x8b02('0x9'),auth[_0x8b02('0x6')](),controller[_0x8b02('0xa')]);router[_0x8b02('0x8')]('/:id/actions',auth['isAuthenticated'](),controller['getActions']);router[_0x8b02('0xb')]('/',auth[_0x8b02('0x6')](),controller[_0x8b02('0xc')]);router[_0x8b02('0xb')](_0x8b02('0x9'),auth['isAuthenticated'](),controller['addConditions']);router[_0x8b02('0xb')]('/:id/actions',auth['isAuthenticated'](),controller[_0x8b02('0xd')]);router['put'](_0x8b02('0xe'),auth[_0x8b02('0x6')](),controller[_0x8b02('0xf')]);router[_0x8b02('0x10')](_0x8b02('0xe'),auth[_0x8b02('0x6')](),controller[_0x8b02('0x11')]);module[_0x8b02('0x12')]=router;
\ No newline at end of file