Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / mailSubstatus / mailSubstatus.controller.js
index 7e39e64..71b8f09 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbfca=['papaparse','../../config/license/hardware','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','Content-Range','apply','save','update','then','destroy','error','stack','send','index','map','rawAttributes','type','key','model','name','query','keys','filters','attributes','intersection','fields','length','nolimit','order','where','pick','filter','merge','VIRTUAL','options','MailSubstatus','findAll','rows','catch','includeAll','find','create','body','params','describe','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring'];(function(_0x3873e7,_0x593b2f){var _0x44deb0=function(_0x42b8bd){while(--_0x42b8bd){_0x3873e7['push'](_0x3873e7['shift']());}};_0x44deb0(++_0x593b2f);}(_0xbfca,0xc7));var _0xabfc=function(_0x1244fe,_0x386729){_0x1244fe=_0x1244fe-0x0;var _0x391983=_0xbfca[_0x1244fe];return _0x391983;};'use strict';var emlformat=require(_0xabfc('0x0'));var rimraf=require(_0xabfc('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xabfc('0x2'));var rp=require(_0xabfc('0x3'));var moment=require(_0xabfc('0x4'));var BPromise=require(_0xabfc('0x5'));var Mustache=require(_0xabfc('0x6'));var util=require(_0xabfc('0x7'));var path=require('path');var sox=require(_0xabfc('0x8'));var csv=require(_0xabfc('0x9'));var ejs=require(_0xabfc('0xa'));var fs=require('fs');var fs_extra=require(_0xabfc('0xb'));var _=require(_0xabfc('0xc'));var squel=require(_0xabfc('0xd'));var crypto=require('crypto');var jsforce=require(_0xabfc('0xe'));var deskjs=require(_0xabfc('0xf'));var toCsv=require('to-csv');var querystring=require(_0xabfc('0x10'));var Papa=require(_0xabfc('0x11'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xabfc('0x12'));var logger=require('../../config/logger')('api');var utils=require(_0xabfc('0x13'));var config=require(_0xabfc('0x14'));var licenseUtil=require(_0xabfc('0x15'));var db=require(_0xabfc('0x16'))['db'];function respondWithStatusCode(_0x31e249,_0x17875c){_0x17875c=_0x17875c||0xcc;return function(_0x459175){if(_0x459175){return _0x31e249[_0xabfc('0x17')](_0x17875c);}return _0x31e249[_0xabfc('0x18')](_0x17875c)['end']();};}function respondWithResult(_0x5124fc,_0x368e95){_0x368e95=_0x368e95||0xc8;return function(_0x194211){if(_0x194211){return _0x5124fc[_0xabfc('0x18')](_0x368e95)[_0xabfc('0x19')](_0x194211);}};}function respondWithFilteredResult(_0x3f1ef2,_0xbf70aa){return function(_0x5e81cb){if(_0x5e81cb){var _0x4f9900=typeof _0xbf70aa[_0xabfc('0x1a')]===_0xabfc('0x1b')&&typeof _0xbf70aa[_0xabfc('0x1c')]===_0xabfc('0x1b');var _0x28da98=_0x5e81cb[_0xabfc('0x1d')];var _0x291828=_0x4f9900?0x0:_0xbf70aa[_0xabfc('0x1a')];var _0x3e6871=_0x4f9900?_0x5e81cb['count']:_0xbf70aa[_0xabfc('0x1a')]+_0xbf70aa['limit'];var _0x10cc91;if(_0x3e6871>=_0x28da98){_0x3e6871=_0x28da98;_0x10cc91=0xc8;}else{_0x10cc91=0xce;}_0x3f1ef2[_0xabfc('0x18')](_0x10cc91);return _0x3f1ef2[_0xabfc('0x1e')](_0xabfc('0x1f'),_0x291828+'-'+_0x3e6871+'/'+_0x28da98)[_0xabfc('0x19')](_0x5e81cb);}return null;};}function patchUpdates(_0x337e0e){return function(_0x20e580){try{jsonpatch[_0xabfc('0x20')](_0x20e580,_0x337e0e,!![]);}catch(_0x4e8c32){return BPromise['reject'](_0x4e8c32);}return _0x20e580[_0xabfc('0x21')]();};}function saveUpdates(_0x398e5a,_0x476584){return function(_0x40fdb7){if(_0x40fdb7){return _0x40fdb7[_0xabfc('0x22')](_0x398e5a)[_0xabfc('0x23')](function(_0x1403f9){return _0x1403f9;});}return null;};}function removeEntity(_0x33d1fa,_0x3aa5e4){return function(_0x2639bd){if(_0x2639bd){return _0x2639bd[_0xabfc('0x24')]()[_0xabfc('0x23')](function(){_0x33d1fa[_0xabfc('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x11bee3,_0x46fe67){return function(_0xa9697){if(!_0xa9697){_0x11bee3[_0xabfc('0x17')](0x194);}return _0xa9697;};}function handleError(_0x5045bc,_0x2277d2){_0x2277d2=_0x2277d2||0x1f4;return function(_0x581d43){logger[_0xabfc('0x25')](_0x581d43[_0xabfc('0x26')]);if(_0x581d43['name']){delete _0x581d43['name'];}_0x5045bc[_0xabfc('0x18')](_0x2277d2)[_0xabfc('0x27')](_0x581d43);};}exports[_0xabfc('0x28')]=function(_0x1ec970,_0x5c2d3d){var _0x2aaa67={},_0x1a52d2={},_0x1a23d2={'count':0x0,'rows':[]};var _0x17361a=_[_0xabfc('0x29')](db['MailSubstatus'][_0xabfc('0x2a')],function(_0x4bc161){return{'name':_0x4bc161['fieldName'],'type':_0x4bc161[_0xabfc('0x2b')][_0xabfc('0x2c')]};});_0x1a52d2[_0xabfc('0x2d')]=_['map'](_0x17361a,_0xabfc('0x2e'));_0x1a52d2[_0xabfc('0x2f')]=_[_0xabfc('0x30')](_0x1ec970[_0xabfc('0x2f')]);_0x1a52d2[_0xabfc('0x31')]=_['intersection'](_0x1a52d2[_0xabfc('0x2d')],_0x1a52d2[_0xabfc('0x2f')]);_0x2aaa67[_0xabfc('0x32')]=_[_0xabfc('0x33')](_0x1a52d2['model'],qs['fields'](_0x1ec970[_0xabfc('0x2f')][_0xabfc('0x34')]));_0x2aaa67[_0xabfc('0x32')]=_0x2aaa67[_0xabfc('0x32')][_0xabfc('0x35')]?_0x2aaa67[_0xabfc('0x32')]:_0x1a52d2['model'];if(!_0x1ec970['query']['hasOwnProperty'](_0xabfc('0x36'))){_0x2aaa67[_0xabfc('0x1c')]=qs['limit'](_0x1ec970['query'][_0xabfc('0x1c')]);_0x2aaa67[_0xabfc('0x1a')]=qs['offset'](_0x1ec970[_0xabfc('0x2f')]['offset']);}_0x2aaa67[_0xabfc('0x37')]=qs['sort'](_0x1ec970[_0xabfc('0x2f')]['sort']);_0x2aaa67[_0xabfc('0x38')]=qs[_0xabfc('0x31')](_[_0xabfc('0x39')](_0x1ec970['query'],_0x1a52d2[_0xabfc('0x31')]),_0x17361a);if(_0x1ec970[_0xabfc('0x2f')][_0xabfc('0x3a')]){_0x2aaa67['where']=_[_0xabfc('0x3b')](_0x2aaa67[_0xabfc('0x38')],{'$or':_[_0xabfc('0x29')](_0x17361a,function(_0x1c0cb7){if(_0x1c0cb7[_0xabfc('0x2b')]!==_0xabfc('0x3c')){var _0x4cd7ad={};_0x4cd7ad[_0x1c0cb7[_0xabfc('0x2e')]]={'$like':'%'+_0x1ec970['query'][_0xabfc('0x3a')]+'%'};return _0x4cd7ad;}})});}_0x2aaa67=_[_0xabfc('0x3b')]({},_0x2aaa67,_0x1ec970[_0xabfc('0x3d')]);var _0x9156f1={'where':_0x2aaa67[_0xabfc('0x38')]};return db['MailSubstatus'][_0xabfc('0x1d')](_0x9156f1)[_0xabfc('0x23')](function(_0x25ff4b){_0x1a23d2[_0xabfc('0x1d')]=_0x25ff4b;if(_0x1ec970[_0xabfc('0x2f')]['includeAll']){_0x2aaa67['include']=[{'all':!![]}];}return db[_0xabfc('0x3e')][_0xabfc('0x3f')](_0x2aaa67);})['then'](function(_0x291eae){_0x1a23d2[_0xabfc('0x40')]=_0x291eae;return _0x1a23d2;})[_0xabfc('0x23')](respondWithFilteredResult(_0x5c2d3d,_0x2aaa67))[_0xabfc('0x41')](handleError(_0x5c2d3d,null));};exports['show']=function(_0x283e69,_0x16f20d){var _0x5ac81c={'raw':!![],'where':{'id':_0x283e69['params']['id']}},_0x4f173d={};_0x4f173d['model']=_['keys'](db['MailSubstatus'][_0xabfc('0x2a')]);_0x4f173d['query']=_['keys'](_0x283e69[_0xabfc('0x2f')]);_0x4f173d[_0xabfc('0x31')]=_[_0xabfc('0x33')](_0x4f173d[_0xabfc('0x2d')],_0x4f173d[_0xabfc('0x2f')]);_0x5ac81c['attributes']=_[_0xabfc('0x33')](_0x4f173d[_0xabfc('0x2d')],qs[_0xabfc('0x34')](_0x283e69['query'][_0xabfc('0x34')]));_0x5ac81c[_0xabfc('0x32')]=_0x5ac81c[_0xabfc('0x32')][_0xabfc('0x35')]?_0x5ac81c[_0xabfc('0x32')]:_0x4f173d[_0xabfc('0x2d')];if(_0x283e69[_0xabfc('0x2f')][_0xabfc('0x42')]){_0x5ac81c['include']=[{'all':!![]}];}_0x5ac81c=_['merge']({},_0x5ac81c,_0x283e69['options']);return db[_0xabfc('0x3e')][_0xabfc('0x43')](_0x5ac81c)['then'](handleEntityNotFound(_0x16f20d,null))[_0xabfc('0x23')](respondWithResult(_0x16f20d,null))[_0xabfc('0x41')](handleError(_0x16f20d,null));};exports[_0xabfc('0x44')]=function(_0x377b79,_0x394fb1){return db[_0xabfc('0x3e')][_0xabfc('0x44')](_0x377b79[_0xabfc('0x45')],{})['then'](respondWithResult(_0x394fb1,0xc9))[_0xabfc('0x41')](handleError(_0x394fb1,null));};exports[_0xabfc('0x22')]=function(_0xd90461,_0x464543){if(_0xd90461[_0xabfc('0x45')]['id']){delete _0xd90461[_0xabfc('0x45')]['id'];}return db['MailSubstatus'][_0xabfc('0x43')]({'where':{'id':_0xd90461[_0xabfc('0x46')]['id']}})[_0xabfc('0x23')](handleEntityNotFound(_0x464543,null))[_0xabfc('0x23')](saveUpdates(_0xd90461['body'],null))[_0xabfc('0x23')](respondWithResult(_0x464543,null))[_0xabfc('0x41')](handleError(_0x464543,null));};exports['destroy']=function(_0x50cec3,_0x4fbef1){return db[_0xabfc('0x3e')][_0xabfc('0x43')]({'where':{'id':_0x50cec3[_0xabfc('0x46')]['id']}})[_0xabfc('0x23')](handleEntityNotFound(_0x4fbef1,null))[_0xabfc('0x23')](removeEntity(_0x4fbef1,null))[_0xabfc('0x41')](handleError(_0x4fbef1,null));};exports['describe']=function(_0x49d571,_0x10e73f){return db[_0xabfc('0x3e')][_0xabfc('0x47')]()['then'](respondWithResult(_0x10e73f,null))[_0xabfc('0x41')](handleError(_0x10e73f,null));};
\ No newline at end of file
+var _0xb916=['../../config/environment','../../config/license/util','sendStatus','status','end','json','limit','undefined','count','offset','apply','save','destroy','then','error','stack','name','send','index','MailSubstatus','fieldName','type','key','map','query','keys','intersection','model','fields','attributes','hasOwnProperty','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','includeAll','findAll','rows','catch','show','rawAttributes','length','create','body','find','params','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils'];(function(_0x269ec7,_0x12df5c){var _0x358abd=function(_0x186335){while(--_0x186335){_0x269ec7['push'](_0x269ec7['shift']());}};_0x358abd(++_0x12df5c);}(_0xb916,0xc8));var _0x6b91=function(_0x390dad,_0x3a3e5a){_0x390dad=_0x390dad-0x0;var _0x490148=_0xb916[_0x390dad];return _0x490148;};'use strict';var emlformat=require(_0x6b91('0x0'));var rimraf=require(_0x6b91('0x1'));var zipdir=require(_0x6b91('0x2'));var jsonpatch=require(_0x6b91('0x3'));var rp=require(_0x6b91('0x4'));var moment=require(_0x6b91('0x5'));var BPromise=require(_0x6b91('0x6'));var Mustache=require(_0x6b91('0x7'));var util=require('util');var path=require('path');var sox=require(_0x6b91('0x8'));var csv=require(_0x6b91('0x9'));var ejs=require(_0x6b91('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require('lodash');var squel=require(_0x6b91('0xb'));var crypto=require('crypto');var jsforce=require(_0x6b91('0xc'));var deskjs=require(_0x6b91('0xd'));var toCsv=require('to-csv');var querystring=require(_0x6b91('0xe'));var Papa=require(_0x6b91('0xf'));var Redis=require('ioredis');var authService=require(_0x6b91('0x10'));var qs=require(_0x6b91('0x11'));var as=require(_0x6b91('0x12'));var hardwareService=require(_0x6b91('0x13'));var logger=require('../../config/logger')(_0x6b91('0x14'));var utils=require(_0x6b91('0x15'));var config=require(_0x6b91('0x16'));var licenseUtil=require(_0x6b91('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x24865b,_0x289a8f){_0x289a8f=_0x289a8f||0xcc;return function(_0x237504){if(_0x237504){return _0x24865b[_0x6b91('0x18')](_0x289a8f);}return _0x24865b[_0x6b91('0x19')](_0x289a8f)[_0x6b91('0x1a')]();};}function respondWithResult(_0x12ad28,_0x3693c6){_0x3693c6=_0x3693c6||0xc8;return function(_0x28f55b){if(_0x28f55b){return _0x12ad28['status'](_0x3693c6)[_0x6b91('0x1b')](_0x28f55b);}};}function respondWithFilteredResult(_0x358587,_0x35dd10){return function(_0x521b1d){if(_0x521b1d){var _0x5868b9=typeof _0x35dd10['offset']==='undefined'&&typeof _0x35dd10[_0x6b91('0x1c')]===_0x6b91('0x1d');var _0x2eed58=_0x521b1d[_0x6b91('0x1e')];var _0x4d03ce=_0x5868b9?0x0:_0x35dd10[_0x6b91('0x1f')];var _0x340bc9=_0x5868b9?_0x521b1d[_0x6b91('0x1e')]:_0x35dd10['offset']+_0x35dd10[_0x6b91('0x1c')];var _0x1d87c9;if(_0x340bc9>=_0x2eed58){_0x340bc9=_0x2eed58;_0x1d87c9=0xc8;}else{_0x1d87c9=0xce;}_0x358587[_0x6b91('0x19')](_0x1d87c9);return _0x358587['set']('Content-Range',_0x4d03ce+'-'+_0x340bc9+'/'+_0x2eed58)[_0x6b91('0x1b')](_0x521b1d);}return null;};}function patchUpdates(_0x269eb0){return function(_0x43bff3){try{jsonpatch[_0x6b91('0x20')](_0x43bff3,_0x269eb0,!![]);}catch(_0x591217){return BPromise['reject'](_0x591217);}return _0x43bff3[_0x6b91('0x21')]();};}function saveUpdates(_0x1e8b58,_0xf0ecad){return function(_0x3d9c81){if(_0x3d9c81){return _0x3d9c81['update'](_0x1e8b58)['then'](function(_0x2a8260){return _0x2a8260;});}return null;};}function removeEntity(_0x15bcee,_0x10af4f){return function(_0x27b706){if(_0x27b706){return _0x27b706[_0x6b91('0x22')]()[_0x6b91('0x23')](function(){_0x15bcee['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x31b9b4,_0x34f0e9){return function(_0x381f7f){if(!_0x381f7f){_0x31b9b4[_0x6b91('0x18')](0x194);}return _0x381f7f;};}function handleError(_0x384226,_0x209da4){_0x209da4=_0x209da4||0x1f4;return function(_0x1243d2){logger[_0x6b91('0x24')](_0x1243d2[_0x6b91('0x25')]);if(_0x1243d2['name']){delete _0x1243d2[_0x6b91('0x26')];}_0x384226[_0x6b91('0x19')](_0x209da4)[_0x6b91('0x27')](_0x1243d2);};}exports[_0x6b91('0x28')]=function(_0x2c9922,_0x167445){var _0x5a657b={},_0x57805a={},_0x238bcf={'count':0x0,'rows':[]};var _0xb289e2=_['map'](db[_0x6b91('0x29')]['rawAttributes'],function(_0x2a83bc){return{'name':_0x2a83bc[_0x6b91('0x2a')],'type':_0x2a83bc[_0x6b91('0x2b')][_0x6b91('0x2c')]};});_0x57805a['model']=_[_0x6b91('0x2d')](_0xb289e2,_0x6b91('0x26'));_0x57805a[_0x6b91('0x2e')]=_[_0x6b91('0x2f')](_0x2c9922[_0x6b91('0x2e')]);_0x57805a['filters']=_[_0x6b91('0x30')](_0x57805a[_0x6b91('0x31')],_0x57805a[_0x6b91('0x2e')]);_0x5a657b['attributes']=_[_0x6b91('0x30')](_0x57805a[_0x6b91('0x31')],qs[_0x6b91('0x32')](_0x2c9922[_0x6b91('0x2e')]['fields']));_0x5a657b['attributes']=_0x5a657b['attributes']['length']?_0x5a657b[_0x6b91('0x33')]:_0x57805a[_0x6b91('0x31')];if(!_0x2c9922[_0x6b91('0x2e')][_0x6b91('0x34')]('nolimit')){_0x5a657b[_0x6b91('0x1c')]=qs[_0x6b91('0x1c')](_0x2c9922['query'][_0x6b91('0x1c')]);_0x5a657b['offset']=qs['offset'](_0x2c9922[_0x6b91('0x2e')]['offset']);}_0x5a657b[_0x6b91('0x35')]=qs[_0x6b91('0x36')](_0x2c9922[_0x6b91('0x2e')][_0x6b91('0x36')]);_0x5a657b[_0x6b91('0x37')]=qs[_0x6b91('0x38')](_[_0x6b91('0x39')](_0x2c9922[_0x6b91('0x2e')],_0x57805a['filters']),_0xb289e2);if(_0x2c9922[_0x6b91('0x2e')][_0x6b91('0x3a')]){_0x5a657b['where']=_[_0x6b91('0x3b')](_0x5a657b[_0x6b91('0x37')],{'$or':_[_0x6b91('0x2d')](_0xb289e2,function(_0x581fb1){if(_0x581fb1['type']!==_0x6b91('0x3c')){var _0xd7e4ee={};_0xd7e4ee[_0x581fb1[_0x6b91('0x26')]]={'$like':'%'+_0x2c9922[_0x6b91('0x2e')]['filter']+'%'};return _0xd7e4ee;}})});}_0x5a657b=_[_0x6b91('0x3b')]({},_0x5a657b,_0x2c9922[_0x6b91('0x3d')]);var _0x415619={'where':_0x5a657b[_0x6b91('0x37')]};return db['MailSubstatus'][_0x6b91('0x1e')](_0x415619)['then'](function(_0x24a1bd){_0x238bcf['count']=_0x24a1bd;if(_0x2c9922['query'][_0x6b91('0x3e')]){_0x5a657b['include']=[{'all':!![]}];}return db[_0x6b91('0x29')][_0x6b91('0x3f')](_0x5a657b);})['then'](function(_0x4a7b44){_0x238bcf[_0x6b91('0x40')]=_0x4a7b44;return _0x238bcf;})[_0x6b91('0x23')](respondWithFilteredResult(_0x167445,_0x5a657b))[_0x6b91('0x41')](handleError(_0x167445,null));};exports[_0x6b91('0x42')]=function(_0x161dc6,_0x113ae6){var _0x283e8b={'raw':!![],'where':{'id':_0x161dc6['params']['id']}},_0x5d5d56={};_0x5d5d56['model']=_[_0x6b91('0x2f')](db[_0x6b91('0x29')][_0x6b91('0x43')]);_0x5d5d56[_0x6b91('0x2e')]=_[_0x6b91('0x2f')](_0x161dc6[_0x6b91('0x2e')]);_0x5d5d56[_0x6b91('0x38')]=_[_0x6b91('0x30')](_0x5d5d56['model'],_0x5d5d56[_0x6b91('0x2e')]);_0x283e8b['attributes']=_[_0x6b91('0x30')](_0x5d5d56['model'],qs[_0x6b91('0x32')](_0x161dc6[_0x6b91('0x2e')][_0x6b91('0x32')]));_0x283e8b[_0x6b91('0x33')]=_0x283e8b[_0x6b91('0x33')][_0x6b91('0x44')]?_0x283e8b['attributes']:_0x5d5d56[_0x6b91('0x31')];if(_0x161dc6[_0x6b91('0x2e')][_0x6b91('0x3e')]){_0x283e8b['include']=[{'all':!![]}];}_0x283e8b=_['merge']({},_0x283e8b,_0x161dc6[_0x6b91('0x3d')]);return db[_0x6b91('0x29')]['find'](_0x283e8b)[_0x6b91('0x23')](handleEntityNotFound(_0x113ae6,null))[_0x6b91('0x23')](respondWithResult(_0x113ae6,null))[_0x6b91('0x41')](handleError(_0x113ae6,null));};exports[_0x6b91('0x45')]=function(_0x44e25a,_0x2a1f0d){return db[_0x6b91('0x29')][_0x6b91('0x45')](_0x44e25a[_0x6b91('0x46')],{})[_0x6b91('0x23')](respondWithResult(_0x2a1f0d,0xc9))[_0x6b91('0x41')](handleError(_0x2a1f0d,null));};exports['update']=function(_0x1b9479,_0xe7589e){if(_0x1b9479[_0x6b91('0x46')]['id']){delete _0x1b9479['body']['id'];}return db[_0x6b91('0x29')][_0x6b91('0x47')]({'where':{'id':_0x1b9479[_0x6b91('0x48')]['id']}})[_0x6b91('0x23')](handleEntityNotFound(_0xe7589e,null))[_0x6b91('0x23')](saveUpdates(_0x1b9479[_0x6b91('0x46')],null))['then'](respondWithResult(_0xe7589e,null))[_0x6b91('0x41')](handleError(_0xe7589e,null));};exports[_0x6b91('0x22')]=function(_0x2789dd,_0x2e29d2){return db[_0x6b91('0x29')][_0x6b91('0x47')]({'where':{'id':_0x2789dd[_0x6b91('0x48')]['id']}})[_0x6b91('0x23')](handleEntityNotFound(_0x2e29d2,null))['then'](removeEntity(_0x2e29d2,null))[_0x6b91('0x41')](handleError(_0x2e29d2,null));};exports['describe']=function(_0x265d20,_0x49ab4e){return db[_0x6b91('0x29')][_0x6b91('0x49')]()['then'](respondWithResult(_0x49ab4e,null))[_0x6b91('0x41')](handleError(_0x49ab4e,null));};
\ No newline at end of file