Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / whatsappQueue / whatsappQueue.events.js
index 5101155..c94e7af 100644 (file)
@@ -1 +1 @@
-const a968_0x1860=['WhatsappQueue','remove','../../mysqldb','emit','exports','update','events','setMaxListeners','addHook','save'];(function(_0x2f91d0,_0x5724fd){const _0x1860c3=function(_0x3279c0){while(--_0x3279c0){_0x2f91d0['push'](_0x2f91d0['shift']());}};_0x1860c3(++_0x5724fd);}(a968_0x1860,0x82));const a968_0x3279=function(_0x2f91d0,_0x5724fd){_0x2f91d0=_0x2f91d0-0x175;let _0x1860c3=a968_0x1860[_0x2f91d0];return _0x1860c3;};const a968_0x268237=a968_0x3279;'use strict';const EventEmitter=require(a968_0x268237(0x17b)),WhatsappQueue=require(a968_0x268237(0x177))['db'][a968_0x268237(0x175)],WhatsappQueueEvents=new EventEmitter();WhatsappQueueEvents[a968_0x268237(0x17c)](0x0);const events={'afterCreate':a968_0x268237(0x17e),'afterUpdate':a968_0x268237(0x17a),'afterDestroy':a968_0x268237(0x176)};function emitEvent(_0x5a7304){return function(_0x5148f4){const _0x36d5d1=a968_0x3279;WhatsappQueueEvents[_0x36d5d1(0x178)](_0x5a7304+':'+_0x5148f4['id'],_0x5148f4),WhatsappQueueEvents[_0x36d5d1(0x178)](_0x5a7304,_0x5148f4);};}for(const e in events){if(typeof events[e]!=='undefined'){const event=events[e];WhatsappQueue[a968_0x268237(0x17d)](e,emitEvent(event));}}module[a968_0x268237(0x179)]=WhatsappQueueEvents;
\ No newline at end of file
+const a968_0x1d3a=['events','setMaxListeners','undefined','save','update','exports','emit','remove'];(function(_0x1f5dc7,_0x1e62fc){const _0x1d3a3e=function(_0x543cd2){while(--_0x543cd2){_0x1f5dc7['push'](_0x1f5dc7['shift']());}};_0x1d3a3e(++_0x1e62fc);}(a968_0x1d3a,0xd8));const a968_0x543c=function(_0x1f5dc7,_0x1e62fc){_0x1f5dc7=_0x1f5dc7-0x132;let _0x1d3a3e=a968_0x1d3a[_0x1f5dc7];return _0x1d3a3e;};const a968_0x2afc73=a968_0x543c;'use strict';const EventEmitter=require(a968_0x2afc73(0x132)),WhatsappQueue=require('../../mysqldb')['db']['WhatsappQueue'],WhatsappQueueEvents=new EventEmitter();WhatsappQueueEvents[a968_0x2afc73(0x133)](0x0);const events={'afterCreate':a968_0x2afc73(0x135),'afterUpdate':a968_0x2afc73(0x136),'afterDestroy':a968_0x2afc73(0x139)};function emitEvent(_0xf75692){return function(_0x27c436){const _0x5bbcba=a968_0x543c;WhatsappQueueEvents[_0x5bbcba(0x138)](_0xf75692+':'+_0x27c436['id'],_0x27c436),WhatsappQueueEvents[_0x5bbcba(0x138)](_0xf75692,_0x27c436);};}for(const e in events){if(typeof events[e]!==a968_0x2afc73(0x134)){const event=events[e];WhatsappQueue['addHook'](e,emitEvent(event));}}module[a968_0x2afc73(0x137)]=WhatsappQueueEvents;
\ No newline at end of file