Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index abca2ad..e509487 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0054=['save','update','emit','hasOwnProperty','exports','events','../../mysqldb','VoiceQueueReport'];(function(_0x49bdc4,_0x1e2507){var _0x1f7437=function(_0x25a9f9){while(--_0x25a9f9){_0x49bdc4['push'](_0x49bdc4['shift']());}};_0x1f7437(++_0x1e2507);}(_0x0054,0x135));var _0x4005=function(_0x528d27,_0x50f791){_0x528d27=_0x528d27-0x0;var _0x1889fc=_0x0054[_0x528d27];return _0x1889fc;};'use strict';var EventEmitter=require(_0x4005('0x0'));var VoiceQueueReport=require(_0x4005('0x1'))['db'][_0x4005('0x2')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x4005('0x3'),'afterUpdate':_0x4005('0x4'),'afterDestroy':'remove'};function emitEvent(_0x54cbb0){return function(_0x2d19cc,_0x32940a,_0x30710b){VoiceQueueReportEvents[_0x4005('0x5')](_0x54cbb0+':'+_0x2d19cc['id'],_0x2d19cc);VoiceQueueReportEvents[_0x4005('0x5')](_0x54cbb0,_0x2d19cc);_0x30710b(null);};}for(var e in events){if(events[_0x4005('0x6')](e)){var event=events[e];VoiceQueueReport['hook'](e,emitEvent(event));}}module[_0x4005('0x7')]=VoiceQueueReportEvents;
\ No newline at end of file
+var _0xfab7=['events','../../mysqldb','VoiceQueueReport','setMaxListeners','save','update','remove','emit','hook','exports'];(function(_0x26d7da,_0x5338bf){var _0x4d8e7b=function(_0x226898){while(--_0x226898){_0x26d7da['push'](_0x26d7da['shift']());}};_0x4d8e7b(++_0x5338bf);}(_0xfab7,0xfa));var _0x7fab=function(_0x2d2b3f,_0x498c26){_0x2d2b3f=_0x2d2b3f-0x0;var _0x4fc433=_0xfab7[_0x2d2b3f];return _0x4fc433;};'use strict';var EventEmitter=require(_0x7fab('0x0'));var VoiceQueueReport=require(_0x7fab('0x1'))['db'][_0x7fab('0x2')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0x7fab('0x3')](0x0);var events={'afterCreate':_0x7fab('0x4'),'afterUpdate':_0x7fab('0x5'),'afterDestroy':_0x7fab('0x6')};function emitEvent(_0x4c9387){return function(_0x2ed313,_0x5c7f76,_0x362d42){VoiceQueueReportEvents[_0x7fab('0x7')](_0x4c9387+':'+_0x2ed313['id'],_0x2ed313);VoiceQueueReportEvents[_0x7fab('0x7')](_0x4c9387,_0x2ed313);_0x362d42(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];VoiceQueueReport[_0x7fab('0x8')](e,emitEvent(event));}}module[_0x7fab('0x9')]=VoiceQueueReportEvents;
\ No newline at end of file