feat(trial): offer status read, offer address for the profile #125

Merged
sharang merged 3 commits from feat/trial-offer-status into main 2026-11-12 08:49:01 +00:00
3 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 2e6f360751 test(trial): status read shows a staff-extended trial end
ci / shared (pull_request) Successful in 12s
ci / test (pull_request) Successful in 5m52s
ci / image (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:42:48 +01:00
Sharang ParnerkarandClaude Opus 5.5 d0b1287afb feat(trial): offer address in the contract overview
ci / shared (pull_request) Successful in 12s
ci / test (pull_request) Failing after 6m9s
ci / image (pull_request) Skipped
GET /v1/tenants/{id}/contracts carries street, postcode, city and
country of the trial offer, so the company profile can suggest the
registration address as the master data (portal#159, item 3; read
by portal#161). Only for the tenant's own activated offer, as the
rest of the trial block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:34:46 +01:00
Sharang ParnerkarandClaude Opus 5.5 0f8cc33888 feat(trial): GET /v1/trial-offers/{id} for the waiting page
ci / shared (pull_request) Successful in 11s
ci / test (pull_request) Successful in 5m33s
ci / image (pull_request) Skipped
The page that sent the offer waits for the e-mail confirmation. When
the link is opened on another device (a phone), that page stayed put
(portal#159, item 1). The status read lets it follow: the state and,
once active, the workspace slug and the trial dates. No e-mail or
company data in the answer; the offer id, which only the sending
browser has, is the key. Same authz group as the other offer routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:23:05 +01:00