diff --git a/lib/Discovery/Crm/Companies/Discovery.php b/lib/Discovery/Crm/Companies/Discovery.php index 8d49b727..e3ea13b4 100644 --- a/lib/Discovery/Crm/Companies/Discovery.php +++ b/lib/Discovery/Crm/Companies/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Companies\Api\AssociationsApi; use HubSpot\Client\Crm\Companies\Api\BasicApi; use HubSpot\Client\Crm\Companies\Api\BatchApi; +use HubSpot\Client\Crm\Companies\Api\PublicObjectApi; use HubSpot\Client\Crm\Companies\Api\SearchApi; use HubSpot\Discovery\Crm\ObjectDiscovery; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends ObjectDiscovery diff --git a/lib/Discovery/Crm/Contacts/Discovery.php b/lib/Discovery/Crm/Contacts/Discovery.php index 23568cfc..e487125c 100644 --- a/lib/Discovery/Crm/Contacts/Discovery.php +++ b/lib/Discovery/Crm/Contacts/Discovery.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Contacts\Api\BasicApi; use HubSpot\Client\Crm\Contacts\Api\BatchApi; use HubSpot\Client\Crm\Contacts\Api\GDPRApi; +use HubSpot\Client\Crm\Contacts\Api\PublicObjectApi; use HubSpot\Client\Crm\Contacts\Api\SearchApi; use HubSpot\Discovery\Crm\ObjectDiscovery; @@ -14,6 +15,7 @@ * @method BasicApi basicApi() * @method BatchApi batchApi() * @method GDPRApi gdprApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends ObjectDiscovery diff --git a/lib/Discovery/Crm/Deals/Discovery.php b/lib/Discovery/Crm/Deals/Discovery.php index 4208ca57..0bde7123 100644 --- a/lib/Discovery/Crm/Deals/Discovery.php +++ b/lib/Discovery/Crm/Deals/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Deals\Api\AssociationsApi; use HubSpot\Client\Crm\Deals\Api\BasicApi; use HubSpot\Client\Crm\Deals\Api\BatchApi; +use HubSpot\Client\Crm\Deals\Api\PublicObjectApi; use HubSpot\Client\Crm\Deals\Api\SearchApi; use HubSpot\Discovery\Crm\ObjectDiscovery; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends ObjectDiscovery diff --git a/lib/Discovery/Crm/LineItems/Discovery.php b/lib/Discovery/Crm/LineItems/Discovery.php index 10447473..5b226a44 100644 --- a/lib/Discovery/Crm/LineItems/Discovery.php +++ b/lib/Discovery/Crm/LineItems/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\LineItems\Api\AssociationsApi; use HubSpot\Client\Crm\LineItems\Api\BasicApi; use HubSpot\Client\Crm\LineItems\Api\BatchApi; +use HubSpot\Client\Crm\LineItems\Api\PublicObjectApi; use HubSpot\Client\Crm\LineItems\Api\SearchApi; use HubSpot\Discovery\Crm\ObjectDiscovery; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends ObjectDiscovery diff --git a/lib/Discovery/Crm/Objects/Calls/Discovery.php b/lib/Discovery/Crm/Objects/Calls/Discovery.php index 8ffc0e30..5848eda4 100644 --- a/lib/Discovery/Crm/Objects/Calls/Discovery.php +++ b/lib/Discovery/Crm/Objects/Calls/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Objects\Calls\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Calls\Api\BasicApi; use HubSpot\Client\Crm\Objects\Calls\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Calls\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Calls\Api\SearchApi; use HubSpot\Discovery\DiscoveryBase; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends DiscoveryBase diff --git a/lib/Discovery/Crm/Objects/Discovery.php b/lib/Discovery/Crm/Objects/Discovery.php index 672cd5b8..d31085f5 100644 --- a/lib/Discovery/Crm/Objects/Discovery.php +++ b/lib/Discovery/Crm/Objects/Discovery.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Objects\Api\BasicApi; use HubSpot\Client\Crm\Objects\Api\BatchApi; use HubSpot\Client\Crm\Objects\Api\GDPRApi; +use HubSpot\Client\Crm\Objects\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Api\SearchApi; use HubSpot\Discovery\DiscoveryBase; @@ -19,6 +20,7 @@ * @method FeedbackSubmissions\Discovery feedbackSubmissions() * @method Meetings\Discovery meetings() * @method Notes\Discovery notes() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() * @method Tasks\Discovery tasks() */ diff --git a/lib/Discovery/Crm/Objects/Emails/Discovery.php b/lib/Discovery/Crm/Objects/Emails/Discovery.php index fe939629..64a5e703 100644 --- a/lib/Discovery/Crm/Objects/Emails/Discovery.php +++ b/lib/Discovery/Crm/Objects/Emails/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Objects\Emails\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Emails\Api\BasicApi; use HubSpot\Client\Crm\Objects\Emails\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Emails\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Emails\Api\SearchApi; use HubSpot\Discovery\DiscoveryBase; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends DiscoveryBase diff --git a/lib/Discovery/Crm/Objects/Meetings/Discovery.php b/lib/Discovery/Crm/Objects/Meetings/Discovery.php index 2531df46..81dbf38b 100644 --- a/lib/Discovery/Crm/Objects/Meetings/Discovery.php +++ b/lib/Discovery/Crm/Objects/Meetings/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Objects\Meetings\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Meetings\Api\BasicApi; use HubSpot\Client\Crm\Objects\Meetings\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Meetings\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Meetings\Api\SearchApi; use HubSpot\Discovery\DiscoveryBase; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends DiscoveryBase diff --git a/lib/Discovery/Crm/Objects/Notes/Discovery.php b/lib/Discovery/Crm/Objects/Notes/Discovery.php index c2e8afdb..98a799fb 100644 --- a/lib/Discovery/Crm/Objects/Notes/Discovery.php +++ b/lib/Discovery/Crm/Objects/Notes/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Objects\Notes\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Notes\Api\BasicApi; use HubSpot\Client\Crm\Objects\Notes\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Notes\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Notes\Api\SearchApi; use HubSpot\Discovery\DiscoveryBase; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends DiscoveryBase diff --git a/lib/Discovery/Crm/Objects/Tasks/Discovery.php b/lib/Discovery/Crm/Objects/Tasks/Discovery.php index 9b03e5a6..667ee09e 100644 --- a/lib/Discovery/Crm/Objects/Tasks/Discovery.php +++ b/lib/Discovery/Crm/Objects/Tasks/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Objects\Tasks\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Tasks\Api\BasicApi; use HubSpot\Client\Crm\Objects\Tasks\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Tasks\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Tasks\Api\SearchApi; use HubSpot\Discovery\DiscoveryBase; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends DiscoveryBase diff --git a/lib/Discovery/Crm/Products/Discovery.php b/lib/Discovery/Crm/Products/Discovery.php index 0ef12e54..ecb03de1 100644 --- a/lib/Discovery/Crm/Products/Discovery.php +++ b/lib/Discovery/Crm/Products/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Products\Api\AssociationsApi; use HubSpot\Client\Crm\Products\Api\BasicApi; use HubSpot\Client\Crm\Products\Api\BatchApi; +use HubSpot\Client\Crm\Products\Api\PublicObjectApi; use HubSpot\Client\Crm\Products\Api\SearchApi; use HubSpot\Discovery\Crm\ObjectDiscovery; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends ObjectDiscovery diff --git a/lib/Discovery/Crm/Tickets/Discovery.php b/lib/Discovery/Crm/Tickets/Discovery.php index 80568cfa..e11de767 100644 --- a/lib/Discovery/Crm/Tickets/Discovery.php +++ b/lib/Discovery/Crm/Tickets/Discovery.php @@ -5,6 +5,7 @@ use HubSpot\Client\Crm\Tickets\Api\AssociationsApi; use HubSpot\Client\Crm\Tickets\Api\BasicApi; use HubSpot\Client\Crm\Tickets\Api\BatchApi; +use HubSpot\Client\Crm\Tickets\Api\PublicObjectApi; use HubSpot\Client\Crm\Tickets\Api\SearchApi; use HubSpot\Discovery\Crm\ObjectDiscovery; @@ -12,6 +13,7 @@ * @method AssociationsApi associationsApi() * @method BasicApi basicApi() * @method BatchApi batchApi() + * @method PublicObjectApi publicObjectApi() * @method SearchApi searchApi() */ class Discovery extends ObjectDiscovery diff --git a/tests/spec/Discovery/Crm/Companies/DiscoverySpec.php b/tests/spec/Discovery/Crm/Companies/DiscoverySpec.php index 715294b4..e0b3a140 100644 --- a/tests/spec/Discovery/Crm/Companies/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Companies/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Companies\Api\AssociationsApi; use HubSpot\Client\Crm\Companies\Api\BasicApi; use HubSpot\Client\Crm\Companies\Api\BatchApi; +use HubSpot\Client\Crm\Companies\Api\PublicObjectApi; use HubSpot\Client\Crm\Companies\Api\SearchApi; use HubSpot\Config; use PhpSpec\ObjectBehavior; @@ -27,6 +28,7 @@ public function it_creates_clients() $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); $this->associationsApi()->shouldHaveType(AssociationsApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Contacts/DiscoverySpec.php b/tests/spec/Discovery/Crm/Contacts/DiscoverySpec.php index 8bea45b2..12a534d3 100644 --- a/tests/spec/Discovery/Crm/Contacts/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Contacts/DiscoverySpec.php @@ -7,6 +7,7 @@ use HubSpot\Client\Crm\Contacts\Api\BasicApi; use HubSpot\Client\Crm\Contacts\Api\BatchApi; use HubSpot\Client\Crm\Contacts\Api\GDPRApi; +use HubSpot\Client\Crm\Contacts\Api\PublicObjectApi; use HubSpot\Client\Crm\Contacts\Api\SearchApi; use HubSpot\Config; use PhpSpec\ObjectBehavior; @@ -29,6 +30,7 @@ public function it_creates_clients() $this->batchApi()->shouldHaveType(BatchApi::class); $this->associationsApi()->shouldHaveType(AssociationsApi::class); $this->gdprApi()->shouldHaveType(GDPRApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Deals/DiscoverySpec.php b/tests/spec/Discovery/Crm/Deals/DiscoverySpec.php index 53382329..469a00df 100644 --- a/tests/spec/Discovery/Crm/Deals/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Deals/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Deals\Api\AssociationsApi; use HubSpot\Client\Crm\Deals\Api\BasicApi; use HubSpot\Client\Crm\Deals\Api\BatchApi; +use HubSpot\Client\Crm\Deals\Api\PublicObjectApi; use HubSpot\Client\Crm\Deals\Api\SearchApi; use HubSpot\Config; use PhpSpec\ObjectBehavior; @@ -27,6 +28,7 @@ public function it_creates_clients() $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); $this->associationsApi()->shouldHaveType(AssociationsApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/LineItems/DiscoverySpec.php b/tests/spec/Discovery/Crm/LineItems/DiscoverySpec.php index 041bc9e5..11f1521d 100644 --- a/tests/spec/Discovery/Crm/LineItems/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/LineItems/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\LineItems\Api\AssociationsApi; use HubSpot\Client\Crm\LineItems\Api\BasicApi; use HubSpot\Client\Crm\LineItems\Api\BatchApi; +use HubSpot\Client\Crm\LineItems\Api\PublicObjectApi; use HubSpot\Client\Crm\LineItems\Api\SearchApi; use HubSpot\Config; use PhpSpec\ObjectBehavior; @@ -27,6 +28,7 @@ public function it_creates_clients() $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); $this->associationsApi()->shouldHaveType(AssociationsApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Objects/Calls/DiscoverySpec.php b/tests/spec/Discovery/Crm/Objects/Calls/DiscoverySpec.php index 10de9f2d..6fe9bbb4 100644 --- a/tests/spec/Discovery/Crm/Objects/Calls/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Objects/Calls/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Objects\Calls\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Calls\Api\BasicApi; use HubSpot\Client\Crm\Objects\Calls\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Calls\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Calls\Api\SearchApi; use HubSpot\Config; use HubSpot\Discovery\Crm\Objects\Calls\Discovery; @@ -28,6 +29,7 @@ public function it_creates_clients() $this->associationsApi()->shouldHaveType(AssociationsApi::class); $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Objects/DiscoverySpec.php b/tests/spec/Discovery/Crm/Objects/DiscoverySpec.php index edec7d17..fd6791a3 100644 --- a/tests/spec/Discovery/Crm/Objects/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Objects/DiscoverySpec.php @@ -7,6 +7,7 @@ use HubSpot\Client\Crm\Objects\Api\BasicApi; use HubSpot\Client\Crm\Objects\Api\BatchApi; use HubSpot\Client\Crm\Objects\Api\GDPRApi; +use HubSpot\Client\Crm\Objects\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Api\SearchApi; use HubSpot\Config; use HubSpot\Discovery\Crm\Objects\Calls\Discovery as CallsDiscovery; @@ -41,6 +42,7 @@ public function it_creates_clients() $this->feedbackSubmissions()->shouldHaveType(FeedbackSubmissionsDiscovery::class); $this->meetings()->shouldHaveType(MeetingsDiscovery::class); $this->notes()->shouldHaveType(NotesDiscovery::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); $this->tasks()->shouldHaveType(TasksDiscovery::class); } diff --git a/tests/spec/Discovery/Crm/Objects/Emails/DiscoverySpec.php b/tests/spec/Discovery/Crm/Objects/Emails/DiscoverySpec.php index 685dd56a..3afccb07 100644 --- a/tests/spec/Discovery/Crm/Objects/Emails/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Objects/Emails/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Objects\Emails\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Emails\Api\BasicApi; use HubSpot\Client\Crm\Objects\Emails\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Emails\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Emails\Api\SearchApi; use HubSpot\Config; use HubSpot\Discovery\Crm\Objects\Emails\Discovery; @@ -28,6 +29,7 @@ public function it_creates_clients() $this->associationsApi()->shouldHaveType(AssociationsApi::class); $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Objects/Meetings/DiscoverySpec.php b/tests/spec/Discovery/Crm/Objects/Meetings/DiscoverySpec.php index 36d3370b..38beb432 100644 --- a/tests/spec/Discovery/Crm/Objects/Meetings/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Objects/Meetings/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Objects\Meetings\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Meetings\Api\BasicApi; use HubSpot\Client\Crm\Objects\Meetings\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Meetings\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Meetings\Api\SearchApi; use HubSpot\Config; use HubSpot\Discovery\Crm\Objects\Meetings\Discovery; @@ -28,6 +29,7 @@ public function it_creates_clients() $this->associationsApi()->shouldHaveType(AssociationsApi::class); $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Objects/Notes/DiscoverySpec.php b/tests/spec/Discovery/Crm/Objects/Notes/DiscoverySpec.php index b583e0de..c71fd26e 100644 --- a/tests/spec/Discovery/Crm/Objects/Notes/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Objects/Notes/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Objects\Notes\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Notes\Api\BasicApi; use HubSpot\Client\Crm\Objects\Notes\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Notes\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Notes\Api\SearchApi; use HubSpot\Config; use HubSpot\Discovery\Crm\Objects\Notes\Discovery; @@ -28,6 +29,7 @@ public function it_creates_clients() $this->associationsApi()->shouldHaveType(AssociationsApi::class); $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Objects/Tasks/DiscoverySpec.php b/tests/spec/Discovery/Crm/Objects/Tasks/DiscoverySpec.php index c1004613..3fa0e0e0 100644 --- a/tests/spec/Discovery/Crm/Objects/Tasks/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Objects/Tasks/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Objects\Tasks\Api\AssociationsApi; use HubSpot\Client\Crm\Objects\Tasks\Api\BasicApi; use HubSpot\Client\Crm\Objects\Tasks\Api\BatchApi; +use HubSpot\Client\Crm\Objects\Tasks\Api\PublicObjectApi; use HubSpot\Client\Crm\Objects\Tasks\Api\SearchApi; use HubSpot\Config; use HubSpot\Discovery\Crm\Objects\Tasks\Discovery; @@ -28,6 +29,7 @@ public function it_creates_clients() $this->associationsApi()->shouldHaveType(AssociationsApi::class); $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Products/DiscoverySpec.php b/tests/spec/Discovery/Crm/Products/DiscoverySpec.php index 3d641d39..f6059973 100644 --- a/tests/spec/Discovery/Crm/Products/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Products/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Products\Api\AssociationsApi; use HubSpot\Client\Crm\Products\Api\BasicApi; use HubSpot\Client\Crm\Products\Api\BatchApi; +use HubSpot\Client\Crm\Products\Api\PublicObjectApi; use HubSpot\Client\Crm\Products\Api\SearchApi; use HubSpot\Config; use PhpSpec\ObjectBehavior; @@ -27,6 +28,7 @@ public function it_creates_clients() $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); $this->associationsApi()->shouldHaveType(AssociationsApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } } diff --git a/tests/spec/Discovery/Crm/Tickets/DiscoverySpec.php b/tests/spec/Discovery/Crm/Tickets/DiscoverySpec.php index d487b4dc..4f855965 100644 --- a/tests/spec/Discovery/Crm/Tickets/DiscoverySpec.php +++ b/tests/spec/Discovery/Crm/Tickets/DiscoverySpec.php @@ -6,6 +6,7 @@ use HubSpot\Client\Crm\Tickets\Api\AssociationsApi; use HubSpot\Client\Crm\Tickets\Api\BasicApi; use HubSpot\Client\Crm\Tickets\Api\BatchApi; +use HubSpot\Client\Crm\Tickets\Api\PublicObjectApi; use HubSpot\Client\Crm\Tickets\Api\SearchApi; use HubSpot\Config; use PhpSpec\ObjectBehavior; @@ -27,6 +28,7 @@ public function it_creates_clients() $this->basicApi()->shouldHaveType(BasicApi::class); $this->batchApi()->shouldHaveType(BatchApi::class); $this->associationsApi()->shouldHaveType(AssociationsApi::class); + $this->publicObjectApi()->shouldHaveType(PublicObjectApi::class); $this->searchApi()->shouldHaveType(SearchApi::class); } }