Skip to content

Expose order-line related subscription and release 0.1.0a3 - #3

Merged
sandervanhooft merged 1 commit into
mainfrom
sync/order-line-related-resources
Nov 13, 2026
Merged

sandervanhooft merged 1 commit into
mainfrom
sync/order-line-related-resources

Conversation

@sandervanhooft

Copy link
Copy Markdown
Member

Syncs openapi.yaml with the production bundle from Vatly Release 2 (vatlify production b1c81c3, SHA-256 5e648169e101edc8b3e088dc0e28d0f0a293e8a0ed057014c7336057d986def9, byte-identical to vatly-docs 66c8205) and regenerates the models.

What changes for SDK users

  • OrderLine.related_resources (alias relatedResources) is a typed RelatedResources | None with subscription_id: str | None.
  • related_resources is None on historical and unrelated lines, and when older payloads omit the property.
  • An unresolved signup line returns RelatedResources(subscription_id=None).
  • product_type / product_id meanings are unchanged; only their descriptions and examples were updated. Webhook payloads are unchanged.

Release prep: version 0.1.0a3, changelog, README install pin, spec provenance in docs/Development.md.

The docs guides (docs/Orders.md, docs/README.md) and the published-docs CI pin stay on 0.1.0a2 here, because that job runs the guides against the published package. They move to 0.1.0a3 in a follow-up once PyPI has it.

Checks: generate.py --check, ruff, mypy, pytest --cov (207 passed, 95.2%), build + twine + check_package.py, the published-docs job against 0.1.0a2, and the suite on Python 3.10. The new test fails on the previous models.

Re-sync openapi.yaml with the production bundle (SHA-256 5e648169…) and
regenerate models. OrderLine gains related_resources: None on historical,
unrelated or omitted lines, {subscription_id: None} for an unresolved signup.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1d5d1-e5c4-72aa-a52b-f00addc3cdd1
Co-authored-by: Amp <amp@ampcode.com>
@sandervanhooft
sandervanhooft merged commit 009f9e3 into main Nov 13, 2026
14 checks passed
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