diff --git a/codegen/Crm/Commerce/Invoices/Api/BatchApi.php b/codegen/Crm/Commerce/Invoices/Api/BatchApi.php index 7a108599..f8667503 100644 --- a/codegen/Crm/Commerce/Invoices/Api/BatchApi.php +++ b/codegen/Crm/Commerce/Invoices/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Commerce\Invoices\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Companies/Api/BatchApi.php b/codegen/Crm/Companies/Api/BatchApi.php index c56aa4b1..ae49fa8f 100644 --- a/codegen/Crm/Companies/Api/BatchApi.php +++ b/codegen/Crm/Companies/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Companies\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Contacts/Api/BatchApi.php b/codegen/Crm/Contacts/Api/BatchApi.php index e8145c27..143ecde8 100644 --- a/codegen/Crm/Contacts/Api/BatchApi.php +++ b/codegen/Crm/Contacts/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Contacts\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Deals/Api/BatchApi.php b/codegen/Crm/Deals/Api/BatchApi.php index 2c657d2a..508e7555 100644 --- a/codegen/Crm/Deals/Api/BatchApi.php +++ b/codegen/Crm/Deals/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Deals\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/LineItems/Api/BatchApi.php b/codegen/Crm/LineItems/Api/BatchApi.php index 81195c99..b29e3aea 100644 --- a/codegen/Crm/LineItems/Api/BatchApi.php +++ b/codegen/Crm/LineItems/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\LineItems\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Calls/Api/BatchApi.php b/codegen/Crm/Objects/Calls/Api/BatchApi.php index 35efecf9..db38440a 100644 --- a/codegen/Crm/Objects/Calls/Api/BatchApi.php +++ b/codegen/Crm/Objects/Calls/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Calls\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Communications/Api/BatchApi.php b/codegen/Crm/Objects/Communications/Api/BatchApi.php index 415f0ec7..53dbc9ad 100644 --- a/codegen/Crm/Objects/Communications/Api/BatchApi.php +++ b/codegen/Crm/Objects/Communications/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Communications\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Emails/Api/BatchApi.php b/codegen/Crm/Objects/Emails/Api/BatchApi.php index ff6fbbfe..40ef3089 100644 --- a/codegen/Crm/Objects/Emails/Api/BatchApi.php +++ b/codegen/Crm/Objects/Emails/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Emails\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Goals/Api/BatchApi.php b/codegen/Crm/Objects/Goals/Api/BatchApi.php index 9f225987..254a92e5 100644 --- a/codegen/Crm/Objects/Goals/Api/BatchApi.php +++ b/codegen/Crm/Objects/Goals/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Goals\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Leads/Api/BatchApi.php b/codegen/Crm/Objects/Leads/Api/BatchApi.php index 8d203bfe..8c9fb4a8 100644 --- a/codegen/Crm/Objects/Leads/Api/BatchApi.php +++ b/codegen/Crm/Objects/Leads/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Leads\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Meetings/Api/BatchApi.php b/codegen/Crm/Objects/Meetings/Api/BatchApi.php index 6f0039fd..39c8425a 100644 --- a/codegen/Crm/Objects/Meetings/Api/BatchApi.php +++ b/codegen/Crm/Objects/Meetings/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Meetings\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Notes/Api/BatchApi.php b/codegen/Crm/Objects/Notes/Api/BatchApi.php index 745f9942..b046e26c 100644 --- a/codegen/Crm/Objects/Notes/Api/BatchApi.php +++ b/codegen/Crm/Objects/Notes/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Notes\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/PostalMail/Api/BatchApi.php b/codegen/Crm/Objects/PostalMail/Api/BatchApi.php index aa6b0dcd..a53a9052 100644 --- a/codegen/Crm/Objects/PostalMail/Api/BatchApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\PostalMail\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -654,7 +654,7 @@ public function createRequest($batch_input_simple_public_object_batch_input_for_ /** * Operation read * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchReadInputSimplePublicObjectId $batch_read_input_simple_public_object_id batch_read_input_simple_public_object_id (required) * @param bool|null $archived archived (optional, default to false) @@ -673,7 +673,7 @@ public function read($batch_read_input_simple_public_object_id, $archived = fals /** * Operation readWithHttpInfo * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchReadInputSimplePublicObjectId $batch_read_input_simple_public_object_id (required) * @param bool|null $archived (optional, default to false) @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -773,7 +773,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc /** * Operation readAsync * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchReadInputSimplePublicObjectId $batch_read_input_simple_public_object_id (required) * @param bool|null $archived (optional, default to false) @@ -795,7 +795,7 @@ function ($response) { /** * Operation readAsyncWithHttpInfo * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchReadInputSimplePublicObjectId $batch_read_input_simple_public_object_id (required) * @param bool|null $archived (optional, default to false) @@ -954,7 +954,7 @@ public function readRequest($batch_read_input_simple_public_object_id, $archived /** * Operation update * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchInputSimplePublicObjectBatchInput $batch_input_simple_public_object_batch_input batch_input_simple_public_object_batch_input (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['update'] to see the possible values for this operation @@ -972,7 +972,7 @@ public function update($batch_input_simple_public_object_batch_input, string $co /** * Operation updateWithHttpInfo * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchInputSimplePublicObjectBatchInput $batch_input_simple_public_object_batch_input (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['update'] to see the possible values for this operation @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1071,7 +1071,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input /** * Operation updateAsync * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchInputSimplePublicObjectBatchInput $batch_input_simple_public_object_batch_input (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['update'] to see the possible values for this operation @@ -1092,7 +1092,7 @@ function ($response) { /** * Operation updateAsyncWithHttpInfo * - * + * * * @param \HubSpot\Client\Crm\Objects\PostalMail\Model\BatchInputSimplePublicObjectBatchInput $batch_input_simple_public_object_batch_input (required) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['update'] to see the possible values for this operation @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Tasks/Api/BatchApi.php b/codegen/Crm/Objects/Tasks/Api/BatchApi.php index 40b68163..24832fc8 100644 --- a/codegen/Crm/Objects/Tasks/Api/BatchApi.php +++ b/codegen/Crm/Objects/Tasks/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Tasks\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Objects/Taxes/Api/BatchApi.php b/codegen/Crm/Objects/Taxes/Api/BatchApi.php index c3ca5cea..77268370 100644 --- a/codegen/Crm/Objects/Taxes/Api/BatchApi.php +++ b/codegen/Crm/Objects/Taxes/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Objects\Taxes\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Products/Api/BatchApi.php b/codegen/Crm/Products/Api/BatchApi.php index 7e740e26..105ba064 100644 --- a/codegen/Crm/Products/Api/BatchApi.php +++ b/codegen/Crm/Products/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Products\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Quotes/Api/BatchApi.php b/codegen/Crm/Quotes/Api/BatchApi.php index c9e064a3..8d1b2de5 100644 --- a/codegen/Crm/Quotes/Api/BatchApi.php +++ b/codegen/Crm/Quotes/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Quotes\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } diff --git a/codegen/Crm/Tickets/Api/BatchApi.php b/codegen/Crm/Tickets/Api/BatchApi.php index 2fed325d..b79e5341 100644 --- a/codegen/Crm/Tickets/Api/BatchApi.php +++ b/codegen/Crm/Tickets/Api/BatchApi.php @@ -205,7 +205,7 @@ public function archiveWithHttpInfo($batch_input_simple_public_object_id, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -424,7 +424,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input switch($statusCode) { - case 200: + case 201: return $this->handleResponseWithDataType( '\HubSpot\Client\Crm\Tickets\Model\BatchResponseSimplePublicObject', $request, @@ -438,7 +438,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -477,7 +477,7 @@ public function createWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -725,7 +725,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -764,7 +764,7 @@ public function readWithHttpInfo($batch_read_input_simple_public_object_id, $arc $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1023,7 +1023,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1062,7 +1062,7 @@ public function updateWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1308,7 +1308,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1347,7 +1347,7 @@ public function upsertWithHttpInfo($batch_input_simple_public_object_batch_input $e->setResponseObject($data); throw $e; } - + throw $e; }