Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.controller.js
index 05fc19c..a39cdcd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfcf9=['../../config/license/util','../../mysqldb','sendStatus','status','end','json','count','offset','set','Content-Range','reject','save','update','then','destroy','name','index','VoiceQueuesLog','rawAttributes','type','key','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge','map','VIRTUAL','options','includeAll','include','catch','body','find','params','html-pdf','eml-format','rimraf','request-promise','bluebird','util','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','papaparse','ioredis','../../components/parsers/advancedSearch','api'];(function(_0x28da54,_0x92c496){var _0x3eddc1=function(_0x4b099b){while(--_0x4b099b){_0x28da54['push'](_0x28da54['shift']());}};_0x3eddc1(++_0x92c496);}(_0xfcf9,0x1ae));var _0x9fcf=function(_0x48bce7,_0x2fb44c){_0x48bce7=_0x48bce7-0x0;var _0x3925a6=_0xfcf9[_0x48bce7];return _0x3925a6;};'use strict';var pdf=require(_0x9fcf('0x0'));var emlformat=require(_0x9fcf('0x1'));var rimraf=require(_0x9fcf('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x9fcf('0x3'));var moment=require('moment');var BPromise=require(_0x9fcf('0x4'));var Mustache=require('mustache');var util=require(_0x9fcf('0x5'));var path=require(_0x9fcf('0x6'));var sox=require(_0x9fcf('0x7'));var csv=require(_0x9fcf('0x8'));var ejs=require(_0x9fcf('0x9'));var fs=require('fs');var _=require(_0x9fcf('0xa'));var squel=require(_0x9fcf('0xb'));var crypto=require('crypto');var jsforce=require(_0x9fcf('0xc'));var deskjs=require(_0x9fcf('0xd'));var toCsv=require(_0x9fcf('0x8'));var querystring=require('querystring');var Papa=require(_0x9fcf('0xe'));var Redis=require(_0x9fcf('0xf'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x9fcf('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x9fcf('0x11'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x9fcf('0x12'));var db=require(_0x9fcf('0x13'))['db'];function respondWithStatusCode(_0x5618a0,_0x1f092b){_0x1f092b=_0x1f092b||0xcc;return function(_0x4dd6ba){if(_0x4dd6ba){return _0x5618a0[_0x9fcf('0x14')](_0x1f092b);}return _0x5618a0[_0x9fcf('0x15')](_0x1f092b)[_0x9fcf('0x16')]();};}function respondWithResult(_0x33dcc4,_0x4a51d6){_0x4a51d6=_0x4a51d6||0xc8;return function(_0x27d5fd){if(_0x27d5fd){return _0x33dcc4[_0x9fcf('0x15')](_0x4a51d6)[_0x9fcf('0x17')](_0x27d5fd);}};}function respondWithFilteredResult(_0x3770de,_0x421b09){return function(_0x2098ba){if(_0x2098ba){var _0x326bab=_0x2098ba[_0x9fcf('0x18')],_0x16361e=_0x421b09[_0x9fcf('0x19')],_0x1629f0=_0x421b09['offset']+_0x421b09['limit'],_0x8c9f32;if(_0x1629f0>=_0x326bab){_0x1629f0=_0x326bab;_0x8c9f32=0xc8;}else{_0x8c9f32=0xce;}_0x3770de[_0x9fcf('0x15')](_0x8c9f32);return _0x3770de[_0x9fcf('0x1a')](_0x9fcf('0x1b'),_0x16361e+'-'+_0x1629f0+'/'+_0x326bab)['json'](_0x2098ba);}return null;};}function patchUpdates(_0x586720){return function(_0x5c86d2){try{jsonpatch['apply'](_0x5c86d2,_0x586720,!![]);}catch(_0x4d7831){return BPromise[_0x9fcf('0x1c')](_0x4d7831);}return _0x5c86d2[_0x9fcf('0x1d')]();};}function saveUpdates(_0x561e83,_0x2e510e){return function(_0x17c08b){if(_0x17c08b){return _0x17c08b[_0x9fcf('0x1e')](_0x561e83)[_0x9fcf('0x1f')](function(_0x49a2e1){return _0x49a2e1;});}return null;};}function removeEntity(_0x17b4a2,_0x299388){return function(_0x3f120d){if(_0x3f120d){return _0x3f120d[_0x9fcf('0x20')]()[_0x9fcf('0x1f')](function(){_0x17b4a2[_0x9fcf('0x15')](0xcc)[_0x9fcf('0x16')]();});}};}function handleEntityNotFound(_0x1cb7e8,_0xe210d1){return function(_0x569be8){if(!_0x569be8){_0x1cb7e8[_0x9fcf('0x14')](0x194);}return _0x569be8;};}function handleError(_0x4b0d30,_0x2ed827){_0x2ed827=_0x2ed827||0x1f4;return function(_0x4c3df2){logger['error'](_0x4c3df2['stack']);if(_0x4c3df2[_0x9fcf('0x21')]){delete _0x4c3df2[_0x9fcf('0x21')];}_0x4b0d30[_0x9fcf('0x15')](_0x2ed827)['send'](_0x4c3df2);};}exports[_0x9fcf('0x22')]=function(_0x208318,_0x349c93){var _0xfae4db={},_0x53426b={},_0x37c3f3={'count':0x0,'rows':[]};var _0x4ecee8=_['map'](db[_0x9fcf('0x23')][_0x9fcf('0x24')],function(_0x397ac3){return{'name':_0x397ac3['fieldName'],'type':_0x397ac3[_0x9fcf('0x25')][_0x9fcf('0x26')]};});_0x53426b[_0x9fcf('0x27')]=_['map'](_0x4ecee8,_0x9fcf('0x21'));_0x53426b[_0x9fcf('0x28')]=_[_0x9fcf('0x29')](_0x208318['query']);_0x53426b[_0x9fcf('0x2a')]=_['intersection'](_0x53426b[_0x9fcf('0x27')],_0x53426b[_0x9fcf('0x28')]);_0xfae4db['attributes']=_[_0x9fcf('0x2b')](_0x53426b[_0x9fcf('0x27')],qs[_0x9fcf('0x2c')](_0x208318[_0x9fcf('0x28')]['fields']));_0xfae4db[_0x9fcf('0x2d')]=_0xfae4db[_0x9fcf('0x2d')]['length']?_0xfae4db['attributes']:_0x53426b[_0x9fcf('0x27')];if(!_0x208318[_0x9fcf('0x28')][_0x9fcf('0x2e')](_0x9fcf('0x2f'))){_0xfae4db['limit']=qs[_0x9fcf('0x30')](_0x208318[_0x9fcf('0x28')][_0x9fcf('0x30')]);_0xfae4db[_0x9fcf('0x19')]=qs['offset'](_0x208318[_0x9fcf('0x28')][_0x9fcf('0x19')]);}_0xfae4db[_0x9fcf('0x31')]=qs['sort'](_0x208318[_0x9fcf('0x28')][_0x9fcf('0x32')]);_0xfae4db[_0x9fcf('0x33')]=qs[_0x9fcf('0x2a')](_[_0x9fcf('0x34')](_0x208318[_0x9fcf('0x28')],_0x53426b[_0x9fcf('0x2a')]),_0x4ecee8);if(_0x208318[_0x9fcf('0x28')][_0x9fcf('0x35')]){_0xfae4db['where']=_[_0x9fcf('0x36')](_0xfae4db[_0x9fcf('0x33')],{'$or':_[_0x9fcf('0x37')](_0x4ecee8,function(_0x2535ac){if(_0x2535ac[_0x9fcf('0x25')]!==_0x9fcf('0x38')){var _0x4e9da0={};_0x4e9da0[_0x2535ac[_0x9fcf('0x21')]]={'$like':'%'+_0x208318[_0x9fcf('0x28')][_0x9fcf('0x35')]+'%'};return _0x4e9da0;}})});}_0xfae4db=_[_0x9fcf('0x36')]({},_0xfae4db,_0x208318[_0x9fcf('0x39')]);var _0x3fec31={'where':_0xfae4db[_0x9fcf('0x33')]};return db[_0x9fcf('0x23')][_0x9fcf('0x18')](_0x3fec31)[_0x9fcf('0x1f')](function(_0x50404e){_0x37c3f3[_0x9fcf('0x18')]=_0x50404e;if(_0x208318[_0x9fcf('0x28')][_0x9fcf('0x3a')]){_0xfae4db[_0x9fcf('0x3b')]=[{'all':!![]}];}return db[_0x9fcf('0x23')]['findAll'](_0xfae4db);})[_0x9fcf('0x1f')](function(_0x53e5d3){_0x37c3f3['rows']=_0x53e5d3;return _0x37c3f3;})[_0x9fcf('0x1f')](respondWithFilteredResult(_0x349c93,_0xfae4db))[_0x9fcf('0x3c')](handleError(_0x349c93,null));};exports['show']=function(_0x341ec6,_0x4197a9){var _0x8fc2b5={'raw':!![],'where':{'id':_0x341ec6['params']['id']}},_0x33e171={};_0x33e171['model']=_[_0x9fcf('0x29')](db['VoiceQueuesLog']['rawAttributes']);_0x33e171['query']=_[_0x9fcf('0x29')](_0x341ec6[_0x9fcf('0x28')]);_0x33e171[_0x9fcf('0x2a')]=_[_0x9fcf('0x2b')](_0x33e171[_0x9fcf('0x27')],_0x33e171[_0x9fcf('0x28')]);_0x8fc2b5[_0x9fcf('0x2d')]=_[_0x9fcf('0x2b')](_0x33e171['model'],qs[_0x9fcf('0x2c')](_0x341ec6[_0x9fcf('0x28')][_0x9fcf('0x2c')]));_0x8fc2b5['attributes']=_0x8fc2b5['attributes']['length']?_0x8fc2b5[_0x9fcf('0x2d')]:_0x33e171[_0x9fcf('0x27')];if(_0x341ec6[_0x9fcf('0x28')][_0x9fcf('0x3a')]){_0x8fc2b5[_0x9fcf('0x3b')]=[{'all':!![]}];}_0x8fc2b5=_[_0x9fcf('0x36')]({},_0x8fc2b5,_0x341ec6[_0x9fcf('0x39')]);return db['VoiceQueuesLog']['find'](_0x8fc2b5)[_0x9fcf('0x1f')](handleEntityNotFound(_0x4197a9,null))[_0x9fcf('0x1f')](respondWithResult(_0x4197a9,null))['catch'](handleError(_0x4197a9,null));};exports['create']=function(_0x198f89,_0x224280){return db[_0x9fcf('0x23')]['create'](_0x198f89[_0x9fcf('0x3d')],{})[_0x9fcf('0x1f')](respondWithResult(_0x224280,0xc9))[_0x9fcf('0x3c')](handleError(_0x224280,null));};exports[_0x9fcf('0x1e')]=function(_0x45b4ea,_0x370d75){if(_0x45b4ea[_0x9fcf('0x3d')]['id']){delete _0x45b4ea['body']['id'];}return db[_0x9fcf('0x23')][_0x9fcf('0x3e')]({'where':{'id':_0x45b4ea[_0x9fcf('0x3f')]['id']}})[_0x9fcf('0x1f')](handleEntityNotFound(_0x370d75,null))[_0x9fcf('0x1f')](saveUpdates(_0x45b4ea[_0x9fcf('0x3d')],null))[_0x9fcf('0x1f')](respondWithResult(_0x370d75,null))[_0x9fcf('0x3c')](handleError(_0x370d75,null));};exports[_0x9fcf('0x20')]=function(_0x11ed57,_0x243f87){return db[_0x9fcf('0x23')][_0x9fcf('0x3e')]({'where':{'id':_0x11ed57[_0x9fcf('0x3f')]['id']}})[_0x9fcf('0x1f')](handleEntityNotFound(_0x243f87,null))['then'](removeEntity(_0x243f87,null))['catch'](handleError(_0x243f87,null));};
\ No newline at end of file
+var _0x6c84=['update','then','destroy','sendStatus','error','stack','name','send','index','map','VoiceQueuesLog','rawAttributes','fieldName','type','key','model','query','keys','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter','merge','options','includeAll','include','findAll','catch','show','create','body','find','params','eml-format','request-promise','moment','bluebird','mustache','path','sox','to-csv','fs-extra','crypto','jsforce','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','status','end','json','offset','limit','count','set','Content-Range','reject','save'];(function(_0x1e0809,_0x2b3fa2){var _0x1b34c2=function(_0x497df7){while(--_0x497df7){_0x1e0809['push'](_0x1e0809['shift']());}};_0x1b34c2(++_0x2b3fa2);}(_0x6c84,0xfd));var _0x46c8=function(_0x49b207,_0x408ade){_0x49b207=_0x49b207-0x0;var _0x2dc8fa=_0x6c84[_0x49b207];return _0x2dc8fa;};'use strict';var emlformat=require(_0x46c8('0x0'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x46c8('0x1'));var moment=require(_0x46c8('0x2'));var BPromise=require(_0x46c8('0x3'));var Mustache=require(_0x46c8('0x4'));var util=require('util');var path=require(_0x46c8('0x5'));var sox=require(_0x46c8('0x6'));var csv=require(_0x46c8('0x7'));var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x46c8('0x8'));var _=require('lodash');var squel=require('squel');var crypto=require(_0x46c8('0x9'));var jsforce=require(_0x46c8('0xa'));var deskjs=require('desk.js');var toCsv=require(_0x46c8('0x7'));var querystring=require(_0x46c8('0xb'));var Papa=require('papaparse');var Redis=require(_0x46c8('0xc'));var authService=require('../../components/auth/service');var qs=require(_0x46c8('0xd'));var as=require(_0x46c8('0xe'));var hardwareService=require(_0x46c8('0xf'));var logger=require(_0x46c8('0x10'))(_0x46c8('0x11'));var utils=require(_0x46c8('0x12'));var config=require(_0x46c8('0x13'));var licenseUtil=require(_0x46c8('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0xbb8982,_0x355180){_0x355180=_0x355180||0xcc;return function(_0x39b649){if(_0x39b649){return _0xbb8982['sendStatus'](_0x355180);}return _0xbb8982[_0x46c8('0x15')](_0x355180)[_0x46c8('0x16')]();};}function respondWithResult(_0x4ccce6,_0x3ff52a){_0x3ff52a=_0x3ff52a||0xc8;return function(_0x5c3277){if(_0x5c3277){return _0x4ccce6[_0x46c8('0x15')](_0x3ff52a)[_0x46c8('0x17')](_0x5c3277);}};}function respondWithFilteredResult(_0x5bd7f5,_0x53cc5f){return function(_0x649ff1){if(_0x649ff1){var _0x4d4dba=typeof _0x53cc5f[_0x46c8('0x18')]==='undefined'&&typeof _0x53cc5f[_0x46c8('0x19')]==='undefined';var _0x321037=_0x649ff1[_0x46c8('0x1a')];var _0xc99eb=_0x4d4dba?0x0:_0x53cc5f[_0x46c8('0x18')];var _0x33892e=_0x4d4dba?_0x649ff1[_0x46c8('0x1a')]:_0x53cc5f[_0x46c8('0x18')]+_0x53cc5f[_0x46c8('0x19')];var _0x49adc0;if(_0x33892e>=_0x321037){_0x33892e=_0x321037;_0x49adc0=0xc8;}else{_0x49adc0=0xce;}_0x5bd7f5[_0x46c8('0x15')](_0x49adc0);return _0x5bd7f5[_0x46c8('0x1b')](_0x46c8('0x1c'),_0xc99eb+'-'+_0x33892e+'/'+_0x321037)[_0x46c8('0x17')](_0x649ff1);}return null;};}function patchUpdates(_0x5b1813){return function(_0x4fc445){try{jsonpatch['apply'](_0x4fc445,_0x5b1813,!![]);}catch(_0x18b07b){return BPromise[_0x46c8('0x1d')](_0x18b07b);}return _0x4fc445[_0x46c8('0x1e')]();};}function saveUpdates(_0x21ab85,_0xf8a846){return function(_0x460752){if(_0x460752){return _0x460752[_0x46c8('0x1f')](_0x21ab85)[_0x46c8('0x20')](function(_0x42a33b){return _0x42a33b;});}return null;};}function removeEntity(_0x52d537,_0x506154){return function(_0x2f89c2){if(_0x2f89c2){return _0x2f89c2[_0x46c8('0x21')]()['then'](function(){_0x52d537[_0x46c8('0x15')](0xcc)[_0x46c8('0x16')]();});}};}function handleEntityNotFound(_0x2d3476,_0x558bd8){return function(_0x229479){if(!_0x229479){_0x2d3476[_0x46c8('0x22')](0x194);}return _0x229479;};}function handleError(_0x446733,_0xa4e553){_0xa4e553=_0xa4e553||0x1f4;return function(_0x3f985b){logger[_0x46c8('0x23')](_0x3f985b[_0x46c8('0x24')]);if(_0x3f985b[_0x46c8('0x25')]){delete _0x3f985b[_0x46c8('0x25')];}_0x446733['status'](_0xa4e553)[_0x46c8('0x26')](_0x3f985b);};}exports[_0x46c8('0x27')]=function(_0x4658cf,_0x495daf){var _0x12b07b={},_0x67bdb3={},_0x1e4eda={'count':0x0,'rows':[]};var _0x2d0e69=_[_0x46c8('0x28')](db[_0x46c8('0x29')][_0x46c8('0x2a')],function(_0x22d047){return{'name':_0x22d047[_0x46c8('0x2b')],'type':_0x22d047[_0x46c8('0x2c')][_0x46c8('0x2d')]};});_0x67bdb3[_0x46c8('0x2e')]=_[_0x46c8('0x28')](_0x2d0e69,_0x46c8('0x25'));_0x67bdb3[_0x46c8('0x2f')]=_[_0x46c8('0x30')](_0x4658cf['query']);_0x67bdb3['filters']=_[_0x46c8('0x31')](_0x67bdb3[_0x46c8('0x2e')],_0x67bdb3[_0x46c8('0x2f')]);_0x12b07b['attributes']=_[_0x46c8('0x31')](_0x67bdb3[_0x46c8('0x2e')],qs[_0x46c8('0x32')](_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x32')]));_0x12b07b[_0x46c8('0x33')]=_0x12b07b[_0x46c8('0x33')][_0x46c8('0x34')]?_0x12b07b['attributes']:_0x67bdb3['model'];if(!_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x35')](_0x46c8('0x36'))){_0x12b07b[_0x46c8('0x19')]=qs[_0x46c8('0x19')](_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x19')]);_0x12b07b[_0x46c8('0x18')]=qs[_0x46c8('0x18')](_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x18')]);}_0x12b07b['order']=qs[_0x46c8('0x37')](_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x37')]);_0x12b07b[_0x46c8('0x38')]=qs[_0x46c8('0x39')](_[_0x46c8('0x3a')](_0x4658cf[_0x46c8('0x2f')],_0x67bdb3[_0x46c8('0x39')]),_0x2d0e69);if(_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x3b')]){_0x12b07b[_0x46c8('0x38')]=_[_0x46c8('0x3c')](_0x12b07b[_0x46c8('0x38')],{'$or':_['map'](_0x2d0e69,function(_0x34bc36){if(_0x34bc36[_0x46c8('0x2c')]!=='VIRTUAL'){var _0x29239c={};_0x29239c[_0x34bc36[_0x46c8('0x25')]]={'$like':'%'+_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x3b')]+'%'};return _0x29239c;}})});}_0x12b07b=_[_0x46c8('0x3c')]({},_0x12b07b,_0x4658cf[_0x46c8('0x3d')]);var _0x2c5c39={'where':_0x12b07b[_0x46c8('0x38')]};return db[_0x46c8('0x29')][_0x46c8('0x1a')](_0x2c5c39)[_0x46c8('0x20')](function(_0xeda212){_0x1e4eda[_0x46c8('0x1a')]=_0xeda212;if(_0x4658cf[_0x46c8('0x2f')][_0x46c8('0x3e')]){_0x12b07b[_0x46c8('0x3f')]=[{'all':!![]}];}return db[_0x46c8('0x29')][_0x46c8('0x40')](_0x12b07b);})['then'](function(_0x55af22){_0x1e4eda['rows']=_0x55af22;return _0x1e4eda;})[_0x46c8('0x20')](respondWithFilteredResult(_0x495daf,_0x12b07b))[_0x46c8('0x41')](handleError(_0x495daf,null));};exports[_0x46c8('0x42')]=function(_0x57dcda,_0x329202){var _0x5c4db2={'raw':!![],'where':{'id':_0x57dcda['params']['id']}},_0x525aa1={};_0x525aa1[_0x46c8('0x2e')]=_[_0x46c8('0x30')](db[_0x46c8('0x29')]['rawAttributes']);_0x525aa1['query']=_[_0x46c8('0x30')](_0x57dcda['query']);_0x525aa1[_0x46c8('0x39')]=_[_0x46c8('0x31')](_0x525aa1[_0x46c8('0x2e')],_0x525aa1[_0x46c8('0x2f')]);_0x5c4db2[_0x46c8('0x33')]=_['intersection'](_0x525aa1[_0x46c8('0x2e')],qs[_0x46c8('0x32')](_0x57dcda[_0x46c8('0x2f')]['fields']));_0x5c4db2[_0x46c8('0x33')]=_0x5c4db2['attributes'][_0x46c8('0x34')]?_0x5c4db2[_0x46c8('0x33')]:_0x525aa1['model'];if(_0x57dcda[_0x46c8('0x2f')][_0x46c8('0x3e')]){_0x5c4db2['include']=[{'all':!![]}];}_0x5c4db2=_[_0x46c8('0x3c')]({},_0x5c4db2,_0x57dcda[_0x46c8('0x3d')]);return db[_0x46c8('0x29')]['find'](_0x5c4db2)[_0x46c8('0x20')](handleEntityNotFound(_0x329202,null))['then'](respondWithResult(_0x329202,null))['catch'](handleError(_0x329202,null));};exports['create']=function(_0xf5171a,_0x15e128){return db[_0x46c8('0x29')][_0x46c8('0x43')](_0xf5171a[_0x46c8('0x44')],{})[_0x46c8('0x20')](respondWithResult(_0x15e128,0xc9))[_0x46c8('0x41')](handleError(_0x15e128,null));};exports[_0x46c8('0x1f')]=function(_0x988d0f,_0x1f2373){if(_0x988d0f[_0x46c8('0x44')]['id']){delete _0x988d0f['body']['id'];}return db['VoiceQueuesLog'][_0x46c8('0x45')]({'where':{'id':_0x988d0f[_0x46c8('0x46')]['id']}})[_0x46c8('0x20')](handleEntityNotFound(_0x1f2373,null))[_0x46c8('0x20')](saveUpdates(_0x988d0f['body'],null))[_0x46c8('0x20')](respondWithResult(_0x1f2373,null))[_0x46c8('0x41')](handleError(_0x1f2373,null));};exports[_0x46c8('0x21')]=function(_0x4f3cd4,_0x15da5e){return db[_0x46c8('0x29')][_0x46c8('0x45')]({'where':{'id':_0x4f3cd4[_0x46c8('0x46')]['id']}})[_0x46c8('0x20')](handleEntityNotFound(_0x15da5e,null))[_0x46c8('0x20')](removeEntity(_0x15da5e,null))[_0x46c8('0x41')](handleError(_0x15da5e,null));};
\ No newline at end of file