Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / chatQueueReport / chatQueueReport.controller.js
index 375a94d..09abda8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcac3=['fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','apply','reject','save','destroy','then','error','stack','name','send','index','map','ChatQueueReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','length','find','create','body','update','describe','rimraf','zip-dir'];(function(_0x301093,_0x3ecc78){var _0xd1fe2c=function(_0x4033ef){while(--_0x4033ef){_0x301093['push'](_0x301093['shift']());}};_0xd1fe2c(++_0x3ecc78);}(_0xcac3,0x193));var _0x3cac=function(_0x2f7e15,_0x6e0949){_0x2f7e15=_0x2f7e15-0x0;var _0xbf1bf1=_0xcac3[_0x2f7e15];return _0xbf1bf1;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x3cac('0x0'));var zipdir=require(_0x3cac('0x1'));var jsonpatch=require(_0x3cac('0x2'));var rp=require(_0x3cac('0x3'));var moment=require(_0x3cac('0x4'));var BPromise=require(_0x3cac('0x5'));var Mustache=require(_0x3cac('0x6'));var util=require(_0x3cac('0x7'));var path=require(_0x3cac('0x8'));var sox=require(_0x3cac('0x9'));var csv=require(_0x3cac('0xa'));var ejs=require(_0x3cac('0xb'));var fs=require('fs');var fs_extra=require(_0x3cac('0xc'));var _=require(_0x3cac('0xd'));var squel=require(_0x3cac('0xe'));var crypto=require(_0x3cac('0xf'));var jsforce=require(_0x3cac('0x10'));var deskjs=require('desk.js');var toCsv=require(_0x3cac('0xa'));var querystring=require(_0x3cac('0x11'));var Papa=require(_0x3cac('0x12'));var Redis=require(_0x3cac('0x13'));var authService=require(_0x3cac('0x14'));var qs=require('../../components/parsers/qs');var as=require(_0x3cac('0x15'));var hardwareService=require(_0x3cac('0x16'));var logger=require(_0x3cac('0x17'))(_0x3cac('0x18'));var utils=require(_0x3cac('0x19'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0x3cac('0x1a'))['db'];function respondWithStatusCode(_0xfc7684,_0x2d3ca6){_0x2d3ca6=_0x2d3ca6||0xcc;return function(_0x134b95){if(_0x134b95){return _0xfc7684[_0x3cac('0x1b')](_0x2d3ca6);}return _0xfc7684[_0x3cac('0x1c')](_0x2d3ca6)[_0x3cac('0x1d')]();};}function respondWithResult(_0x4bee52,_0x37a3b1){_0x37a3b1=_0x37a3b1||0xc8;return function(_0x2db008){if(_0x2db008){return _0x4bee52[_0x3cac('0x1c')](_0x37a3b1)[_0x3cac('0x1e')](_0x2db008);}};}function respondWithFilteredResult(_0x4680aa,_0x8d8927){return function(_0x202437){if(_0x202437){var _0x37e529=typeof _0x8d8927[_0x3cac('0x1f')]===_0x3cac('0x20')&&typeof _0x8d8927[_0x3cac('0x21')]===_0x3cac('0x20');var _0x2c1766=_0x202437[_0x3cac('0x22')];var _0x1b1007=_0x37e529?0x0:_0x8d8927[_0x3cac('0x1f')];var _0x752c5b=_0x37e529?_0x202437[_0x3cac('0x22')]:_0x8d8927[_0x3cac('0x1f')]+_0x8d8927[_0x3cac('0x21')];var _0x1a2e7e;if(_0x752c5b>=_0x2c1766){_0x752c5b=_0x2c1766;_0x1a2e7e=0xc8;}else{_0x1a2e7e=0xce;}_0x4680aa[_0x3cac('0x1c')](_0x1a2e7e);return _0x4680aa['set'](_0x3cac('0x23'),_0x1b1007+'-'+_0x752c5b+'/'+_0x2c1766)[_0x3cac('0x1e')](_0x202437);}return null;};}function patchUpdates(_0x5af4b9){return function(_0x1d5d41){try{jsonpatch[_0x3cac('0x24')](_0x1d5d41,_0x5af4b9,!![]);}catch(_0x40a088){return BPromise[_0x3cac('0x25')](_0x40a088);}return _0x1d5d41[_0x3cac('0x26')]();};}function saveUpdates(_0x147d3b,_0x530057){return function(_0x19010f){if(_0x19010f){return _0x19010f['update'](_0x147d3b)['then'](function(_0x5a78ed){return _0x5a78ed;});}return null;};}function removeEntity(_0xf63f1d,_0x842c3d){return function(_0x2fe8a9){if(_0x2fe8a9){return _0x2fe8a9[_0x3cac('0x27')]()[_0x3cac('0x28')](function(){_0xf63f1d[_0x3cac('0x1c')](0xcc)[_0x3cac('0x1d')]();});}};}function handleEntityNotFound(_0x3f79b6,_0x303d05){return function(_0x456883){if(!_0x456883){_0x3f79b6[_0x3cac('0x1b')](0x194);}return _0x456883;};}function handleError(_0x407e8b,_0x5c60df){_0x5c60df=_0x5c60df||0x1f4;return function(_0x24c4fb){logger[_0x3cac('0x29')](_0x24c4fb[_0x3cac('0x2a')]);if(_0x24c4fb[_0x3cac('0x2b')]){delete _0x24c4fb[_0x3cac('0x2b')];}_0x407e8b[_0x3cac('0x1c')](_0x5c60df)[_0x3cac('0x2c')](_0x24c4fb);};}exports[_0x3cac('0x2d')]=function(_0xbc5721,_0x2d7847){var _0x2b7caf={},_0x391412={},_0x2019c0={'count':0x0,'rows':[]};var _0x29c896=_[_0x3cac('0x2e')](db[_0x3cac('0x2f')][_0x3cac('0x30')],function(_0xa08a6){return{'name':_0xa08a6[_0x3cac('0x31')],'type':_0xa08a6[_0x3cac('0x32')][_0x3cac('0x33')]};});_0x391412[_0x3cac('0x34')]=_[_0x3cac('0x2e')](_0x29c896,'name');_0x391412[_0x3cac('0x35')]=_[_0x3cac('0x36')](_0xbc5721[_0x3cac('0x35')]);_0x391412[_0x3cac('0x37')]=_[_0x3cac('0x38')](_0x391412['model'],_0x391412['query']);_0x2b7caf[_0x3cac('0x39')]=_[_0x3cac('0x38')](_0x391412['model'],qs[_0x3cac('0x3a')](_0xbc5721['query']['fields']));_0x2b7caf[_0x3cac('0x39')]=_0x2b7caf[_0x3cac('0x39')]['length']?_0x2b7caf[_0x3cac('0x39')]:_0x391412[_0x3cac('0x34')];if(!_0xbc5721[_0x3cac('0x35')][_0x3cac('0x3b')](_0x3cac('0x3c'))){_0x2b7caf[_0x3cac('0x21')]=qs[_0x3cac('0x21')](_0xbc5721[_0x3cac('0x35')][_0x3cac('0x21')]);_0x2b7caf['offset']=qs['offset'](_0xbc5721[_0x3cac('0x35')][_0x3cac('0x1f')]);}_0x2b7caf[_0x3cac('0x3d')]=qs[_0x3cac('0x3e')](_0xbc5721[_0x3cac('0x35')][_0x3cac('0x3e')]);_0x2b7caf[_0x3cac('0x3f')]=qs[_0x3cac('0x37')](_['pick'](_0xbc5721[_0x3cac('0x35')],_0x391412[_0x3cac('0x37')]),_0x29c896);if(_0xbc5721['query'][_0x3cac('0x40')]){_0x2b7caf[_0x3cac('0x3f')]=_[_0x3cac('0x41')](_0x2b7caf['where'],{'$or':_['map'](_0x29c896,function(_0x22e17b){if(_0x22e17b[_0x3cac('0x32')]!==_0x3cac('0x42')){var _0xc9b8c2={};_0xc9b8c2[_0x22e17b[_0x3cac('0x2b')]]={'$like':'%'+_0xbc5721[_0x3cac('0x35')][_0x3cac('0x40')]+'%'};return _0xc9b8c2;}})});}_0x2b7caf=_[_0x3cac('0x41')]({},_0x2b7caf,_0xbc5721[_0x3cac('0x43')]);var _0x2cb2c0={'where':_0x2b7caf[_0x3cac('0x3f')]};return db[_0x3cac('0x2f')][_0x3cac('0x22')](_0x2cb2c0)['then'](function(_0x25b897){_0x2019c0['count']=_0x25b897;if(_0xbc5721[_0x3cac('0x35')][_0x3cac('0x44')]){_0x2b7caf[_0x3cac('0x45')]=[{'all':!![]}];}return db[_0x3cac('0x2f')][_0x3cac('0x46')](_0x2b7caf);})['then'](function(_0x135a22){_0x2019c0[_0x3cac('0x47')]=_0x135a22;return _0x2019c0;})[_0x3cac('0x28')](respondWithFilteredResult(_0x2d7847,_0x2b7caf))[_0x3cac('0x48')](handleError(_0x2d7847,null));};exports[_0x3cac('0x49')]=function(_0x455487,_0x1f46ce){var _0x25f972={'raw':!![],'where':{'id':_0x455487[_0x3cac('0x4a')]['id']}},_0x1fb9be={};_0x1fb9be[_0x3cac('0x34')]=_[_0x3cac('0x36')](db['ChatQueueReport']['rawAttributes']);_0x1fb9be[_0x3cac('0x35')]=_[_0x3cac('0x36')](_0x455487['query']);_0x1fb9be[_0x3cac('0x37')]=_[_0x3cac('0x38')](_0x1fb9be['model'],_0x1fb9be[_0x3cac('0x35')]);_0x25f972[_0x3cac('0x39')]=_[_0x3cac('0x38')](_0x1fb9be[_0x3cac('0x34')],qs[_0x3cac('0x3a')](_0x455487[_0x3cac('0x35')][_0x3cac('0x3a')]));_0x25f972[_0x3cac('0x39')]=_0x25f972['attributes'][_0x3cac('0x4b')]?_0x25f972['attributes']:_0x1fb9be['model'];if(_0x455487[_0x3cac('0x35')][_0x3cac('0x44')]){_0x25f972['include']=[{'all':!![]}];}_0x25f972=_[_0x3cac('0x41')]({},_0x25f972,_0x455487[_0x3cac('0x43')]);return db[_0x3cac('0x2f')][_0x3cac('0x4c')](_0x25f972)[_0x3cac('0x28')](handleEntityNotFound(_0x1f46ce,null))['then'](respondWithResult(_0x1f46ce,null))[_0x3cac('0x48')](handleError(_0x1f46ce,null));};exports[_0x3cac('0x4d')]=function(_0x550a9c,_0x3f26d1){return db[_0x3cac('0x2f')][_0x3cac('0x4d')](_0x550a9c[_0x3cac('0x4e')],{})['then'](respondWithResult(_0x3f26d1,0xc9))[_0x3cac('0x48')](handleError(_0x3f26d1,null));};exports[_0x3cac('0x4f')]=function(_0x1827ba,_0xab4339){if(_0x1827ba[_0x3cac('0x4e')]['id']){delete _0x1827ba['body']['id'];}return db[_0x3cac('0x2f')][_0x3cac('0x4c')]({'where':{'id':_0x1827ba[_0x3cac('0x4a')]['id']}})['then'](handleEntityNotFound(_0xab4339,null))[_0x3cac('0x28')](saveUpdates(_0x1827ba[_0x3cac('0x4e')],null))[_0x3cac('0x28')](respondWithResult(_0xab4339,null))[_0x3cac('0x48')](handleError(_0xab4339,null));};exports['destroy']=function(_0x22b140,_0x39c044){return db['ChatQueueReport'][_0x3cac('0x4c')]({'where':{'id':_0x22b140['params']['id']}})[_0x3cac('0x28')](handleEntityNotFound(_0x39c044,null))[_0x3cac('0x28')](removeEntity(_0x39c044,null))[_0x3cac('0x48')](handleError(_0x39c044,null));};exports['describe']=function(_0x503fca,_0x568c7b){return db[_0x3cac('0x2f')][_0x3cac('0x50')]()['then'](respondWithResult(_0x568c7b,null))[_0x3cac('0x48')](handleError(_0x568c7b,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