Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / schedule / index.js
index 52e6ac1..a5f46c1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5e7b=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','/:id/run','run','post','create','update','delete'];(function(_0x22dd48,_0x17b05){var _0x128e47=function(_0x1c994f){while(--_0x1c994f){_0x22dd48['push'](_0x22dd48['shift']());}};_0x128e47(++_0x17b05);}(_0x5e7b,0x100));var _0xb5e7=function(_0x4c445a,_0x4ee80f){_0x4c445a=_0x4c445a-0x0;var _0x2f611c=_0x5e7b[_0x4c445a];return _0x2f611c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb5e7('0x0'));var timeout=require(_0xb5e7('0x1'));var express=require('express');var router=express[_0xb5e7('0x2')]();var auth=require(_0xb5e7('0x3'));var interaction=require(_0xb5e7('0x4'));var config=require(_0xb5e7('0x5'));var controller=require('./schedule.controller');router[_0xb5e7('0x6')]('/',auth[_0xb5e7('0x7')](),controller[_0xb5e7('0x8')]);router['get'](_0xb5e7('0x9'),auth['isAuthenticated'](),controller['show']);router[_0xb5e7('0x6')](_0xb5e7('0xa'),auth[_0xb5e7('0x7')](),controller[_0xb5e7('0xb')]);router[_0xb5e7('0xc')]('/',auth['isAuthenticated'](),controller[_0xb5e7('0xd')]);router['put'](_0xb5e7('0x9'),auth[_0xb5e7('0x7')](),controller[_0xb5e7('0xe')]);router[_0xb5e7('0xf')](_0xb5e7('0x9'),auth[_0xb5e7('0x7')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x60a3=['../../components/auth/service','../../config/environment','get','index','/:id','show','/:id/run','isAuthenticated','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x11e029,_0x367053){var _0x575396=function(_0x5e17b3){while(--_0x5e17b3){_0x11e029['push'](_0x11e029['shift']());}};_0x575396(++_0x367053);}(_0x60a3,0x11b));var _0x360a=function(_0x452257,_0xd7114){_0x452257=_0x452257-0x0;var _0x5c1d3f=_0x60a3[_0x452257];return _0x5c1d3f;};'use strict';var multer=require(_0x360a('0x0'));var util=require(_0x360a('0x1'));var path=require('path');var timeout=require(_0x360a('0x2'));var express=require(_0x360a('0x3'));var router=express[_0x360a('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x360a('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x360a('0x6'));var controller=require('./schedule.controller');router[_0x360a('0x7')]('/',auth['isAuthenticated'](),controller[_0x360a('0x8')]);router['get'](_0x360a('0x9'),auth['isAuthenticated'](),controller[_0x360a('0xa')]);router[_0x360a('0x7')](_0x360a('0xb'),auth[_0x360a('0xc')](),controller['run']);router['post']('/',auth[_0x360a('0xc')](),controller[_0x360a('0xd')]);router[_0x360a('0xe')]('/:id',auth[_0x360a('0xc')](),controller[_0x360a('0xf')]);router['delete'](_0x360a('0x9'),auth['isAuthenticated'](),controller[_0x360a('0x10')]);module[_0x360a('0x11')]=router;
\ No newline at end of file