Built motion from commit 5fcd269f5146f10cf3129722d518881dfac64576. Version 3.0.0...
[motion-next.git] / server / api / automation / index.js
index bd6500b..c4974bd 100644 (file)
@@ -1 +1 @@
-const a40_0x4494=['Router','isAuthenticated','post','addConditions','/:id/conditions','getConditions','/:id','/:id/actions','get','./automation.controller','exports','../../components/auth/service','addActions'];(function(_0x59f4dd,_0x44945f){const _0xc29bea=function(_0x5aa65e){while(--_0x5aa65e){_0x59f4dd['push'](_0x59f4dd['shift']());}};_0xc29bea(++_0x44945f);}(a40_0x4494,0x1b6));const a40_0xc29b=function(_0x59f4dd,_0x44945f){_0x59f4dd=_0x59f4dd-0x0;let _0xc29bea=a40_0x4494[_0x59f4dd];return _0xc29bea;};const _0x98aca8=a40_0xc29b;'use strict';const express=require('express'),router=express[_0x98aca8('0x4')](),auth=require(_0x98aca8('0x2')),controller=require(_0x98aca8('0x0'));router['get']('/',auth[_0x98aca8('0x5')](),controller['index']),router[_0x98aca8('0xc')](_0x98aca8('0xa'),auth[_0x98aca8('0x5')](),controller['show']),router[_0x98aca8('0xc')]('/:id/conditions',auth[_0x98aca8('0x5')](),controller[_0x98aca8('0x9')]),router[_0x98aca8('0xc')](_0x98aca8('0xb'),auth['isAuthenticated'](),controller['getActions']),router['post']('/',auth[_0x98aca8('0x5')](),controller['create']),router[_0x98aca8('0x6')](_0x98aca8('0x8'),auth[_0x98aca8('0x5')](),controller[_0x98aca8('0x7')]),router['post']('/:id/actions',auth['isAuthenticated'](),controller[_0x98aca8('0x3')]),router['put'](_0x98aca8('0xa'),auth[_0x98aca8('0x5')](),controller['update']),router['delete']('/:id',auth[_0x98aca8('0x5')](),controller['destroy']),module[_0x98aca8('0x1')]=router;
\ No newline at end of file
+const a40_0x1a89=['delete','/:id','../../components/auth/service','post','get','./automation.controller','getActions','put','express','show','/:id/conditions','isAuthenticated','addActions','Router'];(function(_0x52f17f,_0x1a89cb){const _0x179f93=function(_0x369664){while(--_0x369664){_0x52f17f['push'](_0x52f17f['shift']());}};_0x179f93(++_0x1a89cb);}(a40_0x1a89,0x15e));const a40_0x179f=function(_0x52f17f,_0x1a89cb){_0x52f17f=_0x52f17f-0x0;let _0x179f93=a40_0x1a89[_0x52f17f];return _0x179f93;};const _0x7e7b9b=a40_0x179f;'use strict';const express=require(_0x7e7b9b('0x8')),router=express[_0x7e7b9b('0xd')](),auth=require(_0x7e7b9b('0x2')),controller=require(_0x7e7b9b('0x5'));router[_0x7e7b9b('0x4')]('/',auth['isAuthenticated'](),controller['index']),router[_0x7e7b9b('0x4')](_0x7e7b9b('0x1'),auth[_0x7e7b9b('0xb')](),controller[_0x7e7b9b('0x9')]),router[_0x7e7b9b('0x4')](_0x7e7b9b('0xa'),auth['isAuthenticated'](),controller['getConditions']),router[_0x7e7b9b('0x4')]('/:id/actions',auth[_0x7e7b9b('0xb')](),controller[_0x7e7b9b('0x6')]),router['post']('/',auth[_0x7e7b9b('0xb')](),controller['create']),router[_0x7e7b9b('0x3')](_0x7e7b9b('0xa'),auth['isAuthenticated'](),controller['addConditions']),router[_0x7e7b9b('0x3')]('/:id/actions',auth[_0x7e7b9b('0xb')](),controller[_0x7e7b9b('0xc')]),router[_0x7e7b9b('0x7')](_0x7e7b9b('0x1'),auth[_0x7e7b9b('0xb')](),controller['update']),router[_0x7e7b9b('0x0')](_0x7e7b9b('0x1'),auth[_0x7e7b9b('0xb')](),controller['destroy']),module['exports']=router;
\ No newline at end of file