feat(snapshot-client): add scheduled-snapshot endpoints#409
Merged
Conversation
Regenerate @epilot/snapshot-client from the published Snapshot API spec to include the org-snapshot-schedule operations that were missing: - getOrgSnapshotSchedule - putOrgSnapshotSchedule - deleteOrgSnapshotSchedule Consumers (configuration-hub) can drop the raw-axios fallbacks in favour of typed client methods. Changeset bumps the package 0.1.7 -> 0.2.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Regenerates
@epilot/snapshot-clientfrom the published Snapshot API spec(
https://docs.api.epilot.io/snapshot-api.yaml) to include the threeorg-snapshot-schedule operations that were missing from the client:
getOrgSnapshotScheduleputOrgSnapshotScheduledeleteOrgSnapshotScheduleThe client was at 9/12 operations; it's now at 12/12 (
captureOrgSnapshotwasalready present). This unblocks
epilot360-configuration-hubdropping itsraw-axios fallbacks (
snapshot-api-client.ts:95) in favour of typed clientmethods.
Only the three generated files changed (
openapi.json,openapi.d.ts,openapi-runtime.json) — no hand-written code.info.versionin the spec isleft untouched (frozen at
0.1.0upstream; it doesn't drive the package version).Version
Changeset bumps
@epilot/snapshot-client0.1.7 → 0.2.0 (minor — new endpoints).Test plan
pnpm openapi— 12 operations presentpnpm typegen— schedule ops inOperationMethodspnpm buildsucceedspnpm testpasses (3/3)🤖 Generated with Claude Code