Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index af0288e..ffd1406 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x436a=['save','update','remove','emit','hook','exports','../../mysqldb','VoiceQueueReport','setMaxListeners'];(function(_0x3cae69,_0x233c38){var _0x3128eb=function(_0x21d64e){while(--_0x21d64e){_0x3cae69['push'](_0x3cae69['shift']());}};_0x3128eb(++_0x233c38);}(_0x436a,0x15c));var _0xa436=function(_0x321ddc,_0x58f72a){_0x321ddc=_0x321ddc-0x0;var _0x277f53=_0x436a[_0x321ddc];return _0x277f53;};'use strict';var EventEmitter=require('events');var VoiceQueueReport=require(_0xa436('0x0'))['db'][_0xa436('0x1')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0xa436('0x2')](0x0);var events={'afterCreate':_0xa436('0x3'),'afterUpdate':_0xa436('0x4'),'afterDestroy':_0xa436('0x5')};function emitEvent(_0x27d254){return function(_0x1e197a,_0x4fd4ee,_0x3e39be){VoiceQueueReportEvents[_0xa436('0x6')](_0x27d254+':'+_0x1e197a['id'],_0x1e197a);VoiceQueueReportEvents['emit'](_0x27d254,_0x1e197a);_0x3e39be(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];VoiceQueueReport[_0xa436('0x7')](e,emitEvent(event));}}module[_0xa436('0x8')]=VoiceQueueReportEvents;
\ No newline at end of file
+var _0xf3d2=['remove','emit','hasOwnProperty','exports','../../mysqldb','VoiceQueueReport','save','update'];(function(_0x4d2b2c,_0x13d5ec){var _0x58e0fa=function(_0x133108){while(--_0x133108){_0x4d2b2c['push'](_0x4d2b2c['shift']());}};_0x58e0fa(++_0x13d5ec);}(_0xf3d2,0x1bc));var _0x2f3d=function(_0x560d2a,_0x4a9f54){_0x560d2a=_0x560d2a-0x0;var _0x3df62d=_0xf3d2[_0x560d2a];return _0x3df62d;};'use strict';var EventEmitter=require('events');var VoiceQueueReport=require(_0x2f3d('0x0'))['db'][_0x2f3d('0x1')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x2f3d('0x2'),'afterUpdate':_0x2f3d('0x3'),'afterDestroy':_0x2f3d('0x4')};function emitEvent(_0x43b520){return function(_0x8877eb,_0x2477ba,_0x2bd232){VoiceQueueReportEvents['emit'](_0x43b520+':'+_0x8877eb['id'],_0x8877eb);VoiceQueueReportEvents[_0x2f3d('0x5')](_0x43b520,_0x8877eb);_0x2bd232(null);};}for(var e in events){if(events[_0x2f3d('0x6')](e)){var event=events[e];VoiceQueueReport['hook'](e,emitEvent(event));}}module[_0x2f3d('0x7')]=VoiceQueueReportEvents;
\ No newline at end of file