Built motion from commit fa8c70b.|0.0.144
[motion.git] / server / api / salesforce_field / salesforce_field.controller.js
index 97f1cf5..5623614 100644 (file)
@@ -1 +1 @@
-var _0x6372=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\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"];_0x6372[0];var _=require(_0x6372[1]);var SalesforceField=require(_0x6372[3])[_0x6372[2]];function handleError(_0xb840x4,_0xb840x5){_0xb840x5= _0xb840x5|| 500;return function(_0xb840x6){_0xb840x4[_0x6372[5]](_0xb840x5)[_0x6372[4]](_0xb840x6)}}function responseWithResult(_0xb840x4,_0xb840x5){_0xb840x5= _0xb840x5|| 200;return function(_0xb840x8){if(_0xb840x8){_0xb840x4[_0x6372[5]](_0xb840x5)[_0x6372[6]](_0xb840x8)}}}function handleEntityNotFound(_0xb840x4){return function(_0xb840x8){if(!_0xb840x8){_0xb840x4[_0x6372[5]](404)[_0x6372[7]]();return null};return _0xb840x8}}function saveUpdates(_0xb840xb){return function(_0xb840x8){return _0xb840x8[_0x6372[9]](_0xb840xb)[_0x6372[8]](function(_0xb840xc){return _0xb840xc})}}function removeEntity(_0xb840x4){return function(_0xb840x8){if(_0xb840x8){return _0xb840x8[_0x6372[10]]()[_0x6372[8]](function(){_0xb840x4[_0x6372[5]](204)[_0x6372[7]]()})}}}exports[_0x6372[11]]= function(_0xb840xe,_0xb840x4){SalesforceField[_0x6372[13]]()[_0x6372[8]](responseWithResult(_0xb840x4))[_0x6372[12]](handleError(_0xb840x4))};exports[_0x6372[14]]= function(_0xb840xe,_0xb840x4){SalesforceField[_0x6372[17]](_0xb840xe[_0x6372[16]][_0x6372[15]])[_0x6372[8]](handleEntityNotFound(_0xb840x4))[_0x6372[8]](responseWithResult(_0xb840x4))[_0x6372[12]](handleError(_0xb840x4))};exports[_0x6372[18]]= function(_0xb840xe,_0xb840x4){SalesforceField[_0x6372[18]](_0xb840xe[_0x6372[19]])[_0x6372[8]](responseWithResult(_0xb840x4,201))[_0x6372[12]](handleError(_0xb840x4))};exports[_0x6372[20]]= function(_0xb840xe,_0xb840x4){if(_0xb840xe[_0x6372[19]][_0x6372[15]]){delete _0xb840xe[_0x6372[19]][_0x6372[15]]};SalesforceField[_0x6372[17]](_0xb840xe[_0x6372[16]][_0x6372[15]])[_0x6372[8]](handleEntityNotFound(_0xb840x4))[_0x6372[8]](saveUpdates(_0xb840xe[_0x6372[19]]))[_0x6372[8]](responseWithResult(_0xb840x4))[_0x6372[12]](handleError(_0xb840x4))};exports[_0x6372[10]]= function(_0xb840xe,_0xb840x4){SalesforceField[_0x6372[17]](_0xb840xe[_0x6372[16]][_0x6372[15]])[_0x6372[8]](handleEntityNotFound(_0xb840x4))[_0x6372[8]](removeEntity(_0xb840x4))[_0x6372[12]](handleError(_0xb840x4))}
\ No newline at end of file
+var _0xefed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\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","\x66\x69\x6E\x64\x41\x6C\x6C","\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"];_0xefed[0];var _=require(_0xefed[1]);var SalesforceField=require(_0xefed[3])[_0xefed[2]];function handleError(_0xe06cx4,_0xe06cx5){_0xe06cx5= _0xe06cx5|| 500;return function(_0xe06cx6){_0xe06cx4[_0xefed[5]](_0xe06cx5)[_0xefed[4]](_0xe06cx6)}}function responseWithResult(_0xe06cx4,_0xe06cx5){_0xe06cx5= _0xe06cx5|| 200;return function(_0xe06cx8){if(_0xe06cx8){_0xe06cx4[_0xefed[5]](_0xe06cx5)[_0xefed[6]](_0xe06cx8)}}}function handleEntityNotFound(_0xe06cx4){return function(_0xe06cx8){if(!_0xe06cx8){_0xe06cx4[_0xefed[5]](404)[_0xefed[7]]();return null};return _0xe06cx8}}function saveUpdates(_0xe06cxb){return function(_0xe06cx8){return _0xe06cx8[_0xefed[9]](_0xe06cxb)[_0xefed[8]](function(_0xe06cxc){return _0xe06cxc})}}function removeEntity(_0xe06cx4){return function(_0xe06cx8){if(_0xe06cx8){return _0xe06cx8[_0xefed[10]]()[_0xefed[8]](function(){_0xe06cx4[_0xefed[5]](204)[_0xefed[7]]()})}}}exports[_0xefed[11]]= function(_0xe06cxe,_0xe06cx4){SalesforceField[_0xefed[13]]()[_0xefed[8]](responseWithResult(_0xe06cx4))[_0xefed[12]](handleError(_0xe06cx4))};exports[_0xefed[14]]= function(_0xe06cxe,_0xe06cx4){SalesforceField[_0xefed[17]](_0xe06cxe[_0xefed[16]][_0xefed[15]])[_0xefed[8]](handleEntityNotFound(_0xe06cx4))[_0xefed[8]](responseWithResult(_0xe06cx4))[_0xefed[12]](handleError(_0xe06cx4))};exports[_0xefed[18]]= function(_0xe06cxe,_0xe06cx4){SalesforceField[_0xefed[18]](_0xe06cxe[_0xefed[19]])[_0xefed[8]](responseWithResult(_0xe06cx4,201))[_0xefed[12]](handleError(_0xe06cx4))};exports[_0xefed[20]]= function(_0xe06cxe,_0xe06cx4){if(_0xe06cxe[_0xefed[19]][_0xefed[15]]){delete _0xe06cxe[_0xefed[19]][_0xefed[15]]};SalesforceField[_0xefed[17]](_0xe06cxe[_0xefed[16]][_0xefed[15]])[_0xefed[8]](handleEntityNotFound(_0xe06cx4))[_0xefed[8]](saveUpdates(_0xe06cxe[_0xefed[19]]))[_0xefed[8]](responseWithResult(_0xe06cx4))[_0xefed[12]](handleError(_0xe06cx4))};exports[_0xefed[10]]= function(_0xe06cxe,_0xe06cx4){SalesforceField[_0xefed[17]](_0xe06cxe[_0xefed[16]][_0xefed[15]])[_0xefed[8]](handleEntityNotFound(_0xe06cx4))[_0xefed[8]](removeEntity(_0xe06cx4))[_0xefed[12]](handleError(_0xe06cx4))}
\ No newline at end of file