Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / schedule / index.js
index 210a4d8..4904af5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb0c9=['create','put','update','delete','/:id','util','path','connect-timeout','express','Router','fs-extra','./schedule.controller','get','show','/:id/run','isAuthenticated','run','post'];(function(_0x53afe9,_0x2c9f40){var _0x396396=function(_0x1f574d){while(--_0x1f574d){_0x53afe9['push'](_0x53afe9['shift']());}};_0x396396(++_0x2c9f40);}(_0xb0c9,0xef));var _0x9b0c=function(_0x278e3c,_0x1c9cfd){_0x278e3c=_0x278e3c-0x0;var _0x3e2d9b=_0xb0c9[_0x278e3c];return _0x3e2d9b;};'use strict';var multer=require('multer');var util=require(_0x9b0c('0x0'));var path=require(_0x9b0c('0x1'));var timeout=require(_0x9b0c('0x2'));var express=require(_0x9b0c('0x3'));var router=express[_0x9b0c('0x4')]();var fs_extra=require(_0x9b0c('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9b0c('0x6'));router[_0x9b0c('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x9b0c('0x8')]);router[_0x9b0c('0x7')](_0x9b0c('0x9'),auth[_0x9b0c('0xa')](),controller[_0x9b0c('0xb')]);router[_0x9b0c('0xc')]('/',auth['isAuthenticated'](),controller[_0x9b0c('0xd')]);router[_0x9b0c('0xe')]('/:id',auth[_0x9b0c('0xa')](),controller[_0x9b0c('0xf')]);router[_0x9b0c('0x10')](_0x9b0c('0x11'),auth[_0x9b0c('0xa')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x73a9=['../../config/environment','./schedule.controller','get','index','/:id','isAuthenticated','show','/:id/run','run','create','put','update','delete','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x73a9,0x19c));var _0x973a=function(_0x2e4cf0,_0x16f2b0){_0x2e4cf0=_0x2e4cf0-0x0;var _0x356ddb=_0x73a9[_0x2e4cf0];return _0x356ddb;};'use strict';var multer=require(_0x973a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x973a('0x1'));var express=require(_0x973a('0x2'));var router=express[_0x973a('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x973a('0x4'));var interaction=require(_0x973a('0x5'));var config=require(_0x973a('0x6'));var controller=require(_0x973a('0x7'));router[_0x973a('0x8')]('/',auth['isAuthenticated'](),controller[_0x973a('0x9')]);router[_0x973a('0x8')](_0x973a('0xa'),auth[_0x973a('0xb')](),controller[_0x973a('0xc')]);router[_0x973a('0x8')](_0x973a('0xd'),auth['isAuthenticated'](),controller[_0x973a('0xe')]);router['post']('/',auth[_0x973a('0xb')](),controller[_0x973a('0xf')]);router[_0x973a('0x10')](_0x973a('0xa'),auth[_0x973a('0xb')](),controller[_0x973a('0x11')]);router[_0x973a('0x12')](_0x973a('0xa'),auth[_0x973a('0xb')](),controller['destroy']);module['exports']=router;
\ No newline at end of file