Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index 700fb56..1c36cc1 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 _0xab58=['setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports','../../mysqldb','VoiceQueueReport'];(function(_0x52668b,_0x584327){var _0x483949=function(_0x2d76e9){while(--_0x2d76e9){_0x52668b['push'](_0x52668b['shift']());}};_0x483949(++_0x584327);}(_0xab58,0x17a));var _0x8ab5=function(_0x5d9ec0,_0x388511){_0x5d9ec0=_0x5d9ec0-0x0;var _0xaa5e6f=_0xab58[_0x5d9ec0];return _0xaa5e6f;};'use strict';var EventEmitter=require('events');var VoiceQueueReport=require(_0x8ab5('0x0'))['db'][_0x8ab5('0x1')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0x8ab5('0x2')](0x0);var events={'afterCreate':_0x8ab5('0x3'),'afterUpdate':_0x8ab5('0x4'),'afterDestroy':_0x8ab5('0x5')};function emitEvent(_0x44f886){return function(_0xfcfed8,_0x4bbcc5,_0x39e676){VoiceQueueReportEvents[_0x8ab5('0x6')](_0x44f886+':'+_0xfcfed8['id'],_0xfcfed8);VoiceQueueReportEvents[_0x8ab5('0x6')](_0x44f886,_0xfcfed8);_0x39e676(null);};}for(var e in events){if(events[_0x8ab5('0x7')](e)){var event=events[e];VoiceQueueReport[_0x8ab5('0x8')](e,emitEvent(event));}}module[_0x8ab5('0x9')]=VoiceQueueReportEvents;
\ No newline at end of file