Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / automation / index.js
index 55fee2d..a044ede 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9efb=['getActions','post','addConditions','/:id/actions','addActions','put','/:id','update','delete','destroy','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','index','/:id/conditions','getConditions'];(function(_0x3f08ca,_0x10bca6){var _0x4bdd9c=function(_0x2bc9a9){while(--_0x2bc9a9){_0x3f08ca['push'](_0x3f08ca['shift']());}};_0x4bdd9c(++_0x10bca6);}(_0x9efb,0x143));var _0xb9ef=function(_0x306950,_0x1d665d){_0x306950=_0x306950-0x0;var _0x5df637=_0x9efb[_0x306950];return _0x5df637;};'use strict';var multer=require('multer');var util=require(_0xb9ef('0x0'));var path=require(_0xb9ef('0x1'));var timeout=require('connect-timeout');var express=require(_0xb9ef('0x2'));var router=express[_0xb9ef('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb9ef('0x4'));var interaction=require(_0xb9ef('0x5'));var config=require(_0xb9ef('0x6'));var controller=require(_0xb9ef('0x7'));router[_0xb9ef('0x8')]('/',auth[_0xb9ef('0x9')](),controller[_0xb9ef('0xa')]);router['get']('/:id',auth[_0xb9ef('0x9')](),controller['show']);router['get'](_0xb9ef('0xb'),auth[_0xb9ef('0x9')](),controller[_0xb9ef('0xc')]);router[_0xb9ef('0x8')]('/:id/actions',auth[_0xb9ef('0x9')](),controller[_0xb9ef('0xd')]);router[_0xb9ef('0xe')]('/',auth[_0xb9ef('0x9')](),controller['create']);router[_0xb9ef('0xe')](_0xb9ef('0xb'),auth[_0xb9ef('0x9')](),controller[_0xb9ef('0xf')]);router[_0xb9ef('0xe')](_0xb9ef('0x10'),auth[_0xb9ef('0x9')](),controller[_0xb9ef('0x11')]);router[_0xb9ef('0x12')](_0xb9ef('0x13'),auth['isAuthenticated'](),controller[_0xb9ef('0x14')]);router[_0xb9ef('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xb9ef('0x16')]);module[_0xb9ef('0x17')]=router;
\ No newline at end of file
+var _0x10da=['../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','isAuthenticated','get','/:id','show','/:id/conditions','getConditions','/:id/actions','post','create','put','update','delete','exports','multer','util','connect-timeout','Router','fs-extra'];(function(_0x587c61,_0x2455c4){var _0x480195=function(_0x169f31){while(--_0x169f31){_0x587c61['push'](_0x587c61['shift']());}};_0x480195(++_0x2455c4);}(_0x10da,0x145));var _0xa10d=function(_0xce9b2d,_0x29e5ab){_0xce9b2d=_0xce9b2d-0x0;var _0xb44302=_0x10da[_0xce9b2d];return _0xb44302;};'use strict';var multer=require(_0xa10d('0x0'));var util=require(_0xa10d('0x1'));var path=require('path');var timeout=require(_0xa10d('0x2'));var express=require('express');var router=express[_0xa10d('0x3')]();var fs_extra=require(_0xa10d('0x4'));var auth=require(_0xa10d('0x5'));var interaction=require(_0xa10d('0x6'));var config=require(_0xa10d('0x7'));var controller=require(_0xa10d('0x8'));router['get']('/',auth[_0xa10d('0x9')](),controller['index']);router[_0xa10d('0xa')](_0xa10d('0xb'),auth[_0xa10d('0x9')](),controller[_0xa10d('0xc')]);router[_0xa10d('0xa')](_0xa10d('0xd'),auth[_0xa10d('0x9')](),controller[_0xa10d('0xe')]);router[_0xa10d('0xa')](_0xa10d('0xf'),auth[_0xa10d('0x9')](),controller['getActions']);router[_0xa10d('0x10')]('/',auth['isAuthenticated'](),controller[_0xa10d('0x11')]);router['post'](_0xa10d('0xd'),auth['isAuthenticated'](),controller['addConditions']);router[_0xa10d('0x10')](_0xa10d('0xf'),auth[_0xa10d('0x9')](),controller['addActions']);router[_0xa10d('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xa10d('0x13')]);router[_0xa10d('0x14')](_0xa10d('0xb'),auth[_0xa10d('0x9')](),controller['destroy']);module[_0xa10d('0x15')]=router;
\ No newline at end of file