Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / whatsappApplication / whatsappApplication.controller.js
index 9ea25b9..768caf4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf7b6=['bluebird','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','then','destroy','error','stack','name','send','index','rawAttributes','fieldName','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','filter','merge','map','type','VIRTUAL','options','WhatsappApplication','findAll','catch','show','params','includeAll','include','find','create','body','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment'];(function(_0x50de89,_0x3b695a){var _0x119c44=function(_0x49e152){while(--_0x49e152){_0x50de89['push'](_0x50de89['shift']());}};_0x119c44(++_0x3b695a);}(_0xf7b6,0x184));var _0x6f7b=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xf7b6[_0x1facfa];return _0x9ec701;};'use strict';var pdf=require(_0x6f7b('0x0'));var emlformat=require(_0x6f7b('0x1'));var rimraf=require(_0x6f7b('0x2'));var zipdir=require(_0x6f7b('0x3'));var jsonpatch=require(_0x6f7b('0x4'));var rp=require(_0x6f7b('0x5'));var moment=require(_0x6f7b('0x6'));var BPromise=require(_0x6f7b('0x7'));var Mustache=require('mustache');var util=require(_0x6f7b('0x8'));var path=require('path');var sox=require(_0x6f7b('0x9'));var csv=require(_0x6f7b('0xa'));var ejs=require(_0x6f7b('0xb'));var fs=require('fs');var _=require(_0x6f7b('0xc'));var squel=require(_0x6f7b('0xd'));var crypto=require(_0x6f7b('0xe'));var jsforce=require(_0x6f7b('0xf'));var deskjs=require('desk.js');var toCsv=require(_0x6f7b('0xa'));var querystring=require(_0x6f7b('0x10'));var Papa=require(_0x6f7b('0x11'));var Redis=require(_0x6f7b('0x12'));var authService=require(_0x6f7b('0x13'));var qs=require(_0x6f7b('0x14'));var as=require(_0x6f7b('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x6f7b('0x16'))(_0x6f7b('0x17'));var utils=require(_0x6f7b('0x18'));var config=require(_0x6f7b('0x19'));var licenseUtil=require(_0x6f7b('0x1a'));var db=require(_0x6f7b('0x1b'))['db'];function respondWithStatusCode(_0x917730,_0x500ea6){_0x500ea6=_0x500ea6||0xcc;return function(_0x386e16){if(_0x386e16){return _0x917730[_0x6f7b('0x1c')](_0x500ea6);}return _0x917730[_0x6f7b('0x1d')](_0x500ea6)[_0x6f7b('0x1e')]();};}function respondWithResult(_0x3683ac,_0x193e8c){_0x193e8c=_0x193e8c||0xc8;return function(_0x455562){if(_0x455562){return _0x3683ac[_0x6f7b('0x1d')](_0x193e8c)[_0x6f7b('0x1f')](_0x455562);}};}function respondWithFilteredResult(_0xce6b55,_0x2149c3){return function(_0x5069d2){if(_0x5069d2){var _0x32b247=_0x5069d2[_0x6f7b('0x20')],_0x36da08=_0x2149c3['offset'],_0x4a0fae=_0x2149c3[_0x6f7b('0x21')]+_0x2149c3[_0x6f7b('0x22')],_0x7062d0;if(_0x4a0fae>=_0x32b247){_0x4a0fae=_0x32b247;_0x7062d0=0xc8;}else{_0x7062d0=0xce;}_0xce6b55[_0x6f7b('0x1d')](_0x7062d0);return _0xce6b55[_0x6f7b('0x23')](_0x6f7b('0x24'),_0x36da08+'-'+_0x4a0fae+'/'+_0x32b247)[_0x6f7b('0x1f')](_0x5069d2);}return null;};}function patchUpdates(_0x42b5b1){return function(_0x24f3b2){try{jsonpatch[_0x6f7b('0x25')](_0x24f3b2,_0x42b5b1,!![]);}catch(_0x4470fa){return BPromise[_0x6f7b('0x26')](_0x4470fa);}return _0x24f3b2[_0x6f7b('0x27')]();};}function saveUpdates(_0x4efffc,_0x4472a7){return function(_0xe6e2b1){if(_0xe6e2b1){return _0xe6e2b1['update'](_0x4efffc)[_0x6f7b('0x28')](function(_0x619891){return _0x619891;});}return null;};}function removeEntity(_0x364b54,_0x2f4a3d){return function(_0x3c62b8){if(_0x3c62b8){return _0x3c62b8[_0x6f7b('0x29')]()['then'](function(){_0x364b54[_0x6f7b('0x1d')](0xcc)[_0x6f7b('0x1e')]();});}};}function handleEntityNotFound(_0x57c903,_0xf04424){return function(_0x445ddb){if(!_0x445ddb){_0x57c903[_0x6f7b('0x1c')](0x194);}return _0x445ddb;};}function handleError(_0xd9ac54,_0x39dbb9){_0x39dbb9=_0x39dbb9||0x1f4;return function(_0x4b9242){logger[_0x6f7b('0x2a')](_0x4b9242[_0x6f7b('0x2b')]);if(_0x4b9242[_0x6f7b('0x2c')]){delete _0x4b9242[_0x6f7b('0x2c')];}_0xd9ac54[_0x6f7b('0x1d')](_0x39dbb9)[_0x6f7b('0x2d')](_0x4b9242);};}exports[_0x6f7b('0x2e')]=function(_0x1cf458,_0x38ef1a){var _0x4f21f5={},_0x1f66a1={},_0x3bfc40={'count':0x0,'rows':[]};var _0x720a92=_['map'](db['WhatsappApplication'][_0x6f7b('0x2f')],function(_0x12c0fe){return{'name':_0x12c0fe[_0x6f7b('0x30')],'type':_0x12c0fe['type'][_0x6f7b('0x31')]};});_0x1f66a1[_0x6f7b('0x32')]=_['map'](_0x720a92,_0x6f7b('0x2c'));_0x1f66a1[_0x6f7b('0x33')]=_[_0x6f7b('0x34')](_0x1cf458[_0x6f7b('0x33')]);_0x1f66a1['filters']=_[_0x6f7b('0x35')](_0x1f66a1['model'],_0x1f66a1[_0x6f7b('0x33')]);_0x4f21f5[_0x6f7b('0x36')]=_[_0x6f7b('0x35')](_0x1f66a1['model'],qs[_0x6f7b('0x37')](_0x1cf458[_0x6f7b('0x33')]['fields']));_0x4f21f5[_0x6f7b('0x36')]=_0x4f21f5[_0x6f7b('0x36')][_0x6f7b('0x38')]?_0x4f21f5[_0x6f7b('0x36')]:_0x1f66a1[_0x6f7b('0x32')];if(!_0x1cf458[_0x6f7b('0x33')][_0x6f7b('0x39')](_0x6f7b('0x3a'))){_0x4f21f5[_0x6f7b('0x22')]=qs[_0x6f7b('0x22')](_0x1cf458[_0x6f7b('0x33')][_0x6f7b('0x22')]);_0x4f21f5[_0x6f7b('0x21')]=qs[_0x6f7b('0x21')](_0x1cf458[_0x6f7b('0x33')][_0x6f7b('0x21')]);}_0x4f21f5[_0x6f7b('0x3b')]=qs[_0x6f7b('0x3c')](_0x1cf458[_0x6f7b('0x33')]['sort']);_0x4f21f5[_0x6f7b('0x3d')]=qs[_0x6f7b('0x3e')](_['pick'](_0x1cf458[_0x6f7b('0x33')],_0x1f66a1['filters']),_0x720a92);if(_0x1cf458['query'][_0x6f7b('0x3f')]){_0x4f21f5['where']=_[_0x6f7b('0x40')](_0x4f21f5[_0x6f7b('0x3d')],{'$or':_[_0x6f7b('0x41')](_0x720a92,function(_0x9e4aa2){if(_0x9e4aa2[_0x6f7b('0x42')]!==_0x6f7b('0x43')){var _0x40a86c={};_0x40a86c[_0x9e4aa2['name']]={'$like':'%'+_0x1cf458[_0x6f7b('0x33')][_0x6f7b('0x3f')]+'%'};return _0x40a86c;}})});}_0x4f21f5=_[_0x6f7b('0x40')]({},_0x4f21f5,_0x1cf458[_0x6f7b('0x44')]);var _0x37afa8={'where':_0x4f21f5[_0x6f7b('0x3d')]};return db[_0x6f7b('0x45')][_0x6f7b('0x20')](_0x37afa8)['then'](function(_0x449468){_0x3bfc40['count']=_0x449468;if(_0x1cf458['query']['includeAll']){_0x4f21f5['include']=[{'all':!![]}];}return db[_0x6f7b('0x45')][_0x6f7b('0x46')](_0x4f21f5);})[_0x6f7b('0x28')](function(_0x51d0e6){_0x3bfc40['rows']=_0x51d0e6;return _0x3bfc40;})['then'](respondWithFilteredResult(_0x38ef1a,_0x4f21f5))[_0x6f7b('0x47')](handleError(_0x38ef1a,null));};exports[_0x6f7b('0x48')]=function(_0x5acccc,_0x36c654){var _0x11bfc5={'raw':!![],'where':{'id':_0x5acccc[_0x6f7b('0x49')]['id']}},_0x44a0bd={};_0x44a0bd[_0x6f7b('0x32')]=_['keys'](db[_0x6f7b('0x45')][_0x6f7b('0x2f')]);_0x44a0bd[_0x6f7b('0x33')]=_[_0x6f7b('0x34')](_0x5acccc[_0x6f7b('0x33')]);_0x44a0bd[_0x6f7b('0x3e')]=_[_0x6f7b('0x35')](_0x44a0bd[_0x6f7b('0x32')],_0x44a0bd[_0x6f7b('0x33')]);_0x11bfc5['attributes']=_[_0x6f7b('0x35')](_0x44a0bd[_0x6f7b('0x32')],qs['fields'](_0x5acccc[_0x6f7b('0x33')][_0x6f7b('0x37')]));_0x11bfc5['attributes']=_0x11bfc5[_0x6f7b('0x36')][_0x6f7b('0x38')]?_0x11bfc5['attributes']:_0x44a0bd['model'];if(_0x5acccc[_0x6f7b('0x33')][_0x6f7b('0x4a')]){_0x11bfc5[_0x6f7b('0x4b')]=[{'all':!![]}];}_0x11bfc5=_[_0x6f7b('0x40')]({},_0x11bfc5,_0x5acccc[_0x6f7b('0x44')]);return db[_0x6f7b('0x45')][_0x6f7b('0x4c')](_0x11bfc5)['then'](handleEntityNotFound(_0x36c654,null))[_0x6f7b('0x28')](respondWithResult(_0x36c654,null))[_0x6f7b('0x47')](handleError(_0x36c654,null));};exports[_0x6f7b('0x4d')]=function(_0x6ffd3c,_0x2ec3f9){return db[_0x6f7b('0x45')][_0x6f7b('0x4d')](_0x6ffd3c[_0x6f7b('0x4e')],{})[_0x6f7b('0x28')](respondWithResult(_0x2ec3f9,0xc9))[_0x6f7b('0x47')](handleError(_0x2ec3f9,null));};exports['update']=function(_0x2e4fac,_0x119e51){if(_0x2e4fac['body']['id']){delete _0x2e4fac['body']['id'];}return db['WhatsappApplication'][_0x6f7b('0x4c')]({'where':{'id':_0x2e4fac[_0x6f7b('0x49')]['id']}})[_0x6f7b('0x28')](handleEntityNotFound(_0x119e51,null))[_0x6f7b('0x28')](saveUpdates(_0x2e4fac['body'],null))['then'](respondWithResult(_0x119e51,null))[_0x6f7b('0x47')](handleError(_0x119e51,null));};exports['destroy']=function(_0x17b143,_0x1fe88e){return db[_0x6f7b('0x45')]['find']({'where':{'id':_0x17b143['params']['id']}})['then'](handleEntityNotFound(_0x1fe88e,null))['then'](removeEntity(_0x1fe88e,null))[_0x6f7b('0x47')](handleError(_0x1fe88e,null));};
\ No newline at end of file
+var _0x62cf=['desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','json','undefined','limit','count','offset','status','apply','update','then','destroy','stack','name','send','map','WhatsappApplication','rawAttributes','type','key','query','keys','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','VIRTUAL','includeAll','include','rows','catch','params','create','body','find','eml-format','zip-dir','request-promise','moment','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto'];(function(_0x4c64b3,_0x3c234b){var _0x5e5a5e=function(_0x228c87){while(--_0x228c87){_0x4c64b3['push'](_0x4c64b3['shift']());}};_0x5e5a5e(++_0x3c234b);}(_0x62cf,0x81));var _0xf62c=function(_0x46a201,_0x340824){_0x46a201=_0x46a201-0x0;var _0x5a7937=_0x62cf[_0x46a201];return _0x5a7937;};'use strict';var emlformat=require(_0xf62c('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xf62c('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0xf62c('0x2'));var moment=require(_0xf62c('0x3'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xf62c('0x4'));var path=require(_0xf62c('0x5'));var sox=require(_0xf62c('0x6'));var csv=require(_0xf62c('0x7'));var ejs=require(_0xf62c('0x8'));var fs=require('fs');var fs_extra=require(_0xf62c('0x9'));var _=require(_0xf62c('0xa'));var squel=require(_0xf62c('0xb'));var crypto=require(_0xf62c('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xf62c('0xd'));var toCsv=require('to-csv');var querystring=require(_0xf62c('0xe'));var Papa=require(_0xf62c('0xf'));var Redis=require(_0xf62c('0x10'));var authService=require(_0xf62c('0x11'));var qs=require(_0xf62c('0x12'));var as=require(_0xf62c('0x13'));var hardwareService=require(_0xf62c('0x14'));var logger=require(_0xf62c('0x15'))(_0xf62c('0x16'));var utils=require(_0xf62c('0x17'));var config=require(_0xf62c('0x18'));var licenseUtil=require('../../config/license/util');var db=require(_0xf62c('0x19'))['db'];function respondWithStatusCode(_0x5c07d3,_0x4ead27){_0x4ead27=_0x4ead27||0xcc;return function(_0x5a62bd){if(_0x5a62bd){return _0x5c07d3[_0xf62c('0x1a')](_0x4ead27);}return _0x5c07d3['status'](_0x4ead27)[_0xf62c('0x1b')]();};}function respondWithResult(_0xc52899,_0x4983d3){_0x4983d3=_0x4983d3||0xc8;return function(_0x1c47fa){if(_0x1c47fa){return _0xc52899['status'](_0x4983d3)[_0xf62c('0x1c')](_0x1c47fa);}};}function respondWithFilteredResult(_0x3f123d,_0x5a4ca9){return function(_0x3c748a){if(_0x3c748a){var _0x3ffb03=typeof _0x5a4ca9['offset']===_0xf62c('0x1d')&&typeof _0x5a4ca9[_0xf62c('0x1e')]===_0xf62c('0x1d');var _0x5c087b=_0x3c748a[_0xf62c('0x1f')];var _0xc7da63=_0x3ffb03?0x0:_0x5a4ca9[_0xf62c('0x20')];var _0x329c3c=_0x3ffb03?_0x3c748a[_0xf62c('0x1f')]:_0x5a4ca9['offset']+_0x5a4ca9[_0xf62c('0x1e')];var _0xad689c;if(_0x329c3c>=_0x5c087b){_0x329c3c=_0x5c087b;_0xad689c=0xc8;}else{_0xad689c=0xce;}_0x3f123d[_0xf62c('0x21')](_0xad689c);return _0x3f123d['set']('Content-Range',_0xc7da63+'-'+_0x329c3c+'/'+_0x5c087b)[_0xf62c('0x1c')](_0x3c748a);}return null;};}function patchUpdates(_0x3c3624){return function(_0x279439){try{jsonpatch[_0xf62c('0x22')](_0x279439,_0x3c3624,!![]);}catch(_0x23bf2b){return BPromise['reject'](_0x23bf2b);}return _0x279439['save']();};}function saveUpdates(_0x5dc7ec,_0x11fda3){return function(_0x1c883c){if(_0x1c883c){return _0x1c883c[_0xf62c('0x23')](_0x5dc7ec)[_0xf62c('0x24')](function(_0x34bf70){return _0x34bf70;});}return null;};}function removeEntity(_0x2f5670,_0x5c048f){return function(_0x33b572){if(_0x33b572){return _0x33b572[_0xf62c('0x25')]()[_0xf62c('0x24')](function(){_0x2f5670['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x48541f,_0x496992){return function(_0x2165ae){if(!_0x2165ae){_0x48541f['sendStatus'](0x194);}return _0x2165ae;};}function handleError(_0x44979b,_0x4973a8){_0x4973a8=_0x4973a8||0x1f4;return function(_0x2e2e54){logger['error'](_0x2e2e54[_0xf62c('0x26')]);if(_0x2e2e54[_0xf62c('0x27')]){delete _0x2e2e54[_0xf62c('0x27')];}_0x44979b[_0xf62c('0x21')](_0x4973a8)[_0xf62c('0x28')](_0x2e2e54);};}exports['index']=function(_0x1ecd60,_0x1d441a){var _0x269222={},_0x358036={},_0x9dde25={'count':0x0,'rows':[]};var _0x20fdff=_[_0xf62c('0x29')](db[_0xf62c('0x2a')][_0xf62c('0x2b')],function(_0x1862eb){return{'name':_0x1862eb['fieldName'],'type':_0x1862eb[_0xf62c('0x2c')][_0xf62c('0x2d')]};});_0x358036['model']=_[_0xf62c('0x29')](_0x20fdff,'name');_0x358036[_0xf62c('0x2e')]=_[_0xf62c('0x2f')](_0x1ecd60['query']);_0x358036['filters']=_[_0xf62c('0x30')](_0x358036[_0xf62c('0x31')],_0x358036['query']);_0x269222[_0xf62c('0x32')]=_['intersection'](_0x358036[_0xf62c('0x31')],qs[_0xf62c('0x33')](_0x1ecd60[_0xf62c('0x2e')][_0xf62c('0x33')]));_0x269222['attributes']=_0x269222['attributes'][_0xf62c('0x34')]?_0x269222['attributes']:_0x358036[_0xf62c('0x31')];if(!_0x1ecd60['query'][_0xf62c('0x35')](_0xf62c('0x36'))){_0x269222[_0xf62c('0x1e')]=qs[_0xf62c('0x1e')](_0x1ecd60['query'][_0xf62c('0x1e')]);_0x269222[_0xf62c('0x20')]=qs[_0xf62c('0x20')](_0x1ecd60[_0xf62c('0x2e')]['offset']);}_0x269222[_0xf62c('0x37')]=qs[_0xf62c('0x38')](_0x1ecd60['query'][_0xf62c('0x38')]);_0x269222[_0xf62c('0x39')]=qs[_0xf62c('0x3a')](_[_0xf62c('0x3b')](_0x1ecd60[_0xf62c('0x2e')],_0x358036[_0xf62c('0x3a')]),_0x20fdff);if(_0x1ecd60[_0xf62c('0x2e')][_0xf62c('0x3c')]){_0x269222[_0xf62c('0x39')]=_[_0xf62c('0x3d')](_0x269222[_0xf62c('0x39')],{'$or':_[_0xf62c('0x29')](_0x20fdff,function(_0x409e0d){if(_0x409e0d[_0xf62c('0x2c')]!==_0xf62c('0x3e')){var _0xc7e21c={};_0xc7e21c[_0x409e0d[_0xf62c('0x27')]]={'$like':'%'+_0x1ecd60[_0xf62c('0x2e')][_0xf62c('0x3c')]+'%'};return _0xc7e21c;}})});}_0x269222=_[_0xf62c('0x3d')]({},_0x269222,_0x1ecd60['options']);var _0x117984={'where':_0x269222[_0xf62c('0x39')]};return db[_0xf62c('0x2a')][_0xf62c('0x1f')](_0x117984)['then'](function(_0x244d12){_0x9dde25[_0xf62c('0x1f')]=_0x244d12;if(_0x1ecd60[_0xf62c('0x2e')][_0xf62c('0x3f')]){_0x269222[_0xf62c('0x40')]=[{'all':!![]}];}return db['WhatsappApplication']['findAll'](_0x269222);})[_0xf62c('0x24')](function(_0x588ad1){_0x9dde25[_0xf62c('0x41')]=_0x588ad1;return _0x9dde25;})[_0xf62c('0x24')](respondWithFilteredResult(_0x1d441a,_0x269222))[_0xf62c('0x42')](handleError(_0x1d441a,null));};exports['show']=function(_0x22f082,_0x35931b){var _0x27218d={'raw':!![],'where':{'id':_0x22f082[_0xf62c('0x43')]['id']}},_0x3a550c={};_0x3a550c[_0xf62c('0x31')]=_['keys'](db[_0xf62c('0x2a')]['rawAttributes']);_0x3a550c[_0xf62c('0x2e')]=_[_0xf62c('0x2f')](_0x22f082[_0xf62c('0x2e')]);_0x3a550c[_0xf62c('0x3a')]=_[_0xf62c('0x30')](_0x3a550c[_0xf62c('0x31')],_0x3a550c[_0xf62c('0x2e')]);_0x27218d[_0xf62c('0x32')]=_[_0xf62c('0x30')](_0x3a550c['model'],qs[_0xf62c('0x33')](_0x22f082[_0xf62c('0x2e')]['fields']));_0x27218d['attributes']=_0x27218d[_0xf62c('0x32')]['length']?_0x27218d[_0xf62c('0x32')]:_0x3a550c[_0xf62c('0x31')];if(_0x22f082['query'][_0xf62c('0x3f')]){_0x27218d['include']=[{'all':!![]}];}_0x27218d=_[_0xf62c('0x3d')]({},_0x27218d,_0x22f082['options']);return db[_0xf62c('0x2a')]['find'](_0x27218d)[_0xf62c('0x24')](handleEntityNotFound(_0x35931b,null))[_0xf62c('0x24')](respondWithResult(_0x35931b,null))[_0xf62c('0x42')](handleError(_0x35931b,null));};exports[_0xf62c('0x44')]=function(_0x535b2d,_0x390155){return db[_0xf62c('0x2a')][_0xf62c('0x44')](_0x535b2d[_0xf62c('0x45')],{})[_0xf62c('0x24')](respondWithResult(_0x390155,0xc9))['catch'](handleError(_0x390155,null));};exports[_0xf62c('0x23')]=function(_0x2d8e15,_0x41efdf){if(_0x2d8e15[_0xf62c('0x45')]['id']){delete _0x2d8e15[_0xf62c('0x45')]['id'];}return db[_0xf62c('0x2a')][_0xf62c('0x46')]({'where':{'id':_0x2d8e15[_0xf62c('0x43')]['id']}})['then'](handleEntityNotFound(_0x41efdf,null))[_0xf62c('0x24')](saveUpdates(_0x2d8e15[_0xf62c('0x45')],null))['then'](respondWithResult(_0x41efdf,null))[_0xf62c('0x42')](handleError(_0x41efdf,null));};exports['destroy']=function(_0x484a40,_0x3aa103){return db[_0xf62c('0x2a')]['find']({'where':{'id':_0x484a40[_0xf62c('0x43')]['id']}})['then'](handleEntityNotFound(_0x3aa103,null))[_0xf62c('0x24')](removeEntity(_0x3aa103,null))[_0xf62c('0x42')](handleError(_0x3aa103,null));};
\ No newline at end of file