Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / schedule / index.js
index ecd9797..67cd0cf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x191a=['../../components/interaction/service','../../config/environment','./schedule.controller','get','index','/:id','isAuthenticated','show','run','post','create','update','delete','destroy','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x48affc,_0x405388){var _0x18a426=function(_0xcbe267){while(--_0xcbe267){_0x48affc['push'](_0x48affc['shift']());}};_0x18a426(++_0x405388);}(_0x191a,0x1d6));var _0xa191=function(_0x4bae87,_0x1c6934){_0x4bae87=_0x4bae87-0x0;var _0x3a1670=_0x191a[_0x4bae87];return _0x3a1670;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa191('0x0'));var timeout=require(_0xa191('0x1'));var express=require(_0xa191('0x2'));var router=express[_0xa191('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xa191('0x4'));var interaction=require(_0xa191('0x5'));var config=require(_0xa191('0x6'));var controller=require(_0xa191('0x7'));router[_0xa191('0x8')]('/',auth['isAuthenticated'](),controller[_0xa191('0x9')]);router[_0xa191('0x8')](_0xa191('0xa'),auth[_0xa191('0xb')](),controller[_0xa191('0xc')]);router[_0xa191('0x8')]('/:id/run',auth[_0xa191('0xb')](),controller[_0xa191('0xd')]);router[_0xa191('0xe')]('/',auth[_0xa191('0xb')](),controller[_0xa191('0xf')]);router['put'](_0xa191('0xa'),auth[_0xa191('0xb')](),controller[_0xa191('0x10')]);router[_0xa191('0x11')](_0xa191('0xa'),auth['isAuthenticated'](),controller[_0xa191('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0x558a=['get','show','post','put','/:id','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index'];(function(_0x21876e,_0x21c0da){var _0x507c3c=function(_0x479317){while(--_0x479317){_0x21876e['push'](_0x21876e['shift']());}};_0x507c3c(++_0x21c0da);}(_0x558a,0x1dd));var _0xa558=function(_0x1a2238,_0x24c8b6){_0x1a2238=_0x1a2238-0x0;var _0x3d0b35=_0x558a[_0x1a2238];return _0x3d0b35;};'use strict';var multer=require(_0xa558('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xa558('0x1'));var express=require(_0xa558('0x2'));var router=express[_0xa558('0x3')]();var fs_extra=require(_0xa558('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xa558('0x5'));var config=require(_0xa558('0x6'));var controller=require('./schedule.controller');router['get']('/',auth[_0xa558('0x7')](),controller[_0xa558('0x8')]);router[_0xa558('0x9')]('/:id',auth[_0xa558('0x7')](),controller[_0xa558('0xa')]);router['get']('/:id/run',auth[_0xa558('0x7')](),controller['run']);router[_0xa558('0xb')]('/',auth[_0xa558('0x7')](),controller['create']);router[_0xa558('0xc')](_0xa558('0xd'),auth['isAuthenticated'](),controller[_0xa558('0xe')]);router[_0xa558('0xf')](_0xa558('0xd'),auth[_0xa558('0x7')](),controller[_0xa558('0x10')]);module[_0xa558('0x11')]=router;
\ No newline at end of file