Built motion from commit c671bd6.|0.0.103
[motion.git] / server / api / salesforce_account / salesforce_account.controller.js
index 8dcf9d9..2b456f3 100644 (file)
@@ -1 +1 @@
-var _0xe62f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6A\x73\x66\x6F\x72\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x63\x6C\x69\x65\x6E\x74\x49\x64","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x73\x65\x63\x75\x72\x69\x74\x79\x54\x6F\x6B\x65\x6E","\x63\x6F\x6E\x63\x61\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x66\x69\x65\x6C\x64\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x54\x61\x73\x6B","\x73\x6F\x62\x6A\x65\x63\x74","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x53\x75\x62\x6A\x65\x63\x74","\x73\x74\x72\x69\x6E\x67","\x5B\x78\x43\x41\x4C\x4C\x59\x20\x54\x61\x73\x6B\x5D","\x76\x61\x72\x69\x61\x62\x6C\x65","","\x71\x75\x65\x75\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x2A\x2A\x2A\x20\x43\x61\x6C\x6C\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x61\x6D\x65\x3A","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x20\x54\x6F\x3A","\x64\x65\x73\x74\x65\x78\x74\x65\x6E","\x51\x75\x65\x75\x65\x3A","\x55\x6E\x69\x71\x75\x65\x49\x64\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x44\x61\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x2A\x2A\x2A\x20\x41\x67\x65\x6E\x74\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x4E\x61\x6D\x65\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x2A\x2A\x2A\x20\x54\x69\x6D\x65\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x52\x69\x6E\x67\x3A","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6E\x6E\x65\x63\x74\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x48\x6F\x6C\x64\x20\x54\x69\x6D\x65\x3A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65\x3A","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x49\x64","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x66\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x65\x72\x72\x6F\x72","\x73\x65\x74\x54\x61\x67\x73"];_0xe62f[0];var _=require(_0xe62f[1]);var util=require(_0xe62f[2]);var jsforce=require(_0xe62f[3]);var Util=require(_0xe62f[4]);var SalesforceAccount=require(_0xe62f[6])[_0xe62f[5]];var SalesforceConfiguration=require(_0xe62f[6])[_0xe62f[7]];var SalesforceField=require(_0xe62f[6])[_0xe62f[8]];function handleError(_0x832ex9,_0x832exa){_0x832exa=_0x832exa||500;return function(_0x832exb){_0x832ex9[_0xe62f[10]](_0x832exa)[_0xe62f[9]](_0x832exb)}}function responseWithResult(_0x832ex9,_0x832exa){_0x832exa=_0x832exa||200;return function(_0x832exd){if(_0x832exd){_0x832ex9[_0xe62f[10]](_0x832exa)[_0xe62f[11]](_0x832exd)}}}function responseWithoutResult(_0x832ex9,_0x832exa){_0x832exa=_0x832exa||200;return function(){_0x832ex9[_0xe62f[12]](_0x832exa)}}function handleEntityNotFound(_0x832ex9){return function(_0x832exd){if(!_0x832exd){_0x832ex9[_0xe62f[10]](404)[_0xe62f[13]]();return null};return _0x832exd}}function saveUpdates(_0x832ex11){return function(_0x832exd){return _0x832exd[_0xe62f[15]](_0x832ex11)[_0xe62f[14]](function(_0x832ex12){return _0x832ex12})}}function removeEntity(_0x832ex9){return function(_0x832exd){if(_0x832exd){return _0x832exd[_0xe62f[16]]()[_0xe62f[14]](function(){_0x832ex9[_0xe62f[10]](204)[_0xe62f[13]]()})}}}exports[_0xe62f[17]]=function(_0x832ex14,_0x832ex9,_0x832ex15){return SalesforceAccount[_0xe62f[23]](_0xe62f[22])[_0xe62f[21]](Util[_0xe62f[20]](_0x832ex14[_0xe62f[19]]))[_0xe62f[14]](responseWithResult(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[24]]=function(_0x832ex14,_0x832ex9){return SalesforceAccount[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[25]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](responseWithResult(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[28]]=function(_0x832ex14,_0x832ex9){return SalesforceAccount[_0xe62f[28]](_0x832ex14[_0xe62f[29]])[_0xe62f[14]](responseWithResult(_0x832ex9,201))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[30]]=function(_0x832ex14,_0x832ex9){if(_0x832ex14[_0xe62f[29]][_0xe62f[25]]){delete _0x832ex14[_0xe62f[29]][_0xe62f[25]]};return SalesforceAccount[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[25]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](saveUpdates(_0x832ex14[_0xe62f[29]]))[_0xe62f[14]](responseWithResult(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[16]]=function(_0x832ex14,_0x832ex9){return SalesforceAccount[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[25]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](removeEntity(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[31]]=function(_0x832ex14,_0x832ex9){return SalesforceAccount[_0xe62f[16]]({where:{id:_0x832ex14[_0xe62f[19]][_0xe62f[32]]},individualHooks:true})[_0xe62f[14]](responseWithResult(_0x832ex9,204))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[33]]=function(_0x832ex14,_0x832ex9){return SalesforceAccount[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[25]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](function(_0x832ex16){var _0x832ex17= new jsforce.Connection({oauth2:{loginUrl:_0x832ex16[_0xe62f[34]],clientId:_0x832ex16[_0xe62f[35]],clientSecret:_0x832ex16[_0xe62f[36]]}});var _0x832ex18=_0x832ex16[_0xe62f[39]][_0xe62f[38]](_0x832ex16[_0xe62f[37]]);_0x832ex17[_0xe62f[41]](_0x832ex16[_0xe62f[40]],_0x832ex18,function(_0x832exb,_0x832ex19){if(_0x832exb){return _0x832ex9[_0xe62f[10]](400)[_0xe62f[9]](_0x832exb)};return _0x832ex9[_0xe62f[12]](200)})})[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[42]]=function(_0x832ex14,_0x832ex9){var _0x832ex1a={};_0x832ex1a[_0x832ex14[_0xe62f[26]][_0xe62f[43]]]=_0x832ex14[_0xe62f[29]][_0xe62f[44]];return SalesforceAccount[_0xe62f[21]]({where:_0x832ex1a})[_0xe62f[14]](function(_0x832ex1b){if(_0x832ex1b[_0xe62f[45]]){return _0x832ex9[_0xe62f[10]](200)[_0xe62f[9]]({isValid:false,value:_0x832ex14[_0xe62f[29]][_0xe62f[44]]})};return _0x832ex9[_0xe62f[10]](200)[_0xe62f[9]]({isValid:true,value:_0x832ex14[_0xe62f[29]][_0xe62f[44]]})})[_0xe62f[18]](function(_0x832exb){return handleError(_0x832ex9,_0x832exb)})};exports[_0xe62f[46]]=function(_0x832ex14,_0x832ex9){return SalesforceAccount[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[25]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](function(_0x832ex16){var _0x832ex17= new jsforce.Connection({oauth2:{loginUrl:_0x832ex16[_0xe62f[34]],clientId:_0x832ex16[_0xe62f[35]],clientSecret:_0x832ex16[_0xe62f[36]]}});var _0x832ex18=_0x832ex16[_0xe62f[39]][_0xe62f[38]](_0x832ex16[_0xe62f[37]]);_0x832ex17[_0xe62f[41]](_0x832ex16[_0xe62f[40]],_0x832ex18,function(_0x832exb,_0x832ex19){if(_0x832exb){return _0x832ex9[_0xe62f[10]](400)[_0xe62f[9]](_0x832exb)};_0x832ex17[_0xe62f[50]](_0xe62f[49])[_0xe62f[48]](function(_0x832exb,_0x832ex1c){if(_0x832exb){return _0x832ex9[_0xe62f[10]](400)[_0xe62f[9]](_0x832exb)};return _0x832ex9[_0xe62f[10]](200)[_0xe62f[9]](_0x832ex1c[_0xe62f[47]])})})})[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[51]]=function(_0x832ex14,_0x832ex9){return SalesforceConfiguration[_0xe62f[23]]({method:[_0xe62f[52],_0x832ex14[_0xe62f[26]][_0xe62f[25]]]})[_0xe62f[21]](Util[_0xe62f[20]](_0x832ex14[_0xe62f[19]]))[_0xe62f[14]](responseWithResult(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[53]]=function(_0x832ex14,_0x832ex9){return SalesforceConfiguration[_0xe62f[23]]({method:[_0xe62f[52],_0x832ex14[_0xe62f[26]][_0xe62f[25]]]})[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[54]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](responseWithResult(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[55]]=function(_0x832ex14,_0x832ex9){return SalesforceConfiguration[_0xe62f[23]]({method:[_0xe62f[52],_0x832ex14[_0xe62f[26]][_0xe62f[25]]]})[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[54]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](removeEntity(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[56]]=function(_0x832ex14,_0x832ex9){return SalesforceConfiguration[_0xe62f[16]]({where:{id:_0x832ex14[_0xe62f[19]][_0xe62f[32]]},individualHooks:true})[_0xe62f[14]](responseWithResult(_0x832ex9,204))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[57]]=function(_0x832ex14,_0x832ex9){_0x832ex14[_0xe62f[29]][_0xe62f[58]]=_0x832ex14[_0xe62f[26]][_0xe62f[25]];switch(_0x832ex14[_0xe62f[29]][_0xe62f[96]]){case _0xe62f[94]:_0x832ex14[_0xe62f[29]][_0xe62f[59]]=[{"\x74\x79\x70\x65":_0xe62f[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0xe62f[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[64]},{"\x74\x79\x70\x65":_0xe62f[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[65]}];_0x832ex14[_0xe62f[29]][_0xe62f[66]]=[{"\x74\x79\x70\x65":_0xe62f[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[67],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[69],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[65]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[70],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[71]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[72],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[73]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[74],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[64]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[75],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[76]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[77],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[78]},{"\x74\x79\x70\x65":_0xe62f[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[79],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[80],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[81]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[82],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[83]},{"\x74\x79\x70\x65":_0xe62f[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[84],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[85],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[78]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[86],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[87]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[88],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[89]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[90],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[91]},{"\x74\x79\x70\x65":_0xe62f[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0xe62f[63],"\x6B\x65\x79":_0xe62f[92],"\x6B\x65\x79\x54\x79\x70\x65":_0xe62f[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0xe62f[93]}];break;default:console[_0xe62f[97]](_0xe62f[95],_0x832ex14[_0xe62f[29]][_0xe62f[96]])};delete _0x832ex14[_0xe62f[29]][_0xe62f[96]];return SalesforceConfiguration[_0xe62f[28]](_0x832ex14[_0xe62f[29]],{include:[{model:SalesforceField,as:_0xe62f[59]},{model:SalesforceField,as:_0xe62f[66]}]})[_0xe62f[14]](responseWithResult(_0x832ex9,201))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[98]]=function(_0x832ex14,_0x832ex9){return SalesforceConfiguration[_0xe62f[23]]({method:[_0xe62f[52],_0x832ex14[_0xe62f[26]][_0xe62f[25]]]})[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[54]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](function(_0x832ex1d){switch(_0x832ex14[_0xe62f[26]][_0xe62f[104]]){case _0xe62f[100]:_0x832ex14[_0xe62f[29]][_0xe62f[99]]=_0x832ex14[_0xe62f[26]][_0xe62f[54]];break;case _0xe62f[102]:_0x832ex14[_0xe62f[29]][_0xe62f[101]]=_0x832ex14[_0xe62f[26]][_0xe62f[54]];break;case _0xe62f[43]:_0x832ex14[_0xe62f[29]][_0xe62f[103]]=_0x832ex14[_0xe62f[26]][_0xe62f[54]];break};return SalesforceField[_0xe62f[28]](_0x832ex14[_0xe62f[29]])})[_0xe62f[14]](responseWithResult(_0x832ex9,201))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[105]]=function(_0x832ex14,_0x832ex9){if(_0x832ex14[_0xe62f[29]][_0xe62f[25]]){delete _0x832ex14[_0xe62f[29]][_0xe62f[25]]};return SalesforceField[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[106]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](saveUpdates(_0x832ex14[_0xe62f[29]]))[_0xe62f[14]](responseWithResult(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[107]]=function(_0x832ex14,_0x832ex9){return SalesforceField[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[106]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](removeEntity(_0x832ex9))[_0xe62f[18]](handleError(_0x832ex9))};exports[_0xe62f[108]]=function(_0x832ex14,_0x832ex9,_0x832ex15){return SalesforceConfiguration[_0xe62f[27]](_0x832ex14[_0xe62f[26]][_0xe62f[54]])[_0xe62f[14]](handleEntityNotFound(_0x832ex9))[_0xe62f[14]](function(_0x832ex1d){return _0x832ex1d[_0xe62f[110]](_0x832ex14[_0xe62f[29]])})[_0xe62f[14]](responseWithoutResult(_0x832ex9,200))[_0xe62f[18]](function(_0x832exb){console[_0xe62f[109]](_0x832exb);return handleError(_0x832ex9,_0x832exb)})}
\ No newline at end of file
+var _0x1c74=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6A\x73\x66\x6F\x72\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x63\x6C\x69\x65\x6E\x74\x49\x64","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x73\x65\x63\x75\x72\x69\x74\x79\x54\x6F\x6B\x65\x6E","\x63\x6F\x6E\x63\x61\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x66\x69\x65\x6C\x64\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x54\x61\x73\x6B","\x73\x6F\x62\x6A\x65\x63\x74","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x53\x75\x62\x6A\x65\x63\x74","\x73\x74\x72\x69\x6E\x67","\x5B\x78\x43\x41\x4C\x4C\x59\x20\x54\x61\x73\x6B\x5D","\x76\x61\x72\x69\x61\x62\x6C\x65","","\x71\x75\x65\x75\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x2A\x2A\x2A\x20\x43\x61\x6C\x6C\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x61\x6D\x65\x3A","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x20\x54\x6F\x3A","\x64\x65\x73\x74\x65\x78\x74\x65\x6E","\x51\x75\x65\x75\x65\x3A","\x55\x6E\x69\x71\x75\x65\x49\x64\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x44\x61\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x2A\x2A\x2A\x20\x41\x67\x65\x6E\x74\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x4E\x61\x6D\x65\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x2A\x2A\x2A\x20\x54\x69\x6D\x65\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x52\x69\x6E\x67\x3A","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6E\x6E\x65\x63\x74\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x48\x6F\x6C\x64\x20\x54\x69\x6D\x65\x3A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65\x3A","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x49\x64","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x66\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x65\x72\x72\x6F\x72","\x73\x65\x74\x54\x61\x67\x73"];_0x1c74[0];var _=require(_0x1c74[1]);var util=require(_0x1c74[2]);var jsforce=require(_0x1c74[3]);var Util=require(_0x1c74[4]);var SalesforceAccount=require(_0x1c74[6])[_0x1c74[5]];var SalesforceConfiguration=require(_0x1c74[6])[_0x1c74[7]];var SalesforceField=require(_0x1c74[6])[_0x1c74[8]];function handleError(_0x5598x9,_0x5598xa){_0x5598xa=_0x5598xa||500;return function(_0x5598xb){_0x5598x9[_0x1c74[10]](_0x5598xa)[_0x1c74[9]](_0x5598xb)}}function responseWithResult(_0x5598x9,_0x5598xa){_0x5598xa=_0x5598xa||200;return function(_0x5598xd){if(_0x5598xd){_0x5598x9[_0x1c74[10]](_0x5598xa)[_0x1c74[11]](_0x5598xd)}}}function responseWithoutResult(_0x5598x9,_0x5598xa){_0x5598xa=_0x5598xa||200;return function(){_0x5598x9[_0x1c74[12]](_0x5598xa)}}function handleEntityNotFound(_0x5598x9){return function(_0x5598xd){if(!_0x5598xd){_0x5598x9[_0x1c74[10]](404)[_0x1c74[13]]();return null};return _0x5598xd}}function saveUpdates(_0x5598x11){return function(_0x5598xd){return _0x5598xd[_0x1c74[15]](_0x5598x11)[_0x1c74[14]](function(_0x5598x12){return _0x5598x12})}}function removeEntity(_0x5598x9){return function(_0x5598xd){if(_0x5598xd){return _0x5598xd[_0x1c74[16]]()[_0x1c74[14]](function(){_0x5598x9[_0x1c74[10]](204)[_0x1c74[13]]()})}}}exports[_0x1c74[17]]=function(_0x5598x14,_0x5598x9,_0x5598x15){return SalesforceAccount[_0x1c74[23]](_0x1c74[22])[_0x1c74[21]](Util[_0x1c74[20]](_0x5598x14[_0x1c74[19]]))[_0x1c74[14]](responseWithResult(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[24]]=function(_0x5598x14,_0x5598x9){return SalesforceAccount[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[25]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](responseWithResult(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[28]]=function(_0x5598x14,_0x5598x9){return SalesforceAccount[_0x1c74[28]](_0x5598x14[_0x1c74[29]])[_0x1c74[14]](responseWithResult(_0x5598x9,201))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[30]]=function(_0x5598x14,_0x5598x9){if(_0x5598x14[_0x1c74[29]][_0x1c74[25]]){delete _0x5598x14[_0x1c74[29]][_0x1c74[25]]};return SalesforceAccount[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[25]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](saveUpdates(_0x5598x14[_0x1c74[29]]))[_0x1c74[14]](responseWithResult(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[16]]=function(_0x5598x14,_0x5598x9){return SalesforceAccount[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[25]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](removeEntity(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[31]]=function(_0x5598x14,_0x5598x9){return SalesforceAccount[_0x1c74[16]]({where:{id:_0x5598x14[_0x1c74[19]][_0x1c74[32]]},individualHooks:true})[_0x1c74[14]](responseWithResult(_0x5598x9,204))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[33]]=function(_0x5598x14,_0x5598x9){return SalesforceAccount[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[25]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](function(_0x5598x16){var _0x5598x17= new jsforce.Connection({oauth2:{loginUrl:_0x5598x16[_0x1c74[34]],clientId:_0x5598x16[_0x1c74[35]],clientSecret:_0x5598x16[_0x1c74[36]]}});var _0x5598x18=_0x5598x16[_0x1c74[39]][_0x1c74[38]](_0x5598x16[_0x1c74[37]]);_0x5598x17[_0x1c74[41]](_0x5598x16[_0x1c74[40]],_0x5598x18,function(_0x5598xb,_0x5598x19){if(_0x5598xb){return _0x5598x9[_0x1c74[10]](400)[_0x1c74[9]](_0x5598xb)};return _0x5598x9[_0x1c74[12]](200)})})[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[42]]=function(_0x5598x14,_0x5598x9){var _0x5598x1a={};_0x5598x1a[_0x5598x14[_0x1c74[26]][_0x1c74[43]]]=_0x5598x14[_0x1c74[29]][_0x1c74[44]];return SalesforceAccount[_0x1c74[21]]({where:_0x5598x1a})[_0x1c74[14]](function(_0x5598x1b){if(_0x5598x1b[_0x1c74[45]]){return _0x5598x9[_0x1c74[10]](200)[_0x1c74[9]]({isValid:false,value:_0x5598x14[_0x1c74[29]][_0x1c74[44]]})};return _0x5598x9[_0x1c74[10]](200)[_0x1c74[9]]({isValid:true,value:_0x5598x14[_0x1c74[29]][_0x1c74[44]]})})[_0x1c74[18]](function(_0x5598xb){return handleError(_0x5598x9,_0x5598xb)})};exports[_0x1c74[46]]=function(_0x5598x14,_0x5598x9){return SalesforceAccount[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[25]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](function(_0x5598x16){var _0x5598x17= new jsforce.Connection({oauth2:{loginUrl:_0x5598x16[_0x1c74[34]],clientId:_0x5598x16[_0x1c74[35]],clientSecret:_0x5598x16[_0x1c74[36]]}});var _0x5598x18=_0x5598x16[_0x1c74[39]][_0x1c74[38]](_0x5598x16[_0x1c74[37]]);_0x5598x17[_0x1c74[41]](_0x5598x16[_0x1c74[40]],_0x5598x18,function(_0x5598xb,_0x5598x19){if(_0x5598xb){return _0x5598x9[_0x1c74[10]](400)[_0x1c74[9]](_0x5598xb)};_0x5598x17[_0x1c74[50]](_0x1c74[49])[_0x1c74[48]](function(_0x5598xb,_0x5598x1c){if(_0x5598xb){return _0x5598x9[_0x1c74[10]](400)[_0x1c74[9]](_0x5598xb)};return _0x5598x9[_0x1c74[10]](200)[_0x1c74[9]](_0x5598x1c[_0x1c74[47]])})})})[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[51]]=function(_0x5598x14,_0x5598x9){return SalesforceConfiguration[_0x1c74[23]]({method:[_0x1c74[52],_0x5598x14[_0x1c74[26]][_0x1c74[25]]]})[_0x1c74[21]](Util[_0x1c74[20]](_0x5598x14[_0x1c74[19]]))[_0x1c74[14]](responseWithResult(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[53]]=function(_0x5598x14,_0x5598x9){return SalesforceConfiguration[_0x1c74[23]]({method:[_0x1c74[52],_0x5598x14[_0x1c74[26]][_0x1c74[25]]]})[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[54]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](responseWithResult(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[55]]=function(_0x5598x14,_0x5598x9){return SalesforceConfiguration[_0x1c74[23]]({method:[_0x1c74[52],_0x5598x14[_0x1c74[26]][_0x1c74[25]]]})[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[54]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](removeEntity(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[56]]=function(_0x5598x14,_0x5598x9){return SalesforceConfiguration[_0x1c74[16]]({where:{id:_0x5598x14[_0x1c74[19]][_0x1c74[32]]},individualHooks:true})[_0x1c74[14]](responseWithResult(_0x5598x9,204))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[57]]=function(_0x5598x14,_0x5598x9){_0x5598x14[_0x1c74[29]][_0x1c74[58]]=_0x5598x14[_0x1c74[26]][_0x1c74[25]];switch(_0x5598x14[_0x1c74[29]][_0x1c74[96]]){case _0x1c74[94]:_0x5598x14[_0x1c74[29]][_0x1c74[59]]=[{"\x74\x79\x70\x65":_0x1c74[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1c74[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[64]},{"\x74\x79\x70\x65":_0x1c74[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[65]}];_0x5598x14[_0x1c74[29]][_0x1c74[66]]=[{"\x74\x79\x70\x65":_0x1c74[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[67],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[69],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[65]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[70],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[71]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[72],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[73]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[74],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[64]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[75],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[76]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[77],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[78]},{"\x74\x79\x70\x65":_0x1c74[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[79],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[80],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[81]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[82],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[83]},{"\x74\x79\x70\x65":_0x1c74[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[84],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[85],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[78]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[86],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[87]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[88],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[89]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[90],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[91]},{"\x74\x79\x70\x65":_0x1c74[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1c74[63],"\x6B\x65\x79":_0x1c74[92],"\x6B\x65\x79\x54\x79\x70\x65":_0x1c74[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1c74[93]}];break;default:console[_0x1c74[97]](_0x1c74[95],_0x5598x14[_0x1c74[29]][_0x1c74[96]])};delete _0x5598x14[_0x1c74[29]][_0x1c74[96]];return SalesforceConfiguration[_0x1c74[28]](_0x5598x14[_0x1c74[29]],{include:[{model:SalesforceField,as:_0x1c74[59]},{model:SalesforceField,as:_0x1c74[66]}]})[_0x1c74[14]](responseWithResult(_0x5598x9,201))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[98]]=function(_0x5598x14,_0x5598x9){return SalesforceConfiguration[_0x1c74[23]]({method:[_0x1c74[52],_0x5598x14[_0x1c74[26]][_0x1c74[25]]]})[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[54]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](function(_0x5598x1d){switch(_0x5598x14[_0x1c74[26]][_0x1c74[104]]){case _0x1c74[100]:_0x5598x14[_0x1c74[29]][_0x1c74[99]]=_0x5598x14[_0x1c74[26]][_0x1c74[54]];break;case _0x1c74[102]:_0x5598x14[_0x1c74[29]][_0x1c74[101]]=_0x5598x14[_0x1c74[26]][_0x1c74[54]];break;case _0x1c74[43]:_0x5598x14[_0x1c74[29]][_0x1c74[103]]=_0x5598x14[_0x1c74[26]][_0x1c74[54]];break};return SalesforceField[_0x1c74[28]](_0x5598x14[_0x1c74[29]])})[_0x1c74[14]](responseWithResult(_0x5598x9,201))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[105]]=function(_0x5598x14,_0x5598x9){if(_0x5598x14[_0x1c74[29]][_0x1c74[25]]){delete _0x5598x14[_0x1c74[29]][_0x1c74[25]]};return SalesforceField[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[106]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](saveUpdates(_0x5598x14[_0x1c74[29]]))[_0x1c74[14]](responseWithResult(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[107]]=function(_0x5598x14,_0x5598x9){return SalesforceField[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[106]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](removeEntity(_0x5598x9))[_0x1c74[18]](handleError(_0x5598x9))};exports[_0x1c74[108]]=function(_0x5598x14,_0x5598x9,_0x5598x15){return SalesforceConfiguration[_0x1c74[27]](_0x5598x14[_0x1c74[26]][_0x1c74[54]])[_0x1c74[14]](handleEntityNotFound(_0x5598x9))[_0x1c74[14]](function(_0x5598x1d){return _0x5598x1d[_0x1c74[110]](_0x5598x14[_0x1c74[29]])})[_0x1c74[14]](responseWithoutResult(_0x5598x9,200))[_0x1c74[18]](function(_0x5598xb){console[_0x1c74[109]](_0x5598xb);return handleError(_0x5598x9,_0x5598xb)})}
\ No newline at end of file