Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 12 additions & 16 deletions robosystems_client/api/connections/create_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ def sync_detailed(
) -> Response[Any | ConnectionResponse | ErrorResponse | HTTPValidationError]:
"""Create Connection

SEC: provide entity CIK, no auth needed. QuickBooks: returns an OAuth URL — complete the flow to
activate. External: registers a source namespace for an integration that writes through the public
API. One connection allowed per provider per graph, except 'external' which allows one per
source_name.
QuickBooks: returns an OAuth URL — complete the flow to activate. External: registers a source
namespace for an integration that writes through the public API. One connection allowed per provider
per graph, except 'external' which allows one per source_name.

Args:
graph_id (str):
Expand Down Expand Up @@ -144,10 +143,9 @@ def sync(
) -> Any | ConnectionResponse | ErrorResponse | HTTPValidationError | None:
"""Create Connection

SEC: provide entity CIK, no auth needed. QuickBooks: returns an OAuth URL — complete the flow to
activate. External: registers a source namespace for an integration that writes through the public
API. One connection allowed per provider per graph, except 'external' which allows one per
source_name.
QuickBooks: returns an OAuth URL — complete the flow to activate. External: registers a source
namespace for an integration that writes through the public API. One connection allowed per provider
per graph, except 'external' which allows one per source_name.

Args:
graph_id (str):
Expand Down Expand Up @@ -176,10 +174,9 @@ async def asyncio_detailed(
) -> Response[Any | ConnectionResponse | ErrorResponse | HTTPValidationError]:
"""Create Connection

SEC: provide entity CIK, no auth needed. QuickBooks: returns an OAuth URL — complete the flow to
activate. External: registers a source namespace for an integration that writes through the public
API. One connection allowed per provider per graph, except 'external' which allows one per
source_name.
QuickBooks: returns an OAuth URL — complete the flow to activate. External: registers a source
namespace for an integration that writes through the public API. One connection allowed per provider
per graph, except 'external' which allows one per source_name.

Args:
graph_id (str):
Expand Down Expand Up @@ -211,10 +208,9 @@ async def asyncio(
) -> Any | ConnectionResponse | ErrorResponse | HTTPValidationError | None:
"""Create Connection

SEC: provide entity CIK, no auth needed. QuickBooks: returns an OAuth URL — complete the flow to
activate. External: registers a source namespace for an integration that writes through the public
API. One connection allowed per provider per graph, except 'external' which allows one per
source_name.
QuickBooks: returns an OAuth URL — complete the flow to activate. External: registers a source
namespace for an integration that writes through the public API. One connection allowed per provider
per graph, except 'external' which allows one per source_name.

Args:
graph_id (str):
Expand Down
8 changes: 4 additions & 4 deletions robosystems_client/api/connections/get_connection_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def sync_detailed(
"""List Connection Options

Returns available providers and their requirements. Only enabled providers are included (gated by
feature flags). SEC requires no auth; QuickBooks requires OAuth 2.0.
feature flags). QuickBooks requires OAuth 2.0; external connections require no auth.

Args:
graph_id (str):
Expand Down Expand Up @@ -126,7 +126,7 @@ def sync(
"""List Connection Options

Returns available providers and their requirements. Only enabled providers are included (gated by
feature flags). SEC requires no auth; QuickBooks requires OAuth 2.0.
feature flags). QuickBooks requires OAuth 2.0; external connections require no auth.

Args:
graph_id (str):
Expand All @@ -153,7 +153,7 @@ async def asyncio_detailed(
"""List Connection Options

Returns available providers and their requirements. Only enabled providers are included (gated by
feature flags). SEC requires no auth; QuickBooks requires OAuth 2.0.
feature flags). QuickBooks requires OAuth 2.0; external connections require no auth.

Args:
graph_id (str):
Expand Down Expand Up @@ -183,7 +183,7 @@ async def asyncio(
"""List Connection Options

Returns available providers and their requirements. Only enabled providers are included (gated by
feature flags). SEC requires no auth; QuickBooks requires OAuth 2.0.
feature flags). QuickBooks requires OAuth 2.0; external connections require no auth.

Args:
graph_id (str):
Expand Down
32 changes: 20 additions & 12 deletions robosystems_client/api/connections/sync_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@ def sync_detailed(
) -> Response[Any | ErrorResponse | OperationEnvelope]:
"""Sync Connection

SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and
chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is
reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
QuickBooks: fetches transactions, balances, and chart of accounts; the envelope is `pending` with
the run's `task_id`, and completion is reflected in the connection's `last_sync` timestamp. External
connections are push-based and have nothing to pull; the envelope is `completed` with a null
`task_id` and a message saying so — there is nothing to poll. Returns an `OperationEnvelope`;
supports `Idempotency-Key`.

Args:
graph_id (str):
Expand Down Expand Up @@ -160,9 +162,11 @@ def sync(
) -> Any | ErrorResponse | OperationEnvelope | None:
"""Sync Connection

SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and
chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is
reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
QuickBooks: fetches transactions, balances, and chart of accounts; the envelope is `pending` with
the run's `task_id`, and completion is reflected in the connection's `last_sync` timestamp. External
connections are push-based and have nothing to pull; the envelope is `completed` with a null
`task_id` and a message saying so — there is nothing to poll. Returns an `OperationEnvelope`;
supports `Idempotency-Key`.

Args:
graph_id (str):
Expand Down Expand Up @@ -197,9 +201,11 @@ async def asyncio_detailed(
) -> Response[Any | ErrorResponse | OperationEnvelope]:
"""Sync Connection

SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and
chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is
reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
QuickBooks: fetches transactions, balances, and chart of accounts; the envelope is `pending` with
the run's `task_id`, and completion is reflected in the connection's `last_sync` timestamp. External
connections are push-based and have nothing to pull; the envelope is `completed` with a null
`task_id` and a message saying so — there is nothing to poll. Returns an `OperationEnvelope`;
supports `Idempotency-Key`.

Args:
graph_id (str):
Expand Down Expand Up @@ -237,9 +243,11 @@ async def asyncio(
) -> Any | ErrorResponse | OperationEnvelope | None:
"""Sync Connection

SEC: downloads latest EDGAR filings (5-10 min). QuickBooks: fetches transactions, balances, and
chart of accounts. Async — returns an `OperationEnvelope` with the provider task id; completion is
reflected in the connection's `last_sync` timestamp. Supports `Idempotency-Key`.
QuickBooks: fetches transactions, balances, and chart of accounts; the envelope is `pending` with
the run's `task_id`, and completion is reflected in the connection's `last_sync` timestamp. External
connections are push-based and have nothing to pull; the envelope is `completed` with a null
`task_id` and a message saying so — there is nothing to poll. Returns an `OperationEnvelope`;
supports `Idempotency-Key`.

Args:
graph_id (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def sync_detailed(
extends a library taxonomy) and ignored otherwise.

The library path (seeding ``reporting_standard`` rows) does NOT flow
through this envelope — it uses a dedicated library writer that bypasses
these caps and tenant scoping.
through this envelope; library content is not tenant-writable here.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -194,8 +193,7 @@ def sync(
extends a library taxonomy) and ignored otherwise.

The library path (seeding ``reporting_standard`` rows) does NOT flow
through this envelope — it uses a dedicated library writer that bypasses
these caps and tenant scoping.
through this envelope; library content is not tenant-writable here.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -246,8 +244,7 @@ async def asyncio_detailed(
extends a library taxonomy) and ignored otherwise.

The library path (seeding ``reporting_standard`` rows) does NOT flow
through this envelope — it uses a dedicated library writer that bypasses
these caps and tenant scoping.
through this envelope; library content is not tenant-writable here.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down Expand Up @@ -301,8 +298,7 @@ async def asyncio(
extends a library taxonomy) and ignored otherwise.

The library path (seeding ``reporting_standard`` rows) does NOT flow
through this envelope — it uses a dedicated library writer that bypasses
these caps and tenant scoping.
through this envelope; library content is not tenant-writable here.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
Loading