Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / whatsappApplication / whatsappApplication.controller.js
index 3ce6b1a..768caf4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf470=['model','map','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','where','pick','filter','merge','options','includeAll','catch','show','params','include','find','create','body','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','update','then','destroy','sendStatus','stack','name','send','index','WhatsappApplication','rawAttributes','fieldName','type'];(function(_0x9d1e6b,_0x3bdc22){var _0x2b3070=function(_0x4c4ced){while(--_0x4c4ced){_0x9d1e6b['push'](_0x9d1e6b['shift']());}};_0x2b3070(++_0x3bdc22);}(_0xf470,0xfd));var _0x0f47=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0xf470[_0x465a0c];return _0x1e202e;};'use strict';var emlformat=require(_0x0f47('0x0'));var rimraf=require(_0x0f47('0x1'));var zipdir=require(_0x0f47('0x2'));var jsonpatch=require(_0x0f47('0x3'));var rp=require(_0x0f47('0x4'));var moment=require(_0x0f47('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0f47('0x6'));var util=require(_0x0f47('0x7'));var path=require('path');var sox=require(_0x0f47('0x8'));var csv=require(_0x0f47('0x9'));var ejs=require(_0x0f47('0xa'));var fs=require('fs');var fs_extra=require(_0x0f47('0xb'));var _=require(_0x0f47('0xc'));var squel=require(_0x0f47('0xd'));var crypto=require(_0x0f47('0xe'));var jsforce=require(_0x0f47('0xf'));var deskjs=require(_0x0f47('0x10'));var toCsv=require(_0x0f47('0x9'));var querystring=require(_0x0f47('0x11'));var Papa=require(_0x0f47('0x12'));var Redis=require(_0x0f47('0x13'));var authService=require(_0x0f47('0x14'));var qs=require(_0x0f47('0x15'));var as=require(_0x0f47('0x16'));var hardwareService=require(_0x0f47('0x17'));var logger=require(_0x0f47('0x18'))(_0x0f47('0x19'));var utils=require('../../config/utils');var config=require(_0x0f47('0x1a'));var licenseUtil=require(_0x0f47('0x1b'));var db=require(_0x0f47('0x1c'))['db'];function respondWithStatusCode(_0x26095f,_0x128b8c){_0x128b8c=_0x128b8c||0xcc;return function(_0x4ce7e6){if(_0x4ce7e6){return _0x26095f['sendStatus'](_0x128b8c);}return _0x26095f[_0x0f47('0x1d')](_0x128b8c)[_0x0f47('0x1e')]();};}function respondWithResult(_0x42ace5,_0x327f2f){_0x327f2f=_0x327f2f||0xc8;return function(_0x7579d1){if(_0x7579d1){return _0x42ace5['status'](_0x327f2f)[_0x0f47('0x1f')](_0x7579d1);}};}function respondWithFilteredResult(_0x553f66,_0x4e5c11){return function(_0x1e08f6){if(_0x1e08f6){var _0x2c2ba8=typeof _0x4e5c11[_0x0f47('0x20')]===_0x0f47('0x21')&&typeof _0x4e5c11[_0x0f47('0x22')]===_0x0f47('0x21');var _0x25e2e9=_0x1e08f6['count'];var _0x1d8fe5=_0x2c2ba8?0x0:_0x4e5c11[_0x0f47('0x20')];var _0x524868=_0x2c2ba8?_0x1e08f6[_0x0f47('0x23')]:_0x4e5c11[_0x0f47('0x20')]+_0x4e5c11[_0x0f47('0x22')];var _0x87f9da;if(_0x524868>=_0x25e2e9){_0x524868=_0x25e2e9;_0x87f9da=0xc8;}else{_0x87f9da=0xce;}_0x553f66[_0x0f47('0x1d')](_0x87f9da);return _0x553f66[_0x0f47('0x24')](_0x0f47('0x25'),_0x1d8fe5+'-'+_0x524868+'/'+_0x25e2e9)[_0x0f47('0x1f')](_0x1e08f6);}return null;};}function patchUpdates(_0xb34491){return function(_0x40fff8){try{jsonpatch[_0x0f47('0x26')](_0x40fff8,_0xb34491,!![]);}catch(_0x55a0ef){return BPromise['reject'](_0x55a0ef);}return _0x40fff8['save']();};}function saveUpdates(_0x1fe6ea,_0x5a0c8c){return function(_0x5f1830){if(_0x5f1830){return _0x5f1830[_0x0f47('0x27')](_0x1fe6ea)[_0x0f47('0x28')](function(_0x456611){return _0x456611;});}return null;};}function removeEntity(_0x19a68c,_0x28edc5){return function(_0x46c30f){if(_0x46c30f){return _0x46c30f[_0x0f47('0x29')]()['then'](function(){_0x19a68c['status'](0xcc)[_0x0f47('0x1e')]();});}};}function handleEntityNotFound(_0x48c86,_0x3c0ae0){return function(_0x49f2ff){if(!_0x49f2ff){_0x48c86[_0x0f47('0x2a')](0x194);}return _0x49f2ff;};}function handleError(_0x41a31e,_0x3e1fb0){_0x3e1fb0=_0x3e1fb0||0x1f4;return function(_0x17c7cf){logger['error'](_0x17c7cf[_0x0f47('0x2b')]);if(_0x17c7cf[_0x0f47('0x2c')]){delete _0x17c7cf[_0x0f47('0x2c')];}_0x41a31e[_0x0f47('0x1d')](_0x3e1fb0)[_0x0f47('0x2d')](_0x17c7cf);};}exports[_0x0f47('0x2e')]=function(_0x1142cd,_0xd47c98){var _0x2b902e={},_0x2648f1={},_0x8e5d1f={'count':0x0,'rows':[]};var _0x3a3687=_['map'](db[_0x0f47('0x2f')][_0x0f47('0x30')],function(_0xd503e4){return{'name':_0xd503e4[_0x0f47('0x31')],'type':_0xd503e4[_0x0f47('0x32')]['key']};});_0x2648f1[_0x0f47('0x33')]=_[_0x0f47('0x34')](_0x3a3687,_0x0f47('0x2c'));_0x2648f1['query']=_[_0x0f47('0x35')](_0x1142cd[_0x0f47('0x36')]);_0x2648f1[_0x0f47('0x37')]=_[_0x0f47('0x38')](_0x2648f1[_0x0f47('0x33')],_0x2648f1[_0x0f47('0x36')]);_0x2b902e['attributes']=_['intersection'](_0x2648f1['model'],qs[_0x0f47('0x39')](_0x1142cd['query'][_0x0f47('0x39')]));_0x2b902e['attributes']=_0x2b902e[_0x0f47('0x3a')][_0x0f47('0x3b')]?_0x2b902e[_0x0f47('0x3a')]:_0x2648f1[_0x0f47('0x33')];if(!_0x1142cd['query'][_0x0f47('0x3c')](_0x0f47('0x3d'))){_0x2b902e[_0x0f47('0x22')]=qs[_0x0f47('0x22')](_0x1142cd[_0x0f47('0x36')]['limit']);_0x2b902e[_0x0f47('0x20')]=qs[_0x0f47('0x20')](_0x1142cd[_0x0f47('0x36')][_0x0f47('0x20')]);}_0x2b902e[_0x0f47('0x3e')]=qs['sort'](_0x1142cd['query']['sort']);_0x2b902e[_0x0f47('0x3f')]=qs[_0x0f47('0x37')](_[_0x0f47('0x40')](_0x1142cd['query'],_0x2648f1[_0x0f47('0x37')]),_0x3a3687);if(_0x1142cd[_0x0f47('0x36')]['filter']){_0x2b902e['where']=_['merge'](_0x2b902e[_0x0f47('0x3f')],{'$or':_['map'](_0x3a3687,function(_0x1a812b){if(_0x1a812b[_0x0f47('0x32')]!=='VIRTUAL'){var _0x477c59={};_0x477c59[_0x1a812b[_0x0f47('0x2c')]]={'$like':'%'+_0x1142cd[_0x0f47('0x36')][_0x0f47('0x41')]+'%'};return _0x477c59;}})});}_0x2b902e=_[_0x0f47('0x42')]({},_0x2b902e,_0x1142cd[_0x0f47('0x43')]);var _0x331c8c={'where':_0x2b902e[_0x0f47('0x3f')]};return db['WhatsappApplication'][_0x0f47('0x23')](_0x331c8c)[_0x0f47('0x28')](function(_0x30bcdc){_0x8e5d1f[_0x0f47('0x23')]=_0x30bcdc;if(_0x1142cd[_0x0f47('0x36')][_0x0f47('0x44')]){_0x2b902e['include']=[{'all':!![]}];}return db[_0x0f47('0x2f')]['findAll'](_0x2b902e);})[_0x0f47('0x28')](function(_0x1753be){_0x8e5d1f['rows']=_0x1753be;return _0x8e5d1f;})[_0x0f47('0x28')](respondWithFilteredResult(_0xd47c98,_0x2b902e))[_0x0f47('0x45')](handleError(_0xd47c98,null));};exports[_0x0f47('0x46')]=function(_0x2d6c86,_0x46f86b){var _0x48dfee={'raw':!![],'where':{'id':_0x2d6c86[_0x0f47('0x47')]['id']}},_0x4a2305={};_0x4a2305[_0x0f47('0x33')]=_[_0x0f47('0x35')](db[_0x0f47('0x2f')][_0x0f47('0x30')]);_0x4a2305[_0x0f47('0x36')]=_[_0x0f47('0x35')](_0x2d6c86['query']);_0x4a2305['filters']=_[_0x0f47('0x38')](_0x4a2305[_0x0f47('0x33')],_0x4a2305[_0x0f47('0x36')]);_0x48dfee['attributes']=_[_0x0f47('0x38')](_0x4a2305[_0x0f47('0x33')],qs[_0x0f47('0x39')](_0x2d6c86[_0x0f47('0x36')][_0x0f47('0x39')]));_0x48dfee[_0x0f47('0x3a')]=_0x48dfee[_0x0f47('0x3a')][_0x0f47('0x3b')]?_0x48dfee[_0x0f47('0x3a')]:_0x4a2305['model'];if(_0x2d6c86[_0x0f47('0x36')][_0x0f47('0x44')]){_0x48dfee[_0x0f47('0x48')]=[{'all':!![]}];}_0x48dfee=_[_0x0f47('0x42')]({},_0x48dfee,_0x2d6c86[_0x0f47('0x43')]);return db[_0x0f47('0x2f')][_0x0f47('0x49')](_0x48dfee)[_0x0f47('0x28')](handleEntityNotFound(_0x46f86b,null))[_0x0f47('0x28')](respondWithResult(_0x46f86b,null))['catch'](handleError(_0x46f86b,null));};exports['create']=function(_0x16a4b2,_0x341aeb){return db[_0x0f47('0x2f')][_0x0f47('0x4a')](_0x16a4b2[_0x0f47('0x4b')],{})[_0x0f47('0x28')](respondWithResult(_0x341aeb,0xc9))[_0x0f47('0x45')](handleError(_0x341aeb,null));};exports['update']=function(_0x358c09,_0x143667){if(_0x358c09[_0x0f47('0x4b')]['id']){delete _0x358c09[_0x0f47('0x4b')]['id'];}return db[_0x0f47('0x2f')][_0x0f47('0x49')]({'where':{'id':_0x358c09[_0x0f47('0x47')]['id']}})['then'](handleEntityNotFound(_0x143667,null))[_0x0f47('0x28')](saveUpdates(_0x358c09[_0x0f47('0x4b')],null))[_0x0f47('0x28')](respondWithResult(_0x143667,null))[_0x0f47('0x45')](handleError(_0x143667,null));};exports['destroy']=function(_0x1a1fb4,_0x3f8bb9){return db[_0x0f47('0x2f')][_0x0f47('0x49')]({'where':{'id':_0x1a1fb4[_0x0f47('0x47')]['id']}})[_0x0f47('0x28')](handleEntityNotFound(_0x3f8bb9,null))[_0x0f47('0x28')](removeEntity(_0x3f8bb9,null))[_0x0f47('0x45')](handleError(_0x3f8bb9,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