Built motion from commit f67b3b02.|2.6.31
[motion2.git] / server / api / schedule / index.js
index 5eda673..e4ab92d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x61a0=['index','/:id','show','/:id/run','run','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x5217b6,_0x40b368){var _0x7b61f7=function(_0x4ba367){while(--_0x4ba367){_0x5217b6['push'](_0x5217b6['shift']());}};_0x7b61f7(++_0x40b368);}(_0x61a0,0x1af));var _0x061a=function(_0xae2bfe,_0x2f45b9){_0xae2bfe=_0xae2bfe-0x0;var _0x167f73=_0x61a0[_0xae2bfe];return _0x167f73;};'use strict';var multer=require(_0x061a('0x0'));var util=require(_0x061a('0x1'));var path=require('path');var timeout=require(_0x061a('0x2'));var express=require(_0x061a('0x3'));var router=express[_0x061a('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x061a('0x5'));var config=require(_0x061a('0x6'));var controller=require('./schedule.controller');router[_0x061a('0x7')]('/',auth[_0x061a('0x8')](),controller[_0x061a('0x9')]);router[_0x061a('0x7')](_0x061a('0xa'),auth['isAuthenticated'](),controller[_0x061a('0xb')]);router[_0x061a('0x7')](_0x061a('0xc'),auth[_0x061a('0x8')](),controller[_0x061a('0xd')]);router[_0x061a('0xe')]('/',auth[_0x061a('0x8')](),controller['create']);router[_0x061a('0xf')](_0x061a('0xa'),auth[_0x061a('0x8')](),controller[_0x061a('0x10')]);router[_0x061a('0x11')](_0x061a('0xa'),auth['isAuthenticated'](),controller[_0x061a('0x12')]);module[_0x061a('0x13')]=router;
\ No newline at end of file
+var _0xdc84=['../../config/environment','./schedule.controller','isAuthenticated','index','get','/:id','show','/:id/run','create','update','delete','destroy','exports','multer','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x5f21b3,_0x2b8667){var _0x324f1=function(_0x4c8145){while(--_0x4c8145){_0x5f21b3['push'](_0x5f21b3['shift']());}};_0x324f1(++_0x2b8667);}(_0xdc84,0x117));var _0x4dc8=function(_0xae282f,_0x2d9368){_0xae282f=_0xae282f-0x0;var _0x5f46d4=_0xdc84[_0xae282f];return _0x5f46d4;};'use strict';var multer=require(_0x4dc8('0x0'));var util=require('util');var path=require(_0x4dc8('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4dc8('0x2')]();var fs_extra=require(_0x4dc8('0x3'));var auth=require(_0x4dc8('0x4'));var interaction=require(_0x4dc8('0x5'));var config=require(_0x4dc8('0x6'));var controller=require(_0x4dc8('0x7'));router['get']('/',auth[_0x4dc8('0x8')](),controller[_0x4dc8('0x9')]);router[_0x4dc8('0xa')](_0x4dc8('0xb'),auth[_0x4dc8('0x8')](),controller[_0x4dc8('0xc')]);router['get'](_0x4dc8('0xd'),auth[_0x4dc8('0x8')](),controller['run']);router['post']('/',auth[_0x4dc8('0x8')](),controller[_0x4dc8('0xe')]);router['put']('/:id',auth[_0x4dc8('0x8')](),controller[_0x4dc8('0xf')]);router[_0x4dc8('0x10')]('/:id',auth[_0x4dc8('0x8')](),controller[_0x4dc8('0x11')]);module[_0x4dc8('0x12')]=router;
\ No newline at end of file