Built motion from commit 129fb4d95212661e48f0db455e75d668addbaddf. Version 3.0.0...
[motion-next.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index 0587ab4..6f7557d 100644 (file)
@@ -1 +1 @@
-const a761_0x3361=['save','exports','undefined','VoiceQueueReport','update','emit','events','../../mysqldb','remove','setMaxListeners','addHook'];(function(_0x1a059f,_0x336140){const _0x25e066=function(_0x14dd26){while(--_0x14dd26){_0x1a059f['push'](_0x1a059f['shift']());}};_0x25e066(++_0x336140);}(a761_0x3361,0x99));const a761_0x25e0=function(_0x1a059f,_0x336140){_0x1a059f=_0x1a059f-0x0;let _0x25e066=a761_0x3361[_0x1a059f];return _0x25e066;};const _0x3f0f15=a761_0x25e0;'use strict';const EventEmitter=require(_0x3f0f15('0x7')),VoiceQueueReport=require(_0x3f0f15('0x8'))['db'][_0x3f0f15('0x4')],VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0x3f0f15('0xa')](0x0);const events={'afterCreate':_0x3f0f15('0x1'),'afterUpdate':_0x3f0f15('0x5'),'afterDestroy':_0x3f0f15('0x9')};function emitEvent(_0x14dd26){return function(_0x4e7928){const _0x3a77cf=a761_0x25e0;VoiceQueueReportEvents['emit'](_0x14dd26+':'+_0x4e7928['id'],_0x4e7928),VoiceQueueReportEvents[_0x3a77cf('0x6')](_0x14dd26,_0x4e7928);};}for(const e in events){if(typeof events[e]!==_0x3f0f15('0x3')){const event=events[e];VoiceQueueReport[_0x3f0f15('0x0')](e,emitEvent(event));}}module[_0x3f0f15('0x2')]=VoiceQueueReportEvents;
\ No newline at end of file
+const a912_0x46b8=['undefined','addHook','exports','setMaxListeners','VoiceQueueReport','events','remove','update','save'];(function(_0x3c8b10,_0x4a2dc6){const _0x46b8bb=function(_0x1dcb92){while(--_0x1dcb92){_0x3c8b10['push'](_0x3c8b10['shift']());}};_0x46b8bb(++_0x4a2dc6);}(a912_0x46b8,0x100));const a912_0x1dcb=function(_0x3c8b10,_0x4a2dc6){_0x3c8b10=_0x3c8b10-0x66;let _0x46b8bb=a912_0x46b8[_0x3c8b10];return _0x46b8bb;};const a912_0x43d6e5=a912_0x1dcb;'use strict';const EventEmitter=require(a912_0x43d6e5(0x67)),VoiceQueueReport=require('../../mysqldb')['db'][a912_0x43d6e5(0x66)],VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[a912_0x43d6e5(0x6e)](0x0);const events={'afterCreate':a912_0x43d6e5(0x6a),'afterUpdate':a912_0x43d6e5(0x69),'afterDestroy':a912_0x43d6e5(0x68)};function emitEvent(_0x1afccd){return function(_0x5bdc8a){VoiceQueueReportEvents['emit'](_0x1afccd+':'+_0x5bdc8a['id'],_0x5bdc8a),VoiceQueueReportEvents['emit'](_0x1afccd,_0x5bdc8a);};}for(const e in events){if(typeof events[e]!==a912_0x43d6e5(0x6b)){const event=events[e];VoiceQueueReport[a912_0x43d6e5(0x6c)](e,emitEvent(event));}}module[a912_0x43d6e5(0x6d)]=VoiceQueueReportEvents;
\ No newline at end of file