Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / integrationReport / integrationReport.controller.js
index d34321a..a3bf8f7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4f09=['VIRTUAL','options','includeAll','include','findAll','catch','params','length','find','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','lodash','squel','crypto','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../mysqldb','sendStatus','end','status','json','count','offset','set','Content-Range','save','update','then','destroy','error','stack','name','send','index','IntegrationReport','rawAttributes','fieldName','key','map','query','keys','attributes','intersection','model','fields','nolimit','limit','sort','pick','filters','filter','where','merge','type'];(function(_0x1ff41c,_0x5c466e){var _0x471218=function(_0x1291b4){while(--_0x1291b4){_0x1ff41c['push'](_0x1ff41c['shift']());}};_0x471218(++_0x5c466e);}(_0x4f09,0x1c2));var _0x94f0=function(_0xcb4af1,_0x1284e4){_0xcb4af1=_0xcb4af1-0x0;var _0x582348=_0x4f09[_0xcb4af1];return _0x582348;};'use strict';var pdf=require(_0x94f0('0x0'));var emlformat=require(_0x94f0('0x1'));var rimraf=require(_0x94f0('0x2'));var zipdir=require(_0x94f0('0x3'));var jsonpatch=require(_0x94f0('0x4'));var rp=require(_0x94f0('0x5'));var moment=require(_0x94f0('0x6'));var BPromise=require(_0x94f0('0x7'));var Mustache=require(_0x94f0('0x8'));var util=require('util');var path=require(_0x94f0('0x9'));var sox=require(_0x94f0('0xa'));var csv=require(_0x94f0('0xb'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x94f0('0xc'));var squel=require(_0x94f0('0xd'));var crypto=require(_0x94f0('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x94f0('0xf'));var toCsv=require(_0x94f0('0xb'));var querystring=require(_0x94f0('0x10'));var Papa=require('papaparse');var Redis=require(_0x94f0('0x11'));var authService=require(_0x94f0('0x12'));var qs=require(_0x94f0('0x13'));var as=require(_0x94f0('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x94f0('0x15'))('api');var utils=require(_0x94f0('0x16'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0x94f0('0x17'))['db'];function respondWithStatusCode(_0x519ed0,_0x33c2e7){_0x33c2e7=_0x33c2e7||0xcc;return function(_0x1d2b5e){if(_0x1d2b5e){return _0x519ed0[_0x94f0('0x18')](_0x33c2e7);}return _0x519ed0['status'](_0x33c2e7)[_0x94f0('0x19')]();};}function respondWithResult(_0xc7a8ea,_0x3d6c2b){_0x3d6c2b=_0x3d6c2b||0xc8;return function(_0x4f5ffd){if(_0x4f5ffd){return _0xc7a8ea[_0x94f0('0x1a')](_0x3d6c2b)[_0x94f0('0x1b')](_0x4f5ffd);}};}function respondWithFilteredResult(_0x59d80,_0x2c3178){return function(_0x145b47){if(_0x145b47){var _0x190d49=_0x145b47[_0x94f0('0x1c')],_0x23b09d=_0x2c3178['offset'],_0x1d260c=_0x2c3178[_0x94f0('0x1d')]+_0x2c3178['limit'],_0xfc22e7;if(_0x1d260c>=_0x190d49){_0x1d260c=_0x190d49;_0xfc22e7=0xc8;}else{_0xfc22e7=0xce;}_0x59d80[_0x94f0('0x1a')](_0xfc22e7);return _0x59d80[_0x94f0('0x1e')](_0x94f0('0x1f'),_0x23b09d+'-'+_0x1d260c+'/'+_0x190d49)[_0x94f0('0x1b')](_0x145b47);}return null;};}function patchUpdates(_0x1387b2){return function(_0x5af7b3){try{jsonpatch['apply'](_0x5af7b3,_0x1387b2,!![]);}catch(_0x19ff41){return BPromise['reject'](_0x19ff41);}return _0x5af7b3[_0x94f0('0x20')]();};}function saveUpdates(_0x6d86b,_0x5557e8){return function(_0x53b335){if(_0x53b335){return _0x53b335[_0x94f0('0x21')](_0x6d86b)[_0x94f0('0x22')](function(_0x24e91a){return _0x24e91a;});}return null;};}function removeEntity(_0x26a463,_0x34b9fa){return function(_0x45c3f1){if(_0x45c3f1){return _0x45c3f1[_0x94f0('0x23')]()['then'](function(){_0x26a463['status'](0xcc)[_0x94f0('0x19')]();});}};}function handleEntityNotFound(_0x4ddde6,_0x19326f){return function(_0x3542c1){if(!_0x3542c1){_0x4ddde6[_0x94f0('0x18')](0x194);}return _0x3542c1;};}function handleError(_0x9e78f6,_0x5d6fba){_0x5d6fba=_0x5d6fba||0x1f4;return function(_0x5baefd){logger[_0x94f0('0x24')](_0x5baefd[_0x94f0('0x25')]);if(_0x5baefd[_0x94f0('0x26')]){delete _0x5baefd[_0x94f0('0x26')];}_0x9e78f6[_0x94f0('0x1a')](_0x5d6fba)[_0x94f0('0x27')](_0x5baefd);};}exports[_0x94f0('0x28')]=function(_0x211d15,_0x1bbd3e){var _0x1e96df={},_0x17f4c2={},_0x40225e={'count':0x0,'rows':[]};var _0x386ae1=_['map'](db[_0x94f0('0x29')][_0x94f0('0x2a')],function(_0x175c8f){return{'name':_0x175c8f[_0x94f0('0x2b')],'type':_0x175c8f['type'][_0x94f0('0x2c')]};});_0x17f4c2['model']=_[_0x94f0('0x2d')](_0x386ae1,'name');_0x17f4c2[_0x94f0('0x2e')]=_[_0x94f0('0x2f')](_0x211d15[_0x94f0('0x2e')]);_0x17f4c2['filters']=_['intersection'](_0x17f4c2['model'],_0x17f4c2[_0x94f0('0x2e')]);_0x1e96df[_0x94f0('0x30')]=_[_0x94f0('0x31')](_0x17f4c2[_0x94f0('0x32')],qs['fields'](_0x211d15[_0x94f0('0x2e')][_0x94f0('0x33')]));_0x1e96df[_0x94f0('0x30')]=_0x1e96df[_0x94f0('0x30')]['length']?_0x1e96df[_0x94f0('0x30')]:_0x17f4c2['model'];if(!_0x211d15[_0x94f0('0x2e')]['hasOwnProperty'](_0x94f0('0x34'))){_0x1e96df[_0x94f0('0x35')]=qs[_0x94f0('0x35')](_0x211d15['query']['limit']);_0x1e96df['offset']=qs[_0x94f0('0x1d')](_0x211d15[_0x94f0('0x2e')][_0x94f0('0x1d')]);}_0x1e96df['order']=qs[_0x94f0('0x36')](_0x211d15[_0x94f0('0x2e')][_0x94f0('0x36')]);_0x1e96df['where']=qs['filters'](_[_0x94f0('0x37')](_0x211d15[_0x94f0('0x2e')],_0x17f4c2[_0x94f0('0x38')]),_0x386ae1);if(_0x211d15[_0x94f0('0x2e')][_0x94f0('0x39')]){_0x1e96df[_0x94f0('0x3a')]=_[_0x94f0('0x3b')](_0x1e96df['where'],{'$or':_[_0x94f0('0x2d')](_0x386ae1,function(_0x1bfbaf){if(_0x1bfbaf[_0x94f0('0x3c')]!==_0x94f0('0x3d')){var _0x4faf66={};_0x4faf66[_0x1bfbaf['name']]={'$like':'%'+_0x211d15[_0x94f0('0x2e')][_0x94f0('0x39')]+'%'};return _0x4faf66;}})});}_0x1e96df=_[_0x94f0('0x3b')]({},_0x1e96df,_0x211d15[_0x94f0('0x3e')]);var _0x3b2125={'where':_0x1e96df[_0x94f0('0x3a')]};return db[_0x94f0('0x29')][_0x94f0('0x1c')](_0x3b2125)[_0x94f0('0x22')](function(_0x5c97dc){_0x40225e[_0x94f0('0x1c')]=_0x5c97dc;if(_0x211d15[_0x94f0('0x2e')][_0x94f0('0x3f')]){_0x1e96df[_0x94f0('0x40')]=[{'all':!![]}];}return db[_0x94f0('0x29')][_0x94f0('0x41')](_0x1e96df);})[_0x94f0('0x22')](function(_0xd82300){_0x40225e['rows']=_0xd82300;return _0x40225e;})['then'](respondWithFilteredResult(_0x1bbd3e,_0x1e96df))[_0x94f0('0x42')](handleError(_0x1bbd3e,null));};exports['show']=function(_0x519126,_0x4e2f12){var _0x5bb57c={'raw':![],'where':{'id':_0x519126[_0x94f0('0x43')]['id']}},_0x90bfbe={};_0x90bfbe['model']=_['keys'](db[_0x94f0('0x29')]['rawAttributes']);_0x90bfbe[_0x94f0('0x2e')]=_[_0x94f0('0x2f')](_0x519126['query']);_0x90bfbe['filters']=_['intersection'](_0x90bfbe[_0x94f0('0x32')],_0x90bfbe[_0x94f0('0x2e')]);_0x5bb57c[_0x94f0('0x30')]=_['intersection'](_0x90bfbe[_0x94f0('0x32')],qs[_0x94f0('0x33')](_0x519126[_0x94f0('0x2e')]['fields']));_0x5bb57c[_0x94f0('0x30')]=_0x5bb57c[_0x94f0('0x30')][_0x94f0('0x44')]?_0x5bb57c[_0x94f0('0x30')]:_0x90bfbe[_0x94f0('0x32')];if(_0x519126[_0x94f0('0x2e')][_0x94f0('0x3f')]){_0x5bb57c[_0x94f0('0x40')]=[{'all':!![]}];}_0x5bb57c=_['merge']({},_0x5bb57c,_0x519126[_0x94f0('0x3e')]);return db[_0x94f0('0x29')][_0x94f0('0x45')](_0x5bb57c)[_0x94f0('0x22')](handleEntityNotFound(_0x4e2f12,null))[_0x94f0('0x22')](respondWithResult(_0x4e2f12,null))[_0x94f0('0x42')](handleError(_0x4e2f12,null));};exports[_0x94f0('0x46')]=function(_0x51ddab,_0x105d8d){return db[_0x94f0('0x29')][_0x94f0('0x46')](_0x51ddab[_0x94f0('0x47')],{})['then'](respondWithResult(_0x105d8d,0xc9))[_0x94f0('0x42')](handleError(_0x105d8d,null));};exports[_0x94f0('0x21')]=function(_0x1d8c55,_0x4560a0){if(_0x1d8c55[_0x94f0('0x47')]['id']){delete _0x1d8c55[_0x94f0('0x47')]['id'];}return db[_0x94f0('0x29')][_0x94f0('0x45')]({'where':{'id':_0x1d8c55['params']['id']}})[_0x94f0('0x22')](handleEntityNotFound(_0x4560a0,null))[_0x94f0('0x22')](saveUpdates(_0x1d8c55[_0x94f0('0x47')],null))['then'](respondWithResult(_0x4560a0,null))[_0x94f0('0x42')](handleError(_0x4560a0,null));};exports[_0x94f0('0x23')]=function(_0x365bbd,_0x323007){return db[_0x94f0('0x29')][_0x94f0('0x45')]({'where':{'id':_0x365bbd[_0x94f0('0x43')]['id']}})[_0x94f0('0x22')](handleEntityNotFound(_0x323007,null))['then'](removeEntity(_0x323007,null))[_0x94f0('0x42')](handleError(_0x323007,null));};exports['describe']=function(_0x381935,_0x219ee6){return db['IntegrationReport'][_0x94f0('0x48')]()[_0x94f0('0x22')](respondWithResult(_0x219ee6,null))[_0x94f0('0x42')](handleError(_0x219ee6,null));};
\ No newline at end of file
+var _0xf3ae=['status','end','json','undefined','limit','count','offset','Content-Range','reject','save','then','error','name','send','index','map','key','model','keys','query','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','filters','pick','filter','where','merge','type','VIRTUAL','includeAll','findAll','rows','catch','show','params','IntegrationReport','rawAttributes','include','options','find','create','body','update','destroy','describe','eml-format','rimraf','bluebird','mustache','util','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','sendStatus'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf3ae,0xc7));var _0xef3a=function(_0x569174,_0x4b8716){_0x569174=_0x569174-0x0;var _0x48ab32=_0xf3ae[_0x569174];return _0x48ab32;};'use strict';var emlformat=require(_0xef3a('0x0'));var rimraf=require(_0xef3a('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xef3a('0x2'));var Mustache=require(_0xef3a('0x3'));var util=require(_0xef3a('0x4'));var path=require('path');var sox=require(_0xef3a('0x5'));var csv=require(_0xef3a('0x6'));var ejs=require(_0xef3a('0x7'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xef3a('0x8'));var squel=require('squel');var crypto=require(_0xef3a('0x9'));var jsforce=require(_0xef3a('0xa'));var deskjs=require(_0xef3a('0xb'));var toCsv=require('to-csv');var querystring=require(_0xef3a('0xc'));var Papa=require('papaparse');var Redis=require(_0xef3a('0xd'));var authService=require(_0xef3a('0xe'));var qs=require(_0xef3a('0xf'));var as=require(_0xef3a('0x10'));var hardwareService=require(_0xef3a('0x11'));var logger=require(_0xef3a('0x12'))('api');var utils=require(_0xef3a('0x13'));var config=require(_0xef3a('0x14'));var licenseUtil=require(_0xef3a('0x15'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4724de,_0x1f4c12){_0x1f4c12=_0x1f4c12||0xcc;return function(_0x4a0762){if(_0x4a0762){return _0x4724de[_0xef3a('0x16')](_0x1f4c12);}return _0x4724de[_0xef3a('0x17')](_0x1f4c12)[_0xef3a('0x18')]();};}function respondWithResult(_0x112429,_0x4a733f){_0x4a733f=_0x4a733f||0xc8;return function(_0x2f65f9){if(_0x2f65f9){return _0x112429[_0xef3a('0x17')](_0x4a733f)[_0xef3a('0x19')](_0x2f65f9);}};}function respondWithFilteredResult(_0x10ea6c,_0x4eb154){return function(_0x3bffd2){if(_0x3bffd2){var _0x50800a=typeof _0x4eb154['offset']===_0xef3a('0x1a')&&typeof _0x4eb154[_0xef3a('0x1b')]==='undefined';var _0x1b27ce=_0x3bffd2[_0xef3a('0x1c')];var _0x46cde0=_0x50800a?0x0:_0x4eb154[_0xef3a('0x1d')];var _0x21bda4=_0x50800a?_0x3bffd2[_0xef3a('0x1c')]:_0x4eb154[_0xef3a('0x1d')]+_0x4eb154[_0xef3a('0x1b')];var _0x1f5aaf;if(_0x21bda4>=_0x1b27ce){_0x21bda4=_0x1b27ce;_0x1f5aaf=0xc8;}else{_0x1f5aaf=0xce;}_0x10ea6c['status'](_0x1f5aaf);return _0x10ea6c['set'](_0xef3a('0x1e'),_0x46cde0+'-'+_0x21bda4+'/'+_0x1b27ce)[_0xef3a('0x19')](_0x3bffd2);}return null;};}function patchUpdates(_0x245736){return function(_0x2d7440){try{jsonpatch['apply'](_0x2d7440,_0x245736,!![]);}catch(_0x3a5560){return BPromise[_0xef3a('0x1f')](_0x3a5560);}return _0x2d7440[_0xef3a('0x20')]();};}function saveUpdates(_0x5fd583,_0x12dbed){return function(_0xcdaf56){if(_0xcdaf56){return _0xcdaf56['update'](_0x5fd583)[_0xef3a('0x21')](function(_0xbbbd72){return _0xbbbd72;});}return null;};}function removeEntity(_0x740950,_0x474a99){return function(_0x286ece){if(_0x286ece){return _0x286ece['destroy']()[_0xef3a('0x21')](function(){_0x740950['status'](0xcc)[_0xef3a('0x18')]();});}};}function handleEntityNotFound(_0x56d040,_0x168f4c){return function(_0x3e99ba){if(!_0x3e99ba){_0x56d040[_0xef3a('0x16')](0x194);}return _0x3e99ba;};}function handleError(_0x2029f0,_0x197502){_0x197502=_0x197502||0x1f4;return function(_0x3dacd9){logger[_0xef3a('0x22')](_0x3dacd9['stack']);if(_0x3dacd9[_0xef3a('0x23')]){delete _0x3dacd9[_0xef3a('0x23')];}_0x2029f0[_0xef3a('0x17')](_0x197502)[_0xef3a('0x24')](_0x3dacd9);};}exports[_0xef3a('0x25')]=function(_0x59c4db,_0x594134){var _0x317f56={},_0x7263b5={},_0x7835d={'count':0x0,'rows':[]};var _0x30c005=_[_0xef3a('0x26')](db['IntegrationReport']['rawAttributes'],function(_0x3112c9){return{'name':_0x3112c9['fieldName'],'type':_0x3112c9['type'][_0xef3a('0x27')]};});_0x7263b5[_0xef3a('0x28')]=_[_0xef3a('0x26')](_0x30c005,_0xef3a('0x23'));_0x7263b5['query']=_[_0xef3a('0x29')](_0x59c4db[_0xef3a('0x2a')]);_0x7263b5['filters']=_[_0xef3a('0x2b')](_0x7263b5['model'],_0x7263b5[_0xef3a('0x2a')]);_0x317f56[_0xef3a('0x2c')]=_['intersection'](_0x7263b5[_0xef3a('0x28')],qs[_0xef3a('0x2d')](_0x59c4db['query']['fields']));_0x317f56[_0xef3a('0x2c')]=_0x317f56[_0xef3a('0x2c')][_0xef3a('0x2e')]?_0x317f56[_0xef3a('0x2c')]:_0x7263b5[_0xef3a('0x28')];if(!_0x59c4db[_0xef3a('0x2a')][_0xef3a('0x2f')](_0xef3a('0x30'))){_0x317f56[_0xef3a('0x1b')]=qs['limit'](_0x59c4db[_0xef3a('0x2a')]['limit']);_0x317f56[_0xef3a('0x1d')]=qs[_0xef3a('0x1d')](_0x59c4db[_0xef3a('0x2a')][_0xef3a('0x1d')]);}_0x317f56[_0xef3a('0x31')]=qs['sort'](_0x59c4db['query'][_0xef3a('0x32')]);_0x317f56['where']=qs[_0xef3a('0x33')](_[_0xef3a('0x34')](_0x59c4db['query'],_0x7263b5[_0xef3a('0x33')]),_0x30c005);if(_0x59c4db[_0xef3a('0x2a')][_0xef3a('0x35')]){_0x317f56[_0xef3a('0x36')]=_[_0xef3a('0x37')](_0x317f56['where'],{'$or':_[_0xef3a('0x26')](_0x30c005,function(_0x5819d2){if(_0x5819d2[_0xef3a('0x38')]!==_0xef3a('0x39')){var _0x3feaa0={};_0x3feaa0[_0x5819d2[_0xef3a('0x23')]]={'$like':'%'+_0x59c4db[_0xef3a('0x2a')][_0xef3a('0x35')]+'%'};return _0x3feaa0;}})});}_0x317f56=_[_0xef3a('0x37')]({},_0x317f56,_0x59c4db['options']);var _0x55d5e5={'where':_0x317f56['where']};return db['IntegrationReport'][_0xef3a('0x1c')](_0x55d5e5)[_0xef3a('0x21')](function(_0x263352){_0x7835d[_0xef3a('0x1c')]=_0x263352;if(_0x59c4db['query'][_0xef3a('0x3a')]){_0x317f56['include']=[{'all':!![]}];}return db['IntegrationReport'][_0xef3a('0x3b')](_0x317f56);})[_0xef3a('0x21')](function(_0x1773d){_0x7835d[_0xef3a('0x3c')]=_0x1773d;return _0x7835d;})['then'](respondWithFilteredResult(_0x594134,_0x317f56))[_0xef3a('0x3d')](handleError(_0x594134,null));};exports[_0xef3a('0x3e')]=function(_0x130364,_0x4b6b79){var _0x198eea={'raw':![],'where':{'id':_0x130364[_0xef3a('0x3f')]['id']}},_0x1ed397={};_0x1ed397['model']=_[_0xef3a('0x29')](db[_0xef3a('0x40')][_0xef3a('0x41')]);_0x1ed397[_0xef3a('0x2a')]=_[_0xef3a('0x29')](_0x130364[_0xef3a('0x2a')]);_0x1ed397[_0xef3a('0x33')]=_[_0xef3a('0x2b')](_0x1ed397[_0xef3a('0x28')],_0x1ed397[_0xef3a('0x2a')]);_0x198eea[_0xef3a('0x2c')]=_[_0xef3a('0x2b')](_0x1ed397[_0xef3a('0x28')],qs[_0xef3a('0x2d')](_0x130364[_0xef3a('0x2a')][_0xef3a('0x2d')]));_0x198eea[_0xef3a('0x2c')]=_0x198eea['attributes'][_0xef3a('0x2e')]?_0x198eea[_0xef3a('0x2c')]:_0x1ed397[_0xef3a('0x28')];if(_0x130364['query'][_0xef3a('0x3a')]){_0x198eea[_0xef3a('0x42')]=[{'all':!![]}];}_0x198eea=_['merge']({},_0x198eea,_0x130364[_0xef3a('0x43')]);return db[_0xef3a('0x40')][_0xef3a('0x44')](_0x198eea)[_0xef3a('0x21')](handleEntityNotFound(_0x4b6b79,null))['then'](respondWithResult(_0x4b6b79,null))[_0xef3a('0x3d')](handleError(_0x4b6b79,null));};exports[_0xef3a('0x45')]=function(_0x5a76a5,_0x4e4209){return db[_0xef3a('0x40')][_0xef3a('0x45')](_0x5a76a5[_0xef3a('0x46')],{})[_0xef3a('0x21')](respondWithResult(_0x4e4209,0xc9))[_0xef3a('0x3d')](handleError(_0x4e4209,null));};exports[_0xef3a('0x47')]=function(_0xa8e069,_0x36b012){if(_0xa8e069['body']['id']){delete _0xa8e069[_0xef3a('0x46')]['id'];}return db[_0xef3a('0x40')][_0xef3a('0x44')]({'where':{'id':_0xa8e069[_0xef3a('0x3f')]['id']}})[_0xef3a('0x21')](handleEntityNotFound(_0x36b012,null))[_0xef3a('0x21')](saveUpdates(_0xa8e069[_0xef3a('0x46')],null))[_0xef3a('0x21')](respondWithResult(_0x36b012,null))['catch'](handleError(_0x36b012,null));};exports[_0xef3a('0x48')]=function(_0xd7f223,_0x3f6921){return db[_0xef3a('0x40')][_0xef3a('0x44')]({'where':{'id':_0xd7f223['params']['id']}})[_0xef3a('0x21')](handleEntityNotFound(_0x3f6921,null))['then'](removeEntity(_0x3f6921,null))[_0xef3a('0x3d')](handleError(_0x3f6921,null));};exports[_0xef3a('0x49')]=function(_0x5ee2f8,_0x23b881){return db[_0xef3a('0x40')][_0xef3a('0x49')]()[_0xef3a('0x21')](respondWithResult(_0x23b881,null))['catch'](handleError(_0x23b881,null));};
\ No newline at end of file