Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / intSalesforceField / intSalesforceField.controller.js
index c918fdb..f236b26 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf47b=['index','map','SalesforceField','fieldName','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','merge','type','VIRTUAL','options','includeAll','include','rows','catch','params','rawAttributes','create','body','find','rimraf','zip-dir','fast-json-patch','request-promise','mustache','sox','to-csv','ejs','fs-extra','lodash','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','status','offset','undefined','count','limit','set','Content-Range','json','apply','reject','save','update','then','destroy','end','sendStatus','error','name','send'];(function(_0x58e500,_0x149406){var _0x3a204c=function(_0x14dd20){while(--_0x14dd20){_0x58e500['push'](_0x58e500['shift']());}};_0x3a204c(++_0x149406);}(_0xf47b,0xaf));var _0xbf47=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0xf47b[_0x138adb];return _0x1b27f2;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xbf47('0x0'));var zipdir=require(_0xbf47('0x1'));var jsonpatch=require(_0xbf47('0x2'));var rp=require(_0xbf47('0x3'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0xbf47('0x4'));var util=require('util');var path=require('path');var sox=require(_0xbf47('0x5'));var csv=require(_0xbf47('0x6'));var ejs=require(_0xbf47('0x7'));var fs=require('fs');var fs_extra=require(_0xbf47('0x8'));var _=require(_0xbf47('0x9'));var squel=require('squel');var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xbf47('0xa'));var toCsv=require(_0xbf47('0x6'));var querystring=require('querystring');var Papa=require(_0xbf47('0xb'));var Redis=require(_0xbf47('0xc'));var authService=require(_0xbf47('0xd'));var qs=require(_0xbf47('0xe'));var as=require(_0xbf47('0xf'));var hardwareService=require(_0xbf47('0x10'));var logger=require(_0xbf47('0x11'))('api');var utils=require(_0xbf47('0x12'));var config=require(_0xbf47('0x13'));var licenseUtil=require(_0xbf47('0x14'));var db=require(_0xbf47('0x15'))['db'];function respondWithStatusCode(_0x47e17a,_0x5418f1){_0x5418f1=_0x5418f1||0xcc;return function(_0x220539){if(_0x220539){return _0x47e17a['sendStatus'](_0x5418f1);}return _0x47e17a[_0xbf47('0x16')](_0x5418f1)['end']();};}function respondWithResult(_0x3d8475,_0xdc8072){_0xdc8072=_0xdc8072||0xc8;return function(_0x2afe0b){if(_0x2afe0b){return _0x3d8475[_0xbf47('0x16')](_0xdc8072)['json'](_0x2afe0b);}};}function respondWithFilteredResult(_0x2e3c7b,_0x26a24e){return function(_0x40a56d){if(_0x40a56d){var _0x5492ac=typeof _0x26a24e[_0xbf47('0x17')]===_0xbf47('0x18')&&typeof _0x26a24e['limit']===_0xbf47('0x18');var _0x3cace1=_0x40a56d[_0xbf47('0x19')];var _0xbb963d=_0x5492ac?0x0:_0x26a24e[_0xbf47('0x17')];var _0x4e9411=_0x5492ac?_0x40a56d[_0xbf47('0x19')]:_0x26a24e[_0xbf47('0x17')]+_0x26a24e[_0xbf47('0x1a')];var _0x54dccd;if(_0x4e9411>=_0x3cace1){_0x4e9411=_0x3cace1;_0x54dccd=0xc8;}else{_0x54dccd=0xce;}_0x2e3c7b[_0xbf47('0x16')](_0x54dccd);return _0x2e3c7b[_0xbf47('0x1b')](_0xbf47('0x1c'),_0xbb963d+'-'+_0x4e9411+'/'+_0x3cace1)[_0xbf47('0x1d')](_0x40a56d);}return null;};}function patchUpdates(_0x29c529){return function(_0x5d9bb6){try{jsonpatch[_0xbf47('0x1e')](_0x5d9bb6,_0x29c529,!![]);}catch(_0x4a3831){return BPromise[_0xbf47('0x1f')](_0x4a3831);}return _0x5d9bb6[_0xbf47('0x20')]();};}function saveUpdates(_0x4815f8,_0x56d784){return function(_0x1f8a3d){if(_0x1f8a3d){return _0x1f8a3d[_0xbf47('0x21')](_0x4815f8)[_0xbf47('0x22')](function(_0x3b3ec2){return _0x3b3ec2;});}return null;};}function removeEntity(_0xd0df08,_0x35e157){return function(_0x2c7955){if(_0x2c7955){return _0x2c7955[_0xbf47('0x23')]()[_0xbf47('0x22')](function(){_0xd0df08[_0xbf47('0x16')](0xcc)[_0xbf47('0x24')]();});}};}function handleEntityNotFound(_0xeb8d7f,_0x1cb1dc){return function(_0x435acf){if(!_0x435acf){_0xeb8d7f[_0xbf47('0x25')](0x194);}return _0x435acf;};}function handleError(_0x211ee8,_0x53a670){_0x53a670=_0x53a670||0x1f4;return function(_0x4e7da3){logger[_0xbf47('0x26')](_0x4e7da3['stack']);if(_0x4e7da3[_0xbf47('0x27')]){delete _0x4e7da3[_0xbf47('0x27')];}_0x211ee8['status'](_0x53a670)[_0xbf47('0x28')](_0x4e7da3);};}exports[_0xbf47('0x29')]=function(_0x7a09f8,_0x519c09){var _0x1d3ced={},_0x5a465b={},_0x7a8e35={'count':0x0,'rows':[]};var _0x38a8e0=_[_0xbf47('0x2a')](db[_0xbf47('0x2b')]['rawAttributes'],function(_0x48ea5d){return{'name':_0x48ea5d[_0xbf47('0x2c')],'type':_0x48ea5d['type'][_0xbf47('0x2d')]};});_0x5a465b[_0xbf47('0x2e')]=_['map'](_0x38a8e0,_0xbf47('0x27'));_0x5a465b[_0xbf47('0x2f')]=_[_0xbf47('0x30')](_0x7a09f8['query']);_0x5a465b[_0xbf47('0x31')]=_[_0xbf47('0x32')](_0x5a465b[_0xbf47('0x2e')],_0x5a465b[_0xbf47('0x2f')]);_0x1d3ced[_0xbf47('0x33')]=_[_0xbf47('0x32')](_0x5a465b[_0xbf47('0x2e')],qs[_0xbf47('0x34')](_0x7a09f8['query'][_0xbf47('0x34')]));_0x1d3ced[_0xbf47('0x33')]=_0x1d3ced['attributes'][_0xbf47('0x35')]?_0x1d3ced['attributes']:_0x5a465b[_0xbf47('0x2e')];if(!_0x7a09f8['query'][_0xbf47('0x36')](_0xbf47('0x37'))){_0x1d3ced[_0xbf47('0x1a')]=qs['limit'](_0x7a09f8[_0xbf47('0x2f')][_0xbf47('0x1a')]);_0x1d3ced[_0xbf47('0x17')]=qs[_0xbf47('0x17')](_0x7a09f8['query'][_0xbf47('0x17')]);}_0x1d3ced['order']=qs[_0xbf47('0x38')](_0x7a09f8['query'][_0xbf47('0x38')]);_0x1d3ced[_0xbf47('0x39')]=qs[_0xbf47('0x31')](_[_0xbf47('0x3a')](_0x7a09f8[_0xbf47('0x2f')],_0x5a465b['filters']),_0x38a8e0);if(_0x7a09f8[_0xbf47('0x2f')]['filter']){_0x1d3ced[_0xbf47('0x39')]=_[_0xbf47('0x3b')](_0x1d3ced[_0xbf47('0x39')],{'$or':_[_0xbf47('0x2a')](_0x38a8e0,function(_0x4f710c){if(_0x4f710c[_0xbf47('0x3c')]!==_0xbf47('0x3d')){var _0x911aa3={};_0x911aa3[_0x4f710c['name']]={'$like':'%'+_0x7a09f8[_0xbf47('0x2f')]['filter']+'%'};return _0x911aa3;}})});}_0x1d3ced=_[_0xbf47('0x3b')]({},_0x1d3ced,_0x7a09f8[_0xbf47('0x3e')]);var _0x3208f4={'where':_0x1d3ced['where']};return db[_0xbf47('0x2b')][_0xbf47('0x19')](_0x3208f4)[_0xbf47('0x22')](function(_0x51722b){_0x7a8e35[_0xbf47('0x19')]=_0x51722b;if(_0x7a09f8[_0xbf47('0x2f')][_0xbf47('0x3f')]){_0x1d3ced[_0xbf47('0x40')]=[{'all':!![]}];}return db[_0xbf47('0x2b')]['findAll'](_0x1d3ced);})['then'](function(_0x5c15ed){_0x7a8e35[_0xbf47('0x41')]=_0x5c15ed;return _0x7a8e35;})[_0xbf47('0x22')](respondWithFilteredResult(_0x519c09,_0x1d3ced))[_0xbf47('0x42')](handleError(_0x519c09,null));};exports['show']=function(_0x5b4c59,_0x159c0d){var _0x4e1cff={'raw':!![],'where':{'id':_0x5b4c59[_0xbf47('0x43')]['id']}},_0x48e176={};_0x48e176[_0xbf47('0x2e')]=_['keys'](db[_0xbf47('0x2b')][_0xbf47('0x44')]);_0x48e176['query']=_['keys'](_0x5b4c59['query']);_0x48e176[_0xbf47('0x31')]=_['intersection'](_0x48e176[_0xbf47('0x2e')],_0x48e176[_0xbf47('0x2f')]);_0x4e1cff['attributes']=_[_0xbf47('0x32')](_0x48e176[_0xbf47('0x2e')],qs[_0xbf47('0x34')](_0x5b4c59['query']['fields']));_0x4e1cff[_0xbf47('0x33')]=_0x4e1cff[_0xbf47('0x33')][_0xbf47('0x35')]?_0x4e1cff['attributes']:_0x48e176[_0xbf47('0x2e')];if(_0x5b4c59[_0xbf47('0x2f')][_0xbf47('0x3f')]){_0x4e1cff['include']=[{'all':!![]}];}_0x4e1cff=_['merge']({},_0x4e1cff,_0x5b4c59[_0xbf47('0x3e')]);return db['SalesforceField']['find'](_0x4e1cff)[_0xbf47('0x22')](handleEntityNotFound(_0x159c0d,null))[_0xbf47('0x22')](respondWithResult(_0x159c0d,null))[_0xbf47('0x42')](handleError(_0x159c0d,null));};exports[_0xbf47('0x45')]=function(_0xcfe22c,_0x14ed6d){return db[_0xbf47('0x2b')]['create'](_0xcfe22c[_0xbf47('0x46')],{})['then'](respondWithResult(_0x14ed6d,0xc9))['catch'](handleError(_0x14ed6d,null));};exports['update']=function(_0x26bb79,_0x1be5ba){if(_0x26bb79[_0xbf47('0x46')]['id']){delete _0x26bb79[_0xbf47('0x46')]['id'];}return db[_0xbf47('0x2b')][_0xbf47('0x47')]({'where':{'id':_0x26bb79['params']['id']}})[_0xbf47('0x22')](handleEntityNotFound(_0x1be5ba,null))[_0xbf47('0x22')](saveUpdates(_0x26bb79['body'],null))[_0xbf47('0x22')](respondWithResult(_0x1be5ba,null))[_0xbf47('0x42')](handleError(_0x1be5ba,null));};exports[_0xbf47('0x23')]=function(_0x105aee,_0x2d2147){return db[_0xbf47('0x2b')][_0xbf47('0x47')]({'where':{'id':_0x105aee[_0xbf47('0x43')]['id']}})[_0xbf47('0x22')](handleEntityNotFound(_0x2d2147,null))['then'](removeEntity(_0x2d2147,null))[_0xbf47('0x42')](handleError(_0x2d2147,null));};
\ No newline at end of file
+var _0x6d7a=['length','hasOwnProperty','offset','where','filter','merge','type','VIRTUAL','options','count','includeAll','include','params','model','create','body','update','catch','find','eml-format','rimraf','zip-dir','request-promise','moment','mustache','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','end','json','undefined','limit','set','Content-Range','apply','reject','save','destroy','then','error','stack','name','send','index','map','SalesforceField','rawAttributes','fieldName','key','query','keys','filters','intersection','fields','attributes'];(function(_0x4bff06,_0x529ea1){var _0x5a1c2e=function(_0x16e026){while(--_0x16e026){_0x4bff06['push'](_0x4bff06['shift']());}};_0x5a1c2e(++_0x529ea1);}(_0x6d7a,0x133));var _0xa6d7=function(_0x1d5127,_0x2aab5f){_0x1d5127=_0x1d5127-0x0;var _0x1b1e28=_0x6d7a[_0x1d5127];return _0x1b1e28;};'use strict';var emlformat=require(_0xa6d7('0x0'));var rimraf=require(_0xa6d7('0x1'));var zipdir=require(_0xa6d7('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xa6d7('0x3'));var moment=require(_0xa6d7('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xa6d7('0x5'));var util=require('util');var path=require(_0xa6d7('0x6'));var sox=require('sox');var csv=require(_0xa6d7('0x7'));var ejs=require(_0xa6d7('0x8'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xa6d7('0x9'));var squel=require(_0xa6d7('0xa'));var crypto=require(_0xa6d7('0xb'));var jsforce=require(_0xa6d7('0xc'));var deskjs=require(_0xa6d7('0xd'));var toCsv=require(_0xa6d7('0x7'));var querystring=require(_0xa6d7('0xe'));var Papa=require(_0xa6d7('0xf'));var Redis=require('ioredis');var authService=require(_0xa6d7('0x10'));var qs=require(_0xa6d7('0x11'));var as=require(_0xa6d7('0x12'));var hardwareService=require(_0xa6d7('0x13'));var logger=require(_0xa6d7('0x14'))(_0xa6d7('0x15'));var utils=require(_0xa6d7('0x16'));var config=require(_0xa6d7('0x17'));var licenseUtil=require('../../config/license/util');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x71a11,_0x9fbb84){_0x9fbb84=_0x9fbb84||0xcc;return function(_0x13064c){if(_0x13064c){return _0x71a11[_0xa6d7('0x18')](_0x9fbb84);}return _0x71a11[_0xa6d7('0x19')](_0x9fbb84)[_0xa6d7('0x1a')]();};}function respondWithResult(_0x160acb,_0x28c4e0){_0x28c4e0=_0x28c4e0||0xc8;return function(_0x468849){if(_0x468849){return _0x160acb[_0xa6d7('0x19')](_0x28c4e0)[_0xa6d7('0x1b')](_0x468849);}};}function respondWithFilteredResult(_0x34f62b,_0x114ebb){return function(_0x32b33f){if(_0x32b33f){var _0x2388ae=typeof _0x114ebb['offset']===_0xa6d7('0x1c')&&typeof _0x114ebb['limit']==='undefined';var _0x4c8e27=_0x32b33f['count'];var _0x50da72=_0x2388ae?0x0:_0x114ebb['offset'];var _0x3c6aa5=_0x2388ae?_0x32b33f['count']:_0x114ebb['offset']+_0x114ebb[_0xa6d7('0x1d')];var _0x1c757a;if(_0x3c6aa5>=_0x4c8e27){_0x3c6aa5=_0x4c8e27;_0x1c757a=0xc8;}else{_0x1c757a=0xce;}_0x34f62b[_0xa6d7('0x19')](_0x1c757a);return _0x34f62b[_0xa6d7('0x1e')](_0xa6d7('0x1f'),_0x50da72+'-'+_0x3c6aa5+'/'+_0x4c8e27)[_0xa6d7('0x1b')](_0x32b33f);}return null;};}function patchUpdates(_0x5c659d){return function(_0x47dc31){try{jsonpatch[_0xa6d7('0x20')](_0x47dc31,_0x5c659d,!![]);}catch(_0x25111f){return BPromise[_0xa6d7('0x21')](_0x25111f);}return _0x47dc31[_0xa6d7('0x22')]();};}function saveUpdates(_0x350cb3,_0xe40d04){return function(_0x22a7e1){if(_0x22a7e1){return _0x22a7e1['update'](_0x350cb3)['then'](function(_0x58c6c7){return _0x58c6c7;});}return null;};}function removeEntity(_0x4667e6,_0x5d4636){return function(_0x3123ce){if(_0x3123ce){return _0x3123ce[_0xa6d7('0x23')]()[_0xa6d7('0x24')](function(){_0x4667e6['status'](0xcc)[_0xa6d7('0x1a')]();});}};}function handleEntityNotFound(_0x4e0a6d,_0x454aa2){return function(_0x57ac7d){if(!_0x57ac7d){_0x4e0a6d[_0xa6d7('0x18')](0x194);}return _0x57ac7d;};}function handleError(_0x26be1e,_0xa8e93c){_0xa8e93c=_0xa8e93c||0x1f4;return function(_0xb4f80e){logger[_0xa6d7('0x25')](_0xb4f80e[_0xa6d7('0x26')]);if(_0xb4f80e[_0xa6d7('0x27')]){delete _0xb4f80e[_0xa6d7('0x27')];}_0x26be1e[_0xa6d7('0x19')](_0xa8e93c)[_0xa6d7('0x28')](_0xb4f80e);};}exports[_0xa6d7('0x29')]=function(_0x4cb487,_0x46f3b1){var _0x4f343e={},_0x374c4e={},_0x18036e={'count':0x0,'rows':[]};var _0x2a6933=_[_0xa6d7('0x2a')](db[_0xa6d7('0x2b')][_0xa6d7('0x2c')],function(_0x3144a4){return{'name':_0x3144a4[_0xa6d7('0x2d')],'type':_0x3144a4['type'][_0xa6d7('0x2e')]};});_0x374c4e['model']=_[_0xa6d7('0x2a')](_0x2a6933,_0xa6d7('0x27'));_0x374c4e[_0xa6d7('0x2f')]=_[_0xa6d7('0x30')](_0x4cb487[_0xa6d7('0x2f')]);_0x374c4e[_0xa6d7('0x31')]=_[_0xa6d7('0x32')](_0x374c4e['model'],_0x374c4e[_0xa6d7('0x2f')]);_0x4f343e['attributes']=_['intersection'](_0x374c4e['model'],qs[_0xa6d7('0x33')](_0x4cb487[_0xa6d7('0x2f')][_0xa6d7('0x33')]));_0x4f343e[_0xa6d7('0x34')]=_0x4f343e[_0xa6d7('0x34')][_0xa6d7('0x35')]?_0x4f343e[_0xa6d7('0x34')]:_0x374c4e['model'];if(!_0x4cb487[_0xa6d7('0x2f')][_0xa6d7('0x36')]('nolimit')){_0x4f343e[_0xa6d7('0x1d')]=qs[_0xa6d7('0x1d')](_0x4cb487['query'][_0xa6d7('0x1d')]);_0x4f343e[_0xa6d7('0x37')]=qs[_0xa6d7('0x37')](_0x4cb487[_0xa6d7('0x2f')][_0xa6d7('0x37')]);}_0x4f343e['order']=qs['sort'](_0x4cb487['query']['sort']);_0x4f343e[_0xa6d7('0x38')]=qs[_0xa6d7('0x31')](_['pick'](_0x4cb487['query'],_0x374c4e[_0xa6d7('0x31')]),_0x2a6933);if(_0x4cb487['query'][_0xa6d7('0x39')]){_0x4f343e[_0xa6d7('0x38')]=_[_0xa6d7('0x3a')](_0x4f343e[_0xa6d7('0x38')],{'$or':_[_0xa6d7('0x2a')](_0x2a6933,function(_0x30ec3b){if(_0x30ec3b[_0xa6d7('0x3b')]!==_0xa6d7('0x3c')){var _0x23e449={};_0x23e449[_0x30ec3b['name']]={'$like':'%'+_0x4cb487['query'][_0xa6d7('0x39')]+'%'};return _0x23e449;}})});}_0x4f343e=_[_0xa6d7('0x3a')]({},_0x4f343e,_0x4cb487[_0xa6d7('0x3d')]);var _0x4d590c={'where':_0x4f343e['where']};return db[_0xa6d7('0x2b')]['count'](_0x4d590c)[_0xa6d7('0x24')](function(_0x286256){_0x18036e[_0xa6d7('0x3e')]=_0x286256;if(_0x4cb487[_0xa6d7('0x2f')][_0xa6d7('0x3f')]){_0x4f343e[_0xa6d7('0x40')]=[{'all':!![]}];}return db[_0xa6d7('0x2b')]['findAll'](_0x4f343e);})[_0xa6d7('0x24')](function(_0x579bff){_0x18036e['rows']=_0x579bff;return _0x18036e;})[_0xa6d7('0x24')](respondWithFilteredResult(_0x46f3b1,_0x4f343e))['catch'](handleError(_0x46f3b1,null));};exports['show']=function(_0x250c9d,_0x58da93){var _0xeea526={'raw':!![],'where':{'id':_0x250c9d[_0xa6d7('0x41')]['id']}},_0x5c8139={};_0x5c8139[_0xa6d7('0x42')]=_[_0xa6d7('0x30')](db[_0xa6d7('0x2b')]['rawAttributes']);_0x5c8139[_0xa6d7('0x2f')]=_[_0xa6d7('0x30')](_0x250c9d[_0xa6d7('0x2f')]);_0x5c8139['filters']=_[_0xa6d7('0x32')](_0x5c8139['model'],_0x5c8139[_0xa6d7('0x2f')]);_0xeea526[_0xa6d7('0x34')]=_[_0xa6d7('0x32')](_0x5c8139[_0xa6d7('0x42')],qs[_0xa6d7('0x33')](_0x250c9d[_0xa6d7('0x2f')][_0xa6d7('0x33')]));_0xeea526[_0xa6d7('0x34')]=_0xeea526['attributes']['length']?_0xeea526['attributes']:_0x5c8139['model'];if(_0x250c9d[_0xa6d7('0x2f')][_0xa6d7('0x3f')]){_0xeea526['include']=[{'all':!![]}];}_0xeea526=_['merge']({},_0xeea526,_0x250c9d[_0xa6d7('0x3d')]);return db[_0xa6d7('0x2b')]['find'](_0xeea526)['then'](handleEntityNotFound(_0x58da93,null))[_0xa6d7('0x24')](respondWithResult(_0x58da93,null))['catch'](handleError(_0x58da93,null));};exports['create']=function(_0x5ca068,_0x4178be){return db[_0xa6d7('0x2b')][_0xa6d7('0x43')](_0x5ca068[_0xa6d7('0x44')],{})[_0xa6d7('0x24')](respondWithResult(_0x4178be,0xc9))['catch'](handleError(_0x4178be,null));};exports[_0xa6d7('0x45')]=function(_0x10bd2c,_0x58616f){if(_0x10bd2c[_0xa6d7('0x44')]['id']){delete _0x10bd2c[_0xa6d7('0x44')]['id'];}return db[_0xa6d7('0x2b')]['find']({'where':{'id':_0x10bd2c[_0xa6d7('0x41')]['id']}})[_0xa6d7('0x24')](handleEntityNotFound(_0x58616f,null))[_0xa6d7('0x24')](saveUpdates(_0x10bd2c[_0xa6d7('0x44')],null))[_0xa6d7('0x24')](respondWithResult(_0x58616f,null))[_0xa6d7('0x46')](handleError(_0x58616f,null));};exports['destroy']=function(_0x5345fe,_0x2011f9){return db['SalesforceField'][_0xa6d7('0x47')]({'where':{'id':_0x5345fe[_0xa6d7('0x41')]['id']}})[_0xa6d7('0x24')](handleEntityNotFound(_0x2011f9,null))[_0xa6d7('0x24')](removeEntity(_0x2011f9,null))[_0xa6d7('0x46')](handleError(_0x2011f9,null));};
\ No newline at end of file