Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / trigger / index.js
index 71c2a0c..81b2dcc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd679=['/:id','isAuthenticated','show','/:id/all_conditions','getAllConditions','/:id/actions','getActions','post','create','addAllCondition','addAnyCondition','addAction','put','update','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','index'];(function(_0x471e81,_0x19816a){var _0x5388b9=function(_0x484338){while(--_0x484338){_0x471e81['push'](_0x471e81['shift']());}};_0x5388b9(++_0x19816a);}(_0xd679,0xcc));var _0x9d67=function(_0x1f3062,_0x22ad7d){_0x1f3062=_0x1f3062-0x0;var _0x5aac3d=_0xd679[_0x1f3062];return _0x5aac3d;};'use strict';var multer=require('multer');var util=require(_0x9d67('0x0'));var path=require(_0x9d67('0x1'));var timeout=require(_0x9d67('0x2'));var express=require(_0x9d67('0x3'));var router=express[_0x9d67('0x4')]();var fs_extra=require(_0x9d67('0x5'));var auth=require(_0x9d67('0x6'));var interaction=require(_0x9d67('0x7'));var config=require(_0x9d67('0x8'));var controller=require(_0x9d67('0x9'));router[_0x9d67('0xa')]('/',auth['isAuthenticated'](),controller[_0x9d67('0xb')]);router['get'](_0x9d67('0xc'),auth[_0x9d67('0xd')](),controller[_0x9d67('0xe')]);router['get'](_0x9d67('0xf'),auth[_0x9d67('0xd')](),controller[_0x9d67('0x10')]);router[_0x9d67('0xa')]('/:id/any_conditions',auth['isAuthenticated'](),controller['getAnyConditions']);router[_0x9d67('0xa')](_0x9d67('0x11'),auth[_0x9d67('0xd')](),controller[_0x9d67('0x12')]);router[_0x9d67('0x13')]('/',auth[_0x9d67('0xd')](),controller[_0x9d67('0x14')]);router[_0x9d67('0x13')](_0x9d67('0xf'),auth[_0x9d67('0xd')](),controller[_0x9d67('0x15')]);router[_0x9d67('0x13')]('/:id/any_conditions',auth[_0x9d67('0xd')](),controller[_0x9d67('0x16')]);router['post'](_0x9d67('0x11'),auth[_0x9d67('0xd')](),controller[_0x9d67('0x17')]);router[_0x9d67('0x18')]('/:id',auth['isAuthenticated'](),controller[_0x9d67('0x19')]);router['delete']('/:id',auth[_0x9d67('0xd')](),controller[_0x9d67('0x1a')]);module['exports']=router;
\ No newline at end of file
+var _0xa45c=['util','express','fs-extra','../../components/interaction/service','get','isAuthenticated','index','show','/:id/all_conditions','/:id/any_conditions','getAnyConditions','/:id/actions','post','create','addAllCondition','addAction','put','/:id','delete','destroy','exports','multer'];(function(_0x5a61c2,_0x18cd7c){var _0x57b30f=function(_0x380b22){while(--_0x380b22){_0x5a61c2['push'](_0x5a61c2['shift']());}};_0x57b30f(++_0x18cd7c);}(_0xa45c,0x6d));var _0xca45=function(_0x24fd3a,_0x522e4c){_0x24fd3a=_0x24fd3a-0x0;var _0x262630=_0xa45c[_0x24fd3a];return _0x262630;};'use strict';var multer=require(_0xca45('0x0'));var util=require(_0xca45('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xca45('0x2'));var router=express['Router']();var fs_extra=require(_0xca45('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xca45('0x4'));var config=require('../../config/environment');var controller=require('./trigger.controller');router[_0xca45('0x5')]('/',auth[_0xca45('0x6')](),controller[_0xca45('0x7')]);router[_0xca45('0x5')]('/:id',auth[_0xca45('0x6')](),controller[_0xca45('0x8')]);router[_0xca45('0x5')](_0xca45('0x9'),auth[_0xca45('0x6')](),controller['getAllConditions']);router[_0xca45('0x5')](_0xca45('0xa'),auth[_0xca45('0x6')](),controller[_0xca45('0xb')]);router[_0xca45('0x5')](_0xca45('0xc'),auth[_0xca45('0x6')](),controller['getActions']);router[_0xca45('0xd')]('/',auth[_0xca45('0x6')](),controller[_0xca45('0xe')]);router[_0xca45('0xd')]('/:id/all_conditions',auth[_0xca45('0x6')](),controller[_0xca45('0xf')]);router[_0xca45('0xd')]('/:id/any_conditions',auth[_0xca45('0x6')](),controller['addAnyCondition']);router[_0xca45('0xd')](_0xca45('0xc'),auth[_0xca45('0x6')](),controller[_0xca45('0x10')]);router[_0xca45('0x11')](_0xca45('0x12'),auth[_0xca45('0x6')](),controller['update']);router[_0xca45('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xca45('0x14')]);module[_0xca45('0x15')]=router;
\ No newline at end of file