Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / mailSubstatus / mailSubstatus.controller.js
index 9d62e7f..cfda9e8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf494=['pick','filter','merge','VIRTUAL','options','includeAll','include','findAll','catch','show','params','find','create','body','destroy','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','sendStatus','status','end','count','offset','limit','apply','reject','update','then','stack','name','send','index','map','MailSubstatus','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where'];(function(_0x35af23,_0x9190f6){var _0x340506=function(_0xd4c26b){while(--_0xd4c26b){_0x35af23['push'](_0x35af23['shift']());}};_0x340506(++_0x9190f6);}(_0xf494,0x1c6));var _0x4f49=function(_0x1b438d,_0x12e35d){_0x1b438d=_0x1b438d-0x0;var _0x28e8a3=_0xf494[_0x1b438d];return _0x28e8a3;};'use strict';var pdf=require(_0x4f49('0x0'));var emlformat=require(_0x4f49('0x1'));var rimraf=require(_0x4f49('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x4f49('0x3'));var rp=require(_0x4f49('0x4'));var moment=require(_0x4f49('0x5'));var BPromise=require(_0x4f49('0x6'));var Mustache=require(_0x4f49('0x7'));var util=require(_0x4f49('0x8'));var path=require(_0x4f49('0x9'));var sox=require(_0x4f49('0xa'));var csv=require(_0x4f49('0xb'));var ejs=require(_0x4f49('0xc'));var fs=require('fs');var _=require(_0x4f49('0xd'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x4f49('0xe'));var deskjs=require(_0x4f49('0xf'));var toCsv=require(_0x4f49('0xb'));var querystring=require(_0x4f49('0x10'));var Papa=require(_0x4f49('0x11'));var Redis=require(_0x4f49('0x12'));var authService=require(_0x4f49('0x13'));var qs=require(_0x4f49('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x4f49('0x15'));var logger=require(_0x4f49('0x16'))('api');var utils=require(_0x4f49('0x17'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4b9cd3,_0x12527d){_0x12527d=_0x12527d||0xcc;return function(_0x4bf89f){if(_0x4bf89f){return _0x4b9cd3[_0x4f49('0x18')](_0x12527d);}return _0x4b9cd3[_0x4f49('0x19')](_0x12527d)[_0x4f49('0x1a')]();};}function respondWithResult(_0x2efe49,_0x1a0f1e){_0x1a0f1e=_0x1a0f1e||0xc8;return function(_0x2f0131){if(_0x2f0131){return _0x2efe49[_0x4f49('0x19')](_0x1a0f1e)['json'](_0x2f0131);}};}function respondWithFilteredResult(_0x515ace,_0x1f2d0d){return function(_0x415e83){if(_0x415e83){var _0x5878f4=_0x415e83[_0x4f49('0x1b')],_0x5bdfaf=_0x1f2d0d['offset'],_0x2f0a0d=_0x1f2d0d[_0x4f49('0x1c')]+_0x1f2d0d[_0x4f49('0x1d')],_0x2ecaaa;if(_0x2f0a0d>=_0x5878f4){_0x2f0a0d=_0x5878f4;_0x2ecaaa=0xc8;}else{_0x2ecaaa=0xce;}_0x515ace[_0x4f49('0x19')](_0x2ecaaa);return _0x515ace['set']('Content-Range',_0x5bdfaf+'-'+_0x2f0a0d+'/'+_0x5878f4)['json'](_0x415e83);}return null;};}function patchUpdates(_0x47f1e8){return function(_0xb2081a){try{jsonpatch[_0x4f49('0x1e')](_0xb2081a,_0x47f1e8,!![]);}catch(_0x1c2d70){return BPromise[_0x4f49('0x1f')](_0x1c2d70);}return _0xb2081a['save']();};}function saveUpdates(_0x416893,_0x2aed27){return function(_0x197a49){if(_0x197a49){return _0x197a49[_0x4f49('0x20')](_0x416893)[_0x4f49('0x21')](function(_0x509f7c){return _0x509f7c;});}return null;};}function removeEntity(_0x3e7e28,_0x357446){return function(_0x3ae590){if(_0x3ae590){return _0x3ae590['destroy']()[_0x4f49('0x21')](function(){_0x3e7e28[_0x4f49('0x19')](0xcc)[_0x4f49('0x1a')]();});}};}function handleEntityNotFound(_0x43c458,_0x9d30aa){return function(_0x36187b){if(!_0x36187b){_0x43c458['sendStatus'](0x194);}return _0x36187b;};}function handleError(_0x4e9041,_0x3a947b){_0x3a947b=_0x3a947b||0x1f4;return function(_0x429de7){logger['error'](_0x429de7[_0x4f49('0x22')]);if(_0x429de7[_0x4f49('0x23')]){delete _0x429de7[_0x4f49('0x23')];}_0x4e9041['status'](_0x3a947b)[_0x4f49('0x24')](_0x429de7);};}exports[_0x4f49('0x25')]=function(_0x298785,_0x148153){var _0xfefbab={},_0x122404={},_0x4915af={'count':0x0,'rows':[]};var _0x50c571=_[_0x4f49('0x26')](db[_0x4f49('0x27')][_0x4f49('0x28')],function(_0x560050){return{'name':_0x560050[_0x4f49('0x29')],'type':_0x560050[_0x4f49('0x2a')][_0x4f49('0x2b')]};});_0x122404['model']=_['map'](_0x50c571,_0x4f49('0x23'));_0x122404[_0x4f49('0x2c')]=_[_0x4f49('0x2d')](_0x298785['query']);_0x122404[_0x4f49('0x2e')]=_[_0x4f49('0x2f')](_0x122404[_0x4f49('0x30')],_0x122404[_0x4f49('0x2c')]);_0xfefbab[_0x4f49('0x31')]=_[_0x4f49('0x2f')](_0x122404[_0x4f49('0x30')],qs[_0x4f49('0x32')](_0x298785[_0x4f49('0x2c')][_0x4f49('0x32')]));_0xfefbab[_0x4f49('0x31')]=_0xfefbab[_0x4f49('0x31')][_0x4f49('0x33')]?_0xfefbab[_0x4f49('0x31')]:_0x122404[_0x4f49('0x30')];if(!_0x298785[_0x4f49('0x2c')][_0x4f49('0x34')](_0x4f49('0x35'))){_0xfefbab[_0x4f49('0x1d')]=qs['limit'](_0x298785[_0x4f49('0x2c')][_0x4f49('0x1d')]);_0xfefbab[_0x4f49('0x1c')]=qs[_0x4f49('0x1c')](_0x298785[_0x4f49('0x2c')][_0x4f49('0x1c')]);}_0xfefbab[_0x4f49('0x36')]=qs[_0x4f49('0x37')](_0x298785[_0x4f49('0x2c')][_0x4f49('0x37')]);_0xfefbab[_0x4f49('0x38')]=qs[_0x4f49('0x2e')](_[_0x4f49('0x39')](_0x298785['query'],_0x122404[_0x4f49('0x2e')]));if(_0x298785[_0x4f49('0x2c')][_0x4f49('0x3a')]){_0xfefbab[_0x4f49('0x38')]=_[_0x4f49('0x3b')](_0xfefbab[_0x4f49('0x38')],{'$or':_[_0x4f49('0x26')](_0x50c571,function(_0x25fdf8){if(_0x25fdf8[_0x4f49('0x2a')]!==_0x4f49('0x3c')){var _0x173b6e={};_0x173b6e[_0x25fdf8[_0x4f49('0x23')]]={'$like':'%'+_0x298785[_0x4f49('0x2c')][_0x4f49('0x3a')]+'%'};return _0x173b6e;}})});}_0xfefbab=_['merge']({},_0xfefbab,_0x298785[_0x4f49('0x3d')]);var _0xb0e6c2={'where':_0xfefbab['where']};return db[_0x4f49('0x27')][_0x4f49('0x1b')](_0xb0e6c2)['then'](function(_0x29e762){_0x4915af[_0x4f49('0x1b')]=_0x29e762;if(_0x298785[_0x4f49('0x2c')][_0x4f49('0x3e')]){_0xfefbab[_0x4f49('0x3f')]=[{'all':!![]}];}return db[_0x4f49('0x27')][_0x4f49('0x40')](_0xfefbab);})['then'](function(_0x5e1461){_0x4915af['rows']=_0x5e1461;return _0x4915af;})[_0x4f49('0x21')](respondWithFilteredResult(_0x148153,_0xfefbab))[_0x4f49('0x41')](handleError(_0x148153,null));};exports[_0x4f49('0x42')]=function(_0x373f90,_0x1053b2){var _0x1ecf6c={'raw':!![],'where':{'id':_0x373f90[_0x4f49('0x43')]['id']}},_0x38aff8={};_0x38aff8[_0x4f49('0x30')]=_['keys'](db['MailSubstatus'][_0x4f49('0x28')]);_0x38aff8[_0x4f49('0x2c')]=_[_0x4f49('0x2d')](_0x373f90['query']);_0x38aff8[_0x4f49('0x2e')]=_['intersection'](_0x38aff8['model'],_0x38aff8[_0x4f49('0x2c')]);_0x1ecf6c[_0x4f49('0x31')]=_[_0x4f49('0x2f')](_0x38aff8['model'],qs[_0x4f49('0x32')](_0x373f90[_0x4f49('0x2c')]['fields']));_0x1ecf6c[_0x4f49('0x31')]=_0x1ecf6c['attributes'][_0x4f49('0x33')]?_0x1ecf6c[_0x4f49('0x31')]:_0x38aff8[_0x4f49('0x30')];if(_0x373f90['query'][_0x4f49('0x3e')]){_0x1ecf6c[_0x4f49('0x3f')]=[{'all':!![]}];}_0x1ecf6c=_[_0x4f49('0x3b')]({},_0x1ecf6c,_0x373f90[_0x4f49('0x3d')]);return db[_0x4f49('0x27')][_0x4f49('0x44')](_0x1ecf6c)[_0x4f49('0x21')](handleEntityNotFound(_0x1053b2,null))[_0x4f49('0x21')](respondWithResult(_0x1053b2,null))[_0x4f49('0x41')](handleError(_0x1053b2,null));};exports[_0x4f49('0x45')]=function(_0x4fe382,_0x26c222){return db[_0x4f49('0x27')]['create'](_0x4fe382[_0x4f49('0x46')],{})['then'](respondWithResult(_0x26c222,0xc9))[_0x4f49('0x41')](handleError(_0x26c222,null));};exports[_0x4f49('0x20')]=function(_0x2d3dcd,_0x300230){if(_0x2d3dcd['body']['id']){delete _0x2d3dcd[_0x4f49('0x46')]['id'];}return db[_0x4f49('0x27')][_0x4f49('0x44')]({'where':{'id':_0x2d3dcd[_0x4f49('0x43')]['id']}})[_0x4f49('0x21')](handleEntityNotFound(_0x300230,null))[_0x4f49('0x21')](saveUpdates(_0x2d3dcd[_0x4f49('0x46')],null))[_0x4f49('0x21')](respondWithResult(_0x300230,null))[_0x4f49('0x41')](handleError(_0x300230,null));};exports[_0x4f49('0x47')]=function(_0x1be59a,_0x4482f7){return db[_0x4f49('0x27')][_0x4f49('0x44')]({'where':{'id':_0x1be59a[_0x4f49('0x43')]['id']}})[_0x4f49('0x21')](handleEntityNotFound(_0x4482f7,null))['then'](removeEntity(_0x4482f7,null))['catch'](handleError(_0x4482f7,null));};exports[_0x4f49('0x48')]=function(_0x197670,_0x36bcc2){return db[_0x4f49('0x27')][_0x4f49('0x48')]()[_0x4f49('0x21')](respondWithResult(_0x36bcc2,null))[_0x4f49('0x41')](handleError(_0x36bcc2,null));};
\ No newline at end of file
+var _0x7b77=['count','offset','limit','set','Content-Range','apply','reject','save','update','error','stack','name','send','map','MailSubstatus','fieldName','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','filter','merge','type','VIRTUAL','options','then','includeAll','include','findAll','show','params','rawAttributes','find','catch','create','body','destroy','describe','rimraf','zip-dir','request-promise','moment','mustache','path','sox','to-csv','fs-extra','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','end','status','json','undefined'];(function(_0x22e21b,_0x28f90b){var _0x19e4c2=function(_0x484a63){while(--_0x484a63){_0x22e21b['push'](_0x22e21b['shift']());}};_0x19e4c2(++_0x28f90b);}(_0x7b77,0x19c));var _0x77b7=function(_0x56916d,_0x37b935){_0x56916d=_0x56916d-0x0;var _0x2b7f1f=_0x7b77[_0x56916d];return _0x2b7f1f;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x77b7('0x0'));var zipdir=require(_0x77b7('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x77b7('0x2'));var moment=require(_0x77b7('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x77b7('0x4'));var util=require('util');var path=require(_0x77b7('0x5'));var sox=require(_0x77b7('0x6'));var csv=require(_0x77b7('0x7'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x77b7('0x8'));var _=require('lodash');var squel=require('squel');var crypto=require(_0x77b7('0x9'));var jsforce=require(_0x77b7('0xa'));var deskjs=require(_0x77b7('0xb'));var toCsv=require(_0x77b7('0x7'));var querystring=require(_0x77b7('0xc'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x77b7('0xd'));var qs=require(_0x77b7('0xe'));var as=require(_0x77b7('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x77b7('0x10'))(_0x77b7('0x11'));var utils=require(_0x77b7('0x12'));var config=require('../../config/environment');var licenseUtil=require(_0x77b7('0x13'));var db=require(_0x77b7('0x14'))['db'];function respondWithStatusCode(_0x102927,_0x403476){_0x403476=_0x403476||0xcc;return function(_0x1ed675){if(_0x1ed675){return _0x102927[_0x77b7('0x15')](_0x403476);}return _0x102927['status'](_0x403476)[_0x77b7('0x16')]();};}function respondWithResult(_0x289621,_0x5313d9){_0x5313d9=_0x5313d9||0xc8;return function(_0x259946){if(_0x259946){return _0x289621[_0x77b7('0x17')](_0x5313d9)[_0x77b7('0x18')](_0x259946);}};}function respondWithFilteredResult(_0xcf82be,_0x4d0d33){return function(_0xfbd38b){if(_0xfbd38b){var _0x54e95a=typeof _0x4d0d33['offset']===_0x77b7('0x19')&&typeof _0x4d0d33['limit']===_0x77b7('0x19');var _0x53c397=_0xfbd38b['count'];var _0x4b5f03=_0x54e95a?0x0:_0x4d0d33['offset'];var _0x2b335c=_0x54e95a?_0xfbd38b[_0x77b7('0x1a')]:_0x4d0d33[_0x77b7('0x1b')]+_0x4d0d33[_0x77b7('0x1c')];var _0x477bd6;if(_0x2b335c>=_0x53c397){_0x2b335c=_0x53c397;_0x477bd6=0xc8;}else{_0x477bd6=0xce;}_0xcf82be[_0x77b7('0x17')](_0x477bd6);return _0xcf82be[_0x77b7('0x1d')](_0x77b7('0x1e'),_0x4b5f03+'-'+_0x2b335c+'/'+_0x53c397)[_0x77b7('0x18')](_0xfbd38b);}return null;};}function patchUpdates(_0x2cbfcd){return function(_0x47d3fb){try{jsonpatch[_0x77b7('0x1f')](_0x47d3fb,_0x2cbfcd,!![]);}catch(_0x52850d){return BPromise[_0x77b7('0x20')](_0x52850d);}return _0x47d3fb[_0x77b7('0x21')]();};}function saveUpdates(_0xdcbd19,_0x7c55d9){return function(_0x1787cb){if(_0x1787cb){return _0x1787cb[_0x77b7('0x22')](_0xdcbd19)['then'](function(_0x291d75){return _0x291d75;});}return null;};}function removeEntity(_0x183bf1,_0x46bd5f){return function(_0x2ca600){if(_0x2ca600){return _0x2ca600['destroy']()['then'](function(){_0x183bf1[_0x77b7('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x75b0d9,_0x40f297){return function(_0x4ffaf6){if(!_0x4ffaf6){_0x75b0d9[_0x77b7('0x15')](0x194);}return _0x4ffaf6;};}function handleError(_0x59ca5d,_0x3445e9){_0x3445e9=_0x3445e9||0x1f4;return function(_0x457821){logger[_0x77b7('0x23')](_0x457821[_0x77b7('0x24')]);if(_0x457821[_0x77b7('0x25')]){delete _0x457821['name'];}_0x59ca5d[_0x77b7('0x17')](_0x3445e9)[_0x77b7('0x26')](_0x457821);};}exports['index']=function(_0x13da9a,_0x55950e){var _0x2ae65b={},_0x37a580={},_0x5b7b06={'count':0x0,'rows':[]};var _0x228758=_[_0x77b7('0x27')](db[_0x77b7('0x28')]['rawAttributes'],function(_0x4636d2){return{'name':_0x4636d2[_0x77b7('0x29')],'type':_0x4636d2['type']['key']};});_0x37a580[_0x77b7('0x2a')]=_[_0x77b7('0x27')](_0x228758,_0x77b7('0x25'));_0x37a580[_0x77b7('0x2b')]=_[_0x77b7('0x2c')](_0x13da9a[_0x77b7('0x2b')]);_0x37a580['filters']=_[_0x77b7('0x2d')](_0x37a580[_0x77b7('0x2a')],_0x37a580['query']);_0x2ae65b[_0x77b7('0x2e')]=_[_0x77b7('0x2d')](_0x37a580[_0x77b7('0x2a')],qs[_0x77b7('0x2f')](_0x13da9a[_0x77b7('0x2b')][_0x77b7('0x2f')]));_0x2ae65b[_0x77b7('0x2e')]=_0x2ae65b[_0x77b7('0x2e')][_0x77b7('0x30')]?_0x2ae65b[_0x77b7('0x2e')]:_0x37a580[_0x77b7('0x2a')];if(!_0x13da9a[_0x77b7('0x2b')][_0x77b7('0x31')](_0x77b7('0x32'))){_0x2ae65b[_0x77b7('0x1c')]=qs[_0x77b7('0x1c')](_0x13da9a[_0x77b7('0x2b')]['limit']);_0x2ae65b[_0x77b7('0x1b')]=qs[_0x77b7('0x1b')](_0x13da9a[_0x77b7('0x2b')][_0x77b7('0x1b')]);}_0x2ae65b[_0x77b7('0x33')]=qs[_0x77b7('0x34')](_0x13da9a['query'][_0x77b7('0x34')]);_0x2ae65b[_0x77b7('0x35')]=qs[_0x77b7('0x36')](_['pick'](_0x13da9a[_0x77b7('0x2b')],_0x37a580[_0x77b7('0x36')]),_0x228758);if(_0x13da9a['query'][_0x77b7('0x37')]){_0x2ae65b[_0x77b7('0x35')]=_[_0x77b7('0x38')](_0x2ae65b[_0x77b7('0x35')],{'$or':_[_0x77b7('0x27')](_0x228758,function(_0x329935){if(_0x329935[_0x77b7('0x39')]!==_0x77b7('0x3a')){var _0x304a8a={};_0x304a8a[_0x329935['name']]={'$like':'%'+_0x13da9a[_0x77b7('0x2b')]['filter']+'%'};return _0x304a8a;}})});}_0x2ae65b=_[_0x77b7('0x38')]({},_0x2ae65b,_0x13da9a[_0x77b7('0x3b')]);var _0x309548={'where':_0x2ae65b[_0x77b7('0x35')]};return db['MailSubstatus'][_0x77b7('0x1a')](_0x309548)[_0x77b7('0x3c')](function(_0x10250f){_0x5b7b06[_0x77b7('0x1a')]=_0x10250f;if(_0x13da9a['query'][_0x77b7('0x3d')]){_0x2ae65b[_0x77b7('0x3e')]=[{'all':!![]}];}return db[_0x77b7('0x28')][_0x77b7('0x3f')](_0x2ae65b);})[_0x77b7('0x3c')](function(_0x37cb00){_0x5b7b06['rows']=_0x37cb00;return _0x5b7b06;})['then'](respondWithFilteredResult(_0x55950e,_0x2ae65b))['catch'](handleError(_0x55950e,null));};exports[_0x77b7('0x40')]=function(_0x4c628d,_0x478c00){var _0x27ccae={'raw':!![],'where':{'id':_0x4c628d[_0x77b7('0x41')]['id']}},_0x37bb96={};_0x37bb96[_0x77b7('0x2a')]=_['keys'](db[_0x77b7('0x28')][_0x77b7('0x42')]);_0x37bb96[_0x77b7('0x2b')]=_[_0x77b7('0x2c')](_0x4c628d[_0x77b7('0x2b')]);_0x37bb96[_0x77b7('0x36')]=_[_0x77b7('0x2d')](_0x37bb96[_0x77b7('0x2a')],_0x37bb96[_0x77b7('0x2b')]);_0x27ccae[_0x77b7('0x2e')]=_[_0x77b7('0x2d')](_0x37bb96['model'],qs[_0x77b7('0x2f')](_0x4c628d[_0x77b7('0x2b')][_0x77b7('0x2f')]));_0x27ccae[_0x77b7('0x2e')]=_0x27ccae[_0x77b7('0x2e')][_0x77b7('0x30')]?_0x27ccae[_0x77b7('0x2e')]:_0x37bb96[_0x77b7('0x2a')];if(_0x4c628d[_0x77b7('0x2b')][_0x77b7('0x3d')]){_0x27ccae[_0x77b7('0x3e')]=[{'all':!![]}];}_0x27ccae=_[_0x77b7('0x38')]({},_0x27ccae,_0x4c628d['options']);return db[_0x77b7('0x28')][_0x77b7('0x43')](_0x27ccae)['then'](handleEntityNotFound(_0x478c00,null))[_0x77b7('0x3c')](respondWithResult(_0x478c00,null))[_0x77b7('0x44')](handleError(_0x478c00,null));};exports[_0x77b7('0x45')]=function(_0x55a492,_0x59bebd){return db[_0x77b7('0x28')][_0x77b7('0x45')](_0x55a492['body'],{})['then'](respondWithResult(_0x59bebd,0xc9))['catch'](handleError(_0x59bebd,null));};exports['update']=function(_0x57f62f,_0x3ceefc){if(_0x57f62f[_0x77b7('0x46')]['id']){delete _0x57f62f[_0x77b7('0x46')]['id'];}return db[_0x77b7('0x28')][_0x77b7('0x43')]({'where':{'id':_0x57f62f['params']['id']}})[_0x77b7('0x3c')](handleEntityNotFound(_0x3ceefc,null))[_0x77b7('0x3c')](saveUpdates(_0x57f62f[_0x77b7('0x46')],null))['then'](respondWithResult(_0x3ceefc,null))[_0x77b7('0x44')](handleError(_0x3ceefc,null));};exports[_0x77b7('0x47')]=function(_0x5a7927,_0x572137){return db[_0x77b7('0x28')]['find']({'where':{'id':_0x5a7927[_0x77b7('0x41')]['id']}})[_0x77b7('0x3c')](handleEntityNotFound(_0x572137,null))[_0x77b7('0x3c')](removeEntity(_0x572137,null))[_0x77b7('0x44')](handleError(_0x572137,null));};exports['describe']=function(_0x456a31,_0x1fe0a2){return db[_0x77b7('0x28')][_0x77b7('0x48')]()['then'](respondWithResult(_0x1fe0a2,null))[_0x77b7('0x44')](handleError(_0x1fe0a2,null));};
\ No newline at end of file