Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / voiceAgentReport / voiceAgentReport.controller.js
index 9a83b53..f645167 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x389d=['bluebird','mustache','util','path','to-csv','lodash','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/environment','../../mysqldb','sendStatus','end','status','count','limit','set','Content-Range','json','apply','reject','update','then','stack','name','send','map','fieldName','key','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','offset','sort','pick','where','type','VIRTUAL','merge','VoiceAgentReport','includeAll','include','findAll','rows','catch','params','rawAttributes','find','create','body','destroy','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment'];(function(_0x50eefa,_0x11f515){var _0x27a7db=function(_0x18e29e){while(--_0x18e29e){_0x50eefa['push'](_0x50eefa['shift']());}};_0x27a7db(++_0x11f515);}(_0x389d,0x14e));var _0xd389=function(_0x5575cd,_0x73ab7a){_0x5575cd=_0x5575cd-0x0;var _0x4979a0=_0x389d[_0x5575cd];return _0x4979a0;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xd389('0x0'));var rimraf=require(_0xd389('0x1'));var zipdir=require(_0xd389('0x2'));var jsonpatch=require(_0xd389('0x3'));var rp=require(_0xd389('0x4'));var moment=require(_0xd389('0x5'));var BPromise=require(_0xd389('0x6'));var Mustache=require(_0xd389('0x7'));var util=require(_0xd389('0x8'));var path=require(_0xd389('0x9'));var sox=require('sox');var csv=require(_0xd389('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xd389('0xb'));var squel=require('squel');var crypto=require(_0xd389('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xd389('0xd'));var toCsv=require(_0xd389('0xa'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xd389('0xe'));var authService=require(_0xd389('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0xd389('0x10'));var hardwareService=require(_0xd389('0x11'));var logger=require(_0xd389('0x12'))('api');var utils=require('../../config/utils');var config=require(_0xd389('0x13'));var licenseUtil=require('../../config/license/util');var db=require(_0xd389('0x14'))['db'];function respondWithStatusCode(_0x48457f,_0x38aca9){_0x38aca9=_0x38aca9||0xcc;return function(_0x20f5b2){if(_0x20f5b2){return _0x48457f[_0xd389('0x15')](_0x38aca9);}return _0x48457f['status'](_0x38aca9)[_0xd389('0x16')]();};}function respondWithResult(_0x4111f2,_0x83f830){_0x83f830=_0x83f830||0xc8;return function(_0x19af98){if(_0x19af98){return _0x4111f2[_0xd389('0x17')](_0x83f830)['json'](_0x19af98);}};}function respondWithFilteredResult(_0x2097ce,_0x5b05a7){return function(_0x26e70b){if(_0x26e70b){var _0x25ebc7=_0x26e70b[_0xd389('0x18')],_0x19a78b=_0x5b05a7['offset'],_0x1e0bf9=_0x5b05a7['offset']+_0x5b05a7[_0xd389('0x19')],_0x1aaca5;if(_0x1e0bf9>=_0x25ebc7){_0x1e0bf9=_0x25ebc7;_0x1aaca5=0xc8;}else{_0x1aaca5=0xce;}_0x2097ce[_0xd389('0x17')](_0x1aaca5);return _0x2097ce[_0xd389('0x1a')](_0xd389('0x1b'),_0x19a78b+'-'+_0x1e0bf9+'/'+_0x25ebc7)[_0xd389('0x1c')](_0x26e70b);}return null;};}function patchUpdates(_0x4d82a1){return function(_0x1ccc4a){try{jsonpatch[_0xd389('0x1d')](_0x1ccc4a,_0x4d82a1,!![]);}catch(_0x7a4fc8){return BPromise[_0xd389('0x1e')](_0x7a4fc8);}return _0x1ccc4a['save']();};}function saveUpdates(_0xc431df,_0x28b939){return function(_0x57f529){if(_0x57f529){return _0x57f529[_0xd389('0x1f')](_0xc431df)['then'](function(_0x5bc980){return _0x5bc980;});}return null;};}function removeEntity(_0x3f0ac3,_0x455ded){return function(_0x301b64){if(_0x301b64){return _0x301b64['destroy']()[_0xd389('0x20')](function(){_0x3f0ac3[_0xd389('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0xeaa4ff,_0x40f994){return function(_0x2d7e94){if(!_0x2d7e94){_0xeaa4ff[_0xd389('0x15')](0x194);}return _0x2d7e94;};}function handleError(_0x17fd73,_0x4e399a){_0x4e399a=_0x4e399a||0x1f4;return function(_0x2ea009){logger['error'](_0x2ea009[_0xd389('0x21')]);if(_0x2ea009[_0xd389('0x22')]){delete _0x2ea009[_0xd389('0x22')];}_0x17fd73[_0xd389('0x17')](_0x4e399a)[_0xd389('0x23')](_0x2ea009);};}exports['index']=function(_0x14a1b4,_0x267da9){var _0x486d07={},_0x4cd5d3={},_0x259a12={'count':0x0,'rows':[]};var _0x26bc80=_[_0xd389('0x24')](db['VoiceAgentReport']['rawAttributes'],function(_0x20b8f8){return{'name':_0x20b8f8[_0xd389('0x25')],'type':_0x20b8f8['type'][_0xd389('0x26')]};});_0x4cd5d3[_0xd389('0x27')]=_[_0xd389('0x24')](_0x26bc80,_0xd389('0x22'));_0x4cd5d3[_0xd389('0x28')]=_[_0xd389('0x29')](_0x14a1b4['query']);_0x4cd5d3[_0xd389('0x2a')]=_[_0xd389('0x2b')](_0x4cd5d3[_0xd389('0x27')],_0x4cd5d3[_0xd389('0x28')]);_0x486d07['attributes']=_[_0xd389('0x2b')](_0x4cd5d3[_0xd389('0x27')],qs[_0xd389('0x2c')](_0x14a1b4[_0xd389('0x28')]['fields']));_0x486d07[_0xd389('0x2d')]=_0x486d07[_0xd389('0x2d')]['length']?_0x486d07[_0xd389('0x2d')]:_0x4cd5d3['model'];if(!_0x14a1b4[_0xd389('0x28')][_0xd389('0x2e')](_0xd389('0x2f'))){_0x486d07[_0xd389('0x19')]=qs[_0xd389('0x19')](_0x14a1b4[_0xd389('0x28')][_0xd389('0x19')]);_0x486d07[_0xd389('0x30')]=qs['offset'](_0x14a1b4[_0xd389('0x28')][_0xd389('0x30')]);}_0x486d07['order']=qs[_0xd389('0x31')](_0x14a1b4[_0xd389('0x28')][_0xd389('0x31')]);_0x486d07['where']=qs[_0xd389('0x2a')](_[_0xd389('0x32')](_0x14a1b4[_0xd389('0x28')],_0x4cd5d3[_0xd389('0x2a')]),_0x26bc80);if(_0x14a1b4[_0xd389('0x28')]['filter']){_0x486d07[_0xd389('0x33')]=_['merge'](_0x486d07[_0xd389('0x33')],{'$or':_[_0xd389('0x24')](_0x26bc80,function(_0xc36d18){if(_0xc36d18[_0xd389('0x34')]!==_0xd389('0x35')){var _0x54ebfa={};_0x54ebfa[_0xc36d18[_0xd389('0x22')]]={'$like':'%'+_0x14a1b4[_0xd389('0x28')]['filter']+'%'};return _0x54ebfa;}})});}_0x486d07=_[_0xd389('0x36')]({},_0x486d07,_0x14a1b4['options']);var _0x2fb235={'where':_0x486d07[_0xd389('0x33')]};return db[_0xd389('0x37')][_0xd389('0x18')](_0x2fb235)[_0xd389('0x20')](function(_0x28c21b){_0x259a12[_0xd389('0x18')]=_0x28c21b;if(_0x14a1b4[_0xd389('0x28')][_0xd389('0x38')]){_0x486d07[_0xd389('0x39')]=[{'all':!![]}];}return db[_0xd389('0x37')][_0xd389('0x3a')](_0x486d07);})[_0xd389('0x20')](function(_0xfbd572){_0x259a12[_0xd389('0x3b')]=_0xfbd572;return _0x259a12;})['then'](respondWithFilteredResult(_0x267da9,_0x486d07))[_0xd389('0x3c')](handleError(_0x267da9,null));};exports['show']=function(_0x5c987f,_0xd74553){var _0x23ef37={'raw':![],'where':{'id':_0x5c987f[_0xd389('0x3d')]['id']}},_0x2ec307={};_0x2ec307['model']=_['keys'](db[_0xd389('0x37')][_0xd389('0x3e')]);_0x2ec307[_0xd389('0x28')]=_['keys'](_0x5c987f[_0xd389('0x28')]);_0x2ec307[_0xd389('0x2a')]=_[_0xd389('0x2b')](_0x2ec307[_0xd389('0x27')],_0x2ec307[_0xd389('0x28')]);_0x23ef37['attributes']=_[_0xd389('0x2b')](_0x2ec307[_0xd389('0x27')],qs[_0xd389('0x2c')](_0x5c987f[_0xd389('0x28')][_0xd389('0x2c')]));_0x23ef37[_0xd389('0x2d')]=_0x23ef37['attributes']['length']?_0x23ef37[_0xd389('0x2d')]:_0x2ec307[_0xd389('0x27')];if(_0x5c987f[_0xd389('0x28')][_0xd389('0x38')]){_0x23ef37[_0xd389('0x39')]=[{'all':!![]}];}_0x23ef37=_[_0xd389('0x36')]({},_0x23ef37,_0x5c987f['options']);return db[_0xd389('0x37')][_0xd389('0x3f')](_0x23ef37)[_0xd389('0x20')](handleEntityNotFound(_0xd74553,null))[_0xd389('0x20')](respondWithResult(_0xd74553,null))[_0xd389('0x3c')](handleError(_0xd74553,null));};exports[_0xd389('0x40')]=function(_0x3c15d0,_0x3473bf){return db[_0xd389('0x37')]['create'](_0x3c15d0[_0xd389('0x41')],{})[_0xd389('0x20')](respondWithResult(_0x3473bf,0xc9))[_0xd389('0x3c')](handleError(_0x3473bf,null));};exports['update']=function(_0x45a054,_0x20f1fe){if(_0x45a054[_0xd389('0x41')]['id']){delete _0x45a054[_0xd389('0x41')]['id'];}return db['VoiceAgentReport'][_0xd389('0x3f')]({'where':{'id':_0x45a054[_0xd389('0x3d')]['id']}})['then'](handleEntityNotFound(_0x20f1fe,null))[_0xd389('0x20')](saveUpdates(_0x45a054['body'],null))['then'](respondWithResult(_0x20f1fe,null))['catch'](handleError(_0x20f1fe,null));};exports[_0xd389('0x42')]=function(_0x5df2d1,_0x13f913){return db['VoiceAgentReport'][_0xd389('0x3f')]({'where':{'id':_0x5df2d1['params']['id']}})['then'](handleEntityNotFound(_0x13f913,null))[_0xd389('0x20')](removeEntity(_0x13f913,null))[_0xd389('0x3c')](handleError(_0x13f913,null));};exports[_0xd389('0x43')]=function(_0x5817cd,_0x4fbace){return db[_0xd389('0x37')][_0xd389('0x43')]()[_0xd389('0x20')](respondWithResult(_0x4fbace,null))[_0xd389('0x3c')](handleError(_0x4fbace,null));};
\ No newline at end of file
+var _0xa9e0=['type','options','includeAll','include','findAll','catch','show','params','find','body','describe','eml-format','rimraf','zip-dir','moment','mustache','util','path','sox','to-csv','fs-extra','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/license/util','../../mysqldb','sendStatus','end','status','json','undefined','limit','offset','count','set','Content-Range','apply','save','update','then','destroy','stack','name','send','index','VoiceAgentReport','rawAttributes','fieldName','key','model','map','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filter','merge'];(function(_0x565ed7,_0x398228){var _0x183ad7=function(_0x5a43d7){while(--_0x5a43d7){_0x565ed7['push'](_0x565ed7['shift']());}};_0x183ad7(++_0x398228);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0xa9e0[_0xbb091];return _0x467a04;};'use strict';var emlformat=require(_0x0a9e('0x0'));var rimraf=require(_0x0a9e('0x1'));var zipdir=require(_0x0a9e('0x2'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0x0a9e('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x0a9e('0x4'));var util=require(_0x0a9e('0x5'));var path=require(_0x0a9e('0x6'));var sox=require(_0x0a9e('0x7'));var csv=require(_0x0a9e('0x8'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x0a9e('0x9'));var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x0a9e('0x13'));var db=require(_0x0a9e('0x14'))['db'];function respondWithStatusCode(_0xd5b662,_0x26d672){_0x26d672=_0x26d672||0xcc;return function(_0x32d742){if(_0x32d742){return _0xd5b662[_0x0a9e('0x15')](_0x26d672);}return _0xd5b662['status'](_0x26d672)[_0x0a9e('0x16')]();};}function respondWithResult(_0x239b12,_0x2b4227){_0x2b4227=_0x2b4227||0xc8;return function(_0x281129){if(_0x281129){return _0x239b12[_0x0a9e('0x17')](_0x2b4227)[_0x0a9e('0x18')](_0x281129);}};}function respondWithFilteredResult(_0x52a03d,_0x22dccb){return function(_0x5d0880){if(_0x5d0880){var _0x1985b6=typeof _0x22dccb['offset']===_0x0a9e('0x19')&&typeof _0x22dccb[_0x0a9e('0x1a')]==='undefined';var _0x225616=_0x5d0880['count'];var _0x459eb1=_0x1985b6?0x0:_0x22dccb[_0x0a9e('0x1b')];var _0x106033=_0x1985b6?_0x5d0880[_0x0a9e('0x1c')]:_0x22dccb[_0x0a9e('0x1b')]+_0x22dccb[_0x0a9e('0x1a')];var _0x530eb7;if(_0x106033>=_0x225616){_0x106033=_0x225616;_0x530eb7=0xc8;}else{_0x530eb7=0xce;}_0x52a03d[_0x0a9e('0x17')](_0x530eb7);return _0x52a03d[_0x0a9e('0x1d')](_0x0a9e('0x1e'),_0x459eb1+'-'+_0x106033+'/'+_0x225616)[_0x0a9e('0x18')](_0x5d0880);}return null;};}function patchUpdates(_0x105080){return function(_0x4bb1e3){try{jsonpatch[_0x0a9e('0x1f')](_0x4bb1e3,_0x105080,!![]);}catch(_0x155cce){return BPromise['reject'](_0x155cce);}return _0x4bb1e3[_0x0a9e('0x20')]();};}function saveUpdates(_0x5a09ef,_0x588269){return function(_0x3a02e1){if(_0x3a02e1){return _0x3a02e1[_0x0a9e('0x21')](_0x5a09ef)[_0x0a9e('0x22')](function(_0x30bae6){return _0x30bae6;});}return null;};}function removeEntity(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(_0x2fb0e4){return _0x2fb0e4[_0x0a9e('0x23')]()[_0x0a9e('0x22')](function(){_0x4abc77[_0x0a9e('0x17')](0xcc)[_0x0a9e('0x16')]();});}};}function handleEntityNotFound(_0x16b1ca,_0x5ea472){return function(_0x59181e){if(!_0x59181e){_0x16b1ca[_0x0a9e('0x15')](0x194);}return _0x59181e;};}function handleError(_0x3a8e58,_0x40c424){_0x40c424=_0x40c424||0x1f4;return function(_0x33161b){logger['error'](_0x33161b[_0x0a9e('0x24')]);if(_0x33161b['name']){delete _0x33161b[_0x0a9e('0x25')];}_0x3a8e58['status'](_0x40c424)[_0x0a9e('0x26')](_0x33161b);};}exports[_0x0a9e('0x27')]=function(_0x25fba9,_0x14433c){var _0x140511={},_0x1538a4={},_0x11c3b6={'count':0x0,'rows':[]};var _0x14de77=_['map'](db[_0x0a9e('0x28')][_0x0a9e('0x29')],function(_0x2b1f27){return{'name':_0x2b1f27[_0x0a9e('0x2a')],'type':_0x2b1f27['type'][_0x0a9e('0x2b')]};});_0x1538a4[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x14de77,_0x0a9e('0x25'));_0x1538a4[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x25fba9[_0x0a9e('0x2e')]);_0x1538a4[_0x0a9e('0x30')]=_[_0x0a9e('0x31')](_0x1538a4['model'],_0x1538a4[_0x0a9e('0x2e')]);_0x140511['attributes']=_[_0x0a9e('0x31')](_0x1538a4[_0x0a9e('0x2c')],qs[_0x0a9e('0x32')](_0x25fba9[_0x0a9e('0x2e')][_0x0a9e('0x32')]));_0x140511['attributes']=_0x140511[_0x0a9e('0x33')][_0x0a9e('0x34')]?_0x140511[_0x0a9e('0x33')]:_0x1538a4[_0x0a9e('0x2c')];if(!_0x25fba9[_0x0a9e('0x2e')][_0x0a9e('0x35')](_0x0a9e('0x36'))){_0x140511[_0x0a9e('0x1a')]=qs['limit'](_0x25fba9[_0x0a9e('0x2e')]['limit']);_0x140511[_0x0a9e('0x1b')]=qs[_0x0a9e('0x1b')](_0x25fba9[_0x0a9e('0x2e')][_0x0a9e('0x1b')]);}_0x140511['order']=qs[_0x0a9e('0x37')](_0x25fba9[_0x0a9e('0x2e')][_0x0a9e('0x37')]);_0x140511[_0x0a9e('0x38')]=qs['filters'](_['pick'](_0x25fba9[_0x0a9e('0x2e')],_0x1538a4['filters']),_0x14de77);if(_0x25fba9[_0x0a9e('0x2e')][_0x0a9e('0x39')]){_0x140511[_0x0a9e('0x38')]=_[_0x0a9e('0x3a')](_0x140511['where'],{'$or':_[_0x0a9e('0x2d')](_0x14de77,function(_0x3bfce8){if(_0x3bfce8[_0x0a9e('0x3b')]!=='VIRTUAL'){var _0x1dbf74={};_0x1dbf74[_0x3bfce8[_0x0a9e('0x25')]]={'$like':'%'+_0x25fba9[_0x0a9e('0x2e')]['filter']+'%'};return _0x1dbf74;}})});}_0x140511=_['merge']({},_0x140511,_0x25fba9[_0x0a9e('0x3c')]);var _0x40d766={'where':_0x140511['where']};return db[_0x0a9e('0x28')][_0x0a9e('0x1c')](_0x40d766)[_0x0a9e('0x22')](function(_0x148f55){_0x11c3b6['count']=_0x148f55;if(_0x25fba9['query'][_0x0a9e('0x3d')]){_0x140511[_0x0a9e('0x3e')]=[{'all':!![]}];}return db['VoiceAgentReport'][_0x0a9e('0x3f')](_0x140511);})[_0x0a9e('0x22')](function(_0x1459bb){_0x11c3b6['rows']=_0x1459bb;return _0x11c3b6;})[_0x0a9e('0x22')](respondWithFilteredResult(_0x14433c,_0x140511))[_0x0a9e('0x40')](handleError(_0x14433c,null));};exports[_0x0a9e('0x41')]=function(_0x43dd5b,_0x13cb1f){var _0xeaa5e5={'raw':![],'where':{'id':_0x43dd5b[_0x0a9e('0x42')]['id']}},_0x2881b3={};_0x2881b3[_0x0a9e('0x2c')]=_[_0x0a9e('0x2f')](db[_0x0a9e('0x28')][_0x0a9e('0x29')]);_0x2881b3[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x43dd5b[_0x0a9e('0x2e')]);_0x2881b3['filters']=_['intersection'](_0x2881b3[_0x0a9e('0x2c')],_0x2881b3[_0x0a9e('0x2e')]);_0xeaa5e5[_0x0a9e('0x33')]=_[_0x0a9e('0x31')](_0x2881b3[_0x0a9e('0x2c')],qs[_0x0a9e('0x32')](_0x43dd5b[_0x0a9e('0x2e')][_0x0a9e('0x32')]));_0xeaa5e5[_0x0a9e('0x33')]=_0xeaa5e5[_0x0a9e('0x33')][_0x0a9e('0x34')]?_0xeaa5e5[_0x0a9e('0x33')]:_0x2881b3['model'];if(_0x43dd5b[_0x0a9e('0x2e')][_0x0a9e('0x3d')]){_0xeaa5e5[_0x0a9e('0x3e')]=[{'all':!![]}];}_0xeaa5e5=_[_0x0a9e('0x3a')]({},_0xeaa5e5,_0x43dd5b[_0x0a9e('0x3c')]);return db[_0x0a9e('0x28')][_0x0a9e('0x43')](_0xeaa5e5)[_0x0a9e('0x22')](handleEntityNotFound(_0x13cb1f,null))['then'](respondWithResult(_0x13cb1f,null))[_0x0a9e('0x40')](handleError(_0x13cb1f,null));};exports['create']=function(_0x473dc8,_0x476688){return db[_0x0a9e('0x28')]['create'](_0x473dc8[_0x0a9e('0x44')],{})[_0x0a9e('0x22')](respondWithResult(_0x476688,0xc9))[_0x0a9e('0x40')](handleError(_0x476688,null));};exports[_0x0a9e('0x21')]=function(_0x45c845,_0x37be73){if(_0x45c845[_0x0a9e('0x44')]['id']){delete _0x45c845['body']['id'];}return db[_0x0a9e('0x28')][_0x0a9e('0x43')]({'where':{'id':_0x45c845[_0x0a9e('0x42')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x37be73,null))[_0x0a9e('0x22')](saveUpdates(_0x45c845[_0x0a9e('0x44')],null))[_0x0a9e('0x22')](respondWithResult(_0x37be73,null))[_0x0a9e('0x40')](handleError(_0x37be73,null));};exports[_0x0a9e('0x23')]=function(_0x58a5c2,_0xe401a){return db[_0x0a9e('0x28')]['find']({'where':{'id':_0x58a5c2['params']['id']}})['then'](handleEntityNotFound(_0xe401a,null))[_0x0a9e('0x22')](removeEntity(_0xe401a,null))[_0x0a9e('0x40')](handleError(_0xe401a,null));};exports[_0x0a9e('0x45')]=function(_0x11545a,_0x61bb17){return db[_0x0a9e('0x28')][_0x0a9e('0x45')]()[_0x0a9e('0x22')](respondWithResult(_0x61bb17,null))['catch'](handleError(_0x61bb17,null));};
\ No newline at end of file