Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / automation / index.js
index 70d1159..f36489e 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 _0x146a=['destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./automation.controller','get','isAuthenticated','index','/:id','show','/:id/conditions','getConditions','getActions','post','create','addConditions','/:id/actions','addActions','put','update','delete'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x146a,0x9d));var _0xa146=function(_0x40eec9,_0x817a67){_0x40eec9=_0x40eec9-0x0;var _0xfee890=_0x146a[_0x40eec9];return _0xfee890;};'use strict';var multer=require(_0xa146('0x0'));var util=require(_0xa146('0x1'));var path=require('path');var timeout=require(_0xa146('0x2'));var express=require(_0xa146('0x3'));var router=express[_0xa146('0x4')]();var fs_extra=require(_0xa146('0x5'));var auth=require(_0xa146('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa146('0x7'));var controller=require(_0xa146('0x8'));router[_0xa146('0x9')]('/',auth[_0xa146('0xa')](),controller[_0xa146('0xb')]);router['get'](_0xa146('0xc'),auth[_0xa146('0xa')](),controller[_0xa146('0xd')]);router[_0xa146('0x9')](_0xa146('0xe'),auth[_0xa146('0xa')](),controller[_0xa146('0xf')]);router[_0xa146('0x9')]('/:id/actions',auth[_0xa146('0xa')](),controller[_0xa146('0x10')]);router[_0xa146('0x11')]('/',auth[_0xa146('0xa')](),controller[_0xa146('0x12')]);router[_0xa146('0x11')]('/:id/conditions',auth['isAuthenticated'](),controller[_0xa146('0x13')]);router[_0xa146('0x11')](_0xa146('0x14'),auth[_0xa146('0xa')](),controller[_0xa146('0x15')]);router[_0xa146('0x16')](_0xa146('0xc'),auth[_0xa146('0xa')](),controller[_0xa146('0x17')]);router[_0xa146('0x18')](_0xa146('0xc'),auth['isAuthenticated'](),controller[_0xa146('0x19')]);module['exports']=router;
\ No newline at end of file