Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / schedule / index.js
index d292af0..998d92a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdc4e=['Router','../../components/interaction/service','../../config/environment','./schedule.controller','get','isAuthenticated','/:id','show','run','post','create','delete','destroy','exports','multer','util','connect-timeout','express'];(function(_0x5d735d,_0x31f512){var _0x13bc7c=function(_0x5906ad){while(--_0x5906ad){_0x5d735d['push'](_0x5d735d['shift']());}};_0x13bc7c(++_0x31f512);}(_0xdc4e,0xc2));var _0xedc4=function(_0x26329e,_0x528981){_0x26329e=_0x26329e-0x0;var _0x545d32=_0xdc4e[_0x26329e];return _0x545d32;};'use strict';var multer=require(_0xedc4('0x0'));var util=require(_0xedc4('0x1'));var path=require('path');var timeout=require(_0xedc4('0x2'));var express=require(_0xedc4('0x3'));var router=express[_0xedc4('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xedc4('0x5'));var config=require(_0xedc4('0x6'));var controller=require(_0xedc4('0x7'));router[_0xedc4('0x8')]('/',auth[_0xedc4('0x9')](),controller['index']);router[_0xedc4('0x8')](_0xedc4('0xa'),auth['isAuthenticated'](),controller[_0xedc4('0xb')]);router['get']('/:id/run',auth[_0xedc4('0x9')](),controller[_0xedc4('0xc')]);router[_0xedc4('0xd')]('/',auth[_0xedc4('0x9')](),controller[_0xedc4('0xe')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xedc4('0xf')](_0xedc4('0xa'),auth[_0xedc4('0x9')](),controller[_0xedc4('0x10')]);module[_0xedc4('0x11')]=router;
\ No newline at end of file
+var _0x3fa5=['../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','/:id/run','run','create','put','delete','exports','multer','util','connect-timeout','Router'];(function(_0x4c5d3d,_0x4ce396){var _0x296bb7=function(_0xf40928){while(--_0xf40928){_0x4c5d3d['push'](_0x4c5d3d['shift']());}};_0x296bb7(++_0x4ce396);}(_0x3fa5,0x92));var _0x53fa=function(_0x3cc28c,_0x29bc75){_0x3cc28c=_0x3cc28c-0x0;var _0x92e4f3=_0x3fa5[_0x3cc28c];return _0x92e4f3;};'use strict';var multer=require(_0x53fa('0x0'));var util=require(_0x53fa('0x1'));var path=require('path');var timeout=require(_0x53fa('0x2'));var express=require('express');var router=express[_0x53fa('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x53fa('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x53fa('0x5'));var controller=require('./schedule.controller');router[_0x53fa('0x6')]('/',auth[_0x53fa('0x7')](),controller['index']);router[_0x53fa('0x6')](_0x53fa('0x8'),auth[_0x53fa('0x7')](),controller['show']);router[_0x53fa('0x6')](_0x53fa('0x9'),auth['isAuthenticated'](),controller[_0x53fa('0xa')]);router['post']('/',auth[_0x53fa('0x7')](),controller[_0x53fa('0xb')]);router[_0x53fa('0xc')]('/:id',auth[_0x53fa('0x7')](),controller['update']);router[_0x53fa('0xd')](_0x53fa('0x8'),auth[_0x53fa('0x7')](),controller['destroy']);module[_0x53fa('0xe')]=router;
\ No newline at end of file