Built motion from commit ee17993.|1.0.6
[motion.git] / server / api / salesforce_field / salesforce_field.controller.js
index 8ad78f6..c5d617f 100644 (file)
@@ -1 +1 @@
-var _0x375b=["\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"];_0x375b[0];var _=require(_0x375b[1]);var SalesforceField=require(_0x375b[3])[_0x375b[2]];function handleError(_0xe4dbx4,_0xe4dbx5){_0xe4dbx5= _0xe4dbx5|| 500;return function(_0xe4dbx6){_0xe4dbx4[_0x375b[5]](_0xe4dbx5)[_0x375b[4]](_0xe4dbx6)}}function responseWithResult(_0xe4dbx4,_0xe4dbx5){_0xe4dbx5= _0xe4dbx5|| 200;return function(_0xe4dbx8){if(_0xe4dbx8){_0xe4dbx4[_0x375b[5]](_0xe4dbx5)[_0x375b[6]](_0xe4dbx8)}}}function handleEntityNotFound(_0xe4dbx4){return function(_0xe4dbx8){if(!_0xe4dbx8){_0xe4dbx4[_0x375b[5]](404)[_0x375b[7]]();return null};return _0xe4dbx8}}function saveUpdates(_0xe4dbxb){return function(_0xe4dbx8){return _0xe4dbx8[_0x375b[9]](_0xe4dbxb)[_0x375b[8]](function(_0xe4dbxc){return _0xe4dbxc})}}function removeEntity(_0xe4dbx4){return function(_0xe4dbx8){if(_0xe4dbx8){return _0xe4dbx8[_0x375b[10]]()[_0x375b[8]](function(){_0xe4dbx4[_0x375b[5]](204)[_0x375b[7]]()})}}}exports[_0x375b[11]]= function(_0xe4dbxe,_0xe4dbx4){SalesforceField[_0x375b[13]]()[_0x375b[8]](responseWithResult(_0xe4dbx4))[_0x375b[12]](handleError(_0xe4dbx4))};exports[_0x375b[14]]= function(_0xe4dbxe,_0xe4dbx4){SalesforceField[_0x375b[17]](_0xe4dbxe[_0x375b[16]][_0x375b[15]])[_0x375b[8]](handleEntityNotFound(_0xe4dbx4))[_0x375b[8]](responseWithResult(_0xe4dbx4))[_0x375b[12]](handleError(_0xe4dbx4))};exports[_0x375b[18]]= function(_0xe4dbxe,_0xe4dbx4){SalesforceField[_0x375b[18]](_0xe4dbxe[_0x375b[19]])[_0x375b[8]](responseWithResult(_0xe4dbx4,201))[_0x375b[12]](handleError(_0xe4dbx4))};exports[_0x375b[20]]= function(_0xe4dbxe,_0xe4dbx4){if(_0xe4dbxe[_0x375b[19]][_0x375b[15]]){delete _0xe4dbxe[_0x375b[19]][_0x375b[15]]};SalesforceField[_0x375b[17]](_0xe4dbxe[_0x375b[16]][_0x375b[15]])[_0x375b[8]](handleEntityNotFound(_0xe4dbx4))[_0x375b[8]](saveUpdates(_0xe4dbxe[_0x375b[19]]))[_0x375b[8]](responseWithResult(_0xe4dbx4))[_0x375b[12]](handleError(_0xe4dbx4))};exports[_0x375b[10]]= function(_0xe4dbxe,_0xe4dbx4){SalesforceField[_0x375b[17]](_0xe4dbxe[_0x375b[16]][_0x375b[15]])[_0x375b[8]](handleEntityNotFound(_0xe4dbx4))[_0x375b[8]](removeEntity(_0xe4dbx4))[_0x375b[12]](handleError(_0xe4dbx4))}
\ No newline at end of file
+var _0xebcc=["\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"];_0xebcc[0];var _=require(_0xebcc[1]);var SalesforceField=require(_0xebcc[3])[_0xebcc[2]];function handleError(_0x383dx4,_0x383dx5){_0x383dx5= _0x383dx5|| 500;return function(_0x383dx6){_0x383dx4[_0xebcc[5]](_0x383dx5)[_0xebcc[4]](_0x383dx6)}}function responseWithResult(_0x383dx4,_0x383dx5){_0x383dx5= _0x383dx5|| 200;return function(_0x383dx8){if(_0x383dx8){_0x383dx4[_0xebcc[5]](_0x383dx5)[_0xebcc[6]](_0x383dx8)}}}function handleEntityNotFound(_0x383dx4){return function(_0x383dx8){if(!_0x383dx8){_0x383dx4[_0xebcc[5]](404)[_0xebcc[7]]();return null};return _0x383dx8}}function saveUpdates(_0x383dxb){return function(_0x383dx8){return _0x383dx8[_0xebcc[9]](_0x383dxb)[_0xebcc[8]](function(_0x383dxc){return _0x383dxc})}}function removeEntity(_0x383dx4){return function(_0x383dx8){if(_0x383dx8){return _0x383dx8[_0xebcc[10]]()[_0xebcc[8]](function(){_0x383dx4[_0xebcc[5]](204)[_0xebcc[7]]()})}}}exports[_0xebcc[11]]= function(_0x383dxe,_0x383dx4){SalesforceField[_0xebcc[13]]()[_0xebcc[8]](responseWithResult(_0x383dx4))[_0xebcc[12]](handleError(_0x383dx4))};exports[_0xebcc[14]]= function(_0x383dxe,_0x383dx4){SalesforceField[_0xebcc[17]](_0x383dxe[_0xebcc[16]][_0xebcc[15]])[_0xebcc[8]](handleEntityNotFound(_0x383dx4))[_0xebcc[8]](responseWithResult(_0x383dx4))[_0xebcc[12]](handleError(_0x383dx4))};exports[_0xebcc[18]]= function(_0x383dxe,_0x383dx4){SalesforceField[_0xebcc[18]](_0x383dxe[_0xebcc[19]])[_0xebcc[8]](responseWithResult(_0x383dx4,201))[_0xebcc[12]](handleError(_0x383dx4))};exports[_0xebcc[20]]= function(_0x383dxe,_0x383dx4){if(_0x383dxe[_0xebcc[19]][_0xebcc[15]]){delete _0x383dxe[_0xebcc[19]][_0xebcc[15]]};SalesforceField[_0xebcc[17]](_0x383dxe[_0xebcc[16]][_0xebcc[15]])[_0xebcc[8]](handleEntityNotFound(_0x383dx4))[_0xebcc[8]](saveUpdates(_0x383dxe[_0xebcc[19]]))[_0xebcc[8]](responseWithResult(_0x383dx4))[_0xebcc[12]](handleError(_0x383dx4))};exports[_0xebcc[10]]= function(_0x383dxe,_0x383dx4){SalesforceField[_0xebcc[17]](_0x383dxe[_0xebcc[16]][_0xebcc[15]])[_0xebcc[8]](handleEntityNotFound(_0x383dx4))[_0xebcc[8]](removeEntity(_0x383dx4))[_0xebcc[12]](handleError(_0x383dx4))}
\ No newline at end of file