Built motion from commit (unavailable).|2.3.2
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index 0162705..b55957f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x85b1=['emit','hasOwnProperty','hook','../../mysqldb','save'];(function(_0x1b87a6,_0x4b11a0){var _0x3f2b76=function(_0xb685ec){while(--_0xb685ec){_0x1b87a6['push'](_0x1b87a6['shift']());}};_0x3f2b76(++_0x4b11a0);}(_0x85b1,0x10c));var _0x185b=function(_0x1a72f3,_0x217011){_0x1a72f3=_0x1a72f3-0x0;var _0x57ef47=_0x85b1[_0x1a72f3];return _0x57ef47;};'use strict';var EventEmitter=require('events');var VoiceQueueReport=require(_0x185b('0x0'))['db']['VoiceQueueReport'];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x185b('0x1'),'afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0x49fc1b){return function(_0x1a8526,_0x155523,_0x560f7f){VoiceQueueReportEvents['emit'](_0x49fc1b+':'+_0x1a8526['id'],_0x1a8526);VoiceQueueReportEvents[_0x185b('0x2')](_0x49fc1b,_0x1a8526);_0x560f7f(null);};}for(var e in events){if(events[_0x185b('0x3')](e)){var event=events[e];VoiceQueueReport[_0x185b('0x4')](e,emitEvent(event));}}module['exports']=VoiceQueueReportEvents;
\ No newline at end of file
+var _0x336f=['remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','VoiceQueueReport','save','update'];(function(_0x4e94e4,_0x257de6){var _0x4f67f5=function(_0x3cc19b){while(--_0x3cc19b){_0x4e94e4['push'](_0x4e94e4['shift']());}};_0x4f67f5(++_0x257de6);}(_0x336f,0x73));var _0xf336=function(_0x552d36,_0x37de12){_0x552d36=_0x552d36-0x0;var _0x482cda=_0x336f[_0x552d36];return _0x482cda;};'use strict';var EventEmitter=require(_0xf336('0x0'));var VoiceQueueReport=require(_0xf336('0x1'))['db'][_0xf336('0x2')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xf336('0x3'),'afterUpdate':_0xf336('0x4'),'afterDestroy':_0xf336('0x5')};function emitEvent(_0x4b1282){return function(_0x540a08,_0x2ee74a,_0x10b6d2){VoiceQueueReportEvents[_0xf336('0x6')](_0x4b1282+':'+_0x540a08['id'],_0x540a08);VoiceQueueReportEvents[_0xf336('0x6')](_0x4b1282,_0x540a08);_0x10b6d2(null);};}for(var e in events){if(events[_0xf336('0x7')](e)){var event=events[e];VoiceQueueReport[_0xf336('0x8')](e,emitEvent(event));}}module[_0xf336('0x9')]=VoiceQueueReportEvents;
\ No newline at end of file