Repository navigation
feat(documents): upload, store and read document files; events cite them - #245
Merged
Merged
Conversation
Regenerated from robosystems v1.16.11. A document can now be a stored file (PDF, PNG, JPEG): create_document_upload presigns the PUT, complete_document_upload checks it and makes the document, get_document_file returns a short-lived download URL. Event blocks take and return document_id; document detail lists the events it is evidence for. Reconciliation requests take entity_id, and record_statement_balance takes the statement's document_id. Also picked up from v1.16.10: change_calendar_start, plus doc-only changes on resolve_reconciling_item and the Mercury and Plaid backfill windows. Claude-Session: https://claude.ai/code/session_01AQkGGPDmpba9eBV9PkLTfv
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
Regenerated from robosystems v1.16.11, already deployed to production, so nothing here waits on the server.
Document files. A document can now be a stored file (PDF, PNG or JPEG):
GET /documents/{id}/filereturns a short-lived download URL.Document detail and list items carry the file's info. Document detail also lists the ledger events the document is evidence for.
Events cite documents. Create-event-block and update-event-block take
document_id, and the event envelope returns it.Reconciliation per entity. The preview, refresh and record-statement-balance requests take
entity_id. Record-statement-balance also takes the statement'sdocument_id.Swept up from v1.16.10:
Contract tier
All of it is additive and in the generated tier: no facade changed and nothing was removed. That makes it a client minor.
schema.graphqlis unchanged.Test plan
mainserving 1.16.11, after checking that its OpenAPI spec carries the new paths and fields.🤖 Generated with Claude Code
https://claude.ai/code/session_01AQkGGPDmpba9eBV9PkLTfv