Skip to content

chore(validation-rules-client): billing cycle anchor for relative dates - #508

Draft
stewarthsoj wants to merge 1 commit into
mainfrom
josh/billing-cycle-anchor
Draft

stewarthsoj wants to merge 1 commit into
mainfrom
josh/billing-cycle-anchor

Conversation

@stewarthsoj

Copy link
Copy Markdown
Contributor

Summary

Regenerates @epilot/validation-rules-client from the validation-rules-api spec change in validation-rules-api!36: a relative date's anchor can now be a BillingCycleAnchor (day, interval, optional cycle start, occurrence) whose parts are AnchorScalar values. This lets validation rules express dates derived from a contract's billing day and billing interval.

What changed

  • clients/validation-rules-client: openapi.json / openapi-runtime.json regenerated from the API spec (server URL kept), openapi.d.ts regenerated, version bumped to 1.7.0-rc.0.
  • packages/epilot-sdk-v2: pnpm generate refreshed the validation-rules types and docs.

Consumers waiting on the published client: validation-rules-engine !20 and the epilot360-validation-rules builder !58.

Test plan

  • npm run lint and vitest in clients/validation-rules-client
  • pnpm lint in packages/epilot-sdk-v2 (its dist-integration tests need a prior build and fail identically on main)
  • CI green; client published as 1.7.0-rc.0

🤖 Generated with Claude Code

https://claude.ai/code/session_019ZVeCwbb3uJoSYXVAiNpVU


Generated by Claude Code

Regenerates the client from the validation-rules-api spec: RelativeDateValue.anchor
now accepts a BillingCycleAnchor (day, interval, optional cycle start, occurrence)
whose parts are AnchorScalar values. Bumps the client to 1.7.0-rc.0 and refreshes
the SDK v2 types and docs.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019ZVeCwbb3uJoSYXVAiNpVU
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