Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / interval / index.js
index 9d8c5a0..89880c9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeac1=['../../components/interaction/service','../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','getIntervals','post','create','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','put','update','delete','destroy','exports','util','path','connect-timeout','Router'];(function(_0x5a67bd,_0x5be9c3){var _0x613a79=function(_0x36ca3e){while(--_0x36ca3e){_0x5a67bd['push'](_0x5a67bd['shift']());}};_0x613a79(++_0x5be9c3);}(_0xeac1,0x146));var _0x1eac=function(_0x1d1d4d,_0x44e587){_0x1d1d4d=_0x1d1d4d-0x0;var _0x485ebf=_0xeac1[_0x1d1d4d];return _0x485ebf;};'use strict';var multer=require('multer');var util=require(_0x1eac('0x0'));var path=require(_0x1eac('0x1'));var timeout=require(_0x1eac('0x2'));var express=require('express');var router=express[_0x1eac('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1eac('0x4'));var config=require(_0x1eac('0x5'));var controller=require(_0x1eac('0x6'));router[_0x1eac('0x7')]('/',auth[_0x1eac('0x8')](),controller[_0x1eac('0x9')]);router[_0x1eac('0x7')](_0x1eac('0xa'),auth[_0x1eac('0x8')](),controller['show']);router[_0x1eac('0x7')]('/:id/sub_intervals',auth[_0x1eac('0x8')](),controller[_0x1eac('0xb')]);router[_0x1eac('0xc')]('/',auth[_0x1eac('0x8')](),controller[_0x1eac('0xd')]);router[_0x1eac('0xc')](_0x1eac('0xe'),auth[_0x1eac('0x8')](),controller[_0x1eac('0xf')]);router[_0x1eac('0xc')](_0x1eac('0x10'),auth[_0x1eac('0x8')](),controller['addIntervals']);router[_0x1eac('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x1eac('0x12')]);router[_0x1eac('0x13')](_0x1eac('0xa'),auth[_0x1eac('0x8')](),controller[_0x1eac('0x14')]);module[_0x1eac('0x15')]=router;
\ No newline at end of file
+var _0xca96=['addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','delete','destroy','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./interval.controller','isAuthenticated','index','get','/:id','show','/:id/sub_intervals','post'];(function(_0x134fcb,_0x1bfe50){var _0x232384=function(_0x637ede){while(--_0x637ede){_0x134fcb['push'](_0x134fcb['shift']());}};_0x232384(++_0x1bfe50);}(_0xca96,0x10f));var _0x6ca9=function(_0x343b0a,_0x586263){_0x343b0a=_0x343b0a-0x0;var _0x3d8ff8=_0xca96[_0x343b0a];return _0x3d8ff8;};'use strict';var multer=require('multer');var util=require(_0x6ca9('0x0'));var path=require('path');var timeout=require(_0x6ca9('0x1'));var express=require(_0x6ca9('0x2'));var router=express[_0x6ca9('0x3')]();var fs_extra=require(_0x6ca9('0x4'));var auth=require(_0x6ca9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6ca9('0x6'));var controller=require(_0x6ca9('0x7'));router['get']('/',auth[_0x6ca9('0x8')](),controller[_0x6ca9('0x9')]);router[_0x6ca9('0xa')](_0x6ca9('0xb'),auth[_0x6ca9('0x8')](),controller[_0x6ca9('0xc')]);router['get'](_0x6ca9('0xd'),auth[_0x6ca9('0x8')](),controller['getIntervals']);router[_0x6ca9('0xe')]('/',auth[_0x6ca9('0x8')](),controller['create']);router[_0x6ca9('0xe')](_0x6ca9('0xd'),auth[_0x6ca9('0x8')](),controller[_0x6ca9('0xf')]);router[_0x6ca9('0xe')](_0x6ca9('0x10'),auth[_0x6ca9('0x8')](),controller[_0x6ca9('0x11')]);router[_0x6ca9('0x12')](_0x6ca9('0xb'),auth['isAuthenticated'](),controller[_0x6ca9('0x13')]);router[_0x6ca9('0x14')](_0x6ca9('0xb'),auth['isAuthenticated'](),controller[_0x6ca9('0x15')]);module['exports']=router;
\ No newline at end of file