Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / schedule / index.js
index 1c48dce..70a6e9a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0897=['../../config/environment','get','isAuthenticated','show','create','/:id','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x5e8c0f,_0x1f20d9){var _0x568dbe=function(_0xdc6797){while(--_0xdc6797){_0x5e8c0f['push'](_0x5e8c0f['shift']());}};_0x568dbe(++_0x1f20d9);}(_0x0897,0x139));var _0x7089=function(_0x4aa6cc,_0x2e45eb){_0x4aa6cc=_0x4aa6cc-0x0;var _0x3a844f=_0x0897[_0x4aa6cc];return _0x3a844f;};'use strict';var multer=require(_0x7089('0x0'));var util=require('util');var path=require(_0x7089('0x1'));var timeout=require(_0x7089('0x2'));var express=require(_0x7089('0x3'));var router=express[_0x7089('0x4')]();var fs_extra=require(_0x7089('0x5'));var auth=require(_0x7089('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x7089('0x7'));var controller=require('./schedule.controller');router[_0x7089('0x8')]('/',auth[_0x7089('0x9')](),controller['index']);router['get']('/:id',auth[_0x7089('0x9')](),controller[_0x7089('0xa')]);router[_0x7089('0x8')]('/:id/run',auth['isAuthenticated'](),controller['run']);router['post']('/',auth[_0x7089('0x9')](),controller[_0x7089('0xb')]);router['put'](_0x7089('0xc'),auth[_0x7089('0x9')](),controller['update']);router[_0x7089('0xd')](_0x7089('0xc'),auth[_0x7089('0x9')](),controller[_0x7089('0xe')]);module[_0x7089('0xf')]=router;
\ No newline at end of file
+var _0xa8b3=['index','get','/:id','show','/:id/run','run','post','create','update','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x1408a1,_0x24a294){var _0x486e11=function(_0x14b79c){while(--_0x14b79c){_0x1408a1['push'](_0x1408a1['shift']());}};_0x486e11(++_0x24a294);}(_0xa8b3,0x107));var _0x3a8b=function(_0x102470,_0x199a01){_0x102470=_0x102470-0x0;var _0x558eaa=_0xa8b3[_0x102470];return _0x558eaa;};'use strict';var multer=require(_0x3a8b('0x0'));var util=require(_0x3a8b('0x1'));var path=require(_0x3a8b('0x2'));var timeout=require(_0x3a8b('0x3'));var express=require(_0x3a8b('0x4'));var router=express['Router']();var fs_extra=require(_0x3a8b('0x5'));var auth=require(_0x3a8b('0x6'));var interaction=require(_0x3a8b('0x7'));var config=require(_0x3a8b('0x8'));var controller=require('./schedule.controller');router['get']('/',auth[_0x3a8b('0x9')](),controller[_0x3a8b('0xa')]);router[_0x3a8b('0xb')](_0x3a8b('0xc'),auth['isAuthenticated'](),controller[_0x3a8b('0xd')]);router[_0x3a8b('0xb')](_0x3a8b('0xe'),auth[_0x3a8b('0x9')](),controller[_0x3a8b('0xf')]);router[_0x3a8b('0x10')]('/',auth[_0x3a8b('0x9')](),controller[_0x3a8b('0x11')]);router['put'](_0x3a8b('0xc'),auth[_0x3a8b('0x9')](),controller[_0x3a8b('0x12')]);router['delete'](_0x3a8b('0xc'),auth[_0x3a8b('0x9')](),controller[_0x3a8b('0x13')]);module[_0x3a8b('0x14')]=router;
\ No newline at end of file