Add connection management API endpoints and models#65
Merged
Conversation
- Added new connection-related models to `__init__.py` for improved API integration. - Updated `DownloadQuota` class to reflect monthly limits instead of daily, modifying attributes and methods accordingly for clarity and accuracy. These changes improve the structure and functionality of the models within the robosystems client.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces a complete connection management module to the
robosystems_client, providing full CRUD operations and OAuth support for external data provider connections. This feature adds 8 new API endpoints and 20+ supporting model definitions, along with a minor update to the existingDownloadQuotamodel.Key Accomplishments
New API Endpoints (
api/connections/)New Models
ConnectionResponse,ConnectionResponseMetadata,ConnectionOptionsResponse,ConnectionProviderInfo(with auth type and provider enums)CreateConnectionRequest,OAuthInitRequest,OAuthCallbackRequest,SyncConnectionRequestOAuthInitResponse,SyncConnectionResponseSyncconnectionPlaidConnectionConfig(with accounts and institution types),QuickBooksConnectionConfig,SecConnectionConfigListConnectionsProviderType0,CreateConnectionRequestProvider,OAuthInitRequestAdditionalParamsType0,SyncConnectionRequestSyncOptionsType0Modified Models
DownloadQuota– Updated attribute definitions (28 lines changed, likely field type or naming adjustments)models/__init__.py– Updated to export all new model classesBreaking Changes
DownloadQuotamodel has been modified. Consumers relying on its previous attribute structure should verify compatibility after upgrading.Testing Notes
DownloadQuotachanges do not regress existing functionality that depends on this modellist_connectionsfiltering by provider type, including union/optional type handlingInfrastructure Considerations
🤖 Generated with Claude Code
Branch Info:
feature/connection-managementmainCo-Authored-By: Claude noreply@anthropic.com