Built motion from commit (unavailable).|2.5.8
[motion2.git] / server / api / chatQueueReport / chatQueueReport.controller.js
index fa73589..cd79153 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbaf0=['crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','save','update','then','end','error','stack','name','send','index','map','ChatQueueReport','rawAttributes','fieldName','type','model','query','keys','filters','attributes','intersection','fields','length','nolimit','sort','where','pick','filter','VIRTUAL','merge','options','includeAll','include','findAll','rows','catch','show','params','create','body','find','destroy','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel'];(function(_0x374b71,_0x44ff5e){var _0x2b8701=function(_0x3bb754){while(--_0x3bb754){_0x374b71['push'](_0x374b71['shift']());}};_0x2b8701(++_0x44ff5e);}(_0xbaf0,0x12a));var _0x0baf=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xbaf0[_0x1facfa];return _0x9ec701;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x0baf('0x0'));var rimraf=require(_0x0baf('0x1'));var zipdir=require(_0x0baf('0x2'));var jsonpatch=require(_0x0baf('0x3'));var rp=require(_0x0baf('0x4'));var moment=require(_0x0baf('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0baf('0x6'));var util=require(_0x0baf('0x7'));var path=require(_0x0baf('0x8'));var sox=require(_0x0baf('0x9'));var csv=require(_0x0baf('0xa'));var ejs=require(_0x0baf('0xb'));var fs=require('fs');var _=require(_0x0baf('0xc'));var squel=require(_0x0baf('0xd'));var crypto=require(_0x0baf('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x0baf('0xf'));var toCsv=require('to-csv');var querystring=require(_0x0baf('0x10'));var Papa=require(_0x0baf('0x11'));var Redis=require(_0x0baf('0x12'));var authService=require(_0x0baf('0x13'));var qs=require(_0x0baf('0x14'));var as=require(_0x0baf('0x15'));var hardwareService=require(_0x0baf('0x16'));var logger=require(_0x0baf('0x17'))(_0x0baf('0x18'));var utils=require(_0x0baf('0x19'));var config=require(_0x0baf('0x1a'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5a53e2,_0x465dd7){_0x465dd7=_0x465dd7||0xcc;return function(_0xe4378c){if(_0xe4378c){return _0x5a53e2[_0x0baf('0x1b')](_0x465dd7);}return _0x5a53e2[_0x0baf('0x1c')](_0x465dd7)['end']();};}function respondWithResult(_0x2ab33e,_0x49e44b){_0x49e44b=_0x49e44b||0xc8;return function(_0x1c76a8){if(_0x1c76a8){return _0x2ab33e[_0x0baf('0x1c')](_0x49e44b)[_0x0baf('0x1d')](_0x1c76a8);}};}function respondWithFilteredResult(_0x2bc381,_0xb8339e){return function(_0x469599){if(_0x469599){var _0x4f80a8=_0x469599[_0x0baf('0x1e')],_0x4cd79d=_0xb8339e[_0x0baf('0x1f')],_0x2312c7=_0xb8339e[_0x0baf('0x1f')]+_0xb8339e[_0x0baf('0x20')],_0x38395b;if(_0x2312c7>=_0x4f80a8){_0x2312c7=_0x4f80a8;_0x38395b=0xc8;}else{_0x38395b=0xce;}_0x2bc381['status'](_0x38395b);return _0x2bc381[_0x0baf('0x21')](_0x0baf('0x22'),_0x4cd79d+'-'+_0x2312c7+'/'+_0x4f80a8)[_0x0baf('0x1d')](_0x469599);}return null;};}function patchUpdates(_0x3e9cb4){return function(_0x47070d){try{jsonpatch[_0x0baf('0x23')](_0x47070d,_0x3e9cb4,!![]);}catch(_0x4ff793){return BPromise['reject'](_0x4ff793);}return _0x47070d[_0x0baf('0x24')]();};}function saveUpdates(_0x154f48,_0x32e839){return function(_0x1848e8){if(_0x1848e8){return _0x1848e8[_0x0baf('0x25')](_0x154f48)[_0x0baf('0x26')](function(_0x210cd8){return _0x210cd8;});}return null;};}function removeEntity(_0x636a13,_0x2c42e2){return function(_0x15a2c3){if(_0x15a2c3){return _0x15a2c3['destroy']()[_0x0baf('0x26')](function(){_0x636a13['status'](0xcc)[_0x0baf('0x27')]();});}};}function handleEntityNotFound(_0x5dbf00,_0x4de74c){return function(_0x2ef0aa){if(!_0x2ef0aa){_0x5dbf00['sendStatus'](0x194);}return _0x2ef0aa;};}function handleError(_0x4be1b9,_0x47c4b){_0x47c4b=_0x47c4b||0x1f4;return function(_0x27b59c){logger[_0x0baf('0x28')](_0x27b59c[_0x0baf('0x29')]);if(_0x27b59c[_0x0baf('0x2a')]){delete _0x27b59c['name'];}_0x4be1b9[_0x0baf('0x1c')](_0x47c4b)[_0x0baf('0x2b')](_0x27b59c);};}exports[_0x0baf('0x2c')]=function(_0x366e71,_0x3843b8){var _0x3b9b31={},_0x453525={},_0x549fd0={'count':0x0,'rows':[]};var _0x1590b4=_[_0x0baf('0x2d')](db[_0x0baf('0x2e')][_0x0baf('0x2f')],function(_0x55c715){return{'name':_0x55c715[_0x0baf('0x30')],'type':_0x55c715[_0x0baf('0x31')]['key']};});_0x453525[_0x0baf('0x32')]=_[_0x0baf('0x2d')](_0x1590b4,_0x0baf('0x2a'));_0x453525[_0x0baf('0x33')]=_[_0x0baf('0x34')](_0x366e71[_0x0baf('0x33')]);_0x453525[_0x0baf('0x35')]=_['intersection'](_0x453525[_0x0baf('0x32')],_0x453525[_0x0baf('0x33')]);_0x3b9b31[_0x0baf('0x36')]=_[_0x0baf('0x37')](_0x453525[_0x0baf('0x32')],qs[_0x0baf('0x38')](_0x366e71[_0x0baf('0x33')][_0x0baf('0x38')]));_0x3b9b31[_0x0baf('0x36')]=_0x3b9b31[_0x0baf('0x36')][_0x0baf('0x39')]?_0x3b9b31[_0x0baf('0x36')]:_0x453525[_0x0baf('0x32')];if(!_0x366e71[_0x0baf('0x33')]['hasOwnProperty'](_0x0baf('0x3a'))){_0x3b9b31['limit']=qs[_0x0baf('0x20')](_0x366e71[_0x0baf('0x33')][_0x0baf('0x20')]);_0x3b9b31[_0x0baf('0x1f')]=qs['offset'](_0x366e71[_0x0baf('0x33')][_0x0baf('0x1f')]);}_0x3b9b31['order']=qs[_0x0baf('0x3b')](_0x366e71[_0x0baf('0x33')][_0x0baf('0x3b')]);_0x3b9b31[_0x0baf('0x3c')]=qs[_0x0baf('0x35')](_[_0x0baf('0x3d')](_0x366e71[_0x0baf('0x33')],_0x453525[_0x0baf('0x35')]),_0x1590b4);if(_0x366e71['query'][_0x0baf('0x3e')]){_0x3b9b31[_0x0baf('0x3c')]=_['merge'](_0x3b9b31[_0x0baf('0x3c')],{'$or':_['map'](_0x1590b4,function(_0x5c545f){if(_0x5c545f[_0x0baf('0x31')]!==_0x0baf('0x3f')){var _0x5d3ad1={};_0x5d3ad1[_0x5c545f['name']]={'$like':'%'+_0x366e71[_0x0baf('0x33')][_0x0baf('0x3e')]+'%'};return _0x5d3ad1;}})});}_0x3b9b31=_[_0x0baf('0x40')]({},_0x3b9b31,_0x366e71[_0x0baf('0x41')]);var _0x15eb5c={'where':_0x3b9b31[_0x0baf('0x3c')]};return db[_0x0baf('0x2e')][_0x0baf('0x1e')](_0x15eb5c)[_0x0baf('0x26')](function(_0x36c6d2){_0x549fd0[_0x0baf('0x1e')]=_0x36c6d2;if(_0x366e71[_0x0baf('0x33')][_0x0baf('0x42')]){_0x3b9b31[_0x0baf('0x43')]=[{'all':!![]}];}return db['ChatQueueReport'][_0x0baf('0x44')](_0x3b9b31);})[_0x0baf('0x26')](function(_0x4f1de9){_0x549fd0[_0x0baf('0x45')]=_0x4f1de9;return _0x549fd0;})[_0x0baf('0x26')](respondWithFilteredResult(_0x3843b8,_0x3b9b31))[_0x0baf('0x46')](handleError(_0x3843b8,null));};exports[_0x0baf('0x47')]=function(_0x2e20c8,_0x456d0b){var _0x57b581={'raw':!![],'where':{'id':_0x2e20c8[_0x0baf('0x48')]['id']}},_0x23ad34={};_0x23ad34['model']=_[_0x0baf('0x34')](db[_0x0baf('0x2e')][_0x0baf('0x2f')]);_0x23ad34[_0x0baf('0x33')]=_['keys'](_0x2e20c8[_0x0baf('0x33')]);_0x23ad34[_0x0baf('0x35')]=_[_0x0baf('0x37')](_0x23ad34[_0x0baf('0x32')],_0x23ad34[_0x0baf('0x33')]);_0x57b581[_0x0baf('0x36')]=_[_0x0baf('0x37')](_0x23ad34[_0x0baf('0x32')],qs[_0x0baf('0x38')](_0x2e20c8[_0x0baf('0x33')]['fields']));_0x57b581[_0x0baf('0x36')]=_0x57b581[_0x0baf('0x36')][_0x0baf('0x39')]?_0x57b581[_0x0baf('0x36')]:_0x23ad34[_0x0baf('0x32')];if(_0x2e20c8['query'][_0x0baf('0x42')]){_0x57b581[_0x0baf('0x43')]=[{'all':!![]}];}_0x57b581=_[_0x0baf('0x40')]({},_0x57b581,_0x2e20c8[_0x0baf('0x41')]);return db[_0x0baf('0x2e')]['find'](_0x57b581)[_0x0baf('0x26')](handleEntityNotFound(_0x456d0b,null))[_0x0baf('0x26')](respondWithResult(_0x456d0b,null))[_0x0baf('0x46')](handleError(_0x456d0b,null));};exports[_0x0baf('0x49')]=function(_0x41599f,_0x22d10f){return db[_0x0baf('0x2e')]['create'](_0x41599f[_0x0baf('0x4a')],{})[_0x0baf('0x26')](respondWithResult(_0x22d10f,0xc9))[_0x0baf('0x46')](handleError(_0x22d10f,null));};exports['update']=function(_0x3c9de3,_0x2222b6){if(_0x3c9de3[_0x0baf('0x4a')]['id']){delete _0x3c9de3[_0x0baf('0x4a')]['id'];}return db[_0x0baf('0x2e')][_0x0baf('0x4b')]({'where':{'id':_0x3c9de3[_0x0baf('0x48')]['id']}})['then'](handleEntityNotFound(_0x2222b6,null))[_0x0baf('0x26')](saveUpdates(_0x3c9de3[_0x0baf('0x4a')],null))[_0x0baf('0x26')](respondWithResult(_0x2222b6,null))[_0x0baf('0x46')](handleError(_0x2222b6,null));};exports[_0x0baf('0x4c')]=function(_0xc427b2,_0x40d4a6){return db[_0x0baf('0x2e')][_0x0baf('0x4b')]({'where':{'id':_0xc427b2[_0x0baf('0x48')]['id']}})[_0x0baf('0x26')](handleEntityNotFound(_0x40d4a6,null))['then'](removeEntity(_0x40d4a6,null))['catch'](handleError(_0x40d4a6,null));};exports[_0x0baf('0x4d')]=function(_0x3d6b19,_0x1cd114){return db[_0x0baf('0x2e')][_0x0baf('0x4d')]()[_0x0baf('0x26')](respondWithResult(_0x1cd114,null))[_0x0baf('0x46')](handleError(_0x1cd114,null));};
\ No newline at end of file
+var _0xd995=['params','describe','html-pdf','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','end','json','offset','limit','set','Content-Range','save','update','then','destroy','error','name','send','index','map','ChatQueueReport','rawAttributes','fieldName','type','key','query','keys','filters','model','attributes','fields','length','nolimit','order','sort','where','pick','merge','filter','count','findAll','rows','catch','show','intersection','include','options','find','create','body'];(function(_0x359f0a,_0x41e8ff){var _0x17f34a=function(_0x1faa88){while(--_0x1faa88){_0x359f0a['push'](_0x359f0a['shift']());}};_0x17f34a(++_0x41e8ff);}(_0xd995,0x96));var _0x5d99=function(_0x4d3977,_0x4d82db){_0x4d3977=_0x4d3977-0x0;var _0x388722=_0xd995[_0x4d3977];return _0x388722;};'use strict';var pdf=require(_0x5d99('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x5d99('0x1'));var rp=require('request-promise');var moment=require(_0x5d99('0x2'));var BPromise=require(_0x5d99('0x3'));var Mustache=require(_0x5d99('0x4'));var util=require(_0x5d99('0x5'));var path=require(_0x5d99('0x6'));var sox=require(_0x5d99('0x7'));var csv=require(_0x5d99('0x8'));var ejs=require(_0x5d99('0x9'));var fs=require('fs');var _=require(_0x5d99('0xa'));var squel=require(_0x5d99('0xb'));var crypto=require(_0x5d99('0xc'));var jsforce=require(_0x5d99('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x5d99('0x8'));var querystring=require(_0x5d99('0xe'));var Papa=require('papaparse');var Redis=require(_0x5d99('0xf'));var authService=require(_0x5d99('0x10'));var qs=require(_0x5d99('0x11'));var as=require(_0x5d99('0x12'));var hardwareService=require(_0x5d99('0x13'));var logger=require(_0x5d99('0x14'))(_0x5d99('0x15'));var utils=require(_0x5d99('0x16'));var config=require(_0x5d99('0x17'));var licenseUtil=require(_0x5d99('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x140b63,_0xc9f47b){_0xc9f47b=_0xc9f47b||0xcc;return function(_0x1112dc){if(_0x1112dc){return _0x140b63[_0x5d99('0x19')](_0xc9f47b);}return _0x140b63[_0x5d99('0x1a')](_0xc9f47b)[_0x5d99('0x1b')]();};}function respondWithResult(_0x499c7e,_0x3eac76){_0x3eac76=_0x3eac76||0xc8;return function(_0xaf4bdc){if(_0xaf4bdc){return _0x499c7e[_0x5d99('0x1a')](_0x3eac76)[_0x5d99('0x1c')](_0xaf4bdc);}};}function respondWithFilteredResult(_0xc773a5,_0x9e253e){return function(_0x562c6a){if(_0x562c6a){var _0x39aa55=_0x562c6a['count'],_0x4ac2e4=_0x9e253e['offset'],_0x2f3b21=_0x9e253e[_0x5d99('0x1d')]+_0x9e253e[_0x5d99('0x1e')],_0x455a49;if(_0x2f3b21>=_0x39aa55){_0x2f3b21=_0x39aa55;_0x455a49=0xc8;}else{_0x455a49=0xce;}_0xc773a5['status'](_0x455a49);return _0xc773a5[_0x5d99('0x1f')](_0x5d99('0x20'),_0x4ac2e4+'-'+_0x2f3b21+'/'+_0x39aa55)[_0x5d99('0x1c')](_0x562c6a);}return null;};}function patchUpdates(_0x51ec34){return function(_0x2ec17d){try{jsonpatch['apply'](_0x2ec17d,_0x51ec34,!![]);}catch(_0x2d3f38){return BPromise['reject'](_0x2d3f38);}return _0x2ec17d[_0x5d99('0x21')]();};}function saveUpdates(_0x690d4f,_0x534c5d){return function(_0x1f4fda){if(_0x1f4fda){return _0x1f4fda[_0x5d99('0x22')](_0x690d4f)[_0x5d99('0x23')](function(_0x1c3303){return _0x1c3303;});}return null;};}function removeEntity(_0x4c9605,_0x26c628){return function(_0x2d06ac){if(_0x2d06ac){return _0x2d06ac[_0x5d99('0x24')]()[_0x5d99('0x23')](function(){_0x4c9605['status'](0xcc)[_0x5d99('0x1b')]();});}};}function handleEntityNotFound(_0x2a6c45,_0x4a3412){return function(_0x264f08){if(!_0x264f08){_0x2a6c45['sendStatus'](0x194);}return _0x264f08;};}function handleError(_0x367193,_0x24a281){_0x24a281=_0x24a281||0x1f4;return function(_0x26a5a1){logger[_0x5d99('0x25')](_0x26a5a1['stack']);if(_0x26a5a1[_0x5d99('0x26')]){delete _0x26a5a1['name'];}_0x367193[_0x5d99('0x1a')](_0x24a281)[_0x5d99('0x27')](_0x26a5a1);};}exports[_0x5d99('0x28')]=function(_0x373913,_0x2686dc){var _0x311e24={},_0x143d76={},_0x96de58={'count':0x0,'rows':[]};var _0x3d93c3=_[_0x5d99('0x29')](db[_0x5d99('0x2a')][_0x5d99('0x2b')],function(_0x594c31){return{'name':_0x594c31[_0x5d99('0x2c')],'type':_0x594c31[_0x5d99('0x2d')][_0x5d99('0x2e')]};});_0x143d76['model']=_[_0x5d99('0x29')](_0x3d93c3,_0x5d99('0x26'));_0x143d76[_0x5d99('0x2f')]=_[_0x5d99('0x30')](_0x373913['query']);_0x143d76[_0x5d99('0x31')]=_['intersection'](_0x143d76[_0x5d99('0x32')],_0x143d76[_0x5d99('0x2f')]);_0x311e24[_0x5d99('0x33')]=_['intersection'](_0x143d76[_0x5d99('0x32')],qs[_0x5d99('0x34')](_0x373913[_0x5d99('0x2f')][_0x5d99('0x34')]));_0x311e24[_0x5d99('0x33')]=_0x311e24['attributes'][_0x5d99('0x35')]?_0x311e24[_0x5d99('0x33')]:_0x143d76[_0x5d99('0x32')];if(!_0x373913['query']['hasOwnProperty'](_0x5d99('0x36'))){_0x311e24[_0x5d99('0x1e')]=qs[_0x5d99('0x1e')](_0x373913[_0x5d99('0x2f')][_0x5d99('0x1e')]);_0x311e24[_0x5d99('0x1d')]=qs['offset'](_0x373913[_0x5d99('0x2f')][_0x5d99('0x1d')]);}_0x311e24[_0x5d99('0x37')]=qs[_0x5d99('0x38')](_0x373913['query']['sort']);_0x311e24[_0x5d99('0x39')]=qs[_0x5d99('0x31')](_[_0x5d99('0x3a')](_0x373913['query'],_0x143d76[_0x5d99('0x31')]),_0x3d93c3);if(_0x373913[_0x5d99('0x2f')]['filter']){_0x311e24[_0x5d99('0x39')]=_[_0x5d99('0x3b')](_0x311e24[_0x5d99('0x39')],{'$or':_[_0x5d99('0x29')](_0x3d93c3,function(_0x54c865){if(_0x54c865['type']!=='VIRTUAL'){var _0x46c1fa={};_0x46c1fa[_0x54c865['name']]={'$like':'%'+_0x373913['query'][_0x5d99('0x3c')]+'%'};return _0x46c1fa;}})});}_0x311e24=_['merge']({},_0x311e24,_0x373913['options']);var _0x3a02f4={'where':_0x311e24[_0x5d99('0x39')]};return db['ChatQueueReport'][_0x5d99('0x3d')](_0x3a02f4)[_0x5d99('0x23')](function(_0x5be6d9){_0x96de58[_0x5d99('0x3d')]=_0x5be6d9;if(_0x373913[_0x5d99('0x2f')]['includeAll']){_0x311e24['include']=[{'all':!![]}];}return db[_0x5d99('0x2a')][_0x5d99('0x3e')](_0x311e24);})[_0x5d99('0x23')](function(_0x473361){_0x96de58[_0x5d99('0x3f')]=_0x473361;return _0x96de58;})[_0x5d99('0x23')](respondWithFilteredResult(_0x2686dc,_0x311e24))[_0x5d99('0x40')](handleError(_0x2686dc,null));};exports[_0x5d99('0x41')]=function(_0x1d44d7,_0x582366){var _0x4b6857={'raw':!![],'where':{'id':_0x1d44d7['params']['id']}},_0x2848ae={};_0x2848ae[_0x5d99('0x32')]=_[_0x5d99('0x30')](db[_0x5d99('0x2a')]['rawAttributes']);_0x2848ae[_0x5d99('0x2f')]=_[_0x5d99('0x30')](_0x1d44d7[_0x5d99('0x2f')]);_0x2848ae[_0x5d99('0x31')]=_[_0x5d99('0x42')](_0x2848ae[_0x5d99('0x32')],_0x2848ae['query']);_0x4b6857[_0x5d99('0x33')]=_['intersection'](_0x2848ae['model'],qs[_0x5d99('0x34')](_0x1d44d7[_0x5d99('0x2f')][_0x5d99('0x34')]));_0x4b6857[_0x5d99('0x33')]=_0x4b6857['attributes']['length']?_0x4b6857['attributes']:_0x2848ae[_0x5d99('0x32')];if(_0x1d44d7[_0x5d99('0x2f')]['includeAll']){_0x4b6857[_0x5d99('0x43')]=[{'all':!![]}];}_0x4b6857=_['merge']({},_0x4b6857,_0x1d44d7[_0x5d99('0x44')]);return db[_0x5d99('0x2a')][_0x5d99('0x45')](_0x4b6857)[_0x5d99('0x23')](handleEntityNotFound(_0x582366,null))[_0x5d99('0x23')](respondWithResult(_0x582366,null))[_0x5d99('0x40')](handleError(_0x582366,null));};exports['create']=function(_0x2a901e,_0x4caa33){return db[_0x5d99('0x2a')][_0x5d99('0x46')](_0x2a901e[_0x5d99('0x47')],{})[_0x5d99('0x23')](respondWithResult(_0x4caa33,0xc9))['catch'](handleError(_0x4caa33,null));};exports['update']=function(_0x564fb4,_0x1a1d20){if(_0x564fb4[_0x5d99('0x47')]['id']){delete _0x564fb4['body']['id'];}return db['ChatQueueReport'][_0x5d99('0x45')]({'where':{'id':_0x564fb4[_0x5d99('0x48')]['id']}})[_0x5d99('0x23')](handleEntityNotFound(_0x1a1d20,null))['then'](saveUpdates(_0x564fb4['body'],null))['then'](respondWithResult(_0x1a1d20,null))['catch'](handleError(_0x1a1d20,null));};exports[_0x5d99('0x24')]=function(_0x348c81,_0x48750f){return db[_0x5d99('0x2a')]['find']({'where':{'id':_0x348c81['params']['id']}})[_0x5d99('0x23')](handleEntityNotFound(_0x48750f,null))[_0x5d99('0x23')](removeEntity(_0x48750f,null))[_0x5d99('0x40')](handleError(_0x48750f,null));};exports[_0x5d99('0x49')]=function(_0x4c284b,_0x3efd5b){return db[_0x5d99('0x2a')][_0x5d99('0x49')]()[_0x5d99('0x23')](respondWithResult(_0x3efd5b,null))[_0x5d99('0x40')](handleError(_0x3efd5b,null));};
\ No newline at end of file