Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / chatQueueReport / chatQueueReport.controller.js
index d8e7131..c379a5a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafc4=['update','destroy','then','stack','name','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filter','merge','map','VIRTUAL','options','ChatQueueReport','includeAll','catch','show','params','create','body','find','describe','eml-format','zip-dir','request-promise','moment','bluebird','mustache','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save'];(function(_0x5dea35,_0x4403ce){var _0x420537=function(_0x262e1c){while(--_0x262e1c){_0x5dea35['push'](_0x5dea35['shift']());}};_0x420537(++_0x4403ce);}(_0xafc4,0x69));var _0x4afc=function(_0x43963c,_0x111a1d){_0x43963c=_0x43963c-0x0;var _0x1b2c40=_0xafc4[_0x43963c];return _0x1b2c40;};'use strict';var emlformat=require(_0x4afc('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x4afc('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x4afc('0x2'));var moment=require(_0x4afc('0x3'));var BPromise=require(_0x4afc('0x4'));var Mustache=require(_0x4afc('0x5'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x4afc('0x6'));var ejs=require(_0x4afc('0x7'));var fs=require('fs');var fs_extra=require(_0x4afc('0x8'));var _=require(_0x4afc('0x9'));var squel=require(_0x4afc('0xa'));var crypto=require(_0x4afc('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x4afc('0xc'));var toCsv=require(_0x4afc('0x6'));var querystring=require(_0x4afc('0xd'));var Papa=require(_0x4afc('0xe'));var Redis=require(_0x4afc('0xf'));var authService=require(_0x4afc('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x4afc('0x11'));var logger=require('../../config/logger')(_0x4afc('0x12'));var utils=require(_0x4afc('0x13'));var config=require('../../config/environment');var licenseUtil=require(_0x4afc('0x14'));var db=require(_0x4afc('0x15'))['db'];function respondWithStatusCode(_0x2b191c,_0x2768bf){_0x2768bf=_0x2768bf||0xcc;return function(_0x1d8f98){if(_0x1d8f98){return _0x2b191c[_0x4afc('0x16')](_0x2768bf);}return _0x2b191c[_0x4afc('0x17')](_0x2768bf)[_0x4afc('0x18')]();};}function respondWithResult(_0x5effb4,_0x26f3f1){_0x26f3f1=_0x26f3f1||0xc8;return function(_0x429fd8){if(_0x429fd8){return _0x5effb4[_0x4afc('0x17')](_0x26f3f1)[_0x4afc('0x19')](_0x429fd8);}};}function respondWithFilteredResult(_0x5f2dc9,_0x4e32e8){return function(_0x2452ae){if(_0x2452ae){var _0x4f3127=typeof _0x4e32e8[_0x4afc('0x1a')]===_0x4afc('0x1b')&&typeof _0x4e32e8[_0x4afc('0x1c')]===_0x4afc('0x1b');var _0x3a306f=_0x2452ae[_0x4afc('0x1d')];var _0x22f809=_0x4f3127?0x0:_0x4e32e8[_0x4afc('0x1a')];var _0x16365f=_0x4f3127?_0x2452ae[_0x4afc('0x1d')]:_0x4e32e8[_0x4afc('0x1a')]+_0x4e32e8['limit'];var _0x1a8f49;if(_0x16365f>=_0x3a306f){_0x16365f=_0x3a306f;_0x1a8f49=0xc8;}else{_0x1a8f49=0xce;}_0x5f2dc9[_0x4afc('0x17')](_0x1a8f49);return _0x5f2dc9[_0x4afc('0x1e')](_0x4afc('0x1f'),_0x22f809+'-'+_0x16365f+'/'+_0x3a306f)['json'](_0x2452ae);}return null;};}function patchUpdates(_0x3bddc0){return function(_0x30eda3){try{jsonpatch[_0x4afc('0x20')](_0x30eda3,_0x3bddc0,!![]);}catch(_0x280587){return BPromise[_0x4afc('0x21')](_0x280587);}return _0x30eda3[_0x4afc('0x22')]();};}function saveUpdates(_0x3ad7a5,_0x573a75){return function(_0x5403e4){if(_0x5403e4){return _0x5403e4[_0x4afc('0x23')](_0x3ad7a5)['then'](function(_0x37debf){return _0x37debf;});}return null;};}function removeEntity(_0x4e9a48,_0x1aa676){return function(_0x2a0314){if(_0x2a0314){return _0x2a0314[_0x4afc('0x24')]()[_0x4afc('0x25')](function(){_0x4e9a48[_0x4afc('0x17')](0xcc)[_0x4afc('0x18')]();});}};}function handleEntityNotFound(_0x40a0db,_0x383a71){return function(_0x2bb837){if(!_0x2bb837){_0x40a0db[_0x4afc('0x16')](0x194);}return _0x2bb837;};}function handleError(_0x4e8273,_0x359c07){_0x359c07=_0x359c07||0x1f4;return function(_0x35f5b3){logger['error'](_0x35f5b3[_0x4afc('0x26')]);if(_0x35f5b3[_0x4afc('0x27')]){delete _0x35f5b3[_0x4afc('0x27')];}_0x4e8273['status'](_0x359c07)['send'](_0x35f5b3);};}exports['index']=function(_0x426e9d,_0x5db47e){var _0x5e4747={},_0xd26d2f={},_0x628e42={'count':0x0,'rows':[]};var _0x494fe7=_['map'](db['ChatQueueReport'][_0x4afc('0x28')],function(_0x34434a){return{'name':_0x34434a[_0x4afc('0x29')],'type':_0x34434a[_0x4afc('0x2a')][_0x4afc('0x2b')]};});_0xd26d2f[_0x4afc('0x2c')]=_['map'](_0x494fe7,_0x4afc('0x27'));_0xd26d2f[_0x4afc('0x2d')]=_[_0x4afc('0x2e')](_0x426e9d[_0x4afc('0x2d')]);_0xd26d2f[_0x4afc('0x2f')]=_[_0x4afc('0x30')](_0xd26d2f[_0x4afc('0x2c')],_0xd26d2f[_0x4afc('0x2d')]);_0x5e4747['attributes']=_[_0x4afc('0x30')](_0xd26d2f['model'],qs['fields'](_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x31')]));_0x5e4747[_0x4afc('0x32')]=_0x5e4747[_0x4afc('0x32')][_0x4afc('0x33')]?_0x5e4747[_0x4afc('0x32')]:_0xd26d2f['model'];if(!_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x34')](_0x4afc('0x35'))){_0x5e4747[_0x4afc('0x1c')]=qs[_0x4afc('0x1c')](_0x426e9d[_0x4afc('0x2d')]['limit']);_0x5e4747[_0x4afc('0x1a')]=qs[_0x4afc('0x1a')](_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x1a')]);}_0x5e4747['order']=qs['sort'](_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x36')]);_0x5e4747[_0x4afc('0x37')]=qs['filters'](_['pick'](_0x426e9d[_0x4afc('0x2d')],_0xd26d2f['filters']),_0x494fe7);if(_0x426e9d['query'][_0x4afc('0x38')]){_0x5e4747[_0x4afc('0x37')]=_[_0x4afc('0x39')](_0x5e4747[_0x4afc('0x37')],{'$or':_[_0x4afc('0x3a')](_0x494fe7,function(_0x4420fb){if(_0x4420fb[_0x4afc('0x2a')]!==_0x4afc('0x3b')){var _0x3ccc5a={};_0x3ccc5a[_0x4420fb[_0x4afc('0x27')]]={'$like':'%'+_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x38')]+'%'};return _0x3ccc5a;}})});}_0x5e4747=_[_0x4afc('0x39')]({},_0x5e4747,_0x426e9d[_0x4afc('0x3c')]);var _0x46dd2a={'where':_0x5e4747['where']};return db[_0x4afc('0x3d')][_0x4afc('0x1d')](_0x46dd2a)[_0x4afc('0x25')](function(_0xe6db12){_0x628e42[_0x4afc('0x1d')]=_0xe6db12;if(_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x3e')]){_0x5e4747['include']=[{'all':!![]}];}return db['ChatQueueReport']['findAll'](_0x5e4747);})[_0x4afc('0x25')](function(_0x105c03){_0x628e42['rows']=_0x105c03;return _0x628e42;})[_0x4afc('0x25')](respondWithFilteredResult(_0x5db47e,_0x5e4747))[_0x4afc('0x3f')](handleError(_0x5db47e,null));};exports[_0x4afc('0x40')]=function(_0x397996,_0x545109){var _0x12b5db={'raw':!![],'where':{'id':_0x397996[_0x4afc('0x41')]['id']}},_0x45c9c3={};_0x45c9c3[_0x4afc('0x2c')]=_[_0x4afc('0x2e')](db[_0x4afc('0x3d')]['rawAttributes']);_0x45c9c3[_0x4afc('0x2d')]=_['keys'](_0x397996[_0x4afc('0x2d')]);_0x45c9c3[_0x4afc('0x2f')]=_[_0x4afc('0x30')](_0x45c9c3['model'],_0x45c9c3['query']);_0x12b5db[_0x4afc('0x32')]=_[_0x4afc('0x30')](_0x45c9c3[_0x4afc('0x2c')],qs[_0x4afc('0x31')](_0x397996[_0x4afc('0x2d')][_0x4afc('0x31')]));_0x12b5db[_0x4afc('0x32')]=_0x12b5db[_0x4afc('0x32')]['length']?_0x12b5db[_0x4afc('0x32')]:_0x45c9c3[_0x4afc('0x2c')];if(_0x397996['query'][_0x4afc('0x3e')]){_0x12b5db['include']=[{'all':!![]}];}_0x12b5db=_[_0x4afc('0x39')]({},_0x12b5db,_0x397996[_0x4afc('0x3c')]);return db[_0x4afc('0x3d')]['find'](_0x12b5db)[_0x4afc('0x25')](handleEntityNotFound(_0x545109,null))[_0x4afc('0x25')](respondWithResult(_0x545109,null))[_0x4afc('0x3f')](handleError(_0x545109,null));};exports[_0x4afc('0x42')]=function(_0x4772db,_0x19a0ac){return db['ChatQueueReport']['create'](_0x4772db['body'],{})[_0x4afc('0x25')](respondWithResult(_0x19a0ac,0xc9))[_0x4afc('0x3f')](handleError(_0x19a0ac,null));};exports[_0x4afc('0x23')]=function(_0x269c24,_0xb5cca9){if(_0x269c24[_0x4afc('0x43')]['id']){delete _0x269c24[_0x4afc('0x43')]['id'];}return db[_0x4afc('0x3d')][_0x4afc('0x44')]({'where':{'id':_0x269c24[_0x4afc('0x41')]['id']}})['then'](handleEntityNotFound(_0xb5cca9,null))[_0x4afc('0x25')](saveUpdates(_0x269c24['body'],null))['then'](respondWithResult(_0xb5cca9,null))[_0x4afc('0x3f')](handleError(_0xb5cca9,null));};exports['destroy']=function(_0x428d78,_0x355198){return db[_0x4afc('0x3d')][_0x4afc('0x44')]({'where':{'id':_0x428d78['params']['id']}})[_0x4afc('0x25')](handleEntityNotFound(_0x355198,null))['then'](removeEntity(_0x355198,null))[_0x4afc('0x3f')](handleError(_0x355198,null));};exports[_0x4afc('0x45')]=function(_0x3625c9,_0x387834){return db[_0x4afc('0x3d')][_0x4afc('0x45')]()[_0x4afc('0x25')](respondWithResult(_0x387834,null))[_0x4afc('0x3f')](handleError(_0x387834,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(_0x3a468c,_0x56fa70){var _0x2d5acf=function(_0x404a66){while(--_0x404a66){_0x3a468c['push'](_0x3a468c['shift']());}};_0x2d5acf(++_0x56fa70);}(_0xb470,0x75));var _0x0b47=function(_0x349527,_0x24996f){_0x349527=_0x349527-0x0;var _0xe3bb20=_0xb470[_0x349527];return _0xe3bb20;};'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