Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / services / ami / rpc / trigger.js
index e9ea492..2372e08 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x15a4=['getTriggers','Request','name','status','Condition','AllConditions','field','value','AnyConditions','Action','Actions','data1','data2','data3','data4','data5','data6','data7','GetTrigger','../client'];(function(_0x50a0c2,_0x4befab){var _0x5ebadd=function(_0x3a3342){while(--_0x3a3342){_0x50a0c2['push'](_0x50a0c2['shift']());}};_0x5ebadd(++_0x4befab);}(_0x15a4,0x1f3));var _0x415a=function(_0x3cb1ba,_0x41f8f0){_0x3cb1ba=_0x3cb1ba-0x0;var _0x371d9b=_0x15a4[_0x3cb1ba];return _0x371d9b;};'use strict';var client=require(_0x415a('0x0'));exports[_0x415a('0x1')]=function(_0xbad08f){return function(_0x4e9ccd){return client[_0x415a('0x2')]('GetTrigger',{'options':{'raw':![],'attributes':['id',_0x415a('0x3'),'channel',_0x415a('0x4')],'include':[{'model':_0x415a('0x5'),'as':_0x415a('0x6'),'attributes':['id',_0x415a('0x7'),'operator',_0x415a('0x8')]},{'model':_0x415a('0x5'),'as':_0x415a('0x9'),'attributes':['id',_0x415a('0x7'),'operator',_0x415a('0x8')]},{'model':_0x415a('0xa'),'as':_0x415a('0xb'),'attributes':['id','action',_0x415a('0xc'),_0x415a('0xd'),_0x415a('0xe'),_0x415a('0xf'),_0x415a('0x10'),_0x415a('0x11'),_0x415a('0x12')]}]},'log':_0x415a('0x13')});};};
\ 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