Commit Graph
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 1b1e52b851 feat(contracts): list and serve contract documents per tenant
ci / shared (pull_request) Successful in 14s
ci / test (pull_request) Successful in 26m45s
ci / image (pull_request) Skipped
GET /v1/tenants/{id}/contracts gains "documents": AGB, AVV, TOM and the
Leistungsbeschreibungen that apply to the tenant (platform always;
products booked, on trial or under an active preview grant; Managed Git
and Build-Runner when the tenant has that managed service). A filled AVV
of the tenant replaces the master (tenant_specific).

GET /v1/tenants/{id}/contracts/documents/{doc}.pdf serves the bytes after
the digest check. Both are empty / 404 while CONTRACT_DOCUMENTS is off.

Staff only: GET /v1/admin/tenants/{id}/avv-values derives the AVV details
from the company profile and the role dataset (never logged), PUT
/v1/admin/tenants/{id}/contract-documents/avv stores the filled PDF.
Purging a tenant removes its filled documents from the bucket.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:55:06 +01:00
sharangandClaude Opus 5.5 e8dcd1d259 feat(admin): repair a tenant's sign-in, delete an archived tenant (#42)
ci / shared (push) Successful in 15s
ci / test (push) Successful in 23m50s
ci / image (push) Successful in 45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-26 11:00:14 +00:00