Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / automation / index.js
index 73361c4..456b570 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x06cb=['./automation.controller','get','index','/:id','isAuthenticated','show','getConditions','/:id/actions','post','create','addActions','put','delete','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x146be0,_0x39a85e){var _0x1bcc25=function(_0x4f871f){while(--_0x4f871f){_0x146be0['push'](_0x146be0['shift']());}};_0x1bcc25(++_0x39a85e);}(_0x06cb,0x1c6));var _0xb06c=function(_0x7a3d63,_0x1ac45b){_0x7a3d63=_0x7a3d63-0x0;var _0x5acc44=_0x06cb[_0x7a3d63];return _0x5acc44;};'use strict';var multer=require(_0xb06c('0x0'));var util=require(_0xb06c('0x1'));var path=require(_0xb06c('0x2'));var timeout=require(_0xb06c('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb06c('0x4'));var auth=require(_0xb06c('0x5'));var interaction=require(_0xb06c('0x6'));var config=require(_0xb06c('0x7'));var controller=require(_0xb06c('0x8'));router[_0xb06c('0x9')]('/',auth['isAuthenticated'](),controller[_0xb06c('0xa')]);router[_0xb06c('0x9')](_0xb06c('0xb'),auth[_0xb06c('0xc')](),controller[_0xb06c('0xd')]);router[_0xb06c('0x9')]('/:id/conditions',auth['isAuthenticated'](),controller[_0xb06c('0xe')]);router[_0xb06c('0x9')](_0xb06c('0xf'),auth['isAuthenticated'](),controller['getActions']);router[_0xb06c('0x10')]('/',auth[_0xb06c('0xc')](),controller[_0xb06c('0x11')]);router[_0xb06c('0x10')]('/:id/conditions',auth['isAuthenticated'](),controller['addConditions']);router[_0xb06c('0x10')]('/:id/actions',auth[_0xb06c('0xc')](),controller[_0xb06c('0x12')]);router[_0xb06c('0x13')]('/:id',auth[_0xb06c('0xc')](),controller['update']);router[_0xb06c('0x14')](_0xb06c('0xb'),auth[_0xb06c('0xc')](),controller['destroy']);module[_0xb06c('0x15')]=router;
\ No newline at end of file
+var _0x567b=['addActions','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','index','/:id','show','/:id/conditions','getConditions','/:id/actions','create','addConditions','post'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x567b,0x6e));var _0xb567=function(_0x2641d5,_0x6b70e1){_0x2641d5=_0x2641d5-0x0;var _0x7f5087=_0x567b[_0x2641d5];return _0x7f5087;};'use strict';var multer=require(_0xb567('0x0'));var util=require('util');var path=require(_0xb567('0x1'));var timeout=require(_0xb567('0x2'));var express=require(_0xb567('0x3'));var router=express[_0xb567('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb567('0x5'));var interaction=require(_0xb567('0x6'));var config=require(_0xb567('0x7'));var controller=require(_0xb567('0x8'));router[_0xb567('0x9')]('/',auth[_0xb567('0xa')](),controller[_0xb567('0xb')]);router['get'](_0xb567('0xc'),auth[_0xb567('0xa')](),controller[_0xb567('0xd')]);router[_0xb567('0x9')](_0xb567('0xe'),auth[_0xb567('0xa')](),controller[_0xb567('0xf')]);router['get'](_0xb567('0x10'),auth['isAuthenticated'](),controller['getActions']);router['post']('/',auth[_0xb567('0xa')](),controller[_0xb567('0x11')]);router['post'](_0xb567('0xe'),auth[_0xb567('0xa')](),controller[_0xb567('0x12')]);router[_0xb567('0x13')](_0xb567('0x10'),auth[_0xb567('0xa')](),controller[_0xb567('0x14')]);router[_0xb567('0x15')](_0xb567('0xc'),auth[_0xb567('0xa')](),controller[_0xb567('0x16')]);router[_0xb567('0x17')](_0xb567('0xc'),auth[_0xb567('0xa')](),controller[_0xb567('0x18')]);module[_0xb567('0x19')]=router;
\ No newline at end of file