Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / interval / index.js
index 2dcb24e..05ec53a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x55ca=['/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','destroy','exports','multer','util','Router','../../components/auth/service','../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','show','getIntervals','create','post'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x55ca,0x126));var _0xa55c=function(_0x549996,_0xd04634){_0x549996=_0x549996-0x0;var _0x4de5d1=_0x55ca[_0x549996];return _0x4de5d1;};'use strict';var multer=require(_0xa55c('0x0'));var util=require(_0xa55c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa55c('0x2')]();var auth=require(_0xa55c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xa55c('0x4'));var controller=require(_0xa55c('0x5'));router[_0xa55c('0x6')]('/',auth[_0xa55c('0x7')](),controller[_0xa55c('0x8')]);router[_0xa55c('0x6')](_0xa55c('0x9'),auth['isAuthenticated'](),controller[_0xa55c('0xa')]);router[_0xa55c('0x6')]('/:id/sub_intervals',auth[_0xa55c('0x7')](),controller[_0xa55c('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa55c('0xc')]);router[_0xa55c('0xd')](_0xa55c('0xe'),auth[_0xa55c('0x7')](),controller[_0xa55c('0xf')]);router[_0xa55c('0xd')](_0xa55c('0x10'),auth[_0xa55c('0x7')](),controller[_0xa55c('0x11')]);router[_0xa55c('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xa55c('0x13')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xa55c('0x14')]);module[_0xa55c('0x15')]=router;
\ No newline at end of file
+var _0xc13c=['post','addInterval','/:id/sub_intervals/create_many','addIntervals','delete','destroy','util','path','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/sub_intervals','getIntervals'];(function(_0x3fd66d,_0x410d26){var _0x5a6464=function(_0x144918){while(--_0x144918){_0x3fd66d['push'](_0x3fd66d['shift']());}};_0x5a6464(++_0x410d26);}(_0xc13c,0x15c));var _0xcc13=function(_0xf5d1f5,_0x4494d2){_0xf5d1f5=_0xf5d1f5-0x0;var _0x5f5bbd=_0xc13c[_0xf5d1f5];return _0x5f5bbd;};'use strict';var multer=require('multer');var util=require(_0xcc13('0x0'));var path=require(_0xcc13('0x1'));var timeout=require('connect-timeout');var express=require(_0xcc13('0x2'));var router=express['Router']();var fs_extra=require(_0xcc13('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xcc13('0x4'));var config=require(_0xcc13('0x5'));var controller=require('./interval.controller');router[_0xcc13('0x6')]('/',auth[_0xcc13('0x7')](),controller['index']);router[_0xcc13('0x6')](_0xcc13('0x8'),auth['isAuthenticated'](),controller[_0xcc13('0x9')]);router[_0xcc13('0x6')](_0xcc13('0xa'),auth['isAuthenticated'](),controller[_0xcc13('0xb')]);router[_0xcc13('0xc')]('/',auth[_0xcc13('0x7')](),controller['create']);router[_0xcc13('0xc')](_0xcc13('0xa'),auth[_0xcc13('0x7')](),controller[_0xcc13('0xd')]);router[_0xcc13('0xc')](_0xcc13('0xe'),auth[_0xcc13('0x7')](),controller[_0xcc13('0xf')]);router['put'](_0xcc13('0x8'),auth[_0xcc13('0x7')](),controller['update']);router[_0xcc13('0x10')](_0xcc13('0x8'),auth[_0xcc13('0x7')](),controller[_0xcc13('0x11')]);module['exports']=router;
\ No newline at end of file