implemented backend wallets/ledger accounts listing

This commit is contained in:
Stephan D
2025-11-25 23:38:10 +01:00
parent be913bf96c
commit 68f0a1048f
25 changed files with 882 additions and 131 deletions

View File

@@ -77,6 +77,9 @@ service LedgerService {
rpc GetBalance (GetBalanceRequest) returns (BalanceResponse);
rpc GetJournalEntry (GetEntryRequest) returns (JournalEntryResponse);
rpc GetStatement (GetStatementRequest) returns (StatementResponse);
// Lists ledger accounts for an organization.
rpc ListAccounts (ListAccountsRequest) returns (ListAccountsResponse);
}
message CreateAccountRequest {
@@ -192,3 +195,11 @@ message StatementResponse {
repeated JournalEntryResponse entries = 1;
string next_cursor = 2;
}
message ListAccountsRequest {
string organization_ref = 1;
}
message ListAccountsResponse {
repeated LedgerAccount accounts = 1;
}