-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #278 from HubSpot/update/discoveries
Discoveries: Update for CrmObjects
- Loading branch information
Showing
6 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
from hubspot import HubSpot | ||
from hubspot.crm.extensions.calling import SettingsApi | ||
from hubspot.crm.extensions.calling import SettingsApi, RecordingSettingsApi | ||
|
||
|
||
def test_is_discoverable(): | ||
apis = HubSpot().crm.extensions.calling | ||
assert isinstance(apis.settings_api, SettingsApi) | ||
assert isinstance(apis.recording_settings_api, RecordingSettingsApi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
from hubspot import HubSpot | ||
from hubspot.crm.companies import BasicApi, BatchApi, SearchApi, PublicObjectApi | ||
from hubspot.crm.companies import BasicApi, BatchApi, GDPRApi, SearchApi, PublicObjectApi | ||
|
||
|
||
def test_is_discoverable(): | ||
apis = HubSpot().crm.companies | ||
assert isinstance(apis.basic_api, BasicApi) | ||
assert isinstance(apis.batch_api, BatchApi) | ||
assert isinstance(apis.gpdr_api, GDPRApi) | ||
assert isinstance(apis.search_api, SearchApi) | ||
assert isinstance(apis.public_object_api, PublicObjectApi) | ||
assert hasattr(apis, "get_all") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
from hubspot import HubSpot | ||
from hubspot.crm.deals import BasicApi, BatchApi, SearchApi, PublicObjectApi | ||
from hubspot.crm.deals import BasicApi, BatchApi, GDPRApi, SearchApi, PublicObjectApi | ||
|
||
|
||
def test_is_discoverable(): | ||
apis = HubSpot().crm.deals | ||
assert isinstance(apis.basic_api, BasicApi) | ||
assert isinstance(apis.batch_api, BatchApi) | ||
assert isinstance(apis.gdpr_api, GDPRApi) | ||
assert isinstance(apis.search_api, SearchApi) | ||
assert isinstance(apis.public_object_api, PublicObjectApi) | ||
assert hasattr(apis, "get_all") |