The Core API public resources schema (https://core.commercelayer.io/api/public/resources) has been updated to release-v4.0.0, introducing the new payments resources (API version 2026-05).
This requires:
- Updating the mocked response in
packages/app-elements/src/mocks/data/core_resources.ts (134 → 152 resources).
- Updating the
orderSuggestionsSnapshot in packages/app-elements/src/ui/forms/CodeEditor/fetchCoreResourcesSuggestions.test.ts, which now includes new order fields (e.g. session_amount_*, placeable) and relationships (e.g. payment_sessions, payment_transactions, payment_authorizations).
🤖 Generated with Claude Code
The Core API public resources schema (
https://core.commercelayer.io/api/public/resources) has been updated torelease-v4.0.0, introducing the new payments resources (API version2026-05).This requires:
packages/app-elements/src/mocks/data/core_resources.ts(134 → 152 resources).orderSuggestionsSnapshotinpackages/app-elements/src/ui/forms/CodeEditor/fetchCoreResourcesSuggestions.test.ts, which now includes neworderfields (e.g.session_amount_*,placeable) and relationships (e.g.payment_sessions,payment_transactions,payment_authorizations).🤖 Generated with Claude Code