Skip to content

chore(entity-mapping-client): mappings:validate / validate-flow, block_id - #616

Merged
Dusty4848 merged 1 commit into
mainfrom
chore/entity-mapping-client-validate
Nov 18, 2026
Merged

Dusty4848 merged 1 commit into
mainfrom
chore/entity-mapping-client-validate

Conversation

@Dusty4848

Copy link
Copy Markdown
Contributor

Summary

Updates @epilot/entity-mapping-client to the current entity-mapping-api spec (0.10.5 → 0.11.0). On merge, CI regenerates and releases @epilot/sdk and @epilot/cli, so agents using the SDK or the epilot CLI can call the new mapping check.

  • New: validateMapping (POST /v1/mappings:validate) and validateMappingFlow (POST /v1/mappings:validate-flow), both read-only: check map-entity mappings against their source (a journey by journey_id, or an entity schema) before saving (entity-mapping-api!255, in prod since 2026-11-17)
  • New: block_id on journey mapping sources
  • Breaking: queryMappingHistory (GET /v1/mappings/history) removed; the endpoint itself was removed in entity-mapping-api!252, so calls already fail. Hence the minor bump.

How it was generated

docs.api.epilot.io isn't reachable from the environment this was made in, so the spec was built the way entity-mapping-api's publish-openapi step builds the published file (openapicmd read --server https://entity-mapping.sls.epilot.io --exclude-ext x-internal on openapi.yml from main), then update-openapi.js + typegen + build. Re-running npm run openapi against the published spec should give the same openapi.json.

Test plan

  • npm run build and the client's vitest (3 passed); biome check clean
  • Operation diff vs 0.10.5: + validateMapping, + validateMappingFlow, − queryMappingHistory, nothing else
  • CI

Generated by Claude Code

- validateMapping / validateMappingFlow (mappings:validate, mappings:validate-flow)
- block_id on journey mapping sources
- queryMappingHistory removed (endpoint removed in entity-mapping-api)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0122KFtFiMcCXxE3nkAHyUYE
@Dusty4848
Dusty4848 merged commit 1b3242c into main Nov 18, 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.

1 participant