Built motion from commit ff78e754.|2.6.29
[motion2.git] / server / api / schedule / index.js
index 03327a7..0e42acc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2b32=['../../config/environment','get','index','isAuthenticated','show','/:id/run','post','put','/:id','update','delete','util','path','express','Router','fs-extra','../../components/auth/service'];(function(_0xf0fb3c,_0xdecb22){var _0xdad4a3=function(_0xe2e904){while(--_0xe2e904){_0xf0fb3c['push'](_0xf0fb3c['shift']());}};_0xdad4a3(++_0xdecb22);}(_0x2b32,0x14e));var _0x22b3=function(_0x1b69aa,_0x5aa147){_0x1b69aa=_0x1b69aa-0x0;var _0x42647d=_0x2b32[_0x1b69aa];return _0x42647d;};'use strict';var multer=require('multer');var util=require(_0x22b3('0x0'));var path=require(_0x22b3('0x1'));var timeout=require('connect-timeout');var express=require(_0x22b3('0x2'));var router=express[_0x22b3('0x3')]();var fs_extra=require(_0x22b3('0x4'));var auth=require(_0x22b3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x22b3('0x6'));var controller=require('./schedule.controller');router[_0x22b3('0x7')]('/',auth['isAuthenticated'](),controller[_0x22b3('0x8')]);router['get']('/:id',auth[_0x22b3('0x9')](),controller[_0x22b3('0xa')]);router[_0x22b3('0x7')](_0x22b3('0xb'),auth[_0x22b3('0x9')](),controller['run']);router[_0x22b3('0xc')]('/',auth[_0x22b3('0x9')](),controller['create']);router[_0x22b3('0xd')](_0x22b3('0xe'),auth[_0x22b3('0x9')](),controller[_0x22b3('0xf')]);router[_0x22b3('0x10')](_0x22b3('0xe'),auth[_0x22b3('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x2bf0=['../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','/:id','show','/:id/run','run','post','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0xe51596,_0x314d5b){var _0x22c705=function(_0x4c6f94){while(--_0x4c6f94){_0xe51596['push'](_0xe51596['shift']());}};_0x22c705(++_0x314d5b);}(_0x2bf0,0xcb));var _0x02bf=function(_0x3d82d9,_0x9acf8a){_0x3d82d9=_0x3d82d9-0x0;var _0x5ea3cc=_0x2bf0[_0x3d82d9];return _0x5ea3cc;};'use strict';var multer=require(_0x02bf('0x0'));var util=require(_0x02bf('0x1'));var path=require(_0x02bf('0x2'));var timeout=require(_0x02bf('0x3'));var express=require(_0x02bf('0x4'));var router=express[_0x02bf('0x5')]();var fs_extra=require(_0x02bf('0x6'));var auth=require(_0x02bf('0x7'));var interaction=require(_0x02bf('0x8'));var config=require(_0x02bf('0x9'));var controller=require('./schedule.controller');router['get']('/',auth[_0x02bf('0xa')](),controller['index']);router[_0x02bf('0xb')](_0x02bf('0xc'),auth[_0x02bf('0xa')](),controller[_0x02bf('0xd')]);router[_0x02bf('0xb')](_0x02bf('0xe'),auth[_0x02bf('0xa')](),controller[_0x02bf('0xf')]);router[_0x02bf('0x10')]('/',auth[_0x02bf('0xa')](),controller['create']);router[_0x02bf('0x11')](_0x02bf('0xc'),auth['isAuthenticated'](),controller[_0x02bf('0x12')]);router['delete'](_0x02bf('0xc'),auth[_0x02bf('0xa')](),controller[_0x02bf('0x13')]);module[_0x02bf('0x14')]=router;
\ No newline at end of file