chore(validation-rules-client): billing cycle anchor for relative dates - #508
Draft
stewarthsoj wants to merge 1 commit into
Draft
stewarthsoj wants to merge 1 commit into
stewarthsoj wants to merge 1 commit into
Conversation
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
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/validation-rules-clientfrom the validation-rules-api spec change in validation-rules-api!36: a relative date'sanchorcan now be aBillingCycleAnchor(day, interval, optional cycle start, occurrence) whose parts areAnchorScalarvalues. 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.jsonregenerated from the API spec (server URL kept),openapi.d.tsregenerated, version bumped to1.7.0-rc.0.packages/epilot-sdk-v2:pnpm generaterefreshed 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 lintandvitestinclients/validation-rules-clientpnpm lintinpackages/epilot-sdk-v2(its dist-integration tests need a prior build and fail identically onmain)1.7.0-rc.0🤖 Generated with Claude Code
https://claude.ai/code/session_019ZVeCwbb3uJoSYXVAiNpVU
Generated by Claude Code