feat: get/patch contact includes org info

Resolves #19
This commit is contained in:
Chris Milne 2026-06-03 09:45:48 +01:00
parent 8a9f03ee0b
commit af680dbc38
2 changed files with 10 additions and 3 deletions

View file

@ -97,6 +97,13 @@ class OrgGetContactResponse(CustomBaseModel):
model_config = ConfigDict(from_attributes=True, extra="ignore")
contact: ContactModel
organisation: OrgSchema
class OrgPatchContactResponse(CustomBaseModel):
model_config = ConfigDict(from_attributes=True, extra="ignore")
contact: ContactModel
organisation: OrgSchema
class OrgGetOrgResponse(CustomBaseModel):
name: str