Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index e5bd797..6ef49e8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb6b4=['hasOwnProperty','hook','exports','events','../../mysqldb','setMaxListeners','save','update','remove','emit'];(function(_0x5b9dd7,_0x43a06e){var _0x49ec19=function(_0x45d4b7){while(--_0x45d4b7){_0x5b9dd7['push'](_0x5b9dd7['shift']());}};_0x49ec19(++_0x43a06e);}(_0xb6b4,0xfd));var _0x4b6b=function(_0x36e656,_0x3e2b1d){_0x36e656=_0x36e656-0x0;var _0x5224f7=_0xb6b4[_0x36e656];return _0x5224f7;};'use strict';var EventEmitter=require(_0x4b6b('0x0'));var VoiceQueueReport=require(_0x4b6b('0x1'))['db']['VoiceQueueReport'];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0x4b6b('0x2')](0x0);var events={'afterCreate':_0x4b6b('0x3'),'afterUpdate':_0x4b6b('0x4'),'afterDestroy':_0x4b6b('0x5')};function emitEvent(_0x1813df){return function(_0x262a51,_0x3ad648,_0x394777){VoiceQueueReportEvents[_0x4b6b('0x6')](_0x1813df+':'+_0x262a51['id'],_0x262a51);VoiceQueueReportEvents[_0x4b6b('0x6')](_0x1813df,_0x262a51);_0x394777(null);};}for(var e in events){if(events[_0x4b6b('0x7')](e)){var event=events[e];VoiceQueueReport[_0x4b6b('0x8')](e,emitEvent(event));}}module[_0x4b6b('0x9')]=VoiceQueueReportEvents;
\ No newline at end of file
+var _0x7590=['emit','hasOwnProperty','hook','exports','../../mysqldb','VoiceQueueReport','setMaxListeners','save','update','remove'];(function(_0x45fc6a,_0x166adb){var _0x14bcfd=function(_0x3ba718){while(--_0x3ba718){_0x45fc6a['push'](_0x45fc6a['shift']());}};_0x14bcfd(++_0x166adb);}(_0x7590,0x1c6));var _0x0759=function(_0x1ebaae,_0x270f11){_0x1ebaae=_0x1ebaae-0x0;var _0x53b153=_0x7590[_0x1ebaae];return _0x53b153;};'use strict';var EventEmitter=require('events');var VoiceQueueReport=require(_0x0759('0x0'))['db'][_0x0759('0x1')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0x0759('0x2')](0x0);var events={'afterCreate':_0x0759('0x3'),'afterUpdate':_0x0759('0x4'),'afterDestroy':_0x0759('0x5')};function emitEvent(_0x801376){return function(_0x565b80,_0x548ded,_0x491b6d){VoiceQueueReportEvents[_0x0759('0x6')](_0x801376+':'+_0x565b80['id'],_0x565b80);VoiceQueueReportEvents['emit'](_0x801376,_0x565b80);_0x491b6d(null);};}for(var e in events){if(events[_0x0759('0x7')](e)){var event=events[e];VoiceQueueReport[_0x0759('0x8')](e,emitEvent(event));}}module[_0x0759('0x9')]=VoiceQueueReportEvents;
\ No newline at end of file