Built motion from commit e8d9bd62.|2.6.25
[motion2.git] / server / api / interval / index.js
index b450632..5568621 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9a14=['addIntervals','put','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','/:id','show','getIntervals','create','post','/:id/sub_intervals','addInterval'];(function(_0x24f501,_0x502413){var _0x3961e6=function(_0x56f3f6){while(--_0x56f3f6){_0x24f501['push'](_0x24f501['shift']());}};_0x3961e6(++_0x502413);}(_0x9a14,0x1d3));var _0x49a1=function(_0x35db95,_0x3bca73){_0x35db95=_0x35db95-0x0;var _0x42e0ff=_0x9a14[_0x35db95];return _0x42e0ff;};'use strict';var multer=require('multer');var util=require(_0x49a1('0x0'));var path=require(_0x49a1('0x1'));var timeout=require(_0x49a1('0x2'));var express=require('express');var router=express[_0x49a1('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x49a1('0x4'));var interaction=require(_0x49a1('0x5'));var config=require('../../config/environment');var controller=require('./interval.controller');router['get']('/',auth[_0x49a1('0x6')](),controller[_0x49a1('0x7')]);router[_0x49a1('0x8')](_0x49a1('0x9'),auth[_0x49a1('0x6')](),controller[_0x49a1('0xa')]);router['get']('/:id/sub_intervals',auth[_0x49a1('0x6')](),controller[_0x49a1('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x49a1('0xc')]);router[_0x49a1('0xd')](_0x49a1('0xe'),auth[_0x49a1('0x6')](),controller[_0x49a1('0xf')]);router['post']('/:id/sub_intervals/create_many',auth[_0x49a1('0x6')](),controller[_0x49a1('0x10')]);router[_0x49a1('0x11')]('/:id',auth[_0x49a1('0x6')](),controller['update']);router[_0x49a1('0x12')](_0x49a1('0x9'),auth[_0x49a1('0x6')](),controller[_0x49a1('0x13')]);module[_0x49a1('0x14')]=router;
\ No newline at end of file
+var _0x0514=['isAuthenticated','/:id','getIntervals','create','post','/:id/sub_intervals','addIntervals','put','delete','destroy','multer','path','connect-timeout','Router','fs-extra','../../config/environment','./interval.controller','get'];(function(_0x127c7b,_0x1f65e7){var _0x1708eb=function(_0x2033e5){while(--_0x2033e5){_0x127c7b['push'](_0x127c7b['shift']());}};_0x1708eb(++_0x1f65e7);}(_0x0514,0x1f0));var _0x4051=function(_0x23ec2d,_0x718342){_0x23ec2d=_0x23ec2d-0x0;var _0x5a51ee=_0x0514[_0x23ec2d];return _0x5a51ee;};'use strict';var multer=require(_0x4051('0x0'));var util=require('util');var path=require(_0x4051('0x1'));var timeout=require(_0x4051('0x2'));var express=require('express');var router=express[_0x4051('0x3')]();var fs_extra=require(_0x4051('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4051('0x5'));var controller=require(_0x4051('0x6'));router[_0x4051('0x7')]('/',auth[_0x4051('0x8')](),controller['index']);router['get'](_0x4051('0x9'),auth[_0x4051('0x8')](),controller['show']);router[_0x4051('0x7')]('/:id/sub_intervals',auth[_0x4051('0x8')](),controller[_0x4051('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0x4051('0xb')]);router[_0x4051('0xc')](_0x4051('0xd'),auth[_0x4051('0x8')](),controller['addInterval']);router[_0x4051('0xc')]('/:id/sub_intervals/create_many',auth['isAuthenticated'](),controller[_0x4051('0xe')]);router[_0x4051('0xf')](_0x4051('0x9'),auth[_0x4051('0x8')](),controller['update']);router[_0x4051('0x10')]('/:id',auth[_0x4051('0x8')](),controller[_0x4051('0x11')]);module['exports']=router;
\ No newline at end of file