Built motion from commit 980b26c3.|2.6.29
[motion2.git] / server / api / interval / index.js
index 439fa54..f5e1fae 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6dd4=['post','create','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./interval.controller','get','/:id','show','isAuthenticated','getIntervals'];(function(_0x4921d5,_0x2e52c5){var _0x25a0fe=function(_0x31acfd){while(--_0x31acfd){_0x4921d5['push'](_0x4921d5['shift']());}};_0x25a0fe(++_0x2e52c5);}(_0x6dd4,0x129));var _0x46dd=function(_0x3ba1be,_0x10ceff){_0x3ba1be=_0x3ba1be-0x0;var _0x56e692=_0x6dd4[_0x3ba1be];return _0x56e692;};'use strict';var multer=require(_0x46dd('0x0'));var util=require(_0x46dd('0x1'));var path=require(_0x46dd('0x2'));var timeout=require(_0x46dd('0x3'));var express=require(_0x46dd('0x4'));var router=express[_0x46dd('0x5')]();var fs_extra=require(_0x46dd('0x6'));var auth=require(_0x46dd('0x7'));var interaction=require(_0x46dd('0x8'));var config=require('../../config/environment');var controller=require(_0x46dd('0x9'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x46dd('0xa')](_0x46dd('0xb'),auth['isAuthenticated'](),controller[_0x46dd('0xc')]);router[_0x46dd('0xa')]('/:id/sub_intervals',auth[_0x46dd('0xd')](),controller[_0x46dd('0xe')]);router[_0x46dd('0xf')]('/',auth[_0x46dd('0xd')](),controller[_0x46dd('0x10')]);router['post'](_0x46dd('0x11'),auth[_0x46dd('0xd')](),controller[_0x46dd('0x12')]);router['post'](_0x46dd('0x13'),auth['isAuthenticated'](),controller[_0x46dd('0x14')]);router[_0x46dd('0x15')](_0x46dd('0xb'),auth[_0x46dd('0xd')](),controller[_0x46dd('0x16')]);router['delete'](_0x46dd('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x46dd('0x17')]=router;
\ No newline at end of file
+var _0x15cb=['addInterval','post','/:id/sub_intervals/create_many','addIntervals','delete','destroy','exports','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./interval.controller','get','/:id','isAuthenticated','show','/:id/sub_intervals','getIntervals'];(function(_0x5ae3b4,_0x100618){var _0x4d4216=function(_0x253423){while(--_0x253423){_0x5ae3b4['push'](_0x5ae3b4['shift']());}};_0x4d4216(++_0x100618);}(_0x15cb,0x16f));var _0xb15c=function(_0x587410,_0xabecd3){_0x587410=_0x587410-0x0;var _0x334f1c=_0x15cb[_0x587410];return _0x334f1c;};'use strict';var multer=require('multer');var util=require(_0xb15c('0x0'));var path=require('path');var timeout=require(_0xb15c('0x1'));var express=require('express');var router=express[_0xb15c('0x2')]();var fs_extra=require(_0xb15c('0x3'));var auth=require(_0xb15c('0x4'));var interaction=require(_0xb15c('0x5'));var config=require('../../config/environment');var controller=require(_0xb15c('0x6'));router[_0xb15c('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb15c('0x7')](_0xb15c('0x8'),auth[_0xb15c('0x9')](),controller[_0xb15c('0xa')]);router[_0xb15c('0x7')](_0xb15c('0xb'),auth[_0xb15c('0x9')](),controller[_0xb15c('0xc')]);router['post']('/',auth[_0xb15c('0x9')](),controller['create']);router['post']('/:id/sub_intervals',auth[_0xb15c('0x9')](),controller[_0xb15c('0xd')]);router[_0xb15c('0xe')](_0xb15c('0xf'),auth[_0xb15c('0x9')](),controller[_0xb15c('0x10')]);router['put']('/:id',auth[_0xb15c('0x9')](),controller['update']);router[_0xb15c('0x11')](_0xb15c('0x8'),auth[_0xb15c('0x9')](),controller[_0xb15c('0x12')]);module[_0xb15c('0x13')]=router;
\ No newline at end of file