Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / interval / index.js
index 59cefdb..9cd5241 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x234f=['get','isAuthenticated','index','show','/:id/sub_intervals','getIntervals','post','create','addInterval','/:id/sub_intervals/create_many','addIntervals','put','delete','destroy','multer','util','path','connect-timeout','express','../../config/environment','./interval.controller'];(function(_0x593f67,_0x432c9a){var _0x309e70=function(_0x4a0b00){while(--_0x4a0b00){_0x593f67['push'](_0x593f67['shift']());}};_0x309e70(++_0x432c9a);}(_0x234f,0xb6));var _0xf234=function(_0x52d611,_0x50e31a){_0x52d611=_0x52d611-0x0;var _0x358aed=_0x234f[_0x52d611];return _0x358aed;};'use strict';var multer=require(_0xf234('0x0'));var util=require(_0xf234('0x1'));var path=require(_0xf234('0x2'));var timeout=require(_0xf234('0x3'));var express=require(_0xf234('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xf234('0x5'));var controller=require(_0xf234('0x6'));router[_0xf234('0x7')]('/',auth[_0xf234('0x8')](),controller[_0xf234('0x9')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xf234('0xa')]);router[_0xf234('0x7')](_0xf234('0xb'),auth[_0xf234('0x8')](),controller[_0xf234('0xc')]);router[_0xf234('0xd')]('/',auth[_0xf234('0x8')](),controller[_0xf234('0xe')]);router[_0xf234('0xd')](_0xf234('0xb'),auth[_0xf234('0x8')](),controller[_0xf234('0xf')]);router['post'](_0xf234('0x10'),auth[_0xf234('0x8')](),controller[_0xf234('0x11')]);router[_0xf234('0x12')]('/:id',auth[_0xf234('0x8')](),controller['update']);router[_0xf234('0x13')]('/:id',auth[_0xf234('0x8')](),controller[_0xf234('0x14')]);module['exports']=router;
\ No newline at end of file
+var _0x15c6=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','isAuthenticated','index','/:id','show','post','create','addInterval','/:id/sub_intervals/create_many','delete','destroy'];(function(_0x31b5f5,_0x4d664a){var _0x440018=function(_0x42eb7d){while(--_0x42eb7d){_0x31b5f5['push'](_0x31b5f5['shift']());}};_0x440018(++_0x4d664a);}(_0x15c6,0x1cd));var _0x615c=function(_0x2a5b3b,_0x4ebe31){_0x2a5b3b=_0x2a5b3b-0x0;var _0xae665a=_0x15c6[_0x2a5b3b];return _0xae665a;};'use strict';var multer=require(_0x615c('0x0'));var util=require(_0x615c('0x1'));var path=require(_0x615c('0x2'));var timeout=require(_0x615c('0x3'));var express=require(_0x615c('0x4'));var router=express[_0x615c('0x5')]();var fs_extra=require(_0x615c('0x6'));var auth=require(_0x615c('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./interval.controller');router[_0x615c('0x8')]('/',auth[_0x615c('0x9')](),controller[_0x615c('0xa')]);router['get'](_0x615c('0xb'),auth[_0x615c('0x9')](),controller[_0x615c('0xc')]);router[_0x615c('0x8')]('/:id/sub_intervals',auth[_0x615c('0x9')](),controller['getIntervals']);router[_0x615c('0xd')]('/',auth[_0x615c('0x9')](),controller[_0x615c('0xe')]);router[_0x615c('0xd')]('/:id/sub_intervals',auth['isAuthenticated'](),controller[_0x615c('0xf')]);router[_0x615c('0xd')](_0x615c('0x10'),auth[_0x615c('0x9')](),controller['addIntervals']);router['put'](_0x615c('0xb'),auth[_0x615c('0x9')](),controller['update']);router[_0x615c('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x615c('0x12')]);module[_0x615c('0x13')]=router;
\ No newline at end of file