Built motion from commit 896e83a8.|2.6.30
[motion2.git] / server / api / interval / index.js
index b33edf5..5c86048 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x812d=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./interval.controller','get','isAuthenticated','/:id','/:id/sub_intervals','getIntervals','post','addInterval','addIntervals','put','update','delete','destroy','exports'];(function(_0x2aa6cf,_0x46b0b4){var _0x489483=function(_0x177549){while(--_0x177549){_0x2aa6cf['push'](_0x2aa6cf['shift']());}};_0x489483(++_0x46b0b4);}(_0x812d,0x6e));var _0xd812=function(_0x458eb4,_0x45a484){_0x458eb4=_0x458eb4-0x0;var _0xb08454=_0x812d[_0x458eb4];return _0xb08454;};'use strict';var multer=require('multer');var util=require(_0xd812('0x0'));var path=require(_0xd812('0x1'));var timeout=require(_0xd812('0x2'));var express=require(_0xd812('0x3'));var router=express[_0xd812('0x4')]();var fs_extra=require(_0xd812('0x5'));var auth=require(_0xd812('0x6'));var interaction=require(_0xd812('0x7'));var config=require('../../config/environment');var controller=require(_0xd812('0x8'));router[_0xd812('0x9')]('/',auth[_0xd812('0xa')](),controller['index']);router['get'](_0xd812('0xb'),auth[_0xd812('0xa')](),controller['show']);router[_0xd812('0x9')](_0xd812('0xc'),auth['isAuthenticated'](),controller[_0xd812('0xd')]);router[_0xd812('0xe')]('/',auth[_0xd812('0xa')](),controller['create']);router[_0xd812('0xe')]('/:id/sub_intervals',auth['isAuthenticated'](),controller[_0xd812('0xf')]);router['post']('/:id/sub_intervals/create_many',auth[_0xd812('0xa')](),controller[_0xd812('0x10')]);router[_0xd812('0x11')]('/:id',auth[_0xd812('0xa')](),controller[_0xd812('0x12')]);router[_0xd812('0x13')](_0xd812('0xb'),auth[_0xd812('0xa')](),controller[_0xd812('0x14')]);module[_0xd812('0x15')]=router;
\ No newline at end of file
+var _0xfa9f=['delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./interval.controller','isAuthenticated','/:id','show','get','getIntervals','post','create','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update'];(function(_0x2536cc,_0x301663){var _0xfb9bab=function(_0x1f1c20){while(--_0x1f1c20){_0x2536cc['push'](_0x2536cc['shift']());}};_0xfb9bab(++_0x301663);}(_0xfa9f,0x93));var _0xffa9=function(_0x553150,_0x589ff3){_0x553150=_0x553150-0x0;var _0x18193d=_0xfa9f[_0x553150];return _0x18193d;};'use strict';var multer=require('multer');var util=require(_0xffa9('0x0'));var path=require(_0xffa9('0x1'));var timeout=require(_0xffa9('0x2'));var express=require(_0xffa9('0x3'));var router=express[_0xffa9('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xffa9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xffa9('0x6'));var controller=require(_0xffa9('0x7'));router['get']('/',auth[_0xffa9('0x8')](),controller['index']);router['get'](_0xffa9('0x9'),auth[_0xffa9('0x8')](),controller[_0xffa9('0xa')]);router[_0xffa9('0xb')]('/:id/sub_intervals',auth[_0xffa9('0x8')](),controller[_0xffa9('0xc')]);router[_0xffa9('0xd')]('/',auth[_0xffa9('0x8')](),controller[_0xffa9('0xe')]);router[_0xffa9('0xd')](_0xffa9('0xf'),auth[_0xffa9('0x8')](),controller[_0xffa9('0x10')]);router[_0xffa9('0xd')](_0xffa9('0x11'),auth['isAuthenticated'](),controller[_0xffa9('0x12')]);router[_0xffa9('0x13')](_0xffa9('0x9'),auth[_0xffa9('0x8')](),controller[_0xffa9('0x14')]);router[_0xffa9('0x15')](_0xffa9('0x9'),auth[_0xffa9('0x8')](),controller[_0xffa9('0x16')]);module[_0xffa9('0x17')]=router;
\ No newline at end of file