Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / interval / index.js
index 93e4bd4..b8747bb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf6ca=['/:id/sub_intervals/create_many','addIntervals','put','update','destroy','exports','multer','util','path','express','../../config/environment','./interval.controller','get','isAuthenticated','/:id','show','post','create','/:id/sub_intervals','addInterval'];(function(_0x578daa,_0x58828a){var _0x105f1d=function(_0x6b79e){while(--_0x6b79e){_0x578daa['push'](_0x578daa['shift']());}};_0x105f1d(++_0x58828a);}(_0xf6ca,0x15a));var _0xaf6c=function(_0x5b8f9f,_0x2f1e7f){_0x5b8f9f=_0x5b8f9f-0x0;var _0x274f1b=_0xf6ca[_0x5b8f9f];return _0x274f1b;};'use strict';var multer=require(_0xaf6c('0x0'));var util=require(_0xaf6c('0x1'));var path=require(_0xaf6c('0x2'));var timeout=require('connect-timeout');var express=require(_0xaf6c('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xaf6c('0x4'));var controller=require(_0xaf6c('0x5'));router[_0xaf6c('0x6')]('/',auth[_0xaf6c('0x7')](),controller['index']);router[_0xaf6c('0x6')](_0xaf6c('0x8'),auth[_0xaf6c('0x7')](),controller[_0xaf6c('0x9')]);router[_0xaf6c('0x6')]('/:id/sub_intervals',auth[_0xaf6c('0x7')](),controller['getIntervals']);router[_0xaf6c('0xa')]('/',auth[_0xaf6c('0x7')](),controller[_0xaf6c('0xb')]);router[_0xaf6c('0xa')](_0xaf6c('0xc'),auth[_0xaf6c('0x7')](),controller[_0xaf6c('0xd')]);router['post'](_0xaf6c('0xe'),auth[_0xaf6c('0x7')](),controller[_0xaf6c('0xf')]);router[_0xaf6c('0x10')](_0xaf6c('0x8'),auth[_0xaf6c('0x7')](),controller[_0xaf6c('0x11')]);router['delete'](_0xaf6c('0x8'),auth[_0xaf6c('0x7')](),controller[_0xaf6c('0x12')]);module[_0xaf6c('0x13')]=router;
\ No newline at end of file
+var _0x5e17=['../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','show','/:id/sub_intervals','post','addInterval','/:id/sub_intervals/create_many','addIntervals','update','destroy','exports','multer','fs-extra'];(function(_0x1c229e,_0x5e541f){var _0x570a7e=function(_0x374123){while(--_0x374123){_0x1c229e['push'](_0x1c229e['shift']());}};_0x570a7e(++_0x5e541f);}(_0x5e17,0x17a));var _0x75e1=function(_0x3f64ad,_0x57fcd2){_0x3f64ad=_0x3f64ad-0x0;var _0x989206=_0x5e17[_0x3f64ad];return _0x989206;};'use strict';var multer=require(_0x75e1('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x75e1('0x1'));var auth=require(_0x75e1('0x2'));var interaction=require(_0x75e1('0x3'));var config=require(_0x75e1('0x4'));var controller=require(_0x75e1('0x5'));router[_0x75e1('0x6')]('/',auth[_0x75e1('0x7')](),controller[_0x75e1('0x8')]);router[_0x75e1('0x6')](_0x75e1('0x9'),auth[_0x75e1('0x7')](),controller[_0x75e1('0xa')]);router[_0x75e1('0x6')](_0x75e1('0xb'),auth[_0x75e1('0x7')](),controller['getIntervals']);router[_0x75e1('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x75e1('0xc')](_0x75e1('0xb'),auth[_0x75e1('0x7')](),controller[_0x75e1('0xd')]);router[_0x75e1('0xc')](_0x75e1('0xe'),auth[_0x75e1('0x7')](),controller[_0x75e1('0xf')]);router['put'](_0x75e1('0x9'),auth[_0x75e1('0x7')](),controller[_0x75e1('0x10')]);router['delete'](_0x75e1('0x9'),auth[_0x75e1('0x7')](),controller[_0x75e1('0x11')]);module[_0x75e1('0x12')]=router;
\ No newline at end of file