Skip to content

Conversation

@ajworkos
Copy link
Contributor

@ajworkos ajworkos commented Jul 2, 2025

Description

Independent organization_domain events for created, updated, and deleted are available in the dashboard.

This PR updates the node sdk to support those events

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[x] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Docs PR:

https://github.com/workos/workos/pull/39990

@ajworkos ajworkos requested a review from a team as a code owner July 2, 2025 16:44
@ajworkos ajworkos requested a review from nicknisi July 2, 2025 16:44
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added support for independent organization domain events in the WorkOS Python SDK, enabling tracking of domain-related changes through the webhook system.

  • Added three new event types in workos/types/events/event_type.py: organization_domain.created, organization_domain.deleted, and organization_domain.updated
  • Implemented corresponding event models in workos/types/events/event.py: OrganizationDomainCreatedEvent, OrganizationDomainUpdatedEvent, and OrganizationDomainDeletedEvent
  • Integrated new event types into the main Event union type for consistent type handling

2 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

@ajworkos ajworkos merged commit 795eb8f into main Jul 3, 2025
6 checks passed
@ajworkos ajworkos deleted the aj/organization-domain-events branch July 3, 2025 14:54
@debussyman debussyman mentioned this pull request Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants