Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / interval / index.js
index 51ade3b..9cd5241 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc1c=['../../components/auth/service','../../components/interaction/service','./interval.controller','get','isAuthenticated','index','/:id','show','/:id/sub_intervals','getIntervals','post','create','addIntervals','put','update','exports','util','connect-timeout','Router','fs-extra'];(function(_0x45518f,_0x475a6b){var _0x198175=function(_0x40d333){while(--_0x40d333){_0x45518f['push'](_0x45518f['shift']());}};_0x198175(++_0x475a6b);}(_0xbc1c,0xd8));var _0xcbc1=function(_0x565faf,_0x5f3718){_0x565faf=_0x565faf-0x0;var _0x42292f=_0xbc1c[_0x565faf];return _0x42292f;};'use strict';var multer=require('multer');var util=require(_0xcbc1('0x0'));var path=require('path');var timeout=require(_0xcbc1('0x1'));var express=require('express');var router=express[_0xcbc1('0x2')]();var fs_extra=require(_0xcbc1('0x3'));var auth=require(_0xcbc1('0x4'));var interaction=require(_0xcbc1('0x5'));var config=require('../../config/environment');var controller=require(_0xcbc1('0x6'));router[_0xcbc1('0x7')]('/',auth[_0xcbc1('0x8')](),controller[_0xcbc1('0x9')]);router[_0xcbc1('0x7')](_0xcbc1('0xa'),auth['isAuthenticated'](),controller[_0xcbc1('0xb')]);router[_0xcbc1('0x7')](_0xcbc1('0xc'),auth[_0xcbc1('0x8')](),controller[_0xcbc1('0xd')]);router[_0xcbc1('0xe')]('/',auth['isAuthenticated'](),controller[_0xcbc1('0xf')]);router['post'](_0xcbc1('0xc'),auth[_0xcbc1('0x8')](),controller['addInterval']);router[_0xcbc1('0xe')]('/:id/sub_intervals/create_many',auth['isAuthenticated'](),controller[_0xcbc1('0x10')]);router[_0xcbc1('0x11')]('/:id',auth[_0xcbc1('0x8')](),controller[_0xcbc1('0x12')]);router['delete']('/:id',auth[_0xcbc1('0x8')](),controller['destroy']);module[_0xcbc1('0x13')]=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