Skip to content

feat: update configuration-hub and organization clients from published specs - #601

Merged
anttiviljami merged 1 commit into
mainfrom
chore/update-config-hub-org-clients
Nov 11, 2026
Merged

anttiviljami merged 1 commit into
mainfrom
chore/update-config-hub-org-clients

Conversation

@anttiviljami

Copy link
Copy Markdown
Member

Summary

Refreshes @epilot/configuration-hub-client and @epilot/organization-client from the published specs (docs.api.epilot.io/configuration-hub.yaml, organization-v2.yaml), plus the copies in @epilot/sdk (v2) and @epilot/cli. This picks up all changes published since the last refresh, not only the preview-org work.

Configuration Hub

  • Added: createPreview, listPreviews, getPreview (preview orgs), getSyncJobHealth, runSyncJobHealth
  • New schemas: Preview, PreviewStatus, CreatePreviewRequest, SyncJobHealth*, HealthSeverityCounts
  • Changed: SyncJob, HealthFinding, ErrorResponse

Organization

  • Added: getActiveAnnouncement, acknowledgeAnnouncement, notifySettingsValueUpdated
  • New Announcement* schemas; Organization gains the Preview organization use; VisibilityRule and several settings operations changed
  • Removed from the public client: internal-only schemas (InternalOrganization, CreateOrganizationRequest, OrganizationToCleanup, DataPoint*, Hubspot*, SettingKey, OrganizationCleanupStatus). Every user of these in the codebase imports them from @epilot/organization-client-internal, which is unaffected.

Scope: the CLI generator also rewrites other APIs' definitions that have drifted on main; those changes are left out so this PR only touches these two APIs. cli/src/generated/api-list.ts changes only the two entries.

Changeset: minor for both clients, @epilot/sdk and @epilot/cli.

Test plan

  • Client tests pass
  • tsc for epilot-sdk-v2 and cli: no new errors (2 and 41 errors exist on main as well)
  • biome

Generated by Claude Code

…d specs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CRtqyPSVVVAcYJWEcAQHLd
@anttiviljami
anttiviljami merged commit 63db1eb into main Nov 11, 2026
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