Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / smsTransferReport / smsTransferReport.controller.js
index 2422375..3d972ff 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb8ff=['find','create','body','describe','eml-format','rimraf','zip-dir','request-promise','moment','mustache','util','path','sox','to-csv','ejs','fs-extra','crypto','desk.js','papaparse','ioredis','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','json','offset','undefined','limit','count','set','update','then','destroy','end','error','stack','name','send','map','SmsTransferReport','rawAttributes','fieldName','type','model','keys','filters','intersection','query','attributes','fields','length','hasOwnProperty','order','sort','pick','filter','where','VIRTUAL','options','includeAll','findAll','catch','show','params','include'];(function(_0x21854e,_0x1a4cd1){var _0x209a2b=function(_0x191146){while(--_0x191146){_0x21854e['push'](_0x21854e['shift']());}};_0x209a2b(++_0x1a4cd1);}(_0xb8ff,0x196));var _0xfb8f=function(_0x4cf089,_0x24c0ca){_0x4cf089=_0x4cf089-0x0;var _0x12fe3e=_0xb8ff[_0x4cf089];return _0x12fe3e;};'use strict';var emlformat=require(_0xfb8f('0x0'));var rimraf=require(_0xfb8f('0x1'));var zipdir=require(_0xfb8f('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xfb8f('0x3'));var moment=require(_0xfb8f('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xfb8f('0x5'));var util=require(_0xfb8f('0x6'));var path=require(_0xfb8f('0x7'));var sox=require(_0xfb8f('0x8'));var csv=require(_0xfb8f('0x9'));var ejs=require(_0xfb8f('0xa'));var fs=require('fs');var fs_extra=require(_0xfb8f('0xb'));var _=require('lodash');var squel=require('squel');var crypto=require(_0xfb8f('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xfb8f('0xd'));var toCsv=require(_0xfb8f('0x9'));var querystring=require('querystring');var Papa=require(_0xfb8f('0xe'));var Redis=require(_0xfb8f('0xf'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0xfb8f('0x10'));var config=require(_0xfb8f('0x11'));var licenseUtil=require(_0xfb8f('0x12'));var db=require(_0xfb8f('0x13'))['db'];function respondWithStatusCode(_0x44e3d7,_0x5ea3a2){_0x5ea3a2=_0x5ea3a2||0xcc;return function(_0x3e9bb2){if(_0x3e9bb2){return _0x44e3d7[_0xfb8f('0x14')](_0x5ea3a2);}return _0x44e3d7[_0xfb8f('0x15')](_0x5ea3a2)['end']();};}function respondWithResult(_0x1674e5,_0x54a53d){_0x54a53d=_0x54a53d||0xc8;return function(_0x3bc0dd){if(_0x3bc0dd){return _0x1674e5[_0xfb8f('0x15')](_0x54a53d)[_0xfb8f('0x16')](_0x3bc0dd);}};}function respondWithFilteredResult(_0x5857cf,_0x124eee){return function(_0x25c9fd){if(_0x25c9fd){var _0x34b221=typeof _0x124eee[_0xfb8f('0x17')]===_0xfb8f('0x18')&&typeof _0x124eee[_0xfb8f('0x19')]===_0xfb8f('0x18');var _0x3d663b=_0x25c9fd[_0xfb8f('0x1a')];var _0x456aee=_0x34b221?0x0:_0x124eee['offset'];var _0x4228b2=_0x34b221?_0x25c9fd['count']:_0x124eee[_0xfb8f('0x17')]+_0x124eee[_0xfb8f('0x19')];var _0x140f16;if(_0x4228b2>=_0x3d663b){_0x4228b2=_0x3d663b;_0x140f16=0xc8;}else{_0x140f16=0xce;}_0x5857cf[_0xfb8f('0x15')](_0x140f16);return _0x5857cf[_0xfb8f('0x1b')]('Content-Range',_0x456aee+'-'+_0x4228b2+'/'+_0x3d663b)[_0xfb8f('0x16')](_0x25c9fd);}return null;};}function patchUpdates(_0x33257a){return function(_0x1299d4){try{jsonpatch['apply'](_0x1299d4,_0x33257a,!![]);}catch(_0x114984){return BPromise['reject'](_0x114984);}return _0x1299d4['save']();};}function saveUpdates(_0x24ff02,_0x39d17e){return function(_0x245acc){if(_0x245acc){return _0x245acc[_0xfb8f('0x1c')](_0x24ff02)[_0xfb8f('0x1d')](function(_0x473ea3){return _0x473ea3;});}return null;};}function removeEntity(_0x1e9428,_0x5c2dc8){return function(_0x3c9929){if(_0x3c9929){return _0x3c9929[_0xfb8f('0x1e')]()['then'](function(){_0x1e9428[_0xfb8f('0x15')](0xcc)[_0xfb8f('0x1f')]();});}};}function handleEntityNotFound(_0x4491da,_0x1fcc04){return function(_0x49797f){if(!_0x49797f){_0x4491da['sendStatus'](0x194);}return _0x49797f;};}function handleError(_0x8e9f86,_0x5720b4){_0x5720b4=_0x5720b4||0x1f4;return function(_0x216fd7){logger[_0xfb8f('0x20')](_0x216fd7[_0xfb8f('0x21')]);if(_0x216fd7[_0xfb8f('0x22')]){delete _0x216fd7[_0xfb8f('0x22')];}_0x8e9f86[_0xfb8f('0x15')](_0x5720b4)[_0xfb8f('0x23')](_0x216fd7);};}exports['index']=function(_0x466cd8,_0x53a42e){var _0x243cbe={},_0x29f424={},_0x5caf3d={'count':0x0,'rows':[]};var _0x113ec1=_[_0xfb8f('0x24')](db[_0xfb8f('0x25')][_0xfb8f('0x26')],function(_0x2195ae){return{'name':_0x2195ae[_0xfb8f('0x27')],'type':_0x2195ae[_0xfb8f('0x28')]['key']};});_0x29f424[_0xfb8f('0x29')]=_[_0xfb8f('0x24')](_0x113ec1,'name');_0x29f424['query']=_[_0xfb8f('0x2a')](_0x466cd8['query']);_0x29f424[_0xfb8f('0x2b')]=_[_0xfb8f('0x2c')](_0x29f424[_0xfb8f('0x29')],_0x29f424[_0xfb8f('0x2d')]);_0x243cbe[_0xfb8f('0x2e')]=_[_0xfb8f('0x2c')](_0x29f424[_0xfb8f('0x29')],qs[_0xfb8f('0x2f')](_0x466cd8[_0xfb8f('0x2d')][_0xfb8f('0x2f')]));_0x243cbe['attributes']=_0x243cbe[_0xfb8f('0x2e')][_0xfb8f('0x30')]?_0x243cbe['attributes']:_0x29f424[_0xfb8f('0x29')];if(!_0x466cd8['query'][_0xfb8f('0x31')]('nolimit')){_0x243cbe['limit']=qs[_0xfb8f('0x19')](_0x466cd8[_0xfb8f('0x2d')][_0xfb8f('0x19')]);_0x243cbe[_0xfb8f('0x17')]=qs['offset'](_0x466cd8['query'][_0xfb8f('0x17')]);}_0x243cbe[_0xfb8f('0x32')]=qs[_0xfb8f('0x33')](_0x466cd8[_0xfb8f('0x2d')]['sort']);_0x243cbe['where']=qs[_0xfb8f('0x2b')](_[_0xfb8f('0x34')](_0x466cd8[_0xfb8f('0x2d')],_0x29f424[_0xfb8f('0x2b')]),_0x113ec1);if(_0x466cd8[_0xfb8f('0x2d')][_0xfb8f('0x35')]){_0x243cbe['where']=_['merge'](_0x243cbe[_0xfb8f('0x36')],{'$or':_[_0xfb8f('0x24')](_0x113ec1,function(_0x5e90ea){if(_0x5e90ea[_0xfb8f('0x28')]!==_0xfb8f('0x37')){var _0x42302e={};_0x42302e[_0x5e90ea[_0xfb8f('0x22')]]={'$like':'%'+_0x466cd8[_0xfb8f('0x2d')]['filter']+'%'};return _0x42302e;}})});}_0x243cbe=_['merge']({},_0x243cbe,_0x466cd8[_0xfb8f('0x38')]);var _0x226833={'where':_0x243cbe['where']};return db[_0xfb8f('0x25')][_0xfb8f('0x1a')](_0x226833)[_0xfb8f('0x1d')](function(_0x197a6d){_0x5caf3d['count']=_0x197a6d;if(_0x466cd8[_0xfb8f('0x2d')][_0xfb8f('0x39')]){_0x243cbe['include']=[{'all':!![]}];}return db[_0xfb8f('0x25')][_0xfb8f('0x3a')](_0x243cbe);})['then'](function(_0x46304d){_0x5caf3d['rows']=_0x46304d;return _0x5caf3d;})[_0xfb8f('0x1d')](respondWithFilteredResult(_0x53a42e,_0x243cbe))[_0xfb8f('0x3b')](handleError(_0x53a42e,null));};exports[_0xfb8f('0x3c')]=function(_0x516840,_0x4c21e5){var _0xdff1d={'raw':!![],'where':{'id':_0x516840[_0xfb8f('0x3d')]['id']}},_0x3a56b6={};_0x3a56b6[_0xfb8f('0x29')]=_[_0xfb8f('0x2a')](db['SmsTransferReport']['rawAttributes']);_0x3a56b6[_0xfb8f('0x2d')]=_[_0xfb8f('0x2a')](_0x516840[_0xfb8f('0x2d')]);_0x3a56b6['filters']=_['intersection'](_0x3a56b6[_0xfb8f('0x29')],_0x3a56b6[_0xfb8f('0x2d')]);_0xdff1d['attributes']=_[_0xfb8f('0x2c')](_0x3a56b6['model'],qs[_0xfb8f('0x2f')](_0x516840['query'][_0xfb8f('0x2f')]));_0xdff1d[_0xfb8f('0x2e')]=_0xdff1d[_0xfb8f('0x2e')][_0xfb8f('0x30')]?_0xdff1d[_0xfb8f('0x2e')]:_0x3a56b6[_0xfb8f('0x29')];if(_0x516840[_0xfb8f('0x2d')][_0xfb8f('0x39')]){_0xdff1d[_0xfb8f('0x3e')]=[{'all':!![]}];}_0xdff1d=_['merge']({},_0xdff1d,_0x516840['options']);return db['SmsTransferReport'][_0xfb8f('0x3f')](_0xdff1d)[_0xfb8f('0x1d')](handleEntityNotFound(_0x4c21e5,null))['then'](respondWithResult(_0x4c21e5,null))[_0xfb8f('0x3b')](handleError(_0x4c21e5,null));};exports['create']=function(_0x404e44,_0x343e23){return db['SmsTransferReport'][_0xfb8f('0x40')](_0x404e44[_0xfb8f('0x41')],{})[_0xfb8f('0x1d')](respondWithResult(_0x343e23,0xc9))[_0xfb8f('0x3b')](handleError(_0x343e23,null));};exports['update']=function(_0x3828bc,_0x5f0779){if(_0x3828bc[_0xfb8f('0x41')]['id']){delete _0x3828bc[_0xfb8f('0x41')]['id'];}return db['SmsTransferReport'][_0xfb8f('0x3f')]({'where':{'id':_0x3828bc[_0xfb8f('0x3d')]['id']}})['then'](handleEntityNotFound(_0x5f0779,null))['then'](saveUpdates(_0x3828bc[_0xfb8f('0x41')],null))[_0xfb8f('0x1d')](respondWithResult(_0x5f0779,null))[_0xfb8f('0x3b')](handleError(_0x5f0779,null));};exports[_0xfb8f('0x1e')]=function(_0x5f57d3,_0x2de4c0){return db['SmsTransferReport']['find']({'where':{'id':_0x5f57d3['params']['id']}})[_0xfb8f('0x1d')](handleEntityNotFound(_0x2de4c0,null))[_0xfb8f('0x1d')](removeEntity(_0x2de4c0,null))[_0xfb8f('0x3b')](handleError(_0x2de4c0,null));};exports['describe']=function(_0x72e987,_0x223fc2){return db['SmsTransferReport'][_0xfb8f('0x42')]()[_0xfb8f('0x1d')](respondWithResult(_0x223fc2,null))['catch'](handleError(_0x223fc2,null));};
\ No newline at end of file
+var _0x30f3=['key','model','keys','query','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','merge','where','VIRTUAL','filter','options','then','SmsTransferReport','findAll','rows','catch','show','params','include','find','create','body','update','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','offset','limit','undefined','count','set','Content-Range','apply','reject','save','destroy','error','stack','name','send','index','map','rawAttributes','type'];(function(_0x2d53ce,_0x33c348){var _0x322a86=function(_0x40b2a5){while(--_0x40b2a5){_0x2d53ce['push'](_0x2d53ce['shift']());}};_0x322a86(++_0x33c348);}(_0x30f3,0x1e0));var _0x330f=function(_0x3cafb8,_0x32860e){_0x3cafb8=_0x3cafb8-0x0;var _0x4b7f85=_0x30f3[_0x3cafb8];return _0x4b7f85;};'use strict';var emlformat=require(_0x330f('0x0'));var rimraf=require(_0x330f('0x1'));var zipdir=require(_0x330f('0x2'));var jsonpatch=require(_0x330f('0x3'));var rp=require('request-promise');var moment=require(_0x330f('0x4'));var BPromise=require(_0x330f('0x5'));var Mustache=require(_0x330f('0x6'));var util=require(_0x330f('0x7'));var path=require('path');var sox=require(_0x330f('0x8'));var csv=require(_0x330f('0x9'));var ejs=require(_0x330f('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x330f('0xb'));var squel=require(_0x330f('0xc'));var crypto=require(_0x330f('0xd'));var jsforce=require(_0x330f('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x330f('0x9'));var querystring=require(_0x330f('0xf'));var Papa=require(_0x330f('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x330f('0x11'));var hardwareService=require(_0x330f('0x12'));var logger=require(_0x330f('0x13'))(_0x330f('0x14'));var utils=require(_0x330f('0x15'));var config=require(_0x330f('0x16'));var licenseUtil=require(_0x330f('0x17'));var db=require(_0x330f('0x18'))['db'];function respondWithStatusCode(_0x9717ed,_0x476f13){_0x476f13=_0x476f13||0xcc;return function(_0x14bfb8){if(_0x14bfb8){return _0x9717ed[_0x330f('0x19')](_0x476f13);}return _0x9717ed[_0x330f('0x1a')](_0x476f13)['end']();};}function respondWithResult(_0x42d615,_0x5461c0){_0x5461c0=_0x5461c0||0xc8;return function(_0x4756be){if(_0x4756be){return _0x42d615[_0x330f('0x1a')](_0x5461c0)['json'](_0x4756be);}};}function respondWithFilteredResult(_0x45d252,_0x193f86){return function(_0xfc4e4b){if(_0xfc4e4b){var _0x42e080=typeof _0x193f86[_0x330f('0x1b')]==='undefined'&&typeof _0x193f86[_0x330f('0x1c')]===_0x330f('0x1d');var _0x2136fd=_0xfc4e4b[_0x330f('0x1e')];var _0x44a8bf=_0x42e080?0x0:_0x193f86['offset'];var _0x7281dc=_0x42e080?_0xfc4e4b[_0x330f('0x1e')]:_0x193f86[_0x330f('0x1b')]+_0x193f86['limit'];var _0x1d7995;if(_0x7281dc>=_0x2136fd){_0x7281dc=_0x2136fd;_0x1d7995=0xc8;}else{_0x1d7995=0xce;}_0x45d252['status'](_0x1d7995);return _0x45d252[_0x330f('0x1f')](_0x330f('0x20'),_0x44a8bf+'-'+_0x7281dc+'/'+_0x2136fd)['json'](_0xfc4e4b);}return null;};}function patchUpdates(_0x1182b5){return function(_0x42c4c8){try{jsonpatch[_0x330f('0x21')](_0x42c4c8,_0x1182b5,!![]);}catch(_0x9d669a){return BPromise[_0x330f('0x22')](_0x9d669a);}return _0x42c4c8[_0x330f('0x23')]();};}function saveUpdates(_0x60595,_0x143856){return function(_0x5e907e){if(_0x5e907e){return _0x5e907e['update'](_0x60595)['then'](function(_0x4714c1){return _0x4714c1;});}return null;};}function removeEntity(_0xfc3d65,_0x3a147f){return function(_0x541d96){if(_0x541d96){return _0x541d96[_0x330f('0x24')]()['then'](function(){_0xfc3d65[_0x330f('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1f1b45,_0x3257fc){return function(_0x25f67f){if(!_0x25f67f){_0x1f1b45[_0x330f('0x19')](0x194);}return _0x25f67f;};}function handleError(_0x59d082,_0x216be8){_0x216be8=_0x216be8||0x1f4;return function(_0x1e1e24){logger[_0x330f('0x25')](_0x1e1e24[_0x330f('0x26')]);if(_0x1e1e24[_0x330f('0x27')]){delete _0x1e1e24[_0x330f('0x27')];}_0x59d082[_0x330f('0x1a')](_0x216be8)[_0x330f('0x28')](_0x1e1e24);};}exports[_0x330f('0x29')]=function(_0x164ba1,_0x134205){var _0xb474e8={},_0x17944f={},_0x59db4a={'count':0x0,'rows':[]};var _0x42183c=_[_0x330f('0x2a')](db['SmsTransferReport'][_0x330f('0x2b')],function(_0x2126c3){return{'name':_0x2126c3['fieldName'],'type':_0x2126c3[_0x330f('0x2c')][_0x330f('0x2d')]};});_0x17944f[_0x330f('0x2e')]=_['map'](_0x42183c,_0x330f('0x27'));_0x17944f['query']=_[_0x330f('0x2f')](_0x164ba1[_0x330f('0x30')]);_0x17944f[_0x330f('0x31')]=_[_0x330f('0x32')](_0x17944f[_0x330f('0x2e')],_0x17944f[_0x330f('0x30')]);_0xb474e8[_0x330f('0x33')]=_[_0x330f('0x32')](_0x17944f[_0x330f('0x2e')],qs[_0x330f('0x34')](_0x164ba1['query'][_0x330f('0x34')]));_0xb474e8[_0x330f('0x33')]=_0xb474e8[_0x330f('0x33')][_0x330f('0x35')]?_0xb474e8['attributes']:_0x17944f[_0x330f('0x2e')];if(!_0x164ba1[_0x330f('0x30')][_0x330f('0x36')]('nolimit')){_0xb474e8[_0x330f('0x1c')]=qs[_0x330f('0x1c')](_0x164ba1[_0x330f('0x30')][_0x330f('0x1c')]);_0xb474e8[_0x330f('0x1b')]=qs[_0x330f('0x1b')](_0x164ba1[_0x330f('0x30')][_0x330f('0x1b')]);}_0xb474e8[_0x330f('0x37')]=qs[_0x330f('0x38')](_0x164ba1['query']['sort']);_0xb474e8['where']=qs[_0x330f('0x31')](_['pick'](_0x164ba1[_0x330f('0x30')],_0x17944f[_0x330f('0x31')]),_0x42183c);if(_0x164ba1[_0x330f('0x30')]['filter']){_0xb474e8['where']=_[_0x330f('0x39')](_0xb474e8[_0x330f('0x3a')],{'$or':_[_0x330f('0x2a')](_0x42183c,function(_0x4fc6e3){if(_0x4fc6e3['type']!==_0x330f('0x3b')){var _0xfac51f={};_0xfac51f[_0x4fc6e3[_0x330f('0x27')]]={'$like':'%'+_0x164ba1[_0x330f('0x30')][_0x330f('0x3c')]+'%'};return _0xfac51f;}})});}_0xb474e8=_['merge']({},_0xb474e8,_0x164ba1[_0x330f('0x3d')]);var _0x2e63c6={'where':_0xb474e8['where']};return db['SmsTransferReport'][_0x330f('0x1e')](_0x2e63c6)[_0x330f('0x3e')](function(_0x2a2b0a){_0x59db4a[_0x330f('0x1e')]=_0x2a2b0a;if(_0x164ba1[_0x330f('0x30')]['includeAll']){_0xb474e8['include']=[{'all':!![]}];}return db[_0x330f('0x3f')][_0x330f('0x40')](_0xb474e8);})['then'](function(_0x52a8f0){_0x59db4a[_0x330f('0x41')]=_0x52a8f0;return _0x59db4a;})[_0x330f('0x3e')](respondWithFilteredResult(_0x134205,_0xb474e8))[_0x330f('0x42')](handleError(_0x134205,null));};exports[_0x330f('0x43')]=function(_0x15bbfe,_0x2bacb3){var _0x337fff={'raw':!![],'where':{'id':_0x15bbfe[_0x330f('0x44')]['id']}},_0x56e277={};_0x56e277[_0x330f('0x2e')]=_[_0x330f('0x2f')](db[_0x330f('0x3f')][_0x330f('0x2b')]);_0x56e277['query']=_[_0x330f('0x2f')](_0x15bbfe[_0x330f('0x30')]);_0x56e277[_0x330f('0x31')]=_[_0x330f('0x32')](_0x56e277['model'],_0x56e277['query']);_0x337fff[_0x330f('0x33')]=_[_0x330f('0x32')](_0x56e277['model'],qs[_0x330f('0x34')](_0x15bbfe[_0x330f('0x30')][_0x330f('0x34')]));_0x337fff['attributes']=_0x337fff['attributes'][_0x330f('0x35')]?_0x337fff[_0x330f('0x33')]:_0x56e277[_0x330f('0x2e')];if(_0x15bbfe[_0x330f('0x30')]['includeAll']){_0x337fff[_0x330f('0x45')]=[{'all':!![]}];}_0x337fff=_['merge']({},_0x337fff,_0x15bbfe['options']);return db['SmsTransferReport'][_0x330f('0x46')](_0x337fff)[_0x330f('0x3e')](handleEntityNotFound(_0x2bacb3,null))[_0x330f('0x3e')](respondWithResult(_0x2bacb3,null))['catch'](handleError(_0x2bacb3,null));};exports[_0x330f('0x47')]=function(_0x4ced47,_0x2921b2){return db[_0x330f('0x3f')][_0x330f('0x47')](_0x4ced47[_0x330f('0x48')],{})[_0x330f('0x3e')](respondWithResult(_0x2921b2,0xc9))[_0x330f('0x42')](handleError(_0x2921b2,null));};exports[_0x330f('0x49')]=function(_0x4c29e6,_0x148327){if(_0x4c29e6[_0x330f('0x48')]['id']){delete _0x4c29e6[_0x330f('0x48')]['id'];}return db[_0x330f('0x3f')][_0x330f('0x46')]({'where':{'id':_0x4c29e6[_0x330f('0x44')]['id']}})[_0x330f('0x3e')](handleEntityNotFound(_0x148327,null))[_0x330f('0x3e')](saveUpdates(_0x4c29e6['body'],null))[_0x330f('0x3e')](respondWithResult(_0x148327,null))['catch'](handleError(_0x148327,null));};exports['destroy']=function(_0xe2d07b,_0x3e0741){return db['SmsTransferReport']['find']({'where':{'id':_0xe2d07b[_0x330f('0x44')]['id']}})['then'](handleEntityNotFound(_0x3e0741,null))[_0x330f('0x3e')](removeEntity(_0x3e0741,null))[_0x330f('0x42')](handleError(_0x3e0741,null));};exports[_0x330f('0x4a')]=function(_0x28c290,_0x216b84){return db[_0x330f('0x3f')][_0x330f('0x4a')]()[_0x330f('0x3e')](respondWithResult(_0x216b84,null))[_0x330f('0x42')](handleError(_0x216b84,null));};
\ No newline at end of file