Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.socket.js
index 273700a..8454fc7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd1ae=['remove','emit','register','length','whatsappInteraction:','./whatsappInteraction.events'];(function(_0x4b2d44,_0x3cb79f){var _0x359d92=function(_0xe00ed4){while(--_0xe00ed4){_0x4b2d44['push'](_0x4b2d44['shift']());}};_0x359d92(++_0x3cb79f);}(_0xd1ae,0x197));var _0xed1a=function(_0x21e39e,_0x16ce15){_0x21e39e=_0x21e39e-0x0;var _0x38eabc=_0xd1ae[_0x21e39e];return _0x38eabc;};'use strict';var WhatsappInteractionEvents=require(_0xed1a('0x0'));var events=['save',_0xed1a('0x1'),'update'];function createListener(_0x2e0573,_0x32b00d){return function(_0xa7edd7){_0x32b00d[_0xed1a('0x2')](_0x2e0573,_0xa7edd7);};}function removeListener(_0x272e6f,_0x2bb78d){return function(){WhatsappInteractionEvents['removeListener'](_0x272e6f,_0x2bb78d);};}exports[_0xed1a('0x3')]=function(_0x26ed2e){for(var _0x507cbe=0x0,_0x19075b=events[_0xed1a('0x4')];_0x507cbe<_0x19075b;_0x507cbe++){var _0x3b8f2d=events[_0x507cbe];var _0x3db68c=createListener(_0xed1a('0x5')+_0x3b8f2d,_0x26ed2e);WhatsappInteractionEvents['on'](_0x3b8f2d,_0x3db68c);}};
\ No newline at end of file
+var _0xb1db=['remove','update','emit','length','./whatsappInteraction.events','save'];(function(_0x49b207,_0x408ade){var _0x2dc8fa=function(_0x150975){while(--_0x150975){_0x49b207['push'](_0x49b207['shift']());}};_0x2dc8fa(++_0x408ade);}(_0xb1db,0x1ae));var _0xbb1d=function(_0x3e3c75,_0xdf7296){_0x3e3c75=_0x3e3c75-0x0;var _0x404925=_0xb1db[_0x3e3c75];return _0x404925;};'use strict';var WhatsappInteractionEvents=require(_0xbb1d('0x0'));var events=[_0xbb1d('0x1'),_0xbb1d('0x2'),_0xbb1d('0x3')];function createListener(_0x3e7d4e,_0x8e7775){return function(_0x1082a9){_0x8e7775[_0xbb1d('0x4')](_0x3e7d4e,_0x1082a9);};}function removeListener(_0x467482,_0x8249f5){return function(){WhatsappInteractionEvents['removeListener'](_0x467482,_0x8249f5);};}exports['register']=function(_0x2351ae){for(var _0x1be73a=0x0,_0x408711=events[_0xbb1d('0x5')];_0x1be73a<_0x408711;_0x1be73a++){var _0x537c8a=events[_0x1be73a];var _0x3fb953=createListener('whatsappInteraction:'+_0x537c8a,_0x2351ae);WhatsappInteractionEvents['on'](_0x537c8a,_0x3fb953);}};
\ No newline at end of file