Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / automation / index.js
index 91067be..a4434dc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd863=['util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/conditions','getConditions','/:id/actions','getActions','post','create','addConditions','put','update','destroy','multer'];(function(_0x5b003b,_0x13835a){var _0x50874f=function(_0x4e9b16){while(--_0x4e9b16){_0x5b003b['push'](_0x5b003b['shift']());}};_0x50874f(++_0x13835a);}(_0xd863,0x1c7));var _0x3d86=function(_0x48de67,_0x9aeac2){_0x48de67=_0x48de67-0x0;var _0x36704c=_0xd863[_0x48de67];return _0x36704c;};'use strict';var multer=require(_0x3d86('0x0'));var util=require(_0x3d86('0x1'));var path=require(_0x3d86('0x2'));var timeout=require(_0x3d86('0x3'));var express=require(_0x3d86('0x4'));var router=express['Router']();var fs_extra=require(_0x3d86('0x5'));var auth=require(_0x3d86('0x6'));var interaction=require(_0x3d86('0x7'));var config=require(_0x3d86('0x8'));var controller=require('./automation.controller');router[_0x3d86('0x9')]('/',auth[_0x3d86('0xa')](),controller[_0x3d86('0xb')]);router[_0x3d86('0x9')](_0x3d86('0xc'),auth[_0x3d86('0xa')](),controller[_0x3d86('0xd')]);router[_0x3d86('0x9')](_0x3d86('0xe'),auth[_0x3d86('0xa')](),controller[_0x3d86('0xf')]);router[_0x3d86('0x9')](_0x3d86('0x10'),auth[_0x3d86('0xa')](),controller[_0x3d86('0x11')]);router[_0x3d86('0x12')]('/',auth['isAuthenticated'](),controller[_0x3d86('0x13')]);router[_0x3d86('0x12')]('/:id/conditions',auth[_0x3d86('0xa')](),controller[_0x3d86('0x14')]);router[_0x3d86('0x12')](_0x3d86('0x10'),auth[_0x3d86('0xa')](),controller['addActions']);router[_0x3d86('0x15')](_0x3d86('0xc'),auth[_0x3d86('0xa')](),controller[_0x3d86('0x16')]);router['delete'](_0x3d86('0xc'),auth[_0x3d86('0xa')](),controller[_0x3d86('0x17')]);module['exports']=router;
\ No newline at end of file
+var _0x46f4=['addConditions','addActions','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./automation.controller','isAuthenticated','index','get','/:id','show','/:id/conditions','getConditions','/:id/actions','getActions','post','create'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x46f4,0x115));var _0x446f=function(_0x8ee183,_0x207e45){_0x8ee183=_0x8ee183-0x0;var _0x7dee35=_0x46f4[_0x8ee183];return _0x7dee35;};'use strict';var multer=require(_0x446f('0x0'));var util=require(_0x446f('0x1'));var path=require(_0x446f('0x2'));var timeout=require(_0x446f('0x3'));var express=require(_0x446f('0x4'));var router=express[_0x446f('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x446f('0x6'));var interaction=require(_0x446f('0x7'));var config=require('../../config/environment');var controller=require(_0x446f('0x8'));router['get']('/',auth[_0x446f('0x9')](),controller[_0x446f('0xa')]);router[_0x446f('0xb')](_0x446f('0xc'),auth[_0x446f('0x9')](),controller[_0x446f('0xd')]);router[_0x446f('0xb')](_0x446f('0xe'),auth[_0x446f('0x9')](),controller[_0x446f('0xf')]);router[_0x446f('0xb')](_0x446f('0x10'),auth[_0x446f('0x9')](),controller[_0x446f('0x11')]);router[_0x446f('0x12')]('/',auth[_0x446f('0x9')](),controller[_0x446f('0x13')]);router[_0x446f('0x12')](_0x446f('0xe'),auth['isAuthenticated'](),controller[_0x446f('0x14')]);router[_0x446f('0x12')](_0x446f('0x10'),auth[_0x446f('0x9')](),controller[_0x446f('0x15')]);router[_0x446f('0x16')](_0x446f('0xc'),auth[_0x446f('0x9')](),controller[_0x446f('0x17')]);router[_0x446f('0x18')]('/:id',auth[_0x446f('0x9')](),controller[_0x446f('0x19')]);module[_0x446f('0x1a')]=router;
\ No newline at end of file