Skip to content

chore(targeting-client): regen for campaign:discover + entity_ui:status#414

Merged
praneetrohida merged 1 commit into
mainfrom
ellebrink/targeting-client-nba-discover-entity-ui
Jul 15, 2026
Merged

chore(targeting-client): regen for campaign:discover + entity_ui:status#414
praneetrohida merged 1 commit into
mainfrom
ellebrink/targeting-client-nba-discover-entity-ui

Conversation

@ellebrink

Copy link
Copy Markdown
Contributor

Summary

Regenerates @epilot/targeting-client from the current prod Targeting API spec (https://docs.api.epilot.io/targeting.yaml), adding the two Entity-UI Next Best Action operations the widgets MFE needs to migrate off hand-rolled fetch:

  • discoverCampaignsPOST /v1/campaign:discover
  • updateRecipientEntityUiStatusPATCH /v1/campaign/{campaign_id}/recipient/{recipient_id}/entity_ui:status

Both endpoints are already live in prod (the spec at docs.api.epilot.io/targeting.yaml advertises them, and the NBA widget already calls them via raw fetch).

Changed files are the standard client-regen artifacts only (src/openapi.json, src/openapi-runtime.json, src/openapi.d.ts) plus a patch version bump — per CONTRIBUTING.md "Updating clients". The @epilot/sdk package itself is not committed here: the CI auto-release regenerates and publishes @epilot/sdk when a clients/*/openapi.json change lands on main.

Context

  • Blocker for SIG-1338 (adopt @epilot/sdk in the widgets MFE).
  • Supersedes SIG-1276 — the stale ellebrink/feat-nba-discovery-endpoint branch is no longer needed and will be deleted.

Test plan

  • npm run openapi (pulled prod spec — both ops present)
  • npm run typegen && npm run build succeed
  • Local pnpm generate-sdk confirms @epilot/sdk/targeting exposes discoverCampaigns + updateRecipientEntityUiStatus
  • CI green → @epilot/sdk auto-release publishes new version

🤖 Generated with Claude Code

Regenerate @epilot/targeting-client from the current prod Targeting spec,
adding the Entity-UI Next Best Action operations the widgets MFE needs:

- discoverCampaigns (POST /v1/campaign:discover)
- updateRecipientEntityUiStatus (PATCH .../recipient/{id}/entity_ui:status)

Merging the openapi.json change triggers the @epilot/sdk auto-release, so
@epilot/sdk/targeting will expose these ops. Supersedes SIG-1276.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Co-authored-by: Claude <noreply@anthropic.com>
@ellebrink ellebrink self-assigned this Jul 10, 2026
@ellebrink
ellebrink requested a review from praneetrohida July 10, 2026 13:36
@praneetrohida
praneetrohida merged commit a8901ec into main Jul 15, 2026
6 of 7 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.

2 participants