Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / openchannelQueueReport / openchannelQueueReport.controller.js
index ddca08d..d2c98e6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa63c=['papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','sendStatus','end','status','json','undefined','offset','set','Content-Range','apply','reject','save','update','then','error','name','send','index','map','OpenchannelQueueReport','rawAttributes','fieldName','type','model','keys','filters','intersection','query','attributes','fields','length','hasOwnProperty','nolimit','limit','sort','where','filter','merge','VIRTUAL','options','count','includeAll','findAll','rows','catch','show','params','include','find','create','body','destroy','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js'];(function(_0x3ad2e5,_0x94d414){var _0xc4e565=function(_0x2c96e3){while(--_0x2c96e3){_0x3ad2e5['push'](_0x3ad2e5['shift']());}};_0xc4e565(++_0x94d414);}(_0xa63c,0xd8));var _0xca63=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xa63c[_0x3b380d];return _0x54502b;};'use strict';var emlformat=require(_0xca63('0x0'));var rimraf=require(_0xca63('0x1'));var zipdir=require(_0xca63('0x2'));var jsonpatch=require(_0xca63('0x3'));var rp=require(_0xca63('0x4'));var moment=require(_0xca63('0x5'));var BPromise=require(_0xca63('0x6'));var Mustache=require(_0xca63('0x7'));var util=require('util');var path=require(_0xca63('0x8'));var sox=require(_0xca63('0x9'));var csv=require(_0xca63('0xa'));var ejs=require(_0xca63('0xb'));var fs=require('fs');var fs_extra=require(_0xca63('0xc'));var _=require(_0xca63('0xd'));var squel=require(_0xca63('0xe'));var crypto=require(_0xca63('0xf'));var jsforce=require(_0xca63('0x10'));var deskjs=require(_0xca63('0x11'));var toCsv=require(_0xca63('0xa'));var querystring=require('querystring');var Papa=require(_0xca63('0x12'));var Redis=require(_0xca63('0x13'));var authService=require(_0xca63('0x14'));var qs=require(_0xca63('0x15'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xca63('0x16'));var logger=require(_0xca63('0x17'))('api');var utils=require(_0xca63('0x18'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xca63('0x19'))['db'];function respondWithStatusCode(_0x29472d,_0x54bc92){_0x54bc92=_0x54bc92||0xcc;return function(_0x3ccba0){if(_0x3ccba0){return _0x29472d[_0xca63('0x1a')](_0x54bc92);}return _0x29472d['status'](_0x54bc92)[_0xca63('0x1b')]();};}function respondWithResult(_0x5a938c,_0x34917d){_0x34917d=_0x34917d||0xc8;return function(_0x70c775){if(_0x70c775){return _0x5a938c[_0xca63('0x1c')](_0x34917d)[_0xca63('0x1d')](_0x70c775);}};}function respondWithFilteredResult(_0x16d9b6,_0x4bd6e8){return function(_0x2d30b7){if(_0x2d30b7){var _0x316bee=typeof _0x4bd6e8['offset']===_0xca63('0x1e')&&typeof _0x4bd6e8['limit']===_0xca63('0x1e');var _0x532208=_0x2d30b7['count'];var _0x2d3889=_0x316bee?0x0:_0x4bd6e8[_0xca63('0x1f')];var _0x2670cd=_0x316bee?_0x2d30b7['count']:_0x4bd6e8[_0xca63('0x1f')]+_0x4bd6e8['limit'];var _0x551c1b;if(_0x2670cd>=_0x532208){_0x2670cd=_0x532208;_0x551c1b=0xc8;}else{_0x551c1b=0xce;}_0x16d9b6[_0xca63('0x1c')](_0x551c1b);return _0x16d9b6[_0xca63('0x20')](_0xca63('0x21'),_0x2d3889+'-'+_0x2670cd+'/'+_0x532208)[_0xca63('0x1d')](_0x2d30b7);}return null;};}function patchUpdates(_0x3ea1d1){return function(_0x374bb3){try{jsonpatch[_0xca63('0x22')](_0x374bb3,_0x3ea1d1,!![]);}catch(_0x4efed9){return BPromise[_0xca63('0x23')](_0x4efed9);}return _0x374bb3[_0xca63('0x24')]();};}function saveUpdates(_0x1e963f,_0xd697d5){return function(_0x288ffa){if(_0x288ffa){return _0x288ffa[_0xca63('0x25')](_0x1e963f)[_0xca63('0x26')](function(_0x3e2e56){return _0x3e2e56;});}return null;};}function removeEntity(_0x5d9482,_0x57ab1f){return function(_0x5d4ae9){if(_0x5d4ae9){return _0x5d4ae9['destroy']()['then'](function(){_0x5d9482[_0xca63('0x1c')](0xcc)[_0xca63('0x1b')]();});}};}function handleEntityNotFound(_0x4e4e52,_0x525f91){return function(_0xa92ed5){if(!_0xa92ed5){_0x4e4e52[_0xca63('0x1a')](0x194);}return _0xa92ed5;};}function handleError(_0x2bd203,_0x50c1bc){_0x50c1bc=_0x50c1bc||0x1f4;return function(_0x442975){logger[_0xca63('0x27')](_0x442975['stack']);if(_0x442975[_0xca63('0x28')]){delete _0x442975[_0xca63('0x28')];}_0x2bd203['status'](_0x50c1bc)[_0xca63('0x29')](_0x442975);};}exports[_0xca63('0x2a')]=function(_0x52333f,_0x32445a){var _0xa15b2b={},_0x3579eb={},_0x457722={'count':0x0,'rows':[]};var _0x2f45f5=_[_0xca63('0x2b')](db[_0xca63('0x2c')][_0xca63('0x2d')],function(_0x187737){return{'name':_0x187737[_0xca63('0x2e')],'type':_0x187737[_0xca63('0x2f')]['key']};});_0x3579eb[_0xca63('0x30')]=_[_0xca63('0x2b')](_0x2f45f5,_0xca63('0x28'));_0x3579eb['query']=_[_0xca63('0x31')](_0x52333f['query']);_0x3579eb[_0xca63('0x32')]=_[_0xca63('0x33')](_0x3579eb[_0xca63('0x30')],_0x3579eb[_0xca63('0x34')]);_0xa15b2b[_0xca63('0x35')]=_[_0xca63('0x33')](_0x3579eb[_0xca63('0x30')],qs['fields'](_0x52333f[_0xca63('0x34')][_0xca63('0x36')]));_0xa15b2b[_0xca63('0x35')]=_0xa15b2b[_0xca63('0x35')][_0xca63('0x37')]?_0xa15b2b[_0xca63('0x35')]:_0x3579eb[_0xca63('0x30')];if(!_0x52333f[_0xca63('0x34')][_0xca63('0x38')](_0xca63('0x39'))){_0xa15b2b[_0xca63('0x3a')]=qs[_0xca63('0x3a')](_0x52333f['query'][_0xca63('0x3a')]);_0xa15b2b['offset']=qs[_0xca63('0x1f')](_0x52333f['query'][_0xca63('0x1f')]);}_0xa15b2b['order']=qs[_0xca63('0x3b')](_0x52333f[_0xca63('0x34')][_0xca63('0x3b')]);_0xa15b2b[_0xca63('0x3c')]=qs['filters'](_['pick'](_0x52333f[_0xca63('0x34')],_0x3579eb[_0xca63('0x32')]),_0x2f45f5);if(_0x52333f['query'][_0xca63('0x3d')]){_0xa15b2b[_0xca63('0x3c')]=_[_0xca63('0x3e')](_0xa15b2b[_0xca63('0x3c')],{'$or':_[_0xca63('0x2b')](_0x2f45f5,function(_0x55b2e){if(_0x55b2e[_0xca63('0x2f')]!==_0xca63('0x3f')){var _0x4235d4={};_0x4235d4[_0x55b2e['name']]={'$like':'%'+_0x52333f['query'][_0xca63('0x3d')]+'%'};return _0x4235d4;}})});}_0xa15b2b=_['merge']({},_0xa15b2b,_0x52333f[_0xca63('0x40')]);var _0x20bd45={'where':_0xa15b2b[_0xca63('0x3c')]};return db[_0xca63('0x2c')][_0xca63('0x41')](_0x20bd45)[_0xca63('0x26')](function(_0x3dfb25){_0x457722[_0xca63('0x41')]=_0x3dfb25;if(_0x52333f['query'][_0xca63('0x42')]){_0xa15b2b['include']=[{'all':!![]}];}return db['OpenchannelQueueReport'][_0xca63('0x43')](_0xa15b2b);})[_0xca63('0x26')](function(_0x4ba455){_0x457722[_0xca63('0x44')]=_0x4ba455;return _0x457722;})[_0xca63('0x26')](respondWithFilteredResult(_0x32445a,_0xa15b2b))[_0xca63('0x45')](handleError(_0x32445a,null));};exports[_0xca63('0x46')]=function(_0x8494d0,_0x3945e5){var _0x3d83a2={'raw':!![],'where':{'id':_0x8494d0[_0xca63('0x47')]['id']}},_0x3b0346={};_0x3b0346[_0xca63('0x30')]=_[_0xca63('0x31')](db['OpenchannelQueueReport']['rawAttributes']);_0x3b0346[_0xca63('0x34')]=_[_0xca63('0x31')](_0x8494d0['query']);_0x3b0346[_0xca63('0x32')]=_[_0xca63('0x33')](_0x3b0346[_0xca63('0x30')],_0x3b0346[_0xca63('0x34')]);_0x3d83a2['attributes']=_[_0xca63('0x33')](_0x3b0346[_0xca63('0x30')],qs[_0xca63('0x36')](_0x8494d0['query'][_0xca63('0x36')]));_0x3d83a2['attributes']=_0x3d83a2[_0xca63('0x35')][_0xca63('0x37')]?_0x3d83a2[_0xca63('0x35')]:_0x3b0346[_0xca63('0x30')];if(_0x8494d0[_0xca63('0x34')][_0xca63('0x42')]){_0x3d83a2[_0xca63('0x48')]=[{'all':!![]}];}_0x3d83a2=_[_0xca63('0x3e')]({},_0x3d83a2,_0x8494d0['options']);return db[_0xca63('0x2c')][_0xca63('0x49')](_0x3d83a2)[_0xca63('0x26')](handleEntityNotFound(_0x3945e5,null))[_0xca63('0x26')](respondWithResult(_0x3945e5,null))['catch'](handleError(_0x3945e5,null));};exports[_0xca63('0x4a')]=function(_0x58f0f0,_0x375809){return db[_0xca63('0x2c')]['create'](_0x58f0f0[_0xca63('0x4b')],{})[_0xca63('0x26')](respondWithResult(_0x375809,0xc9))[_0xca63('0x45')](handleError(_0x375809,null));};exports['update']=function(_0x186ebc,_0x4fdcfc){if(_0x186ebc[_0xca63('0x4b')]['id']){delete _0x186ebc[_0xca63('0x4b')]['id'];}return db[_0xca63('0x2c')][_0xca63('0x49')]({'where':{'id':_0x186ebc['params']['id']}})[_0xca63('0x26')](handleEntityNotFound(_0x4fdcfc,null))[_0xca63('0x26')](saveUpdates(_0x186ebc[_0xca63('0x4b')],null))[_0xca63('0x26')](respondWithResult(_0x4fdcfc,null))[_0xca63('0x45')](handleError(_0x4fdcfc,null));};exports[_0xca63('0x4c')]=function(_0x42325f,_0x2327e3){return db['OpenchannelQueueReport'][_0xca63('0x49')]({'where':{'id':_0x42325f[_0xca63('0x47')]['id']}})[_0xca63('0x26')](handleEntityNotFound(_0x2327e3,null))[_0xca63('0x26')](removeEntity(_0x2327e3,null))[_0xca63('0x45')](handleError(_0x2327e3,null));};exports[_0xca63('0x4d')]=function(_0x3275b0,_0x4d5ad9){return db[_0xca63('0x2c')][_0xca63('0x4d')]()['then'](respondWithResult(_0x4d5ad9,null))[_0xca63('0x45')](handleError(_0x4d5ad9,null));};
\ No newline at end of file
+var _0x3400=['stack','send','index','map','rawAttributes','fieldName','type','key','model','name','query','keys','intersection','attributes','fields','hasOwnProperty','sort','where','filters','pick','filter','merge','options','OpenchannelQueueReport','includeAll','include','findAll','rows','catch','show','length','find','create','body','params','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','ejs','fs-extra','jsforce','desk.js','to-csv','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/license/util','../../mysqldb','end','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save','update','then','destroy','status','sendStatus','error'];(function(_0x47a909,_0x2506d1){var _0x193070=function(_0x38ecae){while(--_0x38ecae){_0x47a909['push'](_0x47a909['shift']());}};_0x193070(++_0x2506d1);}(_0x3400,0x104));var _0x0340=function(_0x3da832,_0x2133f1){_0x3da832=_0x3da832-0x0;var _0xe602f2=_0x3400[_0x3da832];return _0xe602f2;};'use strict';var emlformat=require(_0x0340('0x0'));var rimraf=require(_0x0340('0x1'));var zipdir=require(_0x0340('0x2'));var jsonpatch=require(_0x0340('0x3'));var rp=require(_0x0340('0x4'));var moment=require(_0x0340('0x5'));var BPromise=require(_0x0340('0x6'));var Mustache=require(_0x0340('0x7'));var util=require(_0x0340('0x8'));var path=require(_0x0340('0x9'));var sox=require(_0x0340('0xa'));var csv=require('to-csv');var ejs=require(_0x0340('0xb'));var fs=require('fs');var fs_extra=require(_0x0340('0xc'));var _=require('lodash');var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x0340('0xd'));var deskjs=require(_0x0340('0xe'));var toCsv=require(_0x0340('0xf'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x0340('0x10'));var authService=require(_0x0340('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0x0340('0x12'));var hardwareService=require(_0x0340('0x13'));var logger=require('../../config/logger')(_0x0340('0x14'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x0340('0x15'));var db=require(_0x0340('0x16'))['db'];function respondWithStatusCode(_0x5da049,_0x6e8c19){_0x6e8c19=_0x6e8c19||0xcc;return function(_0x4fcb11){if(_0x4fcb11){return _0x5da049['sendStatus'](_0x6e8c19);}return _0x5da049['status'](_0x6e8c19)[_0x0340('0x17')]();};}function respondWithResult(_0x285d22,_0x4b9969){_0x4b9969=_0x4b9969||0xc8;return function(_0x2a212e){if(_0x2a212e){return _0x285d22['status'](_0x4b9969)[_0x0340('0x18')](_0x2a212e);}};}function respondWithFilteredResult(_0x4e48d7,_0x28fa33){return function(_0x3c3186){if(_0x3c3186){var _0x390288=typeof _0x28fa33[_0x0340('0x19')]===_0x0340('0x1a')&&typeof _0x28fa33[_0x0340('0x1b')]==='undefined';var _0x46c9f6=_0x3c3186[_0x0340('0x1c')];var _0x46d0cb=_0x390288?0x0:_0x28fa33[_0x0340('0x19')];var _0xe157d3=_0x390288?_0x3c3186[_0x0340('0x1c')]:_0x28fa33[_0x0340('0x19')]+_0x28fa33[_0x0340('0x1b')];var _0xc01f56;if(_0xe157d3>=_0x46c9f6){_0xe157d3=_0x46c9f6;_0xc01f56=0xc8;}else{_0xc01f56=0xce;}_0x4e48d7['status'](_0xc01f56);return _0x4e48d7[_0x0340('0x1d')](_0x0340('0x1e'),_0x46d0cb+'-'+_0xe157d3+'/'+_0x46c9f6)['json'](_0x3c3186);}return null;};}function patchUpdates(_0x1b5048){return function(_0x30e09c){try{jsonpatch[_0x0340('0x1f')](_0x30e09c,_0x1b5048,!![]);}catch(_0x4b8cdb){return BPromise[_0x0340('0x20')](_0x4b8cdb);}return _0x30e09c[_0x0340('0x21')]();};}function saveUpdates(_0x4b1cbb,_0x2ff5ec){return function(_0x21830f){if(_0x21830f){return _0x21830f[_0x0340('0x22')](_0x4b1cbb)[_0x0340('0x23')](function(_0x1edcdb){return _0x1edcdb;});}return null;};}function removeEntity(_0x122e5f,_0x562760){return function(_0x6aea1d){if(_0x6aea1d){return _0x6aea1d[_0x0340('0x24')]()[_0x0340('0x23')](function(){_0x122e5f[_0x0340('0x25')](0xcc)[_0x0340('0x17')]();});}};}function handleEntityNotFound(_0x6cd62b,_0x2a3e8e){return function(_0x2688e2){if(!_0x2688e2){_0x6cd62b[_0x0340('0x26')](0x194);}return _0x2688e2;};}function handleError(_0x4530f4,_0x2a1ba4){_0x2a1ba4=_0x2a1ba4||0x1f4;return function(_0x1c16ae){logger[_0x0340('0x27')](_0x1c16ae[_0x0340('0x28')]);if(_0x1c16ae['name']){delete _0x1c16ae['name'];}_0x4530f4['status'](_0x2a1ba4)[_0x0340('0x29')](_0x1c16ae);};}exports[_0x0340('0x2a')]=function(_0x241a29,_0x4fb54b){var _0x188ad2={},_0x4c1f37={},_0x38d9be={'count':0x0,'rows':[]};var _0x26475f=_[_0x0340('0x2b')](db['OpenchannelQueueReport'][_0x0340('0x2c')],function(_0x257423){return{'name':_0x257423[_0x0340('0x2d')],'type':_0x257423[_0x0340('0x2e')][_0x0340('0x2f')]};});_0x4c1f37[_0x0340('0x30')]=_[_0x0340('0x2b')](_0x26475f,_0x0340('0x31'));_0x4c1f37[_0x0340('0x32')]=_[_0x0340('0x33')](_0x241a29['query']);_0x4c1f37['filters']=_[_0x0340('0x34')](_0x4c1f37[_0x0340('0x30')],_0x4c1f37['query']);_0x188ad2[_0x0340('0x35')]=_['intersection'](_0x4c1f37[_0x0340('0x30')],qs[_0x0340('0x36')](_0x241a29[_0x0340('0x32')]['fields']));_0x188ad2['attributes']=_0x188ad2['attributes']['length']?_0x188ad2['attributes']:_0x4c1f37[_0x0340('0x30')];if(!_0x241a29[_0x0340('0x32')][_0x0340('0x37')]('nolimit')){_0x188ad2[_0x0340('0x1b')]=qs[_0x0340('0x1b')](_0x241a29[_0x0340('0x32')][_0x0340('0x1b')]);_0x188ad2[_0x0340('0x19')]=qs[_0x0340('0x19')](_0x241a29[_0x0340('0x32')][_0x0340('0x19')]);}_0x188ad2['order']=qs[_0x0340('0x38')](_0x241a29['query']['sort']);_0x188ad2[_0x0340('0x39')]=qs[_0x0340('0x3a')](_[_0x0340('0x3b')](_0x241a29[_0x0340('0x32')],_0x4c1f37[_0x0340('0x3a')]),_0x26475f);if(_0x241a29[_0x0340('0x32')][_0x0340('0x3c')]){_0x188ad2[_0x0340('0x39')]=_[_0x0340('0x3d')](_0x188ad2[_0x0340('0x39')],{'$or':_['map'](_0x26475f,function(_0x2afbf7){if(_0x2afbf7[_0x0340('0x2e')]!=='VIRTUAL'){var _0x1c3d35={};_0x1c3d35[_0x2afbf7[_0x0340('0x31')]]={'$like':'%'+_0x241a29['query'][_0x0340('0x3c')]+'%'};return _0x1c3d35;}})});}_0x188ad2=_[_0x0340('0x3d')]({},_0x188ad2,_0x241a29[_0x0340('0x3e')]);var _0x10e49b={'where':_0x188ad2[_0x0340('0x39')]};return db[_0x0340('0x3f')][_0x0340('0x1c')](_0x10e49b)[_0x0340('0x23')](function(_0x162333){_0x38d9be[_0x0340('0x1c')]=_0x162333;if(_0x241a29[_0x0340('0x32')][_0x0340('0x40')]){_0x188ad2[_0x0340('0x41')]=[{'all':!![]}];}return db[_0x0340('0x3f')][_0x0340('0x42')](_0x188ad2);})[_0x0340('0x23')](function(_0x4dcff8){_0x38d9be[_0x0340('0x43')]=_0x4dcff8;return _0x38d9be;})[_0x0340('0x23')](respondWithFilteredResult(_0x4fb54b,_0x188ad2))[_0x0340('0x44')](handleError(_0x4fb54b,null));};exports[_0x0340('0x45')]=function(_0x411fd7,_0x3d6e01){var _0x5c4da5={'raw':!![],'where':{'id':_0x411fd7['params']['id']}},_0x56c3cc={};_0x56c3cc['model']=_[_0x0340('0x33')](db['OpenchannelQueueReport'][_0x0340('0x2c')]);_0x56c3cc[_0x0340('0x32')]=_['keys'](_0x411fd7[_0x0340('0x32')]);_0x56c3cc[_0x0340('0x3a')]=_['intersection'](_0x56c3cc[_0x0340('0x30')],_0x56c3cc[_0x0340('0x32')]);_0x5c4da5[_0x0340('0x35')]=_[_0x0340('0x34')](_0x56c3cc[_0x0340('0x30')],qs['fields'](_0x411fd7[_0x0340('0x32')][_0x0340('0x36')]));_0x5c4da5[_0x0340('0x35')]=_0x5c4da5[_0x0340('0x35')][_0x0340('0x46')]?_0x5c4da5[_0x0340('0x35')]:_0x56c3cc[_0x0340('0x30')];if(_0x411fd7[_0x0340('0x32')][_0x0340('0x40')]){_0x5c4da5[_0x0340('0x41')]=[{'all':!![]}];}_0x5c4da5=_['merge']({},_0x5c4da5,_0x411fd7[_0x0340('0x3e')]);return db['OpenchannelQueueReport'][_0x0340('0x47')](_0x5c4da5)[_0x0340('0x23')](handleEntityNotFound(_0x3d6e01,null))[_0x0340('0x23')](respondWithResult(_0x3d6e01,null))['catch'](handleError(_0x3d6e01,null));};exports[_0x0340('0x48')]=function(_0x5e287a,_0x3f56a9){return db['OpenchannelQueueReport'][_0x0340('0x48')](_0x5e287a['body'],{})[_0x0340('0x23')](respondWithResult(_0x3f56a9,0xc9))[_0x0340('0x44')](handleError(_0x3f56a9,null));};exports['update']=function(_0x56c232,_0x178148){if(_0x56c232[_0x0340('0x49')]['id']){delete _0x56c232[_0x0340('0x49')]['id'];}return db[_0x0340('0x3f')][_0x0340('0x47')]({'where':{'id':_0x56c232[_0x0340('0x4a')]['id']}})[_0x0340('0x23')](handleEntityNotFound(_0x178148,null))[_0x0340('0x23')](saveUpdates(_0x56c232[_0x0340('0x49')],null))[_0x0340('0x23')](respondWithResult(_0x178148,null))[_0x0340('0x44')](handleError(_0x178148,null));};exports[_0x0340('0x24')]=function(_0x599217,_0x25d31d){return db[_0x0340('0x3f')][_0x0340('0x47')]({'where':{'id':_0x599217[_0x0340('0x4a')]['id']}})[_0x0340('0x23')](handleEntityNotFound(_0x25d31d,null))[_0x0340('0x23')](removeEntity(_0x25d31d,null))['catch'](handleError(_0x25d31d,null));};exports['describe']=function(_0x462821,_0x20f341){return db[_0x0340('0x3f')]['describe']()['then'](respondWithResult(_0x20f341,null))[_0x0340('0x44')](handleError(_0x20f341,null));};
\ No newline at end of file