Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / interval / index.js
index c6f55ac..c866b69 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f04=['update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/sub_intervals','getIntervals','post','create','/:id/sub_intervals/create_many','addIntervals','put'];(function(_0x281cf2,_0x2627a4){var _0x5284ec=function(_0x239c36){while(--_0x239c36){_0x281cf2['push'](_0x281cf2['shift']());}};_0x5284ec(++_0x2627a4);}(_0x8f04,0xbc));var _0x48f0=function(_0x1848b5,_0x3e81d9){_0x1848b5=_0x1848b5-0x0;var _0x455dc1=_0x8f04[_0x1848b5];return _0x455dc1;};'use strict';var multer=require(_0x48f0('0x0'));var util=require(_0x48f0('0x1'));var path=require(_0x48f0('0x2'));var timeout=require(_0x48f0('0x3'));var express=require('express');var router=express[_0x48f0('0x4')]();var fs_extra=require(_0x48f0('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x48f0('0x6'));var controller=require('./interval.controller');router[_0x48f0('0x7')]('/',auth[_0x48f0('0x8')](),controller[_0x48f0('0x9')]);router[_0x48f0('0x7')](_0x48f0('0xa'),auth[_0x48f0('0x8')](),controller[_0x48f0('0xb')]);router[_0x48f0('0x7')](_0x48f0('0xc'),auth[_0x48f0('0x8')](),controller[_0x48f0('0xd')]);router[_0x48f0('0xe')]('/',auth[_0x48f0('0x8')](),controller[_0x48f0('0xf')]);router['post'](_0x48f0('0xc'),auth['isAuthenticated'](),controller['addInterval']);router[_0x48f0('0xe')](_0x48f0('0x10'),auth[_0x48f0('0x8')](),controller[_0x48f0('0x11')]);router[_0x48f0('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x48f0('0x13')]);router[_0x48f0('0x14')](_0x48f0('0xa'),auth[_0x48f0('0x8')](),controller[_0x48f0('0x15')]);module[_0x48f0('0x16')]=router;
\ No newline at end of file
+var _0x342a=['../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','/:id/sub_intervals','getIntervals','post','create','addInterval','/:id/sub_intervals/create_many','put','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x342a,0xa2));var _0xa342=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0x342a[_0x164eca];return _0x2ce562;};'use strict';var multer=require(_0xa342('0x0'));var util=require(_0xa342('0x1'));var path=require(_0xa342('0x2'));var timeout=require(_0xa342('0x3'));var express=require('express');var router=express[_0xa342('0x4')]();var fs_extra=require(_0xa342('0x5'));var auth=require(_0xa342('0x6'));var interaction=require(_0xa342('0x7'));var config=require(_0xa342('0x8'));var controller=require(_0xa342('0x9'));router[_0xa342('0xa')]('/',auth[_0xa342('0xb')](),controller[_0xa342('0xc')]);router[_0xa342('0xa')](_0xa342('0xd'),auth[_0xa342('0xb')](),controller['show']);router[_0xa342('0xa')](_0xa342('0xe'),auth[_0xa342('0xb')](),controller[_0xa342('0xf')]);router[_0xa342('0x10')]('/',auth[_0xa342('0xb')](),controller[_0xa342('0x11')]);router[_0xa342('0x10')](_0xa342('0xe'),auth[_0xa342('0xb')](),controller[_0xa342('0x12')]);router[_0xa342('0x10')](_0xa342('0x13'),auth[_0xa342('0xb')](),controller['addIntervals']);router[_0xa342('0x14')](_0xa342('0xd'),auth[_0xa342('0xb')](),controller[_0xa342('0x15')]);router['delete'](_0xa342('0xd'),auth[_0xa342('0xb')](),controller[_0xa342('0x16')]);module[_0xa342('0x17')]=router;
\ No newline at end of file