While using this library in a project we found the need to query the Company Property Groups in HubSpot, but the functionality wasn't there. I've added this very basic functionality following the same logic that the rest of them use. I have tested this manually with HubSpot. With regards to testing, not sure how is best to do this as there doesn't appear to be any tests for testing the existing interfaces, so happy to follow guidance on that.
I also had to edit the base client as it didn't appear to build due to the entity != default line, so I've put a fix for that. Again happy to follow guidance.
Purpose
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
[ ] I have added tests to prove that what I have fixed or added does indeed work
Description
While using this library in a project we found the need to query the Company Property Groups in HubSpot, but the functionality wasn't there. I've added this very basic functionality following the same logic that the rest of them use. I have tested this manually with HubSpot. With regards to testing, not sure how is best to do this as there doesn't appear to be any tests for testing the existing interfaces, so happy to follow guidance on that.
I also had to edit the base client as it didn't appear to build due to the
entity != default
line, so I've put a fix for that. Again happy to follow guidance.Purpose
Checklist