Built motion from commit 82bb2304.|2.5.39
[motion2.git] / server / api / automation / index.js
index 69b2840..6131203 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x03cf=['show','getConditions','/:id/actions','getActions','post','create','/:id/conditions','addConditions','addActions','put','update','destroy','util','path','Router','../../components/auth/service','../../config/environment','./automation.controller','get','index','/:id','isAuthenticated'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x03cf,0x64));var _0xf03c=function(_0x3bcc4f,_0x3f476b){_0x3bcc4f=_0x3bcc4f-0x0;var _0x2f2654=_0x03cf[_0x3bcc4f];return _0x2f2654;};'use strict';var multer=require('multer');var util=require(_0xf03c('0x0'));var path=require(_0xf03c('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf03c('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xf03c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xf03c('0x4'));var controller=require(_0xf03c('0x5'));router[_0xf03c('0x6')]('/',auth['isAuthenticated'](),controller[_0xf03c('0x7')]);router[_0xf03c('0x6')](_0xf03c('0x8'),auth[_0xf03c('0x9')](),controller[_0xf03c('0xa')]);router[_0xf03c('0x6')]('/:id/conditions',auth[_0xf03c('0x9')](),controller[_0xf03c('0xb')]);router[_0xf03c('0x6')](_0xf03c('0xc'),auth[_0xf03c('0x9')](),controller[_0xf03c('0xd')]);router[_0xf03c('0xe')]('/',auth[_0xf03c('0x9')](),controller[_0xf03c('0xf')]);router[_0xf03c('0xe')](_0xf03c('0x10'),auth[_0xf03c('0x9')](),controller[_0xf03c('0x11')]);router['post'](_0xf03c('0xc'),auth[_0xf03c('0x9')](),controller[_0xf03c('0x12')]);router[_0xf03c('0x13')]('/:id',auth[_0xf03c('0x9')](),controller[_0xf03c('0x14')]);router['delete'](_0xf03c('0x8'),auth[_0xf03c('0x9')](),controller[_0xf03c('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x7fa9=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./automation.controller','get','/:id','show','/:id/conditions','isAuthenticated','getConditions','/:id/actions','getActions','create','post','addActions','put','update','delete','destroy','multer','path'];(function(_0x36a469,_0x59d84c){var _0x3347fc=function(_0x3860e7){while(--_0x3860e7){_0x36a469['push'](_0x36a469['shift']());}};_0x3347fc(++_0x59d84c);}(_0x7fa9,0x76));var _0x97fa=function(_0x1e5af8,_0x5c2b3a){_0x1e5af8=_0x1e5af8-0x0;var _0x264c4f=_0x7fa9[_0x1e5af8];return _0x264c4f;};'use strict';var multer=require(_0x97fa('0x0'));var util=require('util');var path=require(_0x97fa('0x1'));var timeout=require(_0x97fa('0x2'));var express=require(_0x97fa('0x3'));var router=express[_0x97fa('0x4')]();var fs_extra=require(_0x97fa('0x5'));var auth=require(_0x97fa('0x6'));var interaction=require(_0x97fa('0x7'));var config=require('../../config/environment');var controller=require(_0x97fa('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x97fa('0x9')](_0x97fa('0xa'),auth['isAuthenticated'](),controller[_0x97fa('0xb')]);router[_0x97fa('0x9')](_0x97fa('0xc'),auth[_0x97fa('0xd')](),controller[_0x97fa('0xe')]);router[_0x97fa('0x9')](_0x97fa('0xf'),auth['isAuthenticated'](),controller[_0x97fa('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x97fa('0x11')]);router[_0x97fa('0x12')]('/:id/conditions',auth[_0x97fa('0xd')](),controller['addConditions']);router[_0x97fa('0x12')](_0x97fa('0xf'),auth[_0x97fa('0xd')](),controller[_0x97fa('0x13')]);router[_0x97fa('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x97fa('0x15')]);router[_0x97fa('0x16')](_0x97fa('0xa'),auth[_0x97fa('0xd')](),controller[_0x97fa('0x17')]);module['exports']=router;
\ No newline at end of file