Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / chatQueueReport / chatQueueReport.controller.js
index 79f17f6..09abda8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf57b=['moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','limit','set','json','reject','save','update','then','destroy','error','stack','name','index','ChatQueueReport','rawAttributes','type','model','map','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filter','merge','options','count','includeAll','findAll','rows','catch','show','include','find','create','body','params','describe','html-pdf','zip-dir','request-promise'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0xf57b,0x121));var _0xbf57=function(_0x4490b1,_0x2b3b55){_0x4490b1=_0x4490b1-0x0;var _0x3b618e=_0xf57b[_0x4490b1];return _0x3b618e;};'use strict';var pdf=require(_0xbf57('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xbf57('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0xbf57('0x2'));var moment=require(_0xbf57('0x3'));var BPromise=require(_0xbf57('0x4'));var Mustache=require(_0xbf57('0x5'));var util=require(_0xbf57('0x6'));var path=require(_0xbf57('0x7'));var sox=require(_0xbf57('0x8'));var csv=require(_0xbf57('0x9'));var ejs=require(_0xbf57('0xa'));var fs=require('fs');var _=require(_0xbf57('0xb'));var squel=require(_0xbf57('0xc'));var crypto=require(_0xbf57('0xd'));var jsforce=require(_0xbf57('0xe'));var deskjs=require(_0xbf57('0xf'));var toCsv=require(_0xbf57('0x9'));var querystring=require(_0xbf57('0x10'));var Papa=require(_0xbf57('0x11'));var Redis=require('ioredis');var authService=require(_0xbf57('0x12'));var qs=require(_0xbf57('0x13'));var as=require(_0xbf57('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xbf57('0x15'))(_0xbf57('0x16'));var utils=require(_0xbf57('0x17'));var config=require('../../config/environment');var licenseUtil=require(_0xbf57('0x18'));var db=require(_0xbf57('0x19'))['db'];function respondWithStatusCode(_0x445fd6,_0x3a3630){_0x3a3630=_0x3a3630||0xcc;return function(_0x29d951){if(_0x29d951){return _0x445fd6[_0xbf57('0x1a')](_0x3a3630);}return _0x445fd6[_0xbf57('0x1b')](_0x3a3630)[_0xbf57('0x1c')]();};}function respondWithResult(_0x176c0a,_0x8e7b74){_0x8e7b74=_0x8e7b74||0xc8;return function(_0x40f25d){if(_0x40f25d){return _0x176c0a[_0xbf57('0x1b')](_0x8e7b74)['json'](_0x40f25d);}};}function respondWithFilteredResult(_0x5961bb,_0x4d9f30){return function(_0x2ef2cf){if(_0x2ef2cf){var _0x493918=_0x2ef2cf['count'],_0x1f7d9e=_0x4d9f30[_0xbf57('0x1d')],_0x14e8ba=_0x4d9f30[_0xbf57('0x1d')]+_0x4d9f30[_0xbf57('0x1e')],_0x4278a8;if(_0x14e8ba>=_0x493918){_0x14e8ba=_0x493918;_0x4278a8=0xc8;}else{_0x4278a8=0xce;}_0x5961bb[_0xbf57('0x1b')](_0x4278a8);return _0x5961bb[_0xbf57('0x1f')]('Content-Range',_0x1f7d9e+'-'+_0x14e8ba+'/'+_0x493918)[_0xbf57('0x20')](_0x2ef2cf);}return null;};}function patchUpdates(_0x1a9ae2){return function(_0x4dc51a){try{jsonpatch['apply'](_0x4dc51a,_0x1a9ae2,!![]);}catch(_0x5043d2){return BPromise[_0xbf57('0x21')](_0x5043d2);}return _0x4dc51a[_0xbf57('0x22')]();};}function saveUpdates(_0x2efc6e,_0x4cedcd){return function(_0x24a1a7){if(_0x24a1a7){return _0x24a1a7[_0xbf57('0x23')](_0x2efc6e)[_0xbf57('0x24')](function(_0x433536){return _0x433536;});}return null;};}function removeEntity(_0x5680f6,_0x5f2829){return function(_0x2cc925){if(_0x2cc925){return _0x2cc925[_0xbf57('0x25')]()[_0xbf57('0x24')](function(){_0x5680f6[_0xbf57('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x14997e,_0xb53079){return function(_0x4d7df1){if(!_0x4d7df1){_0x14997e[_0xbf57('0x1a')](0x194);}return _0x4d7df1;};}function handleError(_0x52d1d7,_0x5a8585){_0x5a8585=_0x5a8585||0x1f4;return function(_0x982eeb){logger[_0xbf57('0x26')](_0x982eeb[_0xbf57('0x27')]);if(_0x982eeb[_0xbf57('0x28')]){delete _0x982eeb[_0xbf57('0x28')];}_0x52d1d7[_0xbf57('0x1b')](_0x5a8585)['send'](_0x982eeb);};}exports[_0xbf57('0x29')]=function(_0x353264,_0xaee786){var _0x29b34e={},_0x3c9d6e={},_0x2650fa={'count':0x0,'rows':[]};var _0x2543cd=_['map'](db[_0xbf57('0x2a')][_0xbf57('0x2b')],function(_0x1668ce){return{'name':_0x1668ce['fieldName'],'type':_0x1668ce[_0xbf57('0x2c')]['key']};});_0x3c9d6e[_0xbf57('0x2d')]=_[_0xbf57('0x2e')](_0x2543cd,_0xbf57('0x28'));_0x3c9d6e['query']=_[_0xbf57('0x2f')](_0x353264[_0xbf57('0x30')]);_0x3c9d6e[_0xbf57('0x31')]=_[_0xbf57('0x32')](_0x3c9d6e['model'],_0x3c9d6e[_0xbf57('0x30')]);_0x29b34e['attributes']=_[_0xbf57('0x32')](_0x3c9d6e['model'],qs[_0xbf57('0x33')](_0x353264['query'][_0xbf57('0x33')]));_0x29b34e[_0xbf57('0x34')]=_0x29b34e['attributes'][_0xbf57('0x35')]?_0x29b34e[_0xbf57('0x34')]:_0x3c9d6e[_0xbf57('0x2d')];if(!_0x353264[_0xbf57('0x30')][_0xbf57('0x36')](_0xbf57('0x37'))){_0x29b34e[_0xbf57('0x1e')]=qs[_0xbf57('0x1e')](_0x353264[_0xbf57('0x30')][_0xbf57('0x1e')]);_0x29b34e[_0xbf57('0x1d')]=qs[_0xbf57('0x1d')](_0x353264[_0xbf57('0x30')]['offset']);}_0x29b34e['order']=qs[_0xbf57('0x38')](_0x353264['query'][_0xbf57('0x38')]);_0x29b34e[_0xbf57('0x39')]=qs['filters'](_['pick'](_0x353264['query'],_0x3c9d6e[_0xbf57('0x31')]),_0x2543cd);if(_0x353264[_0xbf57('0x30')][_0xbf57('0x3a')]){_0x29b34e['where']=_[_0xbf57('0x3b')](_0x29b34e[_0xbf57('0x39')],{'$or':_[_0xbf57('0x2e')](_0x2543cd,function(_0x349e39){if(_0x349e39[_0xbf57('0x2c')]!=='VIRTUAL'){var _0x253fa3={};_0x253fa3[_0x349e39[_0xbf57('0x28')]]={'$like':'%'+_0x353264[_0xbf57('0x30')][_0xbf57('0x3a')]+'%'};return _0x253fa3;}})});}_0x29b34e=_[_0xbf57('0x3b')]({},_0x29b34e,_0x353264[_0xbf57('0x3c')]);var _0x46cd99={'where':_0x29b34e[_0xbf57('0x39')]};return db[_0xbf57('0x2a')][_0xbf57('0x3d')](_0x46cd99)['then'](function(_0x401d33){_0x2650fa['count']=_0x401d33;if(_0x353264[_0xbf57('0x30')][_0xbf57('0x3e')]){_0x29b34e['include']=[{'all':!![]}];}return db['ChatQueueReport'][_0xbf57('0x3f')](_0x29b34e);})['then'](function(_0x1e30c0){_0x2650fa[_0xbf57('0x40')]=_0x1e30c0;return _0x2650fa;})[_0xbf57('0x24')](respondWithFilteredResult(_0xaee786,_0x29b34e))[_0xbf57('0x41')](handleError(_0xaee786,null));};exports[_0xbf57('0x42')]=function(_0x1ca456,_0xa554ab){var _0x4a9ac1={'raw':!![],'where':{'id':_0x1ca456['params']['id']}},_0x3ba72b={};_0x3ba72b[_0xbf57('0x2d')]=_['keys'](db[_0xbf57('0x2a')][_0xbf57('0x2b')]);_0x3ba72b[_0xbf57('0x30')]=_[_0xbf57('0x2f')](_0x1ca456['query']);_0x3ba72b[_0xbf57('0x31')]=_[_0xbf57('0x32')](_0x3ba72b[_0xbf57('0x2d')],_0x3ba72b[_0xbf57('0x30')]);_0x4a9ac1[_0xbf57('0x34')]=_[_0xbf57('0x32')](_0x3ba72b['model'],qs['fields'](_0x1ca456['query']['fields']));_0x4a9ac1[_0xbf57('0x34')]=_0x4a9ac1[_0xbf57('0x34')][_0xbf57('0x35')]?_0x4a9ac1[_0xbf57('0x34')]:_0x3ba72b[_0xbf57('0x2d')];if(_0x1ca456[_0xbf57('0x30')][_0xbf57('0x3e')]){_0x4a9ac1[_0xbf57('0x43')]=[{'all':!![]}];}_0x4a9ac1=_[_0xbf57('0x3b')]({},_0x4a9ac1,_0x1ca456['options']);return db[_0xbf57('0x2a')][_0xbf57('0x44')](_0x4a9ac1)[_0xbf57('0x24')](handleEntityNotFound(_0xa554ab,null))[_0xbf57('0x24')](respondWithResult(_0xa554ab,null))[_0xbf57('0x41')](handleError(_0xa554ab,null));};exports[_0xbf57('0x45')]=function(_0xc382d8,_0x5c63a0){return db[_0xbf57('0x2a')][_0xbf57('0x45')](_0xc382d8[_0xbf57('0x46')],{})[_0xbf57('0x24')](respondWithResult(_0x5c63a0,0xc9))[_0xbf57('0x41')](handleError(_0x5c63a0,null));};exports[_0xbf57('0x23')]=function(_0x24ee5d,_0x546704){if(_0x24ee5d[_0xbf57('0x46')]['id']){delete _0x24ee5d['body']['id'];}return db[_0xbf57('0x2a')][_0xbf57('0x44')]({'where':{'id':_0x24ee5d[_0xbf57('0x47')]['id']}})['then'](handleEntityNotFound(_0x546704,null))[_0xbf57('0x24')](saveUpdates(_0x24ee5d[_0xbf57('0x46')],null))[_0xbf57('0x24')](respondWithResult(_0x546704,null))['catch'](handleError(_0x546704,null));};exports[_0xbf57('0x25')]=function(_0x516076,_0x75e2b4){return db[_0xbf57('0x2a')][_0xbf57('0x44')]({'where':{'id':_0x516076[_0xbf57('0x47')]['id']}})[_0xbf57('0x24')](handleEntityNotFound(_0x75e2b4,null))[_0xbf57('0x24')](removeEntity(_0x75e2b4,null))['catch'](handleError(_0x75e2b4,null));};exports[_0xbf57('0x48')]=function(_0x3bca45,_0x359897){return db[_0xbf57('0x2a')][_0xbf57('0x48')]()['then'](respondWithResult(_0x359897,null))[_0xbf57('0x41')](handleError(_0x359897,null));};
\ No newline at end of file
+var _0xb470=['set','apply','reject','save','update','then','error','stack','name','send','index','ChatQueueReport','rawAttributes','fieldName','type','model','map','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','order','where','pick','merge','VIRTUAL','filter','count','includeAll','include','findAll','catch','params','options','create','body','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit'];(function(_0x57d4fe,_0x339e4a){var _0x43a6c5=function(_0x289d3c){while(--_0x289d3c){_0x57d4fe['push'](_0x57d4fe['shift']());}};_0x43a6c5(++_0x339e4a);}(_0xb470,0x75));var _0x0b47=function(_0x53451c,_0x20a008){_0x53451c=_0x53451c-0x0;var _0x333b41=_0xb470[_0x53451c];return _0x333b41;};'use strict';var emlformat=require(_0x0b47('0x0'));var rimraf=require(_0x0b47('0x1'));var zipdir=require(_0x0b47('0x2'));var jsonpatch=require(_0x0b47('0x3'));var rp=require('request-promise');var moment=require(_0x0b47('0x4'));var BPromise=require(_0x0b47('0x5'));var Mustache=require(_0x0b47('0x6'));var util=require('util');var path=require(_0x0b47('0x7'));var sox=require(_0x0b47('0x8'));var csv=require(_0x0b47('0x9'));var ejs=require(_0x0b47('0xa'));var fs=require('fs');var fs_extra=require(_0x0b47('0xb'));var _=require(_0x0b47('0xc'));var squel=require(_0x0b47('0xd'));var crypto=require(_0x0b47('0xe'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0b47('0xf'));var Redis=require(_0x0b47('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x0b47('0x11'));var as=require(_0x0b47('0x12'));var hardwareService=require(_0x0b47('0x13'));var logger=require(_0x0b47('0x14'))(_0x0b47('0x15'));var utils=require(_0x0b47('0x16'));var config=require(_0x0b47('0x17'));var licenseUtil=require(_0x0b47('0x18'));var db=require(_0x0b47('0x19'))['db'];function respondWithStatusCode(_0x3d8949,_0x53ce05){_0x53ce05=_0x53ce05||0xcc;return function(_0x48efdd){if(_0x48efdd){return _0x3d8949[_0x0b47('0x1a')](_0x53ce05);}return _0x3d8949['status'](_0x53ce05)[_0x0b47('0x1b')]();};}function respondWithResult(_0x1e4988,_0x4d427b){_0x4d427b=_0x4d427b||0xc8;return function(_0x36fe0a){if(_0x36fe0a){return _0x1e4988[_0x0b47('0x1c')](_0x4d427b)[_0x0b47('0x1d')](_0x36fe0a);}};}function respondWithFilteredResult(_0x379c9d,_0x387084){return function(_0x1c5e68){if(_0x1c5e68){var _0x1e9588=typeof _0x387084[_0x0b47('0x1e')]===_0x0b47('0x1f')&&typeof _0x387084[_0x0b47('0x20')]==='undefined';var _0x151eb6=_0x1c5e68['count'];var _0x11f305=_0x1e9588?0x0:_0x387084[_0x0b47('0x1e')];var _0x2b1024=_0x1e9588?_0x1c5e68['count']:_0x387084[_0x0b47('0x1e')]+_0x387084['limit'];var _0x4b5bac;if(_0x2b1024>=_0x151eb6){_0x2b1024=_0x151eb6;_0x4b5bac=0xc8;}else{_0x4b5bac=0xce;}_0x379c9d[_0x0b47('0x1c')](_0x4b5bac);return _0x379c9d[_0x0b47('0x21')]('Content-Range',_0x11f305+'-'+_0x2b1024+'/'+_0x151eb6)[_0x0b47('0x1d')](_0x1c5e68);}return null;};}function patchUpdates(_0x501357){return function(_0x450f1a){try{jsonpatch[_0x0b47('0x22')](_0x450f1a,_0x501357,!![]);}catch(_0x34b129){return BPromise[_0x0b47('0x23')](_0x34b129);}return _0x450f1a[_0x0b47('0x24')]();};}function saveUpdates(_0x2c709c,_0x3bd7f1){return function(_0x2dfdb4){if(_0x2dfdb4){return _0x2dfdb4[_0x0b47('0x25')](_0x2c709c)[_0x0b47('0x26')](function(_0x3e37e8){return _0x3e37e8;});}return null;};}function removeEntity(_0x4f79d4,_0xc87cd){return function(_0x11935a){if(_0x11935a){return _0x11935a['destroy']()[_0x0b47('0x26')](function(){_0x4f79d4[_0x0b47('0x1c')](0xcc)[_0x0b47('0x1b')]();});}};}function handleEntityNotFound(_0xd9c35c,_0x59af8e){return function(_0x47d1b2){if(!_0x47d1b2){_0xd9c35c[_0x0b47('0x1a')](0x194);}return _0x47d1b2;};}function handleError(_0x4228e5,_0x5950fa){_0x5950fa=_0x5950fa||0x1f4;return function(_0x138a03){logger[_0x0b47('0x27')](_0x138a03[_0x0b47('0x28')]);if(_0x138a03[_0x0b47('0x29')]){delete _0x138a03[_0x0b47('0x29')];}_0x4228e5[_0x0b47('0x1c')](_0x5950fa)[_0x0b47('0x2a')](_0x138a03);};}exports[_0x0b47('0x2b')]=function(_0x3550cc,_0x15d877){var _0x370022={},_0x5e90f1={},_0x5bea0d={'count':0x0,'rows':[]};var _0x10c966=_['map'](db[_0x0b47('0x2c')][_0x0b47('0x2d')],function(_0x1842ec){return{'name':_0x1842ec[_0x0b47('0x2e')],'type':_0x1842ec[_0x0b47('0x2f')]['key']};});_0x5e90f1[_0x0b47('0x30')]=_[_0x0b47('0x31')](_0x10c966,_0x0b47('0x29'));_0x5e90f1['query']=_[_0x0b47('0x32')](_0x3550cc[_0x0b47('0x33')]);_0x5e90f1[_0x0b47('0x34')]=_[_0x0b47('0x35')](_0x5e90f1[_0x0b47('0x30')],_0x5e90f1[_0x0b47('0x33')]);_0x370022['attributes']=_['intersection'](_0x5e90f1[_0x0b47('0x30')],qs[_0x0b47('0x36')](_0x3550cc[_0x0b47('0x33')][_0x0b47('0x36')]));_0x370022[_0x0b47('0x37')]=_0x370022[_0x0b47('0x37')][_0x0b47('0x38')]?_0x370022[_0x0b47('0x37')]:_0x5e90f1[_0x0b47('0x30')];if(!_0x3550cc[_0x0b47('0x33')][_0x0b47('0x39')]('nolimit')){_0x370022['limit']=qs[_0x0b47('0x20')](_0x3550cc['query'][_0x0b47('0x20')]);_0x370022[_0x0b47('0x1e')]=qs[_0x0b47('0x1e')](_0x3550cc[_0x0b47('0x33')][_0x0b47('0x1e')]);}_0x370022[_0x0b47('0x3a')]=qs['sort'](_0x3550cc['query']['sort']);_0x370022[_0x0b47('0x3b')]=qs[_0x0b47('0x34')](_[_0x0b47('0x3c')](_0x3550cc[_0x0b47('0x33')],_0x5e90f1[_0x0b47('0x34')]),_0x10c966);if(_0x3550cc[_0x0b47('0x33')]['filter']){_0x370022[_0x0b47('0x3b')]=_[_0x0b47('0x3d')](_0x370022[_0x0b47('0x3b')],{'$or':_[_0x0b47('0x31')](_0x10c966,function(_0x56f92b){if(_0x56f92b['type']!==_0x0b47('0x3e')){var _0x46f0cf={};_0x46f0cf[_0x56f92b['name']]={'$like':'%'+_0x3550cc[_0x0b47('0x33')][_0x0b47('0x3f')]+'%'};return _0x46f0cf;}})});}_0x370022=_[_0x0b47('0x3d')]({},_0x370022,_0x3550cc['options']);var _0x4c724e={'where':_0x370022[_0x0b47('0x3b')]};return db[_0x0b47('0x2c')][_0x0b47('0x40')](_0x4c724e)[_0x0b47('0x26')](function(_0x166334){_0x5bea0d[_0x0b47('0x40')]=_0x166334;if(_0x3550cc[_0x0b47('0x33')][_0x0b47('0x41')]){_0x370022[_0x0b47('0x42')]=[{'all':!![]}];}return db[_0x0b47('0x2c')][_0x0b47('0x43')](_0x370022);})[_0x0b47('0x26')](function(_0x2bd25b){_0x5bea0d['rows']=_0x2bd25b;return _0x5bea0d;})['then'](respondWithFilteredResult(_0x15d877,_0x370022))[_0x0b47('0x44')](handleError(_0x15d877,null));};exports['show']=function(_0x1d424f,_0x484efb){var _0x38e02f={'raw':!![],'where':{'id':_0x1d424f[_0x0b47('0x45')]['id']}},_0x274061={};_0x274061[_0x0b47('0x30')]=_['keys'](db[_0x0b47('0x2c')][_0x0b47('0x2d')]);_0x274061['query']=_[_0x0b47('0x32')](_0x1d424f['query']);_0x274061[_0x0b47('0x34')]=_[_0x0b47('0x35')](_0x274061[_0x0b47('0x30')],_0x274061[_0x0b47('0x33')]);_0x38e02f[_0x0b47('0x37')]=_[_0x0b47('0x35')](_0x274061[_0x0b47('0x30')],qs[_0x0b47('0x36')](_0x1d424f[_0x0b47('0x33')][_0x0b47('0x36')]));_0x38e02f['attributes']=_0x38e02f['attributes']['length']?_0x38e02f['attributes']:_0x274061[_0x0b47('0x30')];if(_0x1d424f[_0x0b47('0x33')]['includeAll']){_0x38e02f[_0x0b47('0x42')]=[{'all':!![]}];}_0x38e02f=_['merge']({},_0x38e02f,_0x1d424f[_0x0b47('0x46')]);return db[_0x0b47('0x2c')]['find'](_0x38e02f)[_0x0b47('0x26')](handleEntityNotFound(_0x484efb,null))[_0x0b47('0x26')](respondWithResult(_0x484efb,null))[_0x0b47('0x44')](handleError(_0x484efb,null));};exports[_0x0b47('0x47')]=function(_0x4ef68d,_0x279665){return db[_0x0b47('0x2c')][_0x0b47('0x47')](_0x4ef68d['body'],{})[_0x0b47('0x26')](respondWithResult(_0x279665,0xc9))[_0x0b47('0x44')](handleError(_0x279665,null));};exports['update']=function(_0x1d5789,_0x5c44b9){if(_0x1d5789['body']['id']){delete _0x1d5789[_0x0b47('0x48')]['id'];}return db[_0x0b47('0x2c')]['find']({'where':{'id':_0x1d5789[_0x0b47('0x45')]['id']}})['then'](handleEntityNotFound(_0x5c44b9,null))[_0x0b47('0x26')](saveUpdates(_0x1d5789[_0x0b47('0x48')],null))[_0x0b47('0x26')](respondWithResult(_0x5c44b9,null))['catch'](handleError(_0x5c44b9,null));};exports['destroy']=function(_0x1c222a,_0x19d635){return db[_0x0b47('0x2c')][_0x0b47('0x49')]({'where':{'id':_0x1c222a[_0x0b47('0x45')]['id']}})[_0x0b47('0x26')](handleEntityNotFound(_0x19d635,null))[_0x0b47('0x26')](removeEntity(_0x19d635,null))[_0x0b47('0x44')](handleError(_0x19d635,null));};exports[_0x0b47('0x4a')]=function(_0xcb8582,_0x5e933){return db['ChatQueueReport'][_0x0b47('0x4a')]()[_0x0b47('0x26')](respondWithResult(_0x5e933,null))[_0x0b47('0x44')](handleError(_0x5e933,null));};
\ No newline at end of file