Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.controller.js
index cf16400..27e9e8f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xebf0=['VIRTUAL','includeAll','include','catch','show','params','rawAttributes','options','find','create','body','update','html-pdf','eml-format','zip-dir','request-promise','moment','mustache','path','sox','to-csv','ejs','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','apply','then','destroy','error','stack','name','send','index','VoiceQueuesLog','fieldName','type','key','model','map','query','keys','intersection','attributes','fields','length','nolimit','sort','filters','pick','filter','where','merge'];(function(_0xfad7dd,_0x1dd999){var _0x2d37c6=function(_0x44f935){while(--_0x44f935){_0xfad7dd['push'](_0xfad7dd['shift']());}};_0x2d37c6(++_0x1dd999);}(_0xebf0,0x98));var _0x0ebf=function(_0x2669b6,_0x2193ea){_0x2669b6=_0x2669b6-0x0;var _0x4ebc0b=_0xebf0[_0x2669b6];return _0x4ebc0b;};'use strict';var pdf=require(_0x0ebf('0x0'));var emlformat=require(_0x0ebf('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x0ebf('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x0ebf('0x3'));var moment=require(_0x0ebf('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x0ebf('0x5'));var util=require('util');var path=require(_0x0ebf('0x6'));var sox=require(_0x0ebf('0x7'));var csv=require(_0x0ebf('0x8'));var ejs=require(_0x0ebf('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x0ebf('0xa'));var crypto=require(_0x0ebf('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x0ebf('0xc'));var toCsv=require('to-csv');var querystring=require(_0x0ebf('0xd'));var Papa=require(_0x0ebf('0xe'));var Redis=require(_0x0ebf('0xf'));var authService=require(_0x0ebf('0x10'));var qs=require(_0x0ebf('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x0ebf('0x12'));var logger=require(_0x0ebf('0x13'))(_0x0ebf('0x14'));var utils=require(_0x0ebf('0x15'));var config=require(_0x0ebf('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0x0ebf('0x17'))['db'];function respondWithStatusCode(_0x551e5c,_0x2948a8){_0x2948a8=_0x2948a8||0xcc;return function(_0x350c46){if(_0x350c46){return _0x551e5c[_0x0ebf('0x18')](_0x2948a8);}return _0x551e5c[_0x0ebf('0x19')](_0x2948a8)[_0x0ebf('0x1a')]();};}function respondWithResult(_0xd7402b,_0xbe726b){_0xbe726b=_0xbe726b||0xc8;return function(_0x1c72f3){if(_0x1c72f3){return _0xd7402b[_0x0ebf('0x19')](_0xbe726b)[_0x0ebf('0x1b')](_0x1c72f3);}};}function respondWithFilteredResult(_0x401650,_0x2b51be){return function(_0x1eaad0){if(_0x1eaad0){var _0x43c6d6=_0x1eaad0[_0x0ebf('0x1c')],_0x2ab4fe=_0x2b51be[_0x0ebf('0x1d')],_0x518d8a=_0x2b51be[_0x0ebf('0x1d')]+_0x2b51be[_0x0ebf('0x1e')],_0x1e0e6e;if(_0x518d8a>=_0x43c6d6){_0x518d8a=_0x43c6d6;_0x1e0e6e=0xc8;}else{_0x1e0e6e=0xce;}_0x401650[_0x0ebf('0x19')](_0x1e0e6e);return _0x401650['set']('Content-Range',_0x2ab4fe+'-'+_0x518d8a+'/'+_0x43c6d6)[_0x0ebf('0x1b')](_0x1eaad0);}return null;};}function patchUpdates(_0xcf7e84){return function(_0x49470c){try{jsonpatch[_0x0ebf('0x1f')](_0x49470c,_0xcf7e84,!![]);}catch(_0x36a1ff){return BPromise['reject'](_0x36a1ff);}return _0x49470c['save']();};}function saveUpdates(_0x7b9b50,_0x34509c){return function(_0x246529){if(_0x246529){return _0x246529['update'](_0x7b9b50)[_0x0ebf('0x20')](function(_0x236539){return _0x236539;});}return null;};}function removeEntity(_0x2e6d38,_0x4dff1e){return function(_0x368f29){if(_0x368f29){return _0x368f29[_0x0ebf('0x21')]()[_0x0ebf('0x20')](function(){_0x2e6d38['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x231d2b,_0x3f727a){return function(_0x331755){if(!_0x331755){_0x231d2b[_0x0ebf('0x18')](0x194);}return _0x331755;};}function handleError(_0x40e2a9,_0x33b8be){_0x33b8be=_0x33b8be||0x1f4;return function(_0x4b4162){logger[_0x0ebf('0x22')](_0x4b4162[_0x0ebf('0x23')]);if(_0x4b4162['name']){delete _0x4b4162[_0x0ebf('0x24')];}_0x40e2a9[_0x0ebf('0x19')](_0x33b8be)[_0x0ebf('0x25')](_0x4b4162);};}exports[_0x0ebf('0x26')]=function(_0x4b2d60,_0x1c261f){var _0x3ea6c1={},_0x5f05dc={},_0x595e3f={'count':0x0,'rows':[]};var _0x340c9e=_['map'](db[_0x0ebf('0x27')]['rawAttributes'],function(_0x4b976c){return{'name':_0x4b976c[_0x0ebf('0x28')],'type':_0x4b976c[_0x0ebf('0x29')][_0x0ebf('0x2a')]};});_0x5f05dc[_0x0ebf('0x2b')]=_[_0x0ebf('0x2c')](_0x340c9e,_0x0ebf('0x24'));_0x5f05dc[_0x0ebf('0x2d')]=_[_0x0ebf('0x2e')](_0x4b2d60[_0x0ebf('0x2d')]);_0x5f05dc['filters']=_[_0x0ebf('0x2f')](_0x5f05dc[_0x0ebf('0x2b')],_0x5f05dc['query']);_0x3ea6c1[_0x0ebf('0x30')]=_[_0x0ebf('0x2f')](_0x5f05dc[_0x0ebf('0x2b')],qs[_0x0ebf('0x31')](_0x4b2d60[_0x0ebf('0x2d')][_0x0ebf('0x31')]));_0x3ea6c1['attributes']=_0x3ea6c1['attributes'][_0x0ebf('0x32')]?_0x3ea6c1['attributes']:_0x5f05dc[_0x0ebf('0x2b')];if(!_0x4b2d60['query']['hasOwnProperty'](_0x0ebf('0x33'))){_0x3ea6c1[_0x0ebf('0x1e')]=qs[_0x0ebf('0x1e')](_0x4b2d60[_0x0ebf('0x2d')]['limit']);_0x3ea6c1['offset']=qs[_0x0ebf('0x1d')](_0x4b2d60[_0x0ebf('0x2d')][_0x0ebf('0x1d')]);}_0x3ea6c1['order']=qs['sort'](_0x4b2d60[_0x0ebf('0x2d')][_0x0ebf('0x34')]);_0x3ea6c1['where']=qs[_0x0ebf('0x35')](_[_0x0ebf('0x36')](_0x4b2d60[_0x0ebf('0x2d')],_0x5f05dc[_0x0ebf('0x35')]),_0x340c9e);if(_0x4b2d60[_0x0ebf('0x2d')][_0x0ebf('0x37')]){_0x3ea6c1[_0x0ebf('0x38')]=_[_0x0ebf('0x39')](_0x3ea6c1[_0x0ebf('0x38')],{'$or':_[_0x0ebf('0x2c')](_0x340c9e,function(_0x5a4238){if(_0x5a4238[_0x0ebf('0x29')]!==_0x0ebf('0x3a')){var _0x1982e8={};_0x1982e8[_0x5a4238[_0x0ebf('0x24')]]={'$like':'%'+_0x4b2d60['query'][_0x0ebf('0x37')]+'%'};return _0x1982e8;}})});}_0x3ea6c1=_['merge']({},_0x3ea6c1,_0x4b2d60['options']);var _0x53ff53={'where':_0x3ea6c1[_0x0ebf('0x38')]};return db['VoiceQueuesLog']['count'](_0x53ff53)[_0x0ebf('0x20')](function(_0x1f21ca){_0x595e3f[_0x0ebf('0x1c')]=_0x1f21ca;if(_0x4b2d60[_0x0ebf('0x2d')][_0x0ebf('0x3b')]){_0x3ea6c1[_0x0ebf('0x3c')]=[{'all':!![]}];}return db['VoiceQueuesLog']['findAll'](_0x3ea6c1);})[_0x0ebf('0x20')](function(_0xb0b0e4){_0x595e3f['rows']=_0xb0b0e4;return _0x595e3f;})[_0x0ebf('0x20')](respondWithFilteredResult(_0x1c261f,_0x3ea6c1))[_0x0ebf('0x3d')](handleError(_0x1c261f,null));};exports[_0x0ebf('0x3e')]=function(_0x1ef74b,_0x2669bf){var _0x13c88b={'raw':!![],'where':{'id':_0x1ef74b[_0x0ebf('0x3f')]['id']}},_0x89a35={};_0x89a35[_0x0ebf('0x2b')]=_[_0x0ebf('0x2e')](db[_0x0ebf('0x27')][_0x0ebf('0x40')]);_0x89a35['query']=_[_0x0ebf('0x2e')](_0x1ef74b[_0x0ebf('0x2d')]);_0x89a35[_0x0ebf('0x35')]=_[_0x0ebf('0x2f')](_0x89a35[_0x0ebf('0x2b')],_0x89a35['query']);_0x13c88b[_0x0ebf('0x30')]=_[_0x0ebf('0x2f')](_0x89a35[_0x0ebf('0x2b')],qs[_0x0ebf('0x31')](_0x1ef74b[_0x0ebf('0x2d')][_0x0ebf('0x31')]));_0x13c88b[_0x0ebf('0x30')]=_0x13c88b[_0x0ebf('0x30')][_0x0ebf('0x32')]?_0x13c88b[_0x0ebf('0x30')]:_0x89a35['model'];if(_0x1ef74b[_0x0ebf('0x2d')][_0x0ebf('0x3b')]){_0x13c88b['include']=[{'all':!![]}];}_0x13c88b=_[_0x0ebf('0x39')]({},_0x13c88b,_0x1ef74b[_0x0ebf('0x41')]);return db[_0x0ebf('0x27')][_0x0ebf('0x42')](_0x13c88b)[_0x0ebf('0x20')](handleEntityNotFound(_0x2669bf,null))[_0x0ebf('0x20')](respondWithResult(_0x2669bf,null))[_0x0ebf('0x3d')](handleError(_0x2669bf,null));};exports[_0x0ebf('0x43')]=function(_0x5c9c65,_0x367fc1){return db[_0x0ebf('0x27')][_0x0ebf('0x43')](_0x5c9c65[_0x0ebf('0x44')],{})[_0x0ebf('0x20')](respondWithResult(_0x367fc1,0xc9))[_0x0ebf('0x3d')](handleError(_0x367fc1,null));};exports[_0x0ebf('0x45')]=function(_0x48930b,_0x261f13){if(_0x48930b[_0x0ebf('0x44')]['id']){delete _0x48930b[_0x0ebf('0x44')]['id'];}return db[_0x0ebf('0x27')][_0x0ebf('0x42')]({'where':{'id':_0x48930b[_0x0ebf('0x3f')]['id']}})[_0x0ebf('0x20')](handleEntityNotFound(_0x261f13,null))['then'](saveUpdates(_0x48930b[_0x0ebf('0x44')],null))['then'](respondWithResult(_0x261f13,null))[_0x0ebf('0x3d')](handleError(_0x261f13,null));};exports['destroy']=function(_0x5842d7,_0x5e9c74){return db['VoiceQueuesLog']['find']({'where':{'id':_0x5842d7[_0x0ebf('0x3f')]['id']}})[_0x0ebf('0x20')](handleEntityNotFound(_0x5e9c74,null))['then'](removeEntity(_0x5e9c74,null))[_0x0ebf('0x3d')](handleError(_0x5e9c74,null));};
\ No newline at end of file
+var _0xcc0c=['length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','options','count','includeAll','include','findAll','rows','catch','show','create','body','find','params','destroy','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','mustache','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../config/logger','api','../../config/license/util','../../mysqldb','status','json','offset','limit','set','Content-Range','apply','reject','save','update','then','end','sendStatus','stack','name','index','map','VoiceQueuesLog','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields'];(function(_0x1e6ad7,_0x270738){var _0x1f2e43=function(_0x4b08c3){while(--_0x4b08c3){_0x1e6ad7['push'](_0x1e6ad7['shift']());}};_0x1f2e43(++_0x270738);}(_0xcc0c,0xa8));var _0xccc0=function(_0x5489c4,_0x1e7a17){_0x5489c4=_0x5489c4-0x0;var _0x2c4624=_0xcc0c[_0x5489c4];return _0x2c4624;};'use strict';var pdf=require(_0xccc0('0x0'));var emlformat=require(_0xccc0('0x1'));var rimraf=require(_0xccc0('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0xccc0('0x3'));var moment=require(_0xccc0('0x4'));var BPromise=require(_0xccc0('0x5'));var Mustache=require(_0xccc0('0x6'));var util=require('util');var path=require(_0xccc0('0x7'));var sox=require('sox');var csv=require(_0xccc0('0x8'));var ejs=require(_0xccc0('0x9'));var fs=require('fs');var _=require(_0xccc0('0xa'));var squel=require(_0xccc0('0xb'));var crypto=require(_0xccc0('0xc'));var jsforce=require(_0xccc0('0xd'));var deskjs=require(_0xccc0('0xe'));var toCsv=require('to-csv');var querystring=require(_0xccc0('0xf'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xccc0('0x10'));var qs=require(_0xccc0('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xccc0('0x12'))(_0xccc0('0x13'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0xccc0('0x14'));var db=require(_0xccc0('0x15'))['db'];function respondWithStatusCode(_0x1efefa,_0x2c867a){_0x2c867a=_0x2c867a||0xcc;return function(_0x2517e5){if(_0x2517e5){return _0x1efefa['sendStatus'](_0x2c867a);}return _0x1efefa[_0xccc0('0x16')](_0x2c867a)['end']();};}function respondWithResult(_0x5324fb,_0x17f478){_0x17f478=_0x17f478||0xc8;return function(_0x1ed0cc){if(_0x1ed0cc){return _0x5324fb[_0xccc0('0x16')](_0x17f478)[_0xccc0('0x17')](_0x1ed0cc);}};}function respondWithFilteredResult(_0x5246b8,_0x460d66){return function(_0x588c01){if(_0x588c01){var _0x580676=_0x588c01['count'],_0x2f5283=_0x460d66[_0xccc0('0x18')],_0x28c99d=_0x460d66[_0xccc0('0x18')]+_0x460d66[_0xccc0('0x19')],_0x2b2e16;if(_0x28c99d>=_0x580676){_0x28c99d=_0x580676;_0x2b2e16=0xc8;}else{_0x2b2e16=0xce;}_0x5246b8[_0xccc0('0x16')](_0x2b2e16);return _0x5246b8[_0xccc0('0x1a')](_0xccc0('0x1b'),_0x2f5283+'-'+_0x28c99d+'/'+_0x580676)[_0xccc0('0x17')](_0x588c01);}return null;};}function patchUpdates(_0x5d76ff){return function(_0x1aca42){try{jsonpatch[_0xccc0('0x1c')](_0x1aca42,_0x5d76ff,!![]);}catch(_0x4a0c18){return BPromise[_0xccc0('0x1d')](_0x4a0c18);}return _0x1aca42[_0xccc0('0x1e')]();};}function saveUpdates(_0x4776e4,_0x43c42d){return function(_0x2c32af){if(_0x2c32af){return _0x2c32af[_0xccc0('0x1f')](_0x4776e4)[_0xccc0('0x20')](function(_0x25dfce){return _0x25dfce;});}return null;};}function removeEntity(_0xd54374,_0x31235e){return function(_0x17c332){if(_0x17c332){return _0x17c332['destroy']()[_0xccc0('0x20')](function(){_0xd54374['status'](0xcc)[_0xccc0('0x21')]();});}};}function handleEntityNotFound(_0x3b92c2,_0x47a6bf){return function(_0x2c0b19){if(!_0x2c0b19){_0x3b92c2[_0xccc0('0x22')](0x194);}return _0x2c0b19;};}function handleError(_0x1a0664,_0x1a53be){_0x1a53be=_0x1a53be||0x1f4;return function(_0x2d0951){logger['error'](_0x2d0951[_0xccc0('0x23')]);if(_0x2d0951[_0xccc0('0x24')]){delete _0x2d0951[_0xccc0('0x24')];}_0x1a0664[_0xccc0('0x16')](_0x1a53be)['send'](_0x2d0951);};}exports[_0xccc0('0x25')]=function(_0x38943e,_0x2d3ae6){var _0x164488={},_0x53cca5={},_0x3aa2c8={'count':0x0,'rows':[]};var _0x331df1=_[_0xccc0('0x26')](db[_0xccc0('0x27')][_0xccc0('0x28')],function(_0x19065e){return{'name':_0x19065e[_0xccc0('0x29')],'type':_0x19065e[_0xccc0('0x2a')][_0xccc0('0x2b')]};});_0x53cca5[_0xccc0('0x2c')]=_[_0xccc0('0x26')](_0x331df1,'name');_0x53cca5[_0xccc0('0x2d')]=_[_0xccc0('0x2e')](_0x38943e[_0xccc0('0x2d')]);_0x53cca5[_0xccc0('0x2f')]=_[_0xccc0('0x30')](_0x53cca5[_0xccc0('0x2c')],_0x53cca5[_0xccc0('0x2d')]);_0x164488[_0xccc0('0x31')]=_[_0xccc0('0x30')](_0x53cca5[_0xccc0('0x2c')],qs[_0xccc0('0x32')](_0x38943e[_0xccc0('0x2d')][_0xccc0('0x32')]));_0x164488[_0xccc0('0x31')]=_0x164488[_0xccc0('0x31')][_0xccc0('0x33')]?_0x164488[_0xccc0('0x31')]:_0x53cca5['model'];if(!_0x38943e[_0xccc0('0x2d')][_0xccc0('0x34')](_0xccc0('0x35'))){_0x164488[_0xccc0('0x19')]=qs['limit'](_0x38943e[_0xccc0('0x2d')]['limit']);_0x164488[_0xccc0('0x18')]=qs[_0xccc0('0x18')](_0x38943e[_0xccc0('0x2d')][_0xccc0('0x18')]);}_0x164488[_0xccc0('0x36')]=qs[_0xccc0('0x37')](_0x38943e['query'][_0xccc0('0x37')]);_0x164488['where']=qs['filters'](_[_0xccc0('0x38')](_0x38943e[_0xccc0('0x2d')],_0x53cca5[_0xccc0('0x2f')]),_0x331df1);if(_0x38943e[_0xccc0('0x2d')][_0xccc0('0x39')]){_0x164488['where']=_['merge'](_0x164488[_0xccc0('0x3a')],{'$or':_['map'](_0x331df1,function(_0x58c4c3){if(_0x58c4c3[_0xccc0('0x2a')]!=='VIRTUAL'){var _0x5330db={};_0x5330db[_0x58c4c3[_0xccc0('0x24')]]={'$like':'%'+_0x38943e[_0xccc0('0x2d')][_0xccc0('0x39')]+'%'};return _0x5330db;}})});}_0x164488=_[_0xccc0('0x3b')]({},_0x164488,_0x38943e[_0xccc0('0x3c')]);var _0xa6b099={'where':_0x164488[_0xccc0('0x3a')]};return db[_0xccc0('0x27')][_0xccc0('0x3d')](_0xa6b099)[_0xccc0('0x20')](function(_0x562186){_0x3aa2c8[_0xccc0('0x3d')]=_0x562186;if(_0x38943e['query'][_0xccc0('0x3e')]){_0x164488[_0xccc0('0x3f')]=[{'all':!![]}];}return db[_0xccc0('0x27')][_0xccc0('0x40')](_0x164488);})[_0xccc0('0x20')](function(_0x22a7ba){_0x3aa2c8[_0xccc0('0x41')]=_0x22a7ba;return _0x3aa2c8;})[_0xccc0('0x20')](respondWithFilteredResult(_0x2d3ae6,_0x164488))[_0xccc0('0x42')](handleError(_0x2d3ae6,null));};exports[_0xccc0('0x43')]=function(_0x2f509f,_0x3daf41){var _0x13d32e={'raw':!![],'where':{'id':_0x2f509f['params']['id']}},_0xd8fd92={};_0xd8fd92[_0xccc0('0x2c')]=_[_0xccc0('0x2e')](db['VoiceQueuesLog'][_0xccc0('0x28')]);_0xd8fd92[_0xccc0('0x2d')]=_['keys'](_0x2f509f[_0xccc0('0x2d')]);_0xd8fd92[_0xccc0('0x2f')]=_[_0xccc0('0x30')](_0xd8fd92[_0xccc0('0x2c')],_0xd8fd92[_0xccc0('0x2d')]);_0x13d32e[_0xccc0('0x31')]=_['intersection'](_0xd8fd92['model'],qs[_0xccc0('0x32')](_0x2f509f[_0xccc0('0x2d')][_0xccc0('0x32')]));_0x13d32e[_0xccc0('0x31')]=_0x13d32e['attributes'][_0xccc0('0x33')]?_0x13d32e[_0xccc0('0x31')]:_0xd8fd92[_0xccc0('0x2c')];if(_0x2f509f[_0xccc0('0x2d')][_0xccc0('0x3e')]){_0x13d32e[_0xccc0('0x3f')]=[{'all':!![]}];}_0x13d32e=_[_0xccc0('0x3b')]({},_0x13d32e,_0x2f509f[_0xccc0('0x3c')]);return db[_0xccc0('0x27')]['find'](_0x13d32e)['then'](handleEntityNotFound(_0x3daf41,null))[_0xccc0('0x20')](respondWithResult(_0x3daf41,null))[_0xccc0('0x42')](handleError(_0x3daf41,null));};exports[_0xccc0('0x44')]=function(_0x8042c0,_0x276fc7){return db[_0xccc0('0x27')][_0xccc0('0x44')](_0x8042c0[_0xccc0('0x45')],{})[_0xccc0('0x20')](respondWithResult(_0x276fc7,0xc9))[_0xccc0('0x42')](handleError(_0x276fc7,null));};exports[_0xccc0('0x1f')]=function(_0x4adbd9,_0x17b141){if(_0x4adbd9[_0xccc0('0x45')]['id']){delete _0x4adbd9['body']['id'];}return db['VoiceQueuesLog'][_0xccc0('0x46')]({'where':{'id':_0x4adbd9[_0xccc0('0x47')]['id']}})[_0xccc0('0x20')](handleEntityNotFound(_0x17b141,null))[_0xccc0('0x20')](saveUpdates(_0x4adbd9['body'],null))[_0xccc0('0x20')](respondWithResult(_0x17b141,null))[_0xccc0('0x42')](handleError(_0x17b141,null));};exports[_0xccc0('0x48')]=function(_0x10d799,_0x500dcd){return db[_0xccc0('0x27')]['find']({'where':{'id':_0x10d799[_0xccc0('0x47')]['id']}})[_0xccc0('0x20')](handleEntityNotFound(_0x500dcd,null))[_0xccc0('0x20')](removeEntity(_0x500dcd,null))[_0xccc0('0x42')](handleError(_0x500dcd,null));};
\ No newline at end of file