Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.events.js
index e63bb23..d9d6442 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe6ca=['exports','events','../../mysqldb','setMaxListeners','update','remove','emit','hasOwnProperty','hook'];(function(_0x252345,_0x4b8182){var _0x4b0f28=function(_0x327930){while(--_0x327930){_0x252345['push'](_0x252345['shift']());}};_0x4b0f28(++_0x4b8182);}(_0xe6ca,0x12a));var _0xae6c=function(_0x30b4a5,_0x56d08d){_0x30b4a5=_0x30b4a5-0x0;var _0x3dd26c=_0xe6ca[_0x30b4a5];return _0x3dd26c;};'use strict';var EventEmitter=require(_0xae6c('0x0'));var VoiceQueueReport=require(_0xae6c('0x1'))['db']['VoiceQueueReport'];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0xae6c('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0xae6c('0x3'),'afterDestroy':_0xae6c('0x4')};function emitEvent(_0x354568){return function(_0x592f3a,_0x398c9a,_0x1275cb){VoiceQueueReportEvents['emit'](_0x354568+':'+_0x592f3a['id'],_0x592f3a);VoiceQueueReportEvents[_0xae6c('0x5')](_0x354568,_0x592f3a);_0x1275cb(null);};}for(var e in events){if(events[_0xae6c('0x6')](e)){var event=events[e];VoiceQueueReport[_0xae6c('0x7')](e,emitEvent(event));}}module[_0xae6c('0x8')]=VoiceQueueReportEvents;
\ No newline at end of file
+var _0x39de=['setMaxListeners','save','remove','emit','hasOwnProperty','hook','exports','events','VoiceQueueReport'];(function(_0x45b1ba,_0x5a6a21){var _0x145ddb=function(_0x650d42){while(--_0x650d42){_0x45b1ba['push'](_0x45b1ba['shift']());}};_0x145ddb(++_0x5a6a21);}(_0x39de,0xcd));var _0xe39d=function(_0x3eb450,_0x592b0a){_0x3eb450=_0x3eb450-0x0;var _0x2c4cfd=_0x39de[_0x3eb450];return _0x2c4cfd;};'use strict';var EventEmitter=require(_0xe39d('0x0'));var VoiceQueueReport=require('../../mysqldb')['db'][_0xe39d('0x1')];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0xe39d('0x2')](0x0);var events={'afterCreate':_0xe39d('0x3'),'afterUpdate':'update','afterDestroy':_0xe39d('0x4')};function emitEvent(_0x556522){return function(_0x29fe2a,_0x3063bb,_0x2e3bbd){VoiceQueueReportEvents[_0xe39d('0x5')](_0x556522+':'+_0x29fe2a['id'],_0x29fe2a);VoiceQueueReportEvents[_0xe39d('0x5')](_0x556522,_0x29fe2a);_0x2e3bbd(null);};}for(var e in events){if(events[_0xe39d('0x6')](e)){var event=events[e];VoiceQueueReport[_0xe39d('0x7')](e,emitEvent(event));}}module[_0xe39d('0x8')]=VoiceQueueReportEvents;
\ No newline at end of file