Built motion from commit (unavailable).|2.5.0
[motion2.git] / server / api / integrationReport / integrationReport.controller.js
index d149ad5..3f9a2bd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac35=['VIRTUAL','options','includeAll','include','findAll','rows','show','params','find','catch','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','name','send','index','map','IntegrationReport','rawAttributes','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge'];(function(_0x3236d9,_0x4cc1ba){var _0x28ae45=function(_0x1ec1b1){while(--_0x1ec1b1){_0x3236d9['push'](_0x3236d9['shift']());}};_0x28ae45(++_0x4cc1ba);}(_0xac35,0x141));var _0x5ac3=function(_0x3d5719,_0x2fea03){_0x3d5719=_0x3d5719-0x0;var _0x2c17da=_0xac35[_0x3d5719];return _0x2c17da;};'use strict';var pdf=require(_0x5ac3('0x0'));var emlformat=require(_0x5ac3('0x1'));var rimraf=require(_0x5ac3('0x2'));var zipdir=require(_0x5ac3('0x3'));var jsonpatch=require(_0x5ac3('0x4'));var rp=require(_0x5ac3('0x5'));var moment=require(_0x5ac3('0x6'));var BPromise=require(_0x5ac3('0x7'));var Mustache=require(_0x5ac3('0x8'));var util=require(_0x5ac3('0x9'));var path=require(_0x5ac3('0xa'));var sox=require(_0x5ac3('0xb'));var csv=require(_0x5ac3('0xc'));var ejs=require(_0x5ac3('0xd'));var fs=require('fs');var _=require('lodash');var squel=require(_0x5ac3('0xe'));var crypto=require('crypto');var jsforce=require(_0x5ac3('0xf'));var deskjs=require(_0x5ac3('0x10'));var toCsv=require(_0x5ac3('0xc'));var querystring=require(_0x5ac3('0x11'));var Papa=require(_0x5ac3('0x12'));var Redis=require(_0x5ac3('0x13'));var authService=require('../../components/auth/service');var qs=require(_0x5ac3('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x5ac3('0x15'));var logger=require(_0x5ac3('0x16'))(_0x5ac3('0x17'));var utils=require(_0x5ac3('0x18'));var config=require(_0x5ac3('0x19'));var db=require(_0x5ac3('0x1a'))['db'];function respondWithStatusCode(_0x963aa5,_0x5921c6){_0x5921c6=_0x5921c6||0xcc;return function(_0x19ed64){if(_0x19ed64){return _0x963aa5[_0x5ac3('0x1b')](_0x5921c6);}return _0x963aa5[_0x5ac3('0x1c')](_0x5921c6)[_0x5ac3('0x1d')]();};}function respondWithResult(_0x297c33,_0x24ed02){_0x24ed02=_0x24ed02||0xc8;return function(_0x1961f3){if(_0x1961f3){return _0x297c33[_0x5ac3('0x1c')](_0x24ed02)['json'](_0x1961f3);}};}function respondWithFilteredResult(_0x585770,_0x3926d0){return function(_0x388da8){if(_0x388da8){var _0x516c97=_0x388da8[_0x5ac3('0x1e')],_0x2eec4a=_0x3926d0[_0x5ac3('0x1f')],_0x4b718a=_0x3926d0['offset']+_0x3926d0[_0x5ac3('0x20')],_0x45c7ed;if(_0x4b718a>=_0x516c97){_0x4b718a=_0x516c97;_0x45c7ed=0xc8;}else{_0x45c7ed=0xce;}_0x585770[_0x5ac3('0x1c')](_0x45c7ed);return _0x585770[_0x5ac3('0x21')](_0x5ac3('0x22'),_0x2eec4a+'-'+_0x4b718a+'/'+_0x516c97)['json'](_0x388da8);}return null;};}function patchUpdates(_0x22907d){return function(_0x9fb253){try{jsonpatch[_0x5ac3('0x23')](_0x9fb253,_0x22907d,!![]);}catch(_0x2ec013){return BPromise[_0x5ac3('0x24')](_0x2ec013);}return _0x9fb253[_0x5ac3('0x25')]();};}function saveUpdates(_0x2039b1,_0x2fcc26){return function(_0x26f446){if(_0x26f446){return _0x26f446[_0x5ac3('0x26')](_0x2039b1)[_0x5ac3('0x27')](function(_0x38486d){return _0x38486d;});}return null;};}function removeEntity(_0x579d76,_0x462b1d){return function(_0x3cbb52){if(_0x3cbb52){return _0x3cbb52[_0x5ac3('0x28')]()[_0x5ac3('0x27')](function(){_0x579d76['status'](0xcc)[_0x5ac3('0x1d')]();});}};}function handleEntityNotFound(_0x1e28f6,_0x2aa7c9){return function(_0x3cce67){if(!_0x3cce67){_0x1e28f6['sendStatus'](0x194);}return _0x3cce67;};}function handleError(_0x1eb39c,_0x567807){_0x567807=_0x567807||0x1f4;return function(_0x34394f){logger['error'](_0x34394f['stack']);if(_0x34394f[_0x5ac3('0x29')]){delete _0x34394f[_0x5ac3('0x29')];}_0x1eb39c['status'](_0x567807)[_0x5ac3('0x2a')](_0x34394f);};}exports[_0x5ac3('0x2b')]=function(_0x2fd301,_0x1f563e){var _0x4af783={},_0x452519={},_0x228deb={'count':0x0,'rows':[]};var _0x1bd43a=_[_0x5ac3('0x2c')](db[_0x5ac3('0x2d')][_0x5ac3('0x2e')],function(_0x136862){return{'name':_0x136862['fieldName'],'type':_0x136862[_0x5ac3('0x2f')][_0x5ac3('0x30')]};});_0x452519[_0x5ac3('0x31')]=_['map'](_0x1bd43a,_0x5ac3('0x29'));_0x452519[_0x5ac3('0x32')]=_[_0x5ac3('0x33')](_0x2fd301['query']);_0x452519[_0x5ac3('0x34')]=_['intersection'](_0x452519[_0x5ac3('0x31')],_0x452519['query']);_0x4af783[_0x5ac3('0x35')]=_[_0x5ac3('0x36')](_0x452519['model'],qs['fields'](_0x2fd301['query'][_0x5ac3('0x37')]));_0x4af783[_0x5ac3('0x35')]=_0x4af783['attributes'][_0x5ac3('0x38')]?_0x4af783[_0x5ac3('0x35')]:_0x452519[_0x5ac3('0x31')];if(!_0x2fd301[_0x5ac3('0x32')][_0x5ac3('0x39')](_0x5ac3('0x3a'))){_0x4af783['limit']=qs[_0x5ac3('0x20')](_0x2fd301[_0x5ac3('0x32')][_0x5ac3('0x20')]);_0x4af783[_0x5ac3('0x1f')]=qs['offset'](_0x2fd301['query'][_0x5ac3('0x1f')]);}_0x4af783['order']=qs[_0x5ac3('0x3b')](_0x2fd301[_0x5ac3('0x32')]['sort']);_0x4af783[_0x5ac3('0x3c')]=qs['filters'](_[_0x5ac3('0x3d')](_0x2fd301['query'],_0x452519['filters']));if(_0x2fd301[_0x5ac3('0x32')][_0x5ac3('0x3e')]){_0x4af783[_0x5ac3('0x3c')]=_[_0x5ac3('0x3f')](_0x4af783['where'],{'$or':_[_0x5ac3('0x2c')](_0x1bd43a,function(_0x50e749){if(_0x50e749[_0x5ac3('0x2f')]!==_0x5ac3('0x40')){var _0x264c12={};_0x264c12[_0x50e749[_0x5ac3('0x29')]]={'$like':'%'+_0x2fd301[_0x5ac3('0x32')]['filter']+'%'};return _0x264c12;}})});}_0x4af783=_[_0x5ac3('0x3f')]({},_0x4af783,_0x2fd301[_0x5ac3('0x41')]);var _0x5e83a4={'where':_0x4af783[_0x5ac3('0x3c')]};return db[_0x5ac3('0x2d')][_0x5ac3('0x1e')](_0x5e83a4)[_0x5ac3('0x27')](function(_0x271f3d){_0x228deb[_0x5ac3('0x1e')]=_0x271f3d;if(_0x2fd301[_0x5ac3('0x32')][_0x5ac3('0x42')]){_0x4af783[_0x5ac3('0x43')]=[{'all':!![]}];}return db[_0x5ac3('0x2d')][_0x5ac3('0x44')](_0x4af783);})[_0x5ac3('0x27')](function(_0x20c16c){_0x228deb[_0x5ac3('0x45')]=_0x20c16c;return _0x228deb;})['then'](respondWithFilteredResult(_0x1f563e,_0x4af783))['catch'](handleError(_0x1f563e,null));};exports[_0x5ac3('0x46')]=function(_0x40f749,_0x359379){var _0x4f8984={'raw':![],'where':{'id':_0x40f749[_0x5ac3('0x47')]['id']}},_0x17e2bf={};_0x17e2bf[_0x5ac3('0x31')]=_[_0x5ac3('0x33')](db[_0x5ac3('0x2d')][_0x5ac3('0x2e')]);_0x17e2bf[_0x5ac3('0x32')]=_[_0x5ac3('0x33')](_0x40f749[_0x5ac3('0x32')]);_0x17e2bf[_0x5ac3('0x34')]=_[_0x5ac3('0x36')](_0x17e2bf[_0x5ac3('0x31')],_0x17e2bf[_0x5ac3('0x32')]);_0x4f8984['attributes']=_['intersection'](_0x17e2bf['model'],qs['fields'](_0x40f749['query']['fields']));_0x4f8984[_0x5ac3('0x35')]=_0x4f8984[_0x5ac3('0x35')][_0x5ac3('0x38')]?_0x4f8984['attributes']:_0x17e2bf[_0x5ac3('0x31')];if(_0x40f749[_0x5ac3('0x32')][_0x5ac3('0x42')]){_0x4f8984[_0x5ac3('0x43')]=[{'all':!![]}];}_0x4f8984=_[_0x5ac3('0x3f')]({},_0x4f8984,_0x40f749['options']);return db[_0x5ac3('0x2d')][_0x5ac3('0x48')](_0x4f8984)[_0x5ac3('0x27')](handleEntityNotFound(_0x359379,null))[_0x5ac3('0x27')](respondWithResult(_0x359379,null))[_0x5ac3('0x49')](handleError(_0x359379,null));};exports['create']=function(_0x30fa49,_0x121b53){return db[_0x5ac3('0x2d')][_0x5ac3('0x4a')](_0x30fa49['body'],{})[_0x5ac3('0x27')](respondWithResult(_0x121b53,0xc9))[_0x5ac3('0x49')](handleError(_0x121b53,null));};exports[_0x5ac3('0x26')]=function(_0x47332a,_0x59e097){if(_0x47332a[_0x5ac3('0x4b')]['id']){delete _0x47332a[_0x5ac3('0x4b')]['id'];}return db[_0x5ac3('0x2d')][_0x5ac3('0x48')]({'where':{'id':_0x47332a[_0x5ac3('0x47')]['id']}})[_0x5ac3('0x27')](handleEntityNotFound(_0x59e097,null))[_0x5ac3('0x27')](saveUpdates(_0x47332a['body'],null))['then'](respondWithResult(_0x59e097,null))[_0x5ac3('0x49')](handleError(_0x59e097,null));};exports[_0x5ac3('0x28')]=function(_0x3844b6,_0x2d507d){return db[_0x5ac3('0x2d')]['find']({'where':{'id':_0x3844b6['params']['id']}})[_0x5ac3('0x27')](handleEntityNotFound(_0x2d507d,null))[_0x5ac3('0x27')](removeEntity(_0x2d507d,null))[_0x5ac3('0x49')](handleError(_0x2d507d,null));};exports[_0x5ac3('0x4c')]=function(_0x68538a,_0x1a47de){return db['IntegrationReport'][_0x5ac3('0x4c')]()[_0x5ac3('0x27')](respondWithResult(_0x1a47de,null))[_0x5ac3('0x49')](handleError(_0x1a47de,null));};
\ No newline at end of file
+var _0x3fce=['fields','length','hasOwnProperty','limit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','findAll','catch','show','params','create','body','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','to-csv','ejs','squel','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','Content-Range','reject','save','then','destroy','end','error','index','map','IntegrationReport','rawAttributes','fieldName','type','key','model','name','query','keys','filters','intersection','attributes'];(function(_0x3c3335,_0x400050){var _0x164123=function(_0x4c14ce){while(--_0x4c14ce){_0x3c3335['push'](_0x3c3335['shift']());}};_0x164123(++_0x400050);}(_0x3fce,0x121));var _0xe3fc=function(_0x50007c,_0x1cbf11){_0x50007c=_0x50007c-0x0;var _0x5c1ec7=_0x3fce[_0x50007c];return _0x5c1ec7;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xe3fc('0x0'));var rimraf=require(_0xe3fc('0x1'));var zipdir=require(_0xe3fc('0x2'));var jsonpatch=require(_0xe3fc('0x3'));var rp=require(_0xe3fc('0x4'));var moment=require(_0xe3fc('0x5'));var BPromise=require(_0xe3fc('0x6'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0xe3fc('0x7'));var ejs=require(_0xe3fc('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0xe3fc('0x9'));var crypto=require('crypto');var jsforce=require(_0xe3fc('0xa'));var deskjs=require('desk.js');var toCsv=require(_0xe3fc('0x7'));var querystring=require(_0xe3fc('0xb'));var Papa=require(_0xe3fc('0xc'));var Redis=require(_0xe3fc('0xd'));var authService=require(_0xe3fc('0xe'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xe3fc('0xf'));var logger=require(_0xe3fc('0x10'))(_0xe3fc('0x11'));var utils=require('../../config/utils');var config=require(_0xe3fc('0x12'));var db=require(_0xe3fc('0x13'))['db'];function respondWithStatusCode(_0x26473d,_0x317490){_0x317490=_0x317490||0xcc;return function(_0x40fc7e){if(_0x40fc7e){return _0x26473d[_0xe3fc('0x14')](_0x317490);}return _0x26473d[_0xe3fc('0x15')](_0x317490)['end']();};}function respondWithResult(_0x413344,_0x37c993){_0x37c993=_0x37c993||0xc8;return function(_0x4b2ed4){if(_0x4b2ed4){return _0x413344[_0xe3fc('0x15')](_0x37c993)[_0xe3fc('0x16')](_0x4b2ed4);}};}function respondWithFilteredResult(_0x5edfdf,_0x28403f){return function(_0x25852e){if(_0x25852e){var _0x4b6256=_0x25852e[_0xe3fc('0x17')],_0x4fa4d4=_0x28403f[_0xe3fc('0x18')],_0x5953ac=_0x28403f['offset']+_0x28403f['limit'],_0x27b618;if(_0x5953ac>=_0x4b6256){_0x5953ac=_0x4b6256;_0x27b618=0xc8;}else{_0x27b618=0xce;}_0x5edfdf[_0xe3fc('0x15')](_0x27b618);return _0x5edfdf['set'](_0xe3fc('0x19'),_0x4fa4d4+'-'+_0x5953ac+'/'+_0x4b6256)[_0xe3fc('0x16')](_0x25852e);}return null;};}function patchUpdates(_0xfefb77){return function(_0x51c7f2){try{jsonpatch['apply'](_0x51c7f2,_0xfefb77,!![]);}catch(_0x42140f){return BPromise[_0xe3fc('0x1a')](_0x42140f);}return _0x51c7f2[_0xe3fc('0x1b')]();};}function saveUpdates(_0x5e74ab,_0x4472f7){return function(_0xfac19f){if(_0xfac19f){return _0xfac19f['update'](_0x5e74ab)[_0xe3fc('0x1c')](function(_0x82da29){return _0x82da29;});}return null;};}function removeEntity(_0x55bc5a,_0x543535){return function(_0x457cef){if(_0x457cef){return _0x457cef[_0xe3fc('0x1d')]()['then'](function(){_0x55bc5a['status'](0xcc)[_0xe3fc('0x1e')]();});}};}function handleEntityNotFound(_0x4f4134,_0x55ea5e){return function(_0x383f19){if(!_0x383f19){_0x4f4134[_0xe3fc('0x14')](0x194);}return _0x383f19;};}function handleError(_0x3a8071,_0x177a14){_0x177a14=_0x177a14||0x1f4;return function(_0x47b2d6){logger[_0xe3fc('0x1f')](_0x47b2d6['stack']);if(_0x47b2d6['name']){delete _0x47b2d6['name'];}_0x3a8071['status'](_0x177a14)['send'](_0x47b2d6);};}exports[_0xe3fc('0x20')]=function(_0x35a7b5,_0x5d1cc3){var _0x60e9b8={},_0x188ca2={},_0x5be1d6={'count':0x0,'rows':[]};var _0x46f549=_[_0xe3fc('0x21')](db[_0xe3fc('0x22')][_0xe3fc('0x23')],function(_0x3d173e){return{'name':_0x3d173e[_0xe3fc('0x24')],'type':_0x3d173e[_0xe3fc('0x25')][_0xe3fc('0x26')]};});_0x188ca2[_0xe3fc('0x27')]=_[_0xe3fc('0x21')](_0x46f549,_0xe3fc('0x28'));_0x188ca2[_0xe3fc('0x29')]=_[_0xe3fc('0x2a')](_0x35a7b5[_0xe3fc('0x29')]);_0x188ca2[_0xe3fc('0x2b')]=_[_0xe3fc('0x2c')](_0x188ca2['model'],_0x188ca2[_0xe3fc('0x29')]);_0x60e9b8[_0xe3fc('0x2d')]=_[_0xe3fc('0x2c')](_0x188ca2['model'],qs[_0xe3fc('0x2e')](_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x2e')]));_0x60e9b8['attributes']=_0x60e9b8[_0xe3fc('0x2d')][_0xe3fc('0x2f')]?_0x60e9b8[_0xe3fc('0x2d')]:_0x188ca2[_0xe3fc('0x27')];if(!_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x30')]('nolimit')){_0x60e9b8[_0xe3fc('0x31')]=qs[_0xe3fc('0x31')](_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x31')]);_0x60e9b8[_0xe3fc('0x18')]=qs[_0xe3fc('0x18')](_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x18')]);}_0x60e9b8[_0xe3fc('0x32')]=qs[_0xe3fc('0x33')](_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x33')]);_0x60e9b8[_0xe3fc('0x34')]=qs['filters'](_['pick'](_0x35a7b5['query'],_0x188ca2[_0xe3fc('0x2b')]));if(_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x35')]){_0x60e9b8[_0xe3fc('0x34')]=_[_0xe3fc('0x36')](_0x60e9b8[_0xe3fc('0x34')],{'$or':_[_0xe3fc('0x21')](_0x46f549,function(_0x2db77e){if(_0x2db77e['type']!==_0xe3fc('0x37')){var _0x1b0d87={};_0x1b0d87[_0x2db77e['name']]={'$like':'%'+_0x35a7b5[_0xe3fc('0x29')][_0xe3fc('0x35')]+'%'};return _0x1b0d87;}})});}_0x60e9b8=_[_0xe3fc('0x36')]({},_0x60e9b8,_0x35a7b5[_0xe3fc('0x38')]);var _0x36ffee={'where':_0x60e9b8['where']};return db[_0xe3fc('0x22')]['count'](_0x36ffee)['then'](function(_0xd62417){_0x5be1d6[_0xe3fc('0x17')]=_0xd62417;if(_0x35a7b5['query'][_0xe3fc('0x39')]){_0x60e9b8[_0xe3fc('0x3a')]=[{'all':!![]}];}return db[_0xe3fc('0x22')][_0xe3fc('0x3b')](_0x60e9b8);})[_0xe3fc('0x1c')](function(_0x157bcc){_0x5be1d6['rows']=_0x157bcc;return _0x5be1d6;})[_0xe3fc('0x1c')](respondWithFilteredResult(_0x5d1cc3,_0x60e9b8))[_0xe3fc('0x3c')](handleError(_0x5d1cc3,null));};exports[_0xe3fc('0x3d')]=function(_0x1ebd60,_0x65e252){var _0x4ed642={'raw':![],'where':{'id':_0x1ebd60[_0xe3fc('0x3e')]['id']}},_0x10bc8d={};_0x10bc8d[_0xe3fc('0x27')]=_['keys'](db[_0xe3fc('0x22')]['rawAttributes']);_0x10bc8d[_0xe3fc('0x29')]=_[_0xe3fc('0x2a')](_0x1ebd60[_0xe3fc('0x29')]);_0x10bc8d[_0xe3fc('0x2b')]=_[_0xe3fc('0x2c')](_0x10bc8d['model'],_0x10bc8d[_0xe3fc('0x29')]);_0x4ed642[_0xe3fc('0x2d')]=_[_0xe3fc('0x2c')](_0x10bc8d[_0xe3fc('0x27')],qs[_0xe3fc('0x2e')](_0x1ebd60['query'][_0xe3fc('0x2e')]));_0x4ed642['attributes']=_0x4ed642['attributes']['length']?_0x4ed642[_0xe3fc('0x2d')]:_0x10bc8d[_0xe3fc('0x27')];if(_0x1ebd60[_0xe3fc('0x29')][_0xe3fc('0x39')]){_0x4ed642[_0xe3fc('0x3a')]=[{'all':!![]}];}_0x4ed642=_[_0xe3fc('0x36')]({},_0x4ed642,_0x1ebd60['options']);return db[_0xe3fc('0x22')]['find'](_0x4ed642)[_0xe3fc('0x1c')](handleEntityNotFound(_0x65e252,null))[_0xe3fc('0x1c')](respondWithResult(_0x65e252,null))[_0xe3fc('0x3c')](handleError(_0x65e252,null));};exports[_0xe3fc('0x3f')]=function(_0x5dcdf7,_0x161354){return db[_0xe3fc('0x22')][_0xe3fc('0x3f')](_0x5dcdf7[_0xe3fc('0x40')],{})[_0xe3fc('0x1c')](respondWithResult(_0x161354,0xc9))[_0xe3fc('0x3c')](handleError(_0x161354,null));};exports['update']=function(_0x484726,_0x39ef31){if(_0x484726[_0xe3fc('0x40')]['id']){delete _0x484726[_0xe3fc('0x40')]['id'];}return db[_0xe3fc('0x22')][_0xe3fc('0x41')]({'where':{'id':_0x484726[_0xe3fc('0x3e')]['id']}})['then'](handleEntityNotFound(_0x39ef31,null))[_0xe3fc('0x1c')](saveUpdates(_0x484726['body'],null))[_0xe3fc('0x1c')](respondWithResult(_0x39ef31,null))['catch'](handleError(_0x39ef31,null));};exports['destroy']=function(_0x49306f,_0x3b5d97){return db[_0xe3fc('0x22')]['find']({'where':{'id':_0x49306f[_0xe3fc('0x3e')]['id']}})['then'](handleEntityNotFound(_0x3b5d97,null))[_0xe3fc('0x1c')](removeEntity(_0x3b5d97,null))[_0xe3fc('0x3c')](handleError(_0x3b5d97,null));};exports[_0xe3fc('0x42')]=function(_0x23f9b7,_0x11bc2f){return db[_0xe3fc('0x22')]['describe']()['then'](respondWithResult(_0x11bc2f,null))[_0xe3fc('0x3c')](handleError(_0x11bc2f,null));};
\ No newline at end of file