Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / voiceDialReport / voiceDialReport.controller.js
index c745b41..9b91798 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3028=['filter','merge','where','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','keys','length','find','create','body','describe','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','squel','crypto','jsforce','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','count','offset','limit','set','apply','save','update','destroy','then','sendStatus','error','stack','name','send','index','map','VoiceDialReport','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','pick'];(function(_0x3e37c2,_0x4b7140){var _0x344a0f=function(_0x1dfaf2){while(--_0x1dfaf2){_0x3e37c2['push'](_0x3e37c2['shift']());}};_0x344a0f(++_0x4b7140);}(_0x3028,0x18e));var _0x8302=function(_0x19b4ef,_0x236d90){_0x19b4ef=_0x19b4ef-0x0;var _0x1ce611=_0x3028[_0x19b4ef];return _0x1ce611;};'use strict';var pdf=require(_0x8302('0x0'));var emlformat=require(_0x8302('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x8302('0x2'));var jsonpatch=require(_0x8302('0x3'));var rp=require(_0x8302('0x4'));var moment=require('moment');var BPromise=require(_0x8302('0x5'));var Mustache=require(_0x8302('0x6'));var util=require(_0x8302('0x7'));var path=require('path');var sox=require(_0x8302('0x8'));var csv=require(_0x8302('0x9'));var ejs=require(_0x8302('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x8302('0xb'));var crypto=require(_0x8302('0xc'));var jsforce=require(_0x8302('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x8302('0x9'));var querystring=require(_0x8302('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x8302('0xf'));var qs=require(_0x8302('0x10'));var as=require(_0x8302('0x11'));var hardwareService=require(_0x8302('0x12'));var logger=require(_0x8302('0x13'))(_0x8302('0x14'));var utils=require(_0x8302('0x15'));var config=require(_0x8302('0x16'));var db=require(_0x8302('0x17'))['db'];function respondWithStatusCode(_0x240bd2,_0x44f704){_0x44f704=_0x44f704||0xcc;return function(_0x2b0fb3){if(_0x2b0fb3){return _0x240bd2['sendStatus'](_0x44f704);}return _0x240bd2[_0x8302('0x18')](_0x44f704)[_0x8302('0x19')]();};}function respondWithResult(_0x5558b0,_0x51e66c){_0x51e66c=_0x51e66c||0xc8;return function(_0x3bb56d){if(_0x3bb56d){return _0x5558b0[_0x8302('0x18')](_0x51e66c)['json'](_0x3bb56d);}};}function respondWithFilteredResult(_0x2477e4,_0xda7c76){return function(_0x418603){if(_0x418603){var _0x313348=_0x418603[_0x8302('0x1a')],_0x54bd97=_0xda7c76[_0x8302('0x1b')],_0xba6b22=_0xda7c76[_0x8302('0x1b')]+_0xda7c76[_0x8302('0x1c')],_0x3d0e75;if(_0xba6b22>=_0x313348){_0xba6b22=_0x313348;_0x3d0e75=0xc8;}else{_0x3d0e75=0xce;}_0x2477e4[_0x8302('0x18')](_0x3d0e75);return _0x2477e4[_0x8302('0x1d')]('Content-Range',_0x54bd97+'-'+_0xba6b22+'/'+_0x313348)['json'](_0x418603);}return null;};}function patchUpdates(_0x1491b4){return function(_0xe8069a){try{jsonpatch[_0x8302('0x1e')](_0xe8069a,_0x1491b4,!![]);}catch(_0x297f8e){return BPromise['reject'](_0x297f8e);}return _0xe8069a[_0x8302('0x1f')]();};}function saveUpdates(_0xcdcac1,_0x39696f){return function(_0x535f92){if(_0x535f92){return _0x535f92[_0x8302('0x20')](_0xcdcac1)['then'](function(_0x837a8a){return _0x837a8a;});}return null;};}function removeEntity(_0x4df116,_0x35a398){return function(_0x4d2ada){if(_0x4d2ada){return _0x4d2ada[_0x8302('0x21')]()[_0x8302('0x22')](function(){_0x4df116['status'](0xcc)[_0x8302('0x19')]();});}};}function handleEntityNotFound(_0x370cd0,_0x22f329){return function(_0xc221d1){if(!_0xc221d1){_0x370cd0[_0x8302('0x23')](0x194);}return _0xc221d1;};}function handleError(_0x5ec9d6,_0x430eb9){_0x430eb9=_0x430eb9||0x1f4;return function(_0x2643a0){logger[_0x8302('0x24')](_0x2643a0[_0x8302('0x25')]);if(_0x2643a0[_0x8302('0x26')]){delete _0x2643a0['name'];}_0x5ec9d6[_0x8302('0x18')](_0x430eb9)[_0x8302('0x27')](_0x2643a0);};}exports[_0x8302('0x28')]=function(_0x1a5c15,_0x514e77){var _0x3c78ee={},_0x2d052e={},_0x4f0649={'count':0x0,'rows':[]};var _0x34f742=_[_0x8302('0x29')](db[_0x8302('0x2a')][_0x8302('0x2b')],function(_0x1690db){return{'name':_0x1690db[_0x8302('0x2c')],'type':_0x1690db[_0x8302('0x2d')][_0x8302('0x2e')]};});_0x2d052e[_0x8302('0x2f')]=_[_0x8302('0x29')](_0x34f742,'name');_0x2d052e[_0x8302('0x30')]=_['keys'](_0x1a5c15['query']);_0x2d052e[_0x8302('0x31')]=_[_0x8302('0x32')](_0x2d052e[_0x8302('0x2f')],_0x2d052e[_0x8302('0x30')]);_0x3c78ee[_0x8302('0x33')]=_[_0x8302('0x32')](_0x2d052e['model'],qs[_0x8302('0x34')](_0x1a5c15[_0x8302('0x30')]['fields']));_0x3c78ee[_0x8302('0x33')]=_0x3c78ee[_0x8302('0x33')]['length']?_0x3c78ee[_0x8302('0x33')]:_0x2d052e[_0x8302('0x2f')];if(!_0x1a5c15['query'][_0x8302('0x35')](_0x8302('0x36'))){_0x3c78ee[_0x8302('0x1c')]=qs[_0x8302('0x1c')](_0x1a5c15['query']['limit']);_0x3c78ee[_0x8302('0x1b')]=qs[_0x8302('0x1b')](_0x1a5c15[_0x8302('0x30')][_0x8302('0x1b')]);}_0x3c78ee[_0x8302('0x37')]=qs[_0x8302('0x38')](_0x1a5c15[_0x8302('0x30')][_0x8302('0x38')]);_0x3c78ee['where']=qs[_0x8302('0x31')](_[_0x8302('0x39')](_0x1a5c15[_0x8302('0x30')],_0x2d052e[_0x8302('0x31')]));if(_0x1a5c15[_0x8302('0x30')][_0x8302('0x3a')]){_0x3c78ee['where']=_[_0x8302('0x3b')](_0x3c78ee[_0x8302('0x3c')],{'$or':_['map'](_0x34f742,function(_0x17d7a9){if(_0x17d7a9[_0x8302('0x2d')]!==_0x8302('0x3d')){var _0xeb4653={};_0xeb4653[_0x17d7a9[_0x8302('0x26')]]={'$like':'%'+_0x1a5c15[_0x8302('0x30')][_0x8302('0x3a')]+'%'};return _0xeb4653;}})});}_0x3c78ee=_[_0x8302('0x3b')]({},_0x3c78ee,_0x1a5c15[_0x8302('0x3e')]);var _0x2c4d77={'where':_0x3c78ee[_0x8302('0x3c')]};return db[_0x8302('0x2a')][_0x8302('0x1a')](_0x2c4d77)[_0x8302('0x22')](function(_0x33dc8c){_0x4f0649['count']=_0x33dc8c;if(_0x1a5c15[_0x8302('0x30')][_0x8302('0x3f')]){_0x3c78ee[_0x8302('0x40')]=[{'all':!![]}];}return db[_0x8302('0x2a')][_0x8302('0x41')](_0x3c78ee);})['then'](function(_0x211e88){_0x4f0649[_0x8302('0x42')]=_0x211e88;return _0x4f0649;})[_0x8302('0x22')](respondWithFilteredResult(_0x514e77,_0x3c78ee))[_0x8302('0x43')](handleError(_0x514e77,null));};exports[_0x8302('0x44')]=function(_0x223cab,_0x95b50f){var _0x1a4218={'raw':!![],'where':{'id':_0x223cab[_0x8302('0x45')]['id']}},_0x5cb857={};_0x5cb857['model']=_[_0x8302('0x46')](db['VoiceDialReport']['rawAttributes']);_0x5cb857[_0x8302('0x30')]=_[_0x8302('0x46')](_0x223cab[_0x8302('0x30')]);_0x5cb857[_0x8302('0x31')]=_[_0x8302('0x32')](_0x5cb857[_0x8302('0x2f')],_0x5cb857[_0x8302('0x30')]);_0x1a4218[_0x8302('0x33')]=_[_0x8302('0x32')](_0x5cb857[_0x8302('0x2f')],qs[_0x8302('0x34')](_0x223cab['query']['fields']));_0x1a4218['attributes']=_0x1a4218[_0x8302('0x33')][_0x8302('0x47')]?_0x1a4218[_0x8302('0x33')]:_0x5cb857['model'];if(_0x223cab[_0x8302('0x30')][_0x8302('0x3f')]){_0x1a4218[_0x8302('0x40')]=[{'all':!![]}];}_0x1a4218=_['merge']({},_0x1a4218,_0x223cab[_0x8302('0x3e')]);return db[_0x8302('0x2a')][_0x8302('0x48')](_0x1a4218)['then'](handleEntityNotFound(_0x95b50f,null))[_0x8302('0x22')](respondWithResult(_0x95b50f,null))[_0x8302('0x43')](handleError(_0x95b50f,null));};exports[_0x8302('0x49')]=function(_0x1215ec,_0x320656){return db[_0x8302('0x2a')][_0x8302('0x49')](_0x1215ec[_0x8302('0x4a')],{})['then'](respondWithResult(_0x320656,0xc9))[_0x8302('0x43')](handleError(_0x320656,null));};exports[_0x8302('0x20')]=function(_0x329a04,_0x533228){if(_0x329a04['body']['id']){delete _0x329a04['body']['id'];}return db['VoiceDialReport'][_0x8302('0x48')]({'where':{'id':_0x329a04[_0x8302('0x45')]['id']}})[_0x8302('0x22')](handleEntityNotFound(_0x533228,null))[_0x8302('0x22')](saveUpdates(_0x329a04[_0x8302('0x4a')],null))[_0x8302('0x22')](respondWithResult(_0x533228,null))[_0x8302('0x43')](handleError(_0x533228,null));};exports[_0x8302('0x21')]=function(_0x169826,_0x14cda6){return db['VoiceDialReport'][_0x8302('0x48')]({'where':{'id':_0x169826[_0x8302('0x45')]['id']}})[_0x8302('0x22')](handleEntityNotFound(_0x14cda6,null))[_0x8302('0x22')](removeEntity(_0x14cda6,null))['catch'](handleError(_0x14cda6,null));};exports[_0x8302('0x4b')]=function(_0x54f293,_0x29c302){return db[_0x8302('0x2a')][_0x8302('0x4b')]()[_0x8302('0x22')](respondWithResult(_0x29c302,null))['catch'](handleError(_0x29c302,null));};
\ No newline at end of file
+var _0xc6c9=['../../config/license/hardware','api','../../config/utils','../../config/environment','../../config/license/util','sendStatus','end','status','json','count','offset','Content-Range','reject','save','update','then','error','stack','name','send','map','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','limit','order','sort','filters','pick','filter','where','merge','options','includeAll','include','VoiceDialReport','findAll','rows','catch','show','params','find','create','body','describe','zip-dir','fast-json-patch','request-promise','util','sox','to-csv','ejs','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch'];(function(_0xdcaaf,_0x47f9d2){var _0x488106=function(_0x5be726){while(--_0x5be726){_0xdcaaf['push'](_0xdcaaf['shift']());}};_0x488106(++_0x47f9d2);}(_0xc6c9,0x108));var _0x9c6c=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xc6c9[_0x3bf83f];return _0x22c4a9;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x9c6c('0x0'));var jsonpatch=require(_0x9c6c('0x1'));var rp=require(_0x9c6c('0x2'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x9c6c('0x3'));var path=require('path');var sox=require(_0x9c6c('0x4'));var csv=require(_0x9c6c('0x5'));var ejs=require(_0x9c6c('0x6'));var fs=require('fs');var _=require(_0x9c6c('0x7'));var squel=require(_0x9c6c('0x8'));var crypto=require(_0x9c6c('0x9'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x9c6c('0x5'));var querystring=require(_0x9c6c('0xa'));var Papa=require(_0x9c6c('0xb'));var Redis=require(_0x9c6c('0xc'));var authService=require(_0x9c6c('0xd'));var qs=require(_0x9c6c('0xe'));var as=require(_0x9c6c('0xf'));var hardwareService=require(_0x9c6c('0x10'));var logger=require('../../config/logger')(_0x9c6c('0x11'));var utils=require(_0x9c6c('0x12'));var config=require(_0x9c6c('0x13'));var licenseUtil=require(_0x9c6c('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x38fc4c,_0xd50366){_0xd50366=_0xd50366||0xcc;return function(_0x38b75b){if(_0x38b75b){return _0x38fc4c[_0x9c6c('0x15')](_0xd50366);}return _0x38fc4c['status'](_0xd50366)[_0x9c6c('0x16')]();};}function respondWithResult(_0x3627e9,_0x5c05a3){_0x5c05a3=_0x5c05a3||0xc8;return function(_0x546286){if(_0x546286){return _0x3627e9[_0x9c6c('0x17')](_0x5c05a3)[_0x9c6c('0x18')](_0x546286);}};}function respondWithFilteredResult(_0x3604f3,_0x2f1647){return function(_0x50a86e){if(_0x50a86e){var _0x41a0a7=_0x50a86e[_0x9c6c('0x19')],_0x492e0e=_0x2f1647[_0x9c6c('0x1a')],_0x4f5410=_0x2f1647[_0x9c6c('0x1a')]+_0x2f1647['limit'],_0x4d5a4f;if(_0x4f5410>=_0x41a0a7){_0x4f5410=_0x41a0a7;_0x4d5a4f=0xc8;}else{_0x4d5a4f=0xce;}_0x3604f3[_0x9c6c('0x17')](_0x4d5a4f);return _0x3604f3['set'](_0x9c6c('0x1b'),_0x492e0e+'-'+_0x4f5410+'/'+_0x41a0a7)['json'](_0x50a86e);}return null;};}function patchUpdates(_0x2fb1d9){return function(_0x810798){try{jsonpatch['apply'](_0x810798,_0x2fb1d9,!![]);}catch(_0x3847ca){return BPromise[_0x9c6c('0x1c')](_0x3847ca);}return _0x810798[_0x9c6c('0x1d')]();};}function saveUpdates(_0x549bb8,_0xa2db7e){return function(_0x517f39){if(_0x517f39){return _0x517f39[_0x9c6c('0x1e')](_0x549bb8)[_0x9c6c('0x1f')](function(_0xea97ba){return _0xea97ba;});}return null;};}function removeEntity(_0x1f5663,_0x28c350){return function(_0x2f7ccd){if(_0x2f7ccd){return _0x2f7ccd['destroy']()[_0x9c6c('0x1f')](function(){_0x1f5663[_0x9c6c('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x46c277,_0x9d2995){return function(_0x104361){if(!_0x104361){_0x46c277['sendStatus'](0x194);}return _0x104361;};}function handleError(_0x34f4e6,_0x2e9a3d){_0x2e9a3d=_0x2e9a3d||0x1f4;return function(_0x3e5ca0){logger[_0x9c6c('0x20')](_0x3e5ca0[_0x9c6c('0x21')]);if(_0x3e5ca0[_0x9c6c('0x22')]){delete _0x3e5ca0['name'];}_0x34f4e6['status'](_0x2e9a3d)[_0x9c6c('0x23')](_0x3e5ca0);};}exports['index']=function(_0xf2be97,_0x4922d3){var _0xdf8547={},_0x1fbf4b={},_0x5a67e1={'count':0x0,'rows':[]};var _0x7e7604=_[_0x9c6c('0x24')](db['VoiceDialReport'][_0x9c6c('0x25')],function(_0x36ae08){return{'name':_0x36ae08[_0x9c6c('0x26')],'type':_0x36ae08[_0x9c6c('0x27')][_0x9c6c('0x28')]};});_0x1fbf4b[_0x9c6c('0x29')]=_['map'](_0x7e7604,_0x9c6c('0x22'));_0x1fbf4b[_0x9c6c('0x2a')]=_[_0x9c6c('0x2b')](_0xf2be97[_0x9c6c('0x2a')]);_0x1fbf4b['filters']=_[_0x9c6c('0x2c')](_0x1fbf4b[_0x9c6c('0x29')],_0x1fbf4b['query']);_0xdf8547[_0x9c6c('0x2d')]=_[_0x9c6c('0x2c')](_0x1fbf4b[_0x9c6c('0x29')],qs['fields'](_0xf2be97[_0x9c6c('0x2a')][_0x9c6c('0x2e')]));_0xdf8547[_0x9c6c('0x2d')]=_0xdf8547['attributes'][_0x9c6c('0x2f')]?_0xdf8547['attributes']:_0x1fbf4b[_0x9c6c('0x29')];if(!_0xf2be97[_0x9c6c('0x2a')][_0x9c6c('0x30')]('nolimit')){_0xdf8547[_0x9c6c('0x31')]=qs[_0x9c6c('0x31')](_0xf2be97['query'][_0x9c6c('0x31')]);_0xdf8547[_0x9c6c('0x1a')]=qs[_0x9c6c('0x1a')](_0xf2be97[_0x9c6c('0x2a')]['offset']);}_0xdf8547[_0x9c6c('0x32')]=qs[_0x9c6c('0x33')](_0xf2be97[_0x9c6c('0x2a')][_0x9c6c('0x33')]);_0xdf8547['where']=qs[_0x9c6c('0x34')](_[_0x9c6c('0x35')](_0xf2be97[_0x9c6c('0x2a')],_0x1fbf4b[_0x9c6c('0x34')]),_0x7e7604);if(_0xf2be97['query'][_0x9c6c('0x36')]){_0xdf8547[_0x9c6c('0x37')]=_[_0x9c6c('0x38')](_0xdf8547['where'],{'$or':_[_0x9c6c('0x24')](_0x7e7604,function(_0x5af72d){if(_0x5af72d['type']!=='VIRTUAL'){var _0xcc4a89={};_0xcc4a89[_0x5af72d[_0x9c6c('0x22')]]={'$like':'%'+_0xf2be97[_0x9c6c('0x2a')][_0x9c6c('0x36')]+'%'};return _0xcc4a89;}})});}_0xdf8547=_[_0x9c6c('0x38')]({},_0xdf8547,_0xf2be97[_0x9c6c('0x39')]);var _0x482bab={'where':_0xdf8547[_0x9c6c('0x37')]};return db['VoiceDialReport']['count'](_0x482bab)['then'](function(_0x3b1f7a){_0x5a67e1['count']=_0x3b1f7a;if(_0xf2be97[_0x9c6c('0x2a')][_0x9c6c('0x3a')]){_0xdf8547[_0x9c6c('0x3b')]=[{'all':!![]}];}return db[_0x9c6c('0x3c')][_0x9c6c('0x3d')](_0xdf8547);})[_0x9c6c('0x1f')](function(_0x5043b4){_0x5a67e1[_0x9c6c('0x3e')]=_0x5043b4;return _0x5a67e1;})[_0x9c6c('0x1f')](respondWithFilteredResult(_0x4922d3,_0xdf8547))[_0x9c6c('0x3f')](handleError(_0x4922d3,null));};exports[_0x9c6c('0x40')]=function(_0x5d8acf,_0x5a0a73){var _0xc0da21={'raw':!![],'where':{'id':_0x5d8acf[_0x9c6c('0x41')]['id']}},_0x4e38a9={};_0x4e38a9[_0x9c6c('0x29')]=_['keys'](db['VoiceDialReport']['rawAttributes']);_0x4e38a9[_0x9c6c('0x2a')]=_[_0x9c6c('0x2b')](_0x5d8acf[_0x9c6c('0x2a')]);_0x4e38a9[_0x9c6c('0x34')]=_[_0x9c6c('0x2c')](_0x4e38a9[_0x9c6c('0x29')],_0x4e38a9['query']);_0xc0da21['attributes']=_[_0x9c6c('0x2c')](_0x4e38a9['model'],qs[_0x9c6c('0x2e')](_0x5d8acf[_0x9c6c('0x2a')][_0x9c6c('0x2e')]));_0xc0da21[_0x9c6c('0x2d')]=_0xc0da21[_0x9c6c('0x2d')][_0x9c6c('0x2f')]?_0xc0da21[_0x9c6c('0x2d')]:_0x4e38a9[_0x9c6c('0x29')];if(_0x5d8acf[_0x9c6c('0x2a')][_0x9c6c('0x3a')]){_0xc0da21[_0x9c6c('0x3b')]=[{'all':!![]}];}_0xc0da21=_[_0x9c6c('0x38')]({},_0xc0da21,_0x5d8acf[_0x9c6c('0x39')]);return db[_0x9c6c('0x3c')][_0x9c6c('0x42')](_0xc0da21)[_0x9c6c('0x1f')](handleEntityNotFound(_0x5a0a73,null))['then'](respondWithResult(_0x5a0a73,null))[_0x9c6c('0x3f')](handleError(_0x5a0a73,null));};exports[_0x9c6c('0x43')]=function(_0x1ee4d8,_0x4a9b48){return db[_0x9c6c('0x3c')][_0x9c6c('0x43')](_0x1ee4d8[_0x9c6c('0x44')],{})[_0x9c6c('0x1f')](respondWithResult(_0x4a9b48,0xc9))['catch'](handleError(_0x4a9b48,null));};exports[_0x9c6c('0x1e')]=function(_0x2358e2,_0x579ffb){if(_0x2358e2[_0x9c6c('0x44')]['id']){delete _0x2358e2[_0x9c6c('0x44')]['id'];}return db[_0x9c6c('0x3c')][_0x9c6c('0x42')]({'where':{'id':_0x2358e2[_0x9c6c('0x41')]['id']}})[_0x9c6c('0x1f')](handleEntityNotFound(_0x579ffb,null))[_0x9c6c('0x1f')](saveUpdates(_0x2358e2[_0x9c6c('0x44')],null))[_0x9c6c('0x1f')](respondWithResult(_0x579ffb,null))[_0x9c6c('0x3f')](handleError(_0x579ffb,null));};exports['destroy']=function(_0x39c60f,_0x319b3b){return db[_0x9c6c('0x3c')][_0x9c6c('0x42')]({'where':{'id':_0x39c60f[_0x9c6c('0x41')]['id']}})[_0x9c6c('0x1f')](handleEntityNotFound(_0x319b3b,null))[_0x9c6c('0x1f')](removeEntity(_0x319b3b,null))['catch'](handleError(_0x319b3b,null));};exports[_0x9c6c('0x45')]=function(_0xf9c1d2,_0x1dbdd3){return db[_0x9c6c('0x3c')][_0x9c6c('0x45')]()[_0x9c6c('0x1f')](respondWithResult(_0x1dbdd3,null))[_0x9c6c('0x3f')](handleError(_0x1dbdd3,null));};
\ No newline at end of file