Built motion from commit 511216ff.|2.6.34
[motion2.git] / server / api / interval / index.js
index cee6da3..e010a0b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x90b1=['/:id/sub_intervals/create_many','put','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','index','get','/:id','isAuthenticated','show','/:id/sub_intervals','getIntervals','post','create','addInterval'];(function(_0x2acd0f,_0x3ac736){var _0x434b3e=function(_0x2fdca0){while(--_0x2fdca0){_0x2acd0f['push'](_0x2acd0f['shift']());}};_0x434b3e(++_0x3ac736);}(_0x90b1,0x1bb));var _0x190b=function(_0x57d740,_0x50be99){_0x57d740=_0x57d740-0x0;var _0x6607ef=_0x90b1[_0x57d740];return _0x6607ef;};'use strict';var multer=require(_0x190b('0x0'));var util=require(_0x190b('0x1'));var path=require(_0x190b('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x190b('0x3')]();var fs_extra=require(_0x190b('0x4'));var auth=require(_0x190b('0x5'));var interaction=require(_0x190b('0x6'));var config=require('../../config/environment');var controller=require('./interval.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x190b('0x7')]);router[_0x190b('0x8')](_0x190b('0x9'),auth[_0x190b('0xa')](),controller[_0x190b('0xb')]);router[_0x190b('0x8')](_0x190b('0xc'),auth['isAuthenticated'](),controller[_0x190b('0xd')]);router[_0x190b('0xe')]('/',auth[_0x190b('0xa')](),controller[_0x190b('0xf')]);router[_0x190b('0xe')](_0x190b('0xc'),auth[_0x190b('0xa')](),controller[_0x190b('0x10')]);router['post'](_0x190b('0x11'),auth[_0x190b('0xa')](),controller['addIntervals']);router[_0x190b('0x12')](_0x190b('0x9'),auth[_0x190b('0xa')](),controller[_0x190b('0x13')]);router[_0x190b('0x14')](_0x190b('0x9'),auth[_0x190b('0xa')](),controller[_0x190b('0x15')]);module[_0x190b('0x16')]=router;
\ No newline at end of file
+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(_0x5c04bc,_0x355148){var _0x49f5d2=function(_0x569898){while(--_0x569898){_0x5c04bc['push'](_0x5c04bc['shift']());}};_0x49f5d2(++_0x355148);}(_0xeac1,0x146));var _0x1eac=function(_0x149206,_0xe1f4e1){_0x149206=_0x149206-0x0;var _0x46f46c=_0xeac1[_0x149206];return _0x46f46c;};'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