Built motion from commit (unavailable).|2.5.17
[motion2.git] / server / api / chatTransferReport / chatTransferReport.controller.js
index b46e431..14e87f2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x82f4=['sendStatus','status','count','offset','limit','Content-Range','json','apply','reject','update','then','destroy','end','error','stack','name','index','map','ChatTransferReport','rawAttributes','fieldName','type','key','query','filters','intersection','model','fields','length','attributes','hasOwnProperty','nolimit','order','sort','where','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','keys','create','body','find','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x82f4,0xce));var _0x482f=function(_0x3e1415,_0x2ad5ee){_0x3e1415=_0x3e1415-0x0;var _0x2e1ec7=_0x82f4[_0x3e1415];return _0x2e1ec7;};'use strict';var pdf=require(_0x482f('0x0'));var emlformat=require(_0x482f('0x1'));var rimraf=require(_0x482f('0x2'));var zipdir=require(_0x482f('0x3'));var jsonpatch=require(_0x482f('0x4'));var rp=require(_0x482f('0x5'));var moment=require(_0x482f('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x482f('0x7'));var util=require('util');var path=require(_0x482f('0x8'));var sox=require(_0x482f('0x9'));var csv=require(_0x482f('0xa'));var ejs=require(_0x482f('0xb'));var fs=require('fs');var _=require(_0x482f('0xc'));var squel=require(_0x482f('0xd'));var crypto=require(_0x482f('0xe'));var jsforce=require(_0x482f('0xf'));var deskjs=require('desk.js');var toCsv=require(_0x482f('0xa'));var querystring=require(_0x482f('0x10'));var Papa=require(_0x482f('0x11'));var Redis=require(_0x482f('0x12'));var authService=require(_0x482f('0x13'));var qs=require(_0x482f('0x14'));var as=require(_0x482f('0x15'));var hardwareService=require(_0x482f('0x16'));var logger=require(_0x482f('0x17'))(_0x482f('0x18'));var utils=require('../../config/utils');var config=require(_0x482f('0x19'));var licenseUtil=require(_0x482f('0x1a'));var db=require(_0x482f('0x1b'))['db'];function respondWithStatusCode(_0x4ab62f,_0x576633){_0x576633=_0x576633||0xcc;return function(_0x3886f2){if(_0x3886f2){return _0x4ab62f[_0x482f('0x1c')](_0x576633);}return _0x4ab62f[_0x482f('0x1d')](_0x576633)['end']();};}function respondWithResult(_0x1a0e46,_0x128f24){_0x128f24=_0x128f24||0xc8;return function(_0x315d92){if(_0x315d92){return _0x1a0e46[_0x482f('0x1d')](_0x128f24)['json'](_0x315d92);}};}function respondWithFilteredResult(_0x312f44,_0x4818e0){return function(_0x3cd6d1){if(_0x3cd6d1){var _0x8a84fe=_0x3cd6d1[_0x482f('0x1e')],_0x1c58e1=_0x4818e0[_0x482f('0x1f')],_0x3a78ee=_0x4818e0[_0x482f('0x1f')]+_0x4818e0[_0x482f('0x20')],_0x32d4b2;if(_0x3a78ee>=_0x8a84fe){_0x3a78ee=_0x8a84fe;_0x32d4b2=0xc8;}else{_0x32d4b2=0xce;}_0x312f44['status'](_0x32d4b2);return _0x312f44['set'](_0x482f('0x21'),_0x1c58e1+'-'+_0x3a78ee+'/'+_0x8a84fe)[_0x482f('0x22')](_0x3cd6d1);}return null;};}function patchUpdates(_0x13c3f9){return function(_0x5ece8d){try{jsonpatch[_0x482f('0x23')](_0x5ece8d,_0x13c3f9,!![]);}catch(_0x1c08aa){return BPromise[_0x482f('0x24')](_0x1c08aa);}return _0x5ece8d['save']();};}function saveUpdates(_0x187bb4,_0x55d625){return function(_0x472027){if(_0x472027){return _0x472027[_0x482f('0x25')](_0x187bb4)[_0x482f('0x26')](function(_0x13b407){return _0x13b407;});}return null;};}function removeEntity(_0x41ec40,_0xc9525f){return function(_0x5965cb){if(_0x5965cb){return _0x5965cb[_0x482f('0x27')]()[_0x482f('0x26')](function(){_0x41ec40[_0x482f('0x1d')](0xcc)[_0x482f('0x28')]();});}};}function handleEntityNotFound(_0x5ba940,_0x36b31a){return function(_0x2b70ad){if(!_0x2b70ad){_0x5ba940[_0x482f('0x1c')](0x194);}return _0x2b70ad;};}function handleError(_0x11b7da,_0x547302){_0x547302=_0x547302||0x1f4;return function(_0x4d7138){logger[_0x482f('0x29')](_0x4d7138[_0x482f('0x2a')]);if(_0x4d7138[_0x482f('0x2b')]){delete _0x4d7138[_0x482f('0x2b')];}_0x11b7da[_0x482f('0x1d')](_0x547302)['send'](_0x4d7138);};}exports[_0x482f('0x2c')]=function(_0x2be8fe,_0x64283c){var _0x34df93={},_0x3e8a35={},_0xf3124={'count':0x0,'rows':[]};var _0x495625=_[_0x482f('0x2d')](db[_0x482f('0x2e')][_0x482f('0x2f')],function(_0x1d63ba){return{'name':_0x1d63ba[_0x482f('0x30')],'type':_0x1d63ba[_0x482f('0x31')][_0x482f('0x32')]};});_0x3e8a35['model']=_[_0x482f('0x2d')](_0x495625,_0x482f('0x2b'));_0x3e8a35['query']=_['keys'](_0x2be8fe[_0x482f('0x33')]);_0x3e8a35[_0x482f('0x34')]=_[_0x482f('0x35')](_0x3e8a35[_0x482f('0x36')],_0x3e8a35['query']);_0x34df93['attributes']=_[_0x482f('0x35')](_0x3e8a35[_0x482f('0x36')],qs[_0x482f('0x37')](_0x2be8fe[_0x482f('0x33')][_0x482f('0x37')]));_0x34df93['attributes']=_0x34df93['attributes'][_0x482f('0x38')]?_0x34df93[_0x482f('0x39')]:_0x3e8a35[_0x482f('0x36')];if(!_0x2be8fe[_0x482f('0x33')][_0x482f('0x3a')](_0x482f('0x3b'))){_0x34df93[_0x482f('0x20')]=qs[_0x482f('0x20')](_0x2be8fe[_0x482f('0x33')][_0x482f('0x20')]);_0x34df93[_0x482f('0x1f')]=qs[_0x482f('0x1f')](_0x2be8fe[_0x482f('0x33')][_0x482f('0x1f')]);}_0x34df93[_0x482f('0x3c')]=qs[_0x482f('0x3d')](_0x2be8fe['query'][_0x482f('0x3d')]);_0x34df93[_0x482f('0x3e')]=qs[_0x482f('0x34')](_['pick'](_0x2be8fe[_0x482f('0x33')],_0x3e8a35[_0x482f('0x34')]),_0x495625);if(_0x2be8fe[_0x482f('0x33')][_0x482f('0x3f')]){_0x34df93[_0x482f('0x3e')]=_[_0x482f('0x40')](_0x34df93[_0x482f('0x3e')],{'$or':_['map'](_0x495625,function(_0x81a47b){if(_0x81a47b[_0x482f('0x31')]!=='VIRTUAL'){var _0x2bb0e0={};_0x2bb0e0[_0x81a47b[_0x482f('0x2b')]]={'$like':'%'+_0x2be8fe['query'][_0x482f('0x3f')]+'%'};return _0x2bb0e0;}})});}_0x34df93=_['merge']({},_0x34df93,_0x2be8fe[_0x482f('0x41')]);var _0x3a7b28={'where':_0x34df93['where']};return db[_0x482f('0x2e')][_0x482f('0x1e')](_0x3a7b28)[_0x482f('0x26')](function(_0x1e05f6){_0xf3124['count']=_0x1e05f6;if(_0x2be8fe[_0x482f('0x33')][_0x482f('0x42')]){_0x34df93[_0x482f('0x43')]=[{'all':!![]}];}return db[_0x482f('0x2e')][_0x482f('0x44')](_0x34df93);})[_0x482f('0x26')](function(_0x3a9e98){_0xf3124[_0x482f('0x45')]=_0x3a9e98;return _0xf3124;})[_0x482f('0x26')](respondWithFilteredResult(_0x64283c,_0x34df93))[_0x482f('0x46')](handleError(_0x64283c,null));};exports[_0x482f('0x47')]=function(_0x4525ff,_0x57527b){var _0x29f600={'raw':!![],'where':{'id':_0x4525ff[_0x482f('0x48')]['id']}},_0x1a36f5={};_0x1a36f5[_0x482f('0x36')]=_[_0x482f('0x49')](db[_0x482f('0x2e')]['rawAttributes']);_0x1a36f5[_0x482f('0x33')]=_[_0x482f('0x49')](_0x4525ff[_0x482f('0x33')]);_0x1a36f5[_0x482f('0x34')]=_['intersection'](_0x1a36f5[_0x482f('0x36')],_0x1a36f5[_0x482f('0x33')]);_0x29f600[_0x482f('0x39')]=_['intersection'](_0x1a36f5['model'],qs[_0x482f('0x37')](_0x4525ff[_0x482f('0x33')][_0x482f('0x37')]));_0x29f600[_0x482f('0x39')]=_0x29f600[_0x482f('0x39')]['length']?_0x29f600[_0x482f('0x39')]:_0x1a36f5[_0x482f('0x36')];if(_0x4525ff[_0x482f('0x33')][_0x482f('0x42')]){_0x29f600[_0x482f('0x43')]=[{'all':!![]}];}_0x29f600=_[_0x482f('0x40')]({},_0x29f600,_0x4525ff[_0x482f('0x41')]);return db[_0x482f('0x2e')]['find'](_0x29f600)['then'](handleEntityNotFound(_0x57527b,null))[_0x482f('0x26')](respondWithResult(_0x57527b,null))['catch'](handleError(_0x57527b,null));};exports[_0x482f('0x4a')]=function(_0x5295f3,_0x4f1b76){return db[_0x482f('0x2e')][_0x482f('0x4a')](_0x5295f3[_0x482f('0x4b')],{})[_0x482f('0x26')](respondWithResult(_0x4f1b76,0xc9))[_0x482f('0x46')](handleError(_0x4f1b76,null));};exports['update']=function(_0x131433,_0x28599a){if(_0x131433[_0x482f('0x4b')]['id']){delete _0x131433[_0x482f('0x4b')]['id'];}return db[_0x482f('0x2e')][_0x482f('0x4c')]({'where':{'id':_0x131433[_0x482f('0x48')]['id']}})[_0x482f('0x26')](handleEntityNotFound(_0x28599a,null))['then'](saveUpdates(_0x131433[_0x482f('0x4b')],null))[_0x482f('0x26')](respondWithResult(_0x28599a,null))[_0x482f('0x46')](handleError(_0x28599a,null));};exports[_0x482f('0x27')]=function(_0x3fa8e0,_0x471d49){return db['ChatTransferReport'][_0x482f('0x4c')]({'where':{'id':_0x3fa8e0[_0x482f('0x48')]['id']}})[_0x482f('0x26')](handleEntityNotFound(_0x471d49,null))['then'](removeEntity(_0x471d49,null))['catch'](handleError(_0x471d49,null));};exports[_0x482f('0x4d')]=function(_0x571e66,_0x2c7f07){return db[_0x482f('0x2e')][_0x482f('0x4d')]()[_0x482f('0x26')](respondWithResult(_0x2c7f07,null))['catch'](handleError(_0x2c7f07,null));};
\ No newline at end of file
+var _0xb447=['index','rawAttributes','fieldName','type','key','model','keys','query','filters','intersection','attributes','fields','length','hasOwnProperty','sort','where','pick','filter','merge','map','VIRTUAL','options','ChatTransferReport','count','include','rows','catch','show','find','create','body','params','describe','html-pdf','eml-format','rimraf','zip-dir','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','send'];(function(_0x1e7f31,_0x451bb7){var _0xbd3080=function(_0x4771ba){while(--_0x4771ba){_0x1e7f31['push'](_0x1e7f31['shift']());}};_0xbd3080(++_0x451bb7);}(_0xb447,0xbd));var _0x7b44=function(_0x43a31c,_0x38076b){_0x43a31c=_0x43a31c-0x0;var _0x1d9478=_0xb447[_0x43a31c];return _0x1d9478;};'use strict';var pdf=require(_0x7b44('0x0'));var emlformat=require(_0x7b44('0x1'));var rimraf=require(_0x7b44('0x2'));var zipdir=require(_0x7b44('0x3'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x7b44('0x4'));var Mustache=require(_0x7b44('0x5'));var util=require(_0x7b44('0x6'));var path=require(_0x7b44('0x7'));var sox=require(_0x7b44('0x8'));var csv=require(_0x7b44('0x9'));var ejs=require(_0x7b44('0xa'));var fs=require('fs');var _=require(_0x7b44('0xb'));var squel=require(_0x7b44('0xc'));var crypto=require(_0x7b44('0xd'));var jsforce=require(_0x7b44('0xe'));var deskjs=require(_0x7b44('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x7b44('0x10'));var Redis=require('ioredis');var authService=require(_0x7b44('0x11'));var qs=require(_0x7b44('0x12'));var as=require(_0x7b44('0x13'));var hardwareService=require(_0x7b44('0x14'));var logger=require(_0x7b44('0x15'))(_0x7b44('0x16'));var utils=require(_0x7b44('0x17'));var config=require(_0x7b44('0x18'));var licenseUtil=require(_0x7b44('0x19'));var db=require(_0x7b44('0x1a'))['db'];function respondWithStatusCode(_0x21d6d4,_0x4b81bf){_0x4b81bf=_0x4b81bf||0xcc;return function(_0x474c54){if(_0x474c54){return _0x21d6d4[_0x7b44('0x1b')](_0x4b81bf);}return _0x21d6d4[_0x7b44('0x1c')](_0x4b81bf)[_0x7b44('0x1d')]();};}function respondWithResult(_0x129a77,_0x373e59){_0x373e59=_0x373e59||0xc8;return function(_0x3c339a){if(_0x3c339a){return _0x129a77[_0x7b44('0x1c')](_0x373e59)[_0x7b44('0x1e')](_0x3c339a);}};}function respondWithFilteredResult(_0x27fc7a,_0x22c56e){return function(_0x64f0bc){if(_0x64f0bc){var _0x2c3e35=_0x64f0bc['count'],_0x5e97ff=_0x22c56e[_0x7b44('0x1f')],_0xdb17f6=_0x22c56e[_0x7b44('0x1f')]+_0x22c56e[_0x7b44('0x20')],_0x13c797;if(_0xdb17f6>=_0x2c3e35){_0xdb17f6=_0x2c3e35;_0x13c797=0xc8;}else{_0x13c797=0xce;}_0x27fc7a['status'](_0x13c797);return _0x27fc7a[_0x7b44('0x21')](_0x7b44('0x22'),_0x5e97ff+'-'+_0xdb17f6+'/'+_0x2c3e35)[_0x7b44('0x1e')](_0x64f0bc);}return null;};}function patchUpdates(_0x22e6df){return function(_0x2d918e){try{jsonpatch[_0x7b44('0x23')](_0x2d918e,_0x22e6df,!![]);}catch(_0x149066){return BPromise[_0x7b44('0x24')](_0x149066);}return _0x2d918e[_0x7b44('0x25')]();};}function saveUpdates(_0x1e78be,_0x1f210a){return function(_0x1ed4ec){if(_0x1ed4ec){return _0x1ed4ec[_0x7b44('0x26')](_0x1e78be)[_0x7b44('0x27')](function(_0xdec9dd){return _0xdec9dd;});}return null;};}function removeEntity(_0x1deaca,_0x4436bf){return function(_0x3e5d0b){if(_0x3e5d0b){return _0x3e5d0b[_0x7b44('0x28')]()[_0x7b44('0x27')](function(){_0x1deaca[_0x7b44('0x1c')](0xcc)[_0x7b44('0x1d')]();});}};}function handleEntityNotFound(_0x31369e,_0x1cf698){return function(_0x57a2a4){if(!_0x57a2a4){_0x31369e[_0x7b44('0x1b')](0x194);}return _0x57a2a4;};}function handleError(_0x3211c9,_0x939e5c){_0x939e5c=_0x939e5c||0x1f4;return function(_0x47e6dc){logger[_0x7b44('0x29')](_0x47e6dc[_0x7b44('0x2a')]);if(_0x47e6dc[_0x7b44('0x2b')]){delete _0x47e6dc[_0x7b44('0x2b')];}_0x3211c9[_0x7b44('0x1c')](_0x939e5c)[_0x7b44('0x2c')](_0x47e6dc);};}exports[_0x7b44('0x2d')]=function(_0x11fd17,_0x2b2eeb){var _0x104648={},_0x408ed9={},_0x35ca07={'count':0x0,'rows':[]};var _0x5cd978=_['map'](db['ChatTransferReport'][_0x7b44('0x2e')],function(_0x2bf735){return{'name':_0x2bf735[_0x7b44('0x2f')],'type':_0x2bf735[_0x7b44('0x30')][_0x7b44('0x31')]};});_0x408ed9[_0x7b44('0x32')]=_['map'](_0x5cd978,_0x7b44('0x2b'));_0x408ed9['query']=_[_0x7b44('0x33')](_0x11fd17[_0x7b44('0x34')]);_0x408ed9[_0x7b44('0x35')]=_[_0x7b44('0x36')](_0x408ed9[_0x7b44('0x32')],_0x408ed9[_0x7b44('0x34')]);_0x104648[_0x7b44('0x37')]=_[_0x7b44('0x36')](_0x408ed9[_0x7b44('0x32')],qs['fields'](_0x11fd17[_0x7b44('0x34')][_0x7b44('0x38')]));_0x104648[_0x7b44('0x37')]=_0x104648['attributes'][_0x7b44('0x39')]?_0x104648[_0x7b44('0x37')]:_0x408ed9[_0x7b44('0x32')];if(!_0x11fd17['query'][_0x7b44('0x3a')]('nolimit')){_0x104648[_0x7b44('0x20')]=qs[_0x7b44('0x20')](_0x11fd17[_0x7b44('0x34')][_0x7b44('0x20')]);_0x104648[_0x7b44('0x1f')]=qs[_0x7b44('0x1f')](_0x11fd17['query'][_0x7b44('0x1f')]);}_0x104648['order']=qs[_0x7b44('0x3b')](_0x11fd17[_0x7b44('0x34')][_0x7b44('0x3b')]);_0x104648[_0x7b44('0x3c')]=qs[_0x7b44('0x35')](_[_0x7b44('0x3d')](_0x11fd17[_0x7b44('0x34')],_0x408ed9[_0x7b44('0x35')]),_0x5cd978);if(_0x11fd17[_0x7b44('0x34')][_0x7b44('0x3e')]){_0x104648[_0x7b44('0x3c')]=_[_0x7b44('0x3f')](_0x104648[_0x7b44('0x3c')],{'$or':_[_0x7b44('0x40')](_0x5cd978,function(_0x53ccb1){if(_0x53ccb1['type']!==_0x7b44('0x41')){var _0x4cd494={};_0x4cd494[_0x53ccb1[_0x7b44('0x2b')]]={'$like':'%'+_0x11fd17[_0x7b44('0x34')][_0x7b44('0x3e')]+'%'};return _0x4cd494;}})});}_0x104648=_[_0x7b44('0x3f')]({},_0x104648,_0x11fd17[_0x7b44('0x42')]);var _0x216fb3={'where':_0x104648[_0x7b44('0x3c')]};return db[_0x7b44('0x43')][_0x7b44('0x44')](_0x216fb3)[_0x7b44('0x27')](function(_0x161f60){_0x35ca07[_0x7b44('0x44')]=_0x161f60;if(_0x11fd17[_0x7b44('0x34')]['includeAll']){_0x104648[_0x7b44('0x45')]=[{'all':!![]}];}return db['ChatTransferReport']['findAll'](_0x104648);})[_0x7b44('0x27')](function(_0x1e9aca){_0x35ca07[_0x7b44('0x46')]=_0x1e9aca;return _0x35ca07;})[_0x7b44('0x27')](respondWithFilteredResult(_0x2b2eeb,_0x104648))[_0x7b44('0x47')](handleError(_0x2b2eeb,null));};exports[_0x7b44('0x48')]=function(_0x40789d,_0x22cb21){var _0x239fa0={'raw':!![],'where':{'id':_0x40789d['params']['id']}},_0xbd74d1={};_0xbd74d1[_0x7b44('0x32')]=_[_0x7b44('0x33')](db[_0x7b44('0x43')][_0x7b44('0x2e')]);_0xbd74d1[_0x7b44('0x34')]=_[_0x7b44('0x33')](_0x40789d[_0x7b44('0x34')]);_0xbd74d1[_0x7b44('0x35')]=_[_0x7b44('0x36')](_0xbd74d1[_0x7b44('0x32')],_0xbd74d1[_0x7b44('0x34')]);_0x239fa0[_0x7b44('0x37')]=_[_0x7b44('0x36')](_0xbd74d1['model'],qs['fields'](_0x40789d[_0x7b44('0x34')][_0x7b44('0x38')]));_0x239fa0[_0x7b44('0x37')]=_0x239fa0['attributes']['length']?_0x239fa0[_0x7b44('0x37')]:_0xbd74d1[_0x7b44('0x32')];if(_0x40789d[_0x7b44('0x34')]['includeAll']){_0x239fa0[_0x7b44('0x45')]=[{'all':!![]}];}_0x239fa0=_[_0x7b44('0x3f')]({},_0x239fa0,_0x40789d['options']);return db['ChatTransferReport'][_0x7b44('0x49')](_0x239fa0)[_0x7b44('0x27')](handleEntityNotFound(_0x22cb21,null))[_0x7b44('0x27')](respondWithResult(_0x22cb21,null))[_0x7b44('0x47')](handleError(_0x22cb21,null));};exports[_0x7b44('0x4a')]=function(_0x53cf63,_0x4f2296){return db[_0x7b44('0x43')][_0x7b44('0x4a')](_0x53cf63[_0x7b44('0x4b')],{})[_0x7b44('0x27')](respondWithResult(_0x4f2296,0xc9))[_0x7b44('0x47')](handleError(_0x4f2296,null));};exports[_0x7b44('0x26')]=function(_0x403f15,_0x102c22){if(_0x403f15['body']['id']){delete _0x403f15['body']['id'];}return db['ChatTransferReport'][_0x7b44('0x49')]({'where':{'id':_0x403f15['params']['id']}})[_0x7b44('0x27')](handleEntityNotFound(_0x102c22,null))[_0x7b44('0x27')](saveUpdates(_0x403f15[_0x7b44('0x4b')],null))['then'](respondWithResult(_0x102c22,null))['catch'](handleError(_0x102c22,null));};exports[_0x7b44('0x28')]=function(_0x1d978c,_0x204f1b){return db[_0x7b44('0x43')]['find']({'where':{'id':_0x1d978c[_0x7b44('0x4c')]['id']}})[_0x7b44('0x27')](handleEntityNotFound(_0x204f1b,null))[_0x7b44('0x27')](removeEntity(_0x204f1b,null))[_0x7b44('0x47')](handleError(_0x204f1b,null));};exports['describe']=function(_0x44d0e3,_0x12f547){return db[_0x7b44('0x43')][_0x7b44('0x4d')]()['then'](respondWithResult(_0x12f547,null))[_0x7b44('0x47')](handleError(_0x12f547,null));};
\ No newline at end of file