Skip to content

Commit

Permalink
fix: playing whackamole with further PSA API spec inconsistencies
Browse files Browse the repository at this point in the history
hireDate, companyActivityTabFormat and invoiceTimeTabFormat aren't marked as optional in the API spec, but are indeed optional fields.
  • Loading branch information
Yoshify committed Aug 22, 2024
1 parent 28b6955 commit c2f2529
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pyconnectwise/models/manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9817,8 +9817,8 @@ class Member(ConnectWiseModel):
calendar_sync_integration_flag: Annotated[bool | None, Field(alias="calendarSyncIntegrationFlag")] = None
client_id: Annotated[str | None, Field(alias="clientId")] = None
company_activity_tab_format: Annotated[
Literal["SummaryList", "DetailList"], Field(alias="companyActivityTabFormat")
]
Literal["SummaryList", "DetailList"] | None, Field(alias="companyActivityTabFormat")
] = None
copy_column_layouts_and_filters: Annotated[bool | None, Field(alias="copyColumnLayoutsAndFilters")] = None
copy_pod_layouts: Annotated[bool | None, Field(alias="copyPodLayouts")] = None
copy_shared_default_views: Annotated[bool | None, Field(alias="copySharedDefaultViews")] = None
Expand Down Expand Up @@ -9855,7 +9855,7 @@ class Member(ConnectWiseModel):
Literal["OpenRecords", "ClosedRecords", "AllRecords"] | None, Field(alias="globalSearchDefaultTicketFilter")
] = None
hide_member_in_dispatch_portal_flag: Annotated[bool | None, Field(alias="hideMemberInDispatchPortalFlag")] = None
hire_date: Annotated[datetime, Field(alias="hireDate")]
hire_date: Annotated[datetime | None, Field(alias="hireDate")] = None
home_email: Annotated[str | None, Field(alias="homeEmail")] = None
"""
Max length: 250;
Expand Down Expand Up @@ -9883,7 +9883,7 @@ class Member(ConnectWiseModel):
invoice_screen_default_tab_format: Annotated[
Literal["ShowInvoicingTab", "ShowAgreementInvoicingTab"], Field(alias="invoiceScreenDefaultTabFormat")
]
invoice_time_tab_format: Annotated[Literal["SummaryList", "DetailList"], Field(alias="invoiceTimeTabFormat")]
invoice_time_tab_format: Annotated[Literal["SummaryList", "DetailList"] | None, Field(alias="invoiceTimeTabFormat")] = None
invoicing_display_options: Annotated[
Literal["RemainOnInvoicingScreen", "ShowRecentInvoices"], Field(alias="invoicingDisplayOptions")
]
Expand Down

0 comments on commit c2f2529

Please sign in to comment.