Skip to content

Add Tier 2 Pydantic models: webhooks and waitpoints - #28

Merged
mehmetkr merged 1 commit into
mainfrom
tier2-models-webhooks-waitpoints
Dec 2, 2026
Merged

mehmetkr merged 1 commit into
mainfrom
tier2-models-webhooks-waitpoints

Conversation

@mehmetkr

@mehmetkr mehmetkr commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add webhooks.py with 16 models + 8 Literal enums: endpoint CRUD, delivery detail with allOf inheritance (WebhookEndpointDetailObject extends WebhookEndpointObject, WebhookDeliveryObject extends WebhookDeliveryListItem), waiter lifecycle, secret rotation
  • Add waitpoints.py with 7 models + 1 Literal: token CRUD, completion, pagination
  • Export all 36 new types from types/__init__.py
  • 27 tests covering roundtrip, alias resolution, inheritance, nullable handling, required field enforcement

Part 2/3 of Tier 2 model generation (event coordination domain). Stack: #27 -> this PR -> #29.

Test plan

  • ./scripts/ci-local.sh passes (ruff, pyright strict, mypy strict, 289 tests)
  • All models validated against OpenAPI spec field-by-field

Base automatically changed from tier2-models-sessions-batches to main December 1, 2026 23:43
@mehmetkr
mehmetkr force-pushed the tier2-models-webhooks-waitpoints branch from f3b12af to 407f6d9 Compare December 1, 2026 23:45
@mehmetkr
mehmetkr merged commit 67eac16 into main Dec 2, 2026
7 checks passed
@mehmetkr
mehmetkr deleted the tier2-models-webhooks-waitpoints branch December 2, 2026 09:02
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