Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / trigger / index.js
index efd6ea7..aaae1af 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2743=['isAuthenticated','index','/:id','getAllConditions','getAnyConditions','/:id/actions','getActions','post','create','/:id/all_conditions','addAllCondition','/:id/any_conditions','addAnyCondition','addAction','put','update','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./trigger.controller','get'];(function(_0x1ed78f,_0x5ab61b){var _0x46f620=function(_0x44276e){while(--_0x44276e){_0x1ed78f['push'](_0x1ed78f['shift']());}};_0x46f620(++_0x5ab61b);}(_0x2743,0x13b));var _0x3274=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2743[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x3274('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3274('0x1'));var express=require(_0x3274('0x2'));var router=express[_0x3274('0x3')]();var fs_extra=require(_0x3274('0x4'));var auth=require(_0x3274('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3274('0x6'));var controller=require(_0x3274('0x7'));router[_0x3274('0x8')]('/',auth[_0x3274('0x9')](),controller[_0x3274('0xa')]);router[_0x3274('0x8')](_0x3274('0xb'),auth[_0x3274('0x9')](),controller['show']);router[_0x3274('0x8')]('/:id/all_conditions',auth[_0x3274('0x9')](),controller[_0x3274('0xc')]);router[_0x3274('0x8')]('/:id/any_conditions',auth[_0x3274('0x9')](),controller[_0x3274('0xd')]);router[_0x3274('0x8')](_0x3274('0xe'),auth[_0x3274('0x9')](),controller[_0x3274('0xf')]);router[_0x3274('0x10')]('/',auth[_0x3274('0x9')](),controller[_0x3274('0x11')]);router[_0x3274('0x10')](_0x3274('0x12'),auth['isAuthenticated'](),controller[_0x3274('0x13')]);router[_0x3274('0x10')](_0x3274('0x14'),auth[_0x3274('0x9')](),controller[_0x3274('0x15')]);router['post']('/:id/actions',auth[_0x3274('0x9')](),controller[_0x3274('0x16')]);router[_0x3274('0x17')](_0x3274('0xb'),auth['isAuthenticated'](),controller[_0x3274('0x18')]);router['delete'](_0x3274('0xb'),auth[_0x3274('0x9')](),controller[_0x3274('0x19')]);module[_0x3274('0x1a')]=router;
\ No newline at end of file
+var _0xf34f=['../../components/auth/service','../../components/interaction/service','./trigger.controller','isAuthenticated','get','show','getAllConditions','getAnyConditions','/:id/actions','getActions','create','post','/:id/all_conditions','addAllCondition','/:id/any_conditions','addAnyCondition','addAction','put','/:id','update','delete','destroy','multer','path','express','fs-extra'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0xf34f,0x64));var _0xff34=function(_0x48c333,_0x3a4f7b){_0x48c333=_0x48c333-0x0;var _0x18bc3c=_0xf34f[_0x48c333];return _0x18bc3c;};'use strict';var multer=require(_0xff34('0x0'));var util=require('util');var path=require(_0xff34('0x1'));var timeout=require('connect-timeout');var express=require(_0xff34('0x2'));var router=express['Router']();var fs_extra=require(_0xff34('0x3'));var auth=require(_0xff34('0x4'));var interaction=require(_0xff34('0x5'));var config=require('../../config/environment');var controller=require(_0xff34('0x6'));router['get']('/',auth[_0xff34('0x7')](),controller['index']);router[_0xff34('0x8')]('/:id',auth[_0xff34('0x7')](),controller[_0xff34('0x9')]);router['get']('/:id/all_conditions',auth[_0xff34('0x7')](),controller[_0xff34('0xa')]);router[_0xff34('0x8')]('/:id/any_conditions',auth[_0xff34('0x7')](),controller[_0xff34('0xb')]);router['get'](_0xff34('0xc'),auth[_0xff34('0x7')](),controller[_0xff34('0xd')]);router['post']('/',auth[_0xff34('0x7')](),controller[_0xff34('0xe')]);router[_0xff34('0xf')](_0xff34('0x10'),auth[_0xff34('0x7')](),controller[_0xff34('0x11')]);router[_0xff34('0xf')](_0xff34('0x12'),auth[_0xff34('0x7')](),controller[_0xff34('0x13')]);router[_0xff34('0xf')](_0xff34('0xc'),auth[_0xff34('0x7')](),controller[_0xff34('0x14')]);router[_0xff34('0x15')](_0xff34('0x16'),auth[_0xff34('0x7')](),controller[_0xff34('0x17')]);router[_0xff34('0x18')](_0xff34('0x16'),auth['isAuthenticated'](),controller[_0xff34('0x19')]);module['exports']=router;
\ No newline at end of file