Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / voiceDialReport / voiceDialReport.controller.js
index 5e6536f..4092282 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x326f=['moment','bluebird','mustache','util','path','sox','to-csv','fs-extra','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','update','then','error','stack','name','index','map','VoiceDialReport','rawAttributes','fieldName','type','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','order','filter','where','VIRTUAL','merge','options','count','rows','show','params','length','include','find','create','body','catch','destroy','describe','html-pdf','zip-dir','fast-json-patch','request-promise'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x326f,0xd1));var _0xf326=function(_0x519d09,_0x1a4067){_0x519d09=_0x519d09-0x0;var _0x4abd86=_0x326f[_0x519d09];return _0x4abd86;};'use strict';var pdf=require(_0xf326('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xf326('0x1'));var jsonpatch=require(_0xf326('0x2'));var rp=require(_0xf326('0x3'));var moment=require(_0xf326('0x4'));var BPromise=require(_0xf326('0x5'));var Mustache=require(_0xf326('0x6'));var util=require(_0xf326('0x7'));var path=require(_0xf326('0x8'));var sox=require(_0xf326('0x9'));var csv=require(_0xf326('0xa'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0xf326('0xb'));var _=require(_0xf326('0xc'));var squel=require(_0xf326('0xd'));var crypto=require(_0xf326('0xe'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xf326('0xf'));var Papa=require(_0xf326('0x10'));var Redis=require(_0xf326('0x11'));var authService=require(_0xf326('0x12'));var qs=require(_0xf326('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xf326('0x14'));var logger=require('../../config/logger')(_0xf326('0x15'));var utils=require('../../config/utils');var config=require(_0xf326('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0xf326('0x17'))['db'];function respondWithStatusCode(_0x9ed463,_0x4b3966){_0x4b3966=_0x4b3966||0xcc;return function(_0x342fe5){if(_0x342fe5){return _0x9ed463[_0xf326('0x18')](_0x4b3966);}return _0x9ed463[_0xf326('0x19')](_0x4b3966)[_0xf326('0x1a')]();};}function respondWithResult(_0x5c8483,_0x45c1b6){_0x45c1b6=_0x45c1b6||0xc8;return function(_0x5204ee){if(_0x5204ee){return _0x5c8483['status'](_0x45c1b6)[_0xf326('0x1b')](_0x5204ee);}};}function respondWithFilteredResult(_0x11f6d2,_0x1f2e5a){return function(_0xa63d1a){if(_0xa63d1a){var _0x292f4b=_0xa63d1a['count'],_0x287a2a=_0x1f2e5a[_0xf326('0x1c')],_0x34128e=_0x1f2e5a[_0xf326('0x1c')]+_0x1f2e5a[_0xf326('0x1d')],_0x2cf2ca;if(_0x34128e>=_0x292f4b){_0x34128e=_0x292f4b;_0x2cf2ca=0xc8;}else{_0x2cf2ca=0xce;}_0x11f6d2[_0xf326('0x19')](_0x2cf2ca);return _0x11f6d2[_0xf326('0x1e')](_0xf326('0x1f'),_0x287a2a+'-'+_0x34128e+'/'+_0x292f4b)['json'](_0xa63d1a);}return null;};}function patchUpdates(_0x4a5b6c){return function(_0x56ad41){try{jsonpatch[_0xf326('0x20')](_0x56ad41,_0x4a5b6c,!![]);}catch(_0x289f4b){return BPromise['reject'](_0x289f4b);}return _0x56ad41['save']();};}function saveUpdates(_0x128c68,_0x4dfa76){return function(_0x5b6d3c){if(_0x5b6d3c){return _0x5b6d3c[_0xf326('0x21')](_0x128c68)[_0xf326('0x22')](function(_0x549b46){return _0x549b46;});}return null;};}function removeEntity(_0x5aa184,_0x19b8ba){return function(_0xb1efcf){if(_0xb1efcf){return _0xb1efcf['destroy']()[_0xf326('0x22')](function(){_0x5aa184[_0xf326('0x19')](0xcc)[_0xf326('0x1a')]();});}};}function handleEntityNotFound(_0x295752,_0x17c157){return function(_0x2049ec){if(!_0x2049ec){_0x295752['sendStatus'](0x194);}return _0x2049ec;};}function handleError(_0x55b9f4,_0x4f31f6){_0x4f31f6=_0x4f31f6||0x1f4;return function(_0x520d85){logger[_0xf326('0x23')](_0x520d85[_0xf326('0x24')]);if(_0x520d85[_0xf326('0x25')]){delete _0x520d85[_0xf326('0x25')];}_0x55b9f4[_0xf326('0x19')](_0x4f31f6)['send'](_0x520d85);};}exports[_0xf326('0x26')]=function(_0xa3c0b,_0x212d5d){var _0x581531={},_0x1617d2={},_0x55ad0f={'count':0x0,'rows':[]};var _0x4a9abf=_[_0xf326('0x27')](db[_0xf326('0x28')][_0xf326('0x29')],function(_0x5dbe63){return{'name':_0x5dbe63[_0xf326('0x2a')],'type':_0x5dbe63[_0xf326('0x2b')]['key']};});_0x1617d2[_0xf326('0x2c')]=_[_0xf326('0x27')](_0x4a9abf,_0xf326('0x25'));_0x1617d2[_0xf326('0x2d')]=_[_0xf326('0x2e')](_0xa3c0b[_0xf326('0x2d')]);_0x1617d2[_0xf326('0x2f')]=_[_0xf326('0x30')](_0x1617d2[_0xf326('0x2c')],_0x1617d2[_0xf326('0x2d')]);_0x581531['attributes']=_[_0xf326('0x30')](_0x1617d2[_0xf326('0x2c')],qs[_0xf326('0x31')](_0xa3c0b['query'][_0xf326('0x31')]));_0x581531[_0xf326('0x32')]=_0x581531[_0xf326('0x32')]['length']?_0x581531['attributes']:_0x1617d2[_0xf326('0x2c')];if(!_0xa3c0b[_0xf326('0x2d')][_0xf326('0x33')](_0xf326('0x34'))){_0x581531[_0xf326('0x1d')]=qs[_0xf326('0x1d')](_0xa3c0b[_0xf326('0x2d')][_0xf326('0x1d')]);_0x581531['offset']=qs[_0xf326('0x1c')](_0xa3c0b[_0xf326('0x2d')]['offset']);}_0x581531[_0xf326('0x35')]=qs['sort'](_0xa3c0b[_0xf326('0x2d')]['sort']);_0x581531['where']=qs[_0xf326('0x2f')](_['pick'](_0xa3c0b[_0xf326('0x2d')],_0x1617d2['filters']),_0x4a9abf);if(_0xa3c0b[_0xf326('0x2d')][_0xf326('0x36')]){_0x581531[_0xf326('0x37')]=_['merge'](_0x581531[_0xf326('0x37')],{'$or':_[_0xf326('0x27')](_0x4a9abf,function(_0x48525a){if(_0x48525a[_0xf326('0x2b')]!==_0xf326('0x38')){var _0x40fa7a={};_0x40fa7a[_0x48525a[_0xf326('0x25')]]={'$like':'%'+_0xa3c0b['query'][_0xf326('0x36')]+'%'};return _0x40fa7a;}})});}_0x581531=_[_0xf326('0x39')]({},_0x581531,_0xa3c0b[_0xf326('0x3a')]);var _0x47188b={'where':_0x581531[_0xf326('0x37')]};return db['VoiceDialReport'][_0xf326('0x3b')](_0x47188b)[_0xf326('0x22')](function(_0x5cfb97){_0x55ad0f['count']=_0x5cfb97;if(_0xa3c0b[_0xf326('0x2d')]['includeAll']){_0x581531['include']=[{'all':!![]}];}return db[_0xf326('0x28')]['findAll'](_0x581531);})[_0xf326('0x22')](function(_0x37a95b){_0x55ad0f[_0xf326('0x3c')]=_0x37a95b;return _0x55ad0f;})[_0xf326('0x22')](respondWithFilteredResult(_0x212d5d,_0x581531))['catch'](handleError(_0x212d5d,null));};exports[_0xf326('0x3d')]=function(_0x45d344,_0x347e7b){var _0x365627={'raw':!![],'where':{'id':_0x45d344[_0xf326('0x3e')]['id']}},_0xc4fda4={};_0xc4fda4[_0xf326('0x2c')]=_[_0xf326('0x2e')](db[_0xf326('0x28')][_0xf326('0x29')]);_0xc4fda4[_0xf326('0x2d')]=_[_0xf326('0x2e')](_0x45d344['query']);_0xc4fda4[_0xf326('0x2f')]=_[_0xf326('0x30')](_0xc4fda4[_0xf326('0x2c')],_0xc4fda4[_0xf326('0x2d')]);_0x365627[_0xf326('0x32')]=_[_0xf326('0x30')](_0xc4fda4['model'],qs[_0xf326('0x31')](_0x45d344[_0xf326('0x2d')]['fields']));_0x365627[_0xf326('0x32')]=_0x365627[_0xf326('0x32')][_0xf326('0x3f')]?_0x365627[_0xf326('0x32')]:_0xc4fda4[_0xf326('0x2c')];if(_0x45d344['query']['includeAll']){_0x365627[_0xf326('0x40')]=[{'all':!![]}];}_0x365627=_[_0xf326('0x39')]({},_0x365627,_0x45d344['options']);return db['VoiceDialReport'][_0xf326('0x41')](_0x365627)[_0xf326('0x22')](handleEntityNotFound(_0x347e7b,null))[_0xf326('0x22')](respondWithResult(_0x347e7b,null))['catch'](handleError(_0x347e7b,null));};exports[_0xf326('0x42')]=function(_0xe96e1e,_0x2180d6){return db[_0xf326('0x28')][_0xf326('0x42')](_0xe96e1e[_0xf326('0x43')],{})[_0xf326('0x22')](respondWithResult(_0x2180d6,0xc9))[_0xf326('0x44')](handleError(_0x2180d6,null));};exports[_0xf326('0x21')]=function(_0x27ced1,_0x1c76c8){if(_0x27ced1[_0xf326('0x43')]['id']){delete _0x27ced1[_0xf326('0x43')]['id'];}return db[_0xf326('0x28')][_0xf326('0x41')]({'where':{'id':_0x27ced1['params']['id']}})[_0xf326('0x22')](handleEntityNotFound(_0x1c76c8,null))[_0xf326('0x22')](saveUpdates(_0x27ced1[_0xf326('0x43')],null))[_0xf326('0x22')](respondWithResult(_0x1c76c8,null))['catch'](handleError(_0x1c76c8,null));};exports[_0xf326('0x45')]=function(_0x2f5511,_0xca88e){return db[_0xf326('0x28')]['find']({'where':{'id':_0x2f5511[_0xf326('0x3e')]['id']}})[_0xf326('0x22')](handleEntityNotFound(_0xca88e,null))[_0xf326('0x22')](removeEntity(_0xca88e,null))[_0xf326('0x44')](handleError(_0xca88e,null));};exports[_0xf326('0x46')]=function(_0x4970fb,_0x5d312d){return db[_0xf326('0x28')][_0xf326('0x46')]()[_0xf326('0x22')](respondWithResult(_0x5d312d,null))['catch'](handleError(_0x5d312d,null));};
\ No newline at end of file
+var _0xbc16=['include','findAll','params','find','create','body','catch','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','to-csv','ejs','lodash','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','end','count','offset','limit','set','Content-Range','json','apply','reject','save','update','then','destroy','sendStatus','stack','name','send','index','map','VoiceDialReport','rawAttributes','fieldName','type','key','model','keys','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options'];(function(_0x2d7f0e,_0x3e6fbd){var _0x110b07=function(_0x557b00){while(--_0x557b00){_0x2d7f0e['push'](_0x2d7f0e['shift']());}};_0x110b07(++_0x3e6fbd);}(_0xbc16,0x1dc));var _0x6bc1=function(_0x45d05e,_0x11c048){_0x45d05e=_0x45d05e-0x0;var _0x50373f=_0xbc16[_0x45d05e];return _0x50373f;};'use strict';var pdf=require(_0x6bc1('0x0'));var emlformat=require(_0x6bc1('0x1'));var rimraf=require(_0x6bc1('0x2'));var zipdir=require(_0x6bc1('0x3'));var jsonpatch=require(_0x6bc1('0x4'));var rp=require(_0x6bc1('0x5'));var moment=require(_0x6bc1('0x6'));var BPromise=require(_0x6bc1('0x7'));var Mustache=require(_0x6bc1('0x8'));var util=require('util');var path=require('path');var sox=require(_0x6bc1('0x9'));var csv=require(_0x6bc1('0xa'));var ejs=require(_0x6bc1('0xb'));var fs=require('fs');var _=require(_0x6bc1('0xc'));var squel=require('squel');var crypto=require(_0x6bc1('0xd'));var jsforce=require(_0x6bc1('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x6bc1('0xa'));var querystring=require(_0x6bc1('0xf'));var Papa=require(_0x6bc1('0x10'));var Redis=require(_0x6bc1('0x11'));var authService=require(_0x6bc1('0x12'));var qs=require(_0x6bc1('0x13'));var as=require(_0x6bc1('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x6bc1('0x15'))(_0x6bc1('0x16'));var utils=require(_0x6bc1('0x17'));var config=require(_0x6bc1('0x18'));var licenseUtil=require(_0x6bc1('0x19'));var db=require(_0x6bc1('0x1a'))['db'];function respondWithStatusCode(_0xe6441,_0x282d5a){_0x282d5a=_0x282d5a||0xcc;return function(_0x4bd5c9){if(_0x4bd5c9){return _0xe6441['sendStatus'](_0x282d5a);}return _0xe6441[_0x6bc1('0x1b')](_0x282d5a)[_0x6bc1('0x1c')]();};}function respondWithResult(_0xccdc90,_0x592e59){_0x592e59=_0x592e59||0xc8;return function(_0x37daf3){if(_0x37daf3){return _0xccdc90['status'](_0x592e59)['json'](_0x37daf3);}};}function respondWithFilteredResult(_0xe8eb0c,_0x7de8bc){return function(_0x26ac5a){if(_0x26ac5a){var _0x13a14d=_0x26ac5a[_0x6bc1('0x1d')],_0x4b728d=_0x7de8bc[_0x6bc1('0x1e')],_0x172815=_0x7de8bc[_0x6bc1('0x1e')]+_0x7de8bc[_0x6bc1('0x1f')],_0x1e80ab;if(_0x172815>=_0x13a14d){_0x172815=_0x13a14d;_0x1e80ab=0xc8;}else{_0x1e80ab=0xce;}_0xe8eb0c[_0x6bc1('0x1b')](_0x1e80ab);return _0xe8eb0c[_0x6bc1('0x20')](_0x6bc1('0x21'),_0x4b728d+'-'+_0x172815+'/'+_0x13a14d)[_0x6bc1('0x22')](_0x26ac5a);}return null;};}function patchUpdates(_0x548cbd){return function(_0x4b501e){try{jsonpatch[_0x6bc1('0x23')](_0x4b501e,_0x548cbd,!![]);}catch(_0x2ae403){return BPromise[_0x6bc1('0x24')](_0x2ae403);}return _0x4b501e[_0x6bc1('0x25')]();};}function saveUpdates(_0x114963,_0x2247af){return function(_0x5a3f38){if(_0x5a3f38){return _0x5a3f38[_0x6bc1('0x26')](_0x114963)[_0x6bc1('0x27')](function(_0x490e7d){return _0x490e7d;});}return null;};}function removeEntity(_0x5a2f79,_0xdc4d1d){return function(_0x1470e){if(_0x1470e){return _0x1470e[_0x6bc1('0x28')]()['then'](function(){_0x5a2f79[_0x6bc1('0x1b')](0xcc)[_0x6bc1('0x1c')]();});}};}function handleEntityNotFound(_0x326140,_0x8ab500){return function(_0x4b00e8){if(!_0x4b00e8){_0x326140[_0x6bc1('0x29')](0x194);}return _0x4b00e8;};}function handleError(_0x14afcb,_0x4206fc){_0x4206fc=_0x4206fc||0x1f4;return function(_0x48f78d){logger['error'](_0x48f78d[_0x6bc1('0x2a')]);if(_0x48f78d[_0x6bc1('0x2b')]){delete _0x48f78d['name'];}_0x14afcb['status'](_0x4206fc)[_0x6bc1('0x2c')](_0x48f78d);};}exports[_0x6bc1('0x2d')]=function(_0x2c921e,_0x17c40c){var _0x17331f={},_0x12ef5b={},_0x4e460a={'count':0x0,'rows':[]};var _0x1fbda3=_[_0x6bc1('0x2e')](db[_0x6bc1('0x2f')][_0x6bc1('0x30')],function(_0x36bf54){return{'name':_0x36bf54[_0x6bc1('0x31')],'type':_0x36bf54[_0x6bc1('0x32')][_0x6bc1('0x33')]};});_0x12ef5b[_0x6bc1('0x34')]=_[_0x6bc1('0x2e')](_0x1fbda3,_0x6bc1('0x2b'));_0x12ef5b['query']=_[_0x6bc1('0x35')](_0x2c921e[_0x6bc1('0x36')]);_0x12ef5b[_0x6bc1('0x37')]=_['intersection'](_0x12ef5b[_0x6bc1('0x34')],_0x12ef5b[_0x6bc1('0x36')]);_0x17331f[_0x6bc1('0x38')]=_[_0x6bc1('0x39')](_0x12ef5b['model'],qs[_0x6bc1('0x3a')](_0x2c921e['query'][_0x6bc1('0x3a')]));_0x17331f['attributes']=_0x17331f[_0x6bc1('0x38')][_0x6bc1('0x3b')]?_0x17331f[_0x6bc1('0x38')]:_0x12ef5b[_0x6bc1('0x34')];if(!_0x2c921e[_0x6bc1('0x36')][_0x6bc1('0x3c')](_0x6bc1('0x3d'))){_0x17331f['limit']=qs['limit'](_0x2c921e['query'][_0x6bc1('0x1f')]);_0x17331f[_0x6bc1('0x1e')]=qs[_0x6bc1('0x1e')](_0x2c921e[_0x6bc1('0x36')][_0x6bc1('0x1e')]);}_0x17331f[_0x6bc1('0x3e')]=qs[_0x6bc1('0x3f')](_0x2c921e[_0x6bc1('0x36')][_0x6bc1('0x3f')]);_0x17331f[_0x6bc1('0x40')]=qs[_0x6bc1('0x37')](_[_0x6bc1('0x41')](_0x2c921e[_0x6bc1('0x36')],_0x12ef5b[_0x6bc1('0x37')]),_0x1fbda3);if(_0x2c921e[_0x6bc1('0x36')][_0x6bc1('0x42')]){_0x17331f[_0x6bc1('0x40')]=_[_0x6bc1('0x43')](_0x17331f['where'],{'$or':_[_0x6bc1('0x2e')](_0x1fbda3,function(_0x3c0a17){if(_0x3c0a17[_0x6bc1('0x32')]!==_0x6bc1('0x44')){var _0x1af262={};_0x1af262[_0x3c0a17[_0x6bc1('0x2b')]]={'$like':'%'+_0x2c921e[_0x6bc1('0x36')][_0x6bc1('0x42')]+'%'};return _0x1af262;}})});}_0x17331f=_[_0x6bc1('0x43')]({},_0x17331f,_0x2c921e[_0x6bc1('0x45')]);var _0x4bb2ea={'where':_0x17331f[_0x6bc1('0x40')]};return db[_0x6bc1('0x2f')][_0x6bc1('0x1d')](_0x4bb2ea)[_0x6bc1('0x27')](function(_0x385d3c){_0x4e460a['count']=_0x385d3c;if(_0x2c921e[_0x6bc1('0x36')]['includeAll']){_0x17331f[_0x6bc1('0x46')]=[{'all':!![]}];}return db[_0x6bc1('0x2f')][_0x6bc1('0x47')](_0x17331f);})[_0x6bc1('0x27')](function(_0x581402){_0x4e460a['rows']=_0x581402;return _0x4e460a;})['then'](respondWithFilteredResult(_0x17c40c,_0x17331f))['catch'](handleError(_0x17c40c,null));};exports['show']=function(_0x13469d,_0x241dbf){var _0x5ecac7={'raw':!![],'where':{'id':_0x13469d[_0x6bc1('0x48')]['id']}},_0x467048={};_0x467048[_0x6bc1('0x34')]=_[_0x6bc1('0x35')](db[_0x6bc1('0x2f')]['rawAttributes']);_0x467048['query']=_[_0x6bc1('0x35')](_0x13469d['query']);_0x467048[_0x6bc1('0x37')]=_[_0x6bc1('0x39')](_0x467048[_0x6bc1('0x34')],_0x467048[_0x6bc1('0x36')]);_0x5ecac7[_0x6bc1('0x38')]=_[_0x6bc1('0x39')](_0x467048[_0x6bc1('0x34')],qs[_0x6bc1('0x3a')](_0x13469d['query'][_0x6bc1('0x3a')]));_0x5ecac7[_0x6bc1('0x38')]=_0x5ecac7[_0x6bc1('0x38')][_0x6bc1('0x3b')]?_0x5ecac7['attributes']:_0x467048['model'];if(_0x13469d[_0x6bc1('0x36')]['includeAll']){_0x5ecac7[_0x6bc1('0x46')]=[{'all':!![]}];}_0x5ecac7=_[_0x6bc1('0x43')]({},_0x5ecac7,_0x13469d[_0x6bc1('0x45')]);return db['VoiceDialReport'][_0x6bc1('0x49')](_0x5ecac7)['then'](handleEntityNotFound(_0x241dbf,null))[_0x6bc1('0x27')](respondWithResult(_0x241dbf,null))['catch'](handleError(_0x241dbf,null));};exports[_0x6bc1('0x4a')]=function(_0x4368d3,_0x4d1a0b){return db[_0x6bc1('0x2f')][_0x6bc1('0x4a')](_0x4368d3[_0x6bc1('0x4b')],{})['then'](respondWithResult(_0x4d1a0b,0xc9))[_0x6bc1('0x4c')](handleError(_0x4d1a0b,null));};exports[_0x6bc1('0x26')]=function(_0x529613,_0xf13a1a){if(_0x529613['body']['id']){delete _0x529613['body']['id'];}return db['VoiceDialReport'][_0x6bc1('0x49')]({'where':{'id':_0x529613['params']['id']}})[_0x6bc1('0x27')](handleEntityNotFound(_0xf13a1a,null))[_0x6bc1('0x27')](saveUpdates(_0x529613[_0x6bc1('0x4b')],null))[_0x6bc1('0x27')](respondWithResult(_0xf13a1a,null))[_0x6bc1('0x4c')](handleError(_0xf13a1a,null));};exports['destroy']=function(_0x4f0d28,_0x5865f0){return db['VoiceDialReport'][_0x6bc1('0x49')]({'where':{'id':_0x4f0d28['params']['id']}})[_0x6bc1('0x27')](handleEntityNotFound(_0x5865f0,null))[_0x6bc1('0x27')](removeEntity(_0x5865f0,null))['catch'](handleError(_0x5865f0,null));};exports[_0x6bc1('0x4d')]=function(_0x21b94f,_0x2f797c){return db[_0x6bc1('0x2f')][_0x6bc1('0x4d')]()['then'](respondWithResult(_0x2f797c,null))[_0x6bc1('0x4c')](handleError(_0x2f797c,null));};
\ No newline at end of file