v0.4.1
Changed
RefundTicket.versionDatais now structured — tightened fromRecord<string, unknown> | nullto a newRefundTicketVersionData | nulltype matching the GraphQLRefundTicketVersionDatashape:{ reason: string; requestedAmount: RequestedAmount | null }. Aligns withwaffo-pancake-graphql-servicev2026.04.15.1 whereversionDatawas promoted from a JSON-string to a structured object.
Added
RefundTicketVersionData— exported type. Reuses the existingRequestedAmountfor the nested amount field.
Compatibility note
If your code accessed versionData["custom_key"] via the loose record type, switch to reading versionData.reason / versionData.requestedAmount?.amount directly. No runtime shape change — the value was already a structured object on the wire.