From 7473efbb02a31173df7f82ea8f473a712f8c4e77 Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Sat, 4 Jul 2026 01:42:09 +0000 Subject: [PATCH] =?UTF-8?q?A:=20Remove=20address=20fields=20from=20contact?= =?UTF-8?q?=20schemas=20=E2=80=94=20addresses=20now=20via=20Address=20mode?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/schemas/contact.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/app/schemas/contact.py b/app/schemas/contact.py index 8b9e55e..5f13118 100644 --- a/app/schemas/contact.py +++ b/app/schemas/contact.py @@ -15,11 +15,6 @@ class ContactCreate(BaseModel): department: str | None = Field(None, max_length=100) linkedin_url: str | None = Field(None, max_length=500) notes: str | None = None - address_street: str | None = Field(None, max_length=255) - address_city: str | None = Field(None, max_length=100) - address_zip: str | None = Field(None, max_length=20) - address_country: str | None = Field(None, max_length=2) - address_state: str | None = Field(None, max_length=100) company_ids: list[str] | None = None @@ -33,11 +28,6 @@ class ContactUpdate(BaseModel): department: str | None = Field(None, max_length=100) linkedin_url: str | None = Field(None, max_length=500) notes: str | None = None - address_street: str | None = Field(None, max_length=255) - address_city: str | None = Field(None, max_length=100) - address_zip: str | None = Field(None, max_length=20) - address_country: str | None = Field(None, max_length=2) - address_state: str | None = Field(None, max_length=100) class ContactResponse(BaseModel): @@ -51,11 +41,6 @@ class ContactResponse(BaseModel): department: str | None = None linkedin_url: str | None = None notes: str | None = None - address_street: str | None = None - address_city: str | None = None - address_zip: str | None = None - address_country: str | None = None - address_state: str | None = None created_at: str | None = None updated_at: str | None = None