diff --git a/src/pyconnectwise/clients/automate_client.py b/src/pyconnectwise/clients/automate_client.py index 33f28063a..2bce77bb5 100644 --- a/src/pyconnectwise/clients/automate_client.py +++ b/src/pyconnectwise/clients/automate_client.py @@ -1,4 +1,8 @@ +import base64 from datetime import datetime + +from pyconnectwise.clients.connectwise_client import ConnectWiseClient +from pyconnectwise.config import Config from pyconnectwise.endpoints.automate.ClientsEndpoint import ClientsEndpoint from pyconnectwise.endpoints.automate.CommandsEndpoint import CommandsEndpoint from pyconnectwise.endpoints.automate.ComputersEndpoint import ComputersEndpoint @@ -24,9 +28,6 @@ from pyconnectwise.endpoints.automate.UserclassesEndpoint import UserclassesEndpoint from pyconnectwise.endpoints.automate.UsersEndpoint import UsersEndpoint -from pyconnectwise.clients.connectwise_client import ConnectWiseClient -from pyconnectwise.config import Config - class ConnectWiseAutomateAPIClient(ConnectWiseClient): """ @@ -34,14 +35,7 @@ class ConnectWiseAutomateAPIClient(ConnectWiseClient): and the configuration of all the available endpoints. """ - def __init__( - self, - automate_url: str, - client_id: str, - username: str, - password: str, - config: Config = None - ): + def __init__(self, automate_url: str, client_id: str, username: str, password: str, config: Config = None): """ Initializes the client with the given credentials and optionally a specific codebase. If no codebase is given, it tries to get it from the API. @@ -104,9 +98,12 @@ def _get_access_token(self) -> str: """ Performs a request to the ConnectWise Automate API to obtain an access token. """ - auth_response = self._make_request("POST", f"{self._get_url()}/apitoken", - data={"UserName": self.username, "Password": self.password}, - headers={"Content-Type": "application/json", "ClientId": self.client_id}) + auth_response = self._make_request( + "POST", + f"{self._get_url()}/apitoken", + data={"UserName": self.username, "Password": self.password}, + headers={"Content-Type": "application/json", "ClientId": self.client_id}, + ) auth_resp_json = auth_response.json() token = auth_resp_json["AccessToken"] self.token_expiry_time = datetime.fromisoformat(auth_resp_json["ExpirationDate"]) diff --git a/src/pyconnectwise/clients/manage_client.py b/src/pyconnectwise/clients/manage_client.py index 5d66f5a39..9cd99573f 100644 --- a/src/pyconnectwise/clients/manage_client.py +++ b/src/pyconnectwise/clients/manage_client.py @@ -1,7 +1,7 @@ import base64 + from pyconnectwise.clients.connectwise_client import ConnectWiseClient from pyconnectwise.config import Config - from pyconnectwise.endpoints.manage.CompanyEndpoint import CompanyEndpoint from pyconnectwise.endpoints.manage.ConfigurationsEndpoint import ConfigurationsEndpoint from pyconnectwise.endpoints.manage.ExpenseEndpoint import ExpenseEndpoint @@ -30,7 +30,7 @@ def __init__( public_key: str, private_key: str, codebase: str | None = None, - config: Config = None + config: Config = None, ): """ Initializes the client with the given credentials and optionally a specific codebase. @@ -43,7 +43,7 @@ def __init__( public_key (str): Your ConnectWise Manage API Public key. private_key (str): Your ConnectWise Manage API Private key. codebase (str, optional): Your ConnectWise Manage Codebase. If not provided, it will be fetched from the API. Defaults to None. - config (Config, optional): Optional additional configuration for API interactions. + config (Config, optional): Optional additional configuration for API interactions """ self.client_id: str = client_id self.company_name: str = company_name @@ -61,7 +61,7 @@ def __init__( company_name=company_name, headers=self._get_headers(), ) - self.codebase: str = codebase_request.strip('/') + self.codebase: str = codebase_request.strip("/") # Initializing endpoints self.company = CompanyEndpoint(self) @@ -86,7 +86,9 @@ def _get_url(self) -> str: """ return f"https://{self.manage_url}/{self.codebase}/apis/3.0" - def _try_get_codebase_from_api(self, manage_url: str, company_name: str, headers: dict[str, str]) -> str | None: + def _try_get_codebase_from_api( + self, manage_url: str, company_name: str, headers: dict[str, str] + ) -> str | None: """ Tries to retrieve the codebase from the API using the provided company url, company name and headers. diff --git a/src/pyconnectwise/endpoints/automate/ClientsEndpoint.py b/src/pyconnectwise/endpoints/automate/ClientsEndpoint.py index 623d59587..568c332b8 100644 --- a/src/pyconnectwise/endpoints/automate/ClientsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ClientsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechClient, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechClient, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechClient]: diff --git a/src/pyconnectwise/endpoints/automate/ClientsIdDocumentsEndpoint.py b/src/pyconnectwise/endpoints/automate/ClientsIdDocumentsEndpoint.py index 74baf6993..232aa13e8 100644 --- a/src/pyconnectwise/endpoints/automate/ClientsIdDocumentsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ClientsIdDocumentsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDocument, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDocument, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDocument]: diff --git a/src/pyconnectwise/endpoints/automate/ClientsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/ClientsIdEndpoint.py index 2f98e34c5..cf244866c 100644 --- a/src/pyconnectwise/endpoints/automate/ClientsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ClientsIdEndpoint.py @@ -14,9 +14,9 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) self.productkeys = self._register_child_endpoint(ClientsIdProductkeysEndpoint(client, parent_endpoint=self)) + self.documents = self._register_child_endpoint(ClientsIdDocumentsEndpoint(client, parent_endpoint=self)) self.licenses = self._register_child_endpoint(ClientsIdLicensesEndpoint(client, parent_endpoint=self)) self.permissions = self._register_child_endpoint(ClientsIdPermissionsEndpoint(client, parent_endpoint=self)) - self.documents = self._register_child_endpoint(ClientsIdDocumentsEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -34,11 +34,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechClient, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechClient, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechClient: diff --git a/src/pyconnectwise/endpoints/automate/ClientsIdLicensesEndpoint.py b/src/pyconnectwise/endpoints/automate/ClientsIdLicensesEndpoint.py index 85c3335f1..b30992e1d 100644 --- a/src/pyconnectwise/endpoints/automate/ClientsIdLicensesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ClientsIdLicensesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechManagedLicense, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechManagedLicense, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechManagedLicense]: diff --git a/src/pyconnectwise/endpoints/automate/ClientsIdProductkeysEndpoint.py b/src/pyconnectwise/endpoints/automate/ClientsIdProductkeysEndpoint.py index d9b8bf8f2..ccc95fb3c 100644 --- a/src/pyconnectwise/endpoints/automate/ClientsIdProductkeysEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ClientsIdProductkeysEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechProductKey, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechProductKey, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechProductKey]: diff --git a/src/pyconnectwise/endpoints/automate/CommandsEndpoint.py b/src/pyconnectwise/endpoints/automate/CommandsEndpoint.py index 4bc1f9290..285abc011 100644 --- a/src/pyconnectwise/endpoints/automate/CommandsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/CommandsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechCommand, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechCommand, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechCommand]: diff --git a/src/pyconnectwise/endpoints/automate/CommandsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/CommandsIdEndpoint.py index 0583ce448..a1ea03262 100644 --- a/src/pyconnectwise/endpoints/automate/CommandsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/CommandsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechCommand, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechCommand, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechCommand: diff --git a/src/pyconnectwise/endpoints/automate/ComputermenusEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputermenusEndpoint.py index ad6558c0a..3a633e402 100644 --- a/src/pyconnectwise/endpoints/automate/ComputermenusEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputermenusEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerMenu, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerMenu, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerMenu]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersChassisEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersChassisEndpoint.py index fdd23288e..cb528aad7 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersChassisEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersChassisEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerChassis, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerChassis, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerChassis]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersDrivesEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersDrivesEndpoint.py index 5ecbfa677..240be45ff 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersDrivesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersDrivesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerDrive, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerDrive, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerDrive]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersEndpoint.py index 4b7cee8fe..c64a951c5 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersEndpoint.py @@ -15,10 +15,10 @@ class ComputersEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "Computers", parent_endpoint=parent_endpoint) - self.chassis = self._register_child_endpoint(ComputersChassisEndpoint(client, parent_endpoint=self)) - self.software = self._register_child_endpoint(ComputersSoftwareEndpoint(client, parent_endpoint=self)) self.memoryslots = self._register_child_endpoint(ComputersMemoryslotsEndpoint(client, parent_endpoint=self)) self.drives = self._register_child_endpoint(ComputersDrivesEndpoint(client, parent_endpoint=self)) + self.chassis = self._register_child_endpoint(ComputersChassisEndpoint(client, parent_endpoint=self)) + self.software = self._register_child_endpoint(ComputersSoftwareEndpoint(client, parent_endpoint=self)) self.maintenancemodes = self._register_child_endpoint( ComputersMaintenancemodesEndpoint(client, parent_endpoint=self) ) @@ -52,11 +52,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputer, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputer, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputer]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdAlertsuspensionsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdAlertsuspensionsEndpoint.py index 259781367..267b72060 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdAlertsuspensionsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdAlertsuspensionsEndpoint.py @@ -12,9 +12,9 @@ class ComputersIdAlertsuspensionsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "Alertsuspensions", parent_endpoint=parent_endpoint) - self.maintenancewindow = self._register_child_endpoint( - ComputersIdAlertsuspensionsMaintenancewindowEndpoint(client, parent_endpoint=self) - ) self.templatediversion = self._register_child_endpoint( ComputersIdAlertsuspensionsTemplatediversionEndpoint(client, parent_endpoint=self) ) + self.maintenancewindow = self._register_child_endpoint( + ComputersIdAlertsuspensionsMaintenancewindowEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdBiosEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdBiosEndpoint.py index 1ede1e11b..edda7a807 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdBiosEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdBiosEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerBios, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerBios, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechComputerBios: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdCommandexecuteEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdCommandexecuteEndpoint.py index 03d5b9506..94ad7f05c 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdCommandexecuteEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdCommandexecuteEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechCommandExecute, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechCommandExecute, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechCommandExecute]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdCommandhistoryEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdCommandhistoryEndpoint.py index 0e877b711..b1967e730 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdCommandhistoryEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdCommandhistoryEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateCommandHistory, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateCommandHistory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateCommandHistory]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdComputerpatchingpoliciesEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdComputerpatchingpoliciesEndpoint.py index 96527da1c..5fd53fe25 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdComputerpatchingpoliciesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdComputerpatchingpoliciesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerPatchingPolicy, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerPatchingPolicy, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerPatchingPolicy]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdDevicesEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdDevicesEndpoint.py index 07e9ca79c..672916e4f 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdDevicesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdDevicesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerDevice, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerDevice, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerDevice]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdDriversEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdDriversEndpoint.py index 54194f897..034974c78 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdDriversEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdDriversEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerDriver, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerDriver, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerDriver]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdDrivesIdSmartdataEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdDrivesIdSmartdataEndpoint.py index e7492bbe1..445ae2f2b 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdDrivesIdSmartdataEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdDrivesIdSmartdataEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechSmartData, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechSmartData, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechSmartData]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdEffectivepatchingpolicyEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdEffectivepatchingpolicyEndpoint.py index 0361175a6..9bc7003e5 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdEffectivepatchingpolicyEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdEffectivepatchingpolicyEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdEndpoint.py index 10a484c22..726200c44 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdEndpoint.py @@ -41,63 +41,63 @@ class ComputersIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.drivers = self._register_child_endpoint(ComputersIdDriversEndpoint(client, parent_endpoint=self)) - self.patchjobs = self._register_child_endpoint(ComputersIdPatchjobsEndpoint(client, parent_endpoint=self)) - self.printers = self._register_child_endpoint(ComputersIdPrintersEndpoint(client, parent_endpoint=self)) - self.services = self._register_child_endpoint(ComputersIdServicesEndpoint(client, parent_endpoint=self)) - self.sensors = self._register_child_endpoint(ComputersIdSensorsEndpoint(client, parent_endpoint=self)) - self.scheduledtasks = self._register_child_endpoint( - ComputersIdScheduledtasksEndpoint(client, parent_endpoint=self) - ) - self.scripthistory = self._register_child_endpoint( - ComputersIdScripthistoryEndpoint(client, parent_endpoint=self) - ) - self.patchingstats = self._register_child_endpoint( - ComputersIdPatchingstatsEndpoint(client, parent_endpoint=self) - ) - self.drives = self._register_child_endpoint(ComputersIdDrivesEndpoint(client, parent_endpoint=self)) - self.systemslots = self._register_child_endpoint(ComputersIdSystemslotsEndpoint(client, parent_endpoint=self)) self.ups = self._register_child_endpoint(ComputersIdUpsEndpoint(client, parent_endpoint=self)) - self.monitors = self._register_child_endpoint(ComputersIdMonitorsEndpoint(client, parent_endpoint=self)) + self.services = self._register_child_endpoint(ComputersIdServicesEndpoint(client, parent_endpoint=self)) + self.alerts = self._register_child_endpoint(ComputersIdAlertsEndpoint(client, parent_endpoint=self)) + self.software = self._register_child_endpoint(ComputersIdSoftwareEndpoint(client, parent_endpoint=self)) + self.printers = self._register_child_endpoint(ComputersIdPrintersEndpoint(client, parent_endpoint=self)) self.microsoftupdates = self._register_child_endpoint( ComputersIdMicrosoftupdatesEndpoint(client, parent_endpoint=self) ) - self.effectivepatchingpolicy = self._register_child_endpoint( - ComputersIdEffectivepatchingpolicyEndpoint(client, parent_endpoint=self) + self.scheduledscripts = self._register_child_endpoint( + ComputersIdScheduledscriptsEndpoint(client, parent_endpoint=self) + ) + self.commandhistory = self._register_child_endpoint( + ComputersIdCommandhistoryEndpoint(client, parent_endpoint=self) ) - self.alerts = self._register_child_endpoint(ComputersIdAlertsEndpoint(client, parent_endpoint=self)) self.thirdpartypatches = self._register_child_endpoint( ComputersIdThirdpartypatchesEndpoint(client, parent_endpoint=self) ) + self.drives = self._register_child_endpoint(ComputersIdDrivesEndpoint(client, parent_endpoint=self)) self.videocards = self._register_child_endpoint(ComputersIdVideocardsEndpoint(client, parent_endpoint=self)) - self.runningscripts = self._register_child_endpoint( - ComputersIdRunningscriptsEndpoint(client, parent_endpoint=self) + self.commandexecute = self._register_child_endpoint( + ComputersIdCommandexecuteEndpoint(client, parent_endpoint=self) + ) + self.effectivepatchingpolicy = self._register_child_endpoint( + ComputersIdEffectivepatchingpolicyEndpoint(client, parent_endpoint=self) ) self.alertsuspensions = self._register_child_endpoint( ComputersIdAlertsuspensionsEndpoint(client, parent_endpoint=self) ) - self.commandhistory = self._register_child_endpoint( - ComputersIdCommandhistoryEndpoint(client, parent_endpoint=self) - ) - self.commandexecute = self._register_child_endpoint( - ComputersIdCommandexecuteEndpoint(client, parent_endpoint=self) - ) + self.sensors = self._register_child_endpoint(ComputersIdSensorsEndpoint(client, parent_endpoint=self)) + self.bios = self._register_child_endpoint(ComputersIdBiosEndpoint(client, parent_endpoint=self)) self.monitoralertsuspensions = self._register_child_endpoint( ComputersIdMonitoralertsuspensionsEndpoint(client, parent_endpoint=self) ) + self.processors = self._register_child_endpoint(ComputersIdProcessorsEndpoint(client, parent_endpoint=self)) + self.systemslots = self._register_child_endpoint(ComputersIdSystemslotsEndpoint(client, parent_endpoint=self)) + self.runningscripts = self._register_child_endpoint( + ComputersIdRunningscriptsEndpoint(client, parent_endpoint=self) + ) self.operatingsystem = self._register_child_endpoint( ComputersIdOperatingsystemEndpoint(client, parent_endpoint=self) ) - self.software = self._register_child_endpoint(ComputersIdSoftwareEndpoint(client, parent_endpoint=self)) self.devices = self._register_child_endpoint(ComputersIdDevicesEndpoint(client, parent_endpoint=self)) + self.monitors = self._register_child_endpoint(ComputersIdMonitorsEndpoint(client, parent_endpoint=self)) + self.patchjobs = self._register_child_endpoint(ComputersIdPatchjobsEndpoint(client, parent_endpoint=self)) self.computerpatchingpolicies = self._register_child_endpoint( ComputersIdComputerpatchingpoliciesEndpoint(client, parent_endpoint=self) ) - self.scheduledscripts = self._register_child_endpoint( - ComputersIdScheduledscriptsEndpoint(client, parent_endpoint=self) + self.scripthistory = self._register_child_endpoint( + ComputersIdScripthistoryEndpoint(client, parent_endpoint=self) + ) + self.drivers = self._register_child_endpoint(ComputersIdDriversEndpoint(client, parent_endpoint=self)) + self.scheduledtasks = self._register_child_endpoint( + ComputersIdScheduledtasksEndpoint(client, parent_endpoint=self) + ) + self.patchingstats = self._register_child_endpoint( + ComputersIdPatchingstatsEndpoint(client, parent_endpoint=self) ) - self.processors = self._register_child_endpoint(ComputersIdProcessorsEndpoint(client, parent_endpoint=self)) - self.bios = self._register_child_endpoint(ComputersIdBiosEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -115,11 +115,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputer, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputer, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechComputer: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdOperatingsystemEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdOperatingsystemEndpoint.py index 4f7f71484..e6318574a 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdOperatingsystemEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdOperatingsystemEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerOperatingSystem, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerOperatingSystem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechComputerOperatingSystem: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdPatchingstatsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdPatchingstatsEndpoint.py index 9b01ac2c8..14bca545a 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdPatchingstatsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdPatchingstatsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateComputerPatchingStats, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateComputerPatchingStats, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AutomateComputerPatchingStats: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdPrintersEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdPrintersEndpoint.py index 897654c3e..71833bba7 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdPrintersEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdPrintersEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerPrinter, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerPrinter, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerPrinter]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdProcessorsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdProcessorsEndpoint.py index 7716e7760..1cbf1fda3 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdProcessorsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdProcessorsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerProcessor, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerProcessor, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerProcessor]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdRunningscriptsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdRunningscriptsEndpoint.py index 8701c5de5..0467855db 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdRunningscriptsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdRunningscriptsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerRunningScript, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerRunningScript, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerRunningScript]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsEndpoint.py index 8f7186ff5..3ea3dabce 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechScheduledScript, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechScheduledScript, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechScheduledScript]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsIdEndpoint.py index 7e2882061..e15ec9ef5 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdScheduledscriptsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechScheduledScript, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechScheduledScript, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechScheduledScript: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdScripthistoryEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdScripthistoryEndpoint.py index 26a1f85d4..bfd3f4405 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdScripthistoryEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdScripthistoryEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerScriptHistory, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerScriptHistory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerScriptHistory]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdSensorsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdSensorsEndpoint.py index 579a65c28..82e4b82d2 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdSensorsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdSensorsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerSensor, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerSensor, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerSensor]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdServicesEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdServicesEndpoint.py index b9a820325..6419e0d86 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdServicesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdServicesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerService, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerService, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerService]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdSoftwareEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdSoftwareEndpoint.py index 37ec3921b..dd9358833 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdSoftwareEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdSoftwareEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerSoftware, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerSoftware, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerSoftware]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdSystemslotsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdSystemslotsEndpoint.py index 3b5b60292..e6abecd00 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdSystemslotsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdSystemslotsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerSystemSlot, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerSystemSlot, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerSystemSlot]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdUpsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdUpsEndpoint.py index ef251d846..bdb0afc19 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdUpsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdUpsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerUps, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerUps, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerUps]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersIdVideocardsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersIdVideocardsEndpoint.py index d6f2f23dd..1cc39dd54 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersIdVideocardsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersIdVideocardsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerVideoCard, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerVideoCard, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerVideoCard]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersMaintenancemodesEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersMaintenancemodesEndpoint.py index fa77ecbb3..0a5e1d243 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersMaintenancemodesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersMaintenancemodesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechMaintenanceMode, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechMaintenanceMode, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechMaintenanceMode]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersMemoryslotsEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersMemoryslotsEndpoint.py index 54d6369b3..d374d0ee6 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersMemoryslotsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersMemoryslotsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerMemorySlot, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerMemorySlot, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerMemorySlot]: diff --git a/src/pyconnectwise/endpoints/automate/ComputersSoftwareEndpoint.py b/src/pyconnectwise/endpoints/automate/ComputersSoftwareEndpoint.py index 39e0ece0c..5c6db3e64 100644 --- a/src/pyconnectwise/endpoints/automate/ComputersSoftwareEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ComputersSoftwareEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechComputerSoftware, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechComputerSoftware, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechComputerSoftware]: diff --git a/src/pyconnectwise/endpoints/automate/ContactsEndpoint.py b/src/pyconnectwise/endpoints/automate/ContactsEndpoint.py index 65ab22c41..4cd2ff6b4 100644 --- a/src/pyconnectwise/endpoints/automate/ContactsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ContactsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateContact, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateContact]: diff --git a/src/pyconnectwise/endpoints/automate/ContactsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/ContactsIdEndpoint.py index a0f39660f..5905c1a83 100644 --- a/src/pyconnectwise/endpoints/automate/ContactsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ContactsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateContact, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AutomateContact: diff --git a/src/pyconnectwise/endpoints/automate/DataviewfoldersEndpoint.py b/src/pyconnectwise/endpoints/automate/DataviewfoldersEndpoint.py index e16890290..9c2671218 100644 --- a/src/pyconnectwise/endpoints/automate/DataviewfoldersEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DataviewfoldersEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDataViewFolder, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDataViewFolder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDataViewFolder]: diff --git a/src/pyconnectwise/endpoints/automate/DataviewfoldersIdEndpoint.py b/src/pyconnectwise/endpoints/automate/DataviewfoldersIdEndpoint.py index 69acaacb0..99ba865aa 100644 --- a/src/pyconnectwise/endpoints/automate/DataviewfoldersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DataviewfoldersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDataViewFolder, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDataViewFolder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechDataViewFolder: diff --git a/src/pyconnectwise/endpoints/automate/DataviewsEndpoint.py b/src/pyconnectwise/endpoints/automate/DataviewsEndpoint.py index 642f778bf..6754683f5 100644 --- a/src/pyconnectwise/endpoints/automate/DataviewsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DataviewsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDataView, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDataView, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDataView]: diff --git a/src/pyconnectwise/endpoints/automate/DataviewsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/DataviewsIdEndpoint.py index 803f896d0..612239376 100644 --- a/src/pyconnectwise/endpoints/automate/DataviewsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DataviewsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDataView, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDataView, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechDataView: diff --git a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsDailyEndpoint.py b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsDailyEndpoint.py index e528b0338..ed51856c1 100644 --- a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsDailyEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsDailyEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDriveStats, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDriveStats, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDriveStats]: diff --git a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsEndpoint.py b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsEndpoint.py index e510f4cbc..a857a99e7 100644 --- a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsEndpoint.py @@ -13,6 +13,6 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "Drivestats", parent_endpoint=parent_endpoint) self.yearly = self._register_child_endpoint(DrivesIdDrivestatsYearlyEndpoint(client, parent_endpoint=self)) + self.weekly = self._register_child_endpoint(DrivesIdDrivestatsWeeklyEndpoint(client, parent_endpoint=self)) self.daily = self._register_child_endpoint(DrivesIdDrivestatsDailyEndpoint(client, parent_endpoint=self)) self.monthly = self._register_child_endpoint(DrivesIdDrivestatsMonthlyEndpoint(client, parent_endpoint=self)) - self.weekly = self._register_child_endpoint(DrivesIdDrivestatsWeeklyEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsMonthlyEndpoint.py b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsMonthlyEndpoint.py index 7ea6c533e..ee0c19d82 100644 --- a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsMonthlyEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsMonthlyEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDriveStats, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDriveStats, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDriveStats]: diff --git a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsWeeklyEndpoint.py b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsWeeklyEndpoint.py index 860c43fe7..40d82d441 100644 --- a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsWeeklyEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsWeeklyEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDriveStats, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDriveStats, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDriveStats]: diff --git a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsYearlyEndpoint.py b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsYearlyEndpoint.py index b0aa8af6b..121c0dc4c 100644 --- a/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsYearlyEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/DrivesIdDrivestatsYearlyEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechDriveStats, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechDriveStats, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechDriveStats]: diff --git a/src/pyconnectwise/endpoints/automate/EventlogsEndpoint.py b/src/pyconnectwise/endpoints/automate/EventlogsEndpoint.py index f77ecbeac..b98e78e77 100644 --- a/src/pyconnectwise/endpoints/automate/EventlogsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/EventlogsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechEventLog, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechEventLog, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechEventLog]: diff --git a/src/pyconnectwise/endpoints/automate/ExternalsystemcredentialsClientsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/ExternalsystemcredentialsClientsIdEndpoint.py index aa37adad8..abbf9f29a 100644 --- a/src/pyconnectwise/endpoints/automate/ExternalsystemcredentialsClientsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ExternalsystemcredentialsClientsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechExternalSystemCredentials, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechExternalSystemCredentials, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/automate/GrouppatchingpoliciesEndpoint.py b/src/pyconnectwise/endpoints/automate/GrouppatchingpoliciesEndpoint.py index b2379c9d5..45532aa0c 100644 --- a/src/pyconnectwise/endpoints/automate/GrouppatchingpoliciesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/GrouppatchingpoliciesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateGroupPatchingPolicy, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateGroupPatchingPolicy, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateGroupPatchingPolicy]: diff --git a/src/pyconnectwise/endpoints/automate/GroupsEndpoint.py b/src/pyconnectwise/endpoints/automate/GroupsEndpoint.py index d61bd84b6..d540cded5 100644 --- a/src/pyconnectwise/endpoints/automate/GroupsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/GroupsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechGroup, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechGroup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechGroup]: diff --git a/src/pyconnectwise/endpoints/automate/GroupsIdEndpoint.py b/src/pyconnectwise/endpoints/automate/GroupsIdEndpoint.py index 554611e91..e64c9bd97 100644 --- a/src/pyconnectwise/endpoints/automate/GroupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/GroupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechGroup, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechGroup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechGroup: diff --git a/src/pyconnectwise/endpoints/automate/LicensedproductsEndpoint.py b/src/pyconnectwise/endpoints/automate/LicensedproductsEndpoint.py index 6cc39c2ed..d08d92aba 100644 --- a/src/pyconnectwise/endpoints/automate/LicensedproductsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LicensedproductsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechLicensedProduct, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechLicensedProduct, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechLicensedProduct]: diff --git a/src/pyconnectwise/endpoints/automate/LinksEndpoint.py b/src/pyconnectwise/endpoints/automate/LinksEndpoint.py index 156ca0f81..ce59c1171 100644 --- a/src/pyconnectwise/endpoints/automate/LinksEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LinksEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechLink, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechLink, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechLink]: diff --git a/src/pyconnectwise/endpoints/automate/LocationsEndpoint.py b/src/pyconnectwise/endpoints/automate/LocationsEndpoint.py index c789f2c3b..701196c39 100644 --- a/src/pyconnectwise/endpoints/automate/LocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LocationsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateLocation]: diff --git a/src/pyconnectwise/endpoints/automate/LocationsIdProbeconfigurationEndpoint.py b/src/pyconnectwise/endpoints/automate/LocationsIdProbeconfigurationEndpoint.py index 87bdb4363..4a2c02051 100644 --- a/src/pyconnectwise/endpoints/automate/LocationsIdProbeconfigurationEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LocationsIdProbeconfigurationEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechProbeConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechProbeConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechProbeConfiguration: diff --git a/src/pyconnectwise/endpoints/automate/LookupsEndpoint.py b/src/pyconnectwise/endpoints/automate/LookupsEndpoint.py index cbf29c802..5212c09be 100644 --- a/src/pyconnectwise/endpoints/automate/LookupsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LookupsEndpoint.py @@ -17,15 +17,15 @@ def __init__(self, client, parent_endpoint=None): self.scanfrequencies = self._register_child_endpoint( LookupsScanfrequenciesEndpoint(client, parent_endpoint=self) ) - self.probeeventlevels = self._register_child_endpoint( - LookupsProbeeventlevelsEndpoint(client, parent_endpoint=self) + self.snmphashmethods = self._register_child_endpoint( + LookupsSnmphashmethodsEndpoint(client, parent_endpoint=self) ) self.snmpencryptionmethods = self._register_child_endpoint( LookupsSnmpencryptionmethodsEndpoint(client, parent_endpoint=self) ) - self.snmphashmethods = self._register_child_endpoint( - LookupsSnmphashmethodsEndpoint(client, parent_endpoint=self) - ) self.statusscannetworkportoptions = self._register_child_endpoint( LookupsStatusscannetworkportoptionsEndpoint(client, parent_endpoint=self) ) + self.probeeventlevels = self._register_child_endpoint( + LookupsProbeeventlevelsEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/automate/LookupsProbeeventlevelsEndpoint.py b/src/pyconnectwise/endpoints/automate/LookupsProbeeventlevelsEndpoint.py index 21c2a9258..8d6dec121 100644 --- a/src/pyconnectwise/endpoints/automate/LookupsProbeeventlevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LookupsProbeeventlevelsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechProbeEventLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechProbeEventLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechProbeEventLevel]: diff --git a/src/pyconnectwise/endpoints/automate/LookupsScanfrequenciesEndpoint.py b/src/pyconnectwise/endpoints/automate/LookupsScanfrequenciesEndpoint.py index 3275a0984..99736ad05 100644 --- a/src/pyconnectwise/endpoints/automate/LookupsScanfrequenciesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LookupsScanfrequenciesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechScanFrequency, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechScanFrequency, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechScanFrequency]: diff --git a/src/pyconnectwise/endpoints/automate/LookupsSnmpencryptionmethodsEndpoint.py b/src/pyconnectwise/endpoints/automate/LookupsSnmpencryptionmethodsEndpoint.py index 6b56c0f15..a527a8c00 100644 --- a/src/pyconnectwise/endpoints/automate/LookupsSnmpencryptionmethodsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LookupsSnmpencryptionmethodsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechEncryptionMethod, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechEncryptionMethod, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechEncryptionMethod]: diff --git a/src/pyconnectwise/endpoints/automate/LookupsSnmphashmethodsEndpoint.py b/src/pyconnectwise/endpoints/automate/LookupsSnmphashmethodsEndpoint.py index 8670cf473..982a50318 100644 --- a/src/pyconnectwise/endpoints/automate/LookupsSnmphashmethodsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LookupsSnmphashmethodsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechHashMethod, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechHashMethod, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechHashMethod]: diff --git a/src/pyconnectwise/endpoints/automate/LookupsStatusscannetworkportoptionsEndpoint.py b/src/pyconnectwise/endpoints/automate/LookupsStatusscannetworkportoptionsEndpoint.py index aa7ba1d4a..cb69bbfa7 100644 --- a/src/pyconnectwise/endpoints/automate/LookupsStatusscannetworkportoptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/LookupsStatusscannetworkportoptionsEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/automate/MaintenancewindowdefinitionsEndpoint.py b/src/pyconnectwise/endpoints/automate/MaintenancewindowdefinitionsEndpoint.py index 3ff7f339a..788be34cd 100644 --- a/src/pyconnectwise/endpoints/automate/MaintenancewindowdefinitionsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/MaintenancewindowdefinitionsEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/automate/MonitorsIdCollecteddataEndpoint.py b/src/pyconnectwise/endpoints/automate/MonitorsIdCollecteddataEndpoint.py index 445db3438..acd63f8ba 100644 --- a/src/pyconnectwise/endpoints/automate/MonitorsIdCollecteddataEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/MonitorsIdCollecteddataEndpoint.py @@ -16,6 +16,9 @@ class MonitorsIdCollecteddataEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "Collecteddata", parent_endpoint=parent_endpoint) + self.yearlyaverages = self._register_child_endpoint( + MonitorsIdCollecteddataYearlyaveragesEndpoint(client, parent_endpoint=self) + ) self.dailyaverages = self._register_child_endpoint( MonitorsIdCollecteddataDailyaveragesEndpoint(client, parent_endpoint=self) ) @@ -25,6 +28,3 @@ def __init__(self, client, parent_endpoint=None): self.weeklyaverages = self._register_child_endpoint( MonitorsIdCollecteddataWeeklyaveragesEndpoint(client, parent_endpoint=self) ) - self.yearlyaverages = self._register_child_endpoint( - MonitorsIdCollecteddataYearlyaveragesEndpoint(client, parent_endpoint=self) - ) diff --git a/src/pyconnectwise/endpoints/automate/MonitorsIdDatacollectionsettingsEndpoint.py b/src/pyconnectwise/endpoints/automate/MonitorsIdDatacollectionsettingsEndpoint.py index 49d301bfb..5c1d4b2a4 100644 --- a/src/pyconnectwise/endpoints/automate/MonitorsIdDatacollectionsettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/MonitorsIdDatacollectionsettingsEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechMonitorDataCollectionSettings: diff --git a/src/pyconnectwise/endpoints/automate/NetworkdevicesEndpoint.py b/src/pyconnectwise/endpoints/automate/NetworkdevicesEndpoint.py index 5601b6e5f..1c092b934 100644 --- a/src/pyconnectwise/endpoints/automate/NetworkdevicesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/NetworkdevicesEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechNetworkDevice, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechNetworkDevice, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechNetworkDevice]: diff --git a/src/pyconnectwise/endpoints/automate/NetworkdevicesIdEndpoint.py b/src/pyconnectwise/endpoints/automate/NetworkdevicesIdEndpoint.py index 730c37c8e..4b1462312 100644 --- a/src/pyconnectwise/endpoints/automate/NetworkdevicesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/NetworkdevicesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechNetworkDevice, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechNetworkDevice, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechNetworkDevice: diff --git a/src/pyconnectwise/endpoints/automate/PatchactionsEndpoint.py b/src/pyconnectwise/endpoints/automate/PatchactionsEndpoint.py index cd0496ac9..c5e490fbd 100644 --- a/src/pyconnectwise/endpoints/automate/PatchactionsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/PatchactionsEndpoint.py @@ -15,21 +15,21 @@ class PatchactionsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "Patchactions", parent_endpoint=parent_endpoint) - self.deployallapproved = self._register_child_endpoint( - PatchactionsDeployallapprovedEndpoint(client, parent_endpoint=self) - ) self.settoteststage = self._register_child_endpoint( PatchactionsSettoteststageEndpoint(client, parent_endpoint=self) ) - self.settoproductionstage = self._register_child_endpoint( - PatchactionsSettoproductionstageEndpoint(client, parent_endpoint=self) - ) - self.deployallsecurity = self._register_child_endpoint( - PatchactionsDeployallsecurityEndpoint(client, parent_endpoint=self) - ) self.settopilotstage = self._register_child_endpoint( PatchactionsSettopilotstageEndpoint(client, parent_endpoint=self) ) self.reattemptfailed = self._register_child_endpoint( PatchactionsReattemptfailedEndpoint(client, parent_endpoint=self) ) + self.deployallapproved = self._register_child_endpoint( + PatchactionsDeployallapprovedEndpoint(client, parent_endpoint=self) + ) + self.settoproductionstage = self._register_child_endpoint( + PatchactionsSettoproductionstageEndpoint(client, parent_endpoint=self) + ) + self.deployallsecurity = self._register_child_endpoint( + PatchactionsDeployallsecurityEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/automate/PatchinformationEndpoint.py b/src/pyconnectwise/endpoints/automate/PatchinformationEndpoint.py index caaa1b54c..13f25ef04 100644 --- a/src/pyconnectwise/endpoints/automate/PatchinformationEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/PatchinformationEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechPatchInformation, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechPatchInformation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechPatchInformation: diff --git a/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdAgentpushcredentialsEndpoint.py b/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdAgentpushcredentialsEndpoint.py index 802ece222..a52b64cc1 100644 --- a/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdAgentpushcredentialsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdAgentpushcredentialsEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdSnmpconfigurationEndpoint.py b/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdSnmpconfigurationEndpoint.py index 4f71d949e..0ff13c9b5 100644 --- a/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdSnmpconfigurationEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ProbeconfigurationIdSnmpconfigurationEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechProbeSnmpConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechProbeSnmpConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechProbeSnmpConfiguration: diff --git a/src/pyconnectwise/endpoints/automate/ProbeeventsEndpoint.py b/src/pyconnectwise/endpoints/automate/ProbeeventsEndpoint.py index 6890c9634..071d60bb7 100644 --- a/src/pyconnectwise/endpoints/automate/ProbeeventsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ProbeeventsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechProbeEvent, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechProbeEvent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechProbeEvent]: diff --git a/src/pyconnectwise/endpoints/automate/RemoteagentschedulesEndpoint.py b/src/pyconnectwise/endpoints/automate/RemoteagentschedulesEndpoint.py index 841acf67e..f174cf176 100644 --- a/src/pyconnectwise/endpoints/automate/RemoteagentschedulesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/RemoteagentschedulesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechRemoteAgentSchedule, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechRemoteAgentSchedule, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechRemoteAgentSchedule]: diff --git a/src/pyconnectwise/endpoints/automate/RemoteagenttemplatesEndpoint.py b/src/pyconnectwise/endpoints/automate/RemoteagenttemplatesEndpoint.py index 9ae5462bc..76a48eb6c 100644 --- a/src/pyconnectwise/endpoints/automate/RemoteagenttemplatesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/RemoteagenttemplatesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechRemoteAgentTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechRemoteAgentTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechRemoteAgentTemplate]: diff --git a/src/pyconnectwise/endpoints/automate/RetiredassetsEndpoint.py b/src/pyconnectwise/endpoints/automate/RetiredassetsEndpoint.py index 28bf21b7f..efdcc2c4b 100644 --- a/src/pyconnectwise/endpoints/automate/RetiredassetsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/RetiredassetsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechRetiredAsset, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechRetiredAsset, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechRetiredAsset]: diff --git a/src/pyconnectwise/endpoints/automate/RoutersEndpoint.py b/src/pyconnectwise/endpoints/automate/RoutersEndpoint.py index 60af4d9e8..7383bcec9 100644 --- a/src/pyconnectwise/endpoints/automate/RoutersEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/RoutersEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechRouter, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechRouter, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechRouter]: diff --git a/src/pyconnectwise/endpoints/automate/ScriptfoldersEndpoint.py b/src/pyconnectwise/endpoints/automate/ScriptfoldersEndpoint.py index 4e68c9987..5a10d8026 100644 --- a/src/pyconnectwise/endpoints/automate/ScriptfoldersEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ScriptfoldersEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechScriptFolder, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechScriptFolder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechScriptFolder]: diff --git a/src/pyconnectwise/endpoints/automate/ScriptfoldersIdEndpoint.py b/src/pyconnectwise/endpoints/automate/ScriptfoldersIdEndpoint.py index 001f14f4c..e6b00bd9c 100644 --- a/src/pyconnectwise/endpoints/automate/ScriptfoldersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ScriptfoldersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechScriptFolder, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechScriptFolder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LabTechScriptFolder: diff --git a/src/pyconnectwise/endpoints/automate/ScriptingEndpoint.py b/src/pyconnectwise/endpoints/automate/ScriptingEndpoint.py index c34c59798..cbc74e7fb 100644 --- a/src/pyconnectwise/endpoints/automate/ScriptingEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ScriptingEndpoint.py @@ -10,9 +10,9 @@ class ScriptingEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "Scripting", parent_endpoint=parent_endpoint) - self.scriptschedules = self._register_child_endpoint( - ScriptingScriptschedulesEndpoint(client, parent_endpoint=self) - ) self.runningscripts = self._register_child_endpoint( ScriptingRunningscriptsEndpoint(client, parent_endpoint=self) ) + self.scriptschedules = self._register_child_endpoint( + ScriptingScriptschedulesEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/automate/ScriptingRunningscriptsEndpoint.py b/src/pyconnectwise/endpoints/automate/ScriptingRunningscriptsEndpoint.py index 750b7c430..cf09d9b14 100644 --- a/src/pyconnectwise/endpoints/automate/ScriptingRunningscriptsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ScriptingRunningscriptsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateRunningScript, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateRunningScript, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateRunningScript]: diff --git a/src/pyconnectwise/endpoints/automate/ScriptingScriptschedulesEndpoint.py b/src/pyconnectwise/endpoints/automate/ScriptingScriptschedulesEndpoint.py index fd69fdba9..6708c4efa 100644 --- a/src/pyconnectwise/endpoints/automate/ScriptingScriptschedulesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/ScriptingScriptschedulesEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateScheduledScript, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateScheduledScript, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateScheduledScript]: diff --git a/src/pyconnectwise/endpoints/automate/SearchesEndpoint.py b/src/pyconnectwise/endpoints/automate/SearchesEndpoint.py index 826650cf1..1f2748612 100644 --- a/src/pyconnectwise/endpoints/automate/SearchesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/SearchesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechSearch, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechSearch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechSearch]: diff --git a/src/pyconnectwise/endpoints/automate/SearchfoldersEndpoint.py b/src/pyconnectwise/endpoints/automate/SearchfoldersEndpoint.py index 82399448d..4e1acc5a7 100644 --- a/src/pyconnectwise/endpoints/automate/SearchfoldersEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/SearchfoldersEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechSearchFolder, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechSearchFolder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechSearchFolder]: diff --git a/src/pyconnectwise/endpoints/automate/SensorchecksEndpoint.py b/src/pyconnectwise/endpoints/automate/SensorchecksEndpoint.py index 4c3e5fa3a..0de079953 100644 --- a/src/pyconnectwise/endpoints/automate/SensorchecksEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/SensorchecksEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechSensorCheck, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechSensorCheck, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechSensorCheck]: diff --git a/src/pyconnectwise/endpoints/automate/SystemServerinformationEndpoint.py b/src/pyconnectwise/endpoints/automate/SystemServerinformationEndpoint.py index 72b0f6f0b..7258b334c 100644 --- a/src/pyconnectwise/endpoints/automate/SystemServerinformationEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/SystemServerinformationEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateServerInformation, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateServerInformation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateServerInformation]: diff --git a/src/pyconnectwise/endpoints/automate/SystemcontactsEndpoint.py b/src/pyconnectwise/endpoints/automate/SystemcontactsEndpoint.py index 927fde4c7..935c044c6 100644 --- a/src/pyconnectwise/endpoints/automate/SystemcontactsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/SystemcontactsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechContact, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechContact]: diff --git a/src/pyconnectwise/endpoints/automate/TemplateavailablepropertiesEndpoint.py b/src/pyconnectwise/endpoints/automate/TemplateavailablepropertiesEndpoint.py index d51f548ec..8acbe0fd1 100644 --- a/src/pyconnectwise/endpoints/automate/TemplateavailablepropertiesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/TemplateavailablepropertiesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechTemplateAvailableProperty, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechTemplateAvailableProperty, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/automate/TemplatepropertiesEndpoint.py b/src/pyconnectwise/endpoints/automate/TemplatepropertiesEndpoint.py index c43a24b06..bb5a6179f 100644 --- a/src/pyconnectwise/endpoints/automate/TemplatepropertiesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/TemplatepropertiesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechTemplateProperty, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechTemplateProperty, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechTemplateProperty]: diff --git a/src/pyconnectwise/endpoints/automate/UserauditsEndpoint.py b/src/pyconnectwise/endpoints/automate/UserauditsEndpoint.py index aa33c448f..5ed956afc 100644 --- a/src/pyconnectwise/endpoints/automate/UserauditsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/UserauditsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechUserAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechUserAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechUserAudit]: diff --git a/src/pyconnectwise/endpoints/automate/UserclassesEndpoint.py b/src/pyconnectwise/endpoints/automate/UserclassesEndpoint.py index 2026770c5..b70dd5cd5 100644 --- a/src/pyconnectwise/endpoints/automate/UserclassesEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/UserclassesEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateUserClass, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateUserClass, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutomateUserClass]: diff --git a/src/pyconnectwise/endpoints/automate/UserclassesIdEndpoint.py b/src/pyconnectwise/endpoints/automate/UserclassesIdEndpoint.py index 729f3e75e..1858fc27a 100644 --- a/src/pyconnectwise/endpoints/automate/UserclassesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/UserclassesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateUserClass, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateUserClass, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AutomateUserClass: diff --git a/src/pyconnectwise/endpoints/automate/UsersFoldersIdEndpoint.py b/src/pyconnectwise/endpoints/automate/UsersFoldersIdEndpoint.py index 173f64dfa..48166b9b9 100644 --- a/src/pyconnectwise/endpoints/automate/UsersFoldersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/UsersFoldersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateUserFolder, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateUserFolder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AutomateUserFolder: diff --git a/src/pyconnectwise/endpoints/automate/UsersIdEndpoint.py b/src/pyconnectwise/endpoints/automate/UsersIdEndpoint.py index d09de8558..7c11f1bf0 100644 --- a/src/pyconnectwise/endpoints/automate/UsersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/UsersIdEndpoint.py @@ -14,8 +14,8 @@ class UsersIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.settings = self._register_child_endpoint(UsersIdSettingsEndpoint(client, parent_endpoint=self)) self.useraccess = self._register_child_endpoint(UsersIdUseraccessEndpoint(client, parent_endpoint=self)) + self.settings = self._register_child_endpoint(UsersIdSettingsEndpoint(client, parent_endpoint=self)) self.authlink = self._register_child_endpoint(UsersIdAuthlinkEndpoint(client, parent_endpoint=self)) self.favorites = self._register_child_endpoint(UsersIdFavoritesEndpoint(client, parent_endpoint=self)) self.changepassword = self._register_child_endpoint(UsersIdChangepasswordEndpoint(client, parent_endpoint=self)) @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutomateUser, - self, - page, - page_size, + super()._make_request("GET", params=params), AutomateUser, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AutomateUser: diff --git a/src/pyconnectwise/endpoints/automate/VirusscannerdefsEndpoint.py b/src/pyconnectwise/endpoints/automate/VirusscannerdefsEndpoint.py index 4235e7050..6e4807af8 100644 --- a/src/pyconnectwise/endpoints/automate/VirusscannerdefsEndpoint.py +++ b/src/pyconnectwise/endpoints/automate/VirusscannerdefsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LabTechVirusScannerDef, - self, - page, - page_size, + super()._make_request("GET", params=params), LabTechVirusScannerDef, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LabTechVirusScannerDef]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsCountEndpoint.py index 55cfe543e..773242623 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsEndpoint.py index 54d63e3a0..b94bf8be2 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsEndpoint.py @@ -12,8 +12,8 @@ class CompanyAddressformatsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "addressFormats", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyAddressformatsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyAddressformatsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyAddressformatsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyAddressformatsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AddressFormat, - self, - page, - page_size, + super()._make_request("GET", params=params), AddressFormat, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AddressFormat]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdEndpoint.py index 70b217111..0a479eaaa 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AddressFormat, - self, - page, - page_size, + super()._make_request("GET", params=params), AddressFormat, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AddressFormat: diff --git a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdInfoEndpoint.py index 0b8036e7b..f957decff 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AddressFormatInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AddressFormatInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AddressFormatInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoCountEndpoint.py index db3326af0..618465f75 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoEndpoint.py index e30d53d22..584c8699e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyAddressformatsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AddressFormatInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AddressFormatInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AddressFormatInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyBillingsetupsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyBillingsetupsInfoCountEndpoint.py index cffd2e49c..9123042ee 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyBillingsetupsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyBillingsetupsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesCountEndpoint.py index ca6d663ae..f41923373 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesEndpoint.py index 5631e5f98..79eebc3bc 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesEndpoint.py @@ -12,8 +12,8 @@ class CompanyCommunicationtypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "communicationTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyCommunicationtypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyCommunicationtypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyCommunicationtypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyCommunicationtypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CommunicationType, - self, - page, - page_size, + super()._make_request("GET", params=params), CommunicationType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CommunicationType]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdEndpoint.py index 2539dbe3d..cd39d90ad 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdEndpoint.py @@ -34,11 +34,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CommunicationType, - self, - page, - page_size, + super()._make_request("GET", params=params), CommunicationType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CommunicationType: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdInfoEndpoint.py index 1eb84c501..c907d95d7 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CommunicationTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CommunicationTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CommunicationTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesEndpoint.py index 6367a2411..6612dd271 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesListEndpoint.py index 61eb978df..f955bcbbe 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoCountEndpoint.py index 62349d589..42f110383 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoEndpoint.py index 1e00a35a5..0e4d26f45 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCommunicationtypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CommunicationTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CommunicationTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CommunicationTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesCountEndpoint.py index 7509b9bc7..9aad3de06 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesDefaultEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesDefaultEndpoint.py index a46739a79..c4a81009d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesDefaultEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesDefaultEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Company, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Company, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Company: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesEndpoint.py index c3529a481..c31d025d1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesEndpoint.py @@ -16,8 +16,8 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "companies", parent_endpoint=parent_endpoint) self.info = self._register_child_endpoint(CompanyCompaniesInfoEndpoint(client, parent_endpoint=self)) - self.types = self._register_child_endpoint(CompanyCompaniesTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyCompaniesCountEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(CompanyCompaniesTypesEndpoint(client, parent_endpoint=self)) self.default = self._register_child_endpoint(CompanyCompaniesDefaultEndpoint(client, parent_endpoint=self)) self.statuses = self._register_child_endpoint(CompanyCompaniesStatusesEndpoint(client, parent_endpoint=self)) @@ -47,13 +47,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Company, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Company, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Company]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesCountEndpoint.py index b5b66f739..c156859b0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesEndpoint.py index cbd221b4a..fb4571fc6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyCustomNote, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyCustomNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyCustomNote]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesIdEndpoint.py index c20dec874..05849cf6c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdCustomstatusnotesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyCustomNote, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyCustomNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyCustomNote: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdEndpoint.py index 0e51615f5..e85ab1b4a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdEndpoint.py @@ -27,29 +27,29 @@ class CompanyCompaniesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.sites = self._register_child_endpoint(CompanyCompaniesIdSitesEndpoint(client, parent_endpoint=self)) + self.usages = self._register_child_endpoint(CompanyCompaniesIdUsagesEndpoint(client, parent_endpoint=self)) + self.groups = self._register_child_endpoint(CompanyCompaniesIdGroupsEndpoint(client, parent_endpoint=self)) self.management_report_notifications = self._register_child_endpoint( CompanyCompaniesIdManagementreportnotificationsEndpoint(client, parent_endpoint=self) ) - self.groups = self._register_child_endpoint(CompanyCompaniesIdGroupsEndpoint(client, parent_endpoint=self)) + self.merge = self._register_child_endpoint(CompanyCompaniesIdMergeEndpoint(client, parent_endpoint=self)) + self.teams = self._register_child_endpoint(CompanyCompaniesIdTeamsEndpoint(client, parent_endpoint=self)) + self.tracks = self._register_child_endpoint(CompanyCompaniesIdTracksEndpoint(client, parent_endpoint=self)) self.custom_status_notes = self._register_child_endpoint( CompanyCompaniesIdCustomstatusnotesEndpoint(client, parent_endpoint=self) ) - self.surveys = self._register_child_endpoint(CompanyCompaniesIdSurveysEndpoint(client, parent_endpoint=self)) - self.teams = self._register_child_endpoint(CompanyCompaniesIdTeamsEndpoint(client, parent_endpoint=self)) + self.notes = self._register_child_endpoint(CompanyCompaniesIdNotesEndpoint(client, parent_endpoint=self)) + self.management_summary_reports = self._register_child_endpoint( + CompanyCompaniesIdManagementsummaryreportsEndpoint(client, parent_endpoint=self) + ) self.type_associations = self._register_child_endpoint( CompanyCompaniesIdTypeassociationsEndpoint(client, parent_endpoint=self) ) - self.merge = self._register_child_endpoint(CompanyCompaniesIdMergeEndpoint(client, parent_endpoint=self)) self.management_report_setup = self._register_child_endpoint( CompanyCompaniesIdManagementreportsetupEndpoint(client, parent_endpoint=self) ) - self.notes = self._register_child_endpoint(CompanyCompaniesIdNotesEndpoint(client, parent_endpoint=self)) - self.usages = self._register_child_endpoint(CompanyCompaniesIdUsagesEndpoint(client, parent_endpoint=self)) - self.management_summary_reports = self._register_child_endpoint( - CompanyCompaniesIdManagementsummaryreportsEndpoint(client, parent_endpoint=self) - ) - self.sites = self._register_child_endpoint(CompanyCompaniesIdSitesEndpoint(client, parent_endpoint=self)) - self.tracks = self._register_child_endpoint(CompanyCompaniesIdTracksEndpoint(client, parent_endpoint=self)) + self.surveys = self._register_child_endpoint(CompanyCompaniesIdSurveysEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Company]: """ @@ -64,13 +64,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Company, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Company, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Company: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsCountEndpoint.py index e9a91014b..d63aa266d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsEndpoint.py index 6d6d4229c..e3f8c8a70 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyGroup, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyGroup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyGroup]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsIdEndpoint.py index a9225db2b..34bc988e1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdGroupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyGroup, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyGroup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyGroup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsCountEndpoint.py index c7cb373f6..08af35608 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsEndpoint.py index b205dd775..7688ff941 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementReportNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementReportNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementReportNotification]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsIdEndpoint.py index 30fecfbc6..04cd00940 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportnotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementReportNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementReportNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagementReportNotification: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportsetupEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportsetupEndpoint.py index d8f370039..f19e458f1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportsetupEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementreportsetupEndpoint.py @@ -40,11 +40,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementReportSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementReportSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementReportSetup]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsCountEndpoint.py index 8e94dceb3..542235bb3 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsEndpoint.py index 5038c49f4..4d5564ab7 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyManagementSummary, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyManagementSummary, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyManagementSummary]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsIdEndpoint.py index a1328a66e..cf236df2f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdManagementsummaryreportsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyManagementSummary, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyManagementSummary, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyManagementSummary: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesCountEndpoint.py index 6fe7faada..440354e7c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesEndpoint.py index 7450a7ea2..775caeced 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyNote, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyNote]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesIdEndpoint.py index c2c71b53b..150e6fa30 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdNotesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyNote, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyNote: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesCountEndpoint.py index ef125480d..73e6b1910 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesEndpoint.py index 243d5a2f8..7e86c7732 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanySite, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanySite, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanySite]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdEndpoint.py index d557fb9f9..7d96ebc09 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdEndpoint.py @@ -29,11 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanySite, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanySite, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanySite: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesEndpoint.py index 5c4321833..70ebf3013 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesListEndpoint.py index 32ff42b1c..a9b9f1a2f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSitesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSurveysCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSurveysCountEndpoint.py index 27d15b9a0..6b58968df 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSurveysCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdSurveysCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsCountEndpoint.py index aeb5403c5..fd16c0370 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsEndpoint.py index 64a8449a1..cb7febeb7 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyTeam, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyTeam, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyTeam]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsIdEndpoint.py index 8b923ce2d..fe0e45792 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTeamsIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyTeam, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyTeam, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyTeam: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksCountEndpoint.py index 46eca8045..51bda7a11 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksEndpoint.py index b6acbecb1..cd553fd7c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactTrack, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactTrack, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactTrack]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksIdEndpoint.py index 65f700c39..1118473c6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTracksIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactTrack, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactTrack, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactTrack: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsCountEndpoint.py index c1b4a81a2..0a1d51a07 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsEndpoint.py index 6f684b339..a6fdf08dd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsEndpoint.py @@ -51,6 +51,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsIdEndpoint.py index 465c65331..78f0fe2c1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdTypeassociationsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesEndpoint.py index 31c92b749..57dd5843e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesListEndpoint.py index 478774b80..e219d646a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesCountEndpoint.py index bc1687102..1bf667b21 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesEndpoint.py index 3a5bda0e5..8baa08019 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesIdEndpoint.py index 8d087cce8..b52057082 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesInfoTypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesCountEndpoint.py index 5ec33033b..77b56ae60 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesEndpoint.py index 9497db4cf..858ff9988 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyStatus]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdEndpoint.py index d04ae4330..c273e6c83 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyStatus: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesEndpoint.py index 9c852a327..a65632370 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesListEndpoint.py index 9e7569571..2c56da416 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesStatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesCountEndpoint.py index d23cd95b3..c70aaf94b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesEndpoint.py index 82ad626fa..bfdc8ad97 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyType, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyType]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdEndpoint.py index 01dba735c..393872278 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyType, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyType: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesEndpoint.py index 30a98b07a..a8e8ee565 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesListEndpoint.py index 698b561ba..b7bb07d7d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompaniesTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsCountEndpoint.py index 0856594cf..66d2240dd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsEndpoint.py index 35f4be152..45faa5053 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsEndpoint.py @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyPickerItem, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyPickerItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyPickerItem]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsIdEndpoint.py index c98da215b..968e487c8 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompanypickeritemsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyPickerItem, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyPickerItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyPickerItem: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsCountEndpoint.py index 155889dac..881b6ee6a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsEndpoint.py index 1ae05fc6c..1d5c7e612 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyCompanyTypeAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyCompanyTypeAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyCompanyTypeAssociation]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsIdEndpoint.py index 5fd484d72..a1b9eb064 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCompanytypeassociationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyCompanyTypeAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyCompanyTypeAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyCompanyTypeAssociation: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsCountEndpoint.py index 5af2e6bc5..130f18eff 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsEndpoint.py index 659efc601..1b94cf776 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsEndpoint.py @@ -15,8 +15,8 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "configurations", parent_endpoint=parent_endpoint) self.bulk = self._register_child_endpoint(CompanyConfigurationsBulkEndpoint(client, parent_endpoint=self)) - self.types = self._register_child_endpoint(CompanyConfigurationsTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyConfigurationsCountEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(CompanyConfigurationsTypesEndpoint(client, parent_endpoint=self)) self.statuses = self._register_child_endpoint( CompanyConfigurationsStatusesEndpoint(client, parent_endpoint=self) ) @@ -50,11 +50,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyConfiguration]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsIdEndpoint.py index b7c2ea49a..dcccfbad0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyConfiguration: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesCountEndpoint.py index 870376709..ebeba2421 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesEndpoint.py index b3c608734..15519c471 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesEndpoint.py @@ -15,12 +15,12 @@ class CompanyConfigurationsStatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "statuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - CompanyConfigurationsStatusesInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( CompanyConfigurationsStatusesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + CompanyConfigurationsStatusesInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> CompanyConfigurationsStatusesIdEndpoint: """ @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationStatus]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdEndpoint.py index 68da67966..1b81cae9f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationStatus: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdInfoEndpoint.py index 2dbbbd827..19a54e5c8 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesEndpoint.py index a4b9c8156..834575c75 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesListEndpoint.py index 5f944d33d..1d0f46de1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoCountEndpoint.py index fb27c2291..e2b69521f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoEndpoint.py index 002333c9c..08c64d1f9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsStatusesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesCountEndpoint.py index dfc2850cc..17ce5f884 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesEndpoint.py index 47794e08d..6b85b3086 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesEndpoint.py @@ -47,11 +47,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationType, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationType]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdEndpoint.py index e040e8377..d657f62b6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdEndpoint.py @@ -41,11 +41,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationType, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationType: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdInfoEndpoint.py index b77d96627..ed89f70f7 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsCountEndpoint.py index dc7ed53cb..8768afa0a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsEndpoint.py index 7805961f3..0ca286bbd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestion, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationTypeQuestion]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdEndpoint.py index f21958387..d87982d76 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestion, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationTypeQuestion: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesCountEndpoint.py index 0d9bf6e66..bdd28a0a5 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesEndpoint.py index 4f452e817..f54371813 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestionValue, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestionValue, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationTypeQuestionValue]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdEndpoint.py index a279de19a..6d7ab3c1e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestionValue, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestionValue, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationTypeQuestionValue: diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesEndpoint.py index e3ac53de3..65c35a122 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesListEndpoint.py index 929fa0ba4..2c1401c83 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdQuestionsIdValuesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesEndpoint.py index e404edd70..50d4dcd41 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesListEndpoint.py index 1272892ef..a53735804 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyConfigurationsTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactTypesIdUsagesListEndpoint.py index f978f3025..be4e931c0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsCountEndpoint.py index db57cfe25..bd5a966f9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDefaultEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDefaultEndpoint.py index 6e612d379..db630f50a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDefaultEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDefaultEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Contact, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Contact, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Contact: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsCountEndpoint.py index 7df5e7c41..67fc2bd3e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsEndpoint.py index 20608dbec..92aa42835 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsEndpoint.py @@ -13,10 +13,10 @@ class CompanyContactsDepartmentsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "departments", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyContactsDepartmentsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint( CompanyContactsDepartmentsCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(CompanyContactsDepartmentsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyContactsDepartmentsIdEndpoint: """ @@ -47,11 +47,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactDepartment, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactDepartment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactDepartment]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdEndpoint.py index a7e5f0654..d14b64000 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactDepartment, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactDepartment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactDepartment: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdInfoEndpoint.py index 3ae8929e3..7b7b5643c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactDepartmentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactDepartmentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactDepartmentInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesEndpoint.py index f181c7a44..e220b3135 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesListEndpoint.py index 009b4dc42..a207f902a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoCountEndpoint.py index 88881688d..4ccac799d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoEndpoint.py index bdb410cdc..d538871aa 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsDepartmentsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactDepartmentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactDepartmentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactDepartmentInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsEndpoint.py index 4969ff055..350a01806 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsEndpoint.py @@ -18,21 +18,21 @@ class CompanyContactsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "contacts", parent_endpoint=parent_endpoint) - self.request_password = self._register_child_endpoint( - CompanyContactsRequestpasswordEndpoint(client, parent_endpoint=self) - ) - self.relationships = self._register_child_endpoint( - CompanyContactsRelationshipsEndpoint(client, parent_endpoint=self) + self.validate_portal_credentials = self._register_child_endpoint( + CompanyContactsValidateportalcredentialsEndpoint(client, parent_endpoint=self) ) - self.types = self._register_child_endpoint(CompanyContactsTypesEndpoint(client, parent_endpoint=self)) - self.count = self._register_child_endpoint(CompanyContactsCountEndpoint(client, parent_endpoint=self)) self.departments = self._register_child_endpoint( CompanyContactsDepartmentsEndpoint(client, parent_endpoint=self) ) - self.validate_portal_credentials = self._register_child_endpoint( - CompanyContactsValidateportalcredentialsEndpoint(client, parent_endpoint=self) + self.request_password = self._register_child_endpoint( + CompanyContactsRequestpasswordEndpoint(client, parent_endpoint=self) ) + self.count = self._register_child_endpoint(CompanyContactsCountEndpoint(client, parent_endpoint=self)) self.default = self._register_child_endpoint(CompanyContactsDefaultEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(CompanyContactsTypesEndpoint(client, parent_endpoint=self)) + self.relationships = self._register_child_endpoint( + CompanyContactsRelationshipsEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> CompanyContactsIdEndpoint: """ @@ -60,13 +60,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Contact, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Contact, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Contact]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsCountEndpoint.py index 1a8dd165d..b0935ac1e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsEndpoint.py index 8fe8ecd3f..97c7298f2 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactCommunication, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactCommunication, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactCommunication]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsIdEndpoint.py index 1679d1b2f..ee816c346 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdCommunicationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactCommunication, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactCommunication, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactCommunication: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdEndpoint.py index 5ea32a4e5..930dfe32a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdEndpoint.py @@ -20,20 +20,20 @@ class CompanyContactsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.groups = self._register_child_endpoint(CompanyContactsIdGroupsEndpoint(client, parent_endpoint=self)) + self.usages = self._register_child_endpoint(CompanyContactsIdUsagesEndpoint(client, parent_endpoint=self)) self.communications = self._register_child_endpoint( CompanyContactsIdCommunicationsEndpoint(client, parent_endpoint=self) ) + self.image = self._register_child_endpoint(CompanyContactsIdImageEndpoint(client, parent_endpoint=self)) + self.tracks = self._register_child_endpoint(CompanyContactsIdTracksEndpoint(client, parent_endpoint=self)) + self.notes = self._register_child_endpoint(CompanyContactsIdNotesEndpoint(client, parent_endpoint=self)) self.portal_security = self._register_child_endpoint( CompanyContactsIdPortalsecurityEndpoint(client, parent_endpoint=self) ) - self.groups = self._register_child_endpoint(CompanyContactsIdGroupsEndpoint(client, parent_endpoint=self)) - self.image = self._register_child_endpoint(CompanyContactsIdImageEndpoint(client, parent_endpoint=self)) self.type_associations = self._register_child_endpoint( CompanyContactsIdTypeassociationsEndpoint(client, parent_endpoint=self) ) - self.notes = self._register_child_endpoint(CompanyContactsIdNotesEndpoint(client, parent_endpoint=self)) - self.usages = self._register_child_endpoint(CompanyContactsIdUsagesEndpoint(client, parent_endpoint=self)) - self.tracks = self._register_child_endpoint(CompanyContactsIdTracksEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Contact]: """ @@ -48,13 +48,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Contact, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Contact, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Contact: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsCountEndpoint.py index de51fbf15..3f1a92d9a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsEndpoint.py index 4965555bb..6766e6e73 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactGroup, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactGroup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactGroup]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsIdEndpoint.py index a394e8a53..a0ae7d118 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdGroupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactGroup, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactGroup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactGroup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesCountEndpoint.py index 4ef978431..43f8d88c5 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesEndpoint.py index d30430977..db7952aaa 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactNote]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesIdEndpoint.py index f2db4b786..e902cc35e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdNotesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactNote: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdPortalsecurityEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdPortalsecurityEndpoint.py index 0faa4cd8a..d033767ce 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdPortalsecurityEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdPortalsecurityEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalSecurity, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalSecurity, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PortalSecurity]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksCountEndpoint.py index 5816bbe67..f1ec44257 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksEndpoint.py index 595338ad4..d46539630 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactTrack, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactTrack, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactTrack]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksIdEndpoint.py index c83b56be9..d30060676 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTracksIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactTrack, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactTrack, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactTrack: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsCountEndpoint.py index 6eb5b0c30..81ced3f91 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsEndpoint.py index 133535419..1fcb96348 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsEndpoint.py @@ -51,6 +51,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsIdEndpoint.py index c28191ee7..db405b6b0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdTypeassociationsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesEndpoint.py index 7f18afe76..ab270a5e8 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesListEndpoint.py index 985f77660..6488548bd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsCountEndpoint.py index 451a55fa1..e79f64bce 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsEndpoint.py index e745e6241..2ecc22d39 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactRelationship, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactRelationship, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactRelationship]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsIdEndpoint.py index 171cc964d..4b8b78695 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsRelationshipsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactRelationship, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactRelationship, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactRelationship: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountEndpoint.py index 23c37514f..8ae011000 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountInfoEndpoint.py index ee7302a9c..d5970134a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesCountInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesEndpoint.py index 04acfff52..30bb0e692 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesEndpoint.py @@ -12,8 +12,8 @@ class CompanyContactsTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyContactsTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyContactsTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyContactsTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyContactsTypesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactType, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactType]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdEndpoint.py index 7c608b07b..2ab464a69 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactType, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactType: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdInfoEndpoint.py index 39a1bc3bb..370d29ce6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ContactTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesInfoEndpoint.py index bc92a46fd..11e8e4fb2 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsTypesInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ContactTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ContactTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ContactTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyCountEndpoint.py index bbe979cea..532a5449c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyEndpoint.py index 0bdef302d..431293951 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncCompany, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncCompany, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[M365ContactSyncCompany]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyIdEndpoint.py index ee9786240..b583cdcbb 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanyIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncCompany, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncCompany, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365ContactSyncCompany: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanysyncIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanysyncIdEndpoint.py index 877a9ad4d..fcb4ca964 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanysyncIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContactsyncCompanysyncIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncCompany, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncCompany, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365ContactSyncCompany: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsCountEndpoint.py index 4e975754f..d0d97876a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsEndpoint.py index fdbbb6a9c..f908641a0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyContactTypeAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyContactTypeAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyContactTypeAssociation]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsIdEndpoint.py index fd2fff7fd..30b110826 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyContacttypeassociationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyContactTypeAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyContactTypeAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyContactTypeAssociation: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCountriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCountriesCountEndpoint.py index 06d535fc0..699f3a9ec 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCountriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCountriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCountriesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCountriesEndpoint.py index 6e779698b..94a1461a5 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCountriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCountriesEndpoint.py @@ -12,8 +12,8 @@ class CompanyCountriesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "countries", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyCountriesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyCountriesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyCountriesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyCountriesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Country, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Country, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Country]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCountriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCountriesIdEndpoint.py index 0e15d4a51..652d06ec9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCountriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCountriesIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Country, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Country, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Country: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCountriesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCountriesIdInfoEndpoint.py index 12ab3ca83..82cd8280f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCountriesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCountriesIdInfoEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CountryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CountryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CountryInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoCountEndpoint.py index 38b4fa414..a772925df 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoEndpoint.py index d452496ac..2dd7463ab 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyCountriesInfoEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CountryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CountryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CountryInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyEndpoint.py index b160bc3ad..0bfea0ffb 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyEndpoint.py @@ -40,65 +40,65 @@ class CompanyEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "company", parent_endpoint=parent_endpoint) - self.portal_configurations = self._register_child_endpoint( - CompanyPortalconfigurationsEndpoint(client, parent_endpoint=self) + self.companies = self._register_child_endpoint(CompanyCompaniesEndpoint(client, parent_endpoint=self)) + self.countries = self._register_child_endpoint(CompanyCountriesEndpoint(client, parent_endpoint=self)) + self.portal_security_settings = self._register_child_endpoint( + CompanyPortalsecuritysettingsEndpoint(client, parent_endpoint=self) ) - self.managed_devices_integrations = self._register_child_endpoint( - CompanyManageddevicesintegrationsEndpoint(client, parent_endpoint=self) + self.ownership_types = self._register_child_endpoint( + CompanyOwnershiptypesEndpoint(client, parent_endpoint=self) ) - self.team_roles = self._register_child_endpoint(CompanyTeamrolesEndpoint(client, parent_endpoint=self)) - self.billing_setups = self._register_child_endpoint(CompanyBillingsetupsEndpoint(client, parent_endpoint=self)) - self.note_types = self._register_child_endpoint(CompanyNotetypesEndpoint(client, parent_endpoint=self)) - self.contactsync = self._register_child_endpoint(CompanyContactsyncEndpoint(client, parent_endpoint=self)) - self.entity_types = self._register_child_endpoint(CompanyEntitytypesEndpoint(client, parent_endpoint=self)) - self.management_it_solutions = self._register_child_endpoint( - CompanyManagementitsolutionsEndpoint(client, parent_endpoint=self) + self.company_picker_items = self._register_child_endpoint( + CompanyCompanypickeritemsEndpoint(client, parent_endpoint=self) ) - self.expense_types = self._register_child_endpoint(CompanyExpensetypesEndpoint(client, parent_endpoint=self)) self.contacts = self._register_child_endpoint(CompanyContactsEndpoint(client, parent_endpoint=self)) + self.management_backups = self._register_child_endpoint( + CompanyManagementbackupsEndpoint(client, parent_endpoint=self) + ) + self.billing_setups = self._register_child_endpoint(CompanyBillingsetupsEndpoint(client, parent_endpoint=self)) + self.entity_types = self._register_child_endpoint(CompanyEntitytypesEndpoint(client, parent_endpoint=self)) self.portal_security_levels = self._register_child_endpoint( CompanyPortalsecuritylevelsEndpoint(client, parent_endpoint=self) ) - self.company_picker_items = self._register_child_endpoint( - CompanyCompanypickeritemsEndpoint(client, parent_endpoint=self) - ) - self.tracks = self._register_child_endpoint(CompanyTracksEndpoint(client, parent_endpoint=self)) - self.company_finance = self._register_child_endpoint( - CompanyCompanyfinanceEndpoint(client, parent_endpoint=self) - ) + self.entitytypes = self._register_child_endpoint(CompanyEntitytypesEndpoint(client, parent_endpoint=self)) self.company_type_associations = self._register_child_endpoint( CompanyCompanytypeassociationsEndpoint(client, parent_endpoint=self) ) - self.contact_type_associations = self._register_child_endpoint( - CompanyContacttypeassociationsEndpoint(client, parent_endpoint=self) + self.management = self._register_child_endpoint(CompanyManagementEndpoint(client, parent_endpoint=self)) + self.company_finance = self._register_child_endpoint( + CompanyCompanyfinanceEndpoint(client, parent_endpoint=self) ) + self.note_types = self._register_child_endpoint(CompanyNotetypesEndpoint(client, parent_endpoint=self)) self.states = self._register_child_endpoint(CompanyStatesEndpoint(client, parent_endpoint=self)) - self.companies = self._register_child_endpoint(CompanyCompaniesEndpoint(client, parent_endpoint=self)) - self.payment_types = self._register_child_endpoint(CompanyPaymenttypesEndpoint(client, parent_endpoint=self)) - self.management_backups = self._register_child_endpoint( - CompanyManagementbackupsEndpoint(client, parent_endpoint=self) + self.managed_devices_integrations = self._register_child_endpoint( + CompanyManageddevicesintegrationsEndpoint(client, parent_endpoint=self) ) - self.ownership_types = self._register_child_endpoint( - CompanyOwnershiptypesEndpoint(client, parent_endpoint=self) + self.expense_types = self._register_child_endpoint(CompanyExpensetypesEndpoint(client, parent_endpoint=self)) + self.management_it_solutions = self._register_child_endpoint( + CompanyManagementitsolutionsEndpoint(client, parent_endpoint=self) ) - self.entitytypes = self._register_child_endpoint(CompanyEntitytypesEndpoint(client, parent_endpoint=self)) + self.team_roles = self._register_child_endpoint(CompanyTeamrolesEndpoint(client, parent_endpoint=self)) self.market_descriptions = self._register_child_endpoint( CompanyMarketdescriptionsEndpoint(client, parent_endpoint=self) ) - self.portal_security_settings = self._register_child_endpoint( - CompanyPortalsecuritysettingsEndpoint(client, parent_endpoint=self) + self.contact = self._register_child_endpoint(CompanyContactEndpoint(client, parent_endpoint=self)) + self.m365contact = self._register_child_endpoint(CompanyM365contactEndpoint(client, parent_endpoint=self)) + self.contactsync = self._register_child_endpoint(CompanyContactsyncEndpoint(client, parent_endpoint=self)) + self.contact_type_associations = self._register_child_endpoint( + CompanyContacttypeassociationsEndpoint(client, parent_endpoint=self) ) + self.communication_types = self._register_child_endpoint( + CompanyCommunicationtypesEndpoint(client, parent_endpoint=self) + ) + self.tracks = self._register_child_endpoint(CompanyTracksEndpoint(client, parent_endpoint=self)) + self.payment_types = self._register_child_endpoint(CompanyPaymenttypesEndpoint(client, parent_endpoint=self)) self.configurations = self._register_child_endpoint(CompanyConfigurationsEndpoint(client, parent_endpoint=self)) self.address_formats = self._register_child_endpoint( CompanyAddressformatsEndpoint(client, parent_endpoint=self) ) - self.communication_types = self._register_child_endpoint( - CompanyCommunicationtypesEndpoint(client, parent_endpoint=self) - ) - self.contact = self._register_child_endpoint(CompanyContactEndpoint(client, parent_endpoint=self)) - self.countries = self._register_child_endpoint(CompanyCountriesEndpoint(client, parent_endpoint=self)) - self.m365contact = self._register_child_endpoint(CompanyM365contactEndpoint(client, parent_endpoint=self)) - self.management = self._register_child_endpoint(CompanyManagementEndpoint(client, parent_endpoint=self)) self.m365contactsync = self._register_child_endpoint( CompanyM365contactsyncEndpoint(client, parent_endpoint=self) ) + self.portal_configurations = self._register_child_endpoint( + CompanyPortalconfigurationsEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/manage/CompanyEntitytypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyEntitytypesCountEndpoint.py index 723f4175a..4325408c8 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyEntitytypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyEntitytypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyEntitytypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyEntitytypesIdInfoEndpoint.py index c4a0516f5..7f9ea5540 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyEntitytypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyEntitytypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EntityTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), EntityTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EntityTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyEntitytypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyEntitytypesInfoCountEndpoint.py index fa92f5ba1..0b5c991cd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyEntitytypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyEntitytypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyExpensetypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyExpensetypesInfoCountEndpoint.py index abc71ee47..d3d5a1577 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyExpensetypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyExpensetypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactCountEndpoint.py index 510ac14f8..f358e8896 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactEndpoint.py index a2302c11c..01ebbf5cf 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365Contact, - self, - page, - page_size, + super()._make_request("GET", params=params), M365Contact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[M365Contact]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactIdEndpoint.py index e8d87bf31..eebc56f7f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365Contact, - self, - page, - page_size, + super()._make_request("GET", params=params), M365Contact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365Contact: diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncIdPropertyEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncIdPropertyEndpoint.py index 18f11b2c2..319c10ce5 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncIdPropertyEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncIdPropertyEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncProperty, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncProperty, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365ContactSyncProperty: diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyCountEndpoint.py index 8b45592b5..1dba2330a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyEndpoint.py index a50fd06a2..63b91d552 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyEndpoint.py @@ -15,12 +15,12 @@ class CompanyM365contactsyncPropertyEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "property", parent_endpoint=parent_endpoint) - self.excluded = self._register_child_endpoint( - CompanyM365contactsyncPropertyExcludedEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( CompanyM365contactsyncPropertyCountEndpoint(client, parent_endpoint=self) ) + self.excluded = self._register_child_endpoint( + CompanyM365contactsyncPropertyExcludedEndpoint(client, parent_endpoint=self) + ) self.included = self._register_child_endpoint( CompanyM365contactsyncPropertyIncludedEndpoint(client, parent_endpoint=self) ) diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyExcludedEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyExcludedEndpoint.py index ec7d6749d..38237fe0f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyExcludedEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyExcludedEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncProperty, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncProperty, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[M365ContactSyncProperty]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyIncludedEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyIncludedEndpoint.py index 0692204bd..37f981738 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyIncludedEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyM365contactsyncPropertyIncludedEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncProperty, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncProperty, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[M365ContactSyncProperty]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsCountEndpoint.py index d62f792ad..136b73357 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsEndpoint.py index 6d14129f6..b4099fa7e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsEndpoint.py @@ -15,12 +15,12 @@ class CompanyManageddevicesintegrationsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "managedDevicesIntegrations", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - CompanyManageddevicesintegrationsInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( CompanyManageddevicesintegrationsCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + CompanyManageddevicesintegrationsInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> CompanyManageddevicesintegrationsIdEndpoint: """ @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDevicesIntegration, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDevicesIntegration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagedDevicesIntegration]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesCountEndpoint.py index 6bbc1c546..c130b3aa9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesEndpoint.py index cefe320a0..68f46d46a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesEndpoint.py @@ -51,6 +51,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesIdEndpoint.py index dd1e0ee1a..9033868dc 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdCrossreferencesIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdEndpoint.py index 510091f58..1e939d0e6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdEndpoint.py @@ -19,8 +19,8 @@ class CompanyManageddevicesintegrationsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.logins = self._register_child_endpoint( - CompanyManageddevicesintegrationsIdLoginsEndpoint(client, parent_endpoint=self) + self.usages = self._register_child_endpoint( + CompanyManageddevicesintegrationsIdUsagesEndpoint(client, parent_endpoint=self) ) self.info = self._register_child_endpoint( CompanyManageddevicesintegrationsIdInfoEndpoint(client, parent_endpoint=self) @@ -28,12 +28,12 @@ def __init__(self, client, parent_endpoint=None): self.cross_references = self._register_child_endpoint( CompanyManageddevicesintegrationsIdCrossreferencesEndpoint(client, parent_endpoint=self) ) + self.logins = self._register_child_endpoint( + CompanyManageddevicesintegrationsIdLoginsEndpoint(client, parent_endpoint=self) + ) self.notifications = self._register_child_endpoint( CompanyManageddevicesintegrationsIdNotificationsEndpoint(client, parent_endpoint=self) ) - self.usages = self._register_child_endpoint( - CompanyManageddevicesintegrationsIdUsagesEndpoint(client, parent_endpoint=self) - ) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDevicesIntegration, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDevicesIntegration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagedDevicesIntegration: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdInfoEndpoint.py index 37f3967e0..db7a2c4a4 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDevicesIntegrationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDevicesIntegrationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagedDevicesIntegrationInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsCountEndpoint.py index 9be5852fa..c413788e0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsEndpoint.py index 4e778d078..c8273032a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDevicesIntegrationLogin, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDevicesIntegrationLogin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagedDevicesIntegrationLogin]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsIdEndpoint.py index b871b68ab..dd6c64a90 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdLoginsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDevicesIntegrationLogin, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDevicesIntegrationLogin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagedDevicesIntegrationLogin: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsCountEndpoint.py index 2b7afbce2..7d2df85b4 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsEndpoint.py index adbc442e6..70ddad869 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsEndpoint.py @@ -51,6 +51,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsIdEndpoint.py index 57415aad4..ba0436fbf 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdNotificationsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesEndpoint.py index 8105ba543..f29c16291 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesListEndpoint.py index add8c9885..1007810f2 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoCountEndpoint.py index 38cda52af..36eb77df5 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoEndpoint.py index 223f118b0..6571d391a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManageddevicesintegrationsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDevicesIntegrationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDevicesIntegrationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagedDevicesIntegrationInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementCountEndpoint.py index c1bbaefb7..39152d90f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementEndpoint.py index f58feabe4..50726e711 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Management, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Management, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Management]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementIdEndpoint.py index 21c956dbf..43213c47c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementIdEndpoint.py @@ -16,13 +16,13 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) self.log = self._register_child_endpoint(CompanyManagementIdLogEndpoint(client, parent_endpoint=self)) - self.management_report_notifications = self._register_child_endpoint( - CompanyManagementIdManagementreportnotificationsEndpoint(client, parent_endpoint=self) - ) self.logs = self._register_child_endpoint(CompanyManagementIdLogsEndpoint(client, parent_endpoint=self)) self.execute_managed_it_sync = self._register_child_endpoint( CompanyManagementIdExecutemanageditsyncEndpoint(client, parent_endpoint=self) ) + self.management_report_notifications = self._register_child_endpoint( + CompanyManagementIdManagementreportnotificationsEndpoint(client, parent_endpoint=self) + ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Management]: """ @@ -37,13 +37,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Management, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Management, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Management: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementIdLogsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementIdLogsEndpoint.py index 59ce353de..f9316b636 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementIdLogsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementIdLogsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementLogDocumentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementLogDocumentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementLogDocumentInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsCountEndpoint.py index 9f89d6801..e3d13c72b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsEndpoint.py index 1e616151c..be8ba1069 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementReportNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementReportNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementReportNotification]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsIdEndpoint.py index 0d0ced6b2..9e59d6279 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementIdManagementreportnotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementReportNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementReportNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagementReportNotification: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsCountEndpoint.py index 2b9cf08c2..376ae05a6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsEndpoint.py index f8a84c513..3cef820bf 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementBackup, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementBackup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementBackup]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsIdEndpoint.py index a1a351859..28e6be0dd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementbackupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementBackup, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementBackup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagementBackup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsCountEndpoint.py index adf77ae23..14291956a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsEndpoint.py index 97110fbae..0570a6471 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementItSolution, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementItSolution, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementItSolution]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdEndpoint.py index a6190e9b5..81f5382e6 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementItSolution, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementItSolution, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagementItSolution: diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsCountEndpoint.py index cd84aa904..53ebfc52b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsEndpoint.py index e15a506b9..af06c69e9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsEndpoint.py @@ -51,6 +51,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsIdEndpoint.py index 19ad70120..403521b3b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdManagementproductsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesEndpoint.py index 15c90dcde..f9ca7a240 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesListEndpoint.py index e38a31c5c..d6b1001fb 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyManagementitsolutionsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsCountEndpoint.py index 0ed738ec1..ace13527d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsEndpoint.py index 889225784..42789ba7d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsEndpoint.py @@ -12,8 +12,8 @@ class CompanyMarketdescriptionsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "marketDescriptions", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyMarketdescriptionsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyMarketdescriptionsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyMarketdescriptionsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyMarketdescriptionsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketDescription, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketDescription, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MarketDescription]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdEndpoint.py index 87a60af29..6abcb201c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdEndpoint.py @@ -34,11 +34,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketDescription, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketDescription, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MarketDescription: diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdInfoEndpoint.py index 7ebe4be23..f8c4de7f7 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketDescriptionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketDescriptionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MarketDescriptionInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesEndpoint.py index 50de464b4..c58ca4fc9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesListEndpoint.py index 90ffd3e53..04ed07d87 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoCountEndpoint.py index cd2758867..eff90fed3 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoEndpoint.py index e63303232..fe7d23c37 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyMarketdescriptionsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketDescriptionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketDescriptionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MarketDescriptionInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountEndpoint.py index 3ec78d9cf..0c52a128a 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountInfoEndpoint.py index fa27b9f1d..5632f0065 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyNotetypesCountInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyNotetypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyNotetypesEndpoint.py index 89a38b6b5..80ecf41a0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyNotetypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyNotetypesEndpoint.py @@ -12,8 +12,8 @@ class CompanyNotetypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "noteTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyNotetypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyNotetypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyNotetypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyNotetypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyNoteType, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyNoteType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyNoteType]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdEndpoint.py index dd9a672f6..0643f1cea 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyNoteType, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyNoteType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyNoteType: diff --git a/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdInfoEndpoint.py index 16169207e..243760f49 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyNotetypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyNoteTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyNoteTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyNoteTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyNotetypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyNotetypesInfoEndpoint.py index d104776cd..08aa38579 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyNotetypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyNotetypesInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyNoteTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyNoteTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CompanyNoteTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesCountEndpoint.py index b544b780a..602248627 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesEndpoint.py index d586c4d7a..3cbf7c188 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesEndpoint.py @@ -12,8 +12,8 @@ class CompanyOwnershiptypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "ownershipTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyOwnershiptypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyOwnershiptypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyOwnershiptypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyOwnershiptypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OwnershipType, - self, - page, - page_size, + super()._make_request("GET", params=params), OwnershipType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OwnershipType]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdEndpoint.py index f9f90e15a..f49e16c52 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OwnershipType, - self, - page, - page_size, + super()._make_request("GET", params=params), OwnershipType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OwnershipType: diff --git a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdInfoEndpoint.py index f4fd618f5..5f743f1b3 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OwnershipTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OwnershipTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OwnershipTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoCountEndpoint.py index 39da64f32..0b7a996f1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoEndpoint.py index 91b61b03b..f58ff1fc9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyOwnershiptypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OwnershipTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OwnershipTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OwnershipTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPaymenttypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPaymenttypesInfoCountEndpoint.py index 7269715ba..d91d23188 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPaymenttypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPaymenttypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsCountEndpoint.py index a1a0ed315..d64ca6210 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsEndpoint.py index c2597f5d3..3eaeb08aa 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsEndpoint.py @@ -17,12 +17,12 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "portalConfigurations", parent_endpoint=parent_endpoint) self.copy = self._register_child_endpoint(CompanyPortalconfigurationsCopyEndpoint(client, parent_endpoint=self)) - self.invoice_setup = self._register_child_endpoint( - CompanyPortalconfigurationsInvoicesetupEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( CompanyPortalconfigurationsCountEndpoint(client, parent_endpoint=self) ) + self.invoice_setup = self._register_child_endpoint( + CompanyPortalconfigurationsInvoicesetupEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> CompanyPortalconfigurationsIdEndpoint: """ @@ -53,11 +53,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PortalConfiguration]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdEndpoint.py index ff65a4b44..102e43737 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdEndpoint.py @@ -19,15 +19,15 @@ class CompanyPortalconfigurationsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.invoice_setups = self._register_child_endpoint( - CompanyPortalconfigurationsIdInvoicesetupsEndpoint(client, parent_endpoint=self) - ) self.project_setups = self._register_child_endpoint( CompanyPortalconfigurationsIdProjectsetupsEndpoint(client, parent_endpoint=self) ) self.password_email_setups = self._register_child_endpoint( CompanyPortalconfigurationsIdPasswordemailsetupsEndpoint(client, parent_endpoint=self) ) + self.invoice_setups = self._register_child_endpoint( + CompanyPortalconfigurationsIdInvoicesetupsEndpoint(client, parent_endpoint=self) + ) self.opportunity_setups = self._register_child_endpoint( CompanyPortalconfigurationsIdOpportunitysetupsEndpoint(client, parent_endpoint=self) ) @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalConfiguration: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsCountEndpoint.py index e25577157..fdbf36656 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsEndpoint.py index 7f9cf0f3e..c9b940d07 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfigurationInvoiceSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfigurationInvoiceSetup, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsIdEndpoint.py index 46a548f2e..270989b59 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdInvoicesetupsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfigurationInvoiceSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfigurationInvoiceSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalConfigurationInvoiceSetup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsEndpoint.py index 940111d27..511a946a4 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsEndpoint.py @@ -45,6 +45,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsIdEndpoint.py index c3d229a1e..c7eaa2bce 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdOpportunitysetupsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalConfigurationOpportunitySetup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsEndpoint.py index 0d27958bf..4737cdf10 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsEndpoint.py @@ -45,6 +45,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsIdEndpoint.py index eac92a8c5..6a0aa01e1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdPasswordemailsetupsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsCountEndpoint.py index dd26774da..34e16ceec 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsEndpoint.py index 57bacf006..846a3297f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfigurationProjectSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfigurationProjectSetup, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsIdEndpoint.py index 62c6431d5..cedf9834d 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdProjectsetupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfigurationProjectSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfigurationProjectSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalConfigurationProjectSetup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsCountEndpoint.py index 33b015a75..3dca5d6c9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsEndpoint.py index 71ca4570a..549b5ceb1 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfigurationServiceSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfigurationServiceSetup, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsIdEndpoint.py index 17ff3a322..b38a2d786 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsIdServicesetupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalConfigurationServiceSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalConfigurationServiceSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalConfigurationServiceSetup: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsCountEndpoint.py index 0ba5c8792..806794231 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsEndpoint.py index 9b858e087..1a47b14cc 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsEndpoint.py @@ -51,6 +51,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsIdEndpoint.py index 18b6246cf..fb1c06944 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalconfigurationsInvoicesetupPaymentprocessorsIdEndpoint.py @@ -30,6 +30,7 @@ def paginated( self, page, page_size, + params, ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalConfigurationPaymentProcessor: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsCountEndpoint.py index 2545f1698..995203111 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsEndpoint.py index 1518ab634..b0b667b1b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalSecurityLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalSecurityLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PortalSecurityLevel]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsIdEndpoint.py index 59df6d35c..0710491bb 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritylevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalSecurityLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalSecurityLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalSecurityLevel: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsCountEndpoint.py index 4f55c0d38..ad5dc655e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsEndpoint.py index 50149719f..01289db49 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalSecuritySetting, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalSecuritySetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PortalSecuritySetting]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsIdEndpoint.py index da484c393..b1e4653cd 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyPortalsecuritysettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalSecuritySetting, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalSecuritySetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalSecuritySetting: diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesCountEndpoint.py index 8baea4b70..57e1ed375 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesEndpoint.py index ce0c18ad0..40462cbc8 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesEndpoint.py @@ -12,8 +12,8 @@ class CompanyStatesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "states", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyStatesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyStatesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyStatesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyStatesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - State, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), State, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[State]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesIdEndpoint.py index 993bd8299..a00622c87 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - State, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), State, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> State: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesIdInfoEndpoint.py index 91b879308..ec900acd3 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - StateInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), StateInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> StateInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesEndpoint.py index 835c8ce31..007c96f20 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesListEndpoint.py index a506be8ce..234bcd3d3 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesInfoCountEndpoint.py index a94312ea1..9f1a9a7ba 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyStatesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyStatesInfoEndpoint.py index 65f7dd8ef..46680bc89 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyStatesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyStatesInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - StateInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), StateInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[StateInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesCountEndpoint.py index aa6a1d411..8cd6c3e7b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesEndpoint.py index 440c4a655..0c8eaef51 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesEndpoint.py @@ -12,8 +12,8 @@ class CompanyTeamrolesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "teamRoles", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(CompanyTeamrolesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(CompanyTeamrolesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(CompanyTeamrolesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> CompanyTeamrolesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TeamRole, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TeamRole, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TeamRole]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdEndpoint.py index ee2ca7bf8..7072b449b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TeamRole, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TeamRole, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TeamRole: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdInfoEndpoint.py index fd2c17e44..03df3b7ce 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TeamRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TeamRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TeamRoleInfo: diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesEndpoint.py index 184fa4449..b1f5aa1f9 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesListEndpoint.py index 66c6f2d67..7e3b4da6c 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoCountEndpoint.py index 1cacd7ce9..90c43012e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoEndpoint.py index 731246dd7..ac56ec04f 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTeamrolesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TeamRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TeamRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TeamRoleInfo]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyTracksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTracksCountEndpoint.py index 8e6792723..b5cb11399 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTracksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTracksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTracksEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTracksEndpoint.py index b1985ea60..e2b6852b0 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTracksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTracksEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Track, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Track, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Track]: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsCountEndpoint.py index fe440cd42..9b5cc7c7b 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsEndpoint.py index 55d604137..092a34718 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TrackAction, - self, - page, - page_size, + super()._make_request("GET", params=params), TrackAction, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TrackAction]: diff --git a/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsIdEndpoint.py index e958cd5b5..bea3bd15e 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTracksIdActionsIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TrackAction, - self, - page, - page_size, + super()._make_request("GET", params=params), TrackAction, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TrackAction: diff --git a/src/pyconnectwise/endpoints/manage/CompanyTracksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/CompanyTracksIdEndpoint.py index fc5f1d58f..f756f9cfa 100644 --- a/src/pyconnectwise/endpoints/manage/CompanyTracksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/CompanyTracksIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Track, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Track, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Track: """ diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdInfoEndpoint.py index 2b623f120..f4dc1f5a7 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationTypeQuestionInfo: diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesIdInfoEndpoint.py index 1bf15311e..deda2262d 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationTypeQuestionInfo: diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoCountEndpoint.py index 80133e53a..74b499ea2 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoEndpoint.py index 8af1d25f2..5ca51b396 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsIdValuesInfoEndpoint.py @@ -36,6 +36,7 @@ def paginated( self, page, page_size, + params, ) def get( diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoCountEndpoint.py index 0f088b403..2b9487129 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoEndpoint.py index 15997693b..5943493ae 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesIdQuestionsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeQuestionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeQuestionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationTypeQuestionInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoCountEndpoint.py index 6b14db582..efad0e36e 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoEndpoint.py index 04b577f12..4cca7a834 100644 --- a/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ConfigurationsTypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseClassificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseClassificationsCountEndpoint.py index cf720d81a..60f8520f3 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseClassificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseClassificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseClassificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseClassificationsEndpoint.py index 2c8fda350..b3a2fa008 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseClassificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseClassificationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Classification, - self, - page, - page_size, + super()._make_request("GET", params=params), Classification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Classification]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseClassificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseClassificationsIdEndpoint.py index 82d844f98..98d7cec12 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseClassificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseClassificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Classification, - self, - page, - page_size, + super()._make_request("GET", params=params), Classification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Classification: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEndpoint.py index 85fbb577f..fc7b456bd 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEndpoint.py @@ -15,10 +15,10 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "expense", parent_endpoint=parent_endpoint) self.info = self._register_child_endpoint(ExpenseInfoEndpoint(client, parent_endpoint=self)) + self.payment_types = self._register_child_endpoint(ExpensePaymenttypesEndpoint(client, parent_endpoint=self)) + self.entries = self._register_child_endpoint(ExpenseEntriesEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(ExpenseTypesEndpoint(client, parent_endpoint=self)) self.classifications = self._register_child_endpoint( ExpenseClassificationsEndpoint(client, parent_endpoint=self) ) - self.payment_types = self._register_child_endpoint(ExpensePaymenttypesEndpoint(client, parent_endpoint=self)) - self.types = self._register_child_endpoint(ExpenseTypesEndpoint(client, parent_endpoint=self)) - self.entries = self._register_child_endpoint(ExpenseEntriesEndpoint(client, parent_endpoint=self)) self.reports = self._register_child_endpoint(ExpenseReportsEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEntriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEntriesCountEndpoint.py index 960cca502..72b960652 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEntriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEntriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEntriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEntriesEndpoint.py index 8436238dd..d869492d4 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEntriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEntriesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseEntry]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsCountEndpoint.py index 259e47116..c304b26e5 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsEndpoint.py index 0ed7fc4c5..e88ca5afa 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseEntryAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseEntryAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseEntryAudit]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsIdEndpoint.py index 4ae18a0d6..90899b12a 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdAuditsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseEntryAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseEntryAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseEntryAudit: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdEndpoint.py index 772b3721c..1308317b1 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseEntriesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseEntry: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesCountEndpoint.py index dde91c9f7..fcaee113e 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesEndpoint.py index 819f887e8..4624cb95f 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseTaxTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseTaxTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseTaxTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesIdEndpoint.py index 26d2f3a6d..22029e91e 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseInfoTaxtypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseTaxTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseTaxTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseTaxTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesCountEndpoint.py index 41ae3026c..bad43f704 100644 --- a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesEndpoint.py index 564b30511..9d11484e7 100644 --- a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesEndpoint.py @@ -12,8 +12,8 @@ class ExpensePaymenttypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "paymentTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ExpensePaymenttypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ExpensePaymenttypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ExpensePaymenttypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ExpensePaymenttypesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PaymentType, - self, - page, - page_size, + super()._make_request("GET", params=params), PaymentType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PaymentType]: diff --git a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdEndpoint.py index f72ff7fb1..cb4ea11b3 100644 --- a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PaymentType, - self, - page, - page_size, + super()._make_request("GET", params=params), PaymentType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PaymentType: diff --git a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdInfoEndpoint.py index f8d1d3b0f..3d09a1e4f 100644 --- a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PaymentTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), PaymentTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PaymentTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesInfoEndpoint.py index 049c3e5e5..a81658ae4 100644 --- a/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpensePaymenttypesInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PaymentTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), PaymentTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PaymentTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseReportsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseReportsCountEndpoint.py index 92d085dcd..32dc2675e 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseReportsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseReportsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseReportsEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseReportsEndpoint.py index 28cfe5cb0..7ba5fa614 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseReportsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseReportsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseReport, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseReport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseReport]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsCountEndpoint.py index 3f5d36b08..9e6dd7d06 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsEndpoint.py index c19c387a0..0db7a06b6 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseReportAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseReportAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseReportAudit]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsIdEndpoint.py index 71b30c4e2..a20e6dbc8 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdAuditsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseReportAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseReportAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseReportAudit: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdEndpoint.py index d4830f92d..59776c194 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseReportsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseReportsIdEndpoint.py @@ -14,10 +14,10 @@ class ExpenseReportsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.reverse = self._register_child_endpoint(ExpenseReportsIdReverseEndpoint(client, parent_endpoint=self)) self.submit = self._register_child_endpoint(ExpenseReportsIdSubmitEndpoint(client, parent_endpoint=self)) - self.reject = self._register_child_endpoint(ExpenseReportsIdRejectEndpoint(client, parent_endpoint=self)) self.audits = self._register_child_endpoint(ExpenseReportsIdAuditsEndpoint(client, parent_endpoint=self)) + self.reverse = self._register_child_endpoint(ExpenseReportsIdReverseEndpoint(client, parent_endpoint=self)) + self.reject = self._register_child_endpoint(ExpenseReportsIdRejectEndpoint(client, parent_endpoint=self)) self.approve = self._register_child_endpoint(ExpenseReportsIdApproveEndpoint(client, parent_endpoint=self)) def paginated( @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseReport, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseReport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseReport: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseTypesCountEndpoint.py index f1d5c90be..a88f3a5b3 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ExpenseTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseTypesEndpoint.py index 10755f0c0..6eb5fb410 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseTypesEndpoint.py @@ -12,8 +12,8 @@ class ExpenseTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ExpenseTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ExpenseTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ExpenseTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ExpenseTypesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseType, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseType]: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseTypesIdEndpoint.py index 2e1217467..8d1cdcece 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseTypesIdEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseType, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseType: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseTypesIdInfoEndpoint.py index 1eb9f7dc5..cd2fb086e 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ExpenseTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ExpenseTypesInfoEndpoint.py index 11381e176..b721b8434 100644 --- a/src/pyconnectwise/endpoints/manage/ExpenseTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ExpenseTypesInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesCountEndpoint.py index 28e099659..0fcfcf63a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesEndpoint.py index 373913623..0713a746a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AccountingBatch, - self, - page, - page_size, + super()._make_request("GET", params=params), AccountingBatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AccountingBatch]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEndpoint.py index 9d9e785fe..b361e5598 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEndpoint.py @@ -13,12 +13,12 @@ class FinanceAccountingBatchesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.entries = self._register_child_endpoint( - FinanceAccountingBatchesIdEntriesEndpoint(client, parent_endpoint=self) - ) self.export = self._register_child_endpoint( FinanceAccountingBatchesIdExportEndpoint(client, parent_endpoint=self) ) + self.entries = self._register_child_endpoint( + FinanceAccountingBatchesIdEntriesEndpoint(client, parent_endpoint=self) + ) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AccountingBatch, - self, - page, - page_size, + super()._make_request("GET", params=params), AccountingBatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AccountingBatch: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesCountEndpoint.py index 20ffc8c4a..d567fb82f 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesEndpoint.py index 60f80d93e..7e3aa2405 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesEndpoint.py @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BatchEntry, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BatchEntry, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BatchEntry]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesIdEndpoint.py index f7fd272bf..4c939660c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingBatchesIdEntriesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BatchEntry, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BatchEntry, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BatchEntry: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingEndpoint.py index 36caf2641..67e629dd4 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingEndpoint.py @@ -16,14 +16,14 @@ class FinanceAccountingEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "accounting", parent_endpoint=parent_endpoint) + self.export = self._register_child_endpoint(FinanceAccountingExportEndpoint(client, parent_endpoint=self)) + self.batches = self._register_child_endpoint(FinanceAccountingBatchesEndpoint(client, parent_endpoint=self)) self.unpostedexpenses = self._register_child_endpoint( FinanceAccountingUnpostedexpensesEndpoint(client, parent_endpoint=self) ) - self.unpostedinvoices = self._register_child_endpoint( - FinanceAccountingUnpostedinvoicesEndpoint(client, parent_endpoint=self) - ) - self.batches = self._register_child_endpoint(FinanceAccountingBatchesEndpoint(client, parent_endpoint=self)) self.unpostedprocurement = self._register_child_endpoint( FinanceAccountingUnpostedprocurementEndpoint(client, parent_endpoint=self) ) - self.export = self._register_child_endpoint(FinanceAccountingExportEndpoint(client, parent_endpoint=self)) + self.unpostedinvoices = self._register_child_endpoint( + FinanceAccountingUnpostedinvoicesEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesCountEndpoint.py index a233fae2f..ff678e116 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesEndpoint.py index cfe848d10..eae219674 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedExpense, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedExpense, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UnpostedExpense]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdEndpoint.py index cc0a2ba1a..5739191fb 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedExpense, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedExpense, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnpostedExpense: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsCountEndpoint.py index bb79424c4..958c7dd54 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsEndpoint.py index 7f090ac3e..88966a1a7 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedExpenseTaxableLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedExpenseTaxableLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UnpostedExpenseTaxableLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsIdEndpoint.py index 681467347..89f8249fa 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedexpensesIdTaxablelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedExpenseTaxableLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedExpenseTaxableLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnpostedExpenseTaxableLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesCountEndpoint.py index ea56efd2d..07c70660a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesEndpoint.py index 0ac2afc25..7021764ad 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedInvoice, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedInvoice, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UnpostedInvoice]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdEndpoint.py index 739152d20..cb8173238 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedInvoice, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedInvoice, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnpostedInvoice: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsCountEndpoint.py index 332b51b3c..f70df0aa2 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsEndpoint.py index 45cdda3ee..f43b784c6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedInvoiceTaxableLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedInvoiceTaxableLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UnpostedInvoiceTaxableLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsIdEndpoint.py index 47a8ee75b..c01a5e16c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedinvoicesIdTaxablelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedInvoiceTaxableLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedInvoiceTaxableLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnpostedInvoiceTaxableLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementCountEndpoint.py index 079971498..7eabe8b48 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementEndpoint.py index 1c2bd1aff..71725a756 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedProcurement, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedProcurement, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UnpostedProcurement]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdEndpoint.py index 5af9b566a..eb0c77a5a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedProcurement, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedProcurement, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnpostedProcurement: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsCountEndpoint.py index ae90d50f9..133609e95 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsEndpoint.py index 2adff0f57..16a251718 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedProcurementTaxableLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedProcurementTaxableLevel, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsIdEndpoint.py index 16adbca76..a86288ebf 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingUnpostedprocurementIdTaxablelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnpostedProcurementTaxableLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), UnpostedProcurementTaxableLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnpostedProcurementTaxableLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesCountEndpoint.py index 7d8b05deb..2af178bba 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesEndpoint.py index 3821dbc95..5b37d1231 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AccountingPackage, - self, - page, - page_size, + super()._make_request("GET", params=params), AccountingPackage, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AccountingPackage]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesIdEndpoint.py index 4e33eab61..dc52be804 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AccountingPackage, - self, - page, - page_size, + super()._make_request("GET", params=params), AccountingPackage, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AccountingPackage: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupCountEndpoint.py index a505236da..a7e92cb79 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupEndpoint.py index b3efef2a0..46a1a4bd6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AccountingPackageSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), AccountingPackageSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AccountingPackageSetup]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupIdEndpoint.py index caa5692ae..72ce5255f 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAccountingpackagesetupIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AccountingPackageSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), AccountingPackageSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AccountingPackageSetup: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementrecapIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementrecapIdEndpoint.py index 48d0652f7..a19f1f553 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementrecapIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementrecapIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementRecap, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementRecap, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementRecap: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsCountEndpoint.py index b74dc9f08..d15bf3f77 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsEndpoint.py index 22d959b49..c24cb136b 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsEndpoint.py @@ -12,8 +12,8 @@ class FinanceAgreementsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "agreements", parent_endpoint=parent_endpoint) - self.types = self._register_child_endpoint(FinanceAgreementsTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceAgreementsCountEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(FinanceAgreementsTypesEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceAgreementsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Agreement, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Agreement, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Agreement]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsCountEndpoint.py index 6cd49effc..d4da4b01a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsEndpoint.py index 5b98d542e..e32219a56 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsEndpoint.py @@ -42,13 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Addition, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Addition, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Addition]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsIdEndpoint.py index c27ec9e04..6f4904608 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdditionsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Addition, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Addition, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Addition: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsCountEndpoint.py index 733186e7d..6defa8424 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsEndpoint.py index 29537650a..8ca4bfbfa 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementAdjustment, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementAdjustment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementAdjustment]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsIdEndpoint.py index 6a6d1aca3..c2de231fa 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdAdjustmentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementAdjustment, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementAdjustment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementAdjustment: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdApplicationparametersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdApplicationparametersIdEndpoint.py index b660cf92a..d3150be73 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdApplicationparametersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdApplicationparametersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementApplicationParameters, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementApplicationParameters, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementApplicationParameters: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsCountEndpoint.py index 14cbe0714..1a3258b80 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsEndpoint.py index 14a7ce03a..7405f160d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardDefault, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardDefault, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardDefault]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsIdEndpoint.py index 8ad503967..528c88f84 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdBoarddefaultsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardDefault, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardDefault, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardDefault: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsCountEndpoint.py index 4dde854c5..681826133 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsEndpoint.py index c1b601c48..dc60b1304 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationReference]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsIdEndpoint.py index 70a83a117..0a3016524 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdConfigurationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationReference: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdEndpoint.py index 6a599d5d7..3c5b8ec1a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdEndpoint.py @@ -28,39 +28,39 @@ class FinanceAgreementsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.additions = self._register_child_endpoint( - FinanceAgreementsIdAdditionsEndpoint(client, parent_endpoint=self) + self.work_type_exclusions = self._register_child_endpoint( + FinanceAgreementsIdWorktypeexclusionsEndpoint(client, parent_endpoint=self) ) - self.recurring_parameters = self._register_child_endpoint( - FinanceAgreementsIdRecurringparametersEndpoint(client, parent_endpoint=self) + self.sites = self._register_child_endpoint(FinanceAgreementsIdSitesEndpoint(client, parent_endpoint=self)) + self.adjustments = self._register_child_endpoint( + FinanceAgreementsIdAdjustmentsEndpoint(client, parent_endpoint=self) + ) + self.worktypes = self._register_child_endpoint( + FinanceAgreementsIdWorktypesEndpoint(client, parent_endpoint=self) ) self.workroles = self._register_child_endpoint( FinanceAgreementsIdWorkrolesEndpoint(client, parent_endpoint=self) ) + self.invoice = self._register_child_endpoint(FinanceAgreementsIdInvoiceEndpoint(client, parent_endpoint=self)) + self.work_role_exclusions = self._register_child_endpoint( + FinanceAgreementsIdWorkroleexclusionsEndpoint(client, parent_endpoint=self) + ) self.application_parameters = self._register_child_endpoint( FinanceAgreementsIdApplicationparametersEndpoint(client, parent_endpoint=self) ) + self.additions = self._register_child_endpoint( + FinanceAgreementsIdAdditionsEndpoint(client, parent_endpoint=self) + ) self.copy = self._register_child_endpoint(FinanceAgreementsIdCopyEndpoint(client, parent_endpoint=self)) self.board_defaults = self._register_child_endpoint( FinanceAgreementsIdBoarddefaultsEndpoint(client, parent_endpoint=self) ) - self.work_type_exclusions = self._register_child_endpoint( - FinanceAgreementsIdWorktypeexclusionsEndpoint(client, parent_endpoint=self) - ) - self.invoice = self._register_child_endpoint(FinanceAgreementsIdInvoiceEndpoint(client, parent_endpoint=self)) - self.worktypes = self._register_child_endpoint( - FinanceAgreementsIdWorktypesEndpoint(client, parent_endpoint=self) - ) - self.adjustments = self._register_child_endpoint( - FinanceAgreementsIdAdjustmentsEndpoint(client, parent_endpoint=self) - ) - self.sites = self._register_child_endpoint(FinanceAgreementsIdSitesEndpoint(client, parent_endpoint=self)) - self.work_role_exclusions = self._register_child_endpoint( - FinanceAgreementsIdWorkroleexclusionsEndpoint(client, parent_endpoint=self) - ) self.configurations = self._register_child_endpoint( FinanceAgreementsIdConfigurationsEndpoint(client, parent_endpoint=self) ) + self.recurring_parameters = self._register_child_endpoint( + FinanceAgreementsIdRecurringparametersEndpoint(client, parent_endpoint=self) + ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Agreement]: """ @@ -75,13 +75,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Agreement, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Agreement, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Agreement: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdRecurringparametersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdRecurringparametersIdEndpoint.py index 3112c93af..68b48be11 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdRecurringparametersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdRecurringparametersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementRecurringParameters, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementRecurringParameters, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementRecurringParameters: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesCountEndpoint.py index 090ec3e1a..e92465a85 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesEndpoint.py index 8dd22baa9..7dafee7ab 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementSite, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementSite, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementSite]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesIdEndpoint.py index 4e0276f34..02c485c21 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdSitesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementSite, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementSite, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementSite: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsCountEndpoint.py index db5c6cefb..def2712d6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsEndpoint.py index 8efd15972..c238d72c7 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkroleexclusionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementWorkRoleExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementWorkRoleExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementWorkRoleExclusion]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesCountEndpoint.py index ba6aeb5a7..d680d8afb 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesEndpoint.py index 1232fdb00..3dd37438e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementWorkRole, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementWorkRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementWorkRole]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesIdEndpoint.py index e0ebac078..aa8a11540 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorkrolesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementWorkRole, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementWorkRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementWorkRole: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsCountEndpoint.py index aebe20c9f..e7269928c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsEndpoint.py index 6d0fb7cc1..e501b90b6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypeexclusionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementWorkTypeExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementWorkTypeExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementWorkTypeExclusion]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesCountEndpoint.py index 182db1375..b52645a67 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesEndpoint.py index 284990c0e..63f29c0bc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementWorkType, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementWorkType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementWorkType]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesIdEndpoint.py index 161bf08ff..6a126bcf0 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsIdWorktypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementWorkType, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementWorkType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementWorkType: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesCountEndpoint.py index a4555a63f..a358d46a0 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesEndpoint.py index 6b823531f..9a775c2db 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesEndpoint.py @@ -12,8 +12,8 @@ class FinanceAgreementsTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceAgreementsTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceAgreementsTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceAgreementsTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceAgreementsTypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementType, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementType]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdEndpoint.py index b4671ba9d..fc47d69fc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdEndpoint.py @@ -12,11 +12,11 @@ class FinanceAgreementsTypesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.copy = self._register_child_endpoint(FinanceAgreementsTypesIdCopyEndpoint(client, parent_endpoint=self)) self.usages = self._register_child_endpoint( FinanceAgreementsTypesIdUsagesEndpoint(client, parent_endpoint=self) ) self.info = self._register_child_endpoint(FinanceAgreementsTypesIdInfoEndpoint(client, parent_endpoint=self)) - self.copy = self._register_child_endpoint(FinanceAgreementsTypesIdCopyEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -34,11 +34,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementType, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementType: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdInfoEndpoint.py index 07cda09c6..1c35e855c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesEndpoint.py index 6dff37848..2f353fbdc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesListEndpoint.py index cf606c443..e83624b4f 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoCountEndpoint.py index 41eb92181..0dd790d82 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoEndpoint.py index 70297e761..f42eca949 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementsTypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsCountEndpoint.py index 29442413f..4702bb299 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsEndpoint.py index 139197bb2..91b49042d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeBoardDefault, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeBoardDefault, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeBoardDefault]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsIdEndpoint.py index 1ba78bdad..d0879a27c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdBoarddefaultsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeBoardDefault, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeBoardDefault, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeBoardDefault: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdEndpoint.py index 37aa302bc..fe459b659 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdEndpoint.py @@ -18,18 +18,18 @@ class FinanceAgreementtypesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.work_type_exclusions = self._register_child_endpoint( + FinanceAgreementtypesIdWorktypeexclusionsEndpoint(client, parent_endpoint=self) + ) self.workroles = self._register_child_endpoint( FinanceAgreementtypesIdWorkrolesEndpoint(client, parent_endpoint=self) ) - self.board_defaults = self._register_child_endpoint( - FinanceAgreementtypesIdBoarddefaultsEndpoint(client, parent_endpoint=self) - ) - self.work_type_exclusions = self._register_child_endpoint( - FinanceAgreementtypesIdWorktypeexclusionsEndpoint(client, parent_endpoint=self) + self.worktypes = self._register_child_endpoint( + FinanceAgreementtypesIdWorktypesEndpoint(client, parent_endpoint=self) ) self.work_role_exclusions = self._register_child_endpoint( FinanceAgreementtypesIdWorkroleexclusionsEndpoint(client, parent_endpoint=self) ) - self.worktypes = self._register_child_endpoint( - FinanceAgreementtypesIdWorktypesEndpoint(client, parent_endpoint=self) + self.board_defaults = self._register_child_endpoint( + FinanceAgreementtypesIdBoarddefaultsEndpoint(client, parent_endpoint=self) ) diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsCountEndpoint.py index 454c36aef..b8452b671 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsEndpoint.py index 73cc2aeb0..5604d2581 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkRoleExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkRoleExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeWorkRoleExclusion]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsIdEndpoint.py index 56430e33c..52b4f50e0 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkroleexclusionsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkRoleExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkRoleExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeWorkRoleExclusion: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesCountEndpoint.py index bc061edbf..4be694c23 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesEndpoint.py index ec60460a0..888832296 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesEndpoint.py @@ -15,12 +15,12 @@ class FinanceAgreementtypesIdWorkrolesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "workroles", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - FinanceAgreementtypesIdWorkrolesInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( FinanceAgreementtypesIdWorkrolesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + FinanceAgreementtypesIdWorkrolesInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> FinanceAgreementtypesIdWorkrolesIdEndpoint: """ @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkRole, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeWorkRole]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesIdEndpoint.py index de9a0b884..9e7412363 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkRole, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeWorkRole: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoCountEndpoint.py index b939f6483..24f99e435 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoEndpoint.py index f8c38192c..71bb50271 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeWorkRoleInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoIdEndpoint.py index 33339ecdb..438f016a2 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorkrolesInfoIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeWorkRoleInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsCountEndpoint.py index 398163d79..cc8f1af55 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsEndpoint.py index e2b79a76d..8799c937a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkTypeExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkTypeExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeWorkTypeExclusion]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsIdEndpoint.py index 4251a91c5..4a3e30dff 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypeexclusionsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkTypeExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkTypeExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeWorkTypeExclusion: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesCountEndpoint.py index 337443de0..3e072eb5c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesEndpoint.py index 680499172..774b97957 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkType, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementTypeWorkType]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesIdEndpoint.py index 5aafe220e..7dac44ec3 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceAgreementtypesIdWorktypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementTypeWorkType, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementTypeWorkType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementTypeWorkType: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsCountEndpoint.py index 0dc7dbd36..904028c36 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsEndpoint.py index 474054d5a..ec270b217 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementBatchSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementBatchSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AgreementBatchSetup]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsIdEndpoint.py index 889ae908e..e85b0da37 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBatchsetupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AgreementBatchSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), AgreementBatchSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AgreementBatchSetup: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesCountEndpoint.py index 263a59dbc..a13d6f3a1 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesEndpoint.py index c0b1a7d1d..bdd5c3bee 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesEndpoint.py @@ -12,8 +12,8 @@ class FinanceBillingcyclesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "billingCycles", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceBillingcyclesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceBillingcyclesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceBillingcyclesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceBillingcyclesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingCycle, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingCycle, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingCycle]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdEndpoint.py index 44e18aa19..53600f180 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingCycle, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingCycle, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingCycle: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdInfoEndpoint.py index f5b40c113..4af70da4d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingCycleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingCycleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingCycleInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesEndpoint.py index 9a35c888b..e083b820a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesListEndpoint.py index d85923e2a..256d469ff 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoCountEndpoint.py index 0d5c37f32..82e4409fb 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoEndpoint.py index 3942bc108..81e838c8b 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingcyclesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingCycleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingCycleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingCycleInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsCountEndpoint.py index 838285cc3..373ab15bf 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsEndpoint.py index 141056af0..856a2cc2a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsEndpoint.py @@ -12,8 +12,8 @@ class FinanceBillingsetupsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "billingSetups", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceBillingsetupsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceBillingsetupsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceBillingsetupsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceBillingsetupsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingSetup]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdEndpoint.py index 1ab7ee62c..7cffd5146 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdEndpoint.py @@ -11,10 +11,10 @@ class FinanceBillingsetupsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceBillingsetupsIdInfoEndpoint(client, parent_endpoint=self)) self.routings = self._register_child_endpoint( FinanceBillingsetupsIdRoutingsEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(FinanceBillingsetupsIdInfoEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -32,11 +32,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingSetup: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdInfoEndpoint.py index e8baf0963..3ae44d434 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingSetupInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingSetupInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingSetupInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsCountEndpoint.py index 0e0996982..c7f202054 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsEndpoint.py index cb5d3bc8b..810eb3dc4 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingSetupRouting, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingSetupRouting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingSetupRouting]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsIdEndpoint.py index 33c22bb6c..8a703de89 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsIdRoutingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingSetupRouting, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingSetupRouting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingSetupRouting: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsInfoEndpoint.py index 165011f1a..0cd525d92 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingsetupsInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingSetupInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingSetupInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingSetupInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesCountEndpoint.py index 0564c895c..24e115394 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesEndpoint.py index c3047112f..6d55c91ff 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesEndpoint.py @@ -12,8 +12,8 @@ class FinanceBillingstatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "billingStatuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceBillingstatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceBillingstatusesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceBillingstatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceBillingstatusesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingStatus]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdEndpoint.py index d644aa5a0..529b0b393 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdEndpoint.py @@ -32,11 +32,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingStatus: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdInfoEndpoint.py index 867077e78..45bcdf1ae 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesEndpoint.py index 7e4353626..00215b135 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesListEndpoint.py index 98a283196..ad5d96c66 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoCountEndpoint.py index b7be7b471..0b0f4e628 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoEndpoint.py index ba9ad78a9..c7d20ae7f 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingstatusesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsCountEndpoint.py index 346d40b99..60e1c3259 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsEndpoint.py index 33ca16c9b..546301dfd 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsEndpoint.py @@ -12,8 +12,8 @@ class FinanceBillingtermsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "billingTerms", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceBillingtermsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceBillingtermsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceBillingtermsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceBillingtermsIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingTerm, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingTerm, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingTerm]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdEndpoint.py index 5c058e0fe..8236a5976 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingTerm, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingTerm, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingTerm: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdInfoEndpoint.py index 71d540ebb..70b2467c8 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingTermInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingTermInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BillingTermInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesEndpoint.py index 5cbe1b87b..44aa3eac6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesEndpoint.py @@ -26,13 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesListEndpoint.py index 82c14a909..d21ad304b 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoCountEndpoint.py index b9103ddd5..8b68695fc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoEndpoint.py index fcb8e26c0..86b640789 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceBillingtermsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BillingTermInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BillingTermInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BillingTermInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceCountEndpoint.py index 924de23a8..81c6a6960 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceIdEndpoint.py index c230a6c2b..fcbe4b21e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCompanyfinanceIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CompanyFinance, - self, - page, - page_size, + super()._make_request("GET", params=params), CompanyFinance, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CompanyFinance: diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesCountEndpoint.py index 983b78bd9..7ae6ea3bd 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesEndpoint.py index a50ed6b94..03d79807e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesEndpoint.py @@ -12,8 +12,8 @@ class FinanceCurrenciesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "currencies", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceCurrenciesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceCurrenciesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceCurrenciesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceCurrenciesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - FinanceCurrency, - self, - page, - page_size, + super()._make_request("GET", params=params), FinanceCurrency, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[FinanceCurrency]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdEndpoint.py index e7af28c01..b48867f1c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - FinanceCurrency, - self, - page, - page_size, + super()._make_request("GET", params=params), FinanceCurrency, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> FinanceCurrency: diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdInfoEndpoint.py index ade3b56d1..820e76480 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CurrencyInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CurrencyInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CurrencyInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesEndpoint.py index 8be1fd3ae..6fdc0ac25 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesListEndpoint.py index f542f5065..478fac339 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoCountEndpoint.py index 56b42ba34..8ff9d757a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoEndpoint.py index 6259ddbe3..640283d15 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceCurrenciesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CurrencyInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CurrencyInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CurrencyInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsCountEndpoint.py index 6333e4141..57d79f396 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsEndpoint.py index eb2f909fc..770f69e2e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DeliveryMethod, - self, - page, - page_size, + super()._make_request("GET", params=params), DeliveryMethod, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DeliveryMethod]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsIdEndpoint.py index 32f5cc20e..0dc608fb7 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceDeliverymethodsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DeliveryMethod, - self, - page, - page_size, + super()._make_request("GET", params=params), DeliveryMethod, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DeliveryMethod: diff --git a/src/pyconnectwise/endpoints/manage/FinanceEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceEndpoint.py index 4ea687208..56b1d8f25 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceEndpoint.py @@ -33,50 +33,50 @@ class FinanceEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "finance", parent_endpoint=parent_endpoint) - self.billing_terms = self._register_child_endpoint(FinanceBillingtermsEndpoint(client, parent_endpoint=self)) - self.closed_invoices = self._register_child_endpoint( - FinanceClosedinvoicesEndpoint(client, parent_endpoint=self) - ) - self.gl_captions = self._register_child_endpoint(FinanceGlcaptionsEndpoint(client, parent_endpoint=self)) - self.tax_integrations = self._register_child_endpoint( - FinanceTaxintegrationsEndpoint(client, parent_endpoint=self) - ) - self.currencies = self._register_child_endpoint(FinanceCurrenciesEndpoint(client, parent_endpoint=self)) - self.billing_setups = self._register_child_endpoint(FinanceBillingsetupsEndpoint(client, parent_endpoint=self)) - self.gl_accounts = self._register_child_endpoint(FinanceGlaccountsEndpoint(client, parent_endpoint=self)) - self.batch_setups = self._register_child_endpoint(FinanceBatchsetupsEndpoint(client, parent_endpoint=self)) - self.accounting_package_setup = self._register_child_endpoint( - FinanceAccountingpackagesetupEndpoint(client, parent_endpoint=self) + self.billing_statuses = self._register_child_endpoint( + FinanceBillingstatusesEndpoint(client, parent_endpoint=self) ) + self.accounting = self._register_child_endpoint(FinanceAccountingEndpoint(client, parent_endpoint=self)) + self.invoices = self._register_child_endpoint(FinanceInvoicesEndpoint(client, parent_endpoint=self)) self.invoice_email_templates = self._register_child_endpoint( FinanceInvoiceemailtemplatesEndpoint(client, parent_endpoint=self) ) + self.batch_setups = self._register_child_endpoint(FinanceBatchsetupsEndpoint(client, parent_endpoint=self)) + self.billing_setups = self._register_child_endpoint(FinanceBillingsetupsEndpoint(client, parent_endpoint=self)) + self.gl_captions = self._register_child_endpoint(FinanceGlcaptionsEndpoint(client, parent_endpoint=self)) + self.invoice_template_setups = self._register_child_endpoint( + FinanceInvoicetemplatesetupsEndpoint(client, parent_endpoint=self) + ) + self.info = self._register_child_endpoint(FinanceInfoEndpoint(client, parent_endpoint=self)) self.invoice_templates = self._register_child_endpoint( FinanceInvoicetemplatesEndpoint(client, parent_endpoint=self) ) - self.delivery_methods = self._register_child_endpoint( - FinanceDeliverymethodsEndpoint(client, parent_endpoint=self) - ) - self.tax_codes = self._register_child_endpoint(FinanceTaxcodesEndpoint(client, parent_endpoint=self)) - self.billing_cycles = self._register_child_endpoint(FinanceBillingcyclesEndpoint(client, parent_endpoint=self)) + self.glpaths = self._register_child_endpoint(FinanceGlpathsEndpoint(client, parent_endpoint=self)) self.company_finance = self._register_child_endpoint( FinanceCompanyfinanceEndpoint(client, parent_endpoint=self) ) - self.invoices = self._register_child_endpoint(FinanceInvoicesEndpoint(client, parent_endpoint=self)) - self.accounting = self._register_child_endpoint(FinanceAccountingEndpoint(client, parent_endpoint=self)) - self.agreement_types = self._register_child_endpoint( - FinanceAgreementtypesEndpoint(client, parent_endpoint=self) - ) - self.agreements = self._register_child_endpoint(FinanceAgreementsEndpoint(client, parent_endpoint=self)) - self.info = self._register_child_endpoint(FinanceInfoEndpoint(client, parent_endpoint=self)) - self.agreementrecap = self._register_child_endpoint(FinanceAgreementrecapEndpoint(client, parent_endpoint=self)) + self.tax_codes = self._register_child_endpoint(FinanceTaxcodesEndpoint(client, parent_endpoint=self)) + self.billing_terms = self._register_child_endpoint(FinanceBillingtermsEndpoint(client, parent_endpoint=self)) self.accounting_packages = self._register_child_endpoint( FinanceAccountingpackagesEndpoint(client, parent_endpoint=self) ) - self.invoice_template_setups = self._register_child_endpoint( - FinanceInvoicetemplatesetupsEndpoint(client, parent_endpoint=self) + self.agreementrecap = self._register_child_endpoint(FinanceAgreementrecapEndpoint(client, parent_endpoint=self)) + self.delivery_methods = self._register_child_endpoint( + FinanceDeliverymethodsEndpoint(client, parent_endpoint=self) ) - self.billing_statuses = self._register_child_endpoint( - FinanceBillingstatusesEndpoint(client, parent_endpoint=self) + self.closed_invoices = self._register_child_endpoint( + FinanceClosedinvoicesEndpoint(client, parent_endpoint=self) + ) + self.agreements = self._register_child_endpoint(FinanceAgreementsEndpoint(client, parent_endpoint=self)) + self.gl_accounts = self._register_child_endpoint(FinanceGlaccountsEndpoint(client, parent_endpoint=self)) + self.billing_cycles = self._register_child_endpoint(FinanceBillingcyclesEndpoint(client, parent_endpoint=self)) + self.tax_integrations = self._register_child_endpoint( + FinanceTaxintegrationsEndpoint(client, parent_endpoint=self) + ) + self.currencies = self._register_child_endpoint(FinanceCurrenciesEndpoint(client, parent_endpoint=self)) + self.accounting_package_setup = self._register_child_endpoint( + FinanceAccountingpackagesetupEndpoint(client, parent_endpoint=self) + ) + self.agreement_types = self._register_child_endpoint( + FinanceAgreementtypesEndpoint(client, parent_endpoint=self) ) - self.glpaths = self._register_child_endpoint(FinanceGlpathsEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsCountEndpoint.py index 8323ac304..195c6aefc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsEndpoint.py index 2c9151d0d..fe7776fb2 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsEndpoint.py @@ -12,10 +12,10 @@ class FinanceGlaccountsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "glAccounts", parent_endpoint=parent_endpoint) + self.count = self._register_child_endpoint(FinanceGlaccountsCountEndpoint(client, parent_endpoint=self)) self.mapped_types = self._register_child_endpoint( FinanceGlaccountsMappedtypesEndpoint(client, parent_endpoint=self) ) - self.count = self._register_child_endpoint(FinanceGlaccountsCountEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceGlaccountsIdEndpoint: """ @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GLAccount, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GLAccount, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[GLAccount]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsIdEndpoint.py index ee1681067..c6a65f139 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GLAccount, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GLAccount, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> GLAccount: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesCountEndpoint.py index 683f6a34c..789f64111 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesEndpoint.py index 71da48d8b..32a4bf92e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlaccountsMappedtypesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MappedType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MappedType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MappedType]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsCountEndpoint.py index 3028b5d1a..eb46a0b5e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsEndpoint.py index 6a113586a..352dea0d3 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GLCaption, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GLCaption, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[GLCaption]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsIdEndpoint.py index d7394179a..4c5ebfa51 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlcaptionsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GLCaption, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GLCaption, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> GLCaption: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlpathsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlpathsCountEndpoint.py index d037adf13..5b3bb7ba4 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlpathsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlpathsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlpathsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlpathsEndpoint.py index 21f7ea7a5..2c9a5a742 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlpathsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlpathsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GLPath, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GLPath, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[GLPath]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceGlpathsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceGlpathsIdEndpoint.py index c10adda15..bec69dcd0 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceGlpathsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceGlpathsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GLPath, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GLPath, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> GLPath: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesCountEndpoint.py index 69dc42e35..009165580 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesEndpoint.py index 45b66b4a9..bd2f5e97d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CurrencyCode, - self, - page, - page_size, + super()._make_request("GET", params=params), CurrencyCode, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CurrencyCode]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesIdEndpoint.py index c69b2855d..cabc375cd 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoCurrencycodesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CurrencyCode, - self, - page, - page_size, + super()._make_request("GET", params=params), CurrencyCode, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CurrencyCode: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoEndpoint.py index 656a384e3..dbd82c8b6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoEndpoint.py @@ -11,10 +11,10 @@ class FinanceInfoEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "info", parent_endpoint=parent_endpoint) - self.currency_codes = self._register_child_endpoint( - FinanceInfoCurrencycodesEndpoint(client, parent_endpoint=self) - ) - self.invoice = self._register_child_endpoint(FinanceInfoInvoiceEndpoint(client, parent_endpoint=self)) self.tax_integrations = self._register_child_endpoint( FinanceInfoTaxintegrationsEndpoint(client, parent_endpoint=self) ) + self.invoice = self._register_child_endpoint(FinanceInfoInvoiceEndpoint(client, parent_endpoint=self)) + self.currency_codes = self._register_child_endpoint( + FinanceInfoCurrencycodesEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoInvoiceIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoInvoiceIdEndpoint.py index 67d2b7ad0..1d8337ea5 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoInvoiceIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoInvoiceIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InvoiceInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsCountEndpoint.py index 5d6d481af..a9c65cfd1 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsEndpoint.py index ab3d6f25c..2b1fc6150 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxIntegrationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxIntegrationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxIntegrationInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsIdEndpoint.py index 56f5a6ffe..c516eec58 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInfoTaxintegrationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxIntegrationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxIntegrationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxIntegrationInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesCountEndpoint.py index 20009b75a..552a32262 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesEndpoint.py index 62b50207e..ed12ae346 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesEndpoint.py @@ -14,12 +14,12 @@ class FinanceInvoiceemailtemplatesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "invoiceEmailTemplates", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - FinanceInvoiceemailtemplatesInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( FinanceInvoiceemailtemplatesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + FinanceInvoiceemailtemplatesInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> FinanceInvoiceemailtemplatesIdEndpoint: """ @@ -50,11 +50,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InvoiceEmailTemplate]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdEndpoint.py index 7fa1e2a14..2f578910a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InvoiceEmailTemplate: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdInfoEndpoint.py index 5e86b7d48..5e4625f8a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceEmailTemplateInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceEmailTemplateInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InvoiceEmailTemplateInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesEndpoint.py index 1fadbc69f..3778b195c 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesListEndpoint.py index 34a9c7789..da1f93aec 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoCountEndpoint.py index 262660fbc..a8af8b38a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoEndpoint.py index cc60c3ce5..ef3323e53 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoiceemailtemplatesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceEmailTemplateInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceEmailTemplateInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InvoiceEmailTemplateInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicesCountEndpoint.py index a423c57b3..5ee81836a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicesEndpoint.py index 5fb5994a0..7e07ec9ae 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Invoice, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Invoice, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Invoice]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdEndpoint.py index 94cf27c4f..ac2f94554 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Invoice, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Invoice, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Invoice: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsEndpoint.py index d4636ddfd..d95febba5 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoicePayment, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoicePayment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InvoicePayment]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsIdEndpoint.py index 85049ade8..97b0b1120 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicesIdPaymentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoicePayment, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoicePayment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InvoicePayment: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesCountEndpoint.py index 411504148..873f53fc9 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesEndpoint.py index 3248880ee..b527c6019 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InvoiceTemplate]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdEndpoint.py index 94303a6b0..47fee73d1 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InvoiceTemplate: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesEndpoint.py index 2675f4d8e..74e571bf3 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesListEndpoint.py index dc7eefa26..aa84a6c27 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsCountEndpoint.py index b0df648b3..ee46c959f 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsEndpoint.py index 029abed98..ef7dfa785 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceTemplateSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceTemplateSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InvoiceTemplateSetup]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsIdEndpoint.py index a8b3089a5..64bdb748e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceInvoicetemplatesetupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InvoiceTemplateSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), InvoiceTemplateSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InvoiceTemplateSetup: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesCountEndpoint.py index d8a353c5b..b91ded45d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesEndpoint.py index d212bdd27..8d6f158c5 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesEndpoint.py @@ -12,8 +12,8 @@ class FinanceTaxcodesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "taxCodes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceTaxcodesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(FinanceTaxcodesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceTaxcodesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> FinanceTaxcodesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCode, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TaxCode, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxCode]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdEndpoint.py index c9c946c0c..83a48ec85 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdEndpoint.py @@ -20,24 +20,24 @@ class FinanceTaxcodesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(FinanceTaxcodesIdInfoEndpoint(client, parent_endpoint=self)) - self.product_type_exemptions = self._register_child_endpoint( - FinanceTaxcodesIdProducttypeexemptionsEndpoint(client, parent_endpoint=self) - ) self.work_role_exemptions = self._register_child_endpoint( FinanceTaxcodesIdWorkroleexemptionsEndpoint(client, parent_endpoint=self) ) + self.usages = self._register_child_endpoint(FinanceTaxcodesIdUsagesEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(FinanceTaxcodesIdInfoEndpoint(client, parent_endpoint=self)) + self.tax_code_x_refs = self._register_child_endpoint( + FinanceTaxcodesIdTaxcodexrefsEndpoint(client, parent_endpoint=self) + ) + self.copy = self._register_child_endpoint(FinanceTaxcodesIdCopyEndpoint(client, parent_endpoint=self)) self.tax_code_levels = self._register_child_endpoint( FinanceTaxcodesIdTaxcodelevelsEndpoint(client, parent_endpoint=self) ) - self.copy = self._register_child_endpoint(FinanceTaxcodesIdCopyEndpoint(client, parent_endpoint=self)) self.expense_type_exemptions = self._register_child_endpoint( FinanceTaxcodesIdExpensetypeexemptionsEndpoint(client, parent_endpoint=self) ) - self.tax_code_x_refs = self._register_child_endpoint( - FinanceTaxcodesIdTaxcodexrefsEndpoint(client, parent_endpoint=self) + self.product_type_exemptions = self._register_child_endpoint( + FinanceTaxcodesIdProducttypeexemptionsEndpoint(client, parent_endpoint=self) ) - self.usages = self._register_child_endpoint(FinanceTaxcodesIdUsagesEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[TaxCode]: """ @@ -52,13 +52,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCode, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TaxCode, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxCode: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsCountEndpoint.py index 41889657a..58c2bf30a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsEndpoint.py index 2746427ff..db2c27bc5 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseTypeExemption, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseTypeExemption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ExpenseTypeExemption]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdEndpoint.py index 752c845ca..135ab47e7 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ExpenseTypeExemption, - self, - page, - page_size, + super()._make_request("GET", params=params), ExpenseTypeExemption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ExpenseTypeExemption: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsCountEndpoint.py index a74a0a5b7..a747ac2b6 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsEndpoint.py index 5d53d99d7..c7b92a4e0 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsEndpoint.py @@ -48,11 +48,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableExpenseTypeLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableExpenseTypeLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxableExpenseTypeLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsIdEndpoint.py index 653004509..6a0bfd514 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdExpensetypeexemptionsIdTaxableexpensetypelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableExpenseTypeLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableExpenseTypeLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxableExpenseTypeLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdInfoEndpoint.py index c4a63db7a..dcbc2297e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdInfoEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCodeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxCodeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxCodeInfo: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsCountEndpoint.py index 01ffb4fbd..a676f0549 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsEndpoint.py index 92a1e9d1d..4c25ec8fc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductTypeExemption, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductTypeExemption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductTypeExemption]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdEndpoint.py index 7fe2fa550..2667a893e 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductTypeExemption, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductTypeExemption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProductTypeExemption: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsCountEndpoint.py index a2f5cbb2a..853f6f7dd 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsEndpoint.py index d2291323b..8e223cee2 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsEndpoint.py @@ -48,11 +48,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableProductTypeLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableProductTypeLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxableProductTypeLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsIdEndpoint.py index 6f7c9d53f..cf54d01f3 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdProducttypeexemptionsIdTaxableproducttypelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableProductTypeLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableProductTypeLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxableProductTypeLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsCountEndpoint.py index e9dc3f1d2..9307458d3 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsEndpoint.py index e95890c9b..f2f75c866 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCodeLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxCodeLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxCodeLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsIdEndpoint.py index 4f52f0a48..92379554d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCodeLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxCodeLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxCodeLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsCountEndpoint.py index 5bce0612f..26c755373 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsEndpoint.py index 9f3eab3f8..132cf518a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsEndpoint.py @@ -44,11 +44,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCodeXRef, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxCodeXRef, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxCodeXRef]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdEndpoint.py index cd6efaf3b..6746a04e2 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdEndpoint.py @@ -29,11 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCodeXRef, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxCodeXRef, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxCodeXRef: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsCountEndpoint.py index 9ab424a11..5e1a186db 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsEndpoint.py index 1338144bf..e31f294fd 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableXRefLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableXRefLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxableXRefLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsIdEndpoint.py index f69e176b7..1ca76085a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdTaxcodexrefsIdTaxablexreflevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableXRefLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableXRefLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxableXRefLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesEndpoint.py index 019cf6fb9..bbb38593d 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesListEndpoint.py index b2c3d0a43..07403362a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsCountEndpoint.py index 1d07cea41..f0bf9627a 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsEndpoint.py index 11fef3ee2..65366ead9 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRoleExemption, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkRoleExemption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkRoleExemption]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdEndpoint.py index 242b458ab..c3182f790 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRoleExemption, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkRoleExemption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkRoleExemption: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsCountEndpoint.py index 29e2399e3..821f51e60 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsEndpoint.py index ca33eace7..8f664ea65 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableWorkRoleLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableWorkRoleLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxableWorkRoleLevel]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsIdEndpoint.py index 0b94fc0a3..bc5e83b2b 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesIdWorkroleexemptionsIdTaxableworkrolelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxableWorkRoleLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxableWorkRoleLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxableWorkRoleLevel: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoCountEndpoint.py index 1f926c391..75b6964ad 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoEndpoint.py index b0d01c0c3..5061803bd 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxcodesInfoEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxCodeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxCodeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxCodeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsCountEndpoint.py index 00fed1152..d4b024a37 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsEndpoint.py index b146e208c..36f94bebc 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxIntegration, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxIntegration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TaxIntegration]: diff --git a/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsIdEndpoint.py index a002708b5..656474f35 100644 --- a/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/FinanceTaxintegrationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TaxIntegration, - self, - page, - page_size, + super()._make_request("GET", params=params), TaxIntegration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TaxIntegration: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsCountEndpoint.py index 67449a23d..a86977697 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsEndpoint.py index 8f6a8b357..f85ac1cd0 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsEndpoint.py @@ -14,10 +14,10 @@ class MarketingCampaignsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "campaigns", parent_endpoint=parent_endpoint) - self.types = self._register_child_endpoint(MarketingCampaignsTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(MarketingCampaignsCountEndpoint(client, parent_endpoint=self)) - self.statuses = self._register_child_endpoint(MarketingCampaignsStatusesEndpoint(client, parent_endpoint=self)) self.sub_types = self._register_child_endpoint(MarketingCampaignsSubtypesEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(MarketingCampaignsTypesEndpoint(client, parent_endpoint=self)) + self.statuses = self._register_child_endpoint(MarketingCampaignsStatusesEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> MarketingCampaignsIdEndpoint: """ @@ -45,13 +45,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Campaign, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Campaign, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Campaign]: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesCountEndpoint.py index d9fe60ef1..9da249a58 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesEndpoint.py index ee4f3d908..960aef0eb 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdActivitiesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityReference]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsCountEndpoint.py index 2184f76b7..79500ee8c 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsEndpoint.py index 197446efc..647eaf55c 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CampaignAudit]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsIdEndpoint.py index be5de5da1..2fe35fcf1 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdAuditsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CampaignAudit: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedCountEndpoint.py index 87fb211fd..81afe69f9 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedEndpoint.py index 064f91a5c..52c64315c 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedEndpoint.py @@ -44,11 +44,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailOpened, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailOpened, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailOpened]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedIdEndpoint.py index ecdd8dde3..23902e437 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEmailsopenedIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailOpened, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailOpened, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailOpened: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEndpoint.py index 95418be55..be3d3427c 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdEndpoint.py @@ -19,21 +19,21 @@ class MarketingCampaignsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.forms_submitted = self._register_child_endpoint( - MarketingCampaignsIdFormssubmittedEndpoint(client, parent_endpoint=self) - ) - self.audits = self._register_child_endpoint(MarketingCampaignsIdAuditsEndpoint(client, parent_endpoint=self)) - self.emails_opened = self._register_child_endpoint( - MarketingCampaignsIdEmailsopenedEndpoint(client, parent_endpoint=self) - ) self.links_clicked = self._register_child_endpoint( MarketingCampaignsIdLinksclickedEndpoint(client, parent_endpoint=self) ) + self.audits = self._register_child_endpoint(MarketingCampaignsIdAuditsEndpoint(client, parent_endpoint=self)) + self.opportunities = self._register_child_endpoint( + MarketingCampaignsIdOpportunitiesEndpoint(client, parent_endpoint=self) + ) self.activities = self._register_child_endpoint( MarketingCampaignsIdActivitiesEndpoint(client, parent_endpoint=self) ) - self.opportunities = self._register_child_endpoint( - MarketingCampaignsIdOpportunitiesEndpoint(client, parent_endpoint=self) + self.forms_submitted = self._register_child_endpoint( + MarketingCampaignsIdFormssubmittedEndpoint(client, parent_endpoint=self) + ) + self.emails_opened = self._register_child_endpoint( + MarketingCampaignsIdEmailsopenedEndpoint(client, parent_endpoint=self) ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Campaign]: @@ -49,13 +49,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Campaign, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Campaign, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Campaign: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedCountEndpoint.py index f67331baf..2efd5b99f 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedEndpoint.py index a678e59e8..6c53e7a45 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - FormSubmitted, - self, - page, - page_size, + super()._make_request("GET", params=params), FormSubmitted, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[FormSubmitted]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedIdEndpoint.py index 6321e3d43..0e7861b69 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdFormssubmittedIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - FormSubmitted, - self, - page, - page_size, + super()._make_request("GET", params=params), FormSubmitted, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> FormSubmitted: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedCountEndpoint.py index 235e0b70a..731f93407 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedEndpoint.py index 27af9d97c..f8e540088 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedEndpoint.py @@ -44,11 +44,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LinkClicked, - self, - page, - page_size, + super()._make_request("GET", params=params), LinkClicked, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LinkClicked]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedIdEndpoint.py index 6e262bc1a..6c038c938 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdLinksclickedIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LinkClicked, - self, - page, - page_size, + super()._make_request("GET", params=params), LinkClicked, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LinkClicked: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesCountEndpoint.py index 810f1b9cc..5313927d1 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesEndpoint.py index 70815d0f5..53330b3f2 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsIdOpportunitiesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityReference, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityReference]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesCountEndpoint.py index a5818a3c7..c5aa2f41c 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesEndpoint.py index 8c5c7548b..4b20c946d 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CampaignStatus]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesIdEndpoint.py index c9a16535a..3343ab6d4 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsStatusesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CampaignStatus: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesCountEndpoint.py index f4399486f..c608877c2 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesEndpoint.py index 00ed9e8a0..423311b8e 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignSubTypeCampaignSubType, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignSubTypeCampaignSubType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CampaignSubTypeCampaignSubType]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesIdEndpoint.py index 795949537..f75096c05 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsSubtypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignSubTypeCampaignSubType, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignSubTypeCampaignSubType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CampaignSubTypeCampaignSubType: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesCountEndpoint.py index 6ab8d9226..1d5e6e41d 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesEndpoint.py index a738b1639..0ce7d4543 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesEndpoint.py @@ -12,8 +12,8 @@ class MarketingCampaignsTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(MarketingCampaignsTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(MarketingCampaignsTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(MarketingCampaignsTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> MarketingCampaignsTypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignType, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CampaignType]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdEndpoint.py index cc13f6477..038cbb12d 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdEndpoint.py @@ -12,10 +12,10 @@ class MarketingCampaignsTypesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(MarketingCampaignsTypesIdInfoEndpoint(client, parent_endpoint=self)) self.sub_types = self._register_child_endpoint( MarketingCampaignsTypesIdSubtypesEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(MarketingCampaignsTypesIdInfoEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -33,11 +33,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignType, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CampaignType: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdInfoEndpoint.py index e192e0352..e674a0041 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CampaignTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesCountEndpoint.py index 808a08c2a..6e6442fa1 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesEndpoint.py index ba6a0ad72..b39f298b7 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TypeSubTypeCampaignSubType, - self, - page, - page_size, + super()._make_request("GET", params=params), TypeSubTypeCampaignSubType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TypeSubTypeCampaignSubType]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesIdEndpoint.py index f74fbed49..bdad0f358 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesIdSubtypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TypeSubTypeCampaignSubType, - self, - page, - page_size, + super()._make_request("GET", params=params), TypeSubTypeCampaignSubType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TypeSubTypeCampaignSubType: diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoCountEndpoint.py index a6abc4052..4a4a67557 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoEndpoint.py index 6b3af27fa..b187e20cc 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingCampaignsTypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CampaignTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CampaignTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CampaignTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsCountEndpoint.py index 8d2b5162e..31965622e 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsEndpoint.py index 7eefbb871..2c82a90b6 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsEndpoint.py @@ -12,8 +12,8 @@ class MarketingGroupsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "groups", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(MarketingGroupsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(MarketingGroupsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(MarketingGroupsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> MarketingGroupsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Group, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Group, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Group]: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesCountEndpoint.py index c7182a5c6..d2b9668da 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesEndpoint.py index 11451f9fe..27f008b15 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketingCompany, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketingCompany, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MarketingCompany]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesIdEndpoint.py index f31515439..f4371be54 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdCompaniesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketingCompany, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketingCompany, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MarketingCompany: diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsCountEndpoint.py index 560786f3b..5410fd600 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsEndpoint.py index 687037c87..cf50fa186 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketingContact, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketingContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MarketingContact]: diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsIdEndpoint.py index d1e52e1e7..7cfa283d1 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdContactsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketingContact, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketingContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MarketingContact: diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdEndpoint.py index bc22296e6..7b4dfc8b8 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdEndpoint.py @@ -13,9 +13,9 @@ class MarketingGroupsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.usages = self._register_child_endpoint(MarketingGroupsIdUsagesEndpoint(client, parent_endpoint=self)) self.companies = self._register_child_endpoint(MarketingGroupsIdCompaniesEndpoint(client, parent_endpoint=self)) self.info = self._register_child_endpoint(MarketingGroupsIdInfoEndpoint(client, parent_endpoint=self)) + self.usages = self._register_child_endpoint(MarketingGroupsIdUsagesEndpoint(client, parent_endpoint=self)) self.contacts = self._register_child_endpoint(MarketingGroupsIdContactsEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Group]: @@ -31,13 +31,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Group, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Group, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Group: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdInfoEndpoint.py index 814abcc41..eb24efc93 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GroupInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GroupInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> GroupInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesEndpoint.py index c22663daf..ffb8a996d 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesListEndpoint.py index 7ff25d6b6..689178432 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoCountEndpoint.py index 653f9d16e..1fbd34573 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoEndpoint.py index 2313389fd..b142e8fc9 100644 --- a/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/MarketingGroupsInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - GroupInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), GroupInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[GroupInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsCountEndpoint.py index ad0e7d190..d63c555f8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsEndpoint.py index c9cf6970d..a866c5131 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsEndpoint.py @@ -12,8 +12,8 @@ class ProcurementAdjustmentsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "adjustments", parent_endpoint=parent_endpoint) - self.types = self._register_child_endpoint(ProcurementAdjustmentsTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementAdjustmentsCountEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(ProcurementAdjustmentsTypesEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementAdjustmentsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProcurementAdjustment, - self, - page, - page_size, + super()._make_request("GET", params=params), ProcurementAdjustment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProcurementAdjustment]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsCountEndpoint.py index 16c28dc49..72b7b20dc 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsEndpoint.py index 2be53fcc8..8b5c8a090 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AdjustmentDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), AdjustmentDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AdjustmentDetail]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsIdEndpoint.py index 2aac22341..c3779fa47 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdDetailsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AdjustmentDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), AdjustmentDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AdjustmentDetail: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdEndpoint.py index 444f2abd2..8cd0c822c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProcurementAdjustment, - self, - page, - page_size, + super()._make_request("GET", params=params), ProcurementAdjustment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProcurementAdjustment: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesCountEndpoint.py index d7d110aa1..5ecd24d38 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesEndpoint.py index 5d4992dac..c1b0c9b0c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesEndpoint.py @@ -14,10 +14,10 @@ class ProcurementAdjustmentsTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementAdjustmentsTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint( ProcurementAdjustmentsTypesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(ProcurementAdjustmentsTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementAdjustmentsTypesIdEndpoint: """ @@ -48,11 +48,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AdjustmentType, - self, - page, - page_size, + super()._make_request("GET", params=params), AdjustmentType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AdjustmentType]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdEndpoint.py index 9a76e64df..2b4a96a34 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AdjustmentType, - self, - page, - page_size, + super()._make_request("GET", params=params), AdjustmentType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AdjustmentType: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdInfoEndpoint.py index 9910df7ce..4feb489a8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AdjustmentTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AdjustmentTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AdjustmentTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesEndpoint.py index ff9d74419..1cc016946 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesListEndpoint.py index 50e2adcf1..f8cc9e87b 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoCountEndpoint.py index 16bfa309e..c4cedb62b 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoEndpoint.py index 4ce0f4e40..f30fde60e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementAdjustmentsTypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AdjustmentTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), AdjustmentTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AdjustmentTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogCountEndpoint.py index 41e9e0285..8c63cc745 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogEndpoint.py index b49de6205..67925725c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogEndpoint.py @@ -12,8 +12,8 @@ class ProcurementCatalogEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "catalog", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementCatalogInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementCatalogCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementCatalogInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementCatalogIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogItem, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CatalogItem]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsCountEndpoint.py index 9f990af07..f1c86ba10 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsEndpoint.py index da3dc4e9c..8bee81da1 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogComponent, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogComponent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CatalogComponent]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsIdEndpoint.py index d4aa3c81e..081f26f0d 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdComponentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogComponent, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogComponent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CatalogComponent: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdEndpoint.py index fe9d9ed74..cf689503a 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdEndpoint.py @@ -17,20 +17,20 @@ class ProcurementCatalogIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.pricing = self._register_child_endpoint(ProcurementCatalogIdPricingEndpoint(client, parent_endpoint=self)) self.info = self._register_child_endpoint(ProcurementCatalogIdInfoEndpoint(client, parent_endpoint=self)) - self.quantity_on_hand = self._register_child_endpoint( - ProcurementCatalogIdQuantityonhandEndpoint(client, parent_endpoint=self) + self.inventory = self._register_child_endpoint( + ProcurementCatalogIdInventoryEndpoint(client, parent_endpoint=self) ) - self.pricing = self._register_child_endpoint(ProcurementCatalogIdPricingEndpoint(client, parent_endpoint=self)) self.components = self._register_child_endpoint( ProcurementCatalogIdComponentsEndpoint(client, parent_endpoint=self) ) + self.quantity_on_hand = self._register_child_endpoint( + ProcurementCatalogIdQuantityonhandEndpoint(client, parent_endpoint=self) + ) self.minimum_stock_by_warehouse = self._register_child_endpoint( ProcurementCatalogIdMinimumstockbywarehouseEndpoint(client, parent_endpoint=self) ) - self.inventory = self._register_child_endpoint( - ProcurementCatalogIdInventoryEndpoint(client, parent_endpoint=self) - ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[CatalogItem]: """ @@ -46,11 +46,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogItem, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CatalogItem: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInfoEndpoint.py index ed7a6a6f3..70ae9f3c2 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogItemInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogItemInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CatalogItemInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryCountEndpoint.py index 1fa9c4496..8ee7d4d88 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryEndpoint.py index 1758dc774..02af4d0d7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogInventory, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogInventory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CatalogInventory]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryIdEndpoint.py index b9addff7e..aca1404c3 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdInventoryIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogInventory, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogInventory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CatalogInventory: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseCountEndpoint.py index d0484594e..6e412d0fb 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseEndpoint.py index 3fc53b7ad..66d845c56 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MinimumStockByWarehouse, - self, - page, - page_size, + super()._make_request("GET", params=params), MinimumStockByWarehouse, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MinimumStockByWarehouse]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseIdEndpoint.py index 0c4c76ad5..108f0be5f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdMinimumstockbywarehouseIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MinimumStockByWarehouse, - self, - page, - page_size, + super()._make_request("GET", params=params), MinimumStockByWarehouse, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MinimumStockByWarehouse: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdQuantityonhandEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdQuantityonhandEndpoint.py index 09bf02f92..9ccdf41c5 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdQuantityonhandEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogIdQuantityonhandEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoCountEndpoint.py index 023b25033..73f4c46b8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoEndpoint.py index c9b17f609..a870400b6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCatalogInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CatalogItemInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CatalogItemInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CatalogItemInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesCountEndpoint.py index b5d148192..a388ecebe 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesEndpoint.py index 530114ced..b6662dd70 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesEndpoint.py @@ -12,8 +12,8 @@ class ProcurementCategoriesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "categories", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementCategoriesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementCategoriesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementCategoriesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementCategoriesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Category, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Category, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Category]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdEndpoint.py index 028a037ce..38da7eeb1 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdEndpoint.py @@ -12,10 +12,10 @@ class ProcurementCategoriesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.info = self._register_child_endpoint(ProcurementCategoriesIdInfoEndpoint(client, parent_endpoint=self)) self.subcategories = self._register_child_endpoint( ProcurementCategoriesIdSubcategoriesEndpoint(client, parent_endpoint=self) ) - self.info = self._register_child_endpoint(ProcurementCategoriesIdInfoEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Category]: """ @@ -30,13 +30,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Category, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Category, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Category: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdInfoEndpoint.py index 389452adb..b002c8b25 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CategoryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CategoryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CategoryInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesCountEndpoint.py index 554ef8b75..6272d3c5e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesEndpoint.py index ef4c009f1..66c9b86d7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesEndpoint.py @@ -14,12 +14,12 @@ class ProcurementCategoriesIdSubcategoriesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "subcategories", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - ProcurementCategoriesIdSubcategoriesInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( ProcurementCategoriesIdSubcategoriesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + ProcurementCategoriesIdSubcategoriesInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> ProcurementCategoriesIdSubcategoriesIdEndpoint: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdEndpoint.py index d8d39672f..3392e29ac 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LegacySubCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), LegacySubCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LegacySubCategory: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdInfoEndpoint.py index c41ec0440..e8a1d226a 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LegacySubCategoryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), LegacySubCategoryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LegacySubCategoryInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoCountEndpoint.py index 015eb5866..8adc5a08c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoEndpoint.py index f6431991f..3cf9073cd 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesIdSubcategoriesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LegacySubCategoryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), LegacySubCategoryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LegacySubCategoryInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoCountEndpoint.py index b4f72e9d1..10dd88dda 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoEndpoint.py index 9812457a0..2687fcdf5 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementCategoriesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CategoryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CategoryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CategoryInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsCountEndpoint.py index b2c8e6198..a3c712d16 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsEndpoint.py index 5d1866700..69a45e316 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DirectionalSync, - self, - page, - page_size, + super()._make_request("GET", params=params), DirectionalSync, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DirectionalSync]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsIdEndpoint.py index 5ba9db31d..4e626a9f1 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementDirectionalsyncsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DirectionalSync, - self, - page, - page_size, + super()._make_request("GET", params=params), DirectionalSync, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DirectionalSync: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementEndpoint.py index 8294db17f..1d4583be8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementEndpoint.py @@ -31,49 +31,49 @@ class ProcurementEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "procurement", parent_endpoint=parent_endpoint) - self.directional_syncs = self._register_child_endpoint( - ProcurementDirectionalsyncsEndpoint(client, parent_endpoint=self) + self.pricingschedules = self._register_child_endpoint( + ProcurementPricingschedulesEndpoint(client, parent_endpoint=self) ) - self.rma_tags = self._register_child_endpoint(ProcurementRmatagsEndpoint(client, parent_endpoint=self)) - self.warehouses = self._register_child_endpoint(ProcurementWarehousesEndpoint(client, parent_endpoint=self)) - self.rma_statuses = self._register_child_endpoint(ProcurementRmastatusesEndpoint(client, parent_endpoint=self)) - self.unit_of_measures = self._register_child_endpoint( - ProcurementUnitofmeasuresEndpoint(client, parent_endpoint=self) + self.manufacturers = self._register_child_endpoint( + ProcurementManufacturersEndpoint(client, parent_endpoint=self) + ) + self.purchasing_demands = self._register_child_endpoint( + ProcurementPurchasingdemandsEndpoint(client, parent_endpoint=self) ) + self.catalog = self._register_child_endpoint(ProcurementCatalogEndpoint(client, parent_endpoint=self)) + self.categories = self._register_child_endpoint(ProcurementCategoriesEndpoint(client, parent_endpoint=self)) self.warehouse_bins = self._register_child_endpoint( ProcurementWarehousebinsEndpoint(client, parent_endpoint=self) ) - self.types = self._register_child_endpoint(ProcurementTypesEndpoint(client, parent_endpoint=self)) - self.subcategories = self._register_child_endpoint( - ProcurementSubcategoriesEndpoint(client, parent_endpoint=self) - ) - self.adjustments = self._register_child_endpoint(ProcurementAdjustmentsEndpoint(client, parent_endpoint=self)) self.r_m_a_dispositions = self._register_child_endpoint( ProcurementRmadispositionsEndpoint(client, parent_endpoint=self) ) + self.types = self._register_child_endpoint(ProcurementTypesEndpoint(client, parent_endpoint=self)) + self.unit_of_measures = self._register_child_endpoint( + ProcurementUnitofmeasuresEndpoint(client, parent_endpoint=self) + ) + self.settings = self._register_child_endpoint(ProcurementSettingsEndpoint(client, parent_endpoint=self)) self.shipmentmethods = self._register_child_endpoint( ProcurementShipmentmethodsEndpoint(client, parent_endpoint=self) ) + self.subcategories = self._register_child_endpoint( + ProcurementSubcategoriesEndpoint(client, parent_endpoint=self) + ) + self.rma_actions = self._register_child_endpoint(ProcurementRmaactionsEndpoint(client, parent_endpoint=self)) + self.rma_tags = self._register_child_endpoint(ProcurementRmatagsEndpoint(client, parent_endpoint=self)) + self.rma_statuses = self._register_child_endpoint(ProcurementRmastatusesEndpoint(client, parent_endpoint=self)) self.purchaseorders = self._register_child_endpoint( ProcurementPurchaseordersEndpoint(client, parent_endpoint=self) ) - self.purchasing_demands = self._register_child_endpoint( - ProcurementPurchasingdemandsEndpoint(client, parent_endpoint=self) - ) - self.settings = self._register_child_endpoint(ProcurementSettingsEndpoint(client, parent_endpoint=self)) self.onhandserialnumbers = self._register_child_endpoint( ProcurementOnhandserialnumbersEndpoint(client, parent_endpoint=self) ) - self.pricingschedules = self._register_child_endpoint( - ProcurementPricingschedulesEndpoint(client, parent_endpoint=self) - ) - self.categories = self._register_child_endpoint(ProcurementCategoriesEndpoint(client, parent_endpoint=self)) - self.products = self._register_child_endpoint(ProcurementProductsEndpoint(client, parent_endpoint=self)) - self.manufacturers = self._register_child_endpoint( - ProcurementManufacturersEndpoint(client, parent_endpoint=self) - ) + self.adjustments = self._register_child_endpoint(ProcurementAdjustmentsEndpoint(client, parent_endpoint=self)) + self.warehouses = self._register_child_endpoint(ProcurementWarehousesEndpoint(client, parent_endpoint=self)) self.purchaseorderstatuses = self._register_child_endpoint( ProcurementPurchaseorderstatusesEndpoint(client, parent_endpoint=self) ) - self.catalog = self._register_child_endpoint(ProcurementCatalogEndpoint(client, parent_endpoint=self)) - self.rma_actions = self._register_child_endpoint(ProcurementRmaactionsEndpoint(client, parent_endpoint=self)) + self.directional_syncs = self._register_child_endpoint( + ProcurementDirectionalsyncsEndpoint(client, parent_endpoint=self) + ) + self.products = self._register_child_endpoint(ProcurementProductsEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountEndpoint.py index b1dc36d09..691bf6389 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountInfoEndpoint.py index a2f176adb..c22784807 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersCountInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersEndpoint.py index 7f1737a1d..430b70e40 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersEndpoint.py @@ -12,8 +12,8 @@ class ProcurementManufacturersEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "manufacturers", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementManufacturersInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementManufacturersCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementManufacturersInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementManufacturersIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Manufacturer, - self, - page, - page_size, + super()._make_request("GET", params=params), Manufacturer, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Manufacturer]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdEndpoint.py index 59a042a60..bcd4a9cd7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Manufacturer, - self, - page, - page_size, + super()._make_request("GET", params=params), Manufacturer, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Manufacturer: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdInfoEndpoint.py index 11527a3d8..be6112c1c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManufacturerInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ManufacturerInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManufacturerInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersInfoEndpoint.py index 380bfc33e..b92542d9a 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementManufacturersInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementManufacturersInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManufacturerInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ManufacturerInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManufacturerInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersCountEndpoint.py index da05cedbe..48d189442 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersEndpoint.py index 8429eb54f..ab2e8d99b 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OnHandSerialNumber, - self, - page, - page_size, + super()._make_request("GET", params=params), OnHandSerialNumber, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OnHandSerialNumber]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersIdEndpoint.py index 4569fa229..842fb2f3b 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementOnhandserialnumbersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OnHandSerialNumber, - self, - page, - page_size, + super()._make_request("GET", params=params), OnHandSerialNumber, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OnHandSerialNumber: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesCountEndpoint.py index 3fe6449b1..2949f2740 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesEndpoint.py index 178c6ed12..64002db66 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PricingSchedule, - self, - page, - page_size, + super()._make_request("GET", params=params), PricingSchedule, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PricingSchedule]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsCountEndpoint.py index 2af5d8807..8c96dedf1 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsEndpoint.py index 2abe10039..404e08ebb 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PricingDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), PricingDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PricingDetail]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksCountEndpoint.py index 7738db76c..e32cd134e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksEndpoint.py index aef2574a4..db5000378 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PricingBreak, - self, - page, - page_size, + super()._make_request("GET", params=params), PricingBreak, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PricingBreak]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksIdEndpoint.py index d07337270..3e5a7b893 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdBreaksIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PricingBreak, - self, - page, - page_size, + super()._make_request("GET", params=params), PricingBreak, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PricingBreak: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdEndpoint.py index e5ac8b2fc..a45289158 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdDetailsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PricingDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), PricingDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PricingDetail: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdEndpoint.py index 23a88af70..d01ef40db 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPricingschedulesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PricingSchedule, - self, - page, - page_size, + super()._make_request("GET", params=params), PricingSchedule, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PricingSchedule: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsCountEndpoint.py index 7cdc73ea8..a4d5f005a 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsEndpoint.py index ea9c15672..98c7785eb 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductItem, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductItem]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsCountEndpoint.py index a8589665e..cce377af4 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsEndpoint.py index 2a8f81a9e..6cd4d2fc6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductComponent, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductComponent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductComponent]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsIdEndpoint.py index 6705f901d..494be2b4f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdComponentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductComponent, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductComponent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductComponent]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdEndpoint.py index f8eced8da..6a6fe7398 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdEndpoint.py @@ -14,13 +14,13 @@ class ProcurementProductsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.picking_shipping_details = self._register_child_endpoint( - ProcurementProductsIdPickingshippingdetailsEndpoint(client, parent_endpoint=self) - ) - self.detach = self._register_child_endpoint(ProcurementProductsIdDetachEndpoint(client, parent_endpoint=self)) self.components = self._register_child_endpoint( ProcurementProductsIdComponentsEndpoint(client, parent_endpoint=self) ) + self.detach = self._register_child_endpoint(ProcurementProductsIdDetachEndpoint(client, parent_endpoint=self)) + self.picking_shipping_details = self._register_child_endpoint( + ProcurementProductsIdPickingshippingdetailsEndpoint(client, parent_endpoint=self) + ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[ProductItem]: """ @@ -36,11 +36,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductItem, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProductItem: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsCountEndpoint.py index 4acff857c..be1be32a6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsEndpoint.py index 27fc3fb5e..4bbc1bfd9 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductPickingShippingDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductPickingShippingDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductPickingShippingDetail]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsIdEndpoint.py index a1684c801..75d061d71 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementProductsIdPickingshippingdetailsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductPickingShippingDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductPickingShippingDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductPickingShippingDetail]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersCountEndpoint.py index e6595fd21..52870cb79 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersEndpoint.py index e65ff8147..947007c91 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrder, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PurchaseOrder]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdEndpoint.py index ff1b3a667..717a99c0d 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdEndpoint.py @@ -41,11 +41,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrder, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrder, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PurchaseOrder: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsCountEndpoint.py index 0e124238d..26aa006ce 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsEndpoint.py index 3d3b2ccb5..db7ee786c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsEndpoint.py @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderLineItem, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderLineItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PurchaseOrderLineItem]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsIdEndpoint.py index 15bcffa91..52b4bf8f7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseordersIdLineitemsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderLineItem, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderLineItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PurchaseOrderLineItem: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesCountEndpoint.py index 27097a062..db1ae7594 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesEndpoint.py index f57719f11..6ebea0bcb 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PurchaseOrderStatus]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesCountEndpoint.py index ae17b4d86..241e32bc1 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesIdEndpoint.py index a99834b04..6e25f8de6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEmailtemplatesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderStatusEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderStatusEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PurchaseOrderStatusEmailTemplate: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEndpoint.py index d02471a4c..aaec0b680 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdEndpoint.py @@ -18,12 +18,12 @@ def __init__(self, client, parent_endpoint=None): self.usages = self._register_child_endpoint( ProcurementPurchaseorderstatusesIdUsagesEndpoint(client, parent_endpoint=self) ) - self.emailtemplates = self._register_child_endpoint( - ProcurementPurchaseorderstatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) - ) self.notifications = self._register_child_endpoint( ProcurementPurchaseorderstatusesIdNotificationsEndpoint(client, parent_endpoint=self) ) + self.emailtemplates = self._register_child_endpoint( + ProcurementPurchaseorderstatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) + ) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -41,11 +41,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PurchaseOrderStatus: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsCountEndpoint.py index d5f580276..2d49395cd 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsEndpoint.py index 09f547ab2..e7976eaf0 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderStatusNotification, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsIdEndpoint.py index 44e00ccc3..103e6ff71 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdNotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PurchaseOrderStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), PurchaseOrderStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PurchaseOrderStatusNotification: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesEndpoint.py index 005a6bd65..9779a27d7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesListEndpoint.py index d608da596..ad741610f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementPurchaseorderstatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsCountEndpoint.py index 01a296ccd..24ba79ef7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsEndpoint.py index a09e41320..b847388cf 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsEndpoint.py @@ -12,8 +12,8 @@ class ProcurementRmaactionsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "rmaActions", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementRmaactionsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementRmaactionsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementRmaactionsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementRmaactionsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaAction, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaAction, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaAction]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdEndpoint.py index 6e10e5bfb..33e50b518 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaAction, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaAction, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaAction: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdInfoEndpoint.py index 07989af68..a6e01d9a6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaActionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaActionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaActionInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoCountEndpoint.py index 4e22c375e..65fe6e762 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoEndpoint.py index 221b48700..c802802d7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmaactionsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaActionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaActionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaActionInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsCountEndpoint.py index ae2fa50da..4e94a850f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsEndpoint.py index 906ade30c..9e597c3c9 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsEndpoint.py @@ -13,10 +13,10 @@ class ProcurementRmadispositionsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "RMADispositions", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementRmadispositionsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint( ProcurementRmadispositionsCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(ProcurementRmadispositionsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementRmadispositionsIdEndpoint: """ @@ -47,11 +47,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaDisposition, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaDisposition, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaDisposition]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdEndpoint.py index 8b0da7048..26a2c56b7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaDisposition, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaDisposition, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaDisposition: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdInfoEndpoint.py index 7004d4dd2..eb27ac969 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaDispositionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaDispositionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaDispositionInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoCountEndpoint.py index 782a20ee0..764b1d25e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoEndpoint.py index e3d64ad3a..b825841b1 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmadispositionsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaDispositionInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaDispositionInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaDispositionInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesCountEndpoint.py index 2d1e1b6b1..9a6cb1b81 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesEndpoint.py index 2db8c2fab..c616c3ad6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesEndpoint.py @@ -12,8 +12,8 @@ class ProcurementRmastatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "rmaStatuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementRmastatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementRmastatusesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementRmastatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementRmastatusesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatus, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaStatus, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaStatus]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesCountEndpoint.py index 431162910..e862410d8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesIdEndpoint.py index 8a2f654f3..9eebc1672 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEmailtemplatesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatusEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaStatusEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaStatusEmailTemplate: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEndpoint.py index f00b110da..bfbd5537e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdEndpoint.py @@ -15,18 +15,18 @@ class ProcurementRmastatusesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.emailtemplates = self._register_child_endpoint( - ProcurementRmastatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) + self.usages = self._register_child_endpoint( + ProcurementRmastatusesIdUsagesEndpoint(client, parent_endpoint=self) ) self.info = self._register_child_endpoint(ProcurementRmastatusesIdInfoEndpoint(client, parent_endpoint=self)) - self.email_templates = self._register_child_endpoint( + self.emailtemplates = self._register_child_endpoint( ProcurementRmastatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) ) self.notifications = self._register_child_endpoint( ProcurementRmastatusesIdNotificationsEndpoint(client, parent_endpoint=self) ) - self.usages = self._register_child_endpoint( - ProcurementRmastatusesIdUsagesEndpoint(client, parent_endpoint=self) + self.email_templates = self._register_child_endpoint( + ProcurementRmastatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[RmaStatus]: @@ -42,13 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatus, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaStatus, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaStatus: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdInfoEndpoint.py index ede92e86f..236f28c6e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsCountEndpoint.py index 04f12e2a6..7ea0099d8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsEndpoint.py index 30f7162a3..ee9336783 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaStatusNotification]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsIdEndpoint.py index 7b49a4c24..e3238327b 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdNotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaStatusNotification: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesEndpoint.py index 14e120e35..de6b92a3e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesListEndpoint.py index fb6743a02..ec837388f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoCountEndpoint.py index 841c2e15f..e1c8dfed5 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoEndpoint.py index eb73a93b0..fb9617f50 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmastatusesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - RmaStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), RmaStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsCountEndpoint.py index 095f8d2ae..fa54321d2 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsDefaultEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsDefaultEndpoint.py index 935d49087..d14d7f8a8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsDefaultEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsDefaultEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaTag, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaTag, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaTag: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsEndpoint.py index 8aabc8650..8f8bf1751 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsEndpoint.py @@ -12,8 +12,8 @@ class ProcurementRmatagsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "rmaTags", parent_endpoint=parent_endpoint) - self.default = self._register_child_endpoint(ProcurementRmatagsDefaultEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementRmatagsCountEndpoint(client, parent_endpoint=self)) + self.default = self._register_child_endpoint(ProcurementRmatagsDefaultEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementRmatagsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaTag, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaTag, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[RmaTag]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsIdEndpoint.py index 60213aaed..3cb844ff8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementRmatagsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementRmatagsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - RmaTag, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), RmaTag, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> RmaTag: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSettingsCountEndpoint.py index 9bd32157b..11d7f2532 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSettingsEndpoint.py index 5c2445c1f..f910c7c6f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSettingsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProcurementSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), ProcurementSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProcurementSetting]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSettingsIdEndpoint.py index 176f9ddcc..8d769bbce 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProcurementSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), ProcurementSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProcurementSetting: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsCountEndpoint.py index e4b0dc874..ac9070742 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsEndpoint.py index 571b8ea6e..e5b1f7311 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsEndpoint.py @@ -13,10 +13,10 @@ class ProcurementShipmentmethodsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "shipmentmethods", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementShipmentmethodsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint( ProcurementShipmentmethodsCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(ProcurementShipmentmethodsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementShipmentmethodsIdEndpoint: """ @@ -47,11 +47,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ShipmentMethod, - self, - page, - page_size, + super()._make_request("GET", params=params), ShipmentMethod, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ShipmentMethod]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdEndpoint.py index c72d719c2..08173a05c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ShipmentMethod, - self, - page, - page_size, + super()._make_request("GET", params=params), ShipmentMethod, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ShipmentMethod: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdInfoEndpoint.py index d8c02af9e..f37c6aab3 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ShipmentMethodInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ShipmentMethodInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ShipmentMethodInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesEndpoint.py index d22106f9c..b980421d9 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesListEndpoint.py index a99efab6c..162050f15 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoCountEndpoint.py index d91939a93..696eb90f0 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoEndpoint.py index a3cf33e04..e9392346c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementShipmentmethodsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ShipmentMethodInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ShipmentMethodInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ShipmentMethodInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesCountEndpoint.py index deb6ecffb..bf65b688c 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesEndpoint.py index 234332f43..f32d1533e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesEndpoint.py @@ -11,8 +11,8 @@ class ProcurementSubcategoriesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "subcategories", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementSubcategoriesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementSubcategoriesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementSubcategoriesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementSubcategoriesIdEndpoint: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdEndpoint.py index 5ba686cff..9ad144698 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SubCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), SubCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SubCategory: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdInfoEndpoint.py index 950c7ae73..0d3090f97 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SubCategoryInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SubCategoryInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SubCategoryInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesEndpoint.py index 41ea182ea..4fd7d98d2 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesListEndpoint.py index 357c1ece2..5c596be1e 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesInfoCountEndpoint.py index 2798a96e1..e5b1dc519 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementSubcategoriesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesCountEndpoint.py index 8845ce678..8c527d5d5 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesEndpoint.py index d45b888a6..e65517633 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesEndpoint.py @@ -12,8 +12,8 @@ class ProcurementTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementTypesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductType, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductType]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdEndpoint.py index 6f2324ba3..266506fe5 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductType, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProductType: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdInfoEndpoint.py index 3807663a5..267e347b7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProductTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesEndpoint.py index 7b3c7b2d4..2f7a27d1d 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesListEndpoint.py index d6a5edafb..0e6053497 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoCountEndpoint.py index 28096e480..d1454130b 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoEndpoint.py index cb146b482..c8067290d 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementTypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresCountEndpoint.py index acdb77671..a107637a8 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresEndpoint.py index 752df0e88..ee981f926 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnitOfMeasure, - self, - page, - page_size, + super()._make_request("GET", params=params), UnitOfMeasure, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UnitOfMeasure]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsCountEndpoint.py index 22f4fd44a..ad7cf0f88 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsEndpoint.py index b328d6bae..a04871686 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsEndpoint.py @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Conversion, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Conversion, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Conversion]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsIdEndpoint.py index 0fe160059..4cae24534 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdConversionsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Conversion, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Conversion, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Conversion: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdEndpoint.py index e347a3cc0..6317e5e4d 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementUnitofmeasuresIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UnitOfMeasure, - self, - page, - page_size, + super()._make_request("GET", params=params), UnitOfMeasure, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UnitOfMeasure: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsCountEndpoint.py index 4a240863a..7fdde5191 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsEndpoint.py index 7b641fcbb..614992129 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsEndpoint.py @@ -12,8 +12,8 @@ class ProcurementWarehousebinsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "warehouseBins", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementWarehousebinsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementWarehousebinsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementWarehousebinsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementWarehousebinsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WarehouseBin, - self, - page, - page_size, + super()._make_request("GET", params=params), WarehouseBin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WarehouseBin]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdEndpoint.py index 81c23ece7..a714bb654 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdEndpoint.py @@ -33,11 +33,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WarehouseBin, - self, - page, - page_size, + super()._make_request("GET", params=params), WarehouseBin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WarehouseBin: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInfoEndpoint.py index 60d10daf4..fed5e3377 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WarehouseBinInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WarehouseBinInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WarehouseBinInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandCountEndpoint.py index ce566ab43..c857a1990 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandEndpoint.py index d6b12945b..5015217a5 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InventoryOnHand, - self, - page, - page_size, + super()._make_request("GET", params=params), InventoryOnHand, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InventoryOnHand]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandIdEndpoint.py index ba502888f..17a3ec9b9 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsIdInventoryonhandIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InventoryOnHand, - self, - page, - page_size, + super()._make_request("GET", params=params), InventoryOnHand, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InventoryOnHand: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoCountEndpoint.py index 7e819f233..7ea0c6db9 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoEndpoint.py index e9aac4b30..f3131c33d 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousebinsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WarehouseBinInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WarehouseBinInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WarehouseBinInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesCountEndpoint.py index 67a2ea544..f1d867280 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesEndpoint.py index 3c473a9db..10d6e77c7 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesEndpoint.py @@ -12,8 +12,8 @@ class ProcurementWarehousesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "warehouses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProcurementWarehousesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProcurementWarehousesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProcurementWarehousesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProcurementWarehousesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Warehouse, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Warehouse, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Warehouse]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdEndpoint.py index f2a1590f3..e6f855328 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Warehouse, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Warehouse, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Warehouse: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdInfoEndpoint.py index ec76e5b5f..81e9d5bf6 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WarehouseInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WarehouseInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WarehouseInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoCountEndpoint.py index f7425d6f1..1073ab87f 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoEndpoint.py index 4301fea33..909b93576 100644 --- a/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProcurementWarehousesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WarehouseInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WarehouseInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WarehouseInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsCountEndpoint.py index ab2a96297..0bfc600e3 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsEndpoint.py index bc7ee583d..b3bfe5781 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsEndpoint.py @@ -12,8 +12,8 @@ class ProjectBoardsIdTeamsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "teams", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProjectBoardsIdTeamsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProjectBoardsIdTeamsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProjectBoardsIdTeamsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProjectBoardsIdTeamsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBoardTeam, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBoardTeam, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectBoardTeam]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdEndpoint.py index 6c1dc15b4..8d23ce0d1 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdEndpoint.py @@ -32,11 +32,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBoardTeam, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBoardTeam, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectBoardTeam: diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoCountEndpoint.py index 26f4f3055..cbdccb7f7 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoEndpoint.py index 360ed74c2..aa400d061 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBoardTeamInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBoardTeamInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectBoardTeamInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersEndpoint.py index 7251e0f7f..a89fa8942 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersEndpoint.py @@ -40,11 +40,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBoardTeamMember, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBoardTeamMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectBoardTeamMember]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersIdEndpoint.py index 6a01b917c..e4227f580 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsIdMembersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBoardTeamMember, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBoardTeamMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectBoardTeamMember: diff --git a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsInfoEndpoint.py index 8bfd85e28..f0bd0b8ef 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectBoardsIdTeamsInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBoardTeamInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBoardTeamInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectBoardTeamInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectEndpoint.py index 8d5244faf..ea43a5fc6 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectEndpoint.py @@ -20,21 +20,21 @@ class ProjectEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "project", parent_endpoint=parent_endpoint) - self.projects = self._register_child_endpoint(ProjectProjectsEndpoint(client, parent_endpoint=self)) self.phase_statuses = self._register_child_endpoint(ProjectPhasestatusesEndpoint(client, parent_endpoint=self)) - self.security_roles = self._register_child_endpoint(ProjectSecurityrolesEndpoint(client, parent_endpoint=self)) - self.status_indicators = self._register_child_endpoint( - ProjectStatusindicatorsEndpoint(client, parent_endpoint=self) - ) self.ticket_note = self._register_child_endpoint(ProjectTicketnoteEndpoint(client, parent_endpoint=self)) - self.billing_rates = self._register_child_endpoint(ProjectBillingratesEndpoint(client, parent_endpoint=self)) self.project_types = self._register_child_endpoint(ProjectProjecttypesEndpoint(client, parent_endpoint=self)) - self.tickets = self._register_child_endpoint(ProjectTicketsEndpoint(client, parent_endpoint=self)) self.boards = self._register_child_endpoint(ProjectBoardsEndpoint(client, parent_endpoint=self)) - self.statuses = self._register_child_endpoint(ProjectStatusesEndpoint(client, parent_endpoint=self)) + self.projects = self._register_child_endpoint(ProjectProjectsEndpoint(client, parent_endpoint=self)) + self.billing_rates = self._register_child_endpoint(ProjectBillingratesEndpoint(client, parent_endpoint=self)) + self.tickets = self._register_child_endpoint(ProjectTicketsEndpoint(client, parent_endpoint=self)) self.project_templates = self._register_child_endpoint( ProjectProjecttemplatesEndpoint(client, parent_endpoint=self) ) + self.security_roles = self._register_child_endpoint(ProjectSecurityrolesEndpoint(client, parent_endpoint=self)) + self.status_indicators = self._register_child_endpoint( + ProjectStatusindicatorsEndpoint(client, parent_endpoint=self) + ) + self.statuses = self._register_child_endpoint(ProjectStatusesEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProjectIdEndpoint: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesCountEndpoint.py index 0de302ea3..a076732c3 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesEndpoint.py index b2f7bbfa4..3599a097f 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBillingRate, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBillingRate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectBillingRate]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesIdEndpoint.py index d9ef9a81e..32c21af11 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectIdBillingratesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectBillingRate, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectBillingRate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectBillingRate: diff --git a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesCountEndpoint.py index dd9953811..034b282c7 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesEndpoint.py index fbdd426bd..fae215e2a 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PhaseStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), PhaseStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PhaseStatus]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdEndpoint.py index 3608bc819..9fb666801 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PhaseStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), PhaseStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PhaseStatus: diff --git a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesEndpoint.py index b8de55536..18a9c3aab 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesListEndpoint.py index 78f15f3cd..c79b58502 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectPhasestatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsCountEndpoint.py index 53eae1e26..45ca03683 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsEndpoint.py index 30205a1da..5cb820ebb 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Project, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Project, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Project]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsEndpoint.py index 8686107d7..1a3281267 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectContact, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectContact]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsIdEndpoint.py index 551628569..0de9d24c1 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdContactsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectContact, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectContact: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdEndpoint.py index ac7101164..e681074ce 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdEndpoint.py @@ -16,14 +16,14 @@ def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) self.phases = self._register_child_endpoint(ProjectProjectsIdPhasesEndpoint(client, parent_endpoint=self)) + self.project_workplan = self._register_child_endpoint( + ProjectProjectsIdProjectworkplanEndpoint(client, parent_endpoint=self) + ) self.team_members = self._register_child_endpoint( ProjectProjectsIdTeammembersEndpoint(client, parent_endpoint=self) ) self.notes = self._register_child_endpoint(ProjectProjectsIdNotesEndpoint(client, parent_endpoint=self)) self.contacts = self._register_child_endpoint(ProjectProjectsIdContactsEndpoint(client, parent_endpoint=self)) - self.project_workplan = self._register_child_endpoint( - ProjectProjectsIdProjectworkplanEndpoint(client, parent_endpoint=self) - ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Project]: """ @@ -38,13 +38,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Project, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Project, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Project: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesCountEndpoint.py index 3d9da3d41..1e5181d00 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesEndpoint.py index 1fdc4575c..181f07407 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectNote]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesIdEndpoint.py index 01e5002f5..1e9c0bf3b 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdNotesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectNote: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesCountEndpoint.py index e3eb2be9c..0cb9ddc83 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesEndpoint.py index e43a1d981..2f7063292 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectPhase, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectPhase, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectPhase]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesIdEndpoint.py index de1054538..5c30726f6 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdPhasesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectPhase, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectPhase, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectPhase: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanCountEndpoint.py index 9d4e84ad2..462c91b98 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanEndpoint.py index 5e441815a..cc856bf0d 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectWorkplan, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectWorkplan, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectWorkplan]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanIdEndpoint.py index c16e0e51a..43c92aaae 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdProjectworkplanIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectWorkplan, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectWorkplan, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectWorkplan: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersCountEndpoint.py index f9dee3500..0660558f0 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersEndpoint.py index dd80910f2..798efe01f 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTeamMember, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTeamMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTeamMember]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersIdEndpoint.py index a13e9c514..3459c9a31 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjectsIdTeammembersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTeamMember, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTeamMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectTeamMember: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesCountEndpoint.py index c02bbbc02..dd5266590 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdEndpoint.py index 6d25c7cbe..f7da9ad1c 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectTemplate: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsCountEndpoint.py index 1c33fb4cb..069bafd1f 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsEndpoint.py index 903c0a15d..7a37c91c9 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTemplateTicket, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTemplateTicket, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTemplateTicket]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdEndpoint.py index cfad37a25..5989ac551 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTemplateTicket, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTemplateTicket, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectTemplateTicket: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksCountEndpoint.py index 1ac796222..e65a66f3e 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksEndpoint.py index 953784709..03c24f408 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTemplateTask, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTemplateTask, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTemplateTask]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksIdEndpoint.py index 4f3933211..5f932d533 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdProjecttemplateticketsIdTasksIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTemplateTask, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTemplateTask, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectTemplateTask: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdWorkplanEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdWorkplanEndpoint.py index 6da22f40b..5a8ab95c0 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdWorkplanEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttemplatesIdWorkplanEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTemplateWorkPlan, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTemplateWorkPlan, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTemplateWorkPlan]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesCountEndpoint.py index cbff92254..04db8a533 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesEndpoint.py index f327e9057..1a0e12421 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesEndpoint.py @@ -12,8 +12,8 @@ class ProjectProjecttypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "projectTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProjectProjecttypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProjectProjecttypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProjectProjecttypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProjectProjecttypesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectType, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectType]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdEndpoint.py index 7e294997f..e9a75e4b3 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectType, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectType: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdInfoEndpoint.py index 699ae2702..3e430c7bd 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesEndpoint.py index d0fe3411b..af5760c3e 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesEndpoint.py @@ -26,13 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesListEndpoint.py index fe0f99058..cb04099dc 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoCountEndpoint.py index 68b93d94a..bc06c3905 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoEndpoint.py index d692bf5d8..c9aabb5b7 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectProjecttypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesCountEndpoint.py index 0616978ad..8556cebd6 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesEndpoint.py index 35dd378ff..ec759d865 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectSecurityRole, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectSecurityRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectSecurityRole]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdEndpoint.py index 6db466319..0ba4a7461 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectSecurityRole, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectSecurityRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectSecurityRole: diff --git a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsCountEndpoint.py index dd9ddd83a..5b4281f7b 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsEndpoint.py index ebfde1c0c..3534b10d6 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectSecurityRoleSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectSecurityRoleSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectSecurityRoleSetting]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsIdEndpoint.py index 9a75beb86..a0a8686cb 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectSecurityrolesIdSettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectSecurityRoleSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectSecurityRoleSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectSecurityRoleSetting: diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesCountEndpoint.py index 2cc594f0a..f8b38175b 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesEndpoint.py index e0eff1d1a..54674a5f0 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesEndpoint.py @@ -12,8 +12,8 @@ class ProjectStatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "statuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ProjectStatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ProjectStatusesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ProjectStatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ProjectStatusesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectStatus]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdEndpoint.py index 911c0b94a..e6cf61cd6 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectStatus: diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdInfoEndpoint.py index a7506bd2b..934d613c1 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesEndpoint.py index f23a74042..baa7cad2f 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesListEndpoint.py index 2a4769bd0..8318fbd4c 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoCountEndpoint.py index 5f890b7bd..b27bdbdb2 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoEndpoint.py index 12d41ac8d..04e288ec1 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsCountEndpoint.py index 7bf2c226e..671f60ef3 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsEndpoint.py index 3ff0576aa..e102bc0e4 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - StatusIndicator, - self, - page, - page_size, + super()._make_request("GET", params=params), StatusIndicator, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[StatusIndicator]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsIdEndpoint.py index e2c27a611..ef39ce8a5 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectStatusindicatorsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - StatusIndicator, - self, - page, - page_size, + super()._make_request("GET", params=params), StatusIndicator, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> StatusIndicator: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsCountEndpoint.py index 86d083a96..150fed4e3 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsEndpoint.py index 2dd1f1298..d69198d7d 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsEndpoint.py @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTicket, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTicket, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTicket]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesCountEndpoint.py index 85bef08a9..04fd383df 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesEndpoint.py index b3e415730..356a86425 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdActivitiesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityReference]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdAllnotesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdAllnotesEndpoint.py index faf12a262..25d9db9c7 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdAllnotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdAllnotesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTicketNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTicketNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProjectTicketNote]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsCountEndpoint.py index 9340041a5..c9fc491d7 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsEndpoint.py index 2142830ae..7ee82ff07 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationReference]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsIdEndpoint.py index a1072010c..a1b2d762f 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdConfigurationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationReference: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsCountEndpoint.py index 14a13cb01..293641f23 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsEndpoint.py index 73ca18f58..a25c38a61 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdDocumentsEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentReference, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DocumentReference]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdEndpoint.py index 1ef2bbce2..384596f26 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdEndpoint.py @@ -20,24 +20,24 @@ class ProjectTicketsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.scheduleentries = self._register_child_endpoint( - ProjectTicketsIdScheduleentriesEndpoint(client, parent_endpoint=self) - ) + self.documents = self._register_child_endpoint(ProjectTicketsIdDocumentsEndpoint(client, parent_endpoint=self)) self.tasks = self._register_child_endpoint(ProjectTicketsIdTasksEndpoint(client, parent_endpoint=self)) self.all_notes = self._register_child_endpoint(ProjectTicketsIdAllnotesEndpoint(client, parent_endpoint=self)) - self.products = self._register_child_endpoint(ProjectTicketsIdProductsEndpoint(client, parent_endpoint=self)) - self.timeentries = self._register_child_endpoint( - ProjectTicketsIdTimeentriesEndpoint(client, parent_endpoint=self) - ) - self.convert = self._register_child_endpoint(ProjectTicketsIdConvertEndpoint(client, parent_endpoint=self)) self.notes = self._register_child_endpoint(ProjectTicketsIdNotesEndpoint(client, parent_endpoint=self)) + self.configurations = self._register_child_endpoint( + ProjectTicketsIdConfigurationsEndpoint(client, parent_endpoint=self) + ) self.activities = self._register_child_endpoint( ProjectTicketsIdActivitiesEndpoint(client, parent_endpoint=self) ) - self.documents = self._register_child_endpoint(ProjectTicketsIdDocumentsEndpoint(client, parent_endpoint=self)) - self.configurations = self._register_child_endpoint( - ProjectTicketsIdConfigurationsEndpoint(client, parent_endpoint=self) + self.scheduleentries = self._register_child_endpoint( + ProjectTicketsIdScheduleentriesEndpoint(client, parent_endpoint=self) ) + self.convert = self._register_child_endpoint(ProjectTicketsIdConvertEndpoint(client, parent_endpoint=self)) + self.timeentries = self._register_child_endpoint( + ProjectTicketsIdTimeentriesEndpoint(client, parent_endpoint=self) + ) + self.products = self._register_child_endpoint(ProjectTicketsIdProductsEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -55,11 +55,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProjectTicket, - self, - page, - page_size, + super()._make_request("GET", params=params), ProjectTicket, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ProjectTicket: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesCountEndpoint.py index 926a4dc26..f0bd6f5c8 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesEndpoint.py index b17b4e8cf..bc0d09869 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketNote, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketNote, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TicketNote]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesIdEndpoint.py index 4841f1c2f..76e47963e 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdNotesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketNote, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketNote, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TicketNote: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsCountEndpoint.py index deccd9bf4..17b7cc3a7 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsEndpoint.py index 8f5974628..3bf595148 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdProductsEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductReference]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesCountEndpoint.py index 39469ee6e..fe8123a2e 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesEndpoint.py index 6febc8173..45c439ea4 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdScheduleentriesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleEntryReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleEntryReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleEntryReference]: diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksCountEndpoint.py index 87a8bc419..3f28aa458 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksEndpoint.py index 5c4daff7b..b598949a2 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketTask, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketTask, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TicketTask]: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksIdEndpoint.py index b7a85742d..c07e7f3c9 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTasksIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketTask, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketTask, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TicketTask: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesCountEndpoint.py index ddf0cdcbd..f74374094 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesEndpoint.py index 9d0cec95b..fc6974f60 100644 --- a/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ProjectTicketsIdTimeentriesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeEntryReference, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeEntryReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeEntryReference]: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesCountEndpoint.py index 8e60c748d..00007b524 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesEndpoint.py index a1f1f252b..4044e5a3a 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesEndpoint.py @@ -13,9 +13,9 @@ class SalesActivitiesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "activities", parent_endpoint=parent_endpoint) - self.types = self._register_child_endpoint(SalesActivitiesTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesActivitiesCountEndpoint(client, parent_endpoint=self)) self.statuses = self._register_child_endpoint(SalesActivitiesStatusesEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(SalesActivitiesTypesEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesActivitiesIdEndpoint: """ @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Activity, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Activity, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Activity]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesIdEndpoint.py index a9d16ccb1..afe796c44 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Activity, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Activity, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Activity: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesCountEndpoint.py index 0864cb4ba..bcf302ff9 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesEndpoint.py index 6dd4642af..16696ee94 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesEndpoint.py @@ -12,8 +12,8 @@ class SalesActivitiesStatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "statuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesActivitiesStatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesActivitiesStatusesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SalesActivitiesStatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesActivitiesStatusesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityStatus]: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdEndpoint.py index 8a26b9003..2ea0b4b7c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ActivityStatus: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdInfoEndpoint.py index 91d50e3af..7f92883b5 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ActivityStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoCountEndpoint.py index 5b4cf1be0..fa79bed1c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoEndpoint.py index a176b754d..cc5bad151 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesStatusesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesCountEndpoint.py index 62d372be1..66a1cfdf8 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesEndpoint.py index 222a1931d..6f3c6b2d6 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityType, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityType]: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdEndpoint.py index aa5800d13..698c4bbef 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityType, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ActivityType: diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesEndpoint.py index 4c0d4cf18..9f7a58abb 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesListEndpoint.py index 4fd9668da..c1fdba3ed 100644 --- a/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesActivitiesTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesCommissionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesCommissionsCountEndpoint.py index 499b5bef2..cfee6d275 100644 --- a/src/pyconnectwise/endpoints/manage/SalesCommissionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesCommissionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesCommissionsEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesCommissionsEndpoint.py index c550dd85c..f2df580f8 100644 --- a/src/pyconnectwise/endpoints/manage/SalesCommissionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesCommissionsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Commission, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Commission, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Commission]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesCommissionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesCommissionsIdEndpoint.py index 504b435fb..210b776f9 100644 --- a/src/pyconnectwise/endpoints/manage/SalesCommissionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesCommissionsIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Commission, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Commission, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Commission: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesEndpoint.py index 4d39076e2..7f45a7995 100644 --- a/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesListEndpoint.py index b728eaeaa..75b39418e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesCommissionsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesEndpoint.py index e477ca83b..59f37b4bf 100644 --- a/src/pyconnectwise/endpoints/manage/SalesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesEndpoint.py @@ -19,14 +19,14 @@ class SalesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "sales", parent_endpoint=parent_endpoint) - self.sales_teams = self._register_child_endpoint(SalesSalesteamsEndpoint(client, parent_endpoint=self)) - self.stages = self._register_child_endpoint(SalesStagesEndpoint(client, parent_endpoint=self)) self.service = self._register_child_endpoint(SalesServiceEndpoint(client, parent_endpoint=self)) - self.commissions = self._register_child_endpoint(SalesCommissionsEndpoint(client, parent_endpoint=self)) - self.probabilities = self._register_child_endpoint(SalesProbabilitiesEndpoint(client, parent_endpoint=self)) - self.orders = self._register_child_endpoint(SalesOrdersEndpoint(client, parent_endpoint=self)) + self.sales_teams = self._register_child_endpoint(SalesSalesteamsEndpoint(client, parent_endpoint=self)) self.roles = self._register_child_endpoint(SalesRolesEndpoint(client, parent_endpoint=self)) - self.schedule = self._register_child_endpoint(SalesScheduleEndpoint(client, parent_endpoint=self)) - self.quotas = self._register_child_endpoint(SalesQuotasEndpoint(client, parent_endpoint=self)) + self.probabilities = self._register_child_endpoint(SalesProbabilitiesEndpoint(client, parent_endpoint=self)) + self.commissions = self._register_child_endpoint(SalesCommissionsEndpoint(client, parent_endpoint=self)) self.opportunities = self._register_child_endpoint(SalesOpportunitiesEndpoint(client, parent_endpoint=self)) + self.schedule = self._register_child_endpoint(SalesScheduleEndpoint(client, parent_endpoint=self)) self.activities = self._register_child_endpoint(SalesActivitiesEndpoint(client, parent_endpoint=self)) + self.stages = self._register_child_endpoint(SalesStagesEndpoint(client, parent_endpoint=self)) + self.orders = self._register_child_endpoint(SalesOrdersEndpoint(client, parent_endpoint=self)) + self.quotas = self._register_child_endpoint(SalesQuotasEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesCountEndpoint.py index 1a1e1baa8..f8f6bd18c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesDefaultEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesDefaultEndpoint.py index c7c46c011..304b3b2d0 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesDefaultEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesDefaultEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Opportunity, - self, - page, - page_size, + super()._make_request("GET", params=params), Opportunity, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Opportunity: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesEndpoint.py index 2b6f3e74a..e738cb4b7 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesEndpoint.py @@ -15,9 +15,9 @@ class SalesOpportunitiesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "opportunities", parent_endpoint=parent_endpoint) - self.ratings = self._register_child_endpoint(SalesOpportunitiesRatingsEndpoint(client, parent_endpoint=self)) - self.types = self._register_child_endpoint(SalesOpportunitiesTypesEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesOpportunitiesCountEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(SalesOpportunitiesTypesEndpoint(client, parent_endpoint=self)) + self.ratings = self._register_child_endpoint(SalesOpportunitiesRatingsEndpoint(client, parent_endpoint=self)) self.default = self._register_child_endpoint(SalesOpportunitiesDefaultEndpoint(client, parent_endpoint=self)) self.statuses = self._register_child_endpoint(SalesOpportunitiesStatusesEndpoint(client, parent_endpoint=self)) @@ -48,11 +48,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Opportunity, - self, - page, - page_size, + super()._make_request("GET", params=params), Opportunity, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Opportunity]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsCountEndpoint.py index f94e00df8..484439b6a 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsEndpoint.py index 4036afc4b..3cea65265 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityContact, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityContact]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsIdEndpoint.py index 1cd081da2..4c2424333 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdContactsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityContact, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityContact, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityContact: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdEndpoint.py index b31ae91f1..0050d4fca 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdEndpoint.py @@ -21,25 +21,25 @@ class SalesOpportunitiesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.forecast = self._register_child_endpoint( - SalesOpportunitiesIdForecastEndpoint(client, parent_endpoint=self) + self.team = self._register_child_endpoint(SalesOpportunitiesIdTeamEndpoint(client, parent_endpoint=self)) + self.convert_to_agreement = self._register_child_endpoint( + SalesOpportunitiesIdConverttoagreementEndpoint(client, parent_endpoint=self) + ) + self.convert_to_project = self._register_child_endpoint( + SalesOpportunitiesIdConverttoprojectEndpoint(client, parent_endpoint=self) ) self.convert_to_sales_order = self._register_child_endpoint( SalesOpportunitiesIdConverttosalesorderEndpoint(client, parent_endpoint=self) ) self.notes = self._register_child_endpoint(SalesOpportunitiesIdNotesEndpoint(client, parent_endpoint=self)) - self.convert_to_service_ticket = self._register_child_endpoint( - SalesOpportunitiesIdConverttoserviceticketEndpoint(client, parent_endpoint=self) - ) - self.convert_to_project = self._register_child_endpoint( - SalesOpportunitiesIdConverttoprojectEndpoint(client, parent_endpoint=self) - ) self.contacts = self._register_child_endpoint( SalesOpportunitiesIdContactsEndpoint(client, parent_endpoint=self) ) - self.team = self._register_child_endpoint(SalesOpportunitiesIdTeamEndpoint(client, parent_endpoint=self)) - self.convert_to_agreement = self._register_child_endpoint( - SalesOpportunitiesIdConverttoagreementEndpoint(client, parent_endpoint=self) + self.convert_to_service_ticket = self._register_child_endpoint( + SalesOpportunitiesIdConverttoserviceticketEndpoint(client, parent_endpoint=self) + ) + self.forecast = self._register_child_endpoint( + SalesOpportunitiesIdForecastEndpoint(client, parent_endpoint=self) ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Opportunity]: @@ -56,11 +56,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Opportunity, - self, - page, - page_size, + super()._make_request("GET", params=params), Opportunity, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Opportunity: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastCountEndpoint.py index 8828b2bc8..76b6d1d3b 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastEndpoint.py index 59117e545..247c20e4b 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastEndpoint.py @@ -47,13 +47,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Forecast, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Forecast, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Forecast]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastIdEndpoint.py index 99555b1e0..ba01dee10 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdForecastIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ForecastItem, - self, - page, - page_size, + super()._make_request("GET", params=params), ForecastItem, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ForecastItem: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesCountEndpoint.py index 73b77b0cc..ede3ba28b 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesCountEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityNote, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityNote]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesEndpoint.py index b68ec6f1e..b94263090 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityNote, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityNote]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesIdEndpoint.py index ff43dbf5e..37c43943c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdNotesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityNote, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityNote: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamCountEndpoint.py index 593e27c88..6d0cae960 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamEndpoint.py index 8da405473..6aa755b1f 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Team, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Team, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Team]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamIdEndpoint.py index 161f495a9..c51d4bde0 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesIdTeamIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Team, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Team, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Team: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsCountEndpoint.py index 959cbe2fb..faf463ad5 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsEndpoint.py index eb2a90c0c..bb37d49b7 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsEndpoint.py @@ -12,8 +12,8 @@ class SalesOpportunitiesRatingsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "ratings", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesOpportunitiesRatingsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesOpportunitiesRatingsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SalesOpportunitiesRatingsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesOpportunitiesRatingsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityRating, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityRating, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityRating]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdEndpoint.py index 4e723304c..1013c232c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdEndpoint.py @@ -29,11 +29,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityRating, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityRating, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityRating: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdInfoEndpoint.py index 406788356..5b66a7130 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityRatingInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityRatingInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityRatingInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoCountEndpoint.py index 53bf11f73..5ceb80a7a 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoEndpoint.py index 430444c71..5d0fcbd6a 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesRatingsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityRatingInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityRatingInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityRatingInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesCountEndpoint.py index 17024425c..e230277cb 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesEndpoint.py index 1c0da2969..44832cbcb 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesEndpoint.py @@ -13,10 +13,10 @@ class SalesOpportunitiesStatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "statuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesOpportunitiesStatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint( SalesOpportunitiesStatusesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint(SalesOpportunitiesStatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesOpportunitiesStatusesIdEndpoint: """ @@ -47,11 +47,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityStatus]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdEndpoint.py index 7ced33677..f0404ad7e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityStatus: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdInfoEndpoint.py index 3882e6b39..6607e3ae3 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesEndpoint.py index c6087efcb..b2bfa1bee 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesListEndpoint.py index 1c5c76c0b..e7d9732ef 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoCountEndpoint.py index 95fb0d145..9215dbb9e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoEndpoint.py index 97607a900..ba98582c1 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesStatusesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesCountEndpoint.py index 2ab206087..eeb508867 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesEndpoint.py index d76a22891..3eccc529c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesEndpoint.py @@ -12,8 +12,8 @@ class SalesOpportunitiesTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesOpportunitiesTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesOpportunitiesTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SalesOpportunitiesTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesOpportunitiesTypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityType, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityType]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdEndpoint.py index d105d7275..20dc682f3 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdEndpoint.py @@ -33,11 +33,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityType, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityType: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdInfoEndpoint.py index 12124d531..0784dce9d 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesEndpoint.py index 0a7ac29eb..e8ee35afc 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesListEndpoint.py index c5c13f300..12fce0b7e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoCountEndpoint.py index 522ad5c26..b7af9f7ec 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoEndpoint.py index c6e6b167d..56203eab2 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOpportunitiesTypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersCountEndpoint.py index fd1a2baa2..48c5f5350 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersEndpoint.py index 25ee27a3b..37e9dd3c1 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersEndpoint.py @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Order, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Order, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Order]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersIdEndpoint.py index 76759ff98..1b501d096 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersIdEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Order, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Order, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Order: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesCountEndpoint.py index efc7391bc..18c7e2344 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesEndpoint.py index 11afb7c40..38d5896c0 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesEndpoint.py @@ -12,8 +12,8 @@ class SalesOrdersStatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "statuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesOrdersStatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesOrdersStatusesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SalesOrdersStatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesOrdersStatusesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OrderStatus]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesCountEndpoint.py index 21c01e547..1cb9e9ff7 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesIdEndpoint.py index 17fa38255..7ebe80032 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEmailtemplatesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatusEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatusEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OrderStatusEmailTemplate: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEndpoint.py index b221c5ae8..7f4d66bfe 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdEndpoint.py @@ -15,14 +15,14 @@ class SalesOrdersStatusesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.info = self._register_child_endpoint(SalesOrdersStatusesIdInfoEndpoint(client, parent_endpoint=self)) self.usages = self._register_child_endpoint(SalesOrdersStatusesIdUsagesEndpoint(client, parent_endpoint=self)) - self.emailtemplates = self._register_child_endpoint( - SalesOrdersStatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) - ) self.notifications = self._register_child_endpoint( SalesOrdersStatusesIdNotificationsEndpoint(client, parent_endpoint=self) ) - self.info = self._register_child_endpoint(SalesOrdersStatusesIdInfoEndpoint(client, parent_endpoint=self)) + self.emailtemplates = self._register_child_endpoint( + SalesOrdersStatusesIdEmailtemplatesEndpoint(client, parent_endpoint=self) + ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[OrderStatus]: """ @@ -38,11 +38,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OrderStatus: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdInfoEndpoint.py index a940a90f2..4794a70aa 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OrderStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsCountEndpoint.py index 99ae0fa91..403eac152 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsEndpoint.py index 0e0b02e4f..1068de1fb 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OrderStatusNotification]: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsIdEndpoint.py index 556427beb..ac05c954e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdNotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OrderStatusNotification: diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesEndpoint.py index 643b1bcb6..e2e0a4547 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesEndpoint.py @@ -26,13 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesListEndpoint.py index f3d6daf63..02aaa8a25 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoCountEndpoint.py index 072f0de95..8ca791f63 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoEndpoint.py index ccf44b4ed..958539df3 100644 --- a/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesOrdersStatusesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OrderStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OrderStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OrderStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesCountEndpoint.py index 0cb4d25e3..e3dd4ef15 100644 --- a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesEndpoint.py index 0677aa716..d79370bac 100644 --- a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesEndpoint.py @@ -12,8 +12,8 @@ class SalesProbabilitiesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "probabilities", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesProbabilitiesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesProbabilitiesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SalesProbabilitiesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesProbabilitiesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SalesProbability, - self, - page, - page_size, + super()._make_request("GET", params=params), SalesProbability, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SalesProbability]: diff --git a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdEndpoint.py index 593f05c27..8851f9cc9 100644 --- a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SalesProbability, - self, - page, - page_size, + super()._make_request("GET", params=params), SalesProbability, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SalesProbability: diff --git a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdInfoEndpoint.py index 9d7f59679..cac81e11b 100644 --- a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SalesProbabilityInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SalesProbabilityInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SalesProbabilityInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoCountEndpoint.py index bde7cff95..445f37b5f 100644 --- a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoEndpoint.py index 495402568..1721fdbf4 100644 --- a/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesProbabilitiesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SalesProbabilityInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SalesProbabilityInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SalesProbabilityInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SalesQuotasCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesQuotasCountEndpoint.py index 4005bf8cb..e0caca0ce 100644 --- a/src/pyconnectwise/endpoints/manage/SalesQuotasCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesQuotasCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesQuotasEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesQuotasEndpoint.py index 72c61207a..2a275c9ac 100644 --- a/src/pyconnectwise/endpoints/manage/SalesQuotasEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesQuotasEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SalesQuota, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SalesQuota, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SalesQuota]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesQuotasIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesQuotasIdEndpoint.py index 3f8415d69..6caf56c56 100644 --- a/src/pyconnectwise/endpoints/manage/SalesQuotasIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesQuotasIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SalesQuota, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SalesQuota, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SalesQuota: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesRolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesRolesCountEndpoint.py index 3a07f7366..57fb90461 100644 --- a/src/pyconnectwise/endpoints/manage/SalesRolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesRolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesRolesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesRolesEndpoint.py index 52832e12b..6144efd4b 100644 --- a/src/pyconnectwise/endpoints/manage/SalesRolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesRolesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Role, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Role, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Role]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesRolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesRolesIdEndpoint.py index 1e4384922..7368724ff 100644 --- a/src/pyconnectwise/endpoints/manage/SalesRolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesRolesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Role, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Role, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Role: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesSalesteamsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesSalesteamsCountEndpoint.py index 5d1744caf..4532e4f5e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesSalesteamsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesSalesteamsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesSalesteamsEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesSalesteamsEndpoint.py index b665eb852..ae02a9f44 100644 --- a/src/pyconnectwise/endpoints/manage/SalesSalesteamsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesSalesteamsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SalesTeam, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SalesTeam, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SalesTeam]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdEndpoint.py index 17f3289f1..fdbb6b535 100644 --- a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SalesTeam, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SalesTeam, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SalesTeam: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersCountEndpoint.py index 78ad05de4..5363a3474 100644 --- a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersEndpoint.py index 883c5e6db..a3be70e03 100644 --- a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SalesTeamMember, - self, - page, - page_size, + super()._make_request("GET", params=params), SalesTeamMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SalesTeamMember]: diff --git a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersIdEndpoint.py index 19c5cfee3..e87d36ec2 100644 --- a/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesSalesteamsIdMembersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SalesTeamMember, - self, - page, - page_size, + super()._make_request("GET", params=params), SalesTeamMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SalesTeamMember: diff --git a/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsIdHolidaysInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsIdHolidaysInfoCountEndpoint.py index f4d924dac..578ff1938 100644 --- a/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsIdHolidaysInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsIdHolidaysInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsInfoCountEndpoint.py index 940a8e39f..cb676e823 100644 --- a/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesScheduleHolidaylistsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesServicePriorityInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesServicePriorityInfoCountEndpoint.py index 1f8d9d340..69e51d54e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesServicePriorityInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesServicePriorityInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesCountEndpoint.py index 9291e0f05..1602abb5e 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesEndpoint.py index 83be39ded..1d5baf9c7 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesEndpoint.py @@ -12,8 +12,8 @@ class SalesStagesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "stages", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SalesStagesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SalesStagesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SalesStagesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SalesStagesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStage, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStage, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityStage]: diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesIdEndpoint.py index 24d0406b6..47088f16c 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStage, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStage, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityStage: diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesIdInfoEndpoint.py index 686c71855..b53304f6d 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStageInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStageInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OpportunityStageInfo: diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesEndpoint.py index 36cc8500b..f0cd8cf75 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesListEndpoint.py index e3a51d2df..0d9b8e716 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesInfoCountEndpoint.py index 3d118a596..0e6e647f1 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SalesStagesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SalesStagesInfoEndpoint.py index e8a1b53e4..59d008680 100644 --- a/src/pyconnectwise/endpoints/manage/SalesStagesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SalesStagesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OpportunityStageInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), OpportunityStageInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OpportunityStageInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsCountEndpoint.py index 0d74f0b36..d720fa42e 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Calendar, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Calendar, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Calendar: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsEndpoint.py index c60e253d0..656b2ea09 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsEndpoint.py @@ -12,8 +12,8 @@ class ScheduleCalendarsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "calendars", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ScheduleCalendarsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ScheduleCalendarsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ScheduleCalendarsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ScheduleCalendarsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Calendar, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Calendar, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Calendar]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdEndpoint.py index 1683a956f..64faf7efc 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdEndpoint.py @@ -29,13 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Calendar, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Calendar, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Calendar: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdInfoEndpoint.py index bc28cf84d..e752ff450 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CalendarInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CalendarInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CalendarInfo: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesEndpoint.py index 1e2ffdd82..5f3837d97 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesListEndpoint.py index fe6239fd7..fdbe473de 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoCountEndpoint.py index 0769a025e..ac90196ea 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoCountEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CalendarInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CalendarInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CalendarInfo: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoEndpoint.py index 989a3e953..a6d26aa9f 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleCalendarsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CalendarInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CalendarInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CalendarInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleColorsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleColorsCountEndpoint.py index faa020eb3..63da2dc87 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleColorsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleColorsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleColorsEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleColorsEndpoint.py index 0b2c169d1..f57af3b72 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleColorsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleColorsEndpoint.py @@ -12,8 +12,8 @@ class ScheduleColorsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "colors", parent_endpoint=parent_endpoint) - self.reset = self._register_child_endpoint(ScheduleColorsResetEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ScheduleColorsCountEndpoint(client, parent_endpoint=self)) + self.reset = self._register_child_endpoint(ScheduleColorsResetEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ScheduleColorsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleColor, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleColor, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleColor]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleColorsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleColorsIdEndpoint.py index 08d3e5df7..c02f994ef 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleColorsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleColorsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleColor, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleColor, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleColor: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleDetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleDetailsCountEndpoint.py index 605eb4f70..38f42e486 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleDetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleDetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleDetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleDetailsEndpoint.py index dc387aff6..3a84a30ca 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleDetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleDetailsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleEntryDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleEntryDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleEntryDetail]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleDetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleDetailsIdEndpoint.py index 820e16412..7030664c4 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleDetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleDetailsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleEntryDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleEntryDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleEntryDetail: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEndpoint.py index cf69780a2..a60018390 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEndpoint.py @@ -17,15 +17,15 @@ class ScheduleEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "schedule", parent_endpoint=parent_endpoint) + self.colors = self._register_child_endpoint(ScheduleColorsEndpoint(client, parent_endpoint=self)) + self.calendars = self._register_child_endpoint(ScheduleCalendarsEndpoint(client, parent_endpoint=self)) + self.holidaylists = self._register_child_endpoint(ScheduleHolidaylistsEndpoint(client, parent_endpoint=self)) self.holiday_lists = self._register_child_endpoint(ScheduleHolidaylistsEndpoint(client, parent_endpoint=self)) self.details = self._register_child_endpoint(ScheduleDetailsEndpoint(client, parent_endpoint=self)) + self.entries = self._register_child_endpoint(ScheduleEntriesEndpoint(client, parent_endpoint=self)) self.types = self._register_child_endpoint(ScheduleTypesEndpoint(client, parent_endpoint=self)) - self.holidaylists = self._register_child_endpoint(ScheduleHolidaylistsEndpoint(client, parent_endpoint=self)) self.reminder_times = self._register_child_endpoint(ScheduleRemindertimesEndpoint(client, parent_endpoint=self)) + self.statuses = self._register_child_endpoint(ScheduleStatusesEndpoint(client, parent_endpoint=self)) self.portalcalendars = self._register_child_endpoint( SchedulePortalcalendarsEndpoint(client, parent_endpoint=self) ) - self.entries = self._register_child_endpoint(ScheduleEntriesEndpoint(client, parent_endpoint=self)) - self.colors = self._register_child_endpoint(ScheduleColorsEndpoint(client, parent_endpoint=self)) - self.calendars = self._register_child_endpoint(ScheduleCalendarsEndpoint(client, parent_endpoint=self)) - self.statuses = self._register_child_endpoint(ScheduleStatusesEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEntriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEntriesCountEndpoint.py index d4a7a7700..be58d04bb 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEntriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEntriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEntriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEntriesEndpoint.py index c83244c73..eb827d8d6 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEntriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEntriesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleEntry]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsCountEndpoint.py index 91c5e0a0f..6c2321847 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsEndpoint.py index f39e3fd97..22b413081 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleDetail]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsIdEndpoint.py index 12546565f..64f63d13f 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdDetailsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleDetail: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdEndpoint.py index 76aa3828f..3eb1df403 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleEntriesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleEntry: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsCountEndpoint.py index a80d63a5b..b83488a67 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysCountEndpoint.py index c3c7cead2..a4b38aba7 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysIdInfoEndpoint.py index 24f6b3dee..f7b5e16ee 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysIdInfoEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - HolidayInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), HolidayInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> HolidayInfo: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysInfoEndpoint.py index dd8b01607..c6512027e 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdHolidaysInfoEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - HolidayInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), HolidayInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[HolidayInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdInfoEndpoint.py index dbbc4efbd..73874dc1d 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - HolidayListInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), HolidayListInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> HolidayListInfo: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesEndpoint.py index 8db2986ad..e7484d27e 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesListEndpoint.py index a0cdeefc4..67763d183 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsInfoEndpoint.py index 33b3fa3a5..23fa2141f 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleHolidaylistsInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - HolidayListInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), HolidayListInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[HolidayListInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsCountEndpoint.py index 55cfa695d..4b3684bd5 100644 --- a/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsEndpoint.py b/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsEndpoint.py index d8759a8d3..3c8078e99 100644 --- a/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalCalendar, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalCalendar, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PortalCalendar]: diff --git a/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsIdEndpoint.py index 3cdc8af97..7faf61840 100644 --- a/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SchedulePortalcalendarsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalCalendar, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalCalendar, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalCalendar: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesCountEndpoint.py index a5cc0e314..632580652 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesEndpoint.py index 0b54c657b..6ac63177a 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleReminderTime, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleReminderTime, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleReminderTime]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesIdEndpoint.py index 4e3fc26a9..957d73b57 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleRemindertimesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleReminderTime, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleReminderTime, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleReminderTime: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleStatusesCountEndpoint.py index a92af79e8..c2f91e841 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleStatusesEndpoint.py index 42637b25b..d7aaeda47 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleStatusesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleStatus]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleStatusesIdEndpoint.py index 4de388df4..3cf277540 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleStatusesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleStatus: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesCountEndpoint.py index cfe00f852..32c8bfd88 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesEndpoint.py index b25ec3ebe..54e5d4275 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesEndpoint.py @@ -12,8 +12,8 @@ class ScheduleTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ScheduleTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ScheduleTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ScheduleTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ScheduleTypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleType, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleType]: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdEndpoint.py index 7d68dc97c..b990d4b8b 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleType, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleType: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdInfoEndpoint.py index 975eebdd9..54909e053 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesEndpoint.py index 42aa76ae4..3407290d9 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesListEndpoint.py index 610e94daf..e667402b2 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoCountEndpoint.py index 857452d31..83dee4b64 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoEndpoint.py index a7b35b495..d06d2a8c1 100644 --- a/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ScheduleTypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsCountEndpoint.py index 2d76b5daf..ed48ad2e3 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsEndpoint.py index 50d46bfc1..c6587bb62 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsEndpoint.py @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Board, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Board, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Board]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesCountEndpoint.py index b77d5f122..6eeb73912 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesEndpoint.py index 2d9f1b15b..cd86f0988 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardAutoAssignResource, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardAutoAssignResource, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardAutoAssignResource]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesIdEndpoint.py index 6cba37b80..d20be8136 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutoassignresourcesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardAutoAssignResource, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardAutoAssignResource, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardAutoAssignResource: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesCountEndpoint.py index 5e56d8867..7071d026b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesEndpoint.py index 336b00605..e952697ef 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardAutoTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardAutoTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardAutoTemplate]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesIdEndpoint.py index 28c95b698..7006f64a2 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdAutotemplatesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardAutoTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardAutoTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardAutoTemplate: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdEndpoint.py index 7a668b6d0..99c361062 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdEndpoint.py @@ -22,16 +22,10 @@ class ServiceBoardsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.usages = self._register_child_endpoint(ServiceBoardsIdUsagesEndpoint(client, parent_endpoint=self)) self.auto_assign_resources = self._register_child_endpoint( ServiceBoardsIdAutoassignresourcesEndpoint(client, parent_endpoint=self) ) - self.excluded_members = self._register_child_endpoint( - ServiceBoardsIdExcludedmembersEndpoint(client, parent_endpoint=self) - ) - self.notifications = self._register_child_endpoint( - ServiceBoardsIdNotificationsEndpoint(client, parent_endpoint=self) - ) - self.types = self._register_child_endpoint(ServiceBoardsIdTypesEndpoint(client, parent_endpoint=self)) self.type_sub_type_item_associations = self._register_child_endpoint( ServiceBoardsIdTypesubtypeitemassociationsEndpoint(client, parent_endpoint=self) ) @@ -39,10 +33,16 @@ def __init__(self, client, parent_endpoint=None): self.auto_templates = self._register_child_endpoint( ServiceBoardsIdAutotemplatesEndpoint(client, parent_endpoint=self) ) - self.usages = self._register_child_endpoint(ServiceBoardsIdUsagesEndpoint(client, parent_endpoint=self)) + self.items = self._register_child_endpoint(ServiceBoardsIdItemsEndpoint(client, parent_endpoint=self)) self.subtypes = self._register_child_endpoint(ServiceBoardsIdSubtypesEndpoint(client, parent_endpoint=self)) + self.types = self._register_child_endpoint(ServiceBoardsIdTypesEndpoint(client, parent_endpoint=self)) + self.excluded_members = self._register_child_endpoint( + ServiceBoardsIdExcludedmembersEndpoint(client, parent_endpoint=self) + ) + self.notifications = self._register_child_endpoint( + ServiceBoardsIdNotificationsEndpoint(client, parent_endpoint=self) + ) self.statuses = self._register_child_endpoint(ServiceBoardsIdStatusesEndpoint(client, parent_endpoint=self)) - self.items = self._register_child_endpoint(ServiceBoardsIdItemsEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Board]: """ @@ -57,13 +57,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Board, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Board, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Board: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersCountEndpoint.py index 228d19146..df0b7ce22 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersEndpoint.py index fed3cc16f..ebbfec883 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardExcludedMember, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardExcludedMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardExcludedMember]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersIdEndpoint.py index 3f9dd9f50..5a62b360c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdExcludedmembersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardExcludedMember, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardExcludedMember, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardExcludedMember: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsCountEndpoint.py index af62f1a95..1e5a339a4 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsEndpoint.py index eb5886591..c9ec2486f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardItem, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardItem, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardItem]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsCountEndpoint.py index 9950a65f7..e71bdc3ae 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsEndpoint.py index 6cb2bbb76..e74e660fc 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardItemAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardItemAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardItemAssociation]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsIdEndpoint.py index f9aa7d2e5..d64bc5704 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdAssociationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardItemAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardItemAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardItemAssociation: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdEndpoint.py index 425a5217b..2fa5477de 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdEndpoint.py @@ -12,10 +12,10 @@ class ServiceBoardsIdItemsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.usages = self._register_child_endpoint(ServiceBoardsIdItemsIdUsagesEndpoint(client, parent_endpoint=self)) self.associations = self._register_child_endpoint( ServiceBoardsIdItemsIdAssociationsEndpoint(client, parent_endpoint=self) ) + self.usages = self._register_child_endpoint(ServiceBoardsIdItemsIdUsagesEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[BoardItem]: """ @@ -30,13 +30,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardItem, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardItem, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardItem: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesEndpoint.py index df17000f8..24bf708ce 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesListEndpoint.py index 7bd059193..df973f286 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdItemsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsCountEndpoint.py index cc8ebf3c6..aaa597709 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsEndpoint.py index 8bc91d1fd..c2ed47fc6 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardNotification]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsIdEndpoint.py index f8bd9864e..953a77d4d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdNotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardNotification: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesCountEndpoint.py index 2134d5d11..c88e48cb5 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesEndpoint.py index 5140b444a..7c8e1acb2 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesEndpoint.py @@ -12,8 +12,8 @@ class ServiceBoardsIdStatusesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "statuses", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceBoardsIdStatusesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceBoardsIdStatusesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceBoardsIdStatusesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceBoardsIdStatusesIdEndpoint: """ @@ -42,11 +42,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardStatus]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdEndpoint.py index ce18ae4a2..35bb22344 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdEndpoint.py @@ -14,12 +14,12 @@ class ServiceBoardsIdStatusesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.usages = self._register_child_endpoint( - ServiceBoardsIdStatusesIdUsagesEndpoint(client, parent_endpoint=self) - ) self.notifications = self._register_child_endpoint( ServiceBoardsIdStatusesIdNotificationsEndpoint(client, parent_endpoint=self) ) + self.usages = self._register_child_endpoint( + ServiceBoardsIdStatusesIdUsagesEndpoint(client, parent_endpoint=self) + ) self.info = self._register_child_endpoint(ServiceBoardsIdStatusesIdInfoEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[BoardStatus]: @@ -36,11 +36,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardStatus, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardStatus, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardStatus: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdInfoEndpoint.py index eaa800a82..cb790a0c1 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardStatusInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsCountEndpoint.py index 03cf5a040..57febdb3f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsEndpoint.py index 440da1535..55bf726ac 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardStatusNotification]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsIdEndpoint.py index c2e003a09..ae3b1a436 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdNotificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardStatusNotification, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardStatusNotification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardStatusNotification: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesEndpoint.py index 1bcb873f1..212870ca2 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesListEndpoint.py index 48028adfd..bb020ab81 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoCountEndpoint.py index f7b26ade4..a5b0e1188 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoEndpoint.py index aa0c11e7a..13cbb3bfb 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdStatusesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardStatusInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardStatusInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardStatusInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesCountEndpoint.py index fa95ae7e4..cc732ad53 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesEndpoint.py index 52f254af8..3c5bdd967 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesEndpoint.py @@ -12,8 +12,8 @@ class ServiceBoardsIdSubtypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "subtypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceBoardsIdSubtypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceBoardsIdSubtypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceBoardsIdSubtypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceBoardsIdSubtypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardSubType, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardSubType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardSubType]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdEndpoint.py index 0ed557f13..f7bd85269 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdEndpoint.py @@ -33,11 +33,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardSubType, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardSubType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardSubType: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdInfoEndpoint.py index 87f6b20a5..0b362d72f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardSubTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardSubTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardSubTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesEndpoint.py index 0659ee7b1..a636680b1 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesListEndpoint.py index a885873c6..c35e5629d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoCountEndpoint.py index 756b445e2..5f969496e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoEndpoint.py index 588a81d7f..fd5598429 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdSubtypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardSubTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardSubTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardSubTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsCountEndpoint.py index d45a2513d..a7a5699c8 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsEndpoint.py index a0bee3219..8d8f044b4 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsEndpoint.py @@ -12,8 +12,8 @@ class ServiceBoardsIdTeamsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "teams", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceBoardsIdTeamsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceBoardsIdTeamsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceBoardsIdTeamsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceBoardsIdTeamsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTeam, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardTeam, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardTeam]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdEndpoint.py index d48f2948d..1625e742a 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTeam, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardTeam, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardTeam: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdInfoEndpoint.py index 269412054..c6a28f517 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTeamInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardTeamInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardTeamInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdUsagesListEndpoint.py index 0f7cfb4d1..e8f0c4b36 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoCountEndpoint.py index de88b1952..dc0d4ed2c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoEndpoint.py index b89c2f38a..f1a6cbdc5 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTeamsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTeamInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardTeamInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardTeamInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesCountEndpoint.py index b2b44728b..4463f2583 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesEndpoint.py index 6536056a4..17ead37e5 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardType]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdEndpoint.py index cd7a454ac..724763c7f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardType: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesEndpoint.py index 7e853c0f3..23190dc00 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesListEndpoint.py index 152a83f9e..8d8779d49 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsCountEndpoint.py index 45be212aa..b6b7e4ca2 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsEndpoint.py index 535b3575e..f08c2dc46 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTypeSubTypeItemAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardTypeSubTypeItemAssociation, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsIdEndpoint.py index b3653663b..6dddbabb9 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdTypesubtypeitemassociationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTypeSubTypeItemAssociation, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardTypeSubTypeItemAssociation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardTypeSubTypeItemAssociation: diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesEndpoint.py index ae1b0ac04..e64c64ce3 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesListEndpoint.py index b50176c84..d7dfc8b2c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceBoardsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceCodesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceCodesCountEndpoint.py index ad3278f58..36d3d99ba 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceCodesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceCodesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceCodesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceCodesEndpoint.py index b496ee621..60f917aa2 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceCodesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceCodesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Code, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Code, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Code]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceCodesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceCodesIdEndpoint.py index 566ecb909..f2cbd96e5 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceCodesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceCodesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Code, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Code, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Code: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesCountEndpoint.py index 4ed3ff49b..12d7d62be 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesEndpoint.py index 37d825f03..413c9ef68 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceEmailTemplate]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdEndpoint.py index eb33156a3..d47deaac3 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceEmailTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceEmailTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceEmailTemplate: diff --git a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesEndpoint.py index fbd5fa6a9..cbb700483 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesListEndpoint.py index 4713f8c34..d1beaa97e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceEmailtemplatesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceEndpoint.py index 201a7cb10..5de0bf3b4 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceEndpoint.py @@ -33,40 +33,40 @@ class ServiceEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "service", parent_endpoint=parent_endpoint) - self.email_templates = self._register_child_endpoint( - ServiceEmailtemplatesEndpoint(client, parent_endpoint=self) - ) - self.impacts = self._register_child_endpoint(ServiceImpactsEndpoint(client, parent_endpoint=self)) self.s_l_as = self._register_child_endpoint(ServiceSlasEndpoint(client, parent_endpoint=self)) - self.team_members = self._register_child_endpoint(ServiceTeammembersEndpoint(client, parent_endpoint=self)) self.slas = self._register_child_endpoint(ServiceSlasEndpoint(client, parent_endpoint=self)) - self.tickets = self._register_child_endpoint(ServiceTicketsEndpoint(client, parent_endpoint=self)) - self.knowledgebasesettings = self._register_child_endpoint( - ServiceKnowledgebasesettingsEndpoint(client, parent_endpoint=self) - ) - self.knowledge_base_categories = self._register_child_endpoint( - ServiceKnowledgebasecategoriesEndpoint(client, parent_endpoint=self) - ) - self.ticket_links = self._register_child_endpoint(ServiceTicketlinksEndpoint(client, parent_endpoint=self)) - self.ticket_syncs = self._register_child_endpoint(ServiceTicketsyncsEndpoint(client, parent_endpoint=self)) self.scheduling = self._register_child_endpoint(ServiceSchedulingEndpoint(client, parent_endpoint=self)) self.sources = self._register_child_endpoint(ServiceSourcesEndpoint(client, parent_endpoint=self)) self.codes = self._register_child_endpoint(ServiceCodesEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceInfoEndpoint(client, parent_endpoint=self)) self.surveys = self._register_child_endpoint(ServiceSurveysEndpoint(client, parent_endpoint=self)) - self.priorities = self._register_child_endpoint(ServicePrioritiesEndpoint(client, parent_endpoint=self)) + self.teams = self._register_child_endpoint(ServiceTeamsEndpoint(client, parent_endpoint=self)) self.service_signoff = self._register_child_endpoint( ServiceServicesignoffEndpoint(client, parent_endpoint=self) ) - self.locations = self._register_child_endpoint(ServiceLocationsEndpoint(client, parent_endpoint=self)) - self.boards = self._register_child_endpoint(ServiceBoardsEndpoint(client, parent_endpoint=self)) + self.knowledge_base_categories = self._register_child_endpoint( + ServiceKnowledgebasecategoriesEndpoint(client, parent_endpoint=self) + ) + self.tickets = self._register_child_endpoint(ServiceTicketsEndpoint(client, parent_endpoint=self)) + self.priority = self._register_child_endpoint(ServicePriorityEndpoint(client, parent_endpoint=self)) + self.ticket_links = self._register_child_endpoint(ServiceTicketlinksEndpoint(client, parent_endpoint=self)) self.knowledge_base_sub_categories = self._register_child_endpoint( ServiceKnowledgebasesubcategoriesEndpoint(client, parent_endpoint=self) ) - self.severities = self._register_child_endpoint(ServiceSeveritiesEndpoint(client, parent_endpoint=self)) - self.info = self._register_child_endpoint(ServiceInfoEndpoint(client, parent_endpoint=self)) - self.teams = self._register_child_endpoint(ServiceTeamsEndpoint(client, parent_endpoint=self)) - self.templates = self._register_child_endpoint(ServiceTemplatesEndpoint(client, parent_endpoint=self)) self.knowledge_base_articles = self._register_child_endpoint( ServiceKnowledgebasearticlesEndpoint(client, parent_endpoint=self) ) - self.priority = self._register_child_endpoint(ServicePriorityEndpoint(client, parent_endpoint=self)) + self.ticket_syncs = self._register_child_endpoint(ServiceTicketsyncsEndpoint(client, parent_endpoint=self)) + self.email_templates = self._register_child_endpoint( + ServiceEmailtemplatesEndpoint(client, parent_endpoint=self) + ) + self.impacts = self._register_child_endpoint(ServiceImpactsEndpoint(client, parent_endpoint=self)) + self.templates = self._register_child_endpoint(ServiceTemplatesEndpoint(client, parent_endpoint=self)) + self.team_members = self._register_child_endpoint(ServiceTeammembersEndpoint(client, parent_endpoint=self)) + self.priorities = self._register_child_endpoint(ServicePrioritiesEndpoint(client, parent_endpoint=self)) + self.severities = self._register_child_endpoint(ServiceSeveritiesEndpoint(client, parent_endpoint=self)) + self.knowledgebasesettings = self._register_child_endpoint( + ServiceKnowledgebasesettingsEndpoint(client, parent_endpoint=self) + ) + self.locations = self._register_child_endpoint(ServiceLocationsEndpoint(client, parent_endpoint=self)) + self.boards = self._register_child_endpoint(ServiceBoardsEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/ServiceImpactsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceImpactsCountEndpoint.py index 103a476a1..c613df462 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceImpactsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceImpactsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceImpactsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceImpactsEndpoint.py index 6b8307518..da256aa3f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceImpactsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceImpactsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Impact, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Impact, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Impact]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceImpactsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceImpactsIdEndpoint.py index 1a101b288..f1f46ff04 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceImpactsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceImpactsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Impact, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Impact, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Impact: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsCountEndpoint.py index 506616fb2..9fe3b3893 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsEndpoint.py index 39fead7c6..df845812b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsIdEndpoint.py index 33bf33bd8..0a62b2a61 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - BoardInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), BoardInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesCountEndpoint.py index 6b77db06d..ba5a487a7 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesEndpoint.py index 92ae626fe..92c2503dc 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[BoardTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesIdEndpoint.py index 0dbf3a44c..a8b37618b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoBoardtypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - BoardTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), BoardTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> BoardTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceInfoEndpoint.py index 0be9e2654..3ac27f2ea 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceInfoEndpoint.py @@ -10,5 +10,5 @@ class ServiceInfoEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "info", parent_endpoint=parent_endpoint) - self.boards = self._register_child_endpoint(ServiceInfoBoardsEndpoint(client, parent_endpoint=self)) self.boardtypes = self._register_child_endpoint(ServiceInfoBoardtypesEndpoint(client, parent_endpoint=self)) + self.boards = self._register_child_endpoint(ServiceInfoBoardsEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesCountEndpoint.py index 6586596eb..14c0f8106 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesEndpoint.py index 01bf5ef64..a0fdae571 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseArticle, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseArticle, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[KnowledgeBaseArticle]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesIdEndpoint.py index 86b30eeea..87e77b02d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasearticlesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseArticle, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseArticle, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KnowledgeBaseArticle: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesCountEndpoint.py index e1a0a5fae..9d9fda386 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesEndpoint.py index f932509be..6dc269435 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[KnowledgeBaseCategory]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesIdEndpoint.py index 47163822b..00cc50b06 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasecategoriesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KnowledgeBaseCategory: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsEndpoint.py index 1ee90a5e7..b700c16b6 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseSettings, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseSettings, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KnowledgeBaseSettings: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsIdEndpoint.py index 16a1d3fcb..8deb17c2c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseSettings, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseSettings, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KnowledgeBaseSettings: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesCountEndpoint.py index 8f05f2a7f..7207fc161 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesEndpoint.py index ef448e15e..5a1978658 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseSubCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseSubCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[KnowledgeBaseSubCategory]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdEndpoint.py index 50b194688..375e292d8 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KnowledgeBaseSubCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), KnowledgeBaseSubCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KnowledgeBaseSubCategory: diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesEndpoint.py index 39f8df407..029d56fd9 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesListEndpoint.py index 4936ab26d..8d2ca6a37 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceKnowledgebasesubcategoriesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceLocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceLocationsCountEndpoint.py index 387b8788c..3fb6ad364 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceLocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceLocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceLocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceLocationsEndpoint.py index 0803df78e..0bf6c55ca 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceLocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceLocationsEndpoint.py @@ -12,8 +12,8 @@ class ServiceLocationsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "locations", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceLocationsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceLocationsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceLocationsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceLocationsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceLocation]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceLocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceLocationsIdEndpoint.py index 400ba9a00..1022ad705 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceLocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceLocationsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceLocation: diff --git a/src/pyconnectwise/endpoints/manage/ServiceLocationsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceLocationsIdInfoEndpoint.py index 38d537405..28cfd9a4c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceLocationsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceLocationsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceLocationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceLocationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceLocationInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoCountEndpoint.py index 3ea8fb2d1..c04de9167 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoEndpoint.py index 11ea33834..82ae0ce3a 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceLocationsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceLocationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceLocationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceLocationInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServicePrioritiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePrioritiesCountEndpoint.py index ffa4ce888..0c23870c5 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePrioritiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePrioritiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServicePrioritiesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePrioritiesEndpoint.py index bc3cfb33f..455387e2d 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePrioritiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePrioritiesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Priority, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Priority, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Priority]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdEndpoint.py index 0fd3624d9..3d58c1d59 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Priority, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Priority, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Priority: """ diff --git a/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesEndpoint.py index b77afed72..8c1a12e7f 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesListEndpoint.py index 15ed0320a..8832945b8 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePrioritiesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServicePriorityIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePriorityIdInfoEndpoint.py index 6a67d5045..4e9e534d7 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePriorityIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePriorityIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PriorityInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), PriorityInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PriorityInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServicePriorityInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServicePriorityInfoEndpoint.py index 5859e9844..3350d1cf6 100644 --- a/src/pyconnectwise/endpoints/manage/ServicePriorityInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServicePriorityInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PriorityInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), PriorityInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PriorityInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersIdInfoEndpoint.py index b2c176ff1..d7957660d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SchedulingMemberInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SchedulingMemberInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SchedulingMemberInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoCountEndpoint.py index 8053f317a..63bbe118e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoEndpoint.py index 7e3c78cd1..76a652c9f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSchedulingMembersInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SchedulingMemberInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SchedulingMemberInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SchedulingMemberInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffCountEndpoint.py index c6d822655..386151b44 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffEndpoint.py index eb8dc0061..37933a6cb 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffEndpoint.py @@ -12,8 +12,8 @@ class ServiceServicesignoffEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "serviceSignoff", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceServicesignoffInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceServicesignoffCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceServicesignoffInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceServicesignoffIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSignoff, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSignoff, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceSignoff]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdEndpoint.py index 358c4a53b..e9cf36a86 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdEndpoint.py @@ -13,11 +13,11 @@ class ServiceServicesignoffIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.usages = self._register_child_endpoint(ServiceServicesignoffIdUsagesEndpoint(client, parent_endpoint=self)) - self.info = self._register_child_endpoint(ServiceServicesignoffIdInfoEndpoint(client, parent_endpoint=self)) self.signoffcustomfields = self._register_child_endpoint( ServiceServicesignoffIdSignoffcustomfieldsEndpoint(client, parent_endpoint=self) ) + self.usages = self._register_child_endpoint(ServiceServicesignoffIdUsagesEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceServicesignoffIdInfoEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -35,11 +35,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSignoff, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSignoff, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceSignoff: diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdInfoEndpoint.py index 7e9d59238..f1ac44305 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSignoffInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSignoffInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceSignoffInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsCountEndpoint.py index fa3d81fee..e8af5467f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsEndpoint.py index 92dc1c533..cf9ec56fb 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSignoffCustomField, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSignoffCustomField, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceSignoffCustomField]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsIdEndpoint.py index e09e2f666..35a6b7776 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdSignoffcustomfieldsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSignoffCustomField, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSignoffCustomField, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceSignoffCustomField: diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesEndpoint.py index 6d4c4b6f5..901a75e9f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesListEndpoint.py index 0c1c83bcb..0a170eaae 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoCountEndpoint.py index 3bc0dd055..169d4aaa0 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoEndpoint.py index 0844f29a0..27d15a828 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceServicesignoffInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSignoffInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSignoffInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceSignoffInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSeveritiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSeveritiesCountEndpoint.py index c433a2e45..b5b607e41 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSeveritiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSeveritiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSeveritiesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSeveritiesEndpoint.py index 526b82ce8..582042806 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSeveritiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSeveritiesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Severity, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Severity, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Severity]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSeveritiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSeveritiesIdEndpoint.py index c3dcd5a39..22242380b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSeveritiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSeveritiesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Severity, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Severity, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Severity: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasCountEndpoint.py index c38231875..691499b99 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasIdInfoEndpoint.py index 14f26cc0a..28dd93b5e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SLAInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SLAInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SLAInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesCountEndpoint.py index db4c1cb4d..ab58823cb 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesEndpoint.py index ae317636f..9119511cd 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SLAPriority, - self, - page, - page_size, + super()._make_request("GET", params=params), SLAPriority, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SLAPriority]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesIdEndpoint.py index d781c9c4e..abd6a50e5 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasIdPrioritiesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SLAPriority, - self, - page, - page_size, + super()._make_request("GET", params=params), SLAPriority, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SLAPriority: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesEndpoint.py index e721e0347..787868018 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesListEndpoint.py index aefdcd6f3..837304b8e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSlasInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSlasInfoCountEndpoint.py index 9e60223ec..1c21f8af9 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSlasInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSlasInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesCountEndpoint.py index 612dd5fdb..8001755cf 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesEndpoint.py index 27a22b52c..00a4cf269 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesEndpoint.py @@ -12,8 +12,8 @@ class ServiceSourcesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "sources", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceSourcesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceSourcesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceSourcesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceSourcesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Source, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Source, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Source]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdEndpoint.py index 162dc3169..ae0fb5344 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Source, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Source, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Source: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdInfoEndpoint.py index 62bed1013..cef6cf943 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SourceInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SourceInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SourceInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesEndpoint.py index 4ff9c6e5b..247548ffb 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesListEndpoint.py index a8d28bfd5..7d27dd9f7 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoCountEndpoint.py index f9998fb47..73209a2bd 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoEndpoint.py index 729df7913..a0f594f2f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSourcesInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SourceInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SourceInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SourceInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysCountEndpoint.py index e55db3a72..b4fcc8677 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysEndpoint.py index 6f34e427a..6cb177a93 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSurvey, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSurvey, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceSurvey]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdEndpoint.py index 6dfe738c5..6913a8bac 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdEndpoint.py @@ -15,8 +15,8 @@ def __init__(self, client, parent_endpoint=None): self.copy = self._register_child_endpoint(ServiceSurveysIdCopyEndpoint(client, parent_endpoint=self)) self.usages = self._register_child_endpoint(ServiceSurveysIdUsagesEndpoint(client, parent_endpoint=self)) - self.questions = self._register_child_endpoint(ServiceSurveysIdQuestionsEndpoint(client, parent_endpoint=self)) self.results = self._register_child_endpoint(ServiceSurveysIdResultsEndpoint(client, parent_endpoint=self)) + self.questions = self._register_child_endpoint(ServiceSurveysIdQuestionsEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -34,11 +34,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSurvey, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSurvey, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceSurvey: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsCountEndpoint.py index 82ebdb23c..ad43b979d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsEndpoint.py index 19f7a0ff5..e0945fa50 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSurveyQuestion, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSurveyQuestion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceSurveyQuestion]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdEndpoint.py index 7832182be..a07a53d35 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdEndpoint.py @@ -13,10 +13,10 @@ class ServiceSurveysIdQuestionsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.copy = self._register_child_endpoint(ServiceSurveysIdQuestionsIdCopyEndpoint(client, parent_endpoint=self)) self.options = self._register_child_endpoint( ServiceSurveysIdQuestionsIdOptionsEndpoint(client, parent_endpoint=self) ) + self.copy = self._register_child_endpoint(ServiceSurveysIdQuestionsIdCopyEndpoint(client, parent_endpoint=self)) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -34,11 +34,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceSurveyQuestion, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceSurveyQuestion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceSurveyQuestion: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsCountEndpoint.py index bfbc47565..b216a641a 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsEndpoint.py index 0bb03d8b1..fb613e4e1 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyOption, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyOption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SurveyOption]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsIdEndpoint.py index 47da884af..da24320b9 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdQuestionsIdOptionsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyOption, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyOption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SurveyOption: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsCountEndpoint.py index 1a29e7264..023e4e735 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsEndpoint.py index d5cbf5c08..45f4c4dac 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyResult, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyResult, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SurveyResult]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsIdEndpoint.py index 73598eff1..378e86035 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdResultsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyResult, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyResult, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SurveyResult: diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesEndpoint.py index 391468ffa..32e67ea34 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesListEndpoint.py index 1830d2c18..d4b39ab03 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceSurveysIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTeamsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTeamsCountEndpoint.py index aaea05982..2a4c67036 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTeamsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTeamsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTeamsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTeamsEndpoint.py index 8be4d12d7..400e6e3df 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTeamsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTeamsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTeam, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTeam, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceTeam]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTeamsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTeamsIdEndpoint.py index 01280cb75..56c133370 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTeamsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTeamsIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTeam, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTeam, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceTeam: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTemplatesCountEndpoint.py index c6054367a..98071e48a 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTemplatesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTemplatesEndpoint.py index d576d5109..7beb87009 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTemplatesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTemplatesEndpoint.py @@ -12,8 +12,8 @@ class ServiceTemplatesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "templates", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceTemplatesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceTemplatesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceTemplatesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceTemplatesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceTemplate]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdEndpoint.py index 70a622353..d5bdf52b3 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceTemplate: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdInfoEndpoint.py index b05b998a4..408f49e6f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTemplatesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTemplateInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTemplateInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceTemplateInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoCountEndpoint.py index 6e7bc8939..62a63b61b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoEndpoint.py index 4daa7f80a..a7eb84d7b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTemplatesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTemplateInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTemplateInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceTemplateInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksCountEndpoint.py index 9b707e154..a2de944a2 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksEndpoint.py index f61228612..584313f0a 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksEndpoint.py @@ -12,8 +12,8 @@ class ServiceTicketlinksEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "ticketLinks", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceTicketlinksInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceTicketlinksCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceTicketlinksInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceTicketlinksIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTicketLink, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTicketLink, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceTicketLink]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdEndpoint.py index aa6c63a1e..b103f2d0e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTicketLink, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTicketLink, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceTicketLink: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdInfoEndpoint.py index 14b613d2e..3636825a9 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTicketLinkInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTicketLinkInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceTicketLinkInfo: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoCountEndpoint.py index f82721878..04dc17406 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoEndpoint.py index 448925cc8..73c7762ce 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketlinksInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTicketLinkInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTicketLinkInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceTicketLinkInfo]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsCountEndpoint.py index 8ab7af152..9a9eccd77 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsEndpoint.py index f4c570c96..c3cdf47e7 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsEndpoint.py @@ -13,9 +13,9 @@ class ServiceTicketsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "tickets", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(ServiceTicketsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(ServiceTicketsCountEndpoint(client, parent_endpoint=self)) self.search = self._register_child_endpoint(ServiceTicketsSearchEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(ServiceTicketsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> ServiceTicketsIdEndpoint: """ @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Ticket, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Ticket, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Ticket]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesCountEndpoint.py index 7ca45f3e1..f5e01771b 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesEndpoint.py index 84a80eea4..805908b60 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdActivitiesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityReference]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdAllnotesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdAllnotesEndpoint.py index a1a964d65..8452240aa 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdAllnotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdAllnotesEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceTicketNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceTicketNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceTicketNote]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsCountEndpoint.py index 9b1de2044..841971b14 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsEndpoint.py index 4e3329afe..0750c0840 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConfigurationReference]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsIdEndpoint.py index fb2cc521e..fa8cc6120 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdConfigurationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConfigurationReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ConfigurationReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConfigurationReference: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsCountEndpoint.py index 3e7161ead..57b4af9fb 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsEndpoint.py index ad38973c1..cac17de0d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdDocumentsEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentReference, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DocumentReference]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdEndpoint.py index ddff95ec5..23f0e4431 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdEndpoint.py @@ -23,29 +23,29 @@ class ServiceTicketsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.scheduleentries = self._register_child_endpoint( - ServiceTicketsIdScheduleentriesEndpoint(client, parent_endpoint=self) - ) + self.documents = self._register_child_endpoint(ServiceTicketsIdDocumentsEndpoint(client, parent_endpoint=self)) self.info = self._register_child_endpoint(ServiceTicketsIdInfoEndpoint(client, parent_endpoint=self)) + self.merge = self._register_child_endpoint(ServiceTicketsIdMergeEndpoint(client, parent_endpoint=self)) self.tasks = self._register_child_endpoint(ServiceTicketsIdTasksEndpoint(client, parent_endpoint=self)) self.all_notes = self._register_child_endpoint(ServiceTicketsIdAllnotesEndpoint(client, parent_endpoint=self)) - self.products = self._register_child_endpoint(ServiceTicketsIdProductsEndpoint(client, parent_endpoint=self)) - self.timeentries = self._register_child_endpoint( - ServiceTicketsIdTimeentriesEndpoint(client, parent_endpoint=self) + self.attach_children = self._register_child_endpoint( + ServiceTicketsIdAttachchildrenEndpoint(client, parent_endpoint=self) ) - self.convert = self._register_child_endpoint(ServiceTicketsIdConvertEndpoint(client, parent_endpoint=self)) - self.merge = self._register_child_endpoint(ServiceTicketsIdMergeEndpoint(client, parent_endpoint=self)) self.notes = self._register_child_endpoint(ServiceTicketsIdNotesEndpoint(client, parent_endpoint=self)) + self.configurations = self._register_child_endpoint( + ServiceTicketsIdConfigurationsEndpoint(client, parent_endpoint=self) + ) self.activities = self._register_child_endpoint( ServiceTicketsIdActivitiesEndpoint(client, parent_endpoint=self) ) - self.attach_children = self._register_child_endpoint( - ServiceTicketsIdAttachchildrenEndpoint(client, parent_endpoint=self) + self.scheduleentries = self._register_child_endpoint( + ServiceTicketsIdScheduleentriesEndpoint(client, parent_endpoint=self) ) - self.documents = self._register_child_endpoint(ServiceTicketsIdDocumentsEndpoint(client, parent_endpoint=self)) - self.configurations = self._register_child_endpoint( - ServiceTicketsIdConfigurationsEndpoint(client, parent_endpoint=self) + self.convert = self._register_child_endpoint(ServiceTicketsIdConvertEndpoint(client, parent_endpoint=self)) + self.timeentries = self._register_child_endpoint( + ServiceTicketsIdTimeentriesEndpoint(client, parent_endpoint=self) ) + self.products = self._register_child_endpoint(ServiceTicketsIdProductsEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Ticket]: """ @@ -60,13 +60,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Ticket, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Ticket, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Ticket: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdInfoEndpoint.py index cd738e556..31a3c6385 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TicketInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesCountEndpoint.py index 4f1813eb7..9ea3373bd 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesEndpoint.py index 9a41715f6..471c5457d 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceNote]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesIdEndpoint.py index 7ea3fefb8..ba324978f 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdNotesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceNote, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceNote: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsCountEndpoint.py index e957f5dfc..633fee06c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsEndpoint.py index 85f2a6297..1b136ca7c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdProductsEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ProductReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ProductReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ProductReference]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesCountEndpoint.py index c8a2fef6f..885a87fed 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesEndpoint.py index effba4b00..47bbb6d1c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdScheduleentriesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleEntryReference, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleEntryReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleEntryReference]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksCountEndpoint.py index 7c04102cb..1f796439a 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksEndpoint.py index 4b486d37b..a8bd11369 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Task, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Task, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Task]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksIdEndpoint.py index 730bf56bf..2308b6818 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTasksIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Task, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Task, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Task: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesCountEndpoint.py index 18ec1878c..5048393fe 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesEndpoint.py index 800158391..ab2a729f9 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsIdTimeentriesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeEntryReference, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeEntryReference, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeEntryReference]: diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoCountEndpoint.py index 0b5f967cd..b8e583348 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoEndpoint.py index 9ec1adcac..a9eddce8c 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TicketInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsCountEndpoint.py index ed7099da0..98d426a25 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsEndpoint.py index c058b7f27..02173d3e4 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketSync, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketSync, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TicketSync]: """ diff --git a/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsIdEndpoint.py index d9bcf3bd4..c58a7106e 100644 --- a/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/ServiceTicketsyncsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TicketSync, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TicketSync, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TicketSync: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesCountEndpoint.py index e7570aecb..e5dda0406 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesIdEndpoint.py index e4c14a627..89db1919b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAllowedfiletypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AllowedFileType, - self, - page, - page_size, + super()._make_request("GET", params=params), AllowedFileType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AllowedFileType: diff --git a/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsCountEndpoint.py index 2ca0f0ef5..e617dfdcb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsEndpoint.py index fcf9c1594..73969b39c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AllowedOrigin, - self, - page, - page_size, + super()._make_request("GET", params=params), AllowedOrigin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AllowedOrigin]: diff --git a/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsIdEndpoint.py index df8669970..0b176d86f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAllowedoriginsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AllowedOrigin, - self, - page, - page_size, + super()._make_request("GET", params=params), AllowedOrigin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AllowedOrigin: diff --git a/src/pyconnectwise/endpoints/manage/SystemApimembersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemApimembersCountEndpoint.py index a7411cb0b..a0be2d794 100644 --- a/src/pyconnectwise/endpoints/manage/SystemApimembersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemApimembersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemApimembersDefaultEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemApimembersDefaultEndpoint.py index 3f3d84e61..710d23f85 100644 --- a/src/pyconnectwise/endpoints/manage/SystemApimembersDefaultEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemApimembersDefaultEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ApiMember, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ApiMember, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ApiMember: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemApimembersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemApimembersEndpoint.py index 04fd3f10f..b9c7565b6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemApimembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemApimembersEndpoint.py @@ -12,8 +12,8 @@ class SystemApimembersEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "apiMembers", parent_endpoint=parent_endpoint) - self.default = self._register_child_endpoint(SystemApimembersDefaultEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemApimembersCountEndpoint(client, parent_endpoint=self)) + self.default = self._register_child_endpoint(SystemApimembersDefaultEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemApimembersIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ApiMember, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ApiMember, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ApiMember]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemApimembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemApimembersIdEndpoint.py index cb7510832..7eb8a77aa 100644 --- a/src/pyconnectwise/endpoints/manage/SystemApimembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemApimembersIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ApiMember, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ApiMember, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ApiMember: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAudittrailCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAudittrailCountEndpoint.py index 0e9118404..e11972da3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAudittrailCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAudittrailCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAudittrailEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAudittrailEndpoint.py index f28c59dea..0579ffada 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAudittrailEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAudittrailEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AuditTrailEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), AuditTrailEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AuditTrailEntry]: diff --git a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsCountEndpoint.py index aeba99cad..c59704906 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsEndpoint.py index e5a90b2c7..c8ed71ed7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsEndpoint.py @@ -12,10 +12,10 @@ class SystemAuthanvilsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "authAnvils", parent_endpoint=parent_endpoint) + self.count = self._register_child_endpoint(SystemAuthanvilsCountEndpoint(client, parent_endpoint=self)) self.test_connection = self._register_child_endpoint( SystemAuthanvilsTestconnectionEndpoint(client, parent_endpoint=self) ) - self.count = self._register_child_endpoint(SystemAuthanvilsCountEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemAuthanvilsIdEndpoint: """ @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - AuthAnvil, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), AuthAnvil, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AuthAnvil]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsIdEndpoint.py index 82c080157..c498d434a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - AuthAnvil, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), AuthAnvil, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AuthAnvil: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsTestconnectionEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsTestconnectionEndpoint.py index a02f979eb..e52011195 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAuthanvilsTestconnectionEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAuthanvilsTestconnectionEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SuccessResponse, - self, - page, - page_size, + super()._make_request("GET", params=params), SuccessResponse, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SuccessResponse: diff --git a/src/pyconnectwise/endpoints/manage/SystemAutosynctimeCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAutosynctimeCountEndpoint.py index 4aea4d117..a1e18c154 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAutosynctimeCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAutosynctimeCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemAutosynctimeEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAutosynctimeEndpoint.py index 4f413c238..b194c73ac 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAutosynctimeEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAutosynctimeEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutoSyncTime, - self, - page, - page_size, + super()._make_request("GET", params=params), AutoSyncTime, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[AutoSyncTime]: diff --git a/src/pyconnectwise/endpoints/manage/SystemAutosynctimeIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemAutosynctimeIdEndpoint.py index 1cdaefc4b..9fd7067bb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemAutosynctimeIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemAutosynctimeIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - AutoSyncTime, - self, - page, - page_size, + super()._make_request("GET", params=params), AutoSyncTime, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> AutoSyncTime: diff --git a/src/pyconnectwise/endpoints/manage/SystemCallbacksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCallbacksCountEndpoint.py index 1db383f11..d3e062518 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCallbacksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCallbacksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCallbacksEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCallbacksEndpoint.py index 38b518926..a28851cfa 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCallbacksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCallbacksEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CallbackEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), CallbackEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CallbackEntry]: diff --git a/src/pyconnectwise/endpoints/manage/SystemCallbacksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCallbacksIdEndpoint.py index 39bdb79aa..b4a50927f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCallbacksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCallbacksIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CallbackEntry, - self, - page, - page_size, + super()._make_request("GET", params=params), CallbackEntry, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CallbackEntry: diff --git a/src/pyconnectwise/endpoints/manage/SystemCertificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCertificationsCountEndpoint.py index b3a316cb8..347b2a792 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCertificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCertificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCertificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCertificationsEndpoint.py index 87ce74e3d..0ab7e18c2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCertificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCertificationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Certification, - self, - page, - page_size, + super()._make_request("GET", params=params), Certification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Certification]: diff --git a/src/pyconnectwise/endpoints/manage/SystemCertificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCertificationsIdEndpoint.py index 4a7f91875..db710a8f0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCertificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCertificationsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Certification, - self, - page, - page_size, + super()._make_request("GET", params=params), Certification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Certification: diff --git a/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesEndpoint.py index 8c936f75c..8ad9028ad 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesEndpoint.py @@ -28,13 +28,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesListEndpoint.py index e494c98e2..143883cd7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCertificationsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensCountEndpoint.py index 42c15f0db..c31645840 100644 --- a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensEndpoint.py index 28a1c7b1d..999e270c5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConnectWiseHostedScreen, - self, - page, - page_size, + super()._make_request("GET", params=params), ConnectWiseHostedScreen, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConnectWiseHostedScreen]: diff --git a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensIdEndpoint.py index 3d326dd23..5b7083954 100644 --- a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedscreensIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConnectWiseHostedScreen, - self, - page, - page_size, + super()._make_request("GET", params=params), ConnectWiseHostedScreen, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConnectWiseHostedScreen: diff --git a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsCountEndpoint.py index bd587582b..bd4868a75 100644 --- a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsEndpoint.py index 83a0948db..39611d470 100644 --- a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConnectWiseHostedSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), ConnectWiseHostedSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ConnectWiseHostedSetup]: diff --git a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsIdEndpoint.py index 99f395048..4706e8cf4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemConnectwisehostedsetupsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ConnectWiseHostedSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), ConnectWiseHostedSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ConnectWiseHostedSetup: diff --git a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringCountEndpoint.py index 6cb27d05c..3befd53d2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringEndpoint.py index 313ccd574..175149a9e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringEndpoint.py @@ -16,13 +16,13 @@ class SystemContactsyncMonitoringEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "monitoring", parent_endpoint=parent_endpoint) + self.count = self._register_child_endpoint( + SystemContactsyncMonitoringCountEndpoint(client, parent_endpoint=self) + ) self.type = self._register_child_endpoint(SystemContactsyncMonitoringTypeEndpoint(client, parent_endpoint=self)) self.notificationtype = self._register_child_endpoint( SystemContactsyncMonitoringNotificationtypeEndpoint(client, parent_endpoint=self) ) - self.count = self._register_child_endpoint( - SystemContactsyncMonitoringCountEndpoint(client, parent_endpoint=self) - ) def id(self, id: int) -> SystemContactsyncMonitoringIdEndpoint: """ @@ -53,11 +53,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncMonitoring, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncMonitoring, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[M365ContactSyncMonitoring]: diff --git a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringIdEndpoint.py index 3143eb173..0c921c71b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncMonitoring, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncMonitoring, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365ContactSyncMonitoring: diff --git a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringTypeIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringTypeIdEndpoint.py index 1b96c9a84..10139e72f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringTypeIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemContactsyncMonitoringTypeIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncMonitoring, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncMonitoring, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365ContactSyncMonitoring: diff --git a/src/pyconnectwise/endpoints/manage/SystemCustomreportsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCustomreportsCountEndpoint.py index 246b00090..fec4d048a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCustomreportsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCustomreportsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCustomreportsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCustomreportsEndpoint.py index 1a6abb773..711edfe8c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCustomreportsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCustomreportsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CustomReport, - self, - page, - page_size, + super()._make_request("GET", params=params), CustomReport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CustomReport]: diff --git a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdEndpoint.py index 991df0807..0d680eca1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CustomReport, - self, - page, - page_size, + super()._make_request("GET", params=params), CustomReport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CustomReport: diff --git a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersCountEndpoint.py index d3815aee3..3ea4585a9 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersEndpoint.py index e37550a8f..364bd4984 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CustomReportParameter, - self, - page, - page_size, + super()._make_request("GET", params=params), CustomReportParameter, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CustomReportParameter]: diff --git a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersIdEndpoint.py index 5298842c0..93e8ce714 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCustomreportsIdParametersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CustomReportParameter, - self, - page, - page_size, + super()._make_request("GET", params=params), CustomReportParameter, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CustomReportParameter: diff --git a/src/pyconnectwise/endpoints/manage/SystemCwtimezonesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCwtimezonesCountEndpoint.py index bd72b75af..f826e81d3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCwtimezonesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCwtimezonesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCwtimezonesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCwtimezonesEndpoint.py index a663dd7bd..dc52bfe6a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCwtimezonesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCwtimezonesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - CwTimeZone, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), CwTimeZone, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CwTimeZone]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemCwtimezonesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemCwtimezonesIdEndpoint.py index 40a607b0e..340b67867 100644 --- a/src/pyconnectwise/endpoints/manage/SystemCwtimezonesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemCwtimezonesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - CwTimeZone, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), CwTimeZone, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CwTimeZone: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsCountEndpoint.py index a060f76ec..be5b5faf5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsEndpoint.py index aeeea9f2b..f7b19597e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Department, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Department, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Department]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdEndpoint.py index 0444ef355..d9579ed98 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdEndpoint.py @@ -29,13 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Department, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Department, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Department: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsCountEndpoint.py index 425d75a61..02ceb2adc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsEndpoint.py index b259c439e..c8d29efd0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DepartmentLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), DepartmentLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DepartmentLocation]: diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsIdEndpoint.py index 9c1828531..79f33ac66 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdLocationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DepartmentLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), DepartmentLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DepartmentLocation: diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesEndpoint.py index 7d071c624..619ede6fb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesListEndpoint.py index 2938c8bd3..09c86c83a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDepartmentsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsIdInfoEndpoint.py index 8137e723a..b1f5cb7e8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DirectionalSyncInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DirectionalSyncInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DirectionalSyncInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoCountEndpoint.py index 949beb2b5..65fe96503 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoEndpoint.py index bd9a8a0f8..4f01eebe5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDirectionalsyncsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DirectionalSyncInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DirectionalSyncInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DirectionalSyncInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemDocumentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDocumentsCountEndpoint.py index 341904396..46694be07 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDocumentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDocumentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDocumentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDocumentsEndpoint.py index 3b91b88c3..946b4b81e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDocumentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDocumentsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DocumentInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemDocumentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDocumentsIdEndpoint.py index 72e80ae5a..9100f4ca2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDocumentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDocumentsIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DocumentInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemDocumenttypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDocumenttypesIdInfoEndpoint.py index 741af87c1..a5362da25 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDocumenttypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDocumenttypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentType, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DocumentType: diff --git a/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoCountEndpoint.py index 13926c757..e0e277655 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoEndpoint.py index 386fffcbc..d4ad1fbdf 100644 --- a/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemDocumenttypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentType, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DocumentType]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsCountEndpoint.py index 6bda2b137..e5e109a45 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsEndpoint.py index 46e38d340..9c8fc042e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsEndpoint.py @@ -12,8 +12,8 @@ class SystemEmailconnectorsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "emailConnectors", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemEmailconnectorsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemEmailconnectorsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemEmailconnectorsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemEmailconnectorsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnector, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnector, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailConnector]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdEndpoint.py index bc0656ba3..02a338389 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdEndpoint.py @@ -33,11 +33,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnector, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnector, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailConnector: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdInfoEndpoint.py index 2c0ba5682..0af2681f5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnectorInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnectorInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailConnectorInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesCountEndpoint.py index 7a8d8abb0..3fb3259fb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesEndpoint.py index e44b212c1..a505b0e1b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnectorParsingStyle, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnectorParsingStyle, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailConnectorParsingStyle]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdEndpoint.py index 1b496bbac..cdbaf57f5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnectorParsingStyle, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnectorParsingStyle, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailConnectorParsingStyle: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesCountEndpoint.py index 62a271b3a..b28cc77bc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesEndpoint.py index e81db7bfe..15fe2ad98 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnectorParsingRule, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnectorParsingRule, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailConnectorParsingRule]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesIdEndpoint.py index e6764f7be..a7a84d763 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsIdParsingstylesIdParsingrulesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnectorParsingRule, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnectorParsingRule, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailConnectorParsingRule: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoCountEndpoint.py index 906de168b..f80024903 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoEndpoint.py index 0382de9e6..aa8dd5ee0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailconnectorsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailConnectorInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailConnectorInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailConnectorInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsCountEndpoint.py index 5a2862fed..da0882abb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsEndpoint.py index ca0860008..e50799d4f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailExclusion]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsIdEndpoint.py index d4a25184c..edada4047 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailexclusionsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EmailExclusion, - self, - page, - page_size, + super()._make_request("GET", params=params), EmailExclusion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailExclusion: diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailtokensCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailtokensCountEndpoint.py index c317adaa1..159b1012b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailtokensCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailtokensCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailtokensEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailtokensEndpoint.py index f87ea3233..c41d64fd6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailtokensEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailtokensEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - EmailToken, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), EmailToken, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EmailToken]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEmailtokensIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEmailtokensIdEndpoint.py index f7e98117e..b18cc1fe2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEmailtokensIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEmailtokensIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - EmailToken, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), EmailToken, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EmailToken: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEndpoint.py index 98970d24e..20376d3b8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEndpoint.py @@ -80,132 +80,132 @@ class SystemEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "system", parent_endpoint=parent_endpoint) - self.membertemplates = self._register_child_endpoint( - SystemMembertemplatesEndpoint(client, parent_endpoint=self) - ) - self.directional_syncs = self._register_child_endpoint( - SystemDirectionalsyncsEndpoint(client, parent_endpoint=self) - ) - self.notification_recipients = self._register_child_endpoint( - SystemNotificationrecipientsEndpoint(client, parent_endpoint=self) - ) - self.imaps = self._register_child_endpoint(SystemImapsEndpoint(client, parent_endpoint=self)) - self.ldap_configurations = self._register_child_endpoint( - SystemLdapconfigurationsEndpoint(client, parent_endpoint=self) - ) - self.menuentries = self._register_child_endpoint(SystemMenuentriesEndpoint(client, parent_endpoint=self)) - self.fileuploadsettings = self._register_child_endpoint( - SystemFileuploadsettingsEndpoint(client, parent_endpoint=self) - ) - self.securityroles = self._register_child_endpoint(SystemSecurityrolesEndpoint(client, parent_endpoint=self)) - self.office365 = self._register_child_endpoint(SystemOffice365Endpoint(client, parent_endpoint=self)) - self.quote_link_setup = self._register_child_endpoint( - SystemQuotelinksetupEndpoint(client, parent_endpoint=self) + self.auth_anvils = self._register_child_endpoint(SystemAuthanvilsEndpoint(client, parent_endpoint=self)) + self.documents = self._register_child_endpoint(SystemDocumentsEndpoint(client, parent_endpoint=self)) + self.departments = self._register_child_endpoint(SystemDepartmentsEndpoint(client, parent_endpoint=self)) + self.in_out_boards = self._register_child_endpoint(SystemInoutboardsEndpoint(client, parent_endpoint=self)) + self.email_tokens = self._register_child_endpoint(SystemEmailtokensEndpoint(client, parent_endpoint=self)) + self.on_premise_search_setting = self._register_child_endpoint( + SystemOnpremisesearchsettingEndpoint(client, parent_endpoint=self) ) - self.setup_screens = self._register_child_endpoint(SystemSetupscreensEndpoint(client, parent_endpoint=self)) - self.connectwisehostedsetups = self._register_child_endpoint( - SystemConnectwisehostedsetupsEndpoint(client, parent_endpoint=self) + self.standard_notes = self._register_child_endpoint(SystemStandardnotesEndpoint(client, parent_endpoint=self)) + self.workflow_actions = self._register_child_endpoint( + SystemWorkflowactionsEndpoint(client, parent_endpoint=self) ) - self.workflows = self._register_child_endpoint(SystemWorkflowsEndpoint(client, parent_endpoint=self)) - self.skills = self._register_child_endpoint(SystemSkillsEndpoint(client, parent_endpoint=self)) - self.my_members = self._register_child_endpoint(SystemMymembersEndpoint(client, parent_endpoint=self)) - self.marketplaceimport = self._register_child_endpoint( - SystemMarketplaceimportEndpoint(client, parent_endpoint=self) + self.cw_time_zones = self._register_child_endpoint(SystemCwtimezonesEndpoint(client, parent_endpoint=self)) + self.my_security = self._register_child_endpoint(SystemMysecurityEndpoint(client, parent_endpoint=self)) + self.allowed_file_types = self._register_child_endpoint( + SystemAllowedfiletypesEndpoint(client, parent_endpoint=self) ) - self.in_out_boards = self._register_child_endpoint(SystemInoutboardsEndpoint(client, parent_endpoint=self)) + self.parsing_types = self._register_child_endpoint(SystemParsingtypesEndpoint(client, parent_endpoint=self)) + self.allowedorigins = self._register_child_endpoint(SystemAllowedoriginsEndpoint(client, parent_endpoint=self)) + self.document_types = self._register_child_endpoint(SystemDocumenttypesEndpoint(client, parent_endpoint=self)) self.email_connectors = self._register_child_endpoint( SystemEmailconnectorsEndpoint(client, parent_endpoint=self) ) - self.auth_anvils = self._register_child_endpoint(SystemAuthanvilsEndpoint(client, parent_endpoint=self)) - self.osgradeweights = self._register_child_endpoint(SystemOsgradeweightsEndpoint(client, parent_endpoint=self)) - self.contactsync = self._register_child_endpoint(SystemContactsyncEndpoint(client, parent_endpoint=self)) - self.experiments = self._register_child_endpoint(SystemExperimentsEndpoint(client, parent_endpoint=self)) - self.sso_users = self._register_child_endpoint(SystemSsousersEndpoint(client, parent_endpoint=self)) - self.bundles = self._register_child_endpoint(SystemBundlesEndpoint(client, parent_endpoint=self)) - self.report_cards = self._register_child_endpoint(SystemReportcardsEndpoint(client, parent_endpoint=self)) - self.callbacks = self._register_child_endpoint(SystemCallbacksEndpoint(client, parent_endpoint=self)) - self.allowedfiletypes = self._register_child_endpoint( - SystemAllowedfiletypesEndpoint(client, parent_endpoint=self) + self.custom_reports = self._register_child_endpoint(SystemCustomreportsEndpoint(client, parent_endpoint=self)) + self.management_network_securities = self._register_child_endpoint( + SystemManagementnetworksecuritiesEndpoint(client, parent_endpoint=self) ) - self.integratorlogins = self._register_child_endpoint( - SystemIntegratorloginsEndpoint(client, parent_endpoint=self) + self.e_pay_configurations = self._register_child_endpoint( + SystemEpayconfigurationsEndpoint(client, parent_endpoint=self) ) self.import_mass_maintenance = self._register_child_endpoint( SystemImportmassmaintenanceEndpoint(client, parent_endpoint=self) ) - self.audittrail = self._register_child_endpoint(SystemAudittrailEndpoint(client, parent_endpoint=self)) - self.departments = self._register_child_endpoint(SystemDepartmentsEndpoint(client, parent_endpoint=self)) self.members = self._register_child_endpoint(SystemMembersEndpoint(client, parent_endpoint=self)) - self.sso_configurations = self._register_child_endpoint( - SystemSsoconfigurationsEndpoint(client, parent_endpoint=self) + self.quote_link_setup = self._register_child_endpoint( + SystemQuotelinksetupEndpoint(client, parent_endpoint=self) ) + self.integrator_tags = self._register_child_endpoint(SystemIntegratortagsEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemInfoEndpoint(client, parent_endpoint=self)) + self.callbacks = self._register_child_endpoint(SystemCallbacksEndpoint(client, parent_endpoint=self)) + self.report_cards = self._register_child_endpoint(SystemReportcardsEndpoint(client, parent_endpoint=self)) + self.audittrail = self._register_child_endpoint(SystemAudittrailEndpoint(client, parent_endpoint=self)) self.time_zone_setups = self._register_child_endpoint( SystemTimezonesetupsEndpoint(client, parent_endpoint=self) ) - self.workflow_actions = self._register_child_endpoint( - SystemWorkflowactionsEndpoint(client, parent_endpoint=self) + self.imaps = self._register_child_endpoint(SystemImapsEndpoint(client, parent_endpoint=self)) + self.user_defined_fields = self._register_child_endpoint( + SystemUserdefinedfieldsEndpoint(client, parent_endpoint=self) ) - self.portal_reports = self._register_child_endpoint(SystemPortalreportsEndpoint(client, parent_endpoint=self)) - self.menu_entries = self._register_child_endpoint(SystemMenuentriesEndpoint(client, parent_endpoint=self)) - self.parsing_types = self._register_child_endpoint(SystemParsingtypesEndpoint(client, parent_endpoint=self)) - self.standard_notes = self._register_child_endpoint(SystemStandardnotesEndpoint(client, parent_endpoint=self)) - self.custom_reports = self._register_child_endpoint(SystemCustomreportsEndpoint(client, parent_endpoint=self)) - self.document_types = self._register_child_endpoint(SystemDocumenttypesEndpoint(client, parent_endpoint=self)) - self.connect_wise_hosted_screens = self._register_child_endpoint( - SystemConnectwisehostedscreensEndpoint(client, parent_endpoint=self) + self.setup_screens = self._register_child_endpoint(SystemSetupscreensEndpoint(client, parent_endpoint=self)) + self.fileuploadsettings = self._register_child_endpoint( + SystemFileuploadsettingsEndpoint(client, parent_endpoint=self) ) - self.email_tokens = self._register_child_endpoint(SystemEmailtokensEndpoint(client, parent_endpoint=self)) - self.documents = self._register_child_endpoint(SystemDocumentsEndpoint(client, parent_endpoint=self)) - self.my_company = self._register_child_endpoint(SystemMycompanyEndpoint(client, parent_endpoint=self)) - self.security_roles = self._register_child_endpoint(SystemSecurityrolesEndpoint(client, parent_endpoint=self)) - self.my_security = self._register_child_endpoint(SystemMysecurityEndpoint(client, parent_endpoint=self)) - self.settings = self._register_child_endpoint(SystemSettingsEndpoint(client, parent_endpoint=self)) - self.googleemailsetup = self._register_child_endpoint( - SystemGoogleemailsetupEndpoint(client, parent_endpoint=self) + self.kpi_categories = self._register_child_endpoint(SystemKpicategoriesEndpoint(client, parent_endpoint=self)) + self.in_out_types = self._register_child_endpoint(SystemInouttypesEndpoint(client, parent_endpoint=self)) + self.integratorlogins = self._register_child_endpoint( + SystemIntegratorloginsEndpoint(client, parent_endpoint=self) ) - self.surveys = self._register_child_endpoint(SystemSurveysEndpoint(client, parent_endpoint=self)) - self.certifications = self._register_child_endpoint(SystemCertificationsEndpoint(client, parent_endpoint=self)) - self.mycompany = self._register_child_endpoint(SystemMycompanyEndpoint(client, parent_endpoint=self)) - self.today_page_categories = self._register_child_endpoint( - SystemTodaypagecategoriesEndpoint(client, parent_endpoint=self) + self.membertemplates = self._register_child_endpoint( + SystemMembertemplatesEndpoint(client, parent_endpoint=self) ) - self.locations = self._register_child_endpoint(SystemLocationsEndpoint(client, parent_endpoint=self)) - self.api_members = self._register_child_endpoint(SystemApimembersEndpoint(client, parent_endpoint=self)) - self.in_out_types = self._register_child_endpoint(SystemInouttypesEndpoint(client, parent_endpoint=self)) - self.on_premise_search_setting = self._register_child_endpoint( - SystemOnpremisesearchsettingEndpoint(client, parent_endpoint=self) + self.allowedfiletypes = self._register_child_endpoint( + SystemAllowedfiletypesEndpoint(client, parent_endpoint=self) ) self.skill_categories = self._register_child_endpoint( SystemSkillcategoriesEndpoint(client, parent_endpoint=self) ) + self.api_members = self._register_child_endpoint(SystemApimembersEndpoint(client, parent_endpoint=self)) + self.security_roles = self._register_child_endpoint(SystemSecurityrolesEndpoint(client, parent_endpoint=self)) + self.settings = self._register_child_endpoint(SystemSettingsEndpoint(client, parent_endpoint=self)) + self.mycompany = self._register_child_endpoint(SystemMycompanyEndpoint(client, parent_endpoint=self)) + self.notification_recipients = self._register_child_endpoint( + SystemNotificationrecipientsEndpoint(client, parent_endpoint=self) + ) + self.workflows = self._register_child_endpoint(SystemWorkflowsEndpoint(client, parent_endpoint=self)) + self.auto_sync_time = self._register_child_endpoint(SystemAutosynctimeEndpoint(client, parent_endpoint=self)) self.email_exclusions = self._register_child_endpoint( SystemEmailexclusionsEndpoint(client, parent_endpoint=self) ) - self.links = self._register_child_endpoint(SystemLinksEndpoint(client, parent_endpoint=self)) - self.auto_sync_time = self._register_child_endpoint(SystemAutosynctimeEndpoint(client, parent_endpoint=self)) - self.info = self._register_child_endpoint(SystemInfoEndpoint(client, parent_endpoint=self)) - self.allowed_file_types = self._register_child_endpoint( - SystemAllowedfiletypesEndpoint(client, parent_endpoint=self) + self.my_account = self._register_child_endpoint(SystemMyaccountEndpoint(client, parent_endpoint=self)) + self.parsing_variables = self._register_child_endpoint( + SystemParsingvariablesEndpoint(client, parent_endpoint=self) ) - self.kpis = self._register_child_endpoint(SystemKpisEndpoint(client, parent_endpoint=self)) - self.management_network_securities = self._register_child_endpoint( - SystemManagementnetworksecuritiesEndpoint(client, parent_endpoint=self) + self.m365contactsync = self._register_child_endpoint( + SystemM365contactsyncEndpoint(client, parent_endpoint=self) ) - self.cw_time_zones = self._register_child_endpoint(SystemCwtimezonesEndpoint(client, parent_endpoint=self)) - self.user_defined_fields = self._register_child_endpoint( - SystemUserdefinedfieldsEndpoint(client, parent_endpoint=self) + self.sso_configurations = self._register_child_endpoint( + SystemSsoconfigurationsEndpoint(client, parent_endpoint=self) ) - self.kpi_categories = self._register_child_endpoint(SystemKpicategoriesEndpoint(client, parent_endpoint=self)) - self.parsing_variables = self._register_child_endpoint( - SystemParsingvariablesEndpoint(client, parent_endpoint=self) + self.connect_wise_hosted_screens = self._register_child_endpoint( + SystemConnectwisehostedscreensEndpoint(client, parent_endpoint=self) ) - self.integrator_tags = self._register_child_endpoint(SystemIntegratortagsEndpoint(client, parent_endpoint=self)) + self.osgradeweights = self._register_child_endpoint(SystemOsgradeweightsEndpoint(client, parent_endpoint=self)) + self.securityroles = self._register_child_endpoint(SystemSecurityrolesEndpoint(client, parent_endpoint=self)) + self.certifications = self._register_child_endpoint(SystemCertificationsEndpoint(client, parent_endpoint=self)) self.reports = self._register_child_endpoint(SystemReportsEndpoint(client, parent_endpoint=self)) - self.allowedorigins = self._register_child_endpoint(SystemAllowedoriginsEndpoint(client, parent_endpoint=self)) - self.e_pay_configurations = self._register_child_endpoint( - SystemEpayconfigurationsEndpoint(client, parent_endpoint=self) + self.portal_reports = self._register_child_endpoint(SystemPortalreportsEndpoint(client, parent_endpoint=self)) + self.contactsync = self._register_child_endpoint(SystemContactsyncEndpoint(client, parent_endpoint=self)) + self.ldap_configurations = self._register_child_endpoint( + SystemLdapconfigurationsEndpoint(client, parent_endpoint=self) ) - self.m365contactsync = self._register_child_endpoint( - SystemM365contactsyncEndpoint(client, parent_endpoint=self) + self.skills = self._register_child_endpoint(SystemSkillsEndpoint(client, parent_endpoint=self)) + self.kpis = self._register_child_endpoint(SystemKpisEndpoint(client, parent_endpoint=self)) + self.menuentries = self._register_child_endpoint(SystemMenuentriesEndpoint(client, parent_endpoint=self)) + self.my_members = self._register_child_endpoint(SystemMymembersEndpoint(client, parent_endpoint=self)) + self.googleemailsetup = self._register_child_endpoint( + SystemGoogleemailsetupEndpoint(client, parent_endpoint=self) ) - self.my_account = self._register_child_endpoint(SystemMyaccountEndpoint(client, parent_endpoint=self)) + self.my_company = self._register_child_endpoint(SystemMycompanyEndpoint(client, parent_endpoint=self)) + self.experiments = self._register_child_endpoint(SystemExperimentsEndpoint(client, parent_endpoint=self)) + self.today_page_categories = self._register_child_endpoint( + SystemTodaypagecategoriesEndpoint(client, parent_endpoint=self) + ) + self.links = self._register_child_endpoint(SystemLinksEndpoint(client, parent_endpoint=self)) + self.marketplaceimport = self._register_child_endpoint( + SystemMarketplaceimportEndpoint(client, parent_endpoint=self) + ) + self.menu_entries = self._register_child_endpoint(SystemMenuentriesEndpoint(client, parent_endpoint=self)) + self.directional_syncs = self._register_child_endpoint( + SystemDirectionalsyncsEndpoint(client, parent_endpoint=self) + ) + self.sso_users = self._register_child_endpoint(SystemSsousersEndpoint(client, parent_endpoint=self)) + self.bundles = self._register_child_endpoint(SystemBundlesEndpoint(client, parent_endpoint=self)) + self.connectwisehostedsetups = self._register_child_endpoint( + SystemConnectwisehostedsetupsEndpoint(client, parent_endpoint=self) + ) + self.locations = self._register_child_endpoint(SystemLocationsEndpoint(client, parent_endpoint=self)) + self.surveys = self._register_child_endpoint(SystemSurveysEndpoint(client, parent_endpoint=self)) + self.office365 = self._register_child_endpoint(SystemOffice365Endpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsCountEndpoint.py index 09d2836ec..0dec70d5f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsEndpoint.py index 10da6ace0..41951beca 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EPayConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), EPayConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[EPayConfiguration]: diff --git a/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsIdEndpoint.py index dc9601b8e..031179a97 100644 --- a/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemEpayconfigurationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - EPayConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), EPayConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> EPayConfiguration: diff --git a/src/pyconnectwise/endpoints/manage/SystemExperimentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemExperimentsCountEndpoint.py index 8d04075b9..5c2e0f0a5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemExperimentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemExperimentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemExperimentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemExperimentsEndpoint.py index 271224b3a..2c854cc9d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemExperimentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemExperimentsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Experiment, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Experiment, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Experiment]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemExperimentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemExperimentsIdEndpoint.py index 39be6722d..3e52a3538 100644 --- a/src/pyconnectwise/endpoints/manage/SystemExperimentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemExperimentsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Experiment, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Experiment, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Experiment: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsCountEndpoint.py index 520cb55ce..a9da86f41 100644 --- a/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsIdEndpoint.py index 96feabecd..ffeb2b472 100644 --- a/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemFileuploadsettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - FileUploadSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), FileUploadSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> FileUploadSetting: diff --git a/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupCountEndpoint.py index 1202d9680..65ae76de2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupIdEndpoint.py index 66f8db6f0..c7da80f19 100644 --- a/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemGoogleemailsetupIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - GoogleEmailSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), GoogleEmailSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> GoogleEmailSetup: diff --git a/src/pyconnectwise/endpoints/manage/SystemImapsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemImapsCountEndpoint.py index 9011dbb14..5265b5a82 100644 --- a/src/pyconnectwise/endpoints/manage/SystemImapsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemImapsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemImapsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemImapsEndpoint.py index 3067e409b..5c2d05590 100644 --- a/src/pyconnectwise/endpoints/manage/SystemImapsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemImapsEndpoint.py @@ -12,8 +12,8 @@ class SystemImapsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "imaps", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemImapsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemImapsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemImapsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemImapsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Imap, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Imap, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Imap]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemImapsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemImapsIdEndpoint.py index 5d59562cb..b0f2983c7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemImapsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemImapsIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Imap, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Imap, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Imap: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemImapsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemImapsIdInfoEndpoint.py index 4324e99f8..93857a807 100644 --- a/src/pyconnectwise/endpoints/manage/SystemImapsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemImapsIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ImapInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ImapInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ImapInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemImapsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemImapsInfoCountEndpoint.py index 5eae10cbf..5b0cf7013 100644 --- a/src/pyconnectwise/endpoints/manage/SystemImapsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemImapsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemImapsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemImapsInfoEndpoint.py index 42a9b2ff3..c7846f931 100644 --- a/src/pyconnectwise/endpoints/manage/SystemImapsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemImapsInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ImapInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ImapInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ImapInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsCountEndpoint.py index 747ce674c..1749ce229 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsEndpoint.py index 2850b80bd..db7e033c4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DepartmentLocationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DepartmentLocationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DepartmentLocationInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsIdEndpoint.py index 52968fb07..c3cb2ef5d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentlocationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DepartmentLocationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DepartmentLocationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DepartmentLocationInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsCountEndpoint.py index dcbad4f27..b5bada8f5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsEndpoint.py index 5438ca977..5d3b10980 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DepartmentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DepartmentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DepartmentInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsIdEndpoint.py index c1ed945b8..ca1ef272a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoDepartmentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DepartmentInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), DepartmentInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DepartmentInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoEndpoint.py index b9986b28f..b5c95211a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoEndpoint.py @@ -17,18 +17,18 @@ class SystemInfoEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "info", parent_endpoint=parent_endpoint) - self.links = self._register_child_endpoint(SystemInfoLinksEndpoint(client, parent_endpoint=self)) - self.personas = self._register_child_endpoint(SystemInfoPersonasEndpoint(client, parent_endpoint=self)) + self.departments = self._register_child_endpoint(SystemInfoDepartmentsEndpoint(client, parent_endpoint=self)) self.departmentlocations = self._register_child_endpoint( SystemInfoDepartmentlocationsEndpoint(client, parent_endpoint=self) ) - self.departments = self._register_child_endpoint(SystemInfoDepartmentsEndpoint(client, parent_endpoint=self)) - self.locales = self._register_child_endpoint(SystemInfoLocalesEndpoint(client, parent_endpoint=self)) self.locations = self._register_child_endpoint(SystemInfoLocationsEndpoint(client, parent_endpoint=self)) - self.members = self._register_child_endpoint(SystemInfoMembersEndpoint(client, parent_endpoint=self)) + self.links = self._register_child_endpoint(SystemInfoLinksEndpoint(client, parent_endpoint=self)) self.standard_notes = self._register_child_endpoint( SystemInfoStandardnotesEndpoint(client, parent_endpoint=self) ) + self.personas = self._register_child_endpoint(SystemInfoPersonasEndpoint(client, parent_endpoint=self)) + self.locales = self._register_child_endpoint(SystemInfoLocalesEndpoint(client, parent_endpoint=self)) + self.members = self._register_child_endpoint(SystemInfoMembersEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Info]: """ @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Info, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Info, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Info: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLinksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLinksCountEndpoint.py index f7e629d5f..b48ea12ea 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLinksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLinksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLinksEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLinksEndpoint.py index 4d5adad23..7ac9a1b02 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLinksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLinksEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - LinkInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), LinkInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LinkInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLinksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLinksIdEndpoint.py index a81ead9ce..19c7a07d1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLinksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLinksIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - LinkInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), LinkInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LinkInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLocalesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLocalesCountEndpoint.py index 7f9d2d31e..f824ee3b9 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLocalesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLocalesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLocalesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLocalesEndpoint.py index c6e7bca0c..cd0087e8a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLocalesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLocalesEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - LocaleInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), LocaleInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LocaleInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLocalesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLocalesIdEndpoint.py index 30ea53147..0aa8c77a0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLocalesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLocalesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - LocaleInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), LocaleInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LocaleInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLocationsCountEndpoint.py index 354bdda92..87f506905 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLocationsEndpoint.py index 9e25bb0c7..83a910d3c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLocationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LocationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), LocationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LocationInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoLocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoLocationsIdEndpoint.py index 99f088fa0..0194ad74c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoLocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoLocationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LocationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), LocationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LocationInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoMembersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoMembersCountEndpoint.py index 45bcd9a48..697bf825f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoMembersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoMembersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoMembersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoMembersEndpoint.py index c8382d082..e01e56855 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoMembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoMembersEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MemberInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MemberInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoMembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoMembersIdEndpoint.py index 3493c58a0..660ffd760 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoMembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoMembersIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MemberInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MemberInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoPersonasCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoPersonasCountEndpoint.py index b31ef353a..3df87a73e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoPersonasCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoPersonasCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoPersonasEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoPersonasEndpoint.py index d8d5ac5b9..78e0793f4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoPersonasEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoPersonasEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PersonasInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), PersonasInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PersonasInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoPersonasIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoPersonasIdEndpoint.py index 6fe6b4bbf..7e7dfd7c8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoPersonasIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoPersonasIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PersonasInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), PersonasInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PersonasInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesCountEndpoint.py index 0d5c3afa7..04108a817 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesEndpoint.py index 8adccbe12..322a7a1db 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - StandardNoteInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), StandardNoteInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[StandardNoteInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesIdEndpoint.py index 0b32c899c..c07acbbda 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInfoStandardnotesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - StandardNoteInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), StandardNoteInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> StandardNoteInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemInoutboardsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInoutboardsCountEndpoint.py index c25da1df6..5ba77f974 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInoutboardsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInoutboardsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInoutboardsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInoutboardsEndpoint.py index 917af414d..345565964 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInoutboardsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInoutboardsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - InOutBoard, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), InOutBoard, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InOutBoard]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInoutboardsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInoutboardsIdEndpoint.py index e95e7e654..0aa1f3a75 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInoutboardsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInoutboardsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - InOutBoard, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), InOutBoard, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InOutBoard: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInouttypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInouttypesCountEndpoint.py index 5a8a48259..405900e8c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInouttypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInouttypesCountEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInouttypesCountInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInouttypesCountInfoEndpoint.py index a2a27432c..2e4fb046b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInouttypesCountInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInouttypesCountInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInouttypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInouttypesEndpoint.py index fa38df32c..4f065b8cb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInouttypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInouttypesEndpoint.py @@ -12,8 +12,8 @@ class SystemInouttypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "inOutTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemInouttypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemInouttypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemInouttypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemInouttypesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - InOutType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), InOutType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InOutType]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInouttypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInouttypesIdEndpoint.py index 5fff5b34d..5c01cafbb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInouttypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInouttypesIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - InOutType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), InOutType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InOutType: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemInouttypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInouttypesIdInfoEndpoint.py index 0c0737698..f7937116d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInouttypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInouttypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InOutTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), InOutTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> InOutTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemInouttypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemInouttypesInfoEndpoint.py index 61384079c..5e67f56b1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemInouttypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemInouttypesInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - InOutTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), InOutTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[InOutTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsCountEndpoint.py index ae4f33aa9..9b6aa7610 100644 --- a/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsEndpoint.py index 6be98cc8d..75db8ea5d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - IntegratorLogin, - self, - page, - page_size, + super()._make_request("GET", params=params), IntegratorLogin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[IntegratorLogin]: diff --git a/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsIdEndpoint.py index 3ee87c051..7a47eed8e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemIntegratorloginsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - IntegratorLogin, - self, - page, - page_size, + super()._make_request("GET", params=params), IntegratorLogin, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> IntegratorLogin: diff --git a/src/pyconnectwise/endpoints/manage/SystemIntegratortagsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemIntegratortagsCountEndpoint.py index 85b790c08..a42d7a625 100644 --- a/src/pyconnectwise/endpoints/manage/SystemIntegratortagsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemIntegratortagsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemIntegratortagsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemIntegratortagsEndpoint.py index 2e4368bc8..6201df18a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemIntegratortagsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemIntegratortagsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - IntegratorTag, - self, - page, - page_size, + super()._make_request("GET", params=params), IntegratorTag, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[IntegratorTag]: diff --git a/src/pyconnectwise/endpoints/manage/SystemIntegratortagsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemIntegratortagsIdEndpoint.py index 0fc75d3b9..d44c0aad8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemIntegratortagsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemIntegratortagsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - IntegratorTag, - self, - page, - page_size, + super()._make_request("GET", params=params), IntegratorTag, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> IntegratorTag: diff --git a/src/pyconnectwise/endpoints/manage/SystemKpicategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemKpicategoriesCountEndpoint.py index 765658d8d..7296051af 100644 --- a/src/pyconnectwise/endpoints/manage/SystemKpicategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemKpicategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemKpicategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemKpicategoriesEndpoint.py index 8f2a02191..ff286c084 100644 --- a/src/pyconnectwise/endpoints/manage/SystemKpicategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemKpicategoriesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KPICategory, - self, - page, - page_size, + super()._make_request("GET", params=params), KPICategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[KPICategory]: diff --git a/src/pyconnectwise/endpoints/manage/SystemKpicategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemKpicategoriesIdEndpoint.py index d452b687a..78da0fc6d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemKpicategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemKpicategoriesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - KPICategory, - self, - page, - page_size, + super()._make_request("GET", params=params), KPICategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KPICategory: diff --git a/src/pyconnectwise/endpoints/manage/SystemKpisCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemKpisCountEndpoint.py index c015c0a01..bde367857 100644 --- a/src/pyconnectwise/endpoints/manage/SystemKpisCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemKpisCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemKpisEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemKpisEndpoint.py index f3ed0b883..900428f9b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemKpisEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemKpisEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - KPI, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), KPI, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[KPI]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemKpisIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemKpisIdEndpoint.py index bbc4637ff..eee03d17f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemKpisIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemKpisIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - KPI, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), KPI, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> KPI: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsCountEndpoint.py index f97e589af..754a920df 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsEndpoint.py index 4648efd55..4d148b79f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsEndpoint.py @@ -14,8 +14,8 @@ class SystemLdapconfigurationsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "ldapConfigurations", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemLdapconfigurationsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemLdapconfigurationsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemLdapconfigurationsInfoEndpoint(client, parent_endpoint=self)) self.test_link = self._register_child_endpoint( SystemLdapconfigurationsTestlinkEndpoint(client, parent_endpoint=self) ) @@ -49,11 +49,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LdapConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), LdapConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LdapConfiguration]: diff --git a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdEndpoint.py index 49d6c133f..5ad8b1dec 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LdapConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), LdapConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LdapConfiguration: diff --git a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdInfoEndpoint.py index ca2aafbfd..ce1ce6e8f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LdapConfigurationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), LdapConfigurationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LdapConfigurationInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoCountEndpoint.py index 35aa1f017..30d79d155 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoEndpoint.py index 74e38d544..b7e78f3a9 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLdapconfigurationsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LdapConfigurationInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), LdapConfigurationInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LdapConfigurationInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemLinksCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLinksCountEndpoint.py index 18d5bf311..8019b4239 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLinksCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLinksCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLinksEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLinksEndpoint.py index 8f86a29e9..85acedb4d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLinksEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLinksEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Link, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Link, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Link]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLinksIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLinksIdEndpoint.py index d3710d86a..af4581659 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLinksIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLinksIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Link, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Link, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Link: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsCountEndpoint.py index 7e328b467..6a46bd260 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsEndpoint.py index fc2728160..325b4023c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Location, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Location, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Location]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsCountEndpoint.py index cdf8bc8fd..3e1a7ceb0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsEndpoint.py index 449bd0535..80e815872 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LocationDepartment, - self, - page, - page_size, + super()._make_request("GET", params=params), LocationDepartment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LocationDepartment]: diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsIdEndpoint.py index 907ad94c9..810ccdcb1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdDepartmentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LocationDepartment, - self, - page, - page_size, + super()._make_request("GET", params=params), LocationDepartment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LocationDepartment: diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdEndpoint.py index ab0cfd204..358612e55 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdEndpoint.py @@ -33,13 +33,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Location, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Location, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Location: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesEndpoint.py index 176dae2e2..d8d45c855 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesListEndpoint.py index 81e4e2207..10e441d31 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesCountEndpoint.py index 00aff3455..51d583eee 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesEndpoint.py index c59f05fc0..a949bc81e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LocationWorkRole, - self, - page, - page_size, + super()._make_request("GET", params=params), LocationWorkRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[LocationWorkRole]: diff --git a/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesIdEndpoint.py index 7b2be946a..2ca688ec5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemLocationsIdWorkrolesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - LocationWorkRole, - self, - page, - page_size, + super()._make_request("GET", params=params), LocationWorkRole, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> LocationWorkRole: diff --git a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncEndpoint.py index ca5c57fba..836791fa5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncEndpoint.py @@ -21,14 +21,14 @@ def __init__(self, client, parent_endpoint=None): self.checkvalidsync = self._register_child_endpoint( SystemM365contactsyncCheckvalidsyncEndpoint(client, parent_endpoint=self) ) - self.notifydeactivation = self._register_child_endpoint( - SystemM365contactsyncNotifydeactivationEndpoint(client, parent_endpoint=self) + self.authorize = self._register_child_endpoint( + SystemM365contactsyncAuthorizeEndpoint(client, parent_endpoint=self) ) self.notifyerror = self._register_child_endpoint( SystemM365contactsyncNotifyerrorEndpoint(client, parent_endpoint=self) ) - self.authorize = self._register_child_endpoint( - SystemM365contactsyncAuthorizeEndpoint(client, parent_endpoint=self) + self.notifydeactivation = self._register_child_endpoint( + SystemM365contactsyncNotifydeactivationEndpoint(client, parent_endpoint=self) ) def id(self, id: int) -> SystemM365contactsyncIdEndpoint: diff --git a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdEndpoint.py index 0b1c7d280..571824ca3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdEndpoint.py @@ -12,8 +12,8 @@ class SystemM365contactsyncIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) + self.info = self._register_child_endpoint(SystemM365contactsyncIdInfoEndpoint(client, parent_endpoint=self)) self.viewauth = self._register_child_endpoint( SystemM365contactsyncIdViewauthEndpoint(client, parent_endpoint=self) ) - self.info = self._register_child_endpoint(SystemM365contactsyncIdInfoEndpoint(client, parent_endpoint=self)) self.test = self._register_child_endpoint(SystemM365contactsyncIdTestEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdInfoEndpoint.py index ce55d80eb..a9a180082 100644 --- a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> M365ContactSyncInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoCountEndpoint.py index b35e16fd9..6935eb495 100644 --- a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoEndpoint.py index 74e52a824..6e8c13249 100644 --- a/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemM365contactsyncInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - M365ContactSyncInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), M365ContactSyncInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[M365ContactSyncInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesCountEndpoint.py index 869bc489e..c3212f8d4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesEndpoint.py index 9e56828c0..4c4dba640 100644 --- a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementNetworkSecurity, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementNetworkSecurity, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagementNetworkSecurity]: diff --git a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdEndpoint.py index aa7add15a..95a7d004e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagementNetworkSecurity, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagementNetworkSecurity, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ManagementNetworkSecurity: diff --git a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdTestcredentialsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdTestcredentialsEndpoint.py index 9c50cca31..f2b546598 100644 --- a/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdTestcredentialsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemManagementnetworksecuritiesIdTestcredentialsEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SuccessResponse, - self, - page, - page_size, + super()._make_request("GET", params=params), SuccessResponse, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SuccessResponse: diff --git a/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportEndpoint.py index fe379b9e1..44d55b572 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportEndpoint.py @@ -11,9 +11,9 @@ class SystemMarketplaceimportEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "marketplaceimport", parent_endpoint=parent_endpoint) - self.import_ = self._register_child_endpoint( - SystemMarketplaceimportImportEndpoint(client, parent_endpoint=self) - ) self.getdefinition = self._register_child_endpoint( SystemMarketplaceimportGetdefinitionEndpoint(client, parent_endpoint=self) ) + self.import_ = self._register_child_endpoint( + SystemMarketplaceimportImportEndpoint(client, parent_endpoint=self) + ) diff --git a/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportGetdefinitionIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportGetdefinitionIdEndpoint.py index 8e5d0ff1b..6ef9e11c2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportGetdefinitionIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMarketplaceimportGetdefinitionIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MarketplaceImport, - self, - page, - page_size, + super()._make_request("GET", params=params), MarketplaceImport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MarketplaceImport: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersCountEndpoint.py index def3e395e..0fde1278e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersEndpoint.py index bcb629795..a4b253bcc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersEndpoint.py @@ -13,9 +13,9 @@ class SystemMembersEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "members", parent_endpoint=parent_endpoint) + self.count = self._register_child_endpoint(SystemMembersCountEndpoint(client, parent_endpoint=self)) self.with_sso = self._register_child_endpoint(SystemMembersWithssoEndpoint(client, parent_endpoint=self)) self.types = self._register_child_endpoint(SystemMembersTypesEndpoint(client, parent_endpoint=self)) - self.count = self._register_child_endpoint(SystemMembersCountEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemMembersIdEndpoint: """ @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Member, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Member, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Member]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsCountEndpoint.py index e206ef145..d3efa3ed2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsEndpoint.py index 16346eb80..63558e1e2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberAccrual, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberAccrual, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberAccrual]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsIdEndpoint.py index 3036063c8..aaa5678d1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdAccrualsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberAccrual, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberAccrual, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberAccrual: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsCountEndpoint.py index 2054274e7..c684434f4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsEndpoint.py index 58ec36f61..4a4bb03dd 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberCertification, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberCertification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberCertification]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsIdEndpoint.py index f549d1cd2..1449882bc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdCertificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberCertification, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberCertification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberCertification: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsCountEndpoint.py index fdf519b07..0a3577e7d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsEndpoint.py index de04fb2b5..37aae10bb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberDelegation, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberDelegation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberDelegation]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsIdEndpoint.py index a7754c3e2..202d9d65c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdDelegationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberDelegation, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberDelegation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberDelegation: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdEndpoint.py index 56d03e204..b8df16e31 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdEndpoint.py @@ -29,38 +29,38 @@ class SystemMembersIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.delegations = self._register_child_endpoint( - SystemMembersIdDelegationsEndpoint(client, parent_endpoint=self) + self.submit = self._register_child_endpoint(SystemMembersIdSubmitEndpoint(client, parent_endpoint=self)) + self.skills = self._register_child_endpoint(SystemMembersIdSkillsEndpoint(client, parent_endpoint=self)) + self.usages = self._register_child_endpoint(SystemMembersIdUsagesEndpoint(client, parent_endpoint=self)) + self.tokens = self._register_child_endpoint(SystemMembersIdTokensEndpoint(client, parent_endpoint=self)) + self.mycertifications = self._register_child_endpoint( + SystemMembersIdMycertificationsEndpoint(client, parent_endpoint=self) + ) + self.accruals = self._register_child_endpoint(SystemMembersIdAccrualsEndpoint(client, parent_endpoint=self)) + self.notification_settings = self._register_child_endpoint( + SystemMembersIdNotificationsettingsEndpoint(client, parent_endpoint=self) + ) + self.image = self._register_child_endpoint(SystemMembersIdImageEndpoint(client, parent_endpoint=self)) + self.link_sso_user = self._register_child_endpoint( + SystemMembersIdLinkssouserEndpoint(client, parent_endpoint=self) ) self.unlink_sso_user = self._register_child_endpoint( SystemMembersIdUnlinkssouserEndpoint(client, parent_endpoint=self) ) + self.managed_device_accounts = self._register_child_endpoint( + SystemMembersIdManageddeviceaccountsEndpoint(client, parent_endpoint=self) + ) + self.deactivate = self._register_child_endpoint(SystemMembersIdDeactivateEndpoint(client, parent_endpoint=self)) self.unused_time_sheets = self._register_child_endpoint( SystemMembersIdUnusedtimesheetsEndpoint(client, parent_endpoint=self) ) - self.image = self._register_child_endpoint(SystemMembersIdImageEndpoint(client, parent_endpoint=self)) - self.accruals = self._register_child_endpoint(SystemMembersIdAccrualsEndpoint(client, parent_endpoint=self)) - self.submit = self._register_child_endpoint(SystemMembersIdSubmitEndpoint(client, parent_endpoint=self)) + self.delegations = self._register_child_endpoint( + SystemMembersIdDelegationsEndpoint(client, parent_endpoint=self) + ) self.certifications = self._register_child_endpoint( SystemMembersIdCertificationsEndpoint(client, parent_endpoint=self) ) - self.managed_device_accounts = self._register_child_endpoint( - SystemMembersIdManageddeviceaccountsEndpoint(client, parent_endpoint=self) - ) - self.mycertifications = self._register_child_endpoint( - SystemMembersIdMycertificationsEndpoint(client, parent_endpoint=self) - ) - self.notification_settings = self._register_child_endpoint( - SystemMembersIdNotificationsettingsEndpoint(client, parent_endpoint=self) - ) - self.tokens = self._register_child_endpoint(SystemMembersIdTokensEndpoint(client, parent_endpoint=self)) self.personas = self._register_child_endpoint(SystemMembersIdPersonasEndpoint(client, parent_endpoint=self)) - self.skills = self._register_child_endpoint(SystemMembersIdSkillsEndpoint(client, parent_endpoint=self)) - self.usages = self._register_child_endpoint(SystemMembersIdUsagesEndpoint(client, parent_endpoint=self)) - self.deactivate = self._register_child_endpoint(SystemMembersIdDeactivateEndpoint(client, parent_endpoint=self)) - self.link_sso_user = self._register_child_endpoint( - SystemMembersIdLinkssouserEndpoint(client, parent_endpoint=self) - ) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Member]: """ @@ -75,13 +75,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Member, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Member, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Member: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdManageddeviceaccountsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdManageddeviceaccountsEndpoint.py index e2f4409b1..7bbdb2a4f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdManageddeviceaccountsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdManageddeviceaccountsEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ManagedDeviceAccount, - self, - page, - page_size, + super()._make_request("GET", params=params), ManagedDeviceAccount, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ManagedDeviceAccount]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsCountEndpoint.py index 5dd78793d..ebfb05c14 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsEndpoint.py index aa010ace5..677ec96ca 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberCertification, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberCertification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberCertification]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsIdEndpoint.py index c64ee650d..94e18716f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdMycertificationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberCertification, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberCertification, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberCertification: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsCountEndpoint.py index 4a55804bc..bb3a31215 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsEndpoint.py index 1d50dbfa4..459475487 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberNotificationSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberNotificationSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberNotificationSetting]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsIdEndpoint.py index 816abbb11..42f020797 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdNotificationsettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberNotificationSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberNotificationSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberNotificationSetting: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasCountEndpoint.py index 13e783a09..c43d41a42 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasEndpoint.py index 13df46530..6df042172 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberPersona, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberPersona, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberPersona]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasIdEndpoint.py index 15509e177..3bb16a919 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdPersonasIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberPersona, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberPersona, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberPersona: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsCountEndpoint.py index 7ae13937f..0c2c70914 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsEndpoint.py index 34ef3e6c9..df2a44051 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberSkill, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberSkill, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberSkill]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsIdEndpoint.py index 477bb9b61..612a23c63 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdSkillsIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberSkill, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberSkill, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberSkill: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesEndpoint.py index f13560d69..255281917 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesListEndpoint.py index 109eb25b5..36d6b9fa3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersTypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersTypesCountEndpoint.py index 90743a117..4d8e7285e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersTypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersTypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersTypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersTypesEndpoint.py index 1c36011a6..e686c30b2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersTypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersTypesEndpoint.py @@ -12,8 +12,8 @@ class SystemMembersTypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "types", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemMembersTypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemMembersTypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemMembersTypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemMembersTypesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MemberType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MemberType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberType]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdEndpoint.py index 87b8a5cd0..2cb743acd 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MemberType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MemberType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberType: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdInfoEndpoint.py index 1481c68ef..487d648e7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersTypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoCountEndpoint.py index 34ffed925..83feb9ac8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoEndpoint.py index ac0bf3a53..797f8f761 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersTypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMembersWithssoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembersWithssoEndpoint.py index 01bb34da6..15fd40907 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembersWithssoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembersWithssoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Member, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Member, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Member]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembertemplatesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembertemplatesCountEndpoint.py index 97d9411a0..61106931f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembertemplatesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembertemplatesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMembertemplatesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMembertemplatesIdEndpoint.py index ac3918110..ba1c1b5b7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMembertemplatesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMembertemplatesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberTemplate, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberTemplate, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberTemplate: diff --git a/src/pyconnectwise/endpoints/manage/SystemMenuentriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMenuentriesCountEndpoint.py index 231672aae..c8566c4d8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMenuentriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMenuentriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsCountEndpoint.py index 6bb503c86..86ea048fe 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsEndpoint.py index 73221cd49..7d26247c2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MenuEntryLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), MenuEntryLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MenuEntryLocation]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsIdEndpoint.py index b4a3da949..1edd223be 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMenuentriesIdLocationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MenuEntryLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), MenuEntryLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MenuEntryLocation: diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsCountEndpoint.py index c484b6c32..d1b26a0f5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsEndpoint.py index 50e9eec70..73469a79c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberDelegation, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberDelegation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberDelegation]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsIdEndpoint.py index 97a2b2b44..ad8a4c77e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdDelegationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberDelegation, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberDelegation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberDelegation: diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdEndpoint.py index cba46e765..39650c359 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdEndpoint.py @@ -29,13 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MyAccount, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MyAccount, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MyAccount: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsCountEndpoint.py index 6c0bab4a3..f2a421eba 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsEndpoint.py index c3c0a31f1..ef891e26e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberSkill, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberSkill, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MemberSkill]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsIdEndpoint.py index 9ebb6ef57..441630ca8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMyaccountIdSkillsIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MemberSkill, - self, - page, - page_size, + super()._make_request("GET", params=params), MemberSkill, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MemberSkill: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureCountEndpoint.py index 3cd649312..a07e3dbd3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureEndpoint.py index d9a51eaf6..6980d82f0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureEndpoint.py @@ -15,12 +15,12 @@ class SystemMycompanyCorporatestructureEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "corporateStructure", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - SystemMycompanyCorporatestructureInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( SystemMycompanyCorporatestructureCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + SystemMycompanyCorporatestructureInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> SystemMycompanyCorporatestructureIdEndpoint: """ @@ -51,11 +51,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CorporateStructure, - self, - page, - page_size, + super()._make_request("GET", params=params), CorporateStructure, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CorporateStructure]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdEndpoint.py index d0827acbe..382a7dc3f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CorporateStructure, - self, - page, - page_size, + super()._make_request("GET", params=params), CorporateStructure, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CorporateStructure: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdInfoEndpoint.py index 061bd597d..cd8e3e9b0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CorporateStructureInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CorporateStructureInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CorporateStructureInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoCountEndpoint.py index 33d148811..fd7c10857 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoEndpoint.py index 44e548beb..79f914b1f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructureInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CorporateStructureInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), CorporateStructureInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CorporateStructureInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsCountEndpoint.py index eea088af2..36c5b3deb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsEndpoint.py index cae6fbd04..236770e33 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CorporateStructureLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), CorporateStructureLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CorporateStructureLevel]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsIdEndpoint.py index 24365050a..9519397f0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCorporatestructurelevelsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - CorporateStructureLevel, - self, - page, - page_size, + super()._make_request("GET", params=params), CorporateStructureLevel, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CorporateStructureLevel: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmCountEndpoint.py index 443439e59..7762878c0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmEndpoint.py index 0218b18ac..5e837f029 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmEndpoint.py @@ -12,8 +12,8 @@ class SystemMycompanyCrmEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "crm", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemMycompanyCrmInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemMycompanyCrmCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemMycompanyCrmInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemMycompanyCrmIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Crm, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Crm, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Crm]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdEndpoint.py index 225629af1..a89c4a5ed 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Crm, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Crm, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Crm: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdInfoEndpoint.py index e26632fda..b868173d5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - CrmInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), CrmInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> CrmInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoCountEndpoint.py index 42fcc1c6e..98fbda91b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoEndpoint.py index cf8406a81..bb22981fb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyCrmInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - CrmInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), CrmInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[CrmInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsEndpoint.py index ba806b750..6a0bba3a1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsEndpoint.py @@ -39,11 +39,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[DocumentSetup]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsIdEndpoint.py index 4e5b242c7..bf8997719 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyDocumentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - DocumentSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), DocumentSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> DocumentSetup: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyEndpoint.py index 1c70dc188..de34ab2a6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyEndpoint.py @@ -17,5 +17,5 @@ def __init__(self, client, parent_endpoint=None): SystemMycompanyReportingservicesEndpoint(client, parent_endpoint=self) ) self.info = self._register_child_endpoint(SystemMycompanyInfoEndpoint(client, parent_endpoint=self)) - self.documents = self._register_child_endpoint(SystemMycompanyDocumentsEndpoint(client, parent_endpoint=self)) self.services = self._register_child_endpoint(SystemMycompanyServicesEndpoint(client, parent_endpoint=self)) + self.documents = self._register_child_endpoint(SystemMycompanyDocumentsEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesEndpoint.py index 047bbb14f..bc0067cd2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesEndpoint.py @@ -37,11 +37,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ServiceInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesIdEndpoint.py index 3670c525d..a15cc5ea7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyInfoServicesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ServiceInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ServiceInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ServiceInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherCountEndpoint.py index 1e564fcf6..ba525ed4a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherEndpoint.py index 8242a9b93..f924ac6af 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Other, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Other, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Other]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherIdEndpoint.py index 5861f6df1..b036bd3ee 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyOtherIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Other, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Other, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Other: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesEndpoint.py index 52733c3ae..1f437cfb1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesEndpoint.py @@ -40,11 +40,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportingService, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportingService, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ReportingService]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesIdEndpoint.py index 942982a05..c6d98dfcf 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyReportingservicesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportingService, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportingService, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ReportingService: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesEndpoint.py index 8100214d4..d5a6d2dde 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesEndpoint.py @@ -36,13 +36,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Service, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Service, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Service]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesIdEndpoint.py index 44aad2500..d943cf75f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyServicesIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Service, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Service, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Service: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseCountEndpoint.py index 55d7a18c2..5aec2d9f7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseEndpoint.py index f70358a3f..19564aebc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseEndpoint.py @@ -43,11 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeExpense, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeExpense, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeExpense]: diff --git a/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseIdEndpoint.py index e5807d7ba..421ee5787 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMycompanyTimeexpenseIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeExpense, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeExpense, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeExpense: diff --git a/src/pyconnectwise/endpoints/manage/SystemMymembersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMymembersEndpoint.py index 93cee4629..c0037ccc0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMymembersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMymembersEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MyMember, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MyMember, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MyMember: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemMymembersInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMymembersInfoEndpoint.py index a7b91282b..d8c6b1581 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMymembersInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMymembersInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - MyMemberInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), MyMemberInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> MyMemberInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemMysecurityEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemMysecurityEndpoint.py index 8eb1d350d..9b8bc3237 100644 --- a/src/pyconnectwise/endpoints/manage/SystemMysecurityEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemMysecurityEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - MySecurity, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), MySecurity, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[MySecurity]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsCountEndpoint.py index ec74777a3..d752a0787 100644 --- a/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsEndpoint.py index e19a28206..0481a232f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - NotificationRecipient, - self, - page, - page_size, + super()._make_request("GET", params=params), NotificationRecipient, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[NotificationRecipient]: diff --git a/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsIdEndpoint.py index a6fbce0b4..f617b4a48 100644 --- a/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemNotificationrecipientsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - NotificationRecipient, - self, - page, - page_size, + super()._make_request("GET", params=params), NotificationRecipient, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> NotificationRecipient: diff --git a/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsCountEndpoint.py index 9db246a95..71a91aacc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsEndpoint.py index e892e698c..9aa268561 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Office365EmailSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), Office365EmailSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Office365EmailSetup]: diff --git a/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsIdEndpoint.py index f904ad9fd..27dbc944b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOffice365EmailsetupsIdEndpoint.py @@ -13,12 +13,12 @@ class SystemOffice365EmailsetupsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.test_connection = self._register_child_endpoint( - SystemOffice365EmailsetupsIdTestconnectionEndpoint(client, parent_endpoint=self) - ) self.authorize = self._register_child_endpoint( SystemOffice365EmailsetupsIdAuthorizeEndpoint(client, parent_endpoint=self) ) + self.test_connection = self._register_child_endpoint( + SystemOffice365EmailsetupsIdTestconnectionEndpoint(client, parent_endpoint=self) + ) def paginated( self, page: int, page_size: int, params: dict[str, int | str] = {} @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - Office365EmailSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), Office365EmailSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Office365EmailSetup: diff --git a/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingCountEndpoint.py index 82689d232..41c27652c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingIdEndpoint.py index 17e204c75..ca4b39b0f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOnpremisesearchsettingIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OnPremiseSearchSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), OnPremiseSearchSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OnPremiseSearchSetting: diff --git a/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsCountEndpoint.py index 381492732..8dc06553a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsEndpoint.py index db8f6eff2..182c48df3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OsGradeWeight, - self, - page, - page_size, + super()._make_request("GET", params=params), OsGradeWeight, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[OsGradeWeight]: diff --git a/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsIdEndpoint.py index 8b027b675..b673edae8 100644 --- a/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemOsgradeweightsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - OsGradeWeight, - self, - page, - page_size, + super()._make_request("GET", params=params), OsGradeWeight, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> OsGradeWeight: diff --git a/src/pyconnectwise/endpoints/manage/SystemParsingtypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemParsingtypesCountEndpoint.py index b532d45b6..b35602434 100644 --- a/src/pyconnectwise/endpoints/manage/SystemParsingtypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemParsingtypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemParsingtypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemParsingtypesEndpoint.py index 69051760d..801ae2fd9 100644 --- a/src/pyconnectwise/endpoints/manage/SystemParsingtypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemParsingtypesEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ParsingType, - self, - page, - page_size, + super()._make_request("GET", params=params), ParsingType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ParsingType]: diff --git a/src/pyconnectwise/endpoints/manage/SystemParsingtypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemParsingtypesIdEndpoint.py index 68b88aa90..2361d715a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemParsingtypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemParsingtypesIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ParsingType, - self, - page, - page_size, + super()._make_request("GET", params=params), ParsingType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ParsingType: diff --git a/src/pyconnectwise/endpoints/manage/SystemParsingvariablesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemParsingvariablesCountEndpoint.py index be057e860..9a6ad065f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemParsingvariablesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemParsingvariablesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemParsingvariablesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemParsingvariablesEndpoint.py index c41507bd5..4b1c4abfb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemParsingvariablesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemParsingvariablesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ParsingVariable, - self, - page, - page_size, + super()._make_request("GET", params=params), ParsingVariable, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ParsingVariable]: diff --git a/src/pyconnectwise/endpoints/manage/SystemParsingvariablesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemParsingvariablesIdEndpoint.py index 0228931e2..5dac47c2f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemParsingvariablesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemParsingvariablesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ParsingVariable, - self, - page, - page_size, + super()._make_request("GET", params=params), ParsingVariable, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ParsingVariable: diff --git a/src/pyconnectwise/endpoints/manage/SystemPortalreportsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemPortalreportsCountEndpoint.py index 929044aa2..77d10e56f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemPortalreportsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemPortalreportsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemPortalreportsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemPortalreportsEndpoint.py index c2b9ce43a..ed991ddc6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemPortalreportsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemPortalreportsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalReport, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalReport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[PortalReport]: diff --git a/src/pyconnectwise/endpoints/manage/SystemPortalreportsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemPortalreportsIdEndpoint.py index 7e27ea97e..2c37c8bcc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemPortalreportsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemPortalreportsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - PortalReport, - self, - page, - page_size, + super()._make_request("GET", params=params), PortalReport, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> PortalReport: diff --git a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupCountEndpoint.py index 6a72dc5da..c9b330e82 100644 --- a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupEndpoint.py index d34ed94b2..17bcf557e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupEndpoint.py @@ -13,10 +13,10 @@ class SystemQuotelinksetupEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "quoteLinkSetup", parent_endpoint=parent_endpoint) + self.count = self._register_child_endpoint(SystemQuotelinksetupCountEndpoint(client, parent_endpoint=self)) self.test_connection = self._register_child_endpoint( SystemQuotelinksetupTestconnectionEndpoint(client, parent_endpoint=self) ) - self.count = self._register_child_endpoint(SystemQuotelinksetupCountEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemQuotelinksetupIdEndpoint: """ @@ -44,13 +44,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - QuoteLink, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), QuoteLink, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[QuoteLink]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupIdEndpoint.py index 68a93297d..edcc5f782 100644 --- a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - QuoteLink, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), QuoteLink, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> QuoteLink: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupTestconnectionEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupTestconnectionEndpoint.py index 00a29009f..7ef7bc41f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupTestconnectionEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemQuotelinksetupTestconnectionEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SuccessResponse, - self, - page, - page_size, + super()._make_request("GET", params=params), SuccessResponse, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SuccessResponse: diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsCountEndpoint.py index 6f70f872e..a2ee57f18 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsEndpoint.py index 72f1f9dca..4909695f4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsEndpoint.py @@ -12,8 +12,8 @@ class SystemReportcardsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "reportCards", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemReportcardsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemReportcardsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemReportcardsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemReportcardsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ReportCard, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ReportCard, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ReportCard]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsCountEndpoint.py index e229de88b..93e820297 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsEndpoint.py index a8590c545..78c6758f2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportCardDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportCardDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ReportCardDetail]: diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsIdEndpoint.py index d067b5a6b..3d7e239d2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdDetailsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportCardDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportCardDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ReportCardDetail: diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdEndpoint.py index 0375c681f..5218c07d0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ReportCard, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ReportCard, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ReportCard: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdInfoEndpoint.py index 2c1cb1f93..c36c5cfed 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportCardInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportCardInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ReportCardInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoCountEndpoint.py index b0bc686a3..1e53155df 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoEndpoint.py index ec822b5c0..029fa2f6c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportcardsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportCardInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportCardInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ReportCardInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemReportsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportsEndpoint.py index 7cb8f3dac..1f00224f5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportsEndpoint.py @@ -36,13 +36,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Report, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Report, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Report]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportsIdCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportsIdCountEndpoint.py index 169a1a1c3..85722e45c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportsIdCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportsIdCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemReportsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemReportsIdEndpoint.py index a7a16ce4a..6ba81f8fb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemReportsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemReportsIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ReportDataResponse, - self, - page, - page_size, + super()._make_request("GET", params=params), ReportDataResponse, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ReportDataResponse: diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesCountEndpoint.py index bd6d811d6..103dad852 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdInfoEndpoint.py index b4e8f5af8..26ca6206f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SecurityRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SecurityRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SecurityRoleInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsCountEndpoint.py index cce88a547..6a1288cad 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsEndpoint.py index 7ccdf341a..f3e8f8f21 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SecurityRoleSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), SecurityRoleSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SecurityRoleSetting]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsIdEndpoint.py index 02815a3e3..7f470ebec 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesIdSettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SecurityRoleSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), SecurityRoleSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SecurityRoleSetting: diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoCountEndpoint.py index bf9f9ca5d..6801c4f96 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoEndpoint.py index b1afeebf5..f35921b74 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSecurityrolesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SecurityRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), SecurityRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SecurityRoleInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSettingsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSettingsCountEndpoint.py index b5ff5194c..142c224bc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSettingsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSettingsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSettingsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSettingsEndpoint.py index 2deafbb75..23bcdd954 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSettingsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSettingsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SystemSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), SystemSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SystemSetting]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSettingsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSettingsIdEndpoint.py index 1a40e9724..e2538d9c5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSettingsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSettingsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SystemSetting, - self, - page, - page_size, + super()._make_request("GET", params=params), SystemSetting, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SystemSetting: diff --git a/src/pyconnectwise/endpoints/manage/SystemSetupscreensCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSetupscreensCountEndpoint.py index 9098e3204..643124e8a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSetupscreensCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSetupscreensCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSetupscreensEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSetupscreensEndpoint.py index 8e246f9ee..b23855770 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSetupscreensEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSetupscreensEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SetupScreen, - self, - page, - page_size, + super()._make_request("GET", params=params), SetupScreen, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SetupScreen]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSetupscreensIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSetupscreensIdEndpoint.py index 47cd00982..dee731d22 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSetupscreensIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSetupscreensIdEndpoint.py @@ -23,11 +23,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SetupScreen, - self, - page, - page_size, + super()._make_request("GET", params=params), SetupScreen, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SetupScreen: diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesCountEndpoint.py index c2b247c4e..8a54cc24b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesEndpoint.py index 23e902a7a..07c70ae0d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SkillCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), SkillCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SkillCategory]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesIdEndpoint.py index b4ed92990..d26096cb7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillcategoriesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SkillCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), SkillCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SkillCategory: diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillsCountEndpoint.py index 4a6e845c3..03e739eef 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillsEndpoint.py index ae5dde970..631bde5c6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillsEndpoint.py @@ -12,8 +12,8 @@ class SystemSkillsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "skills", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemSkillsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemSkillsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemSkillsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemSkillsIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Skill, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Skill, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Skill]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillsIdEndpoint.py index f7ffc0276..6fb3a4a8a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillsIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Skill, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Skill, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Skill: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillsIdInfoEndpoint.py index 039f399a4..7c346c929 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillsIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SkillInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SkillInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SkillInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillsInfoCountEndpoint.py index 7d0620acc..6937074b5 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSkillsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSkillsInfoEndpoint.py index 141b231ca..b578fa731 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSkillsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSkillsInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SkillInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SkillInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SkillInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsCountEndpoint.py index 51c4ba8c3..1e161ed25 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsEndpoint.py index 6b0604493..f6ad9e865 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SsoConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), SsoConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SsoConfiguration]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsIdEndpoint.py index 16253c832..8e6fdd767 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSsoconfigurationsIdEndpoint.py @@ -36,11 +36,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SsoConfiguration, - self, - page, - page_size, + super()._make_request("GET", params=params), SsoConfiguration, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SsoConfiguration: diff --git a/src/pyconnectwise/endpoints/manage/SystemSsousersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSsousersCountEndpoint.py index efe420457..c0a538fee 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSsousersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSsousersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSsousersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSsousersEndpoint.py index 67a7271f2..2d450b17e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSsousersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSsousersEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SsoUser, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SsoUser, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SsoUser]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSsousersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSsousersIdEndpoint.py index 29747bb99..c6ce9604c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSsousersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSsousersIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SsoUser, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SsoUser, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SsoUser: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemStandardnotesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemStandardnotesCountEndpoint.py index e76e650d1..6b0184480 100644 --- a/src/pyconnectwise/endpoints/manage/SystemStandardnotesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemStandardnotesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemStandardnotesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemStandardnotesEndpoint.py index a387c985d..5fd05a734 100644 --- a/src/pyconnectwise/endpoints/manage/SystemStandardnotesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemStandardnotesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - StandardNote, - self, - page, - page_size, + super()._make_request("GET", params=params), StandardNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[StandardNote]: diff --git a/src/pyconnectwise/endpoints/manage/SystemStandardnotesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemStandardnotesIdEndpoint.py index ffbcac883..df89f8e25 100644 --- a/src/pyconnectwise/endpoints/manage/SystemStandardnotesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemStandardnotesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - StandardNote, - self, - page, - page_size, + super()._make_request("GET", params=params), StandardNote, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> StandardNote: diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysCountEndpoint.py index ec8c07ff2..596199a89 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysEndpoint.py index 14e6bdeb4..f3128a4f7 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysEndpoint.py @@ -12,8 +12,8 @@ class SystemSurveysEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "surveys", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemSurveysInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemSurveysCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemSurveysInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemSurveysIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Survey, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Survey, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Survey]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdEndpoint.py index 31fe958a9..5a2a44b3e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdEndpoint.py @@ -29,13 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Survey, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Survey, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Survey: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdInfoEndpoint.py index 16a4fffd8..b12f12263 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdInfoEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SurveyInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SurveyInfo: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsCountEndpoint.py index 1c6af2b43..b04f52f70 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsEndpoint.py index 713554e42..bc536c70d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyQuestion, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyQuestion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SurveyQuestion]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdEndpoint.py index 27970f2e5..62992a8a1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyQuestion, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyQuestion, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SurveyQuestion: diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesEndpoint.py index b8b1f868b..67bdb4ab4 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesEndpoint.py @@ -40,11 +40,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyQuestionValue, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyQuestionValue, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SurveyQuestionValue]: diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesIdEndpoint.py index 667e73305..d61653a84 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysIdQuestionsIdValuesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyQuestionValue, - self, - page, - page_size, + super()._make_request("GET", params=params), SurveyQuestionValue, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> SurveyQuestionValue: diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysInfoCountEndpoint.py index c6c017add..9261bb851 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemSurveysInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemSurveysInfoEndpoint.py index cda2ff334..9676452bc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemSurveysInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemSurveysInfoEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - SurveyInfo, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), SurveyInfo, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[SurveyInfo]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsCountEndpoint.py index 3ca12ca7d..85520bd15 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsEndpoint.py index 5a31aeeb8..dc29718af 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsEndpoint.py @@ -12,8 +12,8 @@ class SystemTimezonesetupsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "timeZoneSetups", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemTimezonesetupsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemTimezonesetupsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemTimezonesetupsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemTimezonesetupsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeZoneSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeZoneSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeZoneSetup]: diff --git a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdEndpoint.py index 57db863ed..e5f6359db 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeZoneSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeZoneSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeZoneSetup: diff --git a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdInfoEndpoint.py index 5cde8ff6e..4014d0e37 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeZoneSetupInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeZoneSetupInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeZoneSetupInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoCountEndpoint.py index 3d2438700..d4658409e 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoEndpoint.py index a1ea36800..a820e606f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTimezonesetupsInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeZoneSetupInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeZoneSetupInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeZoneSetupInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesCountEndpoint.py index b994213fb..2445d4478 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesEndpoint.py index 96b9385d9..b97de93eb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TodayPageCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), TodayPageCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TodayPageCategory]: diff --git a/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesIdEndpoint.py index 0eee57f07..20329576d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemTodaypagecategoriesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TodayPageCategory, - self, - page, - page_size, + super()._make_request("GET", params=params), TodayPageCategory, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TodayPageCategory: diff --git a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsCountEndpoint.py index 5a3c23880..12447d590 100644 --- a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsEndpoint.py index 74ed1e08d..93f601e83 100644 --- a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsEndpoint.py @@ -12,8 +12,8 @@ class SystemUserdefinedfieldsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "userDefinedFields", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemUserdefinedfieldsInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemUserdefinedfieldsCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemUserdefinedfieldsInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemUserdefinedfieldsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UserDefinedField, - self, - page, - page_size, + super()._make_request("GET", params=params), UserDefinedField, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UserDefinedField]: diff --git a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdEndpoint.py index 97005eb88..5b671008a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UserDefinedField, - self, - page, - page_size, + super()._make_request("GET", params=params), UserDefinedField, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UserDefinedField: diff --git a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdInfoEndpoint.py index e25b3c736..5c129144d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UserDefinedFieldInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), UserDefinedFieldInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> UserDefinedFieldInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoCountEndpoint.py index 4878c048f..9f1be8830 100644 --- a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoEndpoint.py index f7aaf83e4..507ca90c9 100644 --- a/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemUserdefinedfieldsInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - UserDefinedFieldInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), UserDefinedFieldInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[UserDefinedFieldInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersCountEndpoint.py index 95a8cdad4..deda7414b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersEndpoint.py index 46f9f9d66..5602b9fbd 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowActionAutomateParameter, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowActionAutomateParameter, self, page, page_size, params ) def get( diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersIdEndpoint.py index 1f3682583..2a37ed560 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowactionsIdAutomateparametersIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowActionAutomateParameter, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowActionAutomateParameter, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowActionAutomateParameter: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsCountEndpoint.py index 3e90d0a74..31519e1bb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsEndpoint.py index c20aca46a..17397b19d 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsEndpoint.py @@ -14,13 +14,13 @@ class SystemWorkflowsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "workflows", parent_endpoint=parent_endpoint) - self.userdefinedfields = self._register_child_endpoint( - SystemWorkflowsUserdefinedfieldsEndpoint(client, parent_endpoint=self) - ) - self.count = self._register_child_endpoint(SystemWorkflowsCountEndpoint(client, parent_endpoint=self)) self.table_types = self._register_child_endpoint( SystemWorkflowsTabletypesEndpoint(client, parent_endpoint=self) ) + self.count = self._register_child_endpoint(SystemWorkflowsCountEndpoint(client, parent_endpoint=self)) + self.userdefinedfields = self._register_child_endpoint( + SystemWorkflowsUserdefinedfieldsEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> SystemWorkflowsIdEndpoint: """ @@ -48,13 +48,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Workflow, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Workflow, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Workflow]: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsCountEndpoint.py index e3e17a822..13ac74e4a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsEndpoint.py index 95eb409f2..a932d3576 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsEndpoint.py @@ -45,11 +45,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowAttachment, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowAttachment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowAttachment]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsIdEndpoint.py index ba903de54..da94042bc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdAttachmentsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowAttachment, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowAttachment, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowAttachment: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEndpoint.py index b21d1b0ba..75f4573a6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEndpoint.py @@ -14,15 +14,15 @@ class SystemWorkflowsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.triggers = self._register_child_endpoint(SystemWorkflowsIdTriggersEndpoint(client, parent_endpoint=self)) - self.notify_types = self._register_child_endpoint( - SystemWorkflowsIdNotifytypesEndpoint(client, parent_endpoint=self) - ) - self.copy = self._register_child_endpoint(SystemWorkflowsIdCopyEndpoint(client, parent_endpoint=self)) self.attachments = self._register_child_endpoint( SystemWorkflowsIdAttachmentsEndpoint(client, parent_endpoint=self) ) + self.copy = self._register_child_endpoint(SystemWorkflowsIdCopyEndpoint(client, parent_endpoint=self)) self.events = self._register_child_endpoint(SystemWorkflowsIdEventsEndpoint(client, parent_endpoint=self)) + self.notify_types = self._register_child_endpoint( + SystemWorkflowsIdNotifytypesEndpoint(client, parent_endpoint=self) + ) + self.triggers = self._register_child_endpoint(SystemWorkflowsIdTriggersEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[Workflow]: """ @@ -37,13 +37,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Workflow, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Workflow, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Workflow: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsCountEndpoint.py index 42a74dd54..01789b0a1 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsEndpoint.py index f23c25294..94641cc63 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowEvent, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowEvent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowEvent]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsCountEndpoint.py index 7ca96d240..5e77c3af2 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsEndpoint.py index 794ad0700..b272794cc 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowAction, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowAction, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowAction]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsIdEndpoint.py index 0b30129d2..4cb8ba76b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdActionsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowAction, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowAction, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowAction: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdEndpoint.py index 96b4d3620..b7f9b7c0a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdEventsIdEndpoint.py @@ -13,10 +13,10 @@ class SystemWorkflowsIdEventsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.copy = self._register_child_endpoint(SystemWorkflowsIdEventsIdCopyEndpoint(client, parent_endpoint=self)) self.actions = self._register_child_endpoint( SystemWorkflowsIdEventsIdActionsEndpoint(client, parent_endpoint=self) ) + self.copy = self._register_child_endpoint(SystemWorkflowsIdEventsIdCopyEndpoint(client, parent_endpoint=self)) self.test = self._register_child_endpoint(SystemWorkflowsIdEventsIdTestEndpoint(client, parent_endpoint=self)) def paginated( @@ -35,11 +35,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowEvent, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowEvent, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowEvent: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesCountEndpoint.py index 64e96ab00..d677f575f 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesEndpoint.py index deafbe28b..5750c11eb 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesEndpoint.py @@ -14,12 +14,12 @@ class SystemWorkflowsIdNotifytypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "notifyTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint( - SystemWorkflowsIdNotifytypesInfoEndpoint(client, parent_endpoint=self) - ) self.count = self._register_child_endpoint( SystemWorkflowsIdNotifytypesCountEndpoint(client, parent_endpoint=self) ) + self.info = self._register_child_endpoint( + SystemWorkflowsIdNotifytypesInfoEndpoint(client, parent_endpoint=self) + ) def id(self, id: int) -> SystemWorkflowsIdNotifytypesIdEndpoint: """ @@ -50,11 +50,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowNotifyType, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowNotifyType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowNotifyType]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdEndpoint.py index 8861aa8a3..26933564c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowNotifyType, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowNotifyType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowNotifyType: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdInfoEndpoint.py index 59242633d..34491303b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowNotifyTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowNotifyTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowNotifyTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoCountEndpoint.py index 474d0d88c..ea00c5ff3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoEndpoint.py index 05821a45d..f9f53b48b 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdNotifytypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowNotifyTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowNotifyTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowNotifyTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersCountEndpoint.py index bf8ce2401..fa17e89d0 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersEndpoint.py index b827b32e5..ef2720c82 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowTrigger, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowTrigger, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowTrigger]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsCountEndpoint.py index dd49f502a..850dfeacd 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsEndpoint.py index 4ab54f471..28f0365db 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsIdTriggersIdOptionsEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowTriggerOption, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowTriggerOption, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowTriggerOption]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesCountEndpoint.py index 3ca274eb5..7b5e9afa3 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesEndpoint.py index 3eb503320..efe06bb00 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesEndpoint.py @@ -12,8 +12,8 @@ class SystemWorkflowsTabletypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "tableTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(SystemWorkflowsTabletypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(SystemWorkflowsTabletypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(SystemWorkflowsTabletypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> SystemWorkflowsTabletypesIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowTableType, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowTableType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowTableType]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdEndpoint.py index eeea8fcff..8ecb01dcf 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdEndpoint.py @@ -29,11 +29,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowTableType, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowTableType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowTableType: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdInfoEndpoint.py index 55edb7a7d..8c2dfa79c 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowTableTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowTableTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkflowTableTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoCountEndpoint.py index 3147535eb..dab2e5d3a 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoEndpoint.py index aa80ed118..6e8d123c6 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsTabletypesInfoEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowTableTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowTableTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowTableTypeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/SystemWorkflowsUserdefinedfieldsEventsIdActionsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/SystemWorkflowsUserdefinedfieldsEventsIdActionsIdEndpoint.py index 1606077de..d46032303 100644 --- a/src/pyconnectwise/endpoints/manage/SystemWorkflowsUserdefinedfieldsEventsIdActionsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/SystemWorkflowsUserdefinedfieldsEventsIdActionsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkflowActionUserDefinedField, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkflowActionUserDefinedField, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkflowActionUserDefinedField]: diff --git a/src/pyconnectwise/endpoints/manage/TimeAccrualsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeAccrualsCountEndpoint.py index a72dcbc5e..8998a2412 100644 --- a/src/pyconnectwise/endpoints/manage/TimeAccrualsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeAccrualsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeAccrualsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeAccrualsEndpoint.py index 0fcaa3ef8..e1bee88f6 100644 --- a/src/pyconnectwise/endpoints/manage/TimeAccrualsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeAccrualsEndpoint.py @@ -40,11 +40,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeAccrual, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeAccrual, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeAccrual]: diff --git a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsCountEndpoint.py index 09c9dce3f..ae5dbf23e 100644 --- a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsEndpoint.py index 58fad66bd..5155a2424 100644 --- a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeAccrualDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeAccrualDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeAccrualDetail]: diff --git a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsIdEndpoint.py index f49afab64..dfad00937 100644 --- a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdDetailsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeAccrualDetail, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeAccrualDetail, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeAccrualDetail: diff --git a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdEndpoint.py index d209b7056..69418f135 100644 --- a/src/pyconnectwise/endpoints/manage/TimeAccrualsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeAccrualsIdEndpoint.py @@ -26,11 +26,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeAccrual, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeAccrual, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeAccrual: diff --git a/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesCountEndpoint.py index 73e1220c1..40c21ed08 100644 --- a/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesEndpoint.py index b6297c72f..fc646f12a 100644 --- a/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityStopwatch, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityStopwatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ActivityStopwatch]: diff --git a/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesIdEndpoint.py index fa363692c..c9c9f7033 100644 --- a/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeActivitystopwatchesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ActivityStopwatch, - self, - page, - page_size, + super()._make_request("GET", params=params), ActivityStopwatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ActivityStopwatch: diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesCountEndpoint.py index 0cdb21f1d..d07d77865 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesEndpoint.py index b7673b0b3..49c114222 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesEndpoint.py @@ -12,8 +12,8 @@ class TimeChargecodesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "chargeCodes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(TimeChargecodesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(TimeChargecodesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(TimeChargecodesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> TimeChargecodesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCode, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ChargeCode, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ChargeCode]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdEndpoint.py index 68cec611a..627b64973 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdEndpoint.py @@ -12,11 +12,11 @@ class TimeChargecodesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.usages = self._register_child_endpoint(TimeChargecodesIdUsagesEndpoint(client, parent_endpoint=self)) - self.info = self._register_child_endpoint(TimeChargecodesIdInfoEndpoint(client, parent_endpoint=self)) self.expense_types = self._register_child_endpoint( TimeChargecodesIdExpensetypesEndpoint(client, parent_endpoint=self) ) + self.usages = self._register_child_endpoint(TimeChargecodesIdUsagesEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(TimeChargecodesIdInfoEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[ChargeCode]: """ @@ -31,13 +31,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCode, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), ChargeCode, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ChargeCode: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesCountEndpoint.py index f7eeb40ef..2b2846986 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesEndpoint.py index 2708e6c1f..afe3ea603 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesEndpoint.py @@ -46,11 +46,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCodeExpenseType, - self, - page, - page_size, + super()._make_request("GET", params=params), ChargeCodeExpenseType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ChargeCodeExpenseType]: diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesIdEndpoint.py index db5e7d95f..abfce4856 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdExpensetypesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCodeExpenseType, - self, - page, - page_size, + super()._make_request("GET", params=params), ChargeCodeExpenseType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ChargeCodeExpenseType: diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdInfoEndpoint.py index 8ef5fe27c..340a9c528 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCodeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ChargeCodeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ChargeCodeInfo: diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesEndpoint.py index fdb7c77d8..149bf6078 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesListEndpoint.py index 751e6c804..268b48471 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoCountEndpoint.py index 663572189..39c0fb1b5 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoEndpoint.py index 5fca4e8bb..6b598f6de 100644 --- a/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeChargecodesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCodeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), ChargeCodeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ChargeCodeInfo]: diff --git a/src/pyconnectwise/endpoints/manage/TimeEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEndpoint.py index 56793edf8..fc6c93f9b 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEndpoint.py @@ -19,22 +19,22 @@ class TimeEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "time", parent_endpoint=parent_endpoint) + self.work_types = self._register_child_endpoint(TimeWorktypesEndpoint(client, parent_endpoint=self)) + self.schedulestopwatches = self._register_child_endpoint( + TimeSchedulestopwatchesEndpoint(client, parent_endpoint=self) + ) self.info = self._register_child_endpoint(TimeInfoEndpoint(client, parent_endpoint=self)) self.accruals = self._register_child_endpoint(TimeAccrualsEndpoint(client, parent_endpoint=self)) - self.time_period_setups = self._register_child_endpoint( - TimeTimeperiodsetupsEndpoint(client, parent_endpoint=self) - ) self.activitystopwatches = self._register_child_endpoint( TimeActivitystopwatchesEndpoint(client, parent_endpoint=self) ) self.entries = self._register_child_endpoint(TimeEntriesEndpoint(client, parent_endpoint=self)) - self.work_types = self._register_child_endpoint(TimeWorktypesEndpoint(client, parent_endpoint=self)) - self.sheets = self._register_child_endpoint(TimeSheetsEndpoint(client, parent_endpoint=self)) - self.schedulestopwatches = self._register_child_endpoint( - TimeSchedulestopwatchesEndpoint(client, parent_endpoint=self) + self.time_period_setups = self._register_child_endpoint( + TimeTimeperiodsetupsEndpoint(client, parent_endpoint=self) ) self.charge_codes = self._register_child_endpoint(TimeChargecodesEndpoint(client, parent_endpoint=self)) - self.work_roles = self._register_child_endpoint(TimeWorkrolesEndpoint(client, parent_endpoint=self)) + self.sheets = self._register_child_endpoint(TimeSheetsEndpoint(client, parent_endpoint=self)) self.ticketstopwatches = self._register_child_endpoint( TimeTicketstopwatchesEndpoint(client, parent_endpoint=self) ) + self.work_roles = self._register_child_endpoint(TimeWorkrolesEndpoint(client, parent_endpoint=self)) diff --git a/src/pyconnectwise/endpoints/manage/TimeEntriesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEntriesCountEndpoint.py index 9839ae8cf..d10f91e3a 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEntriesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEntriesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeEntriesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEntriesEndpoint.py index 0bcfdaa2e..f1586c241 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEntriesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEntriesEndpoint.py @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TimeEntry, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TimeEntry, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeEntry]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsCountEndpoint.py index e1eee1025..4ca8038a6 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsEndpoint.py index f100069f2..1917b04d2 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeEntryAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeEntryAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeEntryAudit]: diff --git a/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsIdEndpoint.py index 47b0902fb..b4c4e7792 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEntriesIdAuditsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeEntryAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeEntryAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeEntryAudit: diff --git a/src/pyconnectwise/endpoints/manage/TimeEntriesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeEntriesIdEndpoint.py index 95aae117e..4c3c8ba30 100644 --- a/src/pyconnectwise/endpoints/manage/TimeEntriesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeEntriesIdEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TimeEntry, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TimeEntry, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeEntry: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesCountEndpoint.py index bbebd1df8..3476b18ff 100644 --- a/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesEndpoint.py index 4ed80a822..12de7e19f 100644 --- a/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeInfoChargecodeexpensetypesEndpoint.py @@ -31,11 +31,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ChargeCodeExpenseType, - self, - page, - page_size, + super()._make_request("GET", params=params), ChargeCodeExpenseType, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ChargeCodeExpenseType]: diff --git a/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesCountEndpoint.py index 4c475a1d3..760a86ed6 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesEndpoint.py index 380216ad1..47dae0cc9 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleStopwatch, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleStopwatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[ScheduleStopwatch]: diff --git a/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesIdEndpoint.py index 25d90ea77..4c3c9093d 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSchedulestopwatchesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - ScheduleStopwatch, - self, - page, - page_size, + super()._make_request("GET", params=params), ScheduleStopwatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> ScheduleStopwatch: diff --git a/src/pyconnectwise/endpoints/manage/TimeSheetsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSheetsCountEndpoint.py index fbf531e9a..e1131e4c6 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSheetsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSheetsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeSheetsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSheetsEndpoint.py index f49183f02..63bf59104 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSheetsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSheetsEndpoint.py @@ -39,13 +39,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TimeSheet, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TimeSheet, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeSheet]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsCountEndpoint.py index d599770d1..8a58fb02f 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsEndpoint.py index a146beaa5..525bd5713 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeSheetAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeSheetAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimeSheetAudit]: diff --git a/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsIdEndpoint.py index 6e865610e..e1dfc1213 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSheetsIdAuditsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimeSheetAudit, - self, - page, - page_size, + super()._make_request("GET", params=params), TimeSheetAudit, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeSheetAudit: diff --git a/src/pyconnectwise/endpoints/manage/TimeSheetsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeSheetsIdEndpoint.py index 1ef56d4fc..0d0f491f0 100644 --- a/src/pyconnectwise/endpoints/manage/TimeSheetsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeSheetsIdEndpoint.py @@ -14,10 +14,10 @@ class TimeSheetsIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.reverse = self._register_child_endpoint(TimeSheetsIdReverseEndpoint(client, parent_endpoint=self)) self.submit = self._register_child_endpoint(TimeSheetsIdSubmitEndpoint(client, parent_endpoint=self)) - self.reject = self._register_child_endpoint(TimeSheetsIdRejectEndpoint(client, parent_endpoint=self)) self.audits = self._register_child_endpoint(TimeSheetsIdAuditsEndpoint(client, parent_endpoint=self)) + self.reverse = self._register_child_endpoint(TimeSheetsIdReverseEndpoint(client, parent_endpoint=self)) + self.reject = self._register_child_endpoint(TimeSheetsIdRejectEndpoint(client, parent_endpoint=self)) self.approve = self._register_child_endpoint(TimeSheetsIdApproveEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[TimeSheet]: @@ -33,13 +33,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TimeSheet, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TimeSheet, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimeSheet: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesCountEndpoint.py index 35d92b5ed..e4c58c2f8 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesEndpoint.py index 2d121a5b3..37c6ab7ab 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TicketStopwatch, - self, - page, - page_size, + super()._make_request("GET", params=params), TicketStopwatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TicketStopwatch]: diff --git a/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesIdEndpoint.py index acb3be2ff..bd9f3bcce 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTicketstopwatchesIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TicketStopwatch, - self, - page, - page_size, + super()._make_request("GET", params=params), TicketStopwatch, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TicketStopwatch: diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsCountEndpoint.py index 1a901330d..d9f38ccf7 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsDefaultEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsDefaultEndpoint.py index 8aa4fed89..7ad3f992b 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsDefaultEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsDefaultEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimePeriodSetupDefaults, - self, - page, - page_size, + super()._make_request("GET", params=params), TimePeriodSetupDefaults, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimePeriodSetupDefaults: diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsEndpoint.py index 2b5281e90..9e01f808d 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsEndpoint.py @@ -12,8 +12,8 @@ class TimeTimeperiodsetupsEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "timePeriodSetups", parent_endpoint=parent_endpoint) - self.default = self._register_child_endpoint(TimeTimeperiodsetupsDefaultEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(TimeTimeperiodsetupsCountEndpoint(client, parent_endpoint=self)) + self.default = self._register_child_endpoint(TimeTimeperiodsetupsDefaultEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> TimeTimeperiodsetupsIdEndpoint: """ @@ -44,11 +44,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimePeriodSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), TimePeriodSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimePeriodSetup]: diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdEndpoint.py index 8b441cccd..2a497ab3a 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdEndpoint.py @@ -30,11 +30,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - TimePeriodSetup, - self, - page, - page_size, + super()._make_request("GET", params=params), TimePeriodSetup, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimePeriodSetup: diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsCountEndpoint.py index 4b277e9f7..fc9106233 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsEndpoint.py index 358e4f8c0..2945c4998 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsEndpoint.py @@ -43,13 +43,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TimePeriod, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TimePeriod, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[TimePeriod]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsIdEndpoint.py index 08c709a72..4769659bc 100644 --- a/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeTimeperiodsetupsIdPeriodsIdEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - TimePeriod, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), TimePeriod, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> TimePeriod: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesCountEndpoint.py index 1292c966b..940fb2a0d 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesEndpoint.py index 095375bfc..a6f11d981 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesEndpoint.py @@ -12,8 +12,8 @@ class TimeWorkrolesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "workRoles", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(TimeWorkrolesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(TimeWorkrolesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(TimeWorkrolesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> TimeWorkrolesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRole, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), WorkRole, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkRole]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdEndpoint.py index 172a19619..1a44abc57 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdEndpoint.py @@ -12,8 +12,8 @@ class TimeWorkrolesIdEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "{id}", parent_endpoint=parent_endpoint) - self.usages = self._register_child_endpoint(TimeWorkrolesIdUsagesEndpoint(client, parent_endpoint=self)) self.info = self._register_child_endpoint(TimeWorkrolesIdInfoEndpoint(client, parent_endpoint=self)) + self.usages = self._register_child_endpoint(TimeWorkrolesIdUsagesEndpoint(client, parent_endpoint=self)) self.locations = self._register_child_endpoint(TimeWorkrolesIdLocationsEndpoint(client, parent_endpoint=self)) def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {}) -> PaginatedResponse[WorkRole]: @@ -29,13 +29,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRole, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), WorkRole, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkRole: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdInfoEndpoint.py index 2000e34a4..2525fcdc7 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkRoleInfo: diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsCountEndpoint.py index 25e0d0dee..9eb3879b0 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsEndpoint.py index 9e09897bb..0e4d472a7 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsEndpoint.py @@ -42,11 +42,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRoleLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkRoleLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkRoleLocation]: diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsIdEndpoint.py index a62d12abd..fdb3693ca 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdLocationsIdEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRoleLocation, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkRoleLocation, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkRoleLocation: diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesEndpoint.py index 6ed257202..2b7d676d5 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesListEndpoint.py index e83245540..32f99d8e5 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoCountEndpoint.py index 5579041c9..5fef94d13 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoEndpoint.py index cf312cf8a..927fc0fb8 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorkrolesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkRoleInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkRoleInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkRoleInfo]: diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesCountEndpoint.py index 87cc7cbd7..f557736a8 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesEndpoint.py index 29b71f764..1c6ead874 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesEndpoint.py @@ -12,8 +12,8 @@ class TimeWorktypesEndpoint(ConnectWiseEndpoint): def __init__(self, client, parent_endpoint=None): super().__init__(client, "workTypes", parent_endpoint=parent_endpoint) - self.info = self._register_child_endpoint(TimeWorktypesInfoEndpoint(client, parent_endpoint=self)) self.count = self._register_child_endpoint(TimeWorktypesCountEndpoint(client, parent_endpoint=self)) + self.info = self._register_child_endpoint(TimeWorktypesInfoEndpoint(client, parent_endpoint=self)) def id(self, id: int) -> TimeWorktypesIdEndpoint: """ @@ -41,13 +41,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - WorkType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), WorkType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkType]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdEndpoint.py index ba2fe77cf..170042690 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdEndpoint.py @@ -27,13 +27,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - WorkType, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), WorkType, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkType: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdInfoEndpoint.py index cfa52dac1..8e15e7c02 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdInfoEndpoint.py @@ -25,11 +25,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> WorkTypeInfo: diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesEndpoint.py index eba1479ff..21afc2436 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesEndpoint.py @@ -25,13 +25,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesListEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesListEndpoint.py index 903a98fbd..7578acea4 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesListEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesIdUsagesListEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Usage, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Usage, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[Usage]: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoCountEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoCountEndpoint.py index d61bab674..f4870ad33 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoCountEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoCountEndpoint.py @@ -22,13 +22,7 @@ def paginated(self, page: int, page_size: int, params: dict[str, int | str] = {} """ params["page"] = page params["pageSize"] = page_size - return PaginatedResponse( - super()._make_request("GET", params=params), - Count, - self, - page, - page_size, - ) + return PaginatedResponse(super()._make_request("GET", params=params), Count, self, page, page_size, params) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> Count: """ diff --git a/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoEndpoint.py b/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoEndpoint.py index 1d87592bb..2458524ee 100644 --- a/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoEndpoint.py +++ b/src/pyconnectwise/endpoints/manage/TimeWorktypesInfoEndpoint.py @@ -28,11 +28,7 @@ def paginated( params["page"] = page params["pageSize"] = page_size return PaginatedResponse( - super()._make_request("GET", params=params), - WorkTypeInfo, - self, - page, - page_size, + super()._make_request("GET", params=params), WorkTypeInfo, self, page, page_size, params ) def get(self, data: dict[str, Any] = {}, params: dict[str, int | str] = {}) -> list[WorkTypeInfo]: