Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.controller.js
index 8d4ad0a..aa484fe 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x048f=['eml-format','zip-dir','request-promise','moment','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','end','status','json','count','offset','limit','set','Content-Range','reject','save','update','then','destroy','sendStatus','error','name','send','index','map','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','order','sort','pick','filter','where','VIRTUAL','merge','VoiceTransferReport','includeAll','include','findAll','rows','catch','show','options','find','create','body','params','describe','html-pdf'];(function(_0x39ec63,_0x346199){var _0x5802e1=function(_0x286585){while(--_0x286585){_0x39ec63['push'](_0x39ec63['shift']());}};_0x5802e1(++_0x346199);}(_0x048f,0x1c7));var _0xf048=function(_0x421a8d,_0x16f3d9){_0x421a8d=_0x421a8d-0x0;var _0x5b511a=_0x048f[_0x421a8d];return _0x5b511a;};'use strict';var pdf=require(_0xf048('0x0'));var emlformat=require(_0xf048('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xf048('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xf048('0x3'));var moment=require(_0xf048('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xf048('0x5'));var util=require('util');var path=require(_0xf048('0x6'));var sox=require(_0xf048('0x7'));var csv=require(_0xf048('0x8'));var ejs=require(_0xf048('0x9'));var fs=require('fs');var _=require(_0xf048('0xa'));var squel=require(_0xf048('0xb'));var crypto=require(_0xf048('0xc'));var jsforce=require(_0xf048('0xd'));var deskjs=require(_0xf048('0xe'));var toCsv=require(_0xf048('0x8'));var querystring=require(_0xf048('0xf'));var Papa=require(_0xf048('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0xf048('0x11'));var hardwareService=require(_0xf048('0x12'));var logger=require('../../config/logger')(_0xf048('0x13'));var utils=require(_0xf048('0x14'));var config=require(_0xf048('0x15'));var licenseUtil=require(_0xf048('0x16'));var db=require(_0xf048('0x17'))['db'];function respondWithStatusCode(_0x289be7,_0x2ae934){_0x2ae934=_0x2ae934||0xcc;return function(_0x2831cb){if(_0x2831cb){return _0x289be7['sendStatus'](_0x2ae934);}return _0x289be7['status'](_0x2ae934)[_0xf048('0x18')]();};}function respondWithResult(_0x873054,_0x1ec1f3){_0x1ec1f3=_0x1ec1f3||0xc8;return function(_0x34dfe3){if(_0x34dfe3){return _0x873054[_0xf048('0x19')](_0x1ec1f3)[_0xf048('0x1a')](_0x34dfe3);}};}function respondWithFilteredResult(_0x2524b6,_0x9798dc){return function(_0x450073){if(_0x450073){var _0x5b3ac3=_0x450073[_0xf048('0x1b')],_0x4e352e=_0x9798dc[_0xf048('0x1c')],_0x460146=_0x9798dc[_0xf048('0x1c')]+_0x9798dc[_0xf048('0x1d')],_0x37f280;if(_0x460146>=_0x5b3ac3){_0x460146=_0x5b3ac3;_0x37f280=0xc8;}else{_0x37f280=0xce;}_0x2524b6[_0xf048('0x19')](_0x37f280);return _0x2524b6[_0xf048('0x1e')](_0xf048('0x1f'),_0x4e352e+'-'+_0x460146+'/'+_0x5b3ac3)[_0xf048('0x1a')](_0x450073);}return null;};}function patchUpdates(_0x1e0db6){return function(_0x49a4b3){try{jsonpatch['apply'](_0x49a4b3,_0x1e0db6,!![]);}catch(_0xbd2731){return BPromise[_0xf048('0x20')](_0xbd2731);}return _0x49a4b3[_0xf048('0x21')]();};}function saveUpdates(_0x59d61c,_0x4e5ee6){return function(_0x24c79c){if(_0x24c79c){return _0x24c79c[_0xf048('0x22')](_0x59d61c)[_0xf048('0x23')](function(_0x5a9fa9){return _0x5a9fa9;});}return null;};}function removeEntity(_0x4a70e5,_0x3c2b0b){return function(_0x42b107){if(_0x42b107){return _0x42b107[_0xf048('0x24')]()[_0xf048('0x23')](function(){_0x4a70e5[_0xf048('0x19')](0xcc)[_0xf048('0x18')]();});}};}function handleEntityNotFound(_0x25c962,_0x5b20bc){return function(_0x5729b3){if(!_0x5729b3){_0x25c962[_0xf048('0x25')](0x194);}return _0x5729b3;};}function handleError(_0x58263a,_0x3a14cb){_0x3a14cb=_0x3a14cb||0x1f4;return function(_0x74e68c){logger[_0xf048('0x26')](_0x74e68c['stack']);if(_0x74e68c[_0xf048('0x27')]){delete _0x74e68c['name'];}_0x58263a['status'](_0x3a14cb)[_0xf048('0x28')](_0x74e68c);};}exports[_0xf048('0x29')]=function(_0xf99471,_0x156522){var _0x13aeb9={},_0xbf24={},_0x1d49ff={'count':0x0,'rows':[]};var _0xfb33=_[_0xf048('0x2a')](db['VoiceTransferReport'][_0xf048('0x2b')],function(_0x35d9db){return{'name':_0x35d9db[_0xf048('0x2c')],'type':_0x35d9db[_0xf048('0x2d')][_0xf048('0x2e')]};});_0xbf24['model']=_[_0xf048('0x2a')](_0xfb33,_0xf048('0x27'));_0xbf24[_0xf048('0x2f')]=_[_0xf048('0x30')](_0xf99471[_0xf048('0x2f')]);_0xbf24[_0xf048('0x31')]=_[_0xf048('0x32')](_0xbf24['model'],_0xbf24[_0xf048('0x2f')]);_0x13aeb9['attributes']=_[_0xf048('0x32')](_0xbf24[_0xf048('0x33')],qs[_0xf048('0x34')](_0xf99471['query']['fields']));_0x13aeb9['attributes']=_0x13aeb9[_0xf048('0x35')][_0xf048('0x36')]?_0x13aeb9['attributes']:_0xbf24[_0xf048('0x33')];if(!_0xf99471['query'][_0xf048('0x37')]('nolimit')){_0x13aeb9['limit']=qs[_0xf048('0x1d')](_0xf99471[_0xf048('0x2f')][_0xf048('0x1d')]);_0x13aeb9['offset']=qs[_0xf048('0x1c')](_0xf99471[_0xf048('0x2f')]['offset']);}_0x13aeb9[_0xf048('0x38')]=qs[_0xf048('0x39')](_0xf99471[_0xf048('0x2f')][_0xf048('0x39')]);_0x13aeb9['where']=qs[_0xf048('0x31')](_[_0xf048('0x3a')](_0xf99471[_0xf048('0x2f')],_0xbf24[_0xf048('0x31')]),_0xfb33);if(_0xf99471[_0xf048('0x2f')][_0xf048('0x3b')]){_0x13aeb9[_0xf048('0x3c')]=_['merge'](_0x13aeb9[_0xf048('0x3c')],{'$or':_['map'](_0xfb33,function(_0x3e826b){if(_0x3e826b['type']!==_0xf048('0x3d')){var _0x35050c={};_0x35050c[_0x3e826b[_0xf048('0x27')]]={'$like':'%'+_0xf99471[_0xf048('0x2f')][_0xf048('0x3b')]+'%'};return _0x35050c;}})});}_0x13aeb9=_[_0xf048('0x3e')]({},_0x13aeb9,_0xf99471['options']);var _0x5a117e={'where':_0x13aeb9[_0xf048('0x3c')]};return db[_0xf048('0x3f')][_0xf048('0x1b')](_0x5a117e)[_0xf048('0x23')](function(_0x534d0b){_0x1d49ff[_0xf048('0x1b')]=_0x534d0b;if(_0xf99471[_0xf048('0x2f')][_0xf048('0x40')]){_0x13aeb9[_0xf048('0x41')]=[{'all':!![]}];}return db[_0xf048('0x3f')][_0xf048('0x42')](_0x13aeb9);})[_0xf048('0x23')](function(_0x461c34){_0x1d49ff[_0xf048('0x43')]=_0x461c34;return _0x1d49ff;})[_0xf048('0x23')](respondWithFilteredResult(_0x156522,_0x13aeb9))[_0xf048('0x44')](handleError(_0x156522,null));};exports[_0xf048('0x45')]=function(_0x45225f,_0x91abc5){var _0x50b99d={'raw':!![],'where':{'id':_0x45225f['params']['id']}},_0x4e5d66={};_0x4e5d66[_0xf048('0x33')]=_[_0xf048('0x30')](db['VoiceTransferReport']['rawAttributes']);_0x4e5d66[_0xf048('0x2f')]=_[_0xf048('0x30')](_0x45225f['query']);_0x4e5d66[_0xf048('0x31')]=_[_0xf048('0x32')](_0x4e5d66[_0xf048('0x33')],_0x4e5d66[_0xf048('0x2f')]);_0x50b99d['attributes']=_[_0xf048('0x32')](_0x4e5d66[_0xf048('0x33')],qs['fields'](_0x45225f[_0xf048('0x2f')]['fields']));_0x50b99d['attributes']=_0x50b99d[_0xf048('0x35')]['length']?_0x50b99d[_0xf048('0x35')]:_0x4e5d66['model'];if(_0x45225f[_0xf048('0x2f')][_0xf048('0x40')]){_0x50b99d[_0xf048('0x41')]=[{'all':!![]}];}_0x50b99d=_[_0xf048('0x3e')]({},_0x50b99d,_0x45225f[_0xf048('0x46')]);return db[_0xf048('0x3f')][_0xf048('0x47')](_0x50b99d)['then'](handleEntityNotFound(_0x91abc5,null))[_0xf048('0x23')](respondWithResult(_0x91abc5,null))[_0xf048('0x44')](handleError(_0x91abc5,null));};exports[_0xf048('0x48')]=function(_0x23d7f9,_0x52a01a){return db['VoiceTransferReport'][_0xf048('0x48')](_0x23d7f9[_0xf048('0x49')],{})[_0xf048('0x23')](respondWithResult(_0x52a01a,0xc9))[_0xf048('0x44')](handleError(_0x52a01a,null));};exports[_0xf048('0x22')]=function(_0x4dcec1,_0x25f759){if(_0x4dcec1[_0xf048('0x49')]['id']){delete _0x4dcec1[_0xf048('0x49')]['id'];}return db[_0xf048('0x3f')][_0xf048('0x47')]({'where':{'id':_0x4dcec1[_0xf048('0x4a')]['id']}})[_0xf048('0x23')](handleEntityNotFound(_0x25f759,null))['then'](saveUpdates(_0x4dcec1[_0xf048('0x49')],null))[_0xf048('0x23')](respondWithResult(_0x25f759,null))[_0xf048('0x44')](handleError(_0x25f759,null));};exports[_0xf048('0x24')]=function(_0x1b9b5b,_0x23bbd4){return db['VoiceTransferReport']['find']({'where':{'id':_0x1b9b5b[_0xf048('0x4a')]['id']}})['then'](handleEntityNotFound(_0x23bbd4,null))[_0xf048('0x23')](removeEntity(_0x23bbd4,null))[_0xf048('0x44')](handleError(_0x23bbd4,null));};exports['describe']=function(_0x3cbf7c,_0x14e802){return db[_0xf048('0x3f')][_0xf048('0x4b')]()[_0xf048('0x23')](respondWithResult(_0x14e802,null))[_0xf048('0x44')](handleError(_0x14e802,null));};
\ No newline at end of file
+var _0xfba8=['map','options','includeAll','include','findAll','catch','params','find','create','body','destroy','describe','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/logger','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','end','status','offset','limit','undefined','count','set','Content-Range','json','reject','update','then','error','stack','name','send','index','VoiceTransferReport','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xfba8,0x17e));var _0x8fba=function(_0x1b53ef,_0x278fee){_0x1b53ef=_0x1b53ef-0x0;var _0x1f93e2=_0xfba8[_0x1b53ef];return _0x1f93e2;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x8fba('0x0'));var zipdir=require(_0x8fba('0x1'));var jsonpatch=require(_0x8fba('0x2'));var rp=require(_0x8fba('0x3'));var moment=require(_0x8fba('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x8fba('0x5'));var util=require('util');var path=require('path');var sox=require(_0x8fba('0x6'));var csv=require(_0x8fba('0x7'));var ejs=require(_0x8fba('0x8'));var fs=require('fs');var fs_extra=require(_0x8fba('0x9'));var _=require(_0x8fba('0xa'));var squel=require(_0x8fba('0xb'));var crypto=require('crypto');var jsforce=require(_0x8fba('0xc'));var deskjs=require(_0x8fba('0xd'));var toCsv=require(_0x8fba('0x7'));var querystring=require(_0x8fba('0xe'));var Papa=require(_0x8fba('0xf'));var Redis=require(_0x8fba('0x10'));var authService=require(_0x8fba('0x11'));var qs=require(_0x8fba('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x8fba('0x13'))('api');var utils=require('../../config/utils');var config=require(_0x8fba('0x14'));var licenseUtil=require(_0x8fba('0x15'));var db=require(_0x8fba('0x16'))['db'];function respondWithStatusCode(_0x54f1f9,_0x188191){_0x188191=_0x188191||0xcc;return function(_0x19b9fe){if(_0x19b9fe){return _0x54f1f9[_0x8fba('0x17')](_0x188191);}return _0x54f1f9['status'](_0x188191)[_0x8fba('0x18')]();};}function respondWithResult(_0x1c2df7,_0x36d6f3){_0x36d6f3=_0x36d6f3||0xc8;return function(_0x18f8d8){if(_0x18f8d8){return _0x1c2df7[_0x8fba('0x19')](_0x36d6f3)['json'](_0x18f8d8);}};}function respondWithFilteredResult(_0x4fdaeb,_0x31e988){return function(_0x25b7a5){if(_0x25b7a5){var _0x1c0631=typeof _0x31e988[_0x8fba('0x1a')]==='undefined'&&typeof _0x31e988[_0x8fba('0x1b')]===_0x8fba('0x1c');var _0x4b7373=_0x25b7a5['count'];var _0x1de728=_0x1c0631?0x0:_0x31e988['offset'];var _0x2b4e31=_0x1c0631?_0x25b7a5[_0x8fba('0x1d')]:_0x31e988['offset']+_0x31e988['limit'];var _0x2f0732;if(_0x2b4e31>=_0x4b7373){_0x2b4e31=_0x4b7373;_0x2f0732=0xc8;}else{_0x2f0732=0xce;}_0x4fdaeb[_0x8fba('0x19')](_0x2f0732);return _0x4fdaeb[_0x8fba('0x1e')](_0x8fba('0x1f'),_0x1de728+'-'+_0x2b4e31+'/'+_0x4b7373)[_0x8fba('0x20')](_0x25b7a5);}return null;};}function patchUpdates(_0x32e02f){return function(_0x5f37e6){try{jsonpatch['apply'](_0x5f37e6,_0x32e02f,!![]);}catch(_0x41d71b){return BPromise[_0x8fba('0x21')](_0x41d71b);}return _0x5f37e6['save']();};}function saveUpdates(_0x2d4319,_0x239e16){return function(_0xc54aa4){if(_0xc54aa4){return _0xc54aa4[_0x8fba('0x22')](_0x2d4319)[_0x8fba('0x23')](function(_0x2fcc30){return _0x2fcc30;});}return null;};}function removeEntity(_0x4b577e,_0xe43016){return function(_0x1651d2){if(_0x1651d2){return _0x1651d2['destroy']()[_0x8fba('0x23')](function(){_0x4b577e[_0x8fba('0x19')](0xcc)[_0x8fba('0x18')]();});}};}function handleEntityNotFound(_0x1f87a0,_0x16fa5c){return function(_0x4d1fe7){if(!_0x4d1fe7){_0x1f87a0[_0x8fba('0x17')](0x194);}return _0x4d1fe7;};}function handleError(_0x5dc115,_0x255cd6){_0x255cd6=_0x255cd6||0x1f4;return function(_0x245e49){logger[_0x8fba('0x24')](_0x245e49[_0x8fba('0x25')]);if(_0x245e49['name']){delete _0x245e49[_0x8fba('0x26')];}_0x5dc115[_0x8fba('0x19')](_0x255cd6)[_0x8fba('0x27')](_0x245e49);};}exports[_0x8fba('0x28')]=function(_0x4d5374,_0x278762){var _0x3f0a21={},_0x151820={},_0x515e80={'count':0x0,'rows':[]};var _0x202e42=_['map'](db[_0x8fba('0x29')][_0x8fba('0x2a')],function(_0x2963b2){return{'name':_0x2963b2[_0x8fba('0x2b')],'type':_0x2963b2[_0x8fba('0x2c')][_0x8fba('0x2d')]};});_0x151820['model']=_['map'](_0x202e42,'name');_0x151820[_0x8fba('0x2e')]=_[_0x8fba('0x2f')](_0x4d5374[_0x8fba('0x2e')]);_0x151820[_0x8fba('0x30')]=_[_0x8fba('0x31')](_0x151820['model'],_0x151820[_0x8fba('0x2e')]);_0x3f0a21['attributes']=_['intersection'](_0x151820[_0x8fba('0x32')],qs[_0x8fba('0x33')](_0x4d5374[_0x8fba('0x2e')][_0x8fba('0x33')]));_0x3f0a21[_0x8fba('0x34')]=_0x3f0a21['attributes'][_0x8fba('0x35')]?_0x3f0a21[_0x8fba('0x34')]:_0x151820[_0x8fba('0x32')];if(!_0x4d5374['query'][_0x8fba('0x36')](_0x8fba('0x37'))){_0x3f0a21['limit']=qs[_0x8fba('0x1b')](_0x4d5374['query']['limit']);_0x3f0a21[_0x8fba('0x1a')]=qs['offset'](_0x4d5374[_0x8fba('0x2e')][_0x8fba('0x1a')]);}_0x3f0a21[_0x8fba('0x38')]=qs[_0x8fba('0x39')](_0x4d5374[_0x8fba('0x2e')][_0x8fba('0x39')]);_0x3f0a21[_0x8fba('0x3a')]=qs[_0x8fba('0x30')](_[_0x8fba('0x3b')](_0x4d5374[_0x8fba('0x2e')],_0x151820[_0x8fba('0x30')]),_0x202e42);if(_0x4d5374[_0x8fba('0x2e')][_0x8fba('0x3c')]){_0x3f0a21[_0x8fba('0x3a')]=_[_0x8fba('0x3d')](_0x3f0a21[_0x8fba('0x3a')],{'$or':_[_0x8fba('0x3e')](_0x202e42,function(_0xbe717e){if(_0xbe717e[_0x8fba('0x2c')]!=='VIRTUAL'){var _0x3eaab0={};_0x3eaab0[_0xbe717e['name']]={'$like':'%'+_0x4d5374[_0x8fba('0x2e')][_0x8fba('0x3c')]+'%'};return _0x3eaab0;}})});}_0x3f0a21=_[_0x8fba('0x3d')]({},_0x3f0a21,_0x4d5374[_0x8fba('0x3f')]);var _0x432268={'where':_0x3f0a21[_0x8fba('0x3a')]};return db[_0x8fba('0x29')]['count'](_0x432268)['then'](function(_0x2ca13b){_0x515e80[_0x8fba('0x1d')]=_0x2ca13b;if(_0x4d5374[_0x8fba('0x2e')][_0x8fba('0x40')]){_0x3f0a21[_0x8fba('0x41')]=[{'all':!![]}];}return db[_0x8fba('0x29')][_0x8fba('0x42')](_0x3f0a21);})[_0x8fba('0x23')](function(_0x4fc7e6){_0x515e80['rows']=_0x4fc7e6;return _0x515e80;})[_0x8fba('0x23')](respondWithFilteredResult(_0x278762,_0x3f0a21))[_0x8fba('0x43')](handleError(_0x278762,null));};exports['show']=function(_0x926fd1,_0x3dddfa){var _0x4c7e78={'raw':!![],'where':{'id':_0x926fd1[_0x8fba('0x44')]['id']}},_0x495331={};_0x495331[_0x8fba('0x32')]=_[_0x8fba('0x2f')](db['VoiceTransferReport']['rawAttributes']);_0x495331[_0x8fba('0x2e')]=_[_0x8fba('0x2f')](_0x926fd1['query']);_0x495331[_0x8fba('0x30')]=_[_0x8fba('0x31')](_0x495331[_0x8fba('0x32')],_0x495331[_0x8fba('0x2e')]);_0x4c7e78[_0x8fba('0x34')]=_['intersection'](_0x495331[_0x8fba('0x32')],qs[_0x8fba('0x33')](_0x926fd1[_0x8fba('0x2e')][_0x8fba('0x33')]));_0x4c7e78[_0x8fba('0x34')]=_0x4c7e78[_0x8fba('0x34')]['length']?_0x4c7e78[_0x8fba('0x34')]:_0x495331[_0x8fba('0x32')];if(_0x926fd1[_0x8fba('0x2e')][_0x8fba('0x40')]){_0x4c7e78['include']=[{'all':!![]}];}_0x4c7e78=_[_0x8fba('0x3d')]({},_0x4c7e78,_0x926fd1[_0x8fba('0x3f')]);return db[_0x8fba('0x29')][_0x8fba('0x45')](_0x4c7e78)[_0x8fba('0x23')](handleEntityNotFound(_0x3dddfa,null))[_0x8fba('0x23')](respondWithResult(_0x3dddfa,null))[_0x8fba('0x43')](handleError(_0x3dddfa,null));};exports[_0x8fba('0x46')]=function(_0x1cdd82,_0x3456d8){return db[_0x8fba('0x29')][_0x8fba('0x46')](_0x1cdd82[_0x8fba('0x47')],{})[_0x8fba('0x23')](respondWithResult(_0x3456d8,0xc9))[_0x8fba('0x43')](handleError(_0x3456d8,null));};exports['update']=function(_0x24c28e,_0xea99f2){if(_0x24c28e['body']['id']){delete _0x24c28e[_0x8fba('0x47')]['id'];}return db['VoiceTransferReport'][_0x8fba('0x45')]({'where':{'id':_0x24c28e[_0x8fba('0x44')]['id']}})[_0x8fba('0x23')](handleEntityNotFound(_0xea99f2,null))[_0x8fba('0x23')](saveUpdates(_0x24c28e['body'],null))[_0x8fba('0x23')](respondWithResult(_0xea99f2,null))[_0x8fba('0x43')](handleError(_0xea99f2,null));};exports[_0x8fba('0x48')]=function(_0x35dd07,_0x16a530){return db[_0x8fba('0x29')][_0x8fba('0x45')]({'where':{'id':_0x35dd07[_0x8fba('0x44')]['id']}})[_0x8fba('0x23')](handleEntityNotFound(_0x16a530,null))[_0x8fba('0x23')](removeEntity(_0x16a530,null))[_0x8fba('0x43')](handleError(_0x16a530,null));};exports[_0x8fba('0x49')]=function(_0x3bc64f,_0x408202){return db[_0x8fba('0x29')][_0x8fba('0x49')]()['then'](respondWithResult(_0x408202,null))[_0x8fba('0x43')](handleError(_0x408202,null));};
\ No newline at end of file