Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / trigger / index.js
index 7d81fc1..540a627 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4c84=['getAnyConditions','post','create','addAllCondition','addAnyCondition','/:id/actions','addAction','put','update','delete','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./trigger.controller','get','isAuthenticated','index','/:id','show','/:id/all_conditions','getAllConditions','/:id/any_conditions'];(function(_0x28168e,_0x3a2565){var _0x26d32c=function(_0xc0fc69){while(--_0xc0fc69){_0x28168e['push'](_0x28168e['shift']());}};_0x26d32c(++_0x3a2565);}(_0x4c84,0x1df));var _0x44c8=function(_0x13a919,_0xafb244){_0x13a919=_0x13a919-0x0;var _0x2191d4=_0x4c84[_0x13a919];return _0x2191d4;};'use strict';var multer=require(_0x44c8('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x44c8('0x1'));var express=require('express');var router=express[_0x44c8('0x2')]();var auth=require(_0x44c8('0x3'));var interaction=require(_0x44c8('0x4'));var config=require(_0x44c8('0x5'));var controller=require(_0x44c8('0x6'));router[_0x44c8('0x7')]('/',auth[_0x44c8('0x8')](),controller[_0x44c8('0x9')]);router[_0x44c8('0x7')](_0x44c8('0xa'),auth['isAuthenticated'](),controller[_0x44c8('0xb')]);router[_0x44c8('0x7')](_0x44c8('0xc'),auth[_0x44c8('0x8')](),controller[_0x44c8('0xd')]);router[_0x44c8('0x7')](_0x44c8('0xe'),auth['isAuthenticated'](),controller[_0x44c8('0xf')]);router['get']('/:id/actions',auth[_0x44c8('0x8')](),controller['getActions']);router[_0x44c8('0x10')]('/',auth['isAuthenticated'](),controller[_0x44c8('0x11')]);router['post']('/:id/all_conditions',auth[_0x44c8('0x8')](),controller[_0x44c8('0x12')]);router[_0x44c8('0x10')](_0x44c8('0xe'),auth[_0x44c8('0x8')](),controller[_0x44c8('0x13')]);router['post'](_0x44c8('0x14'),auth[_0x44c8('0x8')](),controller[_0x44c8('0x15')]);router[_0x44c8('0x16')]('/:id',auth[_0x44c8('0x8')](),controller[_0x44c8('0x17')]);router[_0x44c8('0x18')]('/:id',auth[_0x44c8('0x8')](),controller['destroy']);module[_0x44c8('0x19')]=router;
\ No newline at end of file
+var _0x5c13=['post','create','addAllCondition','/:id/any_conditions','addAnyCondition','addAction','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./trigger.controller','get','isAuthenticated','/:id','/:id/all_conditions','getAllConditions','getAnyConditions','getActions'];(function(_0x5bab4f,_0x5828c9){var _0x296d5c=function(_0x2e6d96){while(--_0x2e6d96){_0x5bab4f['push'](_0x5bab4f['shift']());}};_0x296d5c(++_0x5828c9);}(_0x5c13,0x103));var _0x35c1=function(_0x5e9d35,_0x382c91){_0x5e9d35=_0x5e9d35-0x0;var _0x3beb2e=_0x5c13[_0x5e9d35];return _0x3beb2e;};'use strict';var multer=require(_0x35c1('0x0'));var util=require(_0x35c1('0x1'));var path=require(_0x35c1('0x2'));var timeout=require(_0x35c1('0x3'));var express=require(_0x35c1('0x4'));var router=express[_0x35c1('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x35c1('0x6'));var interaction=require(_0x35c1('0x7'));var config=require('../../config/environment');var controller=require(_0x35c1('0x8'));router[_0x35c1('0x9')]('/',auth[_0x35c1('0xa')](),controller['index']);router[_0x35c1('0x9')](_0x35c1('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x35c1('0x9')](_0x35c1('0xc'),auth[_0x35c1('0xa')](),controller[_0x35c1('0xd')]);router[_0x35c1('0x9')]('/:id/any_conditions',auth[_0x35c1('0xa')](),controller[_0x35c1('0xe')]);router[_0x35c1('0x9')]('/:id/actions',auth['isAuthenticated'](),controller[_0x35c1('0xf')]);router[_0x35c1('0x10')]('/',auth[_0x35c1('0xa')](),controller[_0x35c1('0x11')]);router[_0x35c1('0x10')]('/:id/all_conditions',auth['isAuthenticated'](),controller[_0x35c1('0x12')]);router[_0x35c1('0x10')](_0x35c1('0x13'),auth[_0x35c1('0xa')](),controller[_0x35c1('0x14')]);router[_0x35c1('0x10')]('/:id/actions',auth['isAuthenticated'](),controller[_0x35c1('0x15')]);router['put']('/:id',auth[_0x35c1('0xa')](),controller[_0x35c1('0x16')]);router[_0x35c1('0x17')](_0x35c1('0xb'),auth[_0x35c1('0xa')](),controller['destroy']);module[_0x35c1('0x18')]=router;
\ No newline at end of file