diff --git a/lago_python_client/models/customer.py b/lago_python_client/models/customer.py index f216349..d57f3d3 100644 --- a/lago_python_client/models/customer.py +++ b/lago_python_client/models/customer.py @@ -88,7 +88,10 @@ class Customer(BaseModel): net_payment_term: Optional[int] tax_identification_number: Optional[str] logo_url: Optional[str] - name: str + name: Optional[str] + firstname: Optional[str] + lastname: Optional[str] + customer_type: Optional[str] phone: Optional[str] state: Optional[str] timezone: Optional[str] @@ -118,7 +121,10 @@ class CustomerResponse(BaseResponseModel): net_payment_term: Optional[int] tax_identification_number: Optional[str] logo_url: Optional[str] - name: str + name: Optional[str] + firstname: Optional[str] + lastname: Optional[str] + customer_type: Optional[str] phone: Optional[str] state: Optional[str] timezone: Optional[str] diff --git a/tests/fixtures/customer.json b/tests/fixtures/customer.json index 6dca8a6..626c82b 100644 --- a/tests/fixtures/customer.json +++ b/tests/fixtures/customer.json @@ -14,6 +14,9 @@ "tax_identification_number": "EU123456789", "logo_url": "http://hooli.com/logo.png", "name": "Gavin Belson", + "firstname": "Gavin", + "lastname": "Belson", + "customer_type": "individual", "phone": "1-171-883-3711 x245", "state": "CA", "url": "http://hooli.com",