Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / openchannelTransferReport / openchannelTransferReport.controller.js
index e9e585d..af6c265 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x18ea=['status','json','count','offset','limit','Content-Range','reject','save','update','then','destroy','error','stack','name','send','index','map','OpenchannelTransferReport','rawAttributes','fieldName','query','keys','filters','intersection','model','attributes','fields','length','nolimit','order','sort','pick','filter','where','VIRTUAL','merge','options','include','findAll','rows','catch','show','params','includeAll','create','body','find','describe','html-pdf','eml-format','fast-json-patch','request-promise','bluebird','path','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus'];(function(_0x2986d4,_0x38c2ad){var _0x29b19f=function(_0x162a23){while(--_0x162a23){_0x2986d4['push'](_0x2986d4['shift']());}};_0x29b19f(++_0x38c2ad);}(_0x18ea,0xbe));var _0xa18e=function(_0x3368a3,_0x27c0bc){_0x3368a3=_0x3368a3-0x0;var _0x2aa33e=_0x18ea[_0x3368a3];return _0x2aa33e;};'use strict';var pdf=require(_0xa18e('0x0'));var emlformat=require(_0xa18e('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xa18e('0x2'));var rp=require(_0xa18e('0x3'));var moment=require('moment');var BPromise=require(_0xa18e('0x4'));var Mustache=require('mustache');var util=require('util');var path=require(_0xa18e('0x5'));var sox=require('sox');var csv=require(_0xa18e('0x6'));var ejs=require(_0xa18e('0x7'));var fs=require('fs');var _=require(_0xa18e('0x8'));var squel=require(_0xa18e('0x9'));var crypto=require(_0xa18e('0xa'));var jsforce=require('jsforce');var deskjs=require(_0xa18e('0xb'));var toCsv=require(_0xa18e('0x6'));var querystring=require(_0xa18e('0xc'));var Papa=require('papaparse');var Redis=require(_0xa18e('0xd'));var authService=require(_0xa18e('0xe'));var qs=require(_0xa18e('0xf'));var as=require(_0xa18e('0x10'));var hardwareService=require(_0xa18e('0x11'));var logger=require(_0xa18e('0x12'))('api');var utils=require(_0xa18e('0x13'));var config=require(_0xa18e('0x14'));var db=require(_0xa18e('0x15'))['db'];function respondWithStatusCode(_0x16012c,_0x28a3a0){_0x28a3a0=_0x28a3a0||0xcc;return function(_0x546ca1){if(_0x546ca1){return _0x16012c[_0xa18e('0x16')](_0x28a3a0);}return _0x16012c['status'](_0x28a3a0)['end']();};}function respondWithResult(_0x44af56,_0x34a87f){_0x34a87f=_0x34a87f||0xc8;return function(_0x5e41df){if(_0x5e41df){return _0x44af56[_0xa18e('0x17')](_0x34a87f)[_0xa18e('0x18')](_0x5e41df);}};}function respondWithFilteredResult(_0x59d13a,_0x4c710d){return function(_0x4b33f2){if(_0x4b33f2){var _0x3f9b3e=_0x4b33f2[_0xa18e('0x19')],_0x48b024=_0x4c710d['offset'],_0x4d5b32=_0x4c710d[_0xa18e('0x1a')]+_0x4c710d[_0xa18e('0x1b')],_0x60fc54;if(_0x4d5b32>=_0x3f9b3e){_0x4d5b32=_0x3f9b3e;_0x60fc54=0xc8;}else{_0x60fc54=0xce;}_0x59d13a[_0xa18e('0x17')](_0x60fc54);return _0x59d13a['set'](_0xa18e('0x1c'),_0x48b024+'-'+_0x4d5b32+'/'+_0x3f9b3e)[_0xa18e('0x18')](_0x4b33f2);}return null;};}function patchUpdates(_0x57a89b){return function(_0x1a6da1){try{jsonpatch['apply'](_0x1a6da1,_0x57a89b,!![]);}catch(_0x2b631f){return BPromise[_0xa18e('0x1d')](_0x2b631f);}return _0x1a6da1[_0xa18e('0x1e')]();};}function saveUpdates(_0x325adc,_0x4a15b4){return function(_0x5895c2){if(_0x5895c2){return _0x5895c2[_0xa18e('0x1f')](_0x325adc)[_0xa18e('0x20')](function(_0x562320){return _0x562320;});}return null;};}function removeEntity(_0x86fa9c,_0x3b115f){return function(_0x58d4f0){if(_0x58d4f0){return _0x58d4f0[_0xa18e('0x21')]()[_0xa18e('0x20')](function(){_0x86fa9c[_0xa18e('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3b84de,_0x1ddca9){return function(_0x35040a){if(!_0x35040a){_0x3b84de[_0xa18e('0x16')](0x194);}return _0x35040a;};}function handleError(_0x3663c7,_0x4d647b){_0x4d647b=_0x4d647b||0x1f4;return function(_0x3f53a4){logger[_0xa18e('0x22')](_0x3f53a4[_0xa18e('0x23')]);if(_0x3f53a4[_0xa18e('0x24')]){delete _0x3f53a4[_0xa18e('0x24')];}_0x3663c7[_0xa18e('0x17')](_0x4d647b)[_0xa18e('0x25')](_0x3f53a4);};}exports[_0xa18e('0x26')]=function(_0x1bfec9,_0x2a8234){var _0xd77ca4={},_0x245fde={},_0x3219ed={'count':0x0,'rows':[]};var _0x360d37=_[_0xa18e('0x27')](db[_0xa18e('0x28')][_0xa18e('0x29')],function(_0x336057){return{'name':_0x336057[_0xa18e('0x2a')],'type':_0x336057['type']['key']};});_0x245fde['model']=_[_0xa18e('0x27')](_0x360d37,_0xa18e('0x24'));_0x245fde[_0xa18e('0x2b')]=_[_0xa18e('0x2c')](_0x1bfec9['query']);_0x245fde[_0xa18e('0x2d')]=_[_0xa18e('0x2e')](_0x245fde[_0xa18e('0x2f')],_0x245fde['query']);_0xd77ca4[_0xa18e('0x30')]=_[_0xa18e('0x2e')](_0x245fde['model'],qs[_0xa18e('0x31')](_0x1bfec9[_0xa18e('0x2b')][_0xa18e('0x31')]));_0xd77ca4[_0xa18e('0x30')]=_0xd77ca4[_0xa18e('0x30')][_0xa18e('0x32')]?_0xd77ca4[_0xa18e('0x30')]:_0x245fde[_0xa18e('0x2f')];if(!_0x1bfec9[_0xa18e('0x2b')]['hasOwnProperty'](_0xa18e('0x33'))){_0xd77ca4[_0xa18e('0x1b')]=qs[_0xa18e('0x1b')](_0x1bfec9['query'][_0xa18e('0x1b')]);_0xd77ca4['offset']=qs[_0xa18e('0x1a')](_0x1bfec9[_0xa18e('0x2b')][_0xa18e('0x1a')]);}_0xd77ca4[_0xa18e('0x34')]=qs['sort'](_0x1bfec9['query'][_0xa18e('0x35')]);_0xd77ca4['where']=qs[_0xa18e('0x2d')](_[_0xa18e('0x36')](_0x1bfec9[_0xa18e('0x2b')],_0x245fde['filters']),_0x360d37);if(_0x1bfec9[_0xa18e('0x2b')][_0xa18e('0x37')]){_0xd77ca4[_0xa18e('0x38')]=_['merge'](_0xd77ca4[_0xa18e('0x38')],{'$or':_[_0xa18e('0x27')](_0x360d37,function(_0x56d214){if(_0x56d214['type']!==_0xa18e('0x39')){var _0x44e2df={};_0x44e2df[_0x56d214[_0xa18e('0x24')]]={'$like':'%'+_0x1bfec9[_0xa18e('0x2b')][_0xa18e('0x37')]+'%'};return _0x44e2df;}})});}_0xd77ca4=_[_0xa18e('0x3a')]({},_0xd77ca4,_0x1bfec9[_0xa18e('0x3b')]);var _0x4209e7={'where':_0xd77ca4['where']};return db[_0xa18e('0x28')]['count'](_0x4209e7)[_0xa18e('0x20')](function(_0x10c09a){_0x3219ed[_0xa18e('0x19')]=_0x10c09a;if(_0x1bfec9[_0xa18e('0x2b')]['includeAll']){_0xd77ca4[_0xa18e('0x3c')]=[{'all':!![]}];}return db[_0xa18e('0x28')][_0xa18e('0x3d')](_0xd77ca4);})[_0xa18e('0x20')](function(_0x3cea0b){_0x3219ed[_0xa18e('0x3e')]=_0x3cea0b;return _0x3219ed;})['then'](respondWithFilteredResult(_0x2a8234,_0xd77ca4))[_0xa18e('0x3f')](handleError(_0x2a8234,null));};exports[_0xa18e('0x40')]=function(_0x2e0e00,_0xb4792a){var _0x30420d={'raw':!![],'where':{'id':_0x2e0e00[_0xa18e('0x41')]['id']}},_0x20a8c1={};_0x20a8c1[_0xa18e('0x2f')]=_[_0xa18e('0x2c')](db['OpenchannelTransferReport']['rawAttributes']);_0x20a8c1[_0xa18e('0x2b')]=_[_0xa18e('0x2c')](_0x2e0e00[_0xa18e('0x2b')]);_0x20a8c1[_0xa18e('0x2d')]=_[_0xa18e('0x2e')](_0x20a8c1[_0xa18e('0x2f')],_0x20a8c1[_0xa18e('0x2b')]);_0x30420d[_0xa18e('0x30')]=_[_0xa18e('0x2e')](_0x20a8c1[_0xa18e('0x2f')],qs[_0xa18e('0x31')](_0x2e0e00[_0xa18e('0x2b')]['fields']));_0x30420d[_0xa18e('0x30')]=_0x30420d[_0xa18e('0x30')][_0xa18e('0x32')]?_0x30420d[_0xa18e('0x30')]:_0x20a8c1[_0xa18e('0x2f')];if(_0x2e0e00[_0xa18e('0x2b')][_0xa18e('0x42')]){_0x30420d[_0xa18e('0x3c')]=[{'all':!![]}];}_0x30420d=_[_0xa18e('0x3a')]({},_0x30420d,_0x2e0e00[_0xa18e('0x3b')]);return db[_0xa18e('0x28')]['find'](_0x30420d)['then'](handleEntityNotFound(_0xb4792a,null))['then'](respondWithResult(_0xb4792a,null))[_0xa18e('0x3f')](handleError(_0xb4792a,null));};exports[_0xa18e('0x43')]=function(_0x46c1cc,_0x41efd5){return db['OpenchannelTransferReport'][_0xa18e('0x43')](_0x46c1cc['body'],{})[_0xa18e('0x20')](respondWithResult(_0x41efd5,0xc9))[_0xa18e('0x3f')](handleError(_0x41efd5,null));};exports['update']=function(_0x3ccdd8,_0x254625){if(_0x3ccdd8[_0xa18e('0x44')]['id']){delete _0x3ccdd8[_0xa18e('0x44')]['id'];}return db[_0xa18e('0x28')][_0xa18e('0x45')]({'where':{'id':_0x3ccdd8[_0xa18e('0x41')]['id']}})[_0xa18e('0x20')](handleEntityNotFound(_0x254625,null))[_0xa18e('0x20')](saveUpdates(_0x3ccdd8[_0xa18e('0x44')],null))[_0xa18e('0x20')](respondWithResult(_0x254625,null))[_0xa18e('0x3f')](handleError(_0x254625,null));};exports[_0xa18e('0x21')]=function(_0x12cead,_0x1876c2){return db[_0xa18e('0x28')][_0xa18e('0x45')]({'where':{'id':_0x12cead[_0xa18e('0x41')]['id']}})['then'](handleEntityNotFound(_0x1876c2,null))[_0xa18e('0x20')](removeEntity(_0x1876c2,null))[_0xa18e('0x3f')](handleError(_0x1876c2,null));};exports[_0xa18e('0x46')]=function(_0x25341f,_0x4161f8){return db['OpenchannelTransferReport']['describe']()[_0xa18e('0x20')](respondWithResult(_0x4161f8,null))['catch'](handleError(_0x4161f8,null));};
\ No newline at end of file
+var _0x4f57=['options','include','rows','catch','show','fields','includeAll','find','create','body','params','describe','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','end','json','count','offset','status','Content-Range','apply','reject','save','update','then','destroy','sendStatus','stack','index','map','OpenchannelTransferReport','rawAttributes','fieldName','type','key','keys','query','intersection','model','attributes','length','hasOwnProperty','limit','order','sort','where','filters','filter','merge','VIRTUAL','name'];(function(_0x4e5046,_0x245c09){var _0x291904=function(_0x28d3e3){while(--_0x28d3e3){_0x4e5046['push'](_0x4e5046['shift']());}};_0x291904(++_0x245c09);}(_0x4f57,0x13c));var _0x74f5=function(_0x92eeb6,_0x574acf){_0x92eeb6=_0x92eeb6-0x0;var _0x38067d=_0x4f57[_0x92eeb6];return _0x38067d;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x74f5('0x0'));var rimraf=require(_0x74f5('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x74f5('0x2'));var rp=require(_0x74f5('0x3'));var moment=require(_0x74f5('0x4'));var BPromise=require(_0x74f5('0x5'));var Mustache=require(_0x74f5('0x6'));var util=require(_0x74f5('0x7'));var path=require(_0x74f5('0x8'));var sox=require('sox');var csv=require(_0x74f5('0x9'));var ejs=require(_0x74f5('0xa'));var fs=require('fs');var _=require(_0x74f5('0xb'));var squel=require(_0x74f5('0xc'));var crypto=require(_0x74f5('0xd'));var jsforce=require(_0x74f5('0xe'));var deskjs=require(_0x74f5('0xf'));var toCsv=require(_0x74f5('0x9'));var querystring=require(_0x74f5('0x10'));var Papa=require(_0x74f5('0x11'));var Redis=require(_0x74f5('0x12'));var authService=require(_0x74f5('0x13'));var qs=require(_0x74f5('0x14'));var as=require(_0x74f5('0x15'));var hardwareService=require(_0x74f5('0x16'));var logger=require(_0x74f5('0x17'))(_0x74f5('0x18'));var utils=require(_0x74f5('0x19'));var config=require(_0x74f5('0x1a'));var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x31ab9a,_0xdfaec4){_0xdfaec4=_0xdfaec4||0xcc;return function(_0x5d669){if(_0x5d669){return _0x31ab9a['sendStatus'](_0xdfaec4);}return _0x31ab9a['status'](_0xdfaec4)[_0x74f5('0x1b')]();};}function respondWithResult(_0x3e359c,_0x24029e){_0x24029e=_0x24029e||0xc8;return function(_0x20e3d8){if(_0x20e3d8){return _0x3e359c['status'](_0x24029e)[_0x74f5('0x1c')](_0x20e3d8);}};}function respondWithFilteredResult(_0x34f92d,_0x434ce5){return function(_0x162092){if(_0x162092){var _0x1cb1b6=_0x162092[_0x74f5('0x1d')],_0x1743ac=_0x434ce5[_0x74f5('0x1e')],_0xa34a07=_0x434ce5['offset']+_0x434ce5['limit'],_0x391e5e;if(_0xa34a07>=_0x1cb1b6){_0xa34a07=_0x1cb1b6;_0x391e5e=0xc8;}else{_0x391e5e=0xce;}_0x34f92d[_0x74f5('0x1f')](_0x391e5e);return _0x34f92d['set'](_0x74f5('0x20'),_0x1743ac+'-'+_0xa34a07+'/'+_0x1cb1b6)[_0x74f5('0x1c')](_0x162092);}return null;};}function patchUpdates(_0x1b0b63){return function(_0x3707d3){try{jsonpatch[_0x74f5('0x21')](_0x3707d3,_0x1b0b63,!![]);}catch(_0xeaed4d){return BPromise[_0x74f5('0x22')](_0xeaed4d);}return _0x3707d3[_0x74f5('0x23')]();};}function saveUpdates(_0x482e36,_0x3c35e8){return function(_0x47e616){if(_0x47e616){return _0x47e616[_0x74f5('0x24')](_0x482e36)[_0x74f5('0x25')](function(_0x59e984){return _0x59e984;});}return null;};}function removeEntity(_0x4a64fb,_0x47866a){return function(_0x4fae1a){if(_0x4fae1a){return _0x4fae1a[_0x74f5('0x26')]()['then'](function(){_0x4a64fb[_0x74f5('0x1f')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5d71a4,_0x2cc5bc){return function(_0x3bf2e5){if(!_0x3bf2e5){_0x5d71a4[_0x74f5('0x27')](0x194);}return _0x3bf2e5;};}function handleError(_0x40d530,_0x537b9d){_0x537b9d=_0x537b9d||0x1f4;return function(_0x4a1f66){logger['error'](_0x4a1f66[_0x74f5('0x28')]);if(_0x4a1f66['name']){delete _0x4a1f66['name'];}_0x40d530[_0x74f5('0x1f')](_0x537b9d)['send'](_0x4a1f66);};}exports[_0x74f5('0x29')]=function(_0x271beb,_0xca6354){var _0x5bb7a9={},_0x1063dc={},_0x1b6922={'count':0x0,'rows':[]};var _0x13e4ce=_[_0x74f5('0x2a')](db[_0x74f5('0x2b')][_0x74f5('0x2c')],function(_0xaa986d){return{'name':_0xaa986d[_0x74f5('0x2d')],'type':_0xaa986d[_0x74f5('0x2e')][_0x74f5('0x2f')]};});_0x1063dc['model']=_[_0x74f5('0x2a')](_0x13e4ce,'name');_0x1063dc['query']=_[_0x74f5('0x30')](_0x271beb[_0x74f5('0x31')]);_0x1063dc['filters']=_[_0x74f5('0x32')](_0x1063dc[_0x74f5('0x33')],_0x1063dc[_0x74f5('0x31')]);_0x5bb7a9['attributes']=_[_0x74f5('0x32')](_0x1063dc[_0x74f5('0x33')],qs['fields'](_0x271beb[_0x74f5('0x31')]['fields']));_0x5bb7a9['attributes']=_0x5bb7a9[_0x74f5('0x34')][_0x74f5('0x35')]?_0x5bb7a9[_0x74f5('0x34')]:_0x1063dc[_0x74f5('0x33')];if(!_0x271beb[_0x74f5('0x31')][_0x74f5('0x36')]('nolimit')){_0x5bb7a9[_0x74f5('0x37')]=qs[_0x74f5('0x37')](_0x271beb[_0x74f5('0x31')][_0x74f5('0x37')]);_0x5bb7a9[_0x74f5('0x1e')]=qs['offset'](_0x271beb[_0x74f5('0x31')][_0x74f5('0x1e')]);}_0x5bb7a9[_0x74f5('0x38')]=qs[_0x74f5('0x39')](_0x271beb[_0x74f5('0x31')][_0x74f5('0x39')]);_0x5bb7a9[_0x74f5('0x3a')]=qs[_0x74f5('0x3b')](_['pick'](_0x271beb[_0x74f5('0x31')],_0x1063dc['filters']),_0x13e4ce);if(_0x271beb[_0x74f5('0x31')][_0x74f5('0x3c')]){_0x5bb7a9[_0x74f5('0x3a')]=_[_0x74f5('0x3d')](_0x5bb7a9['where'],{'$or':_['map'](_0x13e4ce,function(_0x3e6409){if(_0x3e6409[_0x74f5('0x2e')]!==_0x74f5('0x3e')){var _0x46b9fa={};_0x46b9fa[_0x3e6409[_0x74f5('0x3f')]]={'$like':'%'+_0x271beb[_0x74f5('0x31')][_0x74f5('0x3c')]+'%'};return _0x46b9fa;}})});}_0x5bb7a9=_[_0x74f5('0x3d')]({},_0x5bb7a9,_0x271beb[_0x74f5('0x40')]);var _0x31e196={'where':_0x5bb7a9[_0x74f5('0x3a')]};return db[_0x74f5('0x2b')]['count'](_0x31e196)[_0x74f5('0x25')](function(_0x1313f1){_0x1b6922[_0x74f5('0x1d')]=_0x1313f1;if(_0x271beb[_0x74f5('0x31')]['includeAll']){_0x5bb7a9[_0x74f5('0x41')]=[{'all':!![]}];}return db[_0x74f5('0x2b')]['findAll'](_0x5bb7a9);})[_0x74f5('0x25')](function(_0x1f844e){_0x1b6922[_0x74f5('0x42')]=_0x1f844e;return _0x1b6922;})[_0x74f5('0x25')](respondWithFilteredResult(_0xca6354,_0x5bb7a9))[_0x74f5('0x43')](handleError(_0xca6354,null));};exports[_0x74f5('0x44')]=function(_0x3e2684,_0x5677d5){var _0x22bc9e={'raw':!![],'where':{'id':_0x3e2684['params']['id']}},_0x46f8c1={};_0x46f8c1[_0x74f5('0x33')]=_['keys'](db['OpenchannelTransferReport'][_0x74f5('0x2c')]);_0x46f8c1['query']=_[_0x74f5('0x30')](_0x3e2684[_0x74f5('0x31')]);_0x46f8c1[_0x74f5('0x3b')]=_[_0x74f5('0x32')](_0x46f8c1[_0x74f5('0x33')],_0x46f8c1[_0x74f5('0x31')]);_0x22bc9e[_0x74f5('0x34')]=_['intersection'](_0x46f8c1[_0x74f5('0x33')],qs[_0x74f5('0x45')](_0x3e2684['query'][_0x74f5('0x45')]));_0x22bc9e['attributes']=_0x22bc9e[_0x74f5('0x34')][_0x74f5('0x35')]?_0x22bc9e[_0x74f5('0x34')]:_0x46f8c1['model'];if(_0x3e2684[_0x74f5('0x31')][_0x74f5('0x46')]){_0x22bc9e[_0x74f5('0x41')]=[{'all':!![]}];}_0x22bc9e=_[_0x74f5('0x3d')]({},_0x22bc9e,_0x3e2684[_0x74f5('0x40')]);return db[_0x74f5('0x2b')][_0x74f5('0x47')](_0x22bc9e)[_0x74f5('0x25')](handleEntityNotFound(_0x5677d5,null))[_0x74f5('0x25')](respondWithResult(_0x5677d5,null))['catch'](handleError(_0x5677d5,null));};exports['create']=function(_0x505202,_0x3f44a7){return db[_0x74f5('0x2b')][_0x74f5('0x48')](_0x505202['body'],{})[_0x74f5('0x25')](respondWithResult(_0x3f44a7,0xc9))[_0x74f5('0x43')](handleError(_0x3f44a7,null));};exports[_0x74f5('0x24')]=function(_0x3f9186,_0x5689b1){if(_0x3f9186[_0x74f5('0x49')]['id']){delete _0x3f9186[_0x74f5('0x49')]['id'];}return db[_0x74f5('0x2b')]['find']({'where':{'id':_0x3f9186[_0x74f5('0x4a')]['id']}})[_0x74f5('0x25')](handleEntityNotFound(_0x5689b1,null))['then'](saveUpdates(_0x3f9186[_0x74f5('0x49')],null))[_0x74f5('0x25')](respondWithResult(_0x5689b1,null))[_0x74f5('0x43')](handleError(_0x5689b1,null));};exports[_0x74f5('0x26')]=function(_0x325fd7,_0x13b53a){return db[_0x74f5('0x2b')][_0x74f5('0x47')]({'where':{'id':_0x325fd7[_0x74f5('0x4a')]['id']}})[_0x74f5('0x25')](handleEntityNotFound(_0x13b53a,null))[_0x74f5('0x25')](removeEntity(_0x13b53a,null))[_0x74f5('0x43')](handleError(_0x13b53a,null));};exports[_0x74f5('0x4b')]=function(_0x14db8f,_0x4f0875){return db[_0x74f5('0x2b')][_0x74f5('0x4b')]()[_0x74f5('0x25')](respondWithResult(_0x4f0875,null))[_0x74f5('0x43')](handleError(_0x4f0875,null));};
\ No newline at end of file