fix: add from_attributes=True to integration schemas for ORM extraction (#864)
The /api/integrations/customer_integrations/{customer_code} endpoint 500'd on response validation: 8 validation errors for CustomerIntegrationsResponse available_integrations.0 Input should be a valid dictionary or instance of CustomerIntegrations [type=model_type, input_value=CustomerIntegrations(...)] Two distinct classes share the name `CustomerIntegrations`: the SQLModel table in models/customer_integration_settings.py and the Pydantic schema in integrations/schema.py. Routes feed SQLAlchemy ORM rows directly into the Pydantic response. Pydantic 1 extracted attributes leniently; v2 requires explicit `from_attributes=True` (the rename of v1's `orm_mode`). Add `model_config = ConfigDict(from_attributes=True)` to the four schemas in the joinedload chain: IntegrationAuthKeys, IntegrationService, IntegrationSubscription, CustomerIntegrations. Sibling CustomerIntegrationsMetaSchema already had it. Co-authored-by: taylor_socfortress <taylor.walton@socfortress.co> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>