Built motion from commit 2438401.|1.0.5
[motion.git] / server / api / salesforce_field / salesforce_field.controller.js
index 54e8dc3..95160e2 100644 (file)
@@ -1 +1 @@
-var _0x1e29=["\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"];_0x1e29[0];var _=require(_0x1e29[1]);var SalesforceField=require(_0x1e29[3])[_0x1e29[2]];function handleError(_0x2e98x4,_0x2e98x5){_0x2e98x5= _0x2e98x5|| 500;return function(_0x2e98x6){_0x2e98x4[_0x1e29[5]](_0x2e98x5)[_0x1e29[4]](_0x2e98x6)}}function responseWithResult(_0x2e98x4,_0x2e98x5){_0x2e98x5= _0x2e98x5|| 200;return function(_0x2e98x8){if(_0x2e98x8){_0x2e98x4[_0x1e29[5]](_0x2e98x5)[_0x1e29[6]](_0x2e98x8)}}}function handleEntityNotFound(_0x2e98x4){return function(_0x2e98x8){if(!_0x2e98x8){_0x2e98x4[_0x1e29[5]](404)[_0x1e29[7]]();return null};return _0x2e98x8}}function saveUpdates(_0x2e98xb){return function(_0x2e98x8){return _0x2e98x8[_0x1e29[9]](_0x2e98xb)[_0x1e29[8]](function(_0x2e98xc){return _0x2e98xc})}}function removeEntity(_0x2e98x4){return function(_0x2e98x8){if(_0x2e98x8){return _0x2e98x8[_0x1e29[10]]()[_0x1e29[8]](function(){_0x2e98x4[_0x1e29[5]](204)[_0x1e29[7]]()})}}}exports[_0x1e29[11]]= function(_0x2e98xe,_0x2e98x4){SalesforceField[_0x1e29[13]]()[_0x1e29[8]](responseWithResult(_0x2e98x4))[_0x1e29[12]](handleError(_0x2e98x4))};exports[_0x1e29[14]]= function(_0x2e98xe,_0x2e98x4){SalesforceField[_0x1e29[17]](_0x2e98xe[_0x1e29[16]][_0x1e29[15]])[_0x1e29[8]](handleEntityNotFound(_0x2e98x4))[_0x1e29[8]](responseWithResult(_0x2e98x4))[_0x1e29[12]](handleError(_0x2e98x4))};exports[_0x1e29[18]]= function(_0x2e98xe,_0x2e98x4){SalesforceField[_0x1e29[18]](_0x2e98xe[_0x1e29[19]])[_0x1e29[8]](responseWithResult(_0x2e98x4,201))[_0x1e29[12]](handleError(_0x2e98x4))};exports[_0x1e29[20]]= function(_0x2e98xe,_0x2e98x4){if(_0x2e98xe[_0x1e29[19]][_0x1e29[15]]){delete _0x2e98xe[_0x1e29[19]][_0x1e29[15]]};SalesforceField[_0x1e29[17]](_0x2e98xe[_0x1e29[16]][_0x1e29[15]])[_0x1e29[8]](handleEntityNotFound(_0x2e98x4))[_0x1e29[8]](saveUpdates(_0x2e98xe[_0x1e29[19]]))[_0x1e29[8]](responseWithResult(_0x2e98x4))[_0x1e29[12]](handleError(_0x2e98x4))};exports[_0x1e29[10]]= function(_0x2e98xe,_0x2e98x4){SalesforceField[_0x1e29[17]](_0x2e98xe[_0x1e29[16]][_0x1e29[15]])[_0x1e29[8]](handleEntityNotFound(_0x2e98x4))[_0x1e29[8]](removeEntity(_0x2e98x4))[_0x1e29[12]](handleError(_0x2e98x4))}
\ No newline at end of file
+var _0x690e=["\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"];_0x690e[0];var _=require(_0x690e[1]);var SalesforceField=require(_0x690e[3])[_0x690e[2]];function handleError(_0xd4c7x4,_0xd4c7x5){_0xd4c7x5= _0xd4c7x5|| 500;return function(_0xd4c7x6){_0xd4c7x4[_0x690e[5]](_0xd4c7x5)[_0x690e[4]](_0xd4c7x6)}}function responseWithResult(_0xd4c7x4,_0xd4c7x5){_0xd4c7x5= _0xd4c7x5|| 200;return function(_0xd4c7x8){if(_0xd4c7x8){_0xd4c7x4[_0x690e[5]](_0xd4c7x5)[_0x690e[6]](_0xd4c7x8)}}}function handleEntityNotFound(_0xd4c7x4){return function(_0xd4c7x8){if(!_0xd4c7x8){_0xd4c7x4[_0x690e[5]](404)[_0x690e[7]]();return null};return _0xd4c7x8}}function saveUpdates(_0xd4c7xb){return function(_0xd4c7x8){return _0xd4c7x8[_0x690e[9]](_0xd4c7xb)[_0x690e[8]](function(_0xd4c7xc){return _0xd4c7xc})}}function removeEntity(_0xd4c7x4){return function(_0xd4c7x8){if(_0xd4c7x8){return _0xd4c7x8[_0x690e[10]]()[_0x690e[8]](function(){_0xd4c7x4[_0x690e[5]](204)[_0x690e[7]]()})}}}exports[_0x690e[11]]= function(_0xd4c7xe,_0xd4c7x4){SalesforceField[_0x690e[13]]()[_0x690e[8]](responseWithResult(_0xd4c7x4))[_0x690e[12]](handleError(_0xd4c7x4))};exports[_0x690e[14]]= function(_0xd4c7xe,_0xd4c7x4){SalesforceField[_0x690e[17]](_0xd4c7xe[_0x690e[16]][_0x690e[15]])[_0x690e[8]](handleEntityNotFound(_0xd4c7x4))[_0x690e[8]](responseWithResult(_0xd4c7x4))[_0x690e[12]](handleError(_0xd4c7x4))};exports[_0x690e[18]]= function(_0xd4c7xe,_0xd4c7x4){SalesforceField[_0x690e[18]](_0xd4c7xe[_0x690e[19]])[_0x690e[8]](responseWithResult(_0xd4c7x4,201))[_0x690e[12]](handleError(_0xd4c7x4))};exports[_0x690e[20]]= function(_0xd4c7xe,_0xd4c7x4){if(_0xd4c7xe[_0x690e[19]][_0x690e[15]]){delete _0xd4c7xe[_0x690e[19]][_0x690e[15]]};SalesforceField[_0x690e[17]](_0xd4c7xe[_0x690e[16]][_0x690e[15]])[_0x690e[8]](handleEntityNotFound(_0xd4c7x4))[_0x690e[8]](saveUpdates(_0xd4c7xe[_0x690e[19]]))[_0x690e[8]](responseWithResult(_0xd4c7x4))[_0x690e[12]](handleError(_0xd4c7x4))};exports[_0x690e[10]]= function(_0xd4c7xe,_0xd4c7x4){SalesforceField[_0x690e[17]](_0xd4c7xe[_0x690e[16]][_0x690e[15]])[_0x690e[8]](handleEntityNotFound(_0xd4c7x4))[_0x690e[8]](removeEntity(_0xd4c7x4))[_0x690e[12]](handleError(_0xd4c7x4))}
\ No newline at end of file