Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / api / faxTransferReport / faxTransferReport.controller.js
index 37542ba..32a6fb8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x771d=['fields','hasOwnProperty','sort','where','pick','filter','merge','VIRTUAL','options','count','include','findAll','rows','catch','params','length','includeAll','find','body','update','destroy','describe','rimraf','request-promise','moment','util','path','sox','lodash','squel','crypto','to-csv','querystring','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','set','apply','reject','then','end','error','stack','name','send','index','map','FaxTransferReport','rawAttributes','fieldName','type','query','keys','filters','intersection','model','attributes'];(function(_0x531992,_0x37abac){var _0x424a0c=function(_0x526cfc){while(--_0x526cfc){_0x531992['push'](_0x531992['shift']());}};_0x424a0c(++_0x37abac);}(_0x771d,0xdf));var _0xd771=function(_0x314f5b,_0x117baa){_0x314f5b=_0x314f5b-0x0;var _0x38b90a=_0x771d[_0x314f5b];return _0x38b90a;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xd771('0x0'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0xd771('0x1'));var moment=require(_0xd771('0x2'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xd771('0x3'));var path=require(_0xd771('0x4'));var sox=require(_0xd771('0x5'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xd771('0x6'));var squel=require(_0xd771('0x7'));var crypto=require(_0xd771('0x8'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xd771('0x9'));var querystring=require(_0xd771('0xa'));var Papa=require('papaparse');var Redis=require(_0xd771('0xb'));var authService=require('../../components/auth/service');var qs=require(_0xd771('0xc'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xd771('0xd'));var logger=require(_0xd771('0xe'))(_0xd771('0xf'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0xd771('0x10'));var db=require(_0xd771('0x11'))['db'];function respondWithStatusCode(_0x14c770,_0x45b45a){_0x45b45a=_0x45b45a||0xcc;return function(_0x39004f){if(_0x39004f){return _0x14c770[_0xd771('0x12')](_0x45b45a);}return _0x14c770[_0xd771('0x13')](_0x45b45a)['end']();};}function respondWithResult(_0x163c66,_0x444291){_0x444291=_0x444291||0xc8;return function(_0x522cf9){if(_0x522cf9){return _0x163c66[_0xd771('0x13')](_0x444291)[_0xd771('0x14')](_0x522cf9);}};}function respondWithFilteredResult(_0x39e94a,_0x32b89b){return function(_0x337ca7){if(_0x337ca7){var _0x1ff3d3=typeof _0x32b89b[_0xd771('0x15')]===_0xd771('0x16')&&typeof _0x32b89b['limit']===_0xd771('0x16');var _0x3c62ff=_0x337ca7['count'];var _0x4cec4f=_0x1ff3d3?0x0:_0x32b89b[_0xd771('0x15')];var _0x4692d8=_0x1ff3d3?_0x337ca7['count']:_0x32b89b[_0xd771('0x15')]+_0x32b89b[_0xd771('0x17')];var _0x238399;if(_0x4692d8>=_0x3c62ff){_0x4692d8=_0x3c62ff;_0x238399=0xc8;}else{_0x238399=0xce;}_0x39e94a[_0xd771('0x13')](_0x238399);return _0x39e94a[_0xd771('0x18')]('Content-Range',_0x4cec4f+'-'+_0x4692d8+'/'+_0x3c62ff)[_0xd771('0x14')](_0x337ca7);}return null;};}function patchUpdates(_0x25490c){return function(_0x25df77){try{jsonpatch[_0xd771('0x19')](_0x25df77,_0x25490c,!![]);}catch(_0x115044){return BPromise[_0xd771('0x1a')](_0x115044);}return _0x25df77['save']();};}function saveUpdates(_0x2a4912,_0x37338a){return function(_0x5446a8){if(_0x5446a8){return _0x5446a8['update'](_0x2a4912)[_0xd771('0x1b')](function(_0x398cd5){return _0x398cd5;});}return null;};}function removeEntity(_0xab19c,_0x540b3a){return function(_0x31ef58){if(_0x31ef58){return _0x31ef58['destroy']()[_0xd771('0x1b')](function(){_0xab19c[_0xd771('0x13')](0xcc)[_0xd771('0x1c')]();});}};}function handleEntityNotFound(_0x4d4dd1,_0x1ac7b5){return function(_0x36ee55){if(!_0x36ee55){_0x4d4dd1[_0xd771('0x12')](0x194);}return _0x36ee55;};}function handleError(_0x7f75b,_0x227b0a){_0x227b0a=_0x227b0a||0x1f4;return function(_0x525a2d){logger[_0xd771('0x1d')](_0x525a2d[_0xd771('0x1e')]);if(_0x525a2d[_0xd771('0x1f')]){delete _0x525a2d[_0xd771('0x1f')];}_0x7f75b[_0xd771('0x13')](_0x227b0a)[_0xd771('0x20')](_0x525a2d);};}exports[_0xd771('0x21')]=function(_0x14aecf,_0x15a314){var _0x418dd6={},_0x47d32e={},_0xc9bfd1={'count':0x0,'rows':[]};var _0x793a78=_[_0xd771('0x22')](db[_0xd771('0x23')][_0xd771('0x24')],function(_0xb840e7){return{'name':_0xb840e7[_0xd771('0x25')],'type':_0xb840e7[_0xd771('0x26')]['key']};});_0x47d32e['model']=_['map'](_0x793a78,_0xd771('0x1f'));_0x47d32e[_0xd771('0x27')]=_[_0xd771('0x28')](_0x14aecf['query']);_0x47d32e[_0xd771('0x29')]=_[_0xd771('0x2a')](_0x47d32e[_0xd771('0x2b')],_0x47d32e[_0xd771('0x27')]);_0x418dd6[_0xd771('0x2c')]=_['intersection'](_0x47d32e[_0xd771('0x2b')],qs[_0xd771('0x2d')](_0x14aecf[_0xd771('0x27')][_0xd771('0x2d')]));_0x418dd6[_0xd771('0x2c')]=_0x418dd6[_0xd771('0x2c')]['length']?_0x418dd6[_0xd771('0x2c')]:_0x47d32e[_0xd771('0x2b')];if(!_0x14aecf[_0xd771('0x27')][_0xd771('0x2e')]('nolimit')){_0x418dd6['limit']=qs[_0xd771('0x17')](_0x14aecf[_0xd771('0x27')][_0xd771('0x17')]);_0x418dd6[_0xd771('0x15')]=qs[_0xd771('0x15')](_0x14aecf[_0xd771('0x27')][_0xd771('0x15')]);}_0x418dd6['order']=qs[_0xd771('0x2f')](_0x14aecf[_0xd771('0x27')][_0xd771('0x2f')]);_0x418dd6[_0xd771('0x30')]=qs[_0xd771('0x29')](_[_0xd771('0x31')](_0x14aecf[_0xd771('0x27')],_0x47d32e['filters']),_0x793a78);if(_0x14aecf[_0xd771('0x27')][_0xd771('0x32')]){_0x418dd6['where']=_[_0xd771('0x33')](_0x418dd6['where'],{'$or':_[_0xd771('0x22')](_0x793a78,function(_0x647eb7){if(_0x647eb7[_0xd771('0x26')]!==_0xd771('0x34')){var _0x2cd7c2={};_0x2cd7c2[_0x647eb7['name']]={'$like':'%'+_0x14aecf[_0xd771('0x27')]['filter']+'%'};return _0x2cd7c2;}})});}_0x418dd6=_[_0xd771('0x33')]({},_0x418dd6,_0x14aecf[_0xd771('0x35')]);var _0xefd837={'where':_0x418dd6['where']};return db[_0xd771('0x23')][_0xd771('0x36')](_0xefd837)[_0xd771('0x1b')](function(_0x28aa12){_0xc9bfd1[_0xd771('0x36')]=_0x28aa12;if(_0x14aecf[_0xd771('0x27')]['includeAll']){_0x418dd6[_0xd771('0x37')]=[{'all':!![]}];}return db['FaxTransferReport'][_0xd771('0x38')](_0x418dd6);})[_0xd771('0x1b')](function(_0x1205d5){_0xc9bfd1[_0xd771('0x39')]=_0x1205d5;return _0xc9bfd1;})[_0xd771('0x1b')](respondWithFilteredResult(_0x15a314,_0x418dd6))[_0xd771('0x3a')](handleError(_0x15a314,null));};exports['show']=function(_0x537220,_0x102fa9){var _0x11873a={'raw':!![],'where':{'id':_0x537220[_0xd771('0x3b')]['id']}},_0x55db00={};_0x55db00[_0xd771('0x2b')]=_['keys'](db[_0xd771('0x23')][_0xd771('0x24')]);_0x55db00[_0xd771('0x27')]=_[_0xd771('0x28')](_0x537220[_0xd771('0x27')]);_0x55db00['filters']=_[_0xd771('0x2a')](_0x55db00[_0xd771('0x2b')],_0x55db00[_0xd771('0x27')]);_0x11873a['attributes']=_[_0xd771('0x2a')](_0x55db00[_0xd771('0x2b')],qs[_0xd771('0x2d')](_0x537220[_0xd771('0x27')][_0xd771('0x2d')]));_0x11873a['attributes']=_0x11873a[_0xd771('0x2c')][_0xd771('0x3c')]?_0x11873a[_0xd771('0x2c')]:_0x55db00[_0xd771('0x2b')];if(_0x537220[_0xd771('0x27')][_0xd771('0x3d')]){_0x11873a[_0xd771('0x37')]=[{'all':!![]}];}_0x11873a=_[_0xd771('0x33')]({},_0x11873a,_0x537220['options']);return db[_0xd771('0x23')][_0xd771('0x3e')](_0x11873a)[_0xd771('0x1b')](handleEntityNotFound(_0x102fa9,null))['then'](respondWithResult(_0x102fa9,null))['catch'](handleError(_0x102fa9,null));};exports['create']=function(_0x4b9173,_0x4b8759){return db[_0xd771('0x23')]['create'](_0x4b9173[_0xd771('0x3f')],{})[_0xd771('0x1b')](respondWithResult(_0x4b8759,0xc9))[_0xd771('0x3a')](handleError(_0x4b8759,null));};exports[_0xd771('0x40')]=function(_0x337506,_0x3da055){if(_0x337506['body']['id']){delete _0x337506[_0xd771('0x3f')]['id'];}return db['FaxTransferReport'][_0xd771('0x3e')]({'where':{'id':_0x337506[_0xd771('0x3b')]['id']}})[_0xd771('0x1b')](handleEntityNotFound(_0x3da055,null))['then'](saveUpdates(_0x337506[_0xd771('0x3f')],null))[_0xd771('0x1b')](respondWithResult(_0x3da055,null))[_0xd771('0x3a')](handleError(_0x3da055,null));};exports[_0xd771('0x41')]=function(_0x5ad5aa,_0x1cdb37){return db[_0xd771('0x23')][_0xd771('0x3e')]({'where':{'id':_0x5ad5aa['params']['id']}})[_0xd771('0x1b')](handleEntityNotFound(_0x1cdb37,null))[_0xd771('0x1b')](removeEntity(_0x1cdb37,null))[_0xd771('0x3a')](handleError(_0x1cdb37,null));};exports[_0xd771('0x42')]=function(_0x2b37ba,_0x2b9c54){return db[_0xd771('0x23')][_0xd771('0x42')]()[_0xd771('0x1b')](respondWithResult(_0x2b9c54,null))[_0xd771('0x3a')](handleError(_0x2b9c54,null));};
\ No newline at end of file
+var _0x9ee1=['sort','where','pick','merge','VIRTUAL','filter','options','includeAll','include','findAll','show','params','find','create','catch','body','describe','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','save','update','then','destroy','error','stack','name','send','index','map','FaxTransferReport','rawAttributes','fieldName','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order'];(function(_0x3c36c4,_0x4f7d42){var _0x239d6b=function(_0x59187a){while(--_0x59187a){_0x3c36c4['push'](_0x3c36c4['shift']());}};_0x239d6b(++_0x4f7d42);}(_0x9ee1,0xab));var _0x19ee=function(_0x5af39f,_0x3353a8){_0x5af39f=_0x5af39f-0x0;var _0x1268af=_0x9ee1[_0x5af39f];return _0x1268af;};'use strict';var emlformat=require(_0x19ee('0x0'));var rimraf=require(_0x19ee('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x19ee('0x2'));var moment=require('moment');var BPromise=require(_0x19ee('0x3'));var Mustache=require(_0x19ee('0x4'));var util=require(_0x19ee('0x5'));var path=require(_0x19ee('0x6'));var sox=require(_0x19ee('0x7'));var csv=require(_0x19ee('0x8'));var ejs=require(_0x19ee('0x9'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x19ee('0xa'));var squel=require(_0x19ee('0xb'));var crypto=require(_0x19ee('0xc'));var jsforce=require(_0x19ee('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x19ee('0x8'));var querystring=require('querystring');var Papa=require(_0x19ee('0xe'));var Redis=require(_0x19ee('0xf'));var authService=require(_0x19ee('0x10'));var qs=require(_0x19ee('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x19ee('0x12'));var logger=require(_0x19ee('0x13'))(_0x19ee('0x14'));var utils=require(_0x19ee('0x15'));var config=require('../../config/environment');var licenseUtil=require(_0x19ee('0x16'));var db=require(_0x19ee('0x17'))['db'];function respondWithStatusCode(_0x437170,_0x16e99a){_0x16e99a=_0x16e99a||0xcc;return function(_0x43ef12){if(_0x43ef12){return _0x437170[_0x19ee('0x18')](_0x16e99a);}return _0x437170[_0x19ee('0x19')](_0x16e99a)[_0x19ee('0x1a')]();};}function respondWithResult(_0x28654c,_0x26763b){_0x26763b=_0x26763b||0xc8;return function(_0x2634e8){if(_0x2634e8){return _0x28654c['status'](_0x26763b)[_0x19ee('0x1b')](_0x2634e8);}};}function respondWithFilteredResult(_0x354c16,_0x16699f){return function(_0x1e9fa2){if(_0x1e9fa2){var _0x40cba7=typeof _0x16699f[_0x19ee('0x1c')]===_0x19ee('0x1d')&&typeof _0x16699f[_0x19ee('0x1e')]===_0x19ee('0x1d');var _0x331de9=_0x1e9fa2[_0x19ee('0x1f')];var _0x3a0406=_0x40cba7?0x0:_0x16699f[_0x19ee('0x1c')];var _0x102d70=_0x40cba7?_0x1e9fa2[_0x19ee('0x1f')]:_0x16699f['offset']+_0x16699f[_0x19ee('0x1e')];var _0x49c98c;if(_0x102d70>=_0x331de9){_0x102d70=_0x331de9;_0x49c98c=0xc8;}else{_0x49c98c=0xce;}_0x354c16[_0x19ee('0x19')](_0x49c98c);return _0x354c16[_0x19ee('0x20')](_0x19ee('0x21'),_0x3a0406+'-'+_0x102d70+'/'+_0x331de9)[_0x19ee('0x1b')](_0x1e9fa2);}return null;};}function patchUpdates(_0x39d7f1){return function(_0xabdf5a){try{jsonpatch[_0x19ee('0x22')](_0xabdf5a,_0x39d7f1,!![]);}catch(_0x349490){return BPromise['reject'](_0x349490);}return _0xabdf5a[_0x19ee('0x23')]();};}function saveUpdates(_0x19de9c,_0x4d9bff){return function(_0x48ca0d){if(_0x48ca0d){return _0x48ca0d[_0x19ee('0x24')](_0x19de9c)[_0x19ee('0x25')](function(_0x3086e7){return _0x3086e7;});}return null;};}function removeEntity(_0x69cbe5,_0xa6b9c2){return function(_0xd9780c){if(_0xd9780c){return _0xd9780c[_0x19ee('0x26')]()[_0x19ee('0x25')](function(){_0x69cbe5[_0x19ee('0x19')](0xcc)[_0x19ee('0x1a')]();});}};}function handleEntityNotFound(_0x50e848,_0x371098){return function(_0x1f4bd3){if(!_0x1f4bd3){_0x50e848[_0x19ee('0x18')](0x194);}return _0x1f4bd3;};}function handleError(_0x13c9bd,_0x5efd95){_0x5efd95=_0x5efd95||0x1f4;return function(_0x54bbdb){logger[_0x19ee('0x27')](_0x54bbdb[_0x19ee('0x28')]);if(_0x54bbdb[_0x19ee('0x29')]){delete _0x54bbdb[_0x19ee('0x29')];}_0x13c9bd[_0x19ee('0x19')](_0x5efd95)[_0x19ee('0x2a')](_0x54bbdb);};}exports[_0x19ee('0x2b')]=function(_0x3b23ae,_0x87f81e){var _0x2c4f45={},_0x482e81={},_0x287446={'count':0x0,'rows':[]};var _0x397a95=_[_0x19ee('0x2c')](db[_0x19ee('0x2d')][_0x19ee('0x2e')],function(_0x48ee70){return{'name':_0x48ee70[_0x19ee('0x2f')],'type':_0x48ee70[_0x19ee('0x30')]['key']};});_0x482e81[_0x19ee('0x31')]=_[_0x19ee('0x2c')](_0x397a95,_0x19ee('0x29'));_0x482e81[_0x19ee('0x32')]=_[_0x19ee('0x33')](_0x3b23ae['query']);_0x482e81[_0x19ee('0x34')]=_[_0x19ee('0x35')](_0x482e81[_0x19ee('0x31')],_0x482e81[_0x19ee('0x32')]);_0x2c4f45[_0x19ee('0x36')]=_[_0x19ee('0x35')](_0x482e81['model'],qs[_0x19ee('0x37')](_0x3b23ae[_0x19ee('0x32')][_0x19ee('0x37')]));_0x2c4f45[_0x19ee('0x36')]=_0x2c4f45[_0x19ee('0x36')][_0x19ee('0x38')]?_0x2c4f45[_0x19ee('0x36')]:_0x482e81[_0x19ee('0x31')];if(!_0x3b23ae[_0x19ee('0x32')][_0x19ee('0x39')](_0x19ee('0x3a'))){_0x2c4f45[_0x19ee('0x1e')]=qs[_0x19ee('0x1e')](_0x3b23ae[_0x19ee('0x32')]['limit']);_0x2c4f45[_0x19ee('0x1c')]=qs[_0x19ee('0x1c')](_0x3b23ae[_0x19ee('0x32')][_0x19ee('0x1c')]);}_0x2c4f45[_0x19ee('0x3b')]=qs[_0x19ee('0x3c')](_0x3b23ae[_0x19ee('0x32')][_0x19ee('0x3c')]);_0x2c4f45[_0x19ee('0x3d')]=qs[_0x19ee('0x34')](_[_0x19ee('0x3e')](_0x3b23ae[_0x19ee('0x32')],_0x482e81['filters']),_0x397a95);if(_0x3b23ae['query']['filter']){_0x2c4f45[_0x19ee('0x3d')]=_[_0x19ee('0x3f')](_0x2c4f45[_0x19ee('0x3d')],{'$or':_[_0x19ee('0x2c')](_0x397a95,function(_0x46b8b6){if(_0x46b8b6[_0x19ee('0x30')]!==_0x19ee('0x40')){var _0x4eaaa1={};_0x4eaaa1[_0x46b8b6['name']]={'$like':'%'+_0x3b23ae[_0x19ee('0x32')][_0x19ee('0x41')]+'%'};return _0x4eaaa1;}})});}_0x2c4f45=_[_0x19ee('0x3f')]({},_0x2c4f45,_0x3b23ae[_0x19ee('0x42')]);var _0x1fd093={'where':_0x2c4f45[_0x19ee('0x3d')]};return db[_0x19ee('0x2d')][_0x19ee('0x1f')](_0x1fd093)[_0x19ee('0x25')](function(_0x1ea1e7){_0x287446[_0x19ee('0x1f')]=_0x1ea1e7;if(_0x3b23ae['query'][_0x19ee('0x43')]){_0x2c4f45[_0x19ee('0x44')]=[{'all':!![]}];}return db[_0x19ee('0x2d')][_0x19ee('0x45')](_0x2c4f45);})[_0x19ee('0x25')](function(_0x226a3a){_0x287446['rows']=_0x226a3a;return _0x287446;})[_0x19ee('0x25')](respondWithFilteredResult(_0x87f81e,_0x2c4f45))['catch'](handleError(_0x87f81e,null));};exports[_0x19ee('0x46')]=function(_0x45e8db,_0xc9c3c9){var _0x534214={'raw':!![],'where':{'id':_0x45e8db[_0x19ee('0x47')]['id']}},_0x4e375e={};_0x4e375e[_0x19ee('0x31')]=_[_0x19ee('0x33')](db['FaxTransferReport']['rawAttributes']);_0x4e375e['query']=_[_0x19ee('0x33')](_0x45e8db[_0x19ee('0x32')]);_0x4e375e[_0x19ee('0x34')]=_['intersection'](_0x4e375e[_0x19ee('0x31')],_0x4e375e[_0x19ee('0x32')]);_0x534214[_0x19ee('0x36')]=_[_0x19ee('0x35')](_0x4e375e[_0x19ee('0x31')],qs[_0x19ee('0x37')](_0x45e8db[_0x19ee('0x32')]['fields']));_0x534214[_0x19ee('0x36')]=_0x534214['attributes'][_0x19ee('0x38')]?_0x534214[_0x19ee('0x36')]:_0x4e375e[_0x19ee('0x31')];if(_0x45e8db[_0x19ee('0x32')]['includeAll']){_0x534214[_0x19ee('0x44')]=[{'all':!![]}];}_0x534214=_[_0x19ee('0x3f')]({},_0x534214,_0x45e8db[_0x19ee('0x42')]);return db[_0x19ee('0x2d')][_0x19ee('0x48')](_0x534214)[_0x19ee('0x25')](handleEntityNotFound(_0xc9c3c9,null))[_0x19ee('0x25')](respondWithResult(_0xc9c3c9,null))['catch'](handleError(_0xc9c3c9,null));};exports['create']=function(_0x18816d,_0x114555){return db['FaxTransferReport'][_0x19ee('0x49')](_0x18816d['body'],{})[_0x19ee('0x25')](respondWithResult(_0x114555,0xc9))[_0x19ee('0x4a')](handleError(_0x114555,null));};exports[_0x19ee('0x24')]=function(_0x1af9c1,_0x559eda){if(_0x1af9c1[_0x19ee('0x4b')]['id']){delete _0x1af9c1[_0x19ee('0x4b')]['id'];}return db[_0x19ee('0x2d')]['find']({'where':{'id':_0x1af9c1[_0x19ee('0x47')]['id']}})[_0x19ee('0x25')](handleEntityNotFound(_0x559eda,null))['then'](saveUpdates(_0x1af9c1[_0x19ee('0x4b')],null))[_0x19ee('0x25')](respondWithResult(_0x559eda,null))[_0x19ee('0x4a')](handleError(_0x559eda,null));};exports[_0x19ee('0x26')]=function(_0x570f54,_0x18e413){return db['FaxTransferReport'][_0x19ee('0x48')]({'where':{'id':_0x570f54[_0x19ee('0x47')]['id']}})[_0x19ee('0x25')](handleEntityNotFound(_0x18e413,null))[_0x19ee('0x25')](removeEntity(_0x18e413,null))[_0x19ee('0x4a')](handleError(_0x18e413,null));};exports[_0x19ee('0x4c')]=function(_0x490405,_0x39cb96){return db[_0x19ee('0x2d')][_0x19ee('0x4c')]()[_0x19ee('0x25')](respondWithResult(_0x39cb96,null))['catch'](handleError(_0x39cb96,null));};
\ No newline at end of file