Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / automation / index.js
index b8a8e77..456b570 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4d33=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','/:id','show','/:id/actions','getActions','post','create','/:id/conditions','addConditions','addActions','put','update','destroy','util','connect-timeout'];(function(_0x2c312d,_0x33c5ba){var _0xff28d9=function(_0x497fd4){while(--_0x497fd4){_0x2c312d['push'](_0x2c312d['shift']());}};_0xff28d9(++_0x33c5ba);}(_0x4d33,0x1cc));var _0x34d3=function(_0x2ef8f1,_0x1280a3){_0x2ef8f1=_0x2ef8f1-0x0;var _0x17498d=_0x4d33[_0x2ef8f1];return _0x17498d;};'use strict';var multer=require('multer');var util=require(_0x34d3('0x0'));var path=require('path');var timeout=require(_0x34d3('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x34d3('0x2'));var auth=require(_0x34d3('0x3'));var interaction=require(_0x34d3('0x4'));var config=require(_0x34d3('0x5'));var controller=require(_0x34d3('0x6'));router[_0x34d3('0x7')]('/',auth[_0x34d3('0x8')](),controller['index']);router[_0x34d3('0x7')](_0x34d3('0x9'),auth[_0x34d3('0x8')](),controller[_0x34d3('0xa')]);router['get']('/:id/conditions',auth[_0x34d3('0x8')](),controller['getConditions']);router[_0x34d3('0x7')](_0x34d3('0xb'),auth['isAuthenticated'](),controller[_0x34d3('0xc')]);router[_0x34d3('0xd')]('/',auth[_0x34d3('0x8')](),controller[_0x34d3('0xe')]);router[_0x34d3('0xd')](_0x34d3('0xf'),auth['isAuthenticated'](),controller[_0x34d3('0x10')]);router[_0x34d3('0xd')](_0x34d3('0xb'),auth[_0x34d3('0x8')](),controller[_0x34d3('0x11')]);router[_0x34d3('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x34d3('0x13')]);router['delete']('/:id',auth[_0x34d3('0x8')](),controller[_0x34d3('0x14')]);module['exports']=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