chore: update generated files from PR #11547#47
Conversation
There was a problem hiding this comment.
No line-specific elegance findings. This is a generated-only PR from the upstream API contract change, and the new surface is coherent across api.ts and schemas.ts: the enroll operation has matching response/error schemas, language is consistently tightened to string, and the new loyalty_pass_install rule kind is threaded through site configuration, customer available rules, and history rule-kind unions.
One scope note: the hand-written convenience client still does not expose every generated OpenAPI path, including this new enroll endpoint, but that wrapper is outside this PR diff and there is already a pre-existing generated path without a wrapper (rewards/custom/redeem). If the intent is for this generated PR to ship only the type surface, this looks consistent.
| @@ -63,6 +63,22 @@ export interface paths { | |||
| patch?: never; | |||
| trace?: never; | |||
| }; | |||
| "/headless/2025-06/{site_id}/customers/{merchant_id}/enroll": { | |||
There was a problem hiding this comment.
Respond to this comment to discuss this review with me
Auto-generated by the CI pipeline.
Source: https://github.com/loyaltylion/hogwarts/pull/11547
These files were regenerated from changes to the API contracts. Review and merge alongside the main PR.
Generated files:
src/types/api.tssrc/types/schemas.ts