Skip to content

chore(sdks): regenerate pxm and shopper SDKs from updated specs#523

Merged
field123 merged 6 commits into
mainfrom
chore/regen-sdks-for-release
May 6, 2026
Merged

chore(sdks): regenerate pxm and shopper SDKs from updated specs#523
field123 merged 6 commits into
mainfrom
chore/regen-sdks-for-release

Conversation

@field123
Copy link
Copy Markdown
Collaborator

@field123 field123 commented May 6, 2026

Summary

Regenerates @epcc-sdk/sdks-pxm and @epcc-sdk/sdks-shopper from refreshed upstream OpenAPI specs (pim.yaml and catalog_view.yaml). Both releases are additive — no breaking changes.

@epcc-sdk/sdks-pxm (minor)

From packages/sdks/specs/pim.yaml:

  • New ShopperAttributes and AdminAttributes types (string→string maps, max 100 keys) on products, hierarchies and nodes. shopper_attributes are catalog-visible; admin_attributes are admin-only.
  • Filter operators on product list/export endpoints: eq(shopper_attributes.<key>,…) / eq(admin_attributes.<key>,…).
  • CSV import (POST /pcm/products/import) supports shopper_attributes.<key> / admin_attributes.<key> columns, partial updates, and a __REMOVE_ATTRIBUTE__ sentinel for deleting a key.
  • CSV export (POST /pcm/products/export) request body supports data.attributes.columns.include (with wildcards like admin_attributes.*).
  • Bundle component options expose per-option min / max quantities.
  • Multi-product responses now include a links object (typed via the new multi_links schema) — note the planned 2026-06-01 link behaviour change documented upstream.

@epcc-sdk/sdks-shopper (minor)

From packages/sdks/specs/catalog_view.yaml:

  • New validateCatalogRules endpoint (POST /catalogs/rules/validate) with match_type of filter, similarity, conflict or resolve_for_shopper.
  • Pricebook segmentation: new product fields available_prices, alternative_prices, available_pricebook_ids; component product metadata gains alternative_prices; new EP-Pricebook-IDs-Of-Available-Prices-To-Show request header on release/product endpoints.
  • getRules filter now supports pricebook_ids (eq() and in()).
  • New types: AvailablePrices, AlternativePrices, RuleMeta, CatalogRuleValidatorRequest, ReleaseIndexingCompleteData.

Test plan

  • pnpm openapi-ts succeeds for both SDKs
  • pnpm build:tsup produces clean CJS / ESM / DTS output for both SDKs
  • pnpm test — shopper SDK (37 tests passing)
  • Spot-checked generated types.gen.ts to confirm new surfaces landed
  • CI green

Adds external_ref field on shipping group request/response types from the
upstream Cart Checkout spec, plus README and minor description whitespace
churn from the regen. Unblocks the Release workflow, which fails publish
when a build leaves the working tree dirty.
Triggers a patch release of @epcc-sdk/sdks-shopper so consumers can use
the new external_ref field on shipping group requests/responses.
Adds shopper/admin attributes (string maps on products, hierarchies and
nodes), per-option bundle quantity (min/max), product import/export CSV
column controls (columns.include, __REMOVE_ATTRIBUTE__) and the new
multi_links pagination schema. All additive, no breaking changes.
…e quantity

Triggers a minor release of @epcc-sdk/sdks-pxm so consumers can use the
new ShopperAttributes/AdminAttributes types, per-option bundle min/max,
and CSV column controls on import/export.
Adds pricebook segmentation (available_prices, alternative_prices,
available_pricebook_ids on products and the
EP-Pricebook-IDs-Of-Available-Prices-To-Show header), the new
validateCatalogRules endpoint with its match_type variants and rule-meta
response, pricebook_ids filtering on getRules, and the
release-indexing-complete-data schema. All additive, no breaking changes.
…e validation

Triggers a minor release of @epcc-sdk/sdks-shopper so consumers can use
the new pricebook-segmented product price arrays, the
validateCatalogRules endpoint and pricebook_ids rule filtering.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
composable-frontend-core Ready Ready Preview, Comment May 6, 2026 8:35am
composable-frontend-simple Ready Ready Preview, Comment May 6, 2026 8:35am
composable-frontend-subscriptions Ready Ready Preview, Comment May 6, 2026 8:35am
3 Skipped Deployments
Project Deployment Actions Updated (UTC)
commerce-essentials Ignored Ignored May 6, 2026 8:35am
composable-frontend-algolia Ignored Ignored May 6, 2026 8:35am
composable-frontend-docs Ignored Ignored May 6, 2026 8:35am

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 6, 2026

🦋 Changeset detected

Latest commit: c484f0b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@epcc-sdk/sdks-pxm Minor
@epcc-sdk/sdks-shopper Minor
@elasticpath/catalog-search-instantsearch-adapter Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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