Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index 700fb56..85d6ad0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc88=['VoiceQueueReport','emit','hasOwnProperty','hook','exports','events','../../mysqldb'];(function(_0x2112d4,_0x3c863c){var _0x434972=function(_0x477020){while(--_0x477020){_0x2112d4['push'](_0x2112d4['shift']());}};_0x434972(++_0x3c863c);}(_0xbc88,0x67));var _0x8bc8=function(_0x288c5a,_0x3f65f1){_0x288c5a=_0x288c5a-0x0;var _0x28354f=_0xbc88[_0x288c5a];return _0x28354f;};'use strict';var EventEmitter=require(_0x8bc8('0x0'));var VoiceQueueReport=require(_0x8bc8('0x1'))['db'][_0x8bc8('0x2')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0x179124){return function(_0x11ccc5,_0x1ae28a,_0x1c23bf){VoiceQueueReportEvents[_0x8bc8('0x3')](_0x179124+':'+_0x11ccc5['id'],_0x11ccc5);VoiceQueueReportEvents['emit'](_0x179124,_0x11ccc5);_0x1c23bf(null);};}for(var e in events){if(events[_0x8bc8('0x4')](e)){var event=events[e];VoiceQueueReport[_0x8bc8('0x5')](e,emitEvent(event));}}module[_0x8bc8('0x6')]=VoiceQueueReportEvents;
\ No newline at end of file
+var _0x12d8=['remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','VoiceQueueReport','save','update'];(function(_0x478d72,_0x2d6b7a){var _0x5ef7cf=function(_0x199aea){while(--_0x199aea){_0x478d72['push'](_0x478d72['shift']());}};_0x5ef7cf(++_0x2d6b7a);}(_0x12d8,0xcd));var _0x812d=function(_0x4ce9ac,_0x3a98d8){_0x4ce9ac=_0x4ce9ac-0x0;var _0x34fcb4=_0x12d8[_0x4ce9ac];return _0x34fcb4;};'use strict';var EventEmitter=require(_0x812d('0x0'));var VoiceQueueReport=require(_0x812d('0x1'))['db'][_0x812d('0x2')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x812d('0x3'),'afterUpdate':_0x812d('0x4'),'afterDestroy':_0x812d('0x5')};function emitEvent(_0xe6fc3d){return function(_0x606b62,_0x32b3a1,_0x839fe){VoiceQueueReportEvents[_0x812d('0x6')](_0xe6fc3d+':'+_0x606b62['id'],_0x606b62);VoiceQueueReportEvents['emit'](_0xe6fc3d,_0x606b62);_0x839fe(null);};}for(var e in events){if(events[_0x812d('0x7')](e)){var event=events[e];VoiceQueueReport[_0x812d('0x8')](e,emitEvent(event));}}module[_0x812d('0x9')]=VoiceQueueReportEvents;
\ No newline at end of file