Commit 49fcfbfb authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Adjust Firma models

The API has entries without these fields, which has to mean that they
are optional.
parent 852bed89
Pipeline #47067 passed with stage
in 2 minutes and 4 seconds
......@@ -533,13 +533,13 @@ class Firma(BaseModel):
tax_office_reference: str
tax_system: str
vat_registration_number: str
multi_company_information: Connection
accounting: Accounts
currency_information: Currency
vat_information: VAT
multi_company_information: typing.Optional[Connection]
accounting: typing.Optional[Accounts]
currency_information: typing.Optional[Currency]
vat_information: typing.Optional[VAT]
last_updated: UpdatedInfo
contact_points: typing.List[ContactPoint]
related_values: typing.List[RelatedValue]
contact_points: typing.Optional[typing.List[ContactPoint]]
related_values: typing.Optional[typing.List[RelatedValue]]
class Config:
alias_generator = to_lower_camel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment