You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support XML/SOAP proxy requests and expose connected account details (#148)
* Add raw_body support to ActionClient.request() for non-JSON payloads
Adds a raw_body parameter (Union[bytes, str]) that bypasses JSON
serialization, enabling XML/SOAP and other non-JSON request bodies to
be proxied as-is. Includes a docstring update and a Salesforce SOAP
integration test.
* make generate
* Support XML/SOAP proxy requests and expose connected account details without credentials
- ActionClient.request() now accepts a raw_body (str or bytes) parameter
for sending non-JSON payloads (e.g. XML/SOAP). Previously only JSON and
form-encoded bodies were supported.
- Added get_connected_account_details() method that returns account metadata
(status, connector, api_config, etc.) without auth credentials. Useful for
customers who need to inspect the api_config version before constructing a
SOAP request, without exposing access/refresh tokens.
- Added integration tests covering Salesforce SOAP deploy + checkDeployStatus
flow, the REST SObjects list endpoint, and get_connected_account_details.
* bumping up version
* Address CodeRabbit review comments
- Fix 401 retry dropping raw_body: retry now uses the same json/data
logic as the original request instead of always falling back to body/form_data
- Normalize selectors in get_connected_account_details: when connected_account_id
is supplied, connection_name and identifier are cleared before the call; raises
ValueError if neither selector set is provided
- Strip authorization_details in GetConnectedAccountDetailsResponse.from_proto
as defense-in-depth, regardless of what the server returns
* Revert selector normalization and credential stripping — server handles these
0 commit comments