Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / smsQueueReport / smsQueueReport.controller.js
index 22fe116..15659c8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa929=['../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','update','then','destroy','end','error','name','map','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','filter','merge','where','VIRTUAL','options','SmsQueueReport','includeAll','include','findAll','rows','catch','show','params','create','body','find','describe','html-pdf','eml-format','rimraf','zip-dir','bluebird','util','path','to-csv','ejs','lodash','crypto','querystring','papaparse','../../components/auth/service'];(function(_0x845505,_0x19e5f3){var _0x2513b9=function(_0x10e7af){while(--_0x10e7af){_0x845505['push'](_0x845505['shift']());}};_0x2513b9(++_0x19e5f3);}(_0xa929,0x1a2));var _0x9a92=function(_0xaa76ad,_0x179c8b){_0xaa76ad=_0xaa76ad-0x0;var _0x362fad=_0xa929[_0xaa76ad];return _0x362fad;};'use strict';var pdf=require(_0x9a92('0x0'));var emlformat=require(_0x9a92('0x1'));var rimraf=require(_0x9a92('0x2'));var zipdir=require(_0x9a92('0x3'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x9a92('0x4'));var Mustache=require('mustache');var util=require(_0x9a92('0x5'));var path=require(_0x9a92('0x6'));var sox=require('sox');var csv=require(_0x9a92('0x7'));var ejs=require(_0x9a92('0x8'));var fs=require('fs');var _=require(_0x9a92('0x9'));var squel=require('squel');var crypto=require(_0x9a92('0xa'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x9a92('0x7'));var querystring=require(_0x9a92('0xb'));var Papa=require(_0x9a92('0xc'));var Redis=require('ioredis');var authService=require(_0x9a92('0xd'));var qs=require('../../components/parsers/qs');var as=require(_0x9a92('0xe'));var hardwareService=require(_0x9a92('0xf'));var logger=require(_0x9a92('0x10'))(_0x9a92('0x11'));var utils=require(_0x9a92('0x12'));var config=require(_0x9a92('0x13'));var licenseUtil=require(_0x9a92('0x14'));var db=require(_0x9a92('0x15'))['db'];function respondWithStatusCode(_0x3554a8,_0x376579){_0x376579=_0x376579||0xcc;return function(_0x3eda12){if(_0x3eda12){return _0x3554a8[_0x9a92('0x16')](_0x376579);}return _0x3554a8[_0x9a92('0x17')](_0x376579)['end']();};}function respondWithResult(_0x3617d2,_0x19d495){_0x19d495=_0x19d495||0xc8;return function(_0xaedd7d){if(_0xaedd7d){return _0x3617d2['status'](_0x19d495)[_0x9a92('0x18')](_0xaedd7d);}};}function respondWithFilteredResult(_0x40e5e4,_0x3e87a3){return function(_0x4165b7){if(_0x4165b7){var _0x371a27=_0x4165b7[_0x9a92('0x19')],_0x39bd4b=_0x3e87a3[_0x9a92('0x1a')],_0x45f31a=_0x3e87a3[_0x9a92('0x1a')]+_0x3e87a3[_0x9a92('0x1b')],_0x4c4f5f;if(_0x45f31a>=_0x371a27){_0x45f31a=_0x371a27;_0x4c4f5f=0xc8;}else{_0x4c4f5f=0xce;}_0x40e5e4[_0x9a92('0x17')](_0x4c4f5f);return _0x40e5e4[_0x9a92('0x1c')](_0x9a92('0x1d'),_0x39bd4b+'-'+_0x45f31a+'/'+_0x371a27)[_0x9a92('0x18')](_0x4165b7);}return null;};}function patchUpdates(_0xf08f00){return function(_0x370ad2){try{jsonpatch[_0x9a92('0x1e')](_0x370ad2,_0xf08f00,!![]);}catch(_0x32d165){return BPromise[_0x9a92('0x1f')](_0x32d165);}return _0x370ad2['save']();};}function saveUpdates(_0x69bc11,_0x1c74d3){return function(_0x4cc1ea){if(_0x4cc1ea){return _0x4cc1ea[_0x9a92('0x20')](_0x69bc11)[_0x9a92('0x21')](function(_0x1c329f){return _0x1c329f;});}return null;};}function removeEntity(_0x1fabd3,_0x281a97){return function(_0x4bacf2){if(_0x4bacf2){return _0x4bacf2[_0x9a92('0x22')]()[_0x9a92('0x21')](function(){_0x1fabd3['status'](0xcc)[_0x9a92('0x23')]();});}};}function handleEntityNotFound(_0x2ca548,_0x7edc93){return function(_0x49cb28){if(!_0x49cb28){_0x2ca548[_0x9a92('0x16')](0x194);}return _0x49cb28;};}function handleError(_0x1b96a4,_0x4d647d){_0x4d647d=_0x4d647d||0x1f4;return function(_0x5e882d){logger[_0x9a92('0x24')](_0x5e882d['stack']);if(_0x5e882d[_0x9a92('0x25')]){delete _0x5e882d['name'];}_0x1b96a4[_0x9a92('0x17')](_0x4d647d)['send'](_0x5e882d);};}exports['index']=function(_0x42695d,_0x2f9c4d){var _0x16e3c9={},_0x1f9882={},_0x22632e={'count':0x0,'rows':[]};var _0x246d55=_[_0x9a92('0x26')](db['SmsQueueReport'][_0x9a92('0x27')],function(_0x32dc40){return{'name':_0x32dc40[_0x9a92('0x28')],'type':_0x32dc40[_0x9a92('0x29')][_0x9a92('0x2a')]};});_0x1f9882[_0x9a92('0x2b')]=_[_0x9a92('0x26')](_0x246d55,_0x9a92('0x25'));_0x1f9882[_0x9a92('0x2c')]=_[_0x9a92('0x2d')](_0x42695d[_0x9a92('0x2c')]);_0x1f9882[_0x9a92('0x2e')]=_[_0x9a92('0x2f')](_0x1f9882[_0x9a92('0x2b')],_0x1f9882[_0x9a92('0x2c')]);_0x16e3c9[_0x9a92('0x30')]=_[_0x9a92('0x2f')](_0x1f9882[_0x9a92('0x2b')],qs[_0x9a92('0x31')](_0x42695d[_0x9a92('0x2c')]['fields']));_0x16e3c9[_0x9a92('0x30')]=_0x16e3c9['attributes'][_0x9a92('0x32')]?_0x16e3c9[_0x9a92('0x30')]:_0x1f9882['model'];if(!_0x42695d[_0x9a92('0x2c')][_0x9a92('0x33')](_0x9a92('0x34'))){_0x16e3c9[_0x9a92('0x1b')]=qs[_0x9a92('0x1b')](_0x42695d[_0x9a92('0x2c')][_0x9a92('0x1b')]);_0x16e3c9[_0x9a92('0x1a')]=qs[_0x9a92('0x1a')](_0x42695d[_0x9a92('0x2c')]['offset']);}_0x16e3c9[_0x9a92('0x35')]=qs[_0x9a92('0x36')](_0x42695d[_0x9a92('0x2c')][_0x9a92('0x36')]);_0x16e3c9['where']=qs['filters'](_['pick'](_0x42695d[_0x9a92('0x2c')],_0x1f9882[_0x9a92('0x2e')]),_0x246d55);if(_0x42695d['query'][_0x9a92('0x37')]){_0x16e3c9['where']=_[_0x9a92('0x38')](_0x16e3c9[_0x9a92('0x39')],{'$or':_[_0x9a92('0x26')](_0x246d55,function(_0x4aab94){if(_0x4aab94['type']!==_0x9a92('0x3a')){var _0x5ab21d={};_0x5ab21d[_0x4aab94[_0x9a92('0x25')]]={'$like':'%'+_0x42695d[_0x9a92('0x2c')][_0x9a92('0x37')]+'%'};return _0x5ab21d;}})});}_0x16e3c9=_[_0x9a92('0x38')]({},_0x16e3c9,_0x42695d[_0x9a92('0x3b')]);var _0x1b621a={'where':_0x16e3c9[_0x9a92('0x39')]};return db[_0x9a92('0x3c')][_0x9a92('0x19')](_0x1b621a)[_0x9a92('0x21')](function(_0x56ce0d){_0x22632e[_0x9a92('0x19')]=_0x56ce0d;if(_0x42695d[_0x9a92('0x2c')][_0x9a92('0x3d')]){_0x16e3c9[_0x9a92('0x3e')]=[{'all':!![]}];}return db[_0x9a92('0x3c')][_0x9a92('0x3f')](_0x16e3c9);})[_0x9a92('0x21')](function(_0x1facc3){_0x22632e[_0x9a92('0x40')]=_0x1facc3;return _0x22632e;})[_0x9a92('0x21')](respondWithFilteredResult(_0x2f9c4d,_0x16e3c9))[_0x9a92('0x41')](handleError(_0x2f9c4d,null));};exports[_0x9a92('0x42')]=function(_0x3aef6b,_0x111b98){var _0x454172={'raw':!![],'where':{'id':_0x3aef6b[_0x9a92('0x43')]['id']}},_0x26f407={};_0x26f407[_0x9a92('0x2b')]=_[_0x9a92('0x2d')](db[_0x9a92('0x3c')][_0x9a92('0x27')]);_0x26f407[_0x9a92('0x2c')]=_['keys'](_0x3aef6b[_0x9a92('0x2c')]);_0x26f407[_0x9a92('0x2e')]=_['intersection'](_0x26f407[_0x9a92('0x2b')],_0x26f407[_0x9a92('0x2c')]);_0x454172[_0x9a92('0x30')]=_[_0x9a92('0x2f')](_0x26f407['model'],qs[_0x9a92('0x31')](_0x3aef6b[_0x9a92('0x2c')][_0x9a92('0x31')]));_0x454172[_0x9a92('0x30')]=_0x454172[_0x9a92('0x30')][_0x9a92('0x32')]?_0x454172[_0x9a92('0x30')]:_0x26f407[_0x9a92('0x2b')];if(_0x3aef6b['query']['includeAll']){_0x454172[_0x9a92('0x3e')]=[{'all':!![]}];}_0x454172=_[_0x9a92('0x38')]({},_0x454172,_0x3aef6b[_0x9a92('0x3b')]);return db[_0x9a92('0x3c')]['find'](_0x454172)[_0x9a92('0x21')](handleEntityNotFound(_0x111b98,null))[_0x9a92('0x21')](respondWithResult(_0x111b98,null))[_0x9a92('0x41')](handleError(_0x111b98,null));};exports[_0x9a92('0x44')]=function(_0x3d0041,_0x49c576){return db[_0x9a92('0x3c')][_0x9a92('0x44')](_0x3d0041['body'],{})['then'](respondWithResult(_0x49c576,0xc9))[_0x9a92('0x41')](handleError(_0x49c576,null));};exports[_0x9a92('0x20')]=function(_0x3b033f,_0x348b94){if(_0x3b033f[_0x9a92('0x45')]['id']){delete _0x3b033f['body']['id'];}return db[_0x9a92('0x3c')][_0x9a92('0x46')]({'where':{'id':_0x3b033f[_0x9a92('0x43')]['id']}})[_0x9a92('0x21')](handleEntityNotFound(_0x348b94,null))['then'](saveUpdates(_0x3b033f['body'],null))[_0x9a92('0x21')](respondWithResult(_0x348b94,null))[_0x9a92('0x41')](handleError(_0x348b94,null));};exports[_0x9a92('0x22')]=function(_0x13f7dd,_0x4ea007){return db[_0x9a92('0x3c')]['find']({'where':{'id':_0x13f7dd[_0x9a92('0x43')]['id']}})[_0x9a92('0x21')](handleEntityNotFound(_0x4ea007,null))[_0x9a92('0x21')](removeEntity(_0x4ea007,null))[_0x9a92('0x41')](handleError(_0x4ea007,null));};exports['describe']=function(_0x46deed,_0x305db3){return db[_0x9a92('0x3c')][_0x9a92('0x47')]()['then'](respondWithResult(_0x305db3,null))['catch'](handleError(_0x305db3,null));};
\ No newline at end of file
+var _0x5cc1=['../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','undefined','limit','count','set','apply','save','update','then','error','stack','name','send','index','map','SmsQueueReport','type','key','model','query','keys','filters','attributes','intersection','fields','length','nolimit','offset','filter','where','merge','VIRTUAL','options','includeAll','include','rawAttributes','catch','create','body','find','destroy','params','describe','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api'];(function(_0x3074f3,_0x4f2c03){var _0x53f112=function(_0x4a17af){while(--_0x4a17af){_0x3074f3['push'](_0x3074f3['shift']());}};_0x53f112(++_0x4f2c03);}(_0x5cc1,0x199));var _0x15cc=function(_0x159f21,_0x520e2e){_0x159f21=_0x159f21-0x0;var _0x12beae=_0x5cc1[_0x159f21];return _0x12beae;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x15cc('0x0'));var zipdir=require(_0x15cc('0x1'));var jsonpatch=require(_0x15cc('0x2'));var rp=require(_0x15cc('0x3'));var moment=require(_0x15cc('0x4'));var BPromise=require(_0x15cc('0x5'));var Mustache=require(_0x15cc('0x6'));var util=require('util');var path=require('path');var sox=require(_0x15cc('0x7'));var csv=require(_0x15cc('0x8'));var ejs=require(_0x15cc('0x9'));var fs=require('fs');var fs_extra=require(_0x15cc('0xa'));var _=require(_0x15cc('0xb'));var squel=require(_0x15cc('0xc'));var crypto=require(_0x15cc('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x15cc('0xe'));var toCsv=require(_0x15cc('0x8'));var querystring=require(_0x15cc('0xf'));var Papa=require(_0x15cc('0x10'));var Redis=require('ioredis');var authService=require(_0x15cc('0x11'));var qs=require(_0x15cc('0x12'));var as=require(_0x15cc('0x13'));var hardwareService=require(_0x15cc('0x14'));var logger=require(_0x15cc('0x15'))(_0x15cc('0x16'));var utils=require(_0x15cc('0x17'));var config=require('../../config/environment');var licenseUtil=require(_0x15cc('0x18'));var db=require(_0x15cc('0x19'))['db'];function respondWithStatusCode(_0x18ca11,_0x309052){_0x309052=_0x309052||0xcc;return function(_0x42a9d6){if(_0x42a9d6){return _0x18ca11[_0x15cc('0x1a')](_0x309052);}return _0x18ca11[_0x15cc('0x1b')](_0x309052)[_0x15cc('0x1c')]();};}function respondWithResult(_0x1b5660,_0x5ab063){_0x5ab063=_0x5ab063||0xc8;return function(_0x28d00c){if(_0x28d00c){return _0x1b5660[_0x15cc('0x1b')](_0x5ab063)[_0x15cc('0x1d')](_0x28d00c);}};}function respondWithFilteredResult(_0x1df514,_0x413c1c){return function(_0x89f315){if(_0x89f315){var _0x552038=typeof _0x413c1c['offset']===_0x15cc('0x1e')&&typeof _0x413c1c[_0x15cc('0x1f')]===_0x15cc('0x1e');var _0x389e93=_0x89f315[_0x15cc('0x20')];var _0x535c2d=_0x552038?0x0:_0x413c1c['offset'];var _0x2eb3e3=_0x552038?_0x89f315['count']:_0x413c1c['offset']+_0x413c1c[_0x15cc('0x1f')];var _0x2b4031;if(_0x2eb3e3>=_0x389e93){_0x2eb3e3=_0x389e93;_0x2b4031=0xc8;}else{_0x2b4031=0xce;}_0x1df514[_0x15cc('0x1b')](_0x2b4031);return _0x1df514[_0x15cc('0x21')]('Content-Range',_0x535c2d+'-'+_0x2eb3e3+'/'+_0x389e93)[_0x15cc('0x1d')](_0x89f315);}return null;};}function patchUpdates(_0x2f0ff2){return function(_0x1f35c6){try{jsonpatch[_0x15cc('0x22')](_0x1f35c6,_0x2f0ff2,!![]);}catch(_0x5b6a32){return BPromise['reject'](_0x5b6a32);}return _0x1f35c6[_0x15cc('0x23')]();};}function saveUpdates(_0x33b75e,_0x20eadd){return function(_0x1d4d1f){if(_0x1d4d1f){return _0x1d4d1f[_0x15cc('0x24')](_0x33b75e)['then'](function(_0x4d7444){return _0x4d7444;});}return null;};}function removeEntity(_0x487b38,_0x279e77){return function(_0x1bb352){if(_0x1bb352){return _0x1bb352['destroy']()[_0x15cc('0x25')](function(){_0x487b38['status'](0xcc)[_0x15cc('0x1c')]();});}};}function handleEntityNotFound(_0xce17db,_0x59797e){return function(_0x23e036){if(!_0x23e036){_0xce17db[_0x15cc('0x1a')](0x194);}return _0x23e036;};}function handleError(_0xfaa348,_0xee7bb6){_0xee7bb6=_0xee7bb6||0x1f4;return function(_0xa67a9c){logger[_0x15cc('0x26')](_0xa67a9c[_0x15cc('0x27')]);if(_0xa67a9c[_0x15cc('0x28')]){delete _0xa67a9c[_0x15cc('0x28')];}_0xfaa348[_0x15cc('0x1b')](_0xee7bb6)[_0x15cc('0x29')](_0xa67a9c);};}exports[_0x15cc('0x2a')]=function(_0x35d137,_0x400ed8){var _0x503163={},_0x519746={},_0x3fe198={'count':0x0,'rows':[]};var _0x542dc7=_[_0x15cc('0x2b')](db[_0x15cc('0x2c')]['rawAttributes'],function(_0x3debfb){return{'name':_0x3debfb['fieldName'],'type':_0x3debfb[_0x15cc('0x2d')][_0x15cc('0x2e')]};});_0x519746[_0x15cc('0x2f')]=_['map'](_0x542dc7,_0x15cc('0x28'));_0x519746[_0x15cc('0x30')]=_[_0x15cc('0x31')](_0x35d137[_0x15cc('0x30')]);_0x519746[_0x15cc('0x32')]=_['intersection'](_0x519746['model'],_0x519746[_0x15cc('0x30')]);_0x503163[_0x15cc('0x33')]=_[_0x15cc('0x34')](_0x519746[_0x15cc('0x2f')],qs[_0x15cc('0x35')](_0x35d137['query'][_0x15cc('0x35')]));_0x503163['attributes']=_0x503163[_0x15cc('0x33')][_0x15cc('0x36')]?_0x503163[_0x15cc('0x33')]:_0x519746[_0x15cc('0x2f')];if(!_0x35d137['query']['hasOwnProperty'](_0x15cc('0x37'))){_0x503163[_0x15cc('0x1f')]=qs['limit'](_0x35d137['query'][_0x15cc('0x1f')]);_0x503163[_0x15cc('0x38')]=qs[_0x15cc('0x38')](_0x35d137[_0x15cc('0x30')][_0x15cc('0x38')]);}_0x503163['order']=qs['sort'](_0x35d137[_0x15cc('0x30')]['sort']);_0x503163['where']=qs[_0x15cc('0x32')](_['pick'](_0x35d137[_0x15cc('0x30')],_0x519746[_0x15cc('0x32')]),_0x542dc7);if(_0x35d137['query'][_0x15cc('0x39')]){_0x503163[_0x15cc('0x3a')]=_[_0x15cc('0x3b')](_0x503163[_0x15cc('0x3a')],{'$or':_[_0x15cc('0x2b')](_0x542dc7,function(_0x4ff4cb){if(_0x4ff4cb[_0x15cc('0x2d')]!==_0x15cc('0x3c')){var _0x7240b1={};_0x7240b1[_0x4ff4cb[_0x15cc('0x28')]]={'$like':'%'+_0x35d137[_0x15cc('0x30')]['filter']+'%'};return _0x7240b1;}})});}_0x503163=_[_0x15cc('0x3b')]({},_0x503163,_0x35d137[_0x15cc('0x3d')]);var _0x54ee91={'where':_0x503163[_0x15cc('0x3a')]};return db[_0x15cc('0x2c')][_0x15cc('0x20')](_0x54ee91)[_0x15cc('0x25')](function(_0x13b671){_0x3fe198[_0x15cc('0x20')]=_0x13b671;if(_0x35d137['query'][_0x15cc('0x3e')]){_0x503163[_0x15cc('0x3f')]=[{'all':!![]}];}return db[_0x15cc('0x2c')]['findAll'](_0x503163);})[_0x15cc('0x25')](function(_0x56d36f){_0x3fe198['rows']=_0x56d36f;return _0x3fe198;})[_0x15cc('0x25')](respondWithFilteredResult(_0x400ed8,_0x503163))['catch'](handleError(_0x400ed8,null));};exports['show']=function(_0x45bfa3,_0x4b8493){var _0x484c80={'raw':!![],'where':{'id':_0x45bfa3['params']['id']}},_0x377c7a={};_0x377c7a[_0x15cc('0x2f')]=_[_0x15cc('0x31')](db[_0x15cc('0x2c')][_0x15cc('0x40')]);_0x377c7a[_0x15cc('0x30')]=_[_0x15cc('0x31')](_0x45bfa3[_0x15cc('0x30')]);_0x377c7a[_0x15cc('0x32')]=_[_0x15cc('0x34')](_0x377c7a[_0x15cc('0x2f')],_0x377c7a[_0x15cc('0x30')]);_0x484c80[_0x15cc('0x33')]=_['intersection'](_0x377c7a['model'],qs[_0x15cc('0x35')](_0x45bfa3['query']['fields']));_0x484c80[_0x15cc('0x33')]=_0x484c80[_0x15cc('0x33')][_0x15cc('0x36')]?_0x484c80[_0x15cc('0x33')]:_0x377c7a[_0x15cc('0x2f')];if(_0x45bfa3['query'][_0x15cc('0x3e')]){_0x484c80[_0x15cc('0x3f')]=[{'all':!![]}];}_0x484c80=_[_0x15cc('0x3b')]({},_0x484c80,_0x45bfa3['options']);return db[_0x15cc('0x2c')]['find'](_0x484c80)['then'](handleEntityNotFound(_0x4b8493,null))[_0x15cc('0x25')](respondWithResult(_0x4b8493,null))[_0x15cc('0x41')](handleError(_0x4b8493,null));};exports[_0x15cc('0x42')]=function(_0x43c45e,_0x16e8e0){return db['SmsQueueReport'][_0x15cc('0x42')](_0x43c45e[_0x15cc('0x43')],{})[_0x15cc('0x25')](respondWithResult(_0x16e8e0,0xc9))[_0x15cc('0x41')](handleError(_0x16e8e0,null));};exports[_0x15cc('0x24')]=function(_0x5c7253,_0x1606b7){if(_0x5c7253[_0x15cc('0x43')]['id']){delete _0x5c7253[_0x15cc('0x43')]['id'];}return db[_0x15cc('0x2c')][_0x15cc('0x44')]({'where':{'id':_0x5c7253['params']['id']}})[_0x15cc('0x25')](handleEntityNotFound(_0x1606b7,null))[_0x15cc('0x25')](saveUpdates(_0x5c7253[_0x15cc('0x43')],null))[_0x15cc('0x25')](respondWithResult(_0x1606b7,null))['catch'](handleError(_0x1606b7,null));};exports[_0x15cc('0x45')]=function(_0x172ffd,_0x3b87c9){return db[_0x15cc('0x2c')]['find']({'where':{'id':_0x172ffd[_0x15cc('0x46')]['id']}})[_0x15cc('0x25')](handleEntityNotFound(_0x3b87c9,null))[_0x15cc('0x25')](removeEntity(_0x3b87c9,null))['catch'](handleError(_0x3b87c9,null));};exports[_0x15cc('0x47')]=function(_0x3e23a0,_0x17b054){return db[_0x15cc('0x2c')][_0x15cc('0x47')]()[_0x15cc('0x25')](respondWithResult(_0x17b054,null))['catch'](handleError(_0x17b054,null));};
\ No newline at end of file