Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / services / ami / rpc / trigger.js
index 21720df..f16988c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4030=['Actions','action','data2','data4','data5','data6','data7','GetTrigger','getTriggers','Request','name','status','Condition','AllConditions','field','operator','value','Action'];(function(_0x1e5482,_0xf428e6){var _0x3e868c=function(_0x59caf3){while(--_0x59caf3){_0x1e5482['push'](_0x1e5482['shift']());}};_0x3e868c(++_0xf428e6);}(_0x4030,0x74));var _0x0403=function(_0x4d2abc,_0x29b228){_0x4d2abc=_0x4d2abc-0x0;var _0x5c4540=_0x4030[_0x4d2abc];return _0x5c4540;};'use strict';var client=require('../client');exports[_0x0403('0x0')]=function(_0x41675f){return function(_0x32fefd){return client[_0x0403('0x1')]('GetTrigger',{'options':{'raw':![],'attributes':['id',_0x0403('0x2'),'channel',_0x0403('0x3')],'include':[{'model':_0x0403('0x4'),'as':_0x0403('0x5'),'attributes':['id',_0x0403('0x6'),_0x0403('0x7'),'value']},{'model':'Condition','as':'AnyConditions','attributes':['id',_0x0403('0x6'),_0x0403('0x7'),_0x0403('0x8')]},{'model':_0x0403('0x9'),'as':_0x0403('0xa'),'attributes':['id',_0x0403('0xb'),'data1',_0x0403('0xc'),'data3',_0x0403('0xd'),_0x0403('0xe'),_0x0403('0xf'),_0x0403('0x10')]}]},'log':_0x0403('0x11')});};};
\ No newline at end of file
+var _0x95b0=['data5','../client','getTriggers','Request','GetTrigger','name','channel','AllConditions','field','operator','value','Condition','Action','Actions','action','data1','data2','data3','data4'];(function(_0x1fa4b8,_0x255a04){var _0x242257=function(_0x1be45b){while(--_0x1be45b){_0x1fa4b8['push'](_0x1fa4b8['shift']());}};_0x242257(++_0x255a04);}(_0x95b0,0xf8));var _0x095b=function(_0x344ff9,_0x118a52){_0x344ff9=_0x344ff9-0x0;var _0xe0cfb2=_0x95b0[_0x344ff9];return _0xe0cfb2;};'use strict';var client=require(_0x095b('0x0'));exports[_0x095b('0x1')]=function(_0x1fc688){return function(_0x26ebb6){return client[_0x095b('0x2')](_0x095b('0x3'),{'options':{'raw':![],'attributes':['id',_0x095b('0x4'),_0x095b('0x5'),'status'],'include':[{'model':'Condition','as':_0x095b('0x6'),'attributes':['id',_0x095b('0x7'),_0x095b('0x8'),_0x095b('0x9')]},{'model':_0x095b('0xa'),'as':'AnyConditions','attributes':['id','field',_0x095b('0x8'),_0x095b('0x9')]},{'model':_0x095b('0xb'),'as':_0x095b('0xc'),'attributes':['id',_0x095b('0xd'),_0x095b('0xe'),_0x095b('0xf'),_0x095b('0x10'),_0x095b('0x11'),_0x095b('0x12'),'data6','data7']}]},'log':'GetTrigger'});};};
\ No newline at end of file