Built motion from commit eddce310.|2.6.12
[motion2.git] / server / services / ami / rpc / trigger.js
index f6278f8..ba184ec 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfd7e=['Action','Actions','action','data1','data4','data6','data7','GetTrigger','../client','getTriggers','Request','status','Condition','AllConditions','field','operator','value','AnyConditions'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xfd7e,0xf2));var _0xefd7=function(_0x6f542f,_0xfcc8c){_0x6f542f=_0x6f542f-0x0;var _0x2a3c8f=_0xfd7e[_0x6f542f];return _0x2a3c8f;};'use strict';var client=require(_0xefd7('0x0'));exports[_0xefd7('0x1')]=function(_0x2b72ca){return function(_0x2afb52){return client[_0xefd7('0x2')]('GetTrigger',{'options':{'raw':![],'attributes':['id','name','channel',_0xefd7('0x3')],'include':[{'model':_0xefd7('0x4'),'as':_0xefd7('0x5'),'attributes':['id',_0xefd7('0x6'),_0xefd7('0x7'),_0xefd7('0x8')]},{'model':'Condition','as':_0xefd7('0x9'),'attributes':['id','field',_0xefd7('0x7'),_0xefd7('0x8')]},{'model':_0xefd7('0xa'),'as':_0xefd7('0xb'),'attributes':['id',_0xefd7('0xc'),_0xefd7('0xd'),'data2','data3',_0xefd7('0xe'),'data5',_0xefd7('0xf'),_0xefd7('0x10')]}]},'log':_0xefd7('0x11')});};};
\ No newline at end of file
+var _0xed4e=['data7','GetTrigger','name','channel','status','field','Condition','operator','value','Action','Actions','action','data2','data3','data5','data6'];(function(_0x1ea19c,_0x499bb5){var _0x387142=function(_0x1c69b6){while(--_0x1c69b6){_0x1ea19c['push'](_0x1ea19c['shift']());}};_0x387142(++_0x499bb5);}(_0xed4e,0x111));var _0xeed4=function(_0x4fe693,_0x4cf2ba){_0x4fe693=_0x4fe693-0x0;var _0x4dde2a=_0xed4e[_0x4fe693];return _0x4dde2a;};'use strict';var client=require('../client');exports['getTriggers']=function(_0x12694a){return function(_0x1125c0){return client['Request'](_0xeed4('0x0'),{'options':{'raw':![],'attributes':['id',_0xeed4('0x1'),_0xeed4('0x2'),_0xeed4('0x3')],'include':[{'model':'Condition','as':'AllConditions','attributes':['id',_0xeed4('0x4'),'operator','value']},{'model':_0xeed4('0x5'),'as':'AnyConditions','attributes':['id',_0xeed4('0x4'),_0xeed4('0x6'),_0xeed4('0x7')]},{'model':_0xeed4('0x8'),'as':_0xeed4('0x9'),'attributes':['id',_0xeed4('0xa'),'data1',_0xeed4('0xb'),_0xeed4('0xc'),'data4',_0xeed4('0xd'),_0xeed4('0xe'),_0xeed4('0xf')]}]},'log':_0xeed4('0x0')});};};
\ No newline at end of file