Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / squareReportDetail / squareReportDetail.controller.js
index 0a451f2..a087a55 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbe7e=['keys','query','filters','attributes','intersection','fields','length','limit','order','sort','where','pick','filter','merge','VIRTUAL','include','findAll','rows','show','params','includeAll','options','catch','create','body','find','destroy','describe','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','json','offset','count','status','set','Content-Range','apply','reject','save','update','then','end','sendStatus','stack','send','index','map','SquareDetailsReport','rawAttributes','fieldName','type','key','model','name'];(function(_0x10dfc9,_0x25b62c){var _0x154afc=function(_0x5099ac){while(--_0x5099ac){_0x10dfc9['push'](_0x10dfc9['shift']());}};_0x154afc(++_0x25b62c);}(_0xbe7e,0xb8));var _0xebe7=function(_0x3eaa71,_0x112013){_0x3eaa71=_0x3eaa71-0x0;var _0x3481df=_0xbe7e[_0x3eaa71];return _0x3481df;};'use strict';var emlformat=require(_0xebe7('0x0'));var rimraf=require(_0xebe7('0x1'));var zipdir=require(_0xebe7('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xebe7('0x3'));var moment=require(_0xebe7('0x4'));var BPromise=require(_0xebe7('0x5'));var Mustache=require('mustache');var util=require(_0xebe7('0x6'));var path=require(_0xebe7('0x7'));var sox=require(_0xebe7('0x8'));var csv=require(_0xebe7('0x9'));var ejs=require(_0xebe7('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xebe7('0xb'));var squel=require(_0xebe7('0xc'));var crypto=require(_0xebe7('0xd'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xebe7('0x9'));var querystring=require(_0xebe7('0xe'));var Papa=require(_0xebe7('0xf'));var Redis=require(_0xebe7('0x10'));var authService=require(_0xebe7('0x11'));var qs=require(_0xebe7('0x12'));var as=require(_0xebe7('0x13'));var hardwareService=require(_0xebe7('0x14'));var logger=require('../../config/logger')(_0xebe7('0x15'));var utils=require(_0xebe7('0x16'));var config=require(_0xebe7('0x17'));var licenseUtil=require(_0xebe7('0x18'));var db=require(_0xebe7('0x19'))['db'];function respondWithStatusCode(_0x57733b,_0x1a020e){_0x1a020e=_0x1a020e||0xcc;return function(_0x3dd964){if(_0x3dd964){return _0x57733b['sendStatus'](_0x1a020e);}return _0x57733b['status'](_0x1a020e)['end']();};}function respondWithResult(_0x42f3a,_0x2b1dfb){_0x2b1dfb=_0x2b1dfb||0xc8;return function(_0x26348a){if(_0x26348a){return _0x42f3a['status'](_0x2b1dfb)[_0xebe7('0x1a')](_0x26348a);}};}function respondWithFilteredResult(_0x5c0f68,_0x12af1e){return function(_0x3a90ff){if(_0x3a90ff){var _0xf232e4=typeof _0x12af1e[_0xebe7('0x1b')]==='undefined'&&typeof _0x12af1e['limit']==='undefined';var _0x17e114=_0x3a90ff['count'];var _0x42cc69=_0xf232e4?0x0:_0x12af1e[_0xebe7('0x1b')];var _0x537885=_0xf232e4?_0x3a90ff[_0xebe7('0x1c')]:_0x12af1e['offset']+_0x12af1e['limit'];var _0x732b2d;if(_0x537885>=_0x17e114){_0x537885=_0x17e114;_0x732b2d=0xc8;}else{_0x732b2d=0xce;}_0x5c0f68[_0xebe7('0x1d')](_0x732b2d);return _0x5c0f68[_0xebe7('0x1e')](_0xebe7('0x1f'),_0x42cc69+'-'+_0x537885+'/'+_0x17e114)['json'](_0x3a90ff);}return null;};}function patchUpdates(_0x5ebac1){return function(_0x5beb89){try{jsonpatch[_0xebe7('0x20')](_0x5beb89,_0x5ebac1,!![]);}catch(_0x501909){return BPromise[_0xebe7('0x21')](_0x501909);}return _0x5beb89[_0xebe7('0x22')]();};}function saveUpdates(_0x5038ab,_0x16efdd){return function(_0x1e7b84){if(_0x1e7b84){return _0x1e7b84[_0xebe7('0x23')](_0x5038ab)[_0xebe7('0x24')](function(_0x297bd3){return _0x297bd3;});}return null;};}function removeEntity(_0x4e8e0d,_0x5ea0f6){return function(_0x68d260){if(_0x68d260){return _0x68d260['destroy']()[_0xebe7('0x24')](function(){_0x4e8e0d[_0xebe7('0x1d')](0xcc)[_0xebe7('0x25')]();});}};}function handleEntityNotFound(_0x40bd8b,_0x16c21a){return function(_0x51f9d2){if(!_0x51f9d2){_0x40bd8b[_0xebe7('0x26')](0x194);}return _0x51f9d2;};}function handleError(_0x2d5232,_0x2c3113){_0x2c3113=_0x2c3113||0x1f4;return function(_0x4ff1df){logger['error'](_0x4ff1df[_0xebe7('0x27')]);if(_0x4ff1df['name']){delete _0x4ff1df['name'];}_0x2d5232['status'](_0x2c3113)[_0xebe7('0x28')](_0x4ff1df);};}exports[_0xebe7('0x29')]=function(_0x19bf9f,_0x3c5aaf){var _0x2579f8={},_0x3d852e={},_0x5a4d83={'count':0x0,'rows':[]};var _0x42c0bb=_[_0xebe7('0x2a')](db[_0xebe7('0x2b')][_0xebe7('0x2c')],function(_0x40fa25){return{'name':_0x40fa25[_0xebe7('0x2d')],'type':_0x40fa25[_0xebe7('0x2e')][_0xebe7('0x2f')]};});_0x3d852e[_0xebe7('0x30')]=_[_0xebe7('0x2a')](_0x42c0bb,_0xebe7('0x31'));_0x3d852e['query']=_[_0xebe7('0x32')](_0x19bf9f[_0xebe7('0x33')]);_0x3d852e[_0xebe7('0x34')]=_['intersection'](_0x3d852e['model'],_0x3d852e[_0xebe7('0x33')]);_0x2579f8[_0xebe7('0x35')]=_[_0xebe7('0x36')](_0x3d852e[_0xebe7('0x30')],qs[_0xebe7('0x37')](_0x19bf9f[_0xebe7('0x33')][_0xebe7('0x37')]));_0x2579f8['attributes']=_0x2579f8[_0xebe7('0x35')][_0xebe7('0x38')]?_0x2579f8[_0xebe7('0x35')]:_0x3d852e[_0xebe7('0x30')];if(!_0x19bf9f[_0xebe7('0x33')]['hasOwnProperty']('nolimit')){_0x2579f8[_0xebe7('0x39')]=qs[_0xebe7('0x39')](_0x19bf9f[_0xebe7('0x33')][_0xebe7('0x39')]);_0x2579f8[_0xebe7('0x1b')]=qs[_0xebe7('0x1b')](_0x19bf9f[_0xebe7('0x33')][_0xebe7('0x1b')]);}_0x2579f8[_0xebe7('0x3a')]=qs['sort'](_0x19bf9f['query'][_0xebe7('0x3b')]);_0x2579f8[_0xebe7('0x3c')]=qs[_0xebe7('0x34')](_[_0xebe7('0x3d')](_0x19bf9f[_0xebe7('0x33')],_0x3d852e['filters']),_0x42c0bb);if(_0x19bf9f[_0xebe7('0x33')][_0xebe7('0x3e')]){_0x2579f8[_0xebe7('0x3c')]=_[_0xebe7('0x3f')](_0x2579f8[_0xebe7('0x3c')],{'$or':_[_0xebe7('0x2a')](_0x42c0bb,function(_0x3bef90){if(_0x3bef90[_0xebe7('0x2e')]!==_0xebe7('0x40')){var _0x3d04c5={};_0x3d04c5[_0x3bef90['name']]={'$like':'%'+_0x19bf9f[_0xebe7('0x33')]['filter']+'%'};return _0x3d04c5;}})});}_0x2579f8=_[_0xebe7('0x3f')]({},_0x2579f8,_0x19bf9f['options']);var _0x35c1af={'where':_0x2579f8['where']};return db['SquareDetailsReport'][_0xebe7('0x1c')](_0x35c1af)['then'](function(_0x562fe6){_0x5a4d83[_0xebe7('0x1c')]=_0x562fe6;if(_0x19bf9f['query']['includeAll']){_0x2579f8[_0xebe7('0x41')]=[{'all':!![]}];}return db['SquareDetailsReport'][_0xebe7('0x42')](_0x2579f8);})[_0xebe7('0x24')](function(_0x50b030){_0x5a4d83[_0xebe7('0x43')]=_0x50b030;return _0x5a4d83;})['then'](respondWithFilteredResult(_0x3c5aaf,_0x2579f8))['catch'](handleError(_0x3c5aaf,null));};exports[_0xebe7('0x44')]=function(_0x2066f7,_0x46ed12){var _0x47bd10={'raw':!![],'where':{'id':_0x2066f7[_0xebe7('0x45')]['id']}},_0x126832={};_0x126832[_0xebe7('0x30')]=_[_0xebe7('0x32')](db[_0xebe7('0x2b')]['rawAttributes']);_0x126832[_0xebe7('0x33')]=_[_0xebe7('0x32')](_0x2066f7[_0xebe7('0x33')]);_0x126832['filters']=_[_0xebe7('0x36')](_0x126832[_0xebe7('0x30')],_0x126832['query']);_0x47bd10[_0xebe7('0x35')]=_[_0xebe7('0x36')](_0x126832[_0xebe7('0x30')],qs[_0xebe7('0x37')](_0x2066f7[_0xebe7('0x33')][_0xebe7('0x37')]));_0x47bd10[_0xebe7('0x35')]=_0x47bd10[_0xebe7('0x35')]['length']?_0x47bd10[_0xebe7('0x35')]:_0x126832['model'];if(_0x2066f7[_0xebe7('0x33')][_0xebe7('0x46')]){_0x47bd10[_0xebe7('0x41')]=[{'all':!![]}];}_0x47bd10=_['merge']({},_0x47bd10,_0x2066f7[_0xebe7('0x47')]);return db['SquareDetailsReport']['find'](_0x47bd10)[_0xebe7('0x24')](handleEntityNotFound(_0x46ed12,null))[_0xebe7('0x24')](respondWithResult(_0x46ed12,null))[_0xebe7('0x48')](handleError(_0x46ed12,null));};exports['create']=function(_0x4c9858,_0x2ae1b5){return db[_0xebe7('0x2b')][_0xebe7('0x49')](_0x4c9858[_0xebe7('0x4a')],{})[_0xebe7('0x24')](respondWithResult(_0x2ae1b5,0xc9))[_0xebe7('0x48')](handleError(_0x2ae1b5,null));};exports['update']=function(_0x4c0152,_0x48d956){if(_0x4c0152[_0xebe7('0x4a')]['id']){delete _0x4c0152[_0xebe7('0x4a')]['id'];}return db[_0xebe7('0x2b')][_0xebe7('0x4b')]({'where':{'id':_0x4c0152[_0xebe7('0x45')]['id']}})[_0xebe7('0x24')](handleEntityNotFound(_0x48d956,null))['then'](saveUpdates(_0x4c0152['body'],null))['then'](respondWithResult(_0x48d956,null))[_0xebe7('0x48')](handleError(_0x48d956,null));};exports[_0xebe7('0x4c')]=function(_0x32ef7f,_0x582328){return db['SquareDetailsReport']['find']({'where':{'id':_0x32ef7f[_0xebe7('0x45')]['id']}})[_0xebe7('0x24')](handleEntityNotFound(_0x582328,null))['then'](removeEntity(_0x582328,null))['catch'](handleError(_0x582328,null));};exports[_0xebe7('0x4d')]=function(_0x3648e0,_0x47da0a){return db[_0xebe7('0x2b')][_0xebe7('0x4d')]()[_0xebe7('0x24')](respondWithResult(_0x47da0a,null))['catch'](handleError(_0x47da0a,null));};
\ No newline at end of file
+var _0x658a=['update','body','params','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','limit','undefined','count','apply','reject','then','destroy','error','name','send','index','SquareDetailsReport','fieldName','type','key','model','map','query','filters','intersection','attributes','fields','length','order','sort','where','pick','filter','merge','includeAll','include','findAll','rows','show','keys','rawAttributes','find','catch','create'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x658a,0x16c));var _0xa658=function(_0x3cae79,_0x56281c){_0x3cae79=_0x3cae79-0x0;var _0x3465be=_0x658a[_0x3cae79];return _0x3465be;};'use strict';var emlformat=require(_0xa658('0x0'));var rimraf=require(_0xa658('0x1'));var zipdir=require(_0xa658('0x2'));var jsonpatch=require(_0xa658('0x3'));var rp=require(_0xa658('0x4'));var moment=require(_0xa658('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xa658('0x6'));var util=require(_0xa658('0x7'));var path=require('path');var sox=require('sox');var csv=require(_0xa658('0x8'));var ejs=require(_0xa658('0x9'));var fs=require('fs');var fs_extra=require(_0xa658('0xa'));var _=require(_0xa658('0xb'));var squel=require(_0xa658('0xc'));var crypto=require(_0xa658('0xd'));var jsforce=require('jsforce');var deskjs=require(_0xa658('0xe'));var toCsv=require(_0xa658('0x8'));var querystring=require(_0xa658('0xf'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xa658('0x10'));var qs=require(_0xa658('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xa658('0x12'));var logger=require('../../config/logger')(_0xa658('0x13'));var utils=require(_0xa658('0x14'));var config=require(_0xa658('0x15'));var licenseUtil=require(_0xa658('0x16'));var db=require(_0xa658('0x17'))['db'];function respondWithStatusCode(_0x37cf41,_0x441a86){_0x441a86=_0x441a86||0xcc;return function(_0x40dd9c){if(_0x40dd9c){return _0x37cf41[_0xa658('0x18')](_0x441a86);}return _0x37cf41['status'](_0x441a86)[_0xa658('0x19')]();};}function respondWithResult(_0x4722ef,_0x121980){_0x121980=_0x121980||0xc8;return function(_0x3821a3){if(_0x3821a3){return _0x4722ef[_0xa658('0x1a')](_0x121980)[_0xa658('0x1b')](_0x3821a3);}};}function respondWithFilteredResult(_0x5bb2fd,_0x1076c2){return function(_0x165b6c){if(_0x165b6c){var _0x5f28af=typeof _0x1076c2[_0xa658('0x1c')]==='undefined'&&typeof _0x1076c2[_0xa658('0x1d')]===_0xa658('0x1e');var _0x2e0646=_0x165b6c[_0xa658('0x1f')];var _0x819d8=_0x5f28af?0x0:_0x1076c2[_0xa658('0x1c')];var _0x44cc30=_0x5f28af?_0x165b6c['count']:_0x1076c2[_0xa658('0x1c')]+_0x1076c2[_0xa658('0x1d')];var _0x3b3380;if(_0x44cc30>=_0x2e0646){_0x44cc30=_0x2e0646;_0x3b3380=0xc8;}else{_0x3b3380=0xce;}_0x5bb2fd[_0xa658('0x1a')](_0x3b3380);return _0x5bb2fd['set']('Content-Range',_0x819d8+'-'+_0x44cc30+'/'+_0x2e0646)[_0xa658('0x1b')](_0x165b6c);}return null;};}function patchUpdates(_0x54e54c){return function(_0x7d55ad){try{jsonpatch[_0xa658('0x20')](_0x7d55ad,_0x54e54c,!![]);}catch(_0x3b1db2){return BPromise[_0xa658('0x21')](_0x3b1db2);}return _0x7d55ad['save']();};}function saveUpdates(_0x297349,_0x22da40){return function(_0x630343){if(_0x630343){return _0x630343['update'](_0x297349)[_0xa658('0x22')](function(_0x469b76){return _0x469b76;});}return null;};}function removeEntity(_0x719a5c,_0x3a390e){return function(_0x1bc192){if(_0x1bc192){return _0x1bc192[_0xa658('0x23')]()[_0xa658('0x22')](function(){_0x719a5c[_0xa658('0x1a')](0xcc)[_0xa658('0x19')]();});}};}function handleEntityNotFound(_0x4ca4a6,_0x244fd3){return function(_0x93ac7f){if(!_0x93ac7f){_0x4ca4a6[_0xa658('0x18')](0x194);}return _0x93ac7f;};}function handleError(_0x3c9ed3,_0x159c4b){_0x159c4b=_0x159c4b||0x1f4;return function(_0x4600e5){logger[_0xa658('0x24')](_0x4600e5['stack']);if(_0x4600e5[_0xa658('0x25')]){delete _0x4600e5[_0xa658('0x25')];}_0x3c9ed3[_0xa658('0x1a')](_0x159c4b)[_0xa658('0x26')](_0x4600e5);};}exports[_0xa658('0x27')]=function(_0x3f4c69,_0x66b9f5){var _0x6354d8={},_0x2d30c5={},_0x3fdb13={'count':0x0,'rows':[]};var _0x32bad4=_['map'](db[_0xa658('0x28')]['rawAttributes'],function(_0x979f9){return{'name':_0x979f9[_0xa658('0x29')],'type':_0x979f9[_0xa658('0x2a')][_0xa658('0x2b')]};});_0x2d30c5[_0xa658('0x2c')]=_[_0xa658('0x2d')](_0x32bad4,_0xa658('0x25'));_0x2d30c5[_0xa658('0x2e')]=_['keys'](_0x3f4c69['query']);_0x2d30c5[_0xa658('0x2f')]=_[_0xa658('0x30')](_0x2d30c5[_0xa658('0x2c')],_0x2d30c5[_0xa658('0x2e')]);_0x6354d8[_0xa658('0x31')]=_[_0xa658('0x30')](_0x2d30c5[_0xa658('0x2c')],qs[_0xa658('0x32')](_0x3f4c69[_0xa658('0x2e')][_0xa658('0x32')]));_0x6354d8[_0xa658('0x31')]=_0x6354d8['attributes'][_0xa658('0x33')]?_0x6354d8['attributes']:_0x2d30c5[_0xa658('0x2c')];if(!_0x3f4c69['query']['hasOwnProperty']('nolimit')){_0x6354d8[_0xa658('0x1d')]=qs[_0xa658('0x1d')](_0x3f4c69[_0xa658('0x2e')]['limit']);_0x6354d8[_0xa658('0x1c')]=qs[_0xa658('0x1c')](_0x3f4c69[_0xa658('0x2e')][_0xa658('0x1c')]);}_0x6354d8[_0xa658('0x34')]=qs[_0xa658('0x35')](_0x3f4c69['query'][_0xa658('0x35')]);_0x6354d8[_0xa658('0x36')]=qs['filters'](_[_0xa658('0x37')](_0x3f4c69[_0xa658('0x2e')],_0x2d30c5[_0xa658('0x2f')]),_0x32bad4);if(_0x3f4c69[_0xa658('0x2e')][_0xa658('0x38')]){_0x6354d8[_0xa658('0x36')]=_[_0xa658('0x39')](_0x6354d8[_0xa658('0x36')],{'$or':_['map'](_0x32bad4,function(_0x207d2c){if(_0x207d2c[_0xa658('0x2a')]!=='VIRTUAL'){var _0x25086a={};_0x25086a[_0x207d2c[_0xa658('0x25')]]={'$like':'%'+_0x3f4c69[_0xa658('0x2e')][_0xa658('0x38')]+'%'};return _0x25086a;}})});}_0x6354d8=_[_0xa658('0x39')]({},_0x6354d8,_0x3f4c69['options']);var _0x48bbaf={'where':_0x6354d8[_0xa658('0x36')]};return db[_0xa658('0x28')][_0xa658('0x1f')](_0x48bbaf)[_0xa658('0x22')](function(_0x4137e3){_0x3fdb13['count']=_0x4137e3;if(_0x3f4c69[_0xa658('0x2e')][_0xa658('0x3a')]){_0x6354d8[_0xa658('0x3b')]=[{'all':!![]}];}return db[_0xa658('0x28')][_0xa658('0x3c')](_0x6354d8);})[_0xa658('0x22')](function(_0x54b15a){_0x3fdb13[_0xa658('0x3d')]=_0x54b15a;return _0x3fdb13;})[_0xa658('0x22')](respondWithFilteredResult(_0x66b9f5,_0x6354d8))['catch'](handleError(_0x66b9f5,null));};exports[_0xa658('0x3e')]=function(_0x1d3752,_0x12db3b){var _0x28374f={'raw':!![],'where':{'id':_0x1d3752['params']['id']}},_0x4fc675={};_0x4fc675['model']=_[_0xa658('0x3f')](db['SquareDetailsReport'][_0xa658('0x40')]);_0x4fc675['query']=_[_0xa658('0x3f')](_0x1d3752['query']);_0x4fc675['filters']=_[_0xa658('0x30')](_0x4fc675[_0xa658('0x2c')],_0x4fc675['query']);_0x28374f['attributes']=_[_0xa658('0x30')](_0x4fc675[_0xa658('0x2c')],qs[_0xa658('0x32')](_0x1d3752[_0xa658('0x2e')][_0xa658('0x32')]));_0x28374f[_0xa658('0x31')]=_0x28374f[_0xa658('0x31')][_0xa658('0x33')]?_0x28374f[_0xa658('0x31')]:_0x4fc675[_0xa658('0x2c')];if(_0x1d3752['query'][_0xa658('0x3a')]){_0x28374f['include']=[{'all':!![]}];}_0x28374f=_[_0xa658('0x39')]({},_0x28374f,_0x1d3752['options']);return db['SquareDetailsReport'][_0xa658('0x41')](_0x28374f)['then'](handleEntityNotFound(_0x12db3b,null))[_0xa658('0x22')](respondWithResult(_0x12db3b,null))[_0xa658('0x42')](handleError(_0x12db3b,null));};exports[_0xa658('0x43')]=function(_0x1a1226,_0x469f83){return db[_0xa658('0x28')][_0xa658('0x43')](_0x1a1226['body'],{})[_0xa658('0x22')](respondWithResult(_0x469f83,0xc9))['catch'](handleError(_0x469f83,null));};exports[_0xa658('0x44')]=function(_0x66847b,_0x31043){if(_0x66847b[_0xa658('0x45')]['id']){delete _0x66847b[_0xa658('0x45')]['id'];}return db['SquareDetailsReport'][_0xa658('0x41')]({'where':{'id':_0x66847b['params']['id']}})[_0xa658('0x22')](handleEntityNotFound(_0x31043,null))['then'](saveUpdates(_0x66847b[_0xa658('0x45')],null))[_0xa658('0x22')](respondWithResult(_0x31043,null))[_0xa658('0x42')](handleError(_0x31043,null));};exports[_0xa658('0x23')]=function(_0x5ba639,_0xbbe62){return db[_0xa658('0x28')][_0xa658('0x41')]({'where':{'id':_0x5ba639[_0xa658('0x46')]['id']}})[_0xa658('0x22')](handleEntityNotFound(_0xbbe62,null))[_0xa658('0x22')](removeEntity(_0xbbe62,null))[_0xa658('0x42')](handleError(_0xbbe62,null));};exports['describe']=function(_0x419f41,_0x534677){return db[_0xa658('0x28')][_0xa658('0x47')]()['then'](respondWithResult(_0x534677,null))['catch'](handleError(_0x534677,null));};
\ No newline at end of file