Built motion from commit 85f716e9.|2.6.8
[motion2.git] / server / api / automation / index.js
index 619d795..8cca167 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc9f=['destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./automation.controller','isAuthenticated','index','/:id','show','get','/:id/actions','getActions','post','create','/:id/conditions','addConditions','addActions','put','update'];(function(_0x3e3299,_0x176428){var _0x3c47a8=function(_0x489fd6){while(--_0x489fd6){_0x3e3299['push'](_0x3e3299['shift']());}};_0x3c47a8(++_0x176428);}(_0xfc9f,0x7a));var _0xffc9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfc9f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xffc9('0x0'));var util=require('util');var path=require(_0xffc9('0x1'));var timeout=require(_0xffc9('0x2'));var express=require(_0xffc9('0x3'));var router=express[_0xffc9('0x4')]();var fs_extra=require(_0xffc9('0x5'));var auth=require(_0xffc9('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xffc9('0x7'));router['get']('/',auth[_0xffc9('0x8')](),controller[_0xffc9('0x9')]);router['get'](_0xffc9('0xa'),auth[_0xffc9('0x8')](),controller[_0xffc9('0xb')]);router['get']('/:id/conditions',auth['isAuthenticated'](),controller['getConditions']);router[_0xffc9('0xc')](_0xffc9('0xd'),auth['isAuthenticated'](),controller[_0xffc9('0xe')]);router[_0xffc9('0xf')]('/',auth[_0xffc9('0x8')](),controller[_0xffc9('0x10')]);router[_0xffc9('0xf')](_0xffc9('0x11'),auth[_0xffc9('0x8')](),controller[_0xffc9('0x12')]);router[_0xffc9('0xf')](_0xffc9('0xd'),auth[_0xffc9('0x8')](),controller[_0xffc9('0x13')]);router[_0xffc9('0x14')]('/:id',auth[_0xffc9('0x8')](),controller[_0xffc9('0x15')]);router['delete'](_0xffc9('0xa'),auth['isAuthenticated'](),controller[_0xffc9('0x16')]);module[_0xffc9('0x17')]=router;
\ No newline at end of file
+var _0x25b4=['index','get','/:id','getConditions','/:id/actions','create','post','addConditions','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','isAuthenticated'];(function(_0x27c25f,_0x4ff5fe){var _0x2da4c4=function(_0x1f3c9a){while(--_0x1f3c9a){_0x27c25f['push'](_0x27c25f['shift']());}};_0x2da4c4(++_0x4ff5fe);}(_0x25b4,0x1ab));var _0x425b=function(_0x37a9d7,_0x2b6fde){_0x37a9d7=_0x37a9d7-0x0;var _0x1343d3=_0x25b4[_0x37a9d7];return _0x1343d3;};'use strict';var multer=require(_0x425b('0x0'));var util=require('util');var path=require(_0x425b('0x1'));var timeout=require(_0x425b('0x2'));var express=require(_0x425b('0x3'));var router=express[_0x425b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x425b('0x5'));var interaction=require(_0x425b('0x6'));var config=require(_0x425b('0x7'));var controller=require(_0x425b('0x8'));router['get']('/',auth[_0x425b('0x9')](),controller[_0x425b('0xa')]);router[_0x425b('0xb')](_0x425b('0xc'),auth[_0x425b('0x9')](),controller['show']);router[_0x425b('0xb')]('/:id/conditions',auth[_0x425b('0x9')](),controller[_0x425b('0xd')]);router[_0x425b('0xb')](_0x425b('0xe'),auth[_0x425b('0x9')](),controller['getActions']);router['post']('/',auth['isAuthenticated'](),controller[_0x425b('0xf')]);router[_0x425b('0x10')]('/:id/conditions',auth[_0x425b('0x9')](),controller[_0x425b('0x11')]);router['post'](_0x425b('0xe'),auth[_0x425b('0x9')](),controller['addActions']);router[_0x425b('0x12')]('/:id',auth[_0x425b('0x9')](),controller[_0x425b('0x13')]);router[_0x425b('0x14')](_0x425b('0xc'),auth[_0x425b('0x9')](),controller[_0x425b('0x15')]);module[_0x425b('0x16')]=router;
\ No newline at end of file