Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / services / ami / rpc / trigger.js
index b51119b..2372e08 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0260=['action','data1','data2','data3','data6','data7','GetTrigger','../client','getTriggers','name','channel','status','Condition','AllConditions','field','operator','value','Actions'];(function(_0xefb450,_0x32cacc){var _0x35ff77=function(_0x2076ad){while(--_0x2076ad){_0xefb450['push'](_0xefb450['shift']());}};_0x35ff77(++_0x32cacc);}(_0x0260,0x127));var _0x0026=function(_0x75f869,_0x3690d6){_0x75f869=_0x75f869-0x0;var _0x10af8b=_0x0260[_0x75f869];return _0x10af8b;};'use strict';var client=require(_0x0026('0x0'));exports[_0x0026('0x1')]=function(_0x4b26db){return function(_0x9b046e){return client['Request']('GetTrigger',{'options':{'raw':![],'attributes':['id',_0x0026('0x2'),_0x0026('0x3'),_0x0026('0x4')],'include':[{'model':_0x0026('0x5'),'as':_0x0026('0x6'),'attributes':['id',_0x0026('0x7'),_0x0026('0x8'),_0x0026('0x9')]},{'model':_0x0026('0x5'),'as':'AnyConditions','attributes':['id',_0x0026('0x7'),_0x0026('0x8'),'value']},{'model':'Action','as':_0x0026('0xa'),'attributes':['id',_0x0026('0xb'),_0x0026('0xc'),_0x0026('0xd'),_0x0026('0xe'),'data4','data5',_0x0026('0xf'),_0x0026('0x10')]}]},'log':_0x0026('0x11')});};};
\ No newline at end of file
+var _0x2bf0=['data1','data2','data3','data4','data5','data6','../client','getTriggers','Request','GetTrigger','name','channel','status','Condition','AllConditions','field','operator','value','AnyConditions','Action','action'];(function(_0xef0451,_0x70388c){var _0x295d27=function(_0x196977){while(--_0x196977){_0xef0451['push'](_0xef0451['shift']());}};_0x295d27(++_0x70388c);}(_0x2bf0,0x1bf));var _0x02bf=function(_0x153609,_0x56dafd){_0x153609=_0x153609-0x0;var _0x52da1c=_0x2bf0[_0x153609];return _0x52da1c;};'use strict';var client=require(_0x02bf('0x0'));exports[_0x02bf('0x1')]=function(_0x54feb4){return function(_0x2f6c05){return client[_0x02bf('0x2')](_0x02bf('0x3'),{'options':{'raw':![],'attributes':['id',_0x02bf('0x4'),_0x02bf('0x5'),_0x02bf('0x6')],'include':[{'model':_0x02bf('0x7'),'as':_0x02bf('0x8'),'attributes':['id',_0x02bf('0x9'),_0x02bf('0xa'),_0x02bf('0xb')]},{'model':_0x02bf('0x7'),'as':_0x02bf('0xc'),'attributes':['id',_0x02bf('0x9'),_0x02bf('0xa'),'value']},{'model':_0x02bf('0xd'),'as':'Actions','attributes':['id',_0x02bf('0xe'),_0x02bf('0xf'),_0x02bf('0x10'),_0x02bf('0x11'),_0x02bf('0x12'),_0x02bf('0x13'),_0x02bf('0x14'),'data7']}]},'log':_0x02bf('0x3')});};};
\ No newline at end of file