Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / services / ami / rpc / trigger.js
index 8da3053..2372e08 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc23c=['data7','../client','GetTrigger','name','status','Condition','AllConditions','field','operator','value','AnyConditions','Action','Actions','data3','data4','data6'];(function(_0x25212e,_0x35c573){var _0xa65397=function(_0x351170){while(--_0x351170){_0x25212e['push'](_0x25212e['shift']());}};_0xa65397(++_0x35c573);}(_0xc23c,0x1e1));var _0xcc23=function(_0x24b66b,_0x149f2a){_0x24b66b=_0x24b66b-0x0;var _0x1eac23=_0xc23c[_0x24b66b];return _0x1eac23;};'use strict';var client=require(_0xcc23('0x0'));exports['getTriggers']=function(_0x1794f9){return function(_0xcdf465){return client['Request'](_0xcc23('0x1'),{'options':{'raw':![],'attributes':['id',_0xcc23('0x2'),'channel',_0xcc23('0x3')],'include':[{'model':_0xcc23('0x4'),'as':_0xcc23('0x5'),'attributes':['id',_0xcc23('0x6'),_0xcc23('0x7'),_0xcc23('0x8')]},{'model':_0xcc23('0x4'),'as':_0xcc23('0x9'),'attributes':['id',_0xcc23('0x6'),_0xcc23('0x7'),_0xcc23('0x8')]},{'model':_0xcc23('0xa'),'as':_0xcc23('0xb'),'attributes':['id','action','data1','data2',_0xcc23('0xc'),_0xcc23('0xd'),'data5',_0xcc23('0xe'),_0xcc23('0xf')]}]},'log':_0xcc23('0x1')});};};
\ 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