Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / openchannelQueueReport / openchannelQueueReport.controller.js
index ab1e042..7467574 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7dc2=['../../config/environment','../../config/license/util','../../mysqldb','status','count','offset','set','Content-Range','json','apply','reject','save','then','destroy','end','sendStatus','stack','send','map','OpenchannelQueueReport','rawAttributes','fieldName','key','model','name','query','keys','intersection','fields','attributes','length','hasOwnProperty','nolimit','limit','sort','where','filters','type','VIRTUAL','filter','merge','includeAll','include','rows','catch','show','params','options','find','create','body','update','describe','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','path','sox','ejs','squel','crypto','desk.js','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger'];(function(_0x27926c,_0x37d579){var _0x584578=function(_0x32e167){while(--_0x32e167){_0x27926c['push'](_0x27926c['shift']());}};_0x584578(++_0x37d579);}(_0x7dc2,0x19d));var _0x27dc=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x7dc2[_0x321bb2];return _0x9c12ed;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x27dc('0x0'));var zipdir=require(_0x27dc('0x1'));var jsonpatch=require(_0x27dc('0x2'));var rp=require(_0x27dc('0x3'));var moment=require('moment');var BPromise=require(_0x27dc('0x4'));var Mustache=require(_0x27dc('0x5'));var util=require('util');var path=require(_0x27dc('0x6'));var sox=require(_0x27dc('0x7'));var csv=require('to-csv');var ejs=require(_0x27dc('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x27dc('0x9'));var crypto=require(_0x27dc('0xa'));var jsforce=require('jsforce');var deskjs=require(_0x27dc('0xb'));var toCsv=require(_0x27dc('0xc'));var querystring=require(_0x27dc('0xd'));var Papa=require(_0x27dc('0xe'));var Redis=require('ioredis');var authService=require(_0x27dc('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x27dc('0x10'));var hardwareService=require(_0x27dc('0x11'));var logger=require(_0x27dc('0x12'))('api');var utils=require('../../config/utils');var config=require(_0x27dc('0x13'));var licenseUtil=require(_0x27dc('0x14'));var db=require(_0x27dc('0x15'))['db'];function respondWithStatusCode(_0x1c7a9e,_0x4d8afd){_0x4d8afd=_0x4d8afd||0xcc;return function(_0x2d7799){if(_0x2d7799){return _0x1c7a9e['sendStatus'](_0x4d8afd);}return _0x1c7a9e[_0x27dc('0x16')](_0x4d8afd)['end']();};}function respondWithResult(_0x1282f2,_0x22d9ac){_0x22d9ac=_0x22d9ac||0xc8;return function(_0x7972d8){if(_0x7972d8){return _0x1282f2[_0x27dc('0x16')](_0x22d9ac)['json'](_0x7972d8);}};}function respondWithFilteredResult(_0x110316,_0x1bd473){return function(_0x798f50){if(_0x798f50){var _0x4193f9=_0x798f50[_0x27dc('0x17')],_0x3afdfd=_0x1bd473[_0x27dc('0x18')],_0x5d0c9d=_0x1bd473[_0x27dc('0x18')]+_0x1bd473['limit'],_0x3ff8f8;if(_0x5d0c9d>=_0x4193f9){_0x5d0c9d=_0x4193f9;_0x3ff8f8=0xc8;}else{_0x3ff8f8=0xce;}_0x110316[_0x27dc('0x16')](_0x3ff8f8);return _0x110316[_0x27dc('0x19')](_0x27dc('0x1a'),_0x3afdfd+'-'+_0x5d0c9d+'/'+_0x4193f9)[_0x27dc('0x1b')](_0x798f50);}return null;};}function patchUpdates(_0x31fb67){return function(_0x3dcfca){try{jsonpatch[_0x27dc('0x1c')](_0x3dcfca,_0x31fb67,!![]);}catch(_0x58006d){return BPromise[_0x27dc('0x1d')](_0x58006d);}return _0x3dcfca[_0x27dc('0x1e')]();};}function saveUpdates(_0x5064d5,_0x3b9afc){return function(_0x3b4b7a){if(_0x3b4b7a){return _0x3b4b7a['update'](_0x5064d5)[_0x27dc('0x1f')](function(_0x491a86){return _0x491a86;});}return null;};}function removeEntity(_0x5c0fca,_0x2843b1){return function(_0x4eddfe){if(_0x4eddfe){return _0x4eddfe[_0x27dc('0x20')]()['then'](function(){_0x5c0fca['status'](0xcc)[_0x27dc('0x21')]();});}};}function handleEntityNotFound(_0x4a9da0,_0x37917e){return function(_0x506130){if(!_0x506130){_0x4a9da0[_0x27dc('0x22')](0x194);}return _0x506130;};}function handleError(_0x1eb83d,_0x881227){_0x881227=_0x881227||0x1f4;return function(_0x19db16){logger['error'](_0x19db16[_0x27dc('0x23')]);if(_0x19db16['name']){delete _0x19db16['name'];}_0x1eb83d[_0x27dc('0x16')](_0x881227)[_0x27dc('0x24')](_0x19db16);};}exports['index']=function(_0x449610,_0xfe5817){var _0x2ac84c={},_0x11f8cb={},_0x453dea={'count':0x0,'rows':[]};var _0x548c23=_[_0x27dc('0x25')](db[_0x27dc('0x26')][_0x27dc('0x27')],function(_0xb4e273){return{'name':_0xb4e273[_0x27dc('0x28')],'type':_0xb4e273['type'][_0x27dc('0x29')]};});_0x11f8cb[_0x27dc('0x2a')]=_['map'](_0x548c23,_0x27dc('0x2b'));_0x11f8cb[_0x27dc('0x2c')]=_[_0x27dc('0x2d')](_0x449610[_0x27dc('0x2c')]);_0x11f8cb['filters']=_[_0x27dc('0x2e')](_0x11f8cb[_0x27dc('0x2a')],_0x11f8cb[_0x27dc('0x2c')]);_0x2ac84c['attributes']=_[_0x27dc('0x2e')](_0x11f8cb[_0x27dc('0x2a')],qs[_0x27dc('0x2f')](_0x449610[_0x27dc('0x2c')]['fields']));_0x2ac84c[_0x27dc('0x30')]=_0x2ac84c[_0x27dc('0x30')][_0x27dc('0x31')]?_0x2ac84c['attributes']:_0x11f8cb[_0x27dc('0x2a')];if(!_0x449610[_0x27dc('0x2c')][_0x27dc('0x32')](_0x27dc('0x33'))){_0x2ac84c[_0x27dc('0x34')]=qs['limit'](_0x449610[_0x27dc('0x2c')][_0x27dc('0x34')]);_0x2ac84c[_0x27dc('0x18')]=qs[_0x27dc('0x18')](_0x449610[_0x27dc('0x2c')]['offset']);}_0x2ac84c['order']=qs[_0x27dc('0x35')](_0x449610[_0x27dc('0x2c')][_0x27dc('0x35')]);_0x2ac84c[_0x27dc('0x36')]=qs['filters'](_['pick'](_0x449610[_0x27dc('0x2c')],_0x11f8cb[_0x27dc('0x37')]),_0x548c23);if(_0x449610[_0x27dc('0x2c')]['filter']){_0x2ac84c[_0x27dc('0x36')]=_['merge'](_0x2ac84c[_0x27dc('0x36')],{'$or':_['map'](_0x548c23,function(_0x19809f){if(_0x19809f[_0x27dc('0x38')]!==_0x27dc('0x39')){var _0x467094={};_0x467094[_0x19809f[_0x27dc('0x2b')]]={'$like':'%'+_0x449610[_0x27dc('0x2c')][_0x27dc('0x3a')]+'%'};return _0x467094;}})});}_0x2ac84c=_[_0x27dc('0x3b')]({},_0x2ac84c,_0x449610['options']);var _0x3f017b={'where':_0x2ac84c[_0x27dc('0x36')]};return db['OpenchannelQueueReport'][_0x27dc('0x17')](_0x3f017b)[_0x27dc('0x1f')](function(_0x320044){_0x453dea['count']=_0x320044;if(_0x449610[_0x27dc('0x2c')][_0x27dc('0x3c')]){_0x2ac84c[_0x27dc('0x3d')]=[{'all':!![]}];}return db[_0x27dc('0x26')]['findAll'](_0x2ac84c);})[_0x27dc('0x1f')](function(_0x7b8f92){_0x453dea[_0x27dc('0x3e')]=_0x7b8f92;return _0x453dea;})[_0x27dc('0x1f')](respondWithFilteredResult(_0xfe5817,_0x2ac84c))[_0x27dc('0x3f')](handleError(_0xfe5817,null));};exports[_0x27dc('0x40')]=function(_0x4e0915,_0x5066b5){var _0x512c63={'raw':!![],'where':{'id':_0x4e0915[_0x27dc('0x41')]['id']}},_0x11867c={};_0x11867c[_0x27dc('0x2a')]=_[_0x27dc('0x2d')](db['OpenchannelQueueReport']['rawAttributes']);_0x11867c[_0x27dc('0x2c')]=_['keys'](_0x4e0915[_0x27dc('0x2c')]);_0x11867c[_0x27dc('0x37')]=_[_0x27dc('0x2e')](_0x11867c['model'],_0x11867c[_0x27dc('0x2c')]);_0x512c63[_0x27dc('0x30')]=_[_0x27dc('0x2e')](_0x11867c[_0x27dc('0x2a')],qs['fields'](_0x4e0915[_0x27dc('0x2c')][_0x27dc('0x2f')]));_0x512c63['attributes']=_0x512c63[_0x27dc('0x30')][_0x27dc('0x31')]?_0x512c63[_0x27dc('0x30')]:_0x11867c[_0x27dc('0x2a')];if(_0x4e0915[_0x27dc('0x2c')][_0x27dc('0x3c')]){_0x512c63[_0x27dc('0x3d')]=[{'all':!![]}];}_0x512c63=_[_0x27dc('0x3b')]({},_0x512c63,_0x4e0915[_0x27dc('0x42')]);return db['OpenchannelQueueReport'][_0x27dc('0x43')](_0x512c63)['then'](handleEntityNotFound(_0x5066b5,null))[_0x27dc('0x1f')](respondWithResult(_0x5066b5,null))[_0x27dc('0x3f')](handleError(_0x5066b5,null));};exports[_0x27dc('0x44')]=function(_0x246cdc,_0x2ac44e){return db['OpenchannelQueueReport'][_0x27dc('0x44')](_0x246cdc[_0x27dc('0x45')],{})[_0x27dc('0x1f')](respondWithResult(_0x2ac44e,0xc9))[_0x27dc('0x3f')](handleError(_0x2ac44e,null));};exports[_0x27dc('0x46')]=function(_0x464b52,_0x1f4e30){if(_0x464b52[_0x27dc('0x45')]['id']){delete _0x464b52[_0x27dc('0x45')]['id'];}return db['OpenchannelQueueReport']['find']({'where':{'id':_0x464b52[_0x27dc('0x41')]['id']}})[_0x27dc('0x1f')](handleEntityNotFound(_0x1f4e30,null))['then'](saveUpdates(_0x464b52[_0x27dc('0x45')],null))[_0x27dc('0x1f')](respondWithResult(_0x1f4e30,null))['catch'](handleError(_0x1f4e30,null));};exports['destroy']=function(_0x5bd8b6,_0x280463){return db['OpenchannelQueueReport']['find']({'where':{'id':_0x5bd8b6[_0x27dc('0x41')]['id']}})[_0x27dc('0x1f')](handleEntityNotFound(_0x280463,null))[_0x27dc('0x1f')](removeEntity(_0x280463,null))['catch'](handleError(_0x280463,null));};exports[_0x27dc('0x47')]=function(_0x15f2fb,_0x5ad3db){return db[_0x27dc('0x26')][_0x27dc('0x47')]()['then'](respondWithResult(_0x5ad3db,null))[_0x27dc('0x3f')](handleError(_0x5ad3db,null));};
\ No newline at end of file
+var _0x9f89=['length','attributes','hasOwnProperty','order','sort','pick','filter','where','merge','type','includeAll','include','OpenchannelQueueReport','findAll','rows','options','find','catch','create','body','params','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','json','offset','undefined','count','limit','set','save','update','then','destroy','end','sendStatus','error','name','send','index','map','rawAttributes','key','model','query','keys','filters','intersection','fields'];(function(_0x5ed8f2,_0x604fb7){var _0x12884e=function(_0x4ae1fa){while(--_0x4ae1fa){_0x5ed8f2['push'](_0x5ed8f2['shift']());}};_0x12884e(++_0x604fb7);}(_0x9f89,0xe5));var _0x99f8=function(_0x14c5b9,_0x4b7509){_0x14c5b9=_0x14c5b9-0x0;var _0x5af290=_0x9f89[_0x14c5b9];return _0x5af290;};'use strict';var emlformat=require(_0x99f8('0x0'));var rimraf=require(_0x99f8('0x1'));var zipdir=require(_0x99f8('0x2'));var jsonpatch=require(_0x99f8('0x3'));var rp=require(_0x99f8('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x99f8('0x5'));var ejs=require(_0x99f8('0x6'));var fs=require('fs');var fs_extra=require(_0x99f8('0x7'));var _=require(_0x99f8('0x8'));var squel=require(_0x99f8('0x9'));var crypto=require('crypto');var jsforce=require(_0x99f8('0xa'));var deskjs=require(_0x99f8('0xb'));var toCsv=require('to-csv');var querystring=require(_0x99f8('0xc'));var Papa=require(_0x99f8('0xd'));var Redis=require('ioredis');var authService=require(_0x99f8('0xe'));var qs=require(_0x99f8('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x99f8('0x10'))('api');var utils=require(_0x99f8('0x11'));var config=require(_0x99f8('0x12'));var licenseUtil=require(_0x99f8('0x13'));var db=require(_0x99f8('0x14'))['db'];function respondWithStatusCode(_0x2a7392,_0x49ed51){_0x49ed51=_0x49ed51||0xcc;return function(_0x3037a6){if(_0x3037a6){return _0x2a7392['sendStatus'](_0x49ed51);}return _0x2a7392[_0x99f8('0x15')](_0x49ed51)['end']();};}function respondWithResult(_0x22a592,_0xa15d38){_0xa15d38=_0xa15d38||0xc8;return function(_0x1d40cd){if(_0x1d40cd){return _0x22a592['status'](_0xa15d38)[_0x99f8('0x16')](_0x1d40cd);}};}function respondWithFilteredResult(_0x36bb69,_0x5d5d07){return function(_0x3d0173){if(_0x3d0173){var _0x6c4a27=typeof _0x5d5d07[_0x99f8('0x17')]===_0x99f8('0x18')&&typeof _0x5d5d07['limit']==='undefined';var _0x2ec33b=_0x3d0173[_0x99f8('0x19')];var _0x48681b=_0x6c4a27?0x0:_0x5d5d07[_0x99f8('0x17')];var _0x492b82=_0x6c4a27?_0x3d0173[_0x99f8('0x19')]:_0x5d5d07[_0x99f8('0x17')]+_0x5d5d07[_0x99f8('0x1a')];var _0x26c4cf;if(_0x492b82>=_0x2ec33b){_0x492b82=_0x2ec33b;_0x26c4cf=0xc8;}else{_0x26c4cf=0xce;}_0x36bb69[_0x99f8('0x15')](_0x26c4cf);return _0x36bb69[_0x99f8('0x1b')]('Content-Range',_0x48681b+'-'+_0x492b82+'/'+_0x2ec33b)[_0x99f8('0x16')](_0x3d0173);}return null;};}function patchUpdates(_0x44de88){return function(_0x5f3cd9){try{jsonpatch['apply'](_0x5f3cd9,_0x44de88,!![]);}catch(_0x2a67de){return BPromise['reject'](_0x2a67de);}return _0x5f3cd9[_0x99f8('0x1c')]();};}function saveUpdates(_0x41452d,_0x868e25){return function(_0x4ff67d){if(_0x4ff67d){return _0x4ff67d[_0x99f8('0x1d')](_0x41452d)[_0x99f8('0x1e')](function(_0x24a63){return _0x24a63;});}return null;};}function removeEntity(_0x3da935,_0x1f3f9e){return function(_0x220949){if(_0x220949){return _0x220949[_0x99f8('0x1f')]()[_0x99f8('0x1e')](function(){_0x3da935[_0x99f8('0x15')](0xcc)[_0x99f8('0x20')]();});}};}function handleEntityNotFound(_0x3a02af,_0x563845){return function(_0x3d150c){if(!_0x3d150c){_0x3a02af[_0x99f8('0x21')](0x194);}return _0x3d150c;};}function handleError(_0x5c829b,_0x1b8c7f){_0x1b8c7f=_0x1b8c7f||0x1f4;return function(_0xdd786b){logger[_0x99f8('0x22')](_0xdd786b['stack']);if(_0xdd786b[_0x99f8('0x23')]){delete _0xdd786b[_0x99f8('0x23')];}_0x5c829b['status'](_0x1b8c7f)[_0x99f8('0x24')](_0xdd786b);};}exports[_0x99f8('0x25')]=function(_0x51ae1a,_0x37751f){var _0x1223c4={},_0x18c0bc={},_0x2ac20d={'count':0x0,'rows':[]};var _0xae79a=_[_0x99f8('0x26')](db['OpenchannelQueueReport'][_0x99f8('0x27')],function(_0x2dd7bc){return{'name':_0x2dd7bc['fieldName'],'type':_0x2dd7bc['type'][_0x99f8('0x28')]};});_0x18c0bc[_0x99f8('0x29')]=_['map'](_0xae79a,_0x99f8('0x23'));_0x18c0bc[_0x99f8('0x2a')]=_[_0x99f8('0x2b')](_0x51ae1a[_0x99f8('0x2a')]);_0x18c0bc[_0x99f8('0x2c')]=_[_0x99f8('0x2d')](_0x18c0bc[_0x99f8('0x29')],_0x18c0bc[_0x99f8('0x2a')]);_0x1223c4['attributes']=_[_0x99f8('0x2d')](_0x18c0bc[_0x99f8('0x29')],qs[_0x99f8('0x2e')](_0x51ae1a[_0x99f8('0x2a')]['fields']));_0x1223c4['attributes']=_0x1223c4['attributes'][_0x99f8('0x2f')]?_0x1223c4[_0x99f8('0x30')]:_0x18c0bc[_0x99f8('0x29')];if(!_0x51ae1a[_0x99f8('0x2a')][_0x99f8('0x31')]('nolimit')){_0x1223c4[_0x99f8('0x1a')]=qs['limit'](_0x51ae1a[_0x99f8('0x2a')]['limit']);_0x1223c4[_0x99f8('0x17')]=qs['offset'](_0x51ae1a[_0x99f8('0x2a')]['offset']);}_0x1223c4[_0x99f8('0x32')]=qs[_0x99f8('0x33')](_0x51ae1a[_0x99f8('0x2a')]['sort']);_0x1223c4['where']=qs[_0x99f8('0x2c')](_[_0x99f8('0x34')](_0x51ae1a['query'],_0x18c0bc[_0x99f8('0x2c')]),_0xae79a);if(_0x51ae1a['query'][_0x99f8('0x35')]){_0x1223c4[_0x99f8('0x36')]=_[_0x99f8('0x37')](_0x1223c4[_0x99f8('0x36')],{'$or':_[_0x99f8('0x26')](_0xae79a,function(_0x39ddd6){if(_0x39ddd6[_0x99f8('0x38')]!=='VIRTUAL'){var _0x1f6628={};_0x1f6628[_0x39ddd6[_0x99f8('0x23')]]={'$like':'%'+_0x51ae1a[_0x99f8('0x2a')][_0x99f8('0x35')]+'%'};return _0x1f6628;}})});}_0x1223c4=_[_0x99f8('0x37')]({},_0x1223c4,_0x51ae1a['options']);var _0x32caac={'where':_0x1223c4[_0x99f8('0x36')]};return db['OpenchannelQueueReport'][_0x99f8('0x19')](_0x32caac)[_0x99f8('0x1e')](function(_0x58bc8d){_0x2ac20d[_0x99f8('0x19')]=_0x58bc8d;if(_0x51ae1a[_0x99f8('0x2a')][_0x99f8('0x39')]){_0x1223c4[_0x99f8('0x3a')]=[{'all':!![]}];}return db[_0x99f8('0x3b')][_0x99f8('0x3c')](_0x1223c4);})[_0x99f8('0x1e')](function(_0x499108){_0x2ac20d[_0x99f8('0x3d')]=_0x499108;return _0x2ac20d;})[_0x99f8('0x1e')](respondWithFilteredResult(_0x37751f,_0x1223c4))['catch'](handleError(_0x37751f,null));};exports['show']=function(_0x2b4cbc,_0x51a74c){var _0x1e2ae4={'raw':!![],'where':{'id':_0x2b4cbc['params']['id']}},_0x56d15e={};_0x56d15e[_0x99f8('0x29')]=_[_0x99f8('0x2b')](db[_0x99f8('0x3b')]['rawAttributes']);_0x56d15e['query']=_[_0x99f8('0x2b')](_0x2b4cbc['query']);_0x56d15e[_0x99f8('0x2c')]=_['intersection'](_0x56d15e[_0x99f8('0x29')],_0x56d15e[_0x99f8('0x2a')]);_0x1e2ae4[_0x99f8('0x30')]=_['intersection'](_0x56d15e[_0x99f8('0x29')],qs[_0x99f8('0x2e')](_0x2b4cbc[_0x99f8('0x2a')][_0x99f8('0x2e')]));_0x1e2ae4['attributes']=_0x1e2ae4[_0x99f8('0x30')]['length']?_0x1e2ae4[_0x99f8('0x30')]:_0x56d15e[_0x99f8('0x29')];if(_0x2b4cbc[_0x99f8('0x2a')][_0x99f8('0x39')]){_0x1e2ae4['include']=[{'all':!![]}];}_0x1e2ae4=_['merge']({},_0x1e2ae4,_0x2b4cbc[_0x99f8('0x3e')]);return db[_0x99f8('0x3b')][_0x99f8('0x3f')](_0x1e2ae4)[_0x99f8('0x1e')](handleEntityNotFound(_0x51a74c,null))[_0x99f8('0x1e')](respondWithResult(_0x51a74c,null))[_0x99f8('0x40')](handleError(_0x51a74c,null));};exports[_0x99f8('0x41')]=function(_0x4b82ee,_0x58b7e8){return db[_0x99f8('0x3b')][_0x99f8('0x41')](_0x4b82ee[_0x99f8('0x42')],{})[_0x99f8('0x1e')](respondWithResult(_0x58b7e8,0xc9))[_0x99f8('0x40')](handleError(_0x58b7e8,null));};exports['update']=function(_0x19ce73,_0x290c69){if(_0x19ce73['body']['id']){delete _0x19ce73[_0x99f8('0x42')]['id'];}return db[_0x99f8('0x3b')][_0x99f8('0x3f')]({'where':{'id':_0x19ce73[_0x99f8('0x43')]['id']}})[_0x99f8('0x1e')](handleEntityNotFound(_0x290c69,null))[_0x99f8('0x1e')](saveUpdates(_0x19ce73[_0x99f8('0x42')],null))['then'](respondWithResult(_0x290c69,null))[_0x99f8('0x40')](handleError(_0x290c69,null));};exports[_0x99f8('0x1f')]=function(_0x3a8da0,_0x4f4009){return db[_0x99f8('0x3b')][_0x99f8('0x3f')]({'where':{'id':_0x3a8da0[_0x99f8('0x43')]['id']}})[_0x99f8('0x1e')](handleEntityNotFound(_0x4f4009,null))[_0x99f8('0x1e')](removeEntity(_0x4f4009,null))[_0x99f8('0x40')](handleError(_0x4f4009,null));};exports[_0x99f8('0x44')]=function(_0x11b08b,_0x497680){return db[_0x99f8('0x3b')][_0x99f8('0x44')]()[_0x99f8('0x1e')](respondWithResult(_0x497680,null))['catch'](handleError(_0x497680,null));};
\ No newline at end of file