Catalog items: new categories & trade groups

What’s new?

  • Catalog items are now backed by typed categories and trade groups:
    • category uses Product/Service categories (e.g., PV_MODULE, BATTERY_SYSTEM, INSTALLATION, MAINTENANCE).
    • tradeGroup is an enum (ENERGY, MECHANICAL, ELECTRICAL, PLUMBING, LOW_VOLTAGE, ENVELOPE, OTHER).
  • The GET /catalog-items endpoint now returns a flat list of catalog items instead of nested catalogs.
  • POST /catalog-items and PATCH /catalog-items/{catalogItemId} validate payloads against the new category + tradeGroup rules.

Impact

  • Generated docs show complete dropdowns for tradeGroup and category, making catalog item creation and updates easier and safer.