Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / whatsappQueueReport / whatsappQueueReport.controller.js
index 7744e96..b5ffb38 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb2ea=['apply','save','update','then','destroy','error','name','send','index','map','WhatsappQueueReport','rawAttributes','fieldName','model','query','filters','intersection','fields','attributes','length','nolimit','limit','sort','where','filter','type','VIRTUAL','options','count','includeAll','include','findAll','rows','catch','show','params','keys','create','body','find','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','set'];(function(_0x1b664d,_0x1d8695){var _0x43af6b=function(_0x7fe8b2){while(--_0x7fe8b2){_0x1b664d['push'](_0x1b664d['shift']());}};_0x43af6b(++_0x1d8695);}(_0xb2ea,0x196));var _0xab2e=function(_0x2853dd,_0x36df3b){_0x2853dd=_0x2853dd-0x0;var _0x420394=_0xb2ea[_0x2853dd];return _0x420394;};'use strict';var pdf=require(_0xab2e('0x0'));var emlformat=require(_0xab2e('0x1'));var rimraf=require(_0xab2e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xab2e('0x3'));var rp=require(_0xab2e('0x4'));var moment=require('moment');var BPromise=require(_0xab2e('0x5'));var Mustache=require('mustache');var util=require(_0xab2e('0x6'));var path=require(_0xab2e('0x7'));var sox=require(_0xab2e('0x8'));var csv=require(_0xab2e('0x9'));var ejs=require(_0xab2e('0xa'));var fs=require('fs');var _=require(_0xab2e('0xb'));var squel=require(_0xab2e('0xc'));var crypto=require(_0xab2e('0xd'));var jsforce=require(_0xab2e('0xe'));var deskjs=require(_0xab2e('0xf'));var toCsv=require(_0xab2e('0x9'));var querystring=require(_0xab2e('0x10'));var Papa=require(_0xab2e('0x11'));var Redis=require(_0xab2e('0x12'));var authService=require('../../components/auth/service');var qs=require(_0xab2e('0x13'));var as=require(_0xab2e('0x14'));var hardwareService=require(_0xab2e('0x15'));var logger=require('../../config/logger')(_0xab2e('0x16'));var utils=require(_0xab2e('0x17'));var config=require('../../config/environment');var licenseUtil=require(_0xab2e('0x18'));var db=require(_0xab2e('0x19'))['db'];function respondWithStatusCode(_0x2b1cec,_0x3049e6){_0x3049e6=_0x3049e6||0xcc;return function(_0x471ef8){if(_0x471ef8){return _0x2b1cec[_0xab2e('0x1a')](_0x3049e6);}return _0x2b1cec[_0xab2e('0x1b')](_0x3049e6)[_0xab2e('0x1c')]();};}function respondWithResult(_0x1e39a9,_0x219f7b){_0x219f7b=_0x219f7b||0xc8;return function(_0x25cb3f){if(_0x25cb3f){return _0x1e39a9['status'](_0x219f7b)[_0xab2e('0x1d')](_0x25cb3f);}};}function respondWithFilteredResult(_0x169000,_0x212d72){return function(_0x1bb026){if(_0x1bb026){var _0x25bd1b=_0x1bb026['count'],_0x54abfe=_0x212d72[_0xab2e('0x1e')],_0x10946f=_0x212d72['offset']+_0x212d72['limit'],_0x27081d;if(_0x10946f>=_0x25bd1b){_0x10946f=_0x25bd1b;_0x27081d=0xc8;}else{_0x27081d=0xce;}_0x169000[_0xab2e('0x1b')](_0x27081d);return _0x169000[_0xab2e('0x1f')]('Content-Range',_0x54abfe+'-'+_0x10946f+'/'+_0x25bd1b)[_0xab2e('0x1d')](_0x1bb026);}return null;};}function patchUpdates(_0x5be27f){return function(_0x36febe){try{jsonpatch[_0xab2e('0x20')](_0x36febe,_0x5be27f,!![]);}catch(_0x203d8f){return BPromise['reject'](_0x203d8f);}return _0x36febe[_0xab2e('0x21')]();};}function saveUpdates(_0x5c58ef,_0x27f40c){return function(_0x42f58d){if(_0x42f58d){return _0x42f58d[_0xab2e('0x22')](_0x5c58ef)[_0xab2e('0x23')](function(_0x2295e3){return _0x2295e3;});}return null;};}function removeEntity(_0x444acd,_0x40cb3d){return function(_0x2a50a6){if(_0x2a50a6){return _0x2a50a6[_0xab2e('0x24')]()[_0xab2e('0x23')](function(){_0x444acd[_0xab2e('0x1b')](0xcc)[_0xab2e('0x1c')]();});}};}function handleEntityNotFound(_0x2d1beb,_0x559d6b){return function(_0x452a53){if(!_0x452a53){_0x2d1beb['sendStatus'](0x194);}return _0x452a53;};}function handleError(_0x226071,_0x1f018e){_0x1f018e=_0x1f018e||0x1f4;return function(_0x5d2a9f){logger[_0xab2e('0x25')](_0x5d2a9f['stack']);if(_0x5d2a9f['name']){delete _0x5d2a9f[_0xab2e('0x26')];}_0x226071['status'](_0x1f018e)[_0xab2e('0x27')](_0x5d2a9f);};}exports[_0xab2e('0x28')]=function(_0x7e2ab3,_0x3d75a8){var _0x1dcd91={},_0x3d764a={},_0x3f7749={'count':0x0,'rows':[]};var _0x523250=_[_0xab2e('0x29')](db[_0xab2e('0x2a')][_0xab2e('0x2b')],function(_0x346768){return{'name':_0x346768[_0xab2e('0x2c')],'type':_0x346768['type']['key']};});_0x3d764a[_0xab2e('0x2d')]=_[_0xab2e('0x29')](_0x523250,_0xab2e('0x26'));_0x3d764a[_0xab2e('0x2e')]=_['keys'](_0x7e2ab3['query']);_0x3d764a[_0xab2e('0x2f')]=_[_0xab2e('0x30')](_0x3d764a[_0xab2e('0x2d')],_0x3d764a[_0xab2e('0x2e')]);_0x1dcd91['attributes']=_['intersection'](_0x3d764a[_0xab2e('0x2d')],qs[_0xab2e('0x31')](_0x7e2ab3[_0xab2e('0x2e')][_0xab2e('0x31')]));_0x1dcd91[_0xab2e('0x32')]=_0x1dcd91[_0xab2e('0x32')][_0xab2e('0x33')]?_0x1dcd91['attributes']:_0x3d764a[_0xab2e('0x2d')];if(!_0x7e2ab3['query']['hasOwnProperty'](_0xab2e('0x34'))){_0x1dcd91[_0xab2e('0x35')]=qs[_0xab2e('0x35')](_0x7e2ab3[_0xab2e('0x2e')][_0xab2e('0x35')]);_0x1dcd91[_0xab2e('0x1e')]=qs[_0xab2e('0x1e')](_0x7e2ab3[_0xab2e('0x2e')][_0xab2e('0x1e')]);}_0x1dcd91['order']=qs[_0xab2e('0x36')](_0x7e2ab3[_0xab2e('0x2e')]['sort']);_0x1dcd91[_0xab2e('0x37')]=qs[_0xab2e('0x2f')](_['pick'](_0x7e2ab3['query'],_0x3d764a[_0xab2e('0x2f')]),_0x523250);if(_0x7e2ab3[_0xab2e('0x2e')][_0xab2e('0x38')]){_0x1dcd91[_0xab2e('0x37')]=_['merge'](_0x1dcd91['where'],{'$or':_[_0xab2e('0x29')](_0x523250,function(_0xe9eefc){if(_0xe9eefc[_0xab2e('0x39')]!==_0xab2e('0x3a')){var _0x151c62={};_0x151c62[_0xe9eefc[_0xab2e('0x26')]]={'$like':'%'+_0x7e2ab3[_0xab2e('0x2e')][_0xab2e('0x38')]+'%'};return _0x151c62;}})});}_0x1dcd91=_['merge']({},_0x1dcd91,_0x7e2ab3[_0xab2e('0x3b')]);var _0x1444d={'where':_0x1dcd91[_0xab2e('0x37')]};return db['WhatsappQueueReport'][_0xab2e('0x3c')](_0x1444d)['then'](function(_0x1983c2){_0x3f7749[_0xab2e('0x3c')]=_0x1983c2;if(_0x7e2ab3[_0xab2e('0x2e')][_0xab2e('0x3d')]){_0x1dcd91[_0xab2e('0x3e')]=[{'all':!![]}];}return db['WhatsappQueueReport'][_0xab2e('0x3f')](_0x1dcd91);})['then'](function(_0x7afb03){_0x3f7749[_0xab2e('0x40')]=_0x7afb03;return _0x3f7749;})['then'](respondWithFilteredResult(_0x3d75a8,_0x1dcd91))[_0xab2e('0x41')](handleError(_0x3d75a8,null));};exports[_0xab2e('0x42')]=function(_0x57bef5,_0x3d0810){var _0x2debae={'raw':!![],'where':{'id':_0x57bef5[_0xab2e('0x43')]['id']}},_0x4e3132={};_0x4e3132['model']=_[_0xab2e('0x44')](db['WhatsappQueueReport'][_0xab2e('0x2b')]);_0x4e3132['query']=_[_0xab2e('0x44')](_0x57bef5[_0xab2e('0x2e')]);_0x4e3132[_0xab2e('0x2f')]=_['intersection'](_0x4e3132[_0xab2e('0x2d')],_0x4e3132['query']);_0x2debae[_0xab2e('0x32')]=_[_0xab2e('0x30')](_0x4e3132[_0xab2e('0x2d')],qs[_0xab2e('0x31')](_0x57bef5[_0xab2e('0x2e')][_0xab2e('0x31')]));_0x2debae[_0xab2e('0x32')]=_0x2debae[_0xab2e('0x32')][_0xab2e('0x33')]?_0x2debae['attributes']:_0x4e3132[_0xab2e('0x2d')];if(_0x57bef5[_0xab2e('0x2e')]['includeAll']){_0x2debae['include']=[{'all':!![]}];}_0x2debae=_['merge']({},_0x2debae,_0x57bef5[_0xab2e('0x3b')]);return db[_0xab2e('0x2a')]['find'](_0x2debae)['then'](handleEntityNotFound(_0x3d0810,null))[_0xab2e('0x23')](respondWithResult(_0x3d0810,null))[_0xab2e('0x41')](handleError(_0x3d0810,null));};exports[_0xab2e('0x45')]=function(_0x97b985,_0xff6265){return db[_0xab2e('0x2a')]['create'](_0x97b985[_0xab2e('0x46')],{})[_0xab2e('0x23')](respondWithResult(_0xff6265,0xc9))['catch'](handleError(_0xff6265,null));};exports[_0xab2e('0x22')]=function(_0x42e4db,_0x3a25b4){if(_0x42e4db[_0xab2e('0x46')]['id']){delete _0x42e4db[_0xab2e('0x46')]['id'];}return db[_0xab2e('0x2a')][_0xab2e('0x47')]({'where':{'id':_0x42e4db[_0xab2e('0x43')]['id']}})[_0xab2e('0x23')](handleEntityNotFound(_0x3a25b4,null))[_0xab2e('0x23')](saveUpdates(_0x42e4db[_0xab2e('0x46')],null))[_0xab2e('0x23')](respondWithResult(_0x3a25b4,null))[_0xab2e('0x41')](handleError(_0x3a25b4,null));};exports[_0xab2e('0x24')]=function(_0x47d808,_0x373d2d){return db[_0xab2e('0x2a')]['find']({'where':{'id':_0x47d808[_0xab2e('0x43')]['id']}})[_0xab2e('0x23')](handleEntityNotFound(_0x373d2d,null))[_0xab2e('0x23')](removeEntity(_0x373d2d,null))[_0xab2e('0x41')](handleError(_0x373d2d,null));};exports['describe']=function(_0x4b748b,_0x12f95a){return db[_0xab2e('0x2a')][_0xab2e('0x48')]()[_0xab2e('0x23')](respondWithResult(_0x12f95a,null))['catch'](handleError(_0x12f95a,null));};
\ No newline at end of file
+var _0x0713=['to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','offset','undefined','limit','count','set','Content-Range','reject','save','update','then','destroy','stack','name','send','index','WhatsappQueueReport','rawAttributes','fieldName','type','key','model','map','query','filters','attributes','intersection','fields','length','hasOwnProperty','order','sort','where','pick','merge','filter','options','includeAll','include','findAll','params','keys','find','catch','body','describe','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox'];(function(_0x413ed5,_0x37d482){var _0x31bf02=function(_0x2975f6){while(--_0x2975f6){_0x413ed5['push'](_0x413ed5['shift']());}};_0x31bf02(++_0x37d482);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x3071('0x0'));var jsonpatch=require(_0x3071('0x1'));var rp=require(_0x3071('0x2'));var moment=require(_0x3071('0x3'));var BPromise=require(_0x3071('0x4'));var Mustache=require('mustache');var util=require(_0x3071('0x5'));var path=require(_0x3071('0x6'));var sox=require(_0x3071('0x7'));var csv=require(_0x3071('0x8'));var ejs=require(_0x3071('0x9'));var fs=require('fs');var fs_extra=require(_0x3071('0xa'));var _=require(_0x3071('0xb'));var squel=require(_0x3071('0xc'));var crypto=require(_0x3071('0xd'));var jsforce=require(_0x3071('0xe'));var deskjs=require(_0x3071('0xf'));var toCsv=require(_0x3071('0x8'));var querystring=require(_0x3071('0x10'));var Papa=require('papaparse');var Redis=require(_0x3071('0x11'));var authService=require(_0x3071('0x12'));var qs=require(_0x3071('0x13'));var as=require(_0x3071('0x14'));var hardwareService=require(_0x3071('0x15'));var logger=require('../../config/logger')(_0x3071('0x16'));var utils=require(_0x3071('0x17'));var config=require(_0x3071('0x18'));var licenseUtil=require(_0x3071('0x19'));var db=require(_0x3071('0x1a'))['db'];function respondWithStatusCode(_0x4a8cc7,_0x5330a8){_0x5330a8=_0x5330a8||0xcc;return function(_0x1826ca){if(_0x1826ca){return _0x4a8cc7['sendStatus'](_0x5330a8);}return _0x4a8cc7[_0x3071('0x1b')](_0x5330a8)[_0x3071('0x1c')]();};}function respondWithResult(_0x5d4883,_0x104e73){_0x104e73=_0x104e73||0xc8;return function(_0x4e1219){if(_0x4e1219){return _0x5d4883[_0x3071('0x1b')](_0x104e73)[_0x3071('0x1d')](_0x4e1219);}};}function respondWithFilteredResult(_0x1271d0,_0x1f14e1){return function(_0x1caa5d){if(_0x1caa5d){var _0x2a6a4b=typeof _0x1f14e1[_0x3071('0x1e')]===_0x3071('0x1f')&&typeof _0x1f14e1[_0x3071('0x20')]===_0x3071('0x1f');var _0x5f3c22=_0x1caa5d[_0x3071('0x21')];var _0x17dbda=_0x2a6a4b?0x0:_0x1f14e1[_0x3071('0x1e')];var _0x108a83=_0x2a6a4b?_0x1caa5d[_0x3071('0x21')]:_0x1f14e1[_0x3071('0x1e')]+_0x1f14e1[_0x3071('0x20')];var _0x26f113;if(_0x108a83>=_0x5f3c22){_0x108a83=_0x5f3c22;_0x26f113=0xc8;}else{_0x26f113=0xce;}_0x1271d0['status'](_0x26f113);return _0x1271d0[_0x3071('0x22')](_0x3071('0x23'),_0x17dbda+'-'+_0x108a83+'/'+_0x5f3c22)[_0x3071('0x1d')](_0x1caa5d);}return null;};}function patchUpdates(_0x56c267){return function(_0xb8f4e3){try{jsonpatch['apply'](_0xb8f4e3,_0x56c267,!![]);}catch(_0x833074){return BPromise[_0x3071('0x24')](_0x833074);}return _0xb8f4e3[_0x3071('0x25')]();};}function saveUpdates(_0x457b57,_0x33090c){return function(_0x34c50e){if(_0x34c50e){return _0x34c50e[_0x3071('0x26')](_0x457b57)[_0x3071('0x27')](function(_0x542646){return _0x542646;});}return null;};}function removeEntity(_0x481a51,_0x2ce48a){return function(_0xb05b1d){if(_0xb05b1d){return _0xb05b1d[_0x3071('0x28')]()[_0x3071('0x27')](function(){_0x481a51[_0x3071('0x1b')](0xcc)[_0x3071('0x1c')]();});}};}function handleEntityNotFound(_0x7a4cb4,_0x1fe727){return function(_0x1de5fb){if(!_0x1de5fb){_0x7a4cb4['sendStatus'](0x194);}return _0x1de5fb;};}function handleError(_0x2e5f93,_0x3f1e6e){_0x3f1e6e=_0x3f1e6e||0x1f4;return function(_0x177138){logger['error'](_0x177138[_0x3071('0x29')]);if(_0x177138[_0x3071('0x2a')]){delete _0x177138[_0x3071('0x2a')];}_0x2e5f93[_0x3071('0x1b')](_0x3f1e6e)[_0x3071('0x2b')](_0x177138);};}exports[_0x3071('0x2c')]=function(_0x177b5f,_0x3921a1){var _0x32f1b4={},_0x292205={},_0x254fc8={'count':0x0,'rows':[]};var _0x5aba96=_['map'](db[_0x3071('0x2d')][_0x3071('0x2e')],function(_0x6ddf96){return{'name':_0x6ddf96[_0x3071('0x2f')],'type':_0x6ddf96[_0x3071('0x30')][_0x3071('0x31')]};});_0x292205[_0x3071('0x32')]=_[_0x3071('0x33')](_0x5aba96,'name');_0x292205['query']=_['keys'](_0x177b5f[_0x3071('0x34')]);_0x292205[_0x3071('0x35')]=_['intersection'](_0x292205[_0x3071('0x32')],_0x292205[_0x3071('0x34')]);_0x32f1b4[_0x3071('0x36')]=_[_0x3071('0x37')](_0x292205['model'],qs[_0x3071('0x38')](_0x177b5f[_0x3071('0x34')][_0x3071('0x38')]));_0x32f1b4[_0x3071('0x36')]=_0x32f1b4[_0x3071('0x36')][_0x3071('0x39')]?_0x32f1b4[_0x3071('0x36')]:_0x292205[_0x3071('0x32')];if(!_0x177b5f['query'][_0x3071('0x3a')]('nolimit')){_0x32f1b4['limit']=qs[_0x3071('0x20')](_0x177b5f[_0x3071('0x34')]['limit']);_0x32f1b4[_0x3071('0x1e')]=qs[_0x3071('0x1e')](_0x177b5f[_0x3071('0x34')][_0x3071('0x1e')]);}_0x32f1b4[_0x3071('0x3b')]=qs[_0x3071('0x3c')](_0x177b5f['query'][_0x3071('0x3c')]);_0x32f1b4[_0x3071('0x3d')]=qs['filters'](_[_0x3071('0x3e')](_0x177b5f['query'],_0x292205[_0x3071('0x35')]),_0x5aba96);if(_0x177b5f[_0x3071('0x34')]['filter']){_0x32f1b4['where']=_[_0x3071('0x3f')](_0x32f1b4[_0x3071('0x3d')],{'$or':_[_0x3071('0x33')](_0x5aba96,function(_0x55afa6){if(_0x55afa6[_0x3071('0x30')]!=='VIRTUAL'){var _0x1ac90a={};_0x1ac90a[_0x55afa6['name']]={'$like':'%'+_0x177b5f[_0x3071('0x34')][_0x3071('0x40')]+'%'};return _0x1ac90a;}})});}_0x32f1b4=_[_0x3071('0x3f')]({},_0x32f1b4,_0x177b5f[_0x3071('0x41')]);var _0x30ab68={'where':_0x32f1b4['where']};return db['WhatsappQueueReport'][_0x3071('0x21')](_0x30ab68)[_0x3071('0x27')](function(_0x1455be){_0x254fc8[_0x3071('0x21')]=_0x1455be;if(_0x177b5f['query'][_0x3071('0x42')]){_0x32f1b4[_0x3071('0x43')]=[{'all':!![]}];}return db[_0x3071('0x2d')][_0x3071('0x44')](_0x32f1b4);})[_0x3071('0x27')](function(_0xb9a4b8){_0x254fc8['rows']=_0xb9a4b8;return _0x254fc8;})[_0x3071('0x27')](respondWithFilteredResult(_0x3921a1,_0x32f1b4))['catch'](handleError(_0x3921a1,null));};exports['show']=function(_0x4dc9d1,_0x47ceaf){var _0x2992e6={'raw':!![],'where':{'id':_0x4dc9d1[_0x3071('0x45')]['id']}},_0x1be8b6={};_0x1be8b6[_0x3071('0x32')]=_[_0x3071('0x46')](db[_0x3071('0x2d')][_0x3071('0x2e')]);_0x1be8b6[_0x3071('0x34')]=_['keys'](_0x4dc9d1[_0x3071('0x34')]);_0x1be8b6[_0x3071('0x35')]=_[_0x3071('0x37')](_0x1be8b6[_0x3071('0x32')],_0x1be8b6[_0x3071('0x34')]);_0x2992e6['attributes']=_['intersection'](_0x1be8b6[_0x3071('0x32')],qs[_0x3071('0x38')](_0x4dc9d1[_0x3071('0x34')][_0x3071('0x38')]));_0x2992e6[_0x3071('0x36')]=_0x2992e6['attributes'][_0x3071('0x39')]?_0x2992e6['attributes']:_0x1be8b6[_0x3071('0x32')];if(_0x4dc9d1['query']['includeAll']){_0x2992e6[_0x3071('0x43')]=[{'all':!![]}];}_0x2992e6=_['merge']({},_0x2992e6,_0x4dc9d1[_0x3071('0x41')]);return db['WhatsappQueueReport'][_0x3071('0x47')](_0x2992e6)[_0x3071('0x27')](handleEntityNotFound(_0x47ceaf,null))[_0x3071('0x27')](respondWithResult(_0x47ceaf,null))[_0x3071('0x48')](handleError(_0x47ceaf,null));};exports['create']=function(_0x2d70bf,_0x575c12){return db[_0x3071('0x2d')]['create'](_0x2d70bf[_0x3071('0x49')],{})[_0x3071('0x27')](respondWithResult(_0x575c12,0xc9))['catch'](handleError(_0x575c12,null));};exports[_0x3071('0x26')]=function(_0x117e73,_0x224a70){if(_0x117e73[_0x3071('0x49')]['id']){delete _0x117e73[_0x3071('0x49')]['id'];}return db[_0x3071('0x2d')][_0x3071('0x47')]({'where':{'id':_0x117e73['params']['id']}})[_0x3071('0x27')](handleEntityNotFound(_0x224a70,null))[_0x3071('0x27')](saveUpdates(_0x117e73[_0x3071('0x49')],null))[_0x3071('0x27')](respondWithResult(_0x224a70,null))['catch'](handleError(_0x224a70,null));};exports[_0x3071('0x28')]=function(_0x2aea37,_0x1b832e){return db[_0x3071('0x2d')][_0x3071('0x47')]({'where':{'id':_0x2aea37[_0x3071('0x45')]['id']}})[_0x3071('0x27')](handleEntityNotFound(_0x1b832e,null))[_0x3071('0x27')](removeEntity(_0x1b832e,null))[_0x3071('0x48')](handleError(_0x1b832e,null));};exports[_0x3071('0x4a')]=function(_0x4371e7,_0x111115){return db[_0x3071('0x2d')][_0x3071('0x4a')]()[_0x3071('0x27')](respondWithResult(_0x111115,null))[_0x3071('0x48')](handleError(_0x111115,null));};
\ No newline at end of file