Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / mailQueueReport / mailQueueReport.controller.js
index ce0f5e7..1e81389 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbdbc=['ejs','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','Content-Range','apply','reject','save','update','then','destroy','stack','name','send','index','map','MailQueueReport','rawAttributes','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','type','VIRTUAL','options','count','includeAll','include','findAll','catch','show','params','find','body','describe','html-pdf','zip-dir','fast-json-patch','request-promise','bluebird','util','path','sox','to-csv'];(function(_0x2572ed,_0x16f6b3){var _0x5df973=function(_0x36a8b3){while(--_0x36a8b3){_0x2572ed['push'](_0x2572ed['shift']());}};_0x5df973(++_0x16f6b3);}(_0xbdbc,0x113));var _0xcbdb=function(_0x710815,_0x520da8){_0x710815=_0x710815-0x0;var _0x5b3b89=_0xbdbc[_0x710815];return _0x5b3b89;};'use strict';var pdf=require(_0xcbdb('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xcbdb('0x1'));var jsonpatch=require(_0xcbdb('0x2'));var rp=require(_0xcbdb('0x3'));var moment=require('moment');var BPromise=require(_0xcbdb('0x4'));var Mustache=require('mustache');var util=require(_0xcbdb('0x5'));var path=require(_0xcbdb('0x6'));var sox=require(_0xcbdb('0x7'));var csv=require(_0xcbdb('0x8'));var ejs=require(_0xcbdb('0x9'));var fs=require('fs');var _=require(_0xcbdb('0xa'));var squel=require(_0xcbdb('0xb'));var crypto=require(_0xcbdb('0xc'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xcbdb('0x8'));var querystring=require(_0xcbdb('0xd'));var Papa=require(_0xcbdb('0xe'));var Redis=require(_0xcbdb('0xf'));var authService=require(_0xcbdb('0x10'));var qs=require(_0xcbdb('0x11'));var as=require(_0xcbdb('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0xcbdb('0x13'));var db=require(_0xcbdb('0x14'))['db'];function respondWithStatusCode(_0x15b751,_0x54095b){_0x54095b=_0x54095b||0xcc;return function(_0x5a0a55){if(_0x5a0a55){return _0x15b751[_0xcbdb('0x15')](_0x54095b);}return _0x15b751[_0xcbdb('0x16')](_0x54095b)[_0xcbdb('0x17')]();};}function respondWithResult(_0x48bc05,_0x8b4f51){_0x8b4f51=_0x8b4f51||0xc8;return function(_0x3b8591){if(_0x3b8591){return _0x48bc05[_0xcbdb('0x16')](_0x8b4f51)[_0xcbdb('0x18')](_0x3b8591);}};}function respondWithFilteredResult(_0x1f63f,_0x3e5028){return function(_0x2ac593){if(_0x2ac593){var _0x38e502=_0x2ac593['count'],_0x11a892=_0x3e5028[_0xcbdb('0x19')],_0xa38b20=_0x3e5028[_0xcbdb('0x19')]+_0x3e5028[_0xcbdb('0x1a')],_0x42bf30;if(_0xa38b20>=_0x38e502){_0xa38b20=_0x38e502;_0x42bf30=0xc8;}else{_0x42bf30=0xce;}_0x1f63f[_0xcbdb('0x16')](_0x42bf30);return _0x1f63f['set'](_0xcbdb('0x1b'),_0x11a892+'-'+_0xa38b20+'/'+_0x38e502)[_0xcbdb('0x18')](_0x2ac593);}return null;};}function patchUpdates(_0x296e27){return function(_0x54ebc9){try{jsonpatch[_0xcbdb('0x1c')](_0x54ebc9,_0x296e27,!![]);}catch(_0x37f0a0){return BPromise[_0xcbdb('0x1d')](_0x37f0a0);}return _0x54ebc9[_0xcbdb('0x1e')]();};}function saveUpdates(_0xd17684,_0x4be70e){return function(_0x71f978){if(_0x71f978){return _0x71f978[_0xcbdb('0x1f')](_0xd17684)[_0xcbdb('0x20')](function(_0x5f5b86){return _0x5f5b86;});}return null;};}function removeEntity(_0x279eb0,_0x16aa4c){return function(_0x18e393){if(_0x18e393){return _0x18e393[_0xcbdb('0x21')]()['then'](function(){_0x279eb0[_0xcbdb('0x16')](0xcc)[_0xcbdb('0x17')]();});}};}function handleEntityNotFound(_0x4d92b8,_0x572414){return function(_0xa33245){if(!_0xa33245){_0x4d92b8[_0xcbdb('0x15')](0x194);}return _0xa33245;};}function handleError(_0x8f4f11,_0x144242){_0x144242=_0x144242||0x1f4;return function(_0xf76900){logger['error'](_0xf76900[_0xcbdb('0x22')]);if(_0xf76900[_0xcbdb('0x23')]){delete _0xf76900[_0xcbdb('0x23')];}_0x8f4f11['status'](_0x144242)[_0xcbdb('0x24')](_0xf76900);};}exports[_0xcbdb('0x25')]=function(_0x198874,_0x42cae8){var _0x4b0fad={},_0x40b8b9={},_0xdccffd={'count':0x0,'rows':[]};var _0x277766=_[_0xcbdb('0x26')](db[_0xcbdb('0x27')][_0xcbdb('0x28')],function(_0x3928b6){return{'name':_0x3928b6['fieldName'],'type':_0x3928b6['type'][_0xcbdb('0x29')]};});_0x40b8b9['model']=_[_0xcbdb('0x26')](_0x277766,_0xcbdb('0x23'));_0x40b8b9[_0xcbdb('0x2a')]=_[_0xcbdb('0x2b')](_0x198874[_0xcbdb('0x2a')]);_0x40b8b9[_0xcbdb('0x2c')]=_[_0xcbdb('0x2d')](_0x40b8b9[_0xcbdb('0x2e')],_0x40b8b9[_0xcbdb('0x2a')]);_0x4b0fad[_0xcbdb('0x2f')]=_[_0xcbdb('0x2d')](_0x40b8b9[_0xcbdb('0x2e')],qs[_0xcbdb('0x30')](_0x198874[_0xcbdb('0x2a')]['fields']));_0x4b0fad['attributes']=_0x4b0fad[_0xcbdb('0x2f')][_0xcbdb('0x31')]?_0x4b0fad[_0xcbdb('0x2f')]:_0x40b8b9[_0xcbdb('0x2e')];if(!_0x198874['query'][_0xcbdb('0x32')](_0xcbdb('0x33'))){_0x4b0fad['limit']=qs[_0xcbdb('0x1a')](_0x198874[_0xcbdb('0x2a')][_0xcbdb('0x1a')]);_0x4b0fad[_0xcbdb('0x19')]=qs[_0xcbdb('0x19')](_0x198874[_0xcbdb('0x2a')][_0xcbdb('0x19')]);}_0x4b0fad[_0xcbdb('0x34')]=qs[_0xcbdb('0x35')](_0x198874[_0xcbdb('0x2a')]['sort']);_0x4b0fad[_0xcbdb('0x36')]=qs[_0xcbdb('0x2c')](_[_0xcbdb('0x37')](_0x198874[_0xcbdb('0x2a')],_0x40b8b9[_0xcbdb('0x2c')]));if(_0x198874[_0xcbdb('0x2a')][_0xcbdb('0x38')]){_0x4b0fad[_0xcbdb('0x36')]=_[_0xcbdb('0x39')](_0x4b0fad[_0xcbdb('0x36')],{'$or':_[_0xcbdb('0x26')](_0x277766,function(_0x5c982f){if(_0x5c982f[_0xcbdb('0x3a')]!==_0xcbdb('0x3b')){var _0xd50d19={};_0xd50d19[_0x5c982f['name']]={'$like':'%'+_0x198874['query'][_0xcbdb('0x38')]+'%'};return _0xd50d19;}})});}_0x4b0fad=_['merge']({},_0x4b0fad,_0x198874[_0xcbdb('0x3c')]);var _0x489383={'where':_0x4b0fad[_0xcbdb('0x36')]};return db[_0xcbdb('0x27')][_0xcbdb('0x3d')](_0x489383)[_0xcbdb('0x20')](function(_0x3465dd){_0xdccffd[_0xcbdb('0x3d')]=_0x3465dd;if(_0x198874[_0xcbdb('0x2a')][_0xcbdb('0x3e')]){_0x4b0fad[_0xcbdb('0x3f')]=[{'all':!![]}];}return db[_0xcbdb('0x27')][_0xcbdb('0x40')](_0x4b0fad);})[_0xcbdb('0x20')](function(_0x3a76cc){_0xdccffd['rows']=_0x3a76cc;return _0xdccffd;})[_0xcbdb('0x20')](respondWithFilteredResult(_0x42cae8,_0x4b0fad))[_0xcbdb('0x41')](handleError(_0x42cae8,null));};exports[_0xcbdb('0x42')]=function(_0x50030f,_0x3b16ec){var _0x6465bd={'raw':!![],'where':{'id':_0x50030f[_0xcbdb('0x43')]['id']}},_0x40543a={};_0x40543a[_0xcbdb('0x2e')]=_['keys'](db[_0xcbdb('0x27')][_0xcbdb('0x28')]);_0x40543a[_0xcbdb('0x2a')]=_[_0xcbdb('0x2b')](_0x50030f[_0xcbdb('0x2a')]);_0x40543a['filters']=_[_0xcbdb('0x2d')](_0x40543a[_0xcbdb('0x2e')],_0x40543a[_0xcbdb('0x2a')]);_0x6465bd[_0xcbdb('0x2f')]=_[_0xcbdb('0x2d')](_0x40543a['model'],qs[_0xcbdb('0x30')](_0x50030f[_0xcbdb('0x2a')][_0xcbdb('0x30')]));_0x6465bd[_0xcbdb('0x2f')]=_0x6465bd[_0xcbdb('0x2f')][_0xcbdb('0x31')]?_0x6465bd[_0xcbdb('0x2f')]:_0x40543a[_0xcbdb('0x2e')];if(_0x50030f[_0xcbdb('0x2a')][_0xcbdb('0x3e')]){_0x6465bd['include']=[{'all':!![]}];}_0x6465bd=_[_0xcbdb('0x39')]({},_0x6465bd,_0x50030f['options']);return db[_0xcbdb('0x27')][_0xcbdb('0x44')](_0x6465bd)[_0xcbdb('0x20')](handleEntityNotFound(_0x3b16ec,null))[_0xcbdb('0x20')](respondWithResult(_0x3b16ec,null))['catch'](handleError(_0x3b16ec,null));};exports['create']=function(_0x422638,_0x222f5e){return db['MailQueueReport']['create'](_0x422638['body'],{})['then'](respondWithResult(_0x222f5e,0xc9))[_0xcbdb('0x41')](handleError(_0x222f5e,null));};exports['update']=function(_0x21132d,_0x300ed2){if(_0x21132d['body']['id']){delete _0x21132d['body']['id'];}return db['MailQueueReport'][_0xcbdb('0x44')]({'where':{'id':_0x21132d[_0xcbdb('0x43')]['id']}})[_0xcbdb('0x20')](handleEntityNotFound(_0x300ed2,null))['then'](saveUpdates(_0x21132d[_0xcbdb('0x45')],null))[_0xcbdb('0x20')](respondWithResult(_0x300ed2,null))[_0xcbdb('0x41')](handleError(_0x300ed2,null));};exports[_0xcbdb('0x21')]=function(_0x53d39c,_0x27946a){return db[_0xcbdb('0x27')]['find']({'where':{'id':_0x53d39c[_0xcbdb('0x43')]['id']}})[_0xcbdb('0x20')](handleEntityNotFound(_0x27946a,null))[_0xcbdb('0x20')](removeEntity(_0x27946a,null))[_0xcbdb('0x41')](handleError(_0x27946a,null));};exports[_0xcbdb('0x46')]=function(_0x191f3a,_0x477431){return db[_0xcbdb('0x27')][_0xcbdb('0x46')]()[_0xcbdb('0x20')](respondWithResult(_0x477431,null))['catch'](handleError(_0x477431,null));};
\ No newline at end of file
+var _0x6050=['filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','findAll','rows','catch','show','params','include','find','create','body','update','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','fs-extra','jsforce','desk.js','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','apply','reject','save','then','destroy','name','send','index','map','MailQueueReport','rawAttributes','type','key','model','query','keys'];(function(_0x496e40,_0x388cdd){var _0x3857af=function(_0x1cf840){while(--_0x1cf840){_0x496e40['push'](_0x496e40['shift']());}};_0x3857af(++_0x388cdd);}(_0x6050,0x196));var _0x0605=function(_0x45b555,_0x5018a6){_0x45b555=_0x45b555-0x0;var _0x251d3b=_0x6050[_0x45b555];return _0x251d3b;};'use strict';var emlformat=require(_0x0605('0x0'));var rimraf=require(_0x0605('0x1'));var zipdir=require(_0x0605('0x2'));var jsonpatch=require(_0x0605('0x3'));var rp=require(_0x0605('0x4'));var moment=require(_0x0605('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0605('0x6'));var util=require(_0x0605('0x7'));var path=require(_0x0605('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x0605('0x9'));var _=require('lodash');var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x0605('0xa'));var deskjs=require(_0x0605('0xb'));var toCsv=require(_0x0605('0xc'));var querystring=require(_0x0605('0xd'));var Papa=require(_0x0605('0xe'));var Redis=require('ioredis');var authService=require(_0x0605('0xf'));var qs=require(_0x0605('0x10'));var as=require(_0x0605('0x11'));var hardwareService=require(_0x0605('0x12'));var logger=require(_0x0605('0x13'))(_0x0605('0x14'));var utils=require(_0x0605('0x15'));var config=require(_0x0605('0x16'));var licenseUtil=require(_0x0605('0x17'));var db=require(_0x0605('0x18'))['db'];function respondWithStatusCode(_0xd22e35,_0x39e288){_0x39e288=_0x39e288||0xcc;return function(_0x34c9e6){if(_0x34c9e6){return _0xd22e35[_0x0605('0x19')](_0x39e288);}return _0xd22e35[_0x0605('0x1a')](_0x39e288)[_0x0605('0x1b')]();};}function respondWithResult(_0x169a70,_0x65a20b){_0x65a20b=_0x65a20b||0xc8;return function(_0x1b944f){if(_0x1b944f){return _0x169a70['status'](_0x65a20b)[_0x0605('0x1c')](_0x1b944f);}};}function respondWithFilteredResult(_0x1a802b,_0x4993ab){return function(_0x5ce56a){if(_0x5ce56a){var _0x4eefe9=typeof _0x4993ab[_0x0605('0x1d')]===_0x0605('0x1e')&&typeof _0x4993ab[_0x0605('0x1f')]===_0x0605('0x1e');var _0xefc557=_0x5ce56a[_0x0605('0x20')];var _0x2b7b5a=_0x4eefe9?0x0:_0x4993ab[_0x0605('0x1d')];var _0x193520=_0x4eefe9?_0x5ce56a[_0x0605('0x20')]:_0x4993ab[_0x0605('0x1d')]+_0x4993ab[_0x0605('0x1f')];var _0x2e2204;if(_0x193520>=_0xefc557){_0x193520=_0xefc557;_0x2e2204=0xc8;}else{_0x2e2204=0xce;}_0x1a802b[_0x0605('0x1a')](_0x2e2204);return _0x1a802b['set'](_0x0605('0x21'),_0x2b7b5a+'-'+_0x193520+'/'+_0xefc557)[_0x0605('0x1c')](_0x5ce56a);}return null;};}function patchUpdates(_0x430f28){return function(_0x443326){try{jsonpatch[_0x0605('0x22')](_0x443326,_0x430f28,!![]);}catch(_0x90b2e1){return BPromise[_0x0605('0x23')](_0x90b2e1);}return _0x443326[_0x0605('0x24')]();};}function saveUpdates(_0x226ef5,_0x5b0d44){return function(_0xc334b8){if(_0xc334b8){return _0xc334b8['update'](_0x226ef5)[_0x0605('0x25')](function(_0x118e9c){return _0x118e9c;});}return null;};}function removeEntity(_0x110098,_0xf182c4){return function(_0x10c575){if(_0x10c575){return _0x10c575[_0x0605('0x26')]()[_0x0605('0x25')](function(){_0x110098[_0x0605('0x1a')](0xcc)[_0x0605('0x1b')]();});}};}function handleEntityNotFound(_0x2896d7,_0x9f2833){return function(_0x1c3722){if(!_0x1c3722){_0x2896d7['sendStatus'](0x194);}return _0x1c3722;};}function handleError(_0x6bc204,_0x3c8e36){_0x3c8e36=_0x3c8e36||0x1f4;return function(_0x4b1e0c){logger['error'](_0x4b1e0c['stack']);if(_0x4b1e0c[_0x0605('0x27')]){delete _0x4b1e0c[_0x0605('0x27')];}_0x6bc204[_0x0605('0x1a')](_0x3c8e36)[_0x0605('0x28')](_0x4b1e0c);};}exports[_0x0605('0x29')]=function(_0x4554df,_0x4e32ef){var _0x34f25d={},_0x5daef6={},_0xa836f2={'count':0x0,'rows':[]};var _0x3640b9=_[_0x0605('0x2a')](db[_0x0605('0x2b')][_0x0605('0x2c')],function(_0x352dd6){return{'name':_0x352dd6['fieldName'],'type':_0x352dd6[_0x0605('0x2d')][_0x0605('0x2e')]};});_0x5daef6[_0x0605('0x2f')]=_[_0x0605('0x2a')](_0x3640b9,_0x0605('0x27'));_0x5daef6[_0x0605('0x30')]=_[_0x0605('0x31')](_0x4554df[_0x0605('0x30')]);_0x5daef6[_0x0605('0x32')]=_[_0x0605('0x33')](_0x5daef6[_0x0605('0x2f')],_0x5daef6[_0x0605('0x30')]);_0x34f25d[_0x0605('0x34')]=_[_0x0605('0x33')](_0x5daef6[_0x0605('0x2f')],qs[_0x0605('0x35')](_0x4554df[_0x0605('0x30')][_0x0605('0x35')]));_0x34f25d[_0x0605('0x34')]=_0x34f25d[_0x0605('0x34')][_0x0605('0x36')]?_0x34f25d[_0x0605('0x34')]:_0x5daef6[_0x0605('0x2f')];if(!_0x4554df[_0x0605('0x30')][_0x0605('0x37')](_0x0605('0x38'))){_0x34f25d[_0x0605('0x1f')]=qs['limit'](_0x4554df[_0x0605('0x30')][_0x0605('0x1f')]);_0x34f25d['offset']=qs[_0x0605('0x1d')](_0x4554df[_0x0605('0x30')]['offset']);}_0x34f25d[_0x0605('0x39')]=qs[_0x0605('0x3a')](_0x4554df[_0x0605('0x30')][_0x0605('0x3a')]);_0x34f25d[_0x0605('0x3b')]=qs[_0x0605('0x32')](_['pick'](_0x4554df['query'],_0x5daef6[_0x0605('0x32')]),_0x3640b9);if(_0x4554df[_0x0605('0x30')][_0x0605('0x3c')]){_0x34f25d['where']=_[_0x0605('0x3d')](_0x34f25d['where'],{'$or':_[_0x0605('0x2a')](_0x3640b9,function(_0x1e98f6){if(_0x1e98f6[_0x0605('0x2d')]!==_0x0605('0x3e')){var _0x42f7ce={};_0x42f7ce[_0x1e98f6[_0x0605('0x27')]]={'$like':'%'+_0x4554df[_0x0605('0x30')][_0x0605('0x3c')]+'%'};return _0x42f7ce;}})});}_0x34f25d=_[_0x0605('0x3d')]({},_0x34f25d,_0x4554df[_0x0605('0x3f')]);var _0x57aa15={'where':_0x34f25d[_0x0605('0x3b')]};return db['MailQueueReport'][_0x0605('0x20')](_0x57aa15)[_0x0605('0x25')](function(_0x45787e){_0xa836f2['count']=_0x45787e;if(_0x4554df['query'][_0x0605('0x40')]){_0x34f25d['include']=[{'all':!![]}];}return db[_0x0605('0x2b')][_0x0605('0x41')](_0x34f25d);})[_0x0605('0x25')](function(_0x3de34a){_0xa836f2[_0x0605('0x42')]=_0x3de34a;return _0xa836f2;})[_0x0605('0x25')](respondWithFilteredResult(_0x4e32ef,_0x34f25d))[_0x0605('0x43')](handleError(_0x4e32ef,null));};exports[_0x0605('0x44')]=function(_0x3fa553,_0x10bb36){var _0x18d3ce={'raw':!![],'where':{'id':_0x3fa553[_0x0605('0x45')]['id']}},_0x3616a3={};_0x3616a3['model']=_['keys'](db[_0x0605('0x2b')]['rawAttributes']);_0x3616a3[_0x0605('0x30')]=_[_0x0605('0x31')](_0x3fa553['query']);_0x3616a3[_0x0605('0x32')]=_[_0x0605('0x33')](_0x3616a3['model'],_0x3616a3[_0x0605('0x30')]);_0x18d3ce[_0x0605('0x34')]=_['intersection'](_0x3616a3[_0x0605('0x2f')],qs[_0x0605('0x35')](_0x3fa553['query'][_0x0605('0x35')]));_0x18d3ce['attributes']=_0x18d3ce['attributes'][_0x0605('0x36')]?_0x18d3ce[_0x0605('0x34')]:_0x3616a3[_0x0605('0x2f')];if(_0x3fa553[_0x0605('0x30')][_0x0605('0x40')]){_0x18d3ce[_0x0605('0x46')]=[{'all':!![]}];}_0x18d3ce=_[_0x0605('0x3d')]({},_0x18d3ce,_0x3fa553[_0x0605('0x3f')]);return db['MailQueueReport'][_0x0605('0x47')](_0x18d3ce)[_0x0605('0x25')](handleEntityNotFound(_0x10bb36,null))[_0x0605('0x25')](respondWithResult(_0x10bb36,null))['catch'](handleError(_0x10bb36,null));};exports[_0x0605('0x48')]=function(_0x1fb70b,_0x45cc1a){return db[_0x0605('0x2b')][_0x0605('0x48')](_0x1fb70b[_0x0605('0x49')],{})[_0x0605('0x25')](respondWithResult(_0x45cc1a,0xc9))[_0x0605('0x43')](handleError(_0x45cc1a,null));};exports[_0x0605('0x4a')]=function(_0x4bc55e,_0x3c597c){if(_0x4bc55e[_0x0605('0x49')]['id']){delete _0x4bc55e[_0x0605('0x49')]['id'];}return db[_0x0605('0x2b')][_0x0605('0x47')]({'where':{'id':_0x4bc55e[_0x0605('0x45')]['id']}})[_0x0605('0x25')](handleEntityNotFound(_0x3c597c,null))[_0x0605('0x25')](saveUpdates(_0x4bc55e[_0x0605('0x49')],null))[_0x0605('0x25')](respondWithResult(_0x3c597c,null))['catch'](handleError(_0x3c597c,null));};exports['destroy']=function(_0x4876c7,_0x2687a8){return db[_0x0605('0x2b')][_0x0605('0x47')]({'where':{'id':_0x4876c7[_0x0605('0x45')]['id']}})[_0x0605('0x25')](handleEntityNotFound(_0x2687a8,null))[_0x0605('0x25')](removeEntity(_0x2687a8,null))['catch'](handleError(_0x2687a8,null));};exports[_0x0605('0x4b')]=function(_0x286485,_0x184232){return db[_0x0605('0x2b')]['describe']()[_0x0605('0x25')](respondWithResult(_0x184232,null))[_0x0605('0x43')](handleError(_0x184232,null));};
\ No newline at end of file