Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / mailSubstatus / mailSubstatus.controller.js
index a29dbc7..cfda9e8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x124f=['status','json','offset','undefined','limit','set','Content-Range','apply','reject','save','then','destroy','error','name','map','MailSubstatus','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','length','hasOwnProperty','order','sort','where','pick','merge','VIRTUAL','filter','options','count','includeAll','include','findAll','rows','catch','params','fields','find','create','body','update','describe','eml-format','rimraf','zip-dir','moment','mustache','util','path','sox','to-csv','ejs','fs-extra','lodash','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus'];(function(_0x484cac,_0x30ad3a){var _0x1d6e77=function(_0x4f5f16){while(--_0x4f5f16){_0x484cac['push'](_0x484cac['shift']());}};_0x1d6e77(++_0x30ad3a);}(_0x124f,0x1a8));var _0xf124=function(_0x3aa0dc,_0x24fd70){_0x3aa0dc=_0x3aa0dc-0x0;var _0x5ffe7b=_0x124f[_0x3aa0dc];return _0x5ffe7b;};'use strict';var emlformat=require(_0xf124('0x0'));var rimraf=require(_0xf124('0x1'));var zipdir=require(_0xf124('0x2'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0xf124('0x3'));var BPromise=require('bluebird');var Mustache=require(_0xf124('0x4'));var util=require(_0xf124('0x5'));var path=require(_0xf124('0x6'));var sox=require(_0xf124('0x7'));var csv=require(_0xf124('0x8'));var ejs=require(_0xf124('0x9'));var fs=require('fs');var fs_extra=require(_0xf124('0xa'));var _=require(_0xf124('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xf124('0xc'));var deskjs=require(_0xf124('0xd'));var toCsv=require(_0xf124('0x8'));var querystring=require(_0xf124('0xe'));var Papa=require(_0xf124('0xf'));var Redis=require(_0xf124('0x10'));var authService=require(_0xf124('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0xf124('0x12'));var hardwareService=require(_0xf124('0x13'));var logger=require(_0xf124('0x14'))(_0xf124('0x15'));var utils=require('../../config/utils');var config=require(_0xf124('0x16'));var licenseUtil=require(_0xf124('0x17'));var db=require(_0xf124('0x18'))['db'];function respondWithStatusCode(_0xb0b447,_0x5e177f){_0x5e177f=_0x5e177f||0xcc;return function(_0x5ee9ee){if(_0x5ee9ee){return _0xb0b447[_0xf124('0x19')](_0x5e177f);}return _0xb0b447[_0xf124('0x1a')](_0x5e177f)['end']();};}function respondWithResult(_0x19883c,_0x33ae55){_0x33ae55=_0x33ae55||0xc8;return function(_0x274ea1){if(_0x274ea1){return _0x19883c['status'](_0x33ae55)[_0xf124('0x1b')](_0x274ea1);}};}function respondWithFilteredResult(_0x31f374,_0x512ab0){return function(_0x5d0133){if(_0x5d0133){var _0xbc7745=typeof _0x512ab0[_0xf124('0x1c')]===_0xf124('0x1d')&&typeof _0x512ab0[_0xf124('0x1e')]===_0xf124('0x1d');var _0x3385df=_0x5d0133['count'];var _0x350347=_0xbc7745?0x0:_0x512ab0['offset'];var _0x1edb07=_0xbc7745?_0x5d0133['count']:_0x512ab0[_0xf124('0x1c')]+_0x512ab0['limit'];var _0x41bcbc;if(_0x1edb07>=_0x3385df){_0x1edb07=_0x3385df;_0x41bcbc=0xc8;}else{_0x41bcbc=0xce;}_0x31f374['status'](_0x41bcbc);return _0x31f374[_0xf124('0x1f')](_0xf124('0x20'),_0x350347+'-'+_0x1edb07+'/'+_0x3385df)[_0xf124('0x1b')](_0x5d0133);}return null;};}function patchUpdates(_0x50706e){return function(_0x1aa8e4){try{jsonpatch[_0xf124('0x21')](_0x1aa8e4,_0x50706e,!![]);}catch(_0x18c0e3){return BPromise[_0xf124('0x22')](_0x18c0e3);}return _0x1aa8e4[_0xf124('0x23')]();};}function saveUpdates(_0x4db900,_0x522a6a){return function(_0x42bfb1){if(_0x42bfb1){return _0x42bfb1['update'](_0x4db900)[_0xf124('0x24')](function(_0x43e28f){return _0x43e28f;});}return null;};}function removeEntity(_0xaf954a,_0x53293c){return function(_0x4e0205){if(_0x4e0205){return _0x4e0205[_0xf124('0x25')]()[_0xf124('0x24')](function(){_0xaf954a[_0xf124('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4e530f,_0xf3ba6e){return function(_0x2cfac5){if(!_0x2cfac5){_0x4e530f[_0xf124('0x19')](0x194);}return _0x2cfac5;};}function handleError(_0x371942,_0x36a8ca){_0x36a8ca=_0x36a8ca||0x1f4;return function(_0x2d794b){logger[_0xf124('0x26')](_0x2d794b['stack']);if(_0x2d794b[_0xf124('0x27')]){delete _0x2d794b[_0xf124('0x27')];}_0x371942['status'](_0x36a8ca)['send'](_0x2d794b);};}exports['index']=function(_0x47d7e8,_0x41dc89){var _0x13ecb4={},_0x58e828={},_0x2f4d79={'count':0x0,'rows':[]};var _0x382665=_[_0xf124('0x28')](db[_0xf124('0x29')][_0xf124('0x2a')],function(_0x4c8a4c){return{'name':_0x4c8a4c[_0xf124('0x2b')],'type':_0x4c8a4c[_0xf124('0x2c')][_0xf124('0x2d')]};});_0x58e828[_0xf124('0x2e')]=_[_0xf124('0x28')](_0x382665,_0xf124('0x27'));_0x58e828[_0xf124('0x2f')]=_[_0xf124('0x30')](_0x47d7e8['query']);_0x58e828[_0xf124('0x31')]=_[_0xf124('0x32')](_0x58e828[_0xf124('0x2e')],_0x58e828['query']);_0x13ecb4[_0xf124('0x33')]=_[_0xf124('0x32')](_0x58e828['model'],qs['fields'](_0x47d7e8[_0xf124('0x2f')]['fields']));_0x13ecb4[_0xf124('0x33')]=_0x13ecb4[_0xf124('0x33')][_0xf124('0x34')]?_0x13ecb4[_0xf124('0x33')]:_0x58e828['model'];if(!_0x47d7e8[_0xf124('0x2f')][_0xf124('0x35')]('nolimit')){_0x13ecb4[_0xf124('0x1e')]=qs[_0xf124('0x1e')](_0x47d7e8[_0xf124('0x2f')][_0xf124('0x1e')]);_0x13ecb4[_0xf124('0x1c')]=qs[_0xf124('0x1c')](_0x47d7e8[_0xf124('0x2f')]['offset']);}_0x13ecb4[_0xf124('0x36')]=qs[_0xf124('0x37')](_0x47d7e8['query']['sort']);_0x13ecb4[_0xf124('0x38')]=qs[_0xf124('0x31')](_[_0xf124('0x39')](_0x47d7e8['query'],_0x58e828[_0xf124('0x31')]),_0x382665);if(_0x47d7e8[_0xf124('0x2f')]['filter']){_0x13ecb4[_0xf124('0x38')]=_[_0xf124('0x3a')](_0x13ecb4['where'],{'$or':_[_0xf124('0x28')](_0x382665,function(_0x4aeb98){if(_0x4aeb98['type']!==_0xf124('0x3b')){var _0x184855={};_0x184855[_0x4aeb98[_0xf124('0x27')]]={'$like':'%'+_0x47d7e8[_0xf124('0x2f')][_0xf124('0x3c')]+'%'};return _0x184855;}})});}_0x13ecb4=_[_0xf124('0x3a')]({},_0x13ecb4,_0x47d7e8[_0xf124('0x3d')]);var _0x5f365f={'where':_0x13ecb4[_0xf124('0x38')]};return db[_0xf124('0x29')][_0xf124('0x3e')](_0x5f365f)['then'](function(_0x2a6a4e){_0x2f4d79[_0xf124('0x3e')]=_0x2a6a4e;if(_0x47d7e8['query'][_0xf124('0x3f')]){_0x13ecb4[_0xf124('0x40')]=[{'all':!![]}];}return db[_0xf124('0x29')][_0xf124('0x41')](_0x13ecb4);})[_0xf124('0x24')](function(_0x2647ed){_0x2f4d79[_0xf124('0x42')]=_0x2647ed;return _0x2f4d79;})[_0xf124('0x24')](respondWithFilteredResult(_0x41dc89,_0x13ecb4))[_0xf124('0x43')](handleError(_0x41dc89,null));};exports['show']=function(_0x4a5083,_0x2271e9){var _0x25e6f6={'raw':!![],'where':{'id':_0x4a5083[_0xf124('0x44')]['id']}},_0x2e892e={};_0x2e892e[_0xf124('0x2e')]=_[_0xf124('0x30')](db[_0xf124('0x29')]['rawAttributes']);_0x2e892e['query']=_[_0xf124('0x30')](_0x4a5083['query']);_0x2e892e[_0xf124('0x31')]=_[_0xf124('0x32')](_0x2e892e[_0xf124('0x2e')],_0x2e892e['query']);_0x25e6f6[_0xf124('0x33')]=_[_0xf124('0x32')](_0x2e892e['model'],qs[_0xf124('0x45')](_0x4a5083['query'][_0xf124('0x45')]));_0x25e6f6['attributes']=_0x25e6f6['attributes'][_0xf124('0x34')]?_0x25e6f6[_0xf124('0x33')]:_0x2e892e[_0xf124('0x2e')];if(_0x4a5083[_0xf124('0x2f')][_0xf124('0x3f')]){_0x25e6f6['include']=[{'all':!![]}];}_0x25e6f6=_[_0xf124('0x3a')]({},_0x25e6f6,_0x4a5083[_0xf124('0x3d')]);return db['MailSubstatus'][_0xf124('0x46')](_0x25e6f6)['then'](handleEntityNotFound(_0x2271e9,null))[_0xf124('0x24')](respondWithResult(_0x2271e9,null))[_0xf124('0x43')](handleError(_0x2271e9,null));};exports[_0xf124('0x47')]=function(_0x2db0f9,_0x17c77f){return db[_0xf124('0x29')][_0xf124('0x47')](_0x2db0f9[_0xf124('0x48')],{})[_0xf124('0x24')](respondWithResult(_0x17c77f,0xc9))[_0xf124('0x43')](handleError(_0x17c77f,null));};exports[_0xf124('0x49')]=function(_0x286eb7,_0x5c2869){if(_0x286eb7[_0xf124('0x48')]['id']){delete _0x286eb7[_0xf124('0x48')]['id'];}return db['MailSubstatus'][_0xf124('0x46')]({'where':{'id':_0x286eb7[_0xf124('0x44')]['id']}})[_0xf124('0x24')](handleEntityNotFound(_0x5c2869,null))[_0xf124('0x24')](saveUpdates(_0x286eb7[_0xf124('0x48')],null))[_0xf124('0x24')](respondWithResult(_0x5c2869,null))[_0xf124('0x43')](handleError(_0x5c2869,null));};exports['destroy']=function(_0x5acbe9,_0x4dc607){return db[_0xf124('0x29')][_0xf124('0x46')]({'where':{'id':_0x5acbe9[_0xf124('0x44')]['id']}})[_0xf124('0x24')](handleEntityNotFound(_0x4dc607,null))[_0xf124('0x24')](removeEntity(_0x4dc607,null))[_0xf124('0x43')](handleError(_0x4dc607,null));};exports['describe']=function(_0x2ef9b6,_0x5af9cb){return db[_0xf124('0x29')][_0xf124('0x4a')]()[_0xf124('0x24')](respondWithResult(_0x5af9cb,null))[_0xf124('0x43')](handleError(_0x5af9cb,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