Skip to content

fix(contracts): add missing enabled flag to InsuranceProduct#75

Merged
kerem-acer merged 1 commit into
mainfrom
fix/insurance-product-enabled
Jun 10, 2026
Merged

fix(contracts): add missing enabled flag to InsuranceProduct#75
kerem-acer merged 1 commit into
mainfrom
fix/insurance-product-enabled

Conversation

@kerem-acer

Copy link
Copy Markdown
Contributor

Summary

The deployed GET insurance-companies/{InsuranceCompanyId}/products endpoint returns InsuranceProductModel[] whose C# contract carries public required bool Enabled — the TS InsuranceProduct interface didn't model the field, so consumers can't hide disabled products (the legacy agent panel's manual-product dialog filters on Enabled).

One-line type addition; no runtime change.

Test Plan

  • bun run typecheck (all packages)
  • bun run test (all packages green)
  • bun run lint + format:check

🤖 Generated with Claude Code

The deployed GET insurance-companies/{id}/products returns
InsuranceProductModel which carries a required Enabled bool; the TS
contract didn't model it, so UI pickers couldn't hide disabled
products (the legacy agent panel filters on it).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kerem-acer kerem-acer merged commit b85072c into main Jun 10, 2026
2 checks passed
@kerem-acer kerem-acer deleted the fix/insurance-product-enabled branch June 10, 2026 05:16
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