Skip to content

feat(ledger): bank accounts read and link-bank-account facade - #241

Merged
jfrench9 merged 1 commit into
mainfrom
feature/bank-accounts
Oct 7, 2026
Merged

jfrench9 merged 1 commit into
mainfrom
feature/bank-accounts

Conversation

@jfrench9

@jfrench9 jfrench9 commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Regenerated from robosystems main after #1722 (the link-bank-account operation, the bankAccounts GraphQL field, the schema snapshot), plus the two facade methods. The regen carries no other drift: the generated diff is the new operation, its models, and the new query's typed models.

Changes

  • Generated: api/robo_ledger_setup/link_bank_account.py with LinkBankAccountRequest / LinkBankAccountResponse and the envelope models; graphql/generated/list_ledger_bank_accounts.py from the new document graphql/operations/ledger/ListLedgerBankAccounts.graphql; schema.graphql refreshed.
  • LedgerClient.list_bank_accounts(graph_id, entity_id=None) — the group's bank and card accounts: every chart account a feed books to, or that a source system types as a bank or card account, with the entity whose chart it is in, what writes to it, and the connection's status and last sync.
  • LedgerClient.link_bank_account(graph_id, body) — point a feed account at a chart account (element_id), or create one in an entity's chart (entity_id alone); how a feed account is bound to a subsidiary.

Breaking Changes

None. Additive; a client minor.

Testing

just format, just lint, just typecheck, just test (667 passed) all pass.

The facade selects the new bankAccounts field, so it answers once the server release carrying robosystems #1722 is deployed; the consumers pin the client by lockfile and pick it up on their own bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BY3uYE5zMjjFHnjiZfiJu8

Regenerated from robosystems main after #1722: the link-bank-account
operation, the bankAccounts GraphQL field and the schema snapshot.
LedgerClient gains list_bank_accounts (the group's bank and card accounts
with their entity, source and connection health) and link_bank_account
(point a feed account at a chart account, including one in a subsidiary's
chart).

Claude-Session: https://claude.ai/code/session_01BY3uYE5zMjjFHnjiZfiJu8
@jfrench9
jfrench9 marked this pull request as ready for review October 7, 2026 20:35
@jfrench9
jfrench9 merged commit 061e0f7 into main Oct 7, 2026
4 checks passed
@jfrench9
jfrench9 deleted the feature/bank-accounts branch October 7, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant