Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / chatQueueReport / chatQueueReport.controller.js
index c2e1625..d1817aa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5c22=['length','hasOwnProperty','limit','sort','pick','filter','where','merge','VIRTUAL','includeAll','include','rows','catch','show','intersection','create','body','find','params','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','sendStatus','status','count','offset','set','Content-Range','json','apply','save','update','then','destroy','error','stack','name','send','index','map','ChatQueueReport','fieldName','type','key','model','query','keys','filters','fields','attributes'];(function(_0x38537f,_0x252124){var _0x141e23=function(_0x2809b5){while(--_0x2809b5){_0x38537f['push'](_0x38537f['shift']());}};_0x141e23(++_0x252124);}(_0x5c22,0xe9));var _0x25c2=function(_0x2196b0,_0x599ee1){_0x2196b0=_0x2196b0-0x0;var _0x3483fd=_0x5c22[_0x2196b0];return _0x3483fd;};'use strict';var pdf=require(_0x25c2('0x0'));var emlformat=require(_0x25c2('0x1'));var rimraf=require(_0x25c2('0x2'));var zipdir=require(_0x25c2('0x3'));var jsonpatch=require(_0x25c2('0x4'));var rp=require('request-promise');var moment=require(_0x25c2('0x5'));var BPromise=require(_0x25c2('0x6'));var Mustache=require(_0x25c2('0x7'));var util=require('util');var path=require(_0x25c2('0x8'));var sox=require(_0x25c2('0x9'));var csv=require(_0x25c2('0xa'));var ejs=require(_0x25c2('0xb'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x25c2('0xc'));var jsforce=require(_0x25c2('0xd'));var deskjs=require(_0x25c2('0xe'));var toCsv=require(_0x25c2('0xa'));var querystring=require(_0x25c2('0xf'));var Papa=require(_0x25c2('0x10'));var Redis=require('ioredis');var authService=require(_0x25c2('0x11'));var qs=require(_0x25c2('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x25c2('0x13'));var logger=require(_0x25c2('0x14'))(_0x25c2('0x15'));var utils=require(_0x25c2('0x16'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5ee951,_0x37f560){_0x37f560=_0x37f560||0xcc;return function(_0x241742){if(_0x241742){return _0x5ee951[_0x25c2('0x17')](_0x37f560);}return _0x5ee951[_0x25c2('0x18')](_0x37f560)['end']();};}function respondWithResult(_0x2098a1,_0x23bdd9){_0x23bdd9=_0x23bdd9||0xc8;return function(_0x2db68){if(_0x2db68){return _0x2098a1['status'](_0x23bdd9)['json'](_0x2db68);}};}function respondWithFilteredResult(_0x1d4370,_0x14b619){return function(_0x2babbb){if(_0x2babbb){var _0x291008=_0x2babbb[_0x25c2('0x19')],_0x1b0cb6=_0x14b619[_0x25c2('0x1a')],_0x2b4fde=_0x14b619[_0x25c2('0x1a')]+_0x14b619['limit'],_0x4cff88;if(_0x2b4fde>=_0x291008){_0x2b4fde=_0x291008;_0x4cff88=0xc8;}else{_0x4cff88=0xce;}_0x1d4370[_0x25c2('0x18')](_0x4cff88);return _0x1d4370[_0x25c2('0x1b')](_0x25c2('0x1c'),_0x1b0cb6+'-'+_0x2b4fde+'/'+_0x291008)[_0x25c2('0x1d')](_0x2babbb);}return null;};}function patchUpdates(_0x3dee7a){return function(_0x531a1a){try{jsonpatch[_0x25c2('0x1e')](_0x531a1a,_0x3dee7a,!![]);}catch(_0x4b3e31){return BPromise['reject'](_0x4b3e31);}return _0x531a1a[_0x25c2('0x1f')]();};}function saveUpdates(_0x517858,_0x8edc0c){return function(_0x5dfa05){if(_0x5dfa05){return _0x5dfa05[_0x25c2('0x20')](_0x517858)[_0x25c2('0x21')](function(_0x4362ff){return _0x4362ff;});}return null;};}function removeEntity(_0x48a345,_0x207f90){return function(_0x50124d){if(_0x50124d){return _0x50124d[_0x25c2('0x22')]()['then'](function(){_0x48a345[_0x25c2('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x15bcb0,_0x2113e0){return function(_0x5951e1){if(!_0x5951e1){_0x15bcb0[_0x25c2('0x17')](0x194);}return _0x5951e1;};}function handleError(_0x2b9410,_0x1793bc){_0x1793bc=_0x1793bc||0x1f4;return function(_0x523a6b){logger[_0x25c2('0x23')](_0x523a6b[_0x25c2('0x24')]);if(_0x523a6b[_0x25c2('0x25')]){delete _0x523a6b[_0x25c2('0x25')];}_0x2b9410[_0x25c2('0x18')](_0x1793bc)[_0x25c2('0x26')](_0x523a6b);};}exports[_0x25c2('0x27')]=function(_0x38003a,_0x49d74e){var _0x346e52={},_0xceb873={},_0x483628={'count':0x0,'rows':[]};var _0x3ca345=_[_0x25c2('0x28')](db[_0x25c2('0x29')]['rawAttributes'],function(_0x34d83a){return{'name':_0x34d83a[_0x25c2('0x2a')],'type':_0x34d83a[_0x25c2('0x2b')][_0x25c2('0x2c')]};});_0xceb873[_0x25c2('0x2d')]=_['map'](_0x3ca345,'name');_0xceb873[_0x25c2('0x2e')]=_[_0x25c2('0x2f')](_0x38003a[_0x25c2('0x2e')]);_0xceb873[_0x25c2('0x30')]=_['intersection'](_0xceb873['model'],_0xceb873[_0x25c2('0x2e')]);_0x346e52['attributes']=_['intersection'](_0xceb873[_0x25c2('0x2d')],qs[_0x25c2('0x31')](_0x38003a['query'][_0x25c2('0x31')]));_0x346e52[_0x25c2('0x32')]=_0x346e52[_0x25c2('0x32')][_0x25c2('0x33')]?_0x346e52[_0x25c2('0x32')]:_0xceb873[_0x25c2('0x2d')];if(!_0x38003a[_0x25c2('0x2e')][_0x25c2('0x34')]('nolimit')){_0x346e52[_0x25c2('0x35')]=qs['limit'](_0x38003a[_0x25c2('0x2e')]['limit']);_0x346e52[_0x25c2('0x1a')]=qs[_0x25c2('0x1a')](_0x38003a['query'][_0x25c2('0x1a')]);}_0x346e52['order']=qs[_0x25c2('0x36')](_0x38003a[_0x25c2('0x2e')]['sort']);_0x346e52['where']=qs['filters'](_[_0x25c2('0x37')](_0x38003a['query'],_0xceb873['filters']),_0x3ca345);if(_0x38003a['query'][_0x25c2('0x38')]){_0x346e52[_0x25c2('0x39')]=_[_0x25c2('0x3a')](_0x346e52[_0x25c2('0x39')],{'$or':_[_0x25c2('0x28')](_0x3ca345,function(_0x52b3c8){if(_0x52b3c8[_0x25c2('0x2b')]!==_0x25c2('0x3b')){var _0x90438={};_0x90438[_0x52b3c8[_0x25c2('0x25')]]={'$like':'%'+_0x38003a[_0x25c2('0x2e')]['filter']+'%'};return _0x90438;}})});}_0x346e52=_[_0x25c2('0x3a')]({},_0x346e52,_0x38003a['options']);var _0x281f53={'where':_0x346e52['where']};return db['ChatQueueReport']['count'](_0x281f53)[_0x25c2('0x21')](function(_0x36ac61){_0x483628[_0x25c2('0x19')]=_0x36ac61;if(_0x38003a[_0x25c2('0x2e')][_0x25c2('0x3c')]){_0x346e52[_0x25c2('0x3d')]=[{'all':!![]}];}return db[_0x25c2('0x29')]['findAll'](_0x346e52);})['then'](function(_0x49fc3f){_0x483628[_0x25c2('0x3e')]=_0x49fc3f;return _0x483628;})[_0x25c2('0x21')](respondWithFilteredResult(_0x49d74e,_0x346e52))[_0x25c2('0x3f')](handleError(_0x49d74e,null));};exports[_0x25c2('0x40')]=function(_0x33a972,_0x31cc9b){var _0x26d58e={'raw':!![],'where':{'id':_0x33a972['params']['id']}},_0x360cc4={};_0x360cc4[_0x25c2('0x2d')]=_['keys'](db[_0x25c2('0x29')]['rawAttributes']);_0x360cc4[_0x25c2('0x2e')]=_[_0x25c2('0x2f')](_0x33a972[_0x25c2('0x2e')]);_0x360cc4[_0x25c2('0x30')]=_[_0x25c2('0x41')](_0x360cc4['model'],_0x360cc4[_0x25c2('0x2e')]);_0x26d58e['attributes']=_[_0x25c2('0x41')](_0x360cc4[_0x25c2('0x2d')],qs[_0x25c2('0x31')](_0x33a972[_0x25c2('0x2e')][_0x25c2('0x31')]));_0x26d58e[_0x25c2('0x32')]=_0x26d58e[_0x25c2('0x32')][_0x25c2('0x33')]?_0x26d58e['attributes']:_0x360cc4['model'];if(_0x33a972[_0x25c2('0x2e')][_0x25c2('0x3c')]){_0x26d58e['include']=[{'all':!![]}];}_0x26d58e=_[_0x25c2('0x3a')]({},_0x26d58e,_0x33a972['options']);return db[_0x25c2('0x29')]['find'](_0x26d58e)[_0x25c2('0x21')](handleEntityNotFound(_0x31cc9b,null))[_0x25c2('0x21')](respondWithResult(_0x31cc9b,null))[_0x25c2('0x3f')](handleError(_0x31cc9b,null));};exports[_0x25c2('0x42')]=function(_0xa1379a,_0x4e2180){return db[_0x25c2('0x29')][_0x25c2('0x42')](_0xa1379a[_0x25c2('0x43')],{})[_0x25c2('0x21')](respondWithResult(_0x4e2180,0xc9))[_0x25c2('0x3f')](handleError(_0x4e2180,null));};exports[_0x25c2('0x20')]=function(_0x416dee,_0x1029e6){if(_0x416dee['body']['id']){delete _0x416dee[_0x25c2('0x43')]['id'];}return db[_0x25c2('0x29')][_0x25c2('0x44')]({'where':{'id':_0x416dee[_0x25c2('0x45')]['id']}})[_0x25c2('0x21')](handleEntityNotFound(_0x1029e6,null))[_0x25c2('0x21')](saveUpdates(_0x416dee[_0x25c2('0x43')],null))[_0x25c2('0x21')](respondWithResult(_0x1029e6,null))['catch'](handleError(_0x1029e6,null));};exports[_0x25c2('0x22')]=function(_0x22d0ba,_0x342896){return db[_0x25c2('0x29')][_0x25c2('0x44')]({'where':{'id':_0x22d0ba[_0x25c2('0x45')]['id']}})['then'](handleEntityNotFound(_0x342896,null))[_0x25c2('0x21')](removeEntity(_0x342896,null))[_0x25c2('0x3f')](handleError(_0x342896,null));};exports[_0x25c2('0x46')]=function(_0x1ac1d3,_0x65b182){return db[_0x25c2('0x29')][_0x25c2('0x46')]()[_0x25c2('0x21')](respondWithResult(_0x65b182,null))['catch'](handleError(_0x65b182,null));};
\ No newline at end of file
+var _0x10dc=['error','stack','send','index','ChatQueueReport','rawAttributes','fieldName','key','model','map','name','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','type','VIRTUAL','options','includeAll','rows','catch','show','include','find','create','body','update','describe','eml-format','rimraf','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','undefined','count','limit','set','Content-Range','apply','reject','save','then','destroy'];(function(_0x5210a2,_0x4f5288){var _0x597bd9=function(_0x3cadb0){while(--_0x3cadb0){_0x5210a2['push'](_0x5210a2['shift']());}};_0x597bd9(++_0x4f5288);}(_0x10dc,0x107));var _0xc10d=function(_0x550133,_0x46acb8){_0x550133=_0x550133-0x0;var _0x466271=_0x10dc[_0x550133];return _0x466271;};'use strict';var emlformat=require(_0xc10d('0x0'));var rimraf=require(_0xc10d('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xc10d('0x2'));var rp=require('request-promise');var moment=require(_0xc10d('0x3'));var BPromise=require(_0xc10d('0x4'));var Mustache=require(_0xc10d('0x5'));var util=require(_0xc10d('0x6'));var path=require(_0xc10d('0x7'));var sox=require(_0xc10d('0x8'));var csv=require(_0xc10d('0x9'));var ejs=require(_0xc10d('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xc10d('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xc10d('0xc'));var deskjs=require(_0xc10d('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xc10d('0xe'));var Redis=require(_0xc10d('0xf'));var authService=require(_0xc10d('0x10'));var qs=require(_0xc10d('0x11'));var as=require(_0xc10d('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xc10d('0x13'));var utils=require('../../config/utils');var config=require(_0xc10d('0x14'));var licenseUtil=require('../../config/license/util');var db=require(_0xc10d('0x15'))['db'];function respondWithStatusCode(_0x4c763c,_0xe5a687){_0xe5a687=_0xe5a687||0xcc;return function(_0xeaa75f){if(_0xeaa75f){return _0x4c763c[_0xc10d('0x16')](_0xe5a687);}return _0x4c763c[_0xc10d('0x17')](_0xe5a687)[_0xc10d('0x18')]();};}function respondWithResult(_0x511ef8,_0x382ed0){_0x382ed0=_0x382ed0||0xc8;return function(_0x517c43){if(_0x517c43){return _0x511ef8[_0xc10d('0x17')](_0x382ed0)[_0xc10d('0x19')](_0x517c43);}};}function respondWithFilteredResult(_0x3cfa24,_0x42b006){return function(_0x3fc902){if(_0x3fc902){var _0x163e1c=typeof _0x42b006[_0xc10d('0x1a')]===_0xc10d('0x1b')&&typeof _0x42b006['limit']==='undefined';var _0x37dd26=_0x3fc902[_0xc10d('0x1c')];var _0x3fc6fd=_0x163e1c?0x0:_0x42b006[_0xc10d('0x1a')];var _0x36f65f=_0x163e1c?_0x3fc902[_0xc10d('0x1c')]:_0x42b006[_0xc10d('0x1a')]+_0x42b006[_0xc10d('0x1d')];var _0x2688d2;if(_0x36f65f>=_0x37dd26){_0x36f65f=_0x37dd26;_0x2688d2=0xc8;}else{_0x2688d2=0xce;}_0x3cfa24[_0xc10d('0x17')](_0x2688d2);return _0x3cfa24[_0xc10d('0x1e')](_0xc10d('0x1f'),_0x3fc6fd+'-'+_0x36f65f+'/'+_0x37dd26)[_0xc10d('0x19')](_0x3fc902);}return null;};}function patchUpdates(_0x49d9d5){return function(_0x1f2321){try{jsonpatch[_0xc10d('0x20')](_0x1f2321,_0x49d9d5,!![]);}catch(_0x4b70c1){return BPromise[_0xc10d('0x21')](_0x4b70c1);}return _0x1f2321[_0xc10d('0x22')]();};}function saveUpdates(_0x489b64,_0xeb6db6){return function(_0x4f8b05){if(_0x4f8b05){return _0x4f8b05['update'](_0x489b64)[_0xc10d('0x23')](function(_0x4a7813){return _0x4a7813;});}return null;};}function removeEntity(_0x4f915e,_0x7dd427){return function(_0x3c206c){if(_0x3c206c){return _0x3c206c[_0xc10d('0x24')]()[_0xc10d('0x23')](function(){_0x4f915e[_0xc10d('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x572959,_0x3afed7){return function(_0x22b732){if(!_0x22b732){_0x572959[_0xc10d('0x16')](0x194);}return _0x22b732;};}function handleError(_0x3e1409,_0x5b6e50){_0x5b6e50=_0x5b6e50||0x1f4;return function(_0x353ad3){logger[_0xc10d('0x25')](_0x353ad3[_0xc10d('0x26')]);if(_0x353ad3['name']){delete _0x353ad3['name'];}_0x3e1409[_0xc10d('0x17')](_0x5b6e50)[_0xc10d('0x27')](_0x353ad3);};}exports[_0xc10d('0x28')]=function(_0x497b8a,_0x18e41a){var _0x4bb8b8={},_0x1c766f={},_0x568a38={'count':0x0,'rows':[]};var _0x4b1873=_['map'](db[_0xc10d('0x29')][_0xc10d('0x2a')],function(_0x2af30d){return{'name':_0x2af30d[_0xc10d('0x2b')],'type':_0x2af30d['type'][_0xc10d('0x2c')]};});_0x1c766f[_0xc10d('0x2d')]=_[_0xc10d('0x2e')](_0x4b1873,_0xc10d('0x2f'));_0x1c766f[_0xc10d('0x30')]=_[_0xc10d('0x31')](_0x497b8a[_0xc10d('0x30')]);_0x1c766f[_0xc10d('0x32')]=_[_0xc10d('0x33')](_0x1c766f[_0xc10d('0x2d')],_0x1c766f[_0xc10d('0x30')]);_0x4bb8b8['attributes']=_[_0xc10d('0x33')](_0x1c766f[_0xc10d('0x2d')],qs[_0xc10d('0x34')](_0x497b8a[_0xc10d('0x30')][_0xc10d('0x34')]));_0x4bb8b8[_0xc10d('0x35')]=_0x4bb8b8['attributes']['length']?_0x4bb8b8[_0xc10d('0x35')]:_0x1c766f[_0xc10d('0x2d')];if(!_0x497b8a[_0xc10d('0x30')][_0xc10d('0x36')](_0xc10d('0x37'))){_0x4bb8b8[_0xc10d('0x1d')]=qs[_0xc10d('0x1d')](_0x497b8a[_0xc10d('0x30')][_0xc10d('0x1d')]);_0x4bb8b8[_0xc10d('0x1a')]=qs[_0xc10d('0x1a')](_0x497b8a[_0xc10d('0x30')][_0xc10d('0x1a')]);}_0x4bb8b8[_0xc10d('0x38')]=qs['sort'](_0x497b8a[_0xc10d('0x30')][_0xc10d('0x39')]);_0x4bb8b8[_0xc10d('0x3a')]=qs['filters'](_[_0xc10d('0x3b')](_0x497b8a['query'],_0x1c766f[_0xc10d('0x32')]),_0x4b1873);if(_0x497b8a['query'][_0xc10d('0x3c')]){_0x4bb8b8[_0xc10d('0x3a')]=_[_0xc10d('0x3d')](_0x4bb8b8[_0xc10d('0x3a')],{'$or':_[_0xc10d('0x2e')](_0x4b1873,function(_0x5f8d85){if(_0x5f8d85[_0xc10d('0x3e')]!==_0xc10d('0x3f')){var _0x33adc0={};_0x33adc0[_0x5f8d85[_0xc10d('0x2f')]]={'$like':'%'+_0x497b8a[_0xc10d('0x30')][_0xc10d('0x3c')]+'%'};return _0x33adc0;}})});}_0x4bb8b8=_[_0xc10d('0x3d')]({},_0x4bb8b8,_0x497b8a[_0xc10d('0x40')]);var _0x3a0c9d={'where':_0x4bb8b8[_0xc10d('0x3a')]};return db['ChatQueueReport'][_0xc10d('0x1c')](_0x3a0c9d)[_0xc10d('0x23')](function(_0x3e7694){_0x568a38[_0xc10d('0x1c')]=_0x3e7694;if(_0x497b8a[_0xc10d('0x30')][_0xc10d('0x41')]){_0x4bb8b8['include']=[{'all':!![]}];}return db[_0xc10d('0x29')]['findAll'](_0x4bb8b8);})[_0xc10d('0x23')](function(_0x4ce301){_0x568a38[_0xc10d('0x42')]=_0x4ce301;return _0x568a38;})['then'](respondWithFilteredResult(_0x18e41a,_0x4bb8b8))[_0xc10d('0x43')](handleError(_0x18e41a,null));};exports[_0xc10d('0x44')]=function(_0x53a378,_0x2a6eea){var _0x487a4f={'raw':!![],'where':{'id':_0x53a378['params']['id']}},_0x2e4509={};_0x2e4509[_0xc10d('0x2d')]=_[_0xc10d('0x31')](db[_0xc10d('0x29')]['rawAttributes']);_0x2e4509[_0xc10d('0x30')]=_[_0xc10d('0x31')](_0x53a378[_0xc10d('0x30')]);_0x2e4509['filters']=_[_0xc10d('0x33')](_0x2e4509[_0xc10d('0x2d')],_0x2e4509[_0xc10d('0x30')]);_0x487a4f[_0xc10d('0x35')]=_['intersection'](_0x2e4509[_0xc10d('0x2d')],qs[_0xc10d('0x34')](_0x53a378[_0xc10d('0x30')][_0xc10d('0x34')]));_0x487a4f[_0xc10d('0x35')]=_0x487a4f[_0xc10d('0x35')]['length']?_0x487a4f[_0xc10d('0x35')]:_0x2e4509['model'];if(_0x53a378[_0xc10d('0x30')][_0xc10d('0x41')]){_0x487a4f[_0xc10d('0x45')]=[{'all':!![]}];}_0x487a4f=_[_0xc10d('0x3d')]({},_0x487a4f,_0x53a378['options']);return db[_0xc10d('0x29')][_0xc10d('0x46')](_0x487a4f)[_0xc10d('0x23')](handleEntityNotFound(_0x2a6eea,null))[_0xc10d('0x23')](respondWithResult(_0x2a6eea,null))[_0xc10d('0x43')](handleError(_0x2a6eea,null));};exports[_0xc10d('0x47')]=function(_0x5826d4,_0x3dd277){return db[_0xc10d('0x29')]['create'](_0x5826d4[_0xc10d('0x48')],{})[_0xc10d('0x23')](respondWithResult(_0x3dd277,0xc9))[_0xc10d('0x43')](handleError(_0x3dd277,null));};exports[_0xc10d('0x49')]=function(_0x205f70,_0x498ef9){if(_0x205f70[_0xc10d('0x48')]['id']){delete _0x205f70[_0xc10d('0x48')]['id'];}return db[_0xc10d('0x29')][_0xc10d('0x46')]({'where':{'id':_0x205f70['params']['id']}})[_0xc10d('0x23')](handleEntityNotFound(_0x498ef9,null))['then'](saveUpdates(_0x205f70[_0xc10d('0x48')],null))[_0xc10d('0x23')](respondWithResult(_0x498ef9,null))[_0xc10d('0x43')](handleError(_0x498ef9,null));};exports[_0xc10d('0x24')]=function(_0x2f7c29,_0x273e14){return db[_0xc10d('0x29')][_0xc10d('0x46')]({'where':{'id':_0x2f7c29['params']['id']}})[_0xc10d('0x23')](handleEntityNotFound(_0x273e14,null))[_0xc10d('0x23')](removeEntity(_0x273e14,null))[_0xc10d('0x43')](handleError(_0x273e14,null));};exports[_0xc10d('0x4a')]=function(_0x5e1d73,_0x27518f){return db['ChatQueueReport'][_0xc10d('0x4a')]()[_0xc10d('0x23')](respondWithResult(_0x27518f,null))['catch'](handleError(_0x27518f,null));};
\ No newline at end of file