@@ -208,7 +208,7 @@ public function archiveWithHttpInfo($company_id, string $contentType = self::con
208208 $ e ->setResponseObject ($ data );
209209 throw $ e ;
210210 }
211-
211+
212212
213213 throw $ e ;
214214 }
@@ -295,7 +295,7 @@ public function archiveRequest($company_id, string $contentType = self::contentT
295295 if (!preg_match ("/.+/ " , $ company_id )) {
296296 throw new \InvalidArgumentException ("invalid value for \"company_id \" when calling BasicApi.archive, must conform to the pattern /.+/. " );
297297 }
298-
298+
299299
300300 $ resourcePath = '/crm/v3/objects/companies/{companyId} ' ;
301301 $ formParams = [];
@@ -431,7 +431,7 @@ public function createWithHttpInfo($simple_public_object_input_for_create, strin
431431
432432
433433 switch ($ statusCode ) {
434- case 200 :
434+ case 201 :
435435 return $ this ->handleResponseWithDataType (
436436 '\HubSpot\Client\Crm\Companies\Model\SimplePublicObject ' ,
437437 $ request ,
@@ -445,8 +445,6 @@ public function createWithHttpInfo($simple_public_object_input_for_create, strin
445445 );
446446 }
447447
448-
449-
450448 if ($ statusCode < 200 || $ statusCode > 299 ) {
451449 throw new ApiException (
452450 sprintf (
@@ -484,7 +482,7 @@ public function createWithHttpInfo($simple_public_object_input_for_create, strin
484482 $ e ->setResponseObject ($ data );
485483 throw $ e ;
486484 }
487-
485+
488486
489487 throw $ e ;
490488 }
@@ -740,7 +738,7 @@ public function getByIdWithHttpInfo($company_id, $properties = null, $properties
740738 );
741739 }
742740
743-
741+
744742
745743 if ($ statusCode < 200 || $ statusCode > 299 ) {
746744 throw new ApiException (
@@ -779,7 +777,7 @@ public function getByIdWithHttpInfo($company_id, $properties = null, $properties
779777 $ e ->setResponseObject ($ data );
780778 throw $ e ;
781779 }
782-
780+
783781
784782 throw $ e ;
785783 }
@@ -894,7 +892,7 @@ public function getByIdRequest($company_id, $properties = null, $properties_with
894892 if (!preg_match ("/.+/ " , $ company_id )) {
895893 throw new \InvalidArgumentException ("invalid value for \"company_id \" when calling BasicApi.getById, must conform to the pattern /.+/. " );
896894 }
897-
895+
898896
899897
900898
@@ -1104,7 +1102,7 @@ public function getPageWithHttpInfo($limit = 10, $after = null, $properties = nu
11041102 );
11051103 }
11061104
1107-
1105+
11081106
11091107 if ($ statusCode < 200 || $ statusCode > 299 ) {
11101108 throw new ApiException (
@@ -1143,7 +1141,7 @@ public function getPageWithHttpInfo($limit = 10, $after = null, $properties = nu
11431141 $ e ->setResponseObject ($ data );
11441142 throw $ e ;
11451143 }
1146-
1144+
11471145
11481146 throw $ e ;
11491147 }
@@ -1450,7 +1448,7 @@ public function mergeWithHttpInfo($public_merge_input, string $contentType = sel
14501448 );
14511449 }
14521450
1453-
1451+
14541452
14551453 if ($ statusCode < 200 || $ statusCode > 299 ) {
14561454 throw new ApiException (
@@ -1489,7 +1487,7 @@ public function mergeWithHttpInfo($public_merge_input, string $contentType = sel
14891487 $ e ->setResponseObject ($ data );
14901488 throw $ e ;
14911489 }
1492-
1490+
14931491
14941492 throw $ e ;
14951493 }
@@ -1739,7 +1737,7 @@ public function updateWithHttpInfo($company_id, $simple_public_object_input, $id
17391737 );
17401738 }
17411739
1742-
1740+
17431741
17441742 if ($ statusCode < 200 || $ statusCode > 299 ) {
17451743 throw new ApiException (
@@ -1778,7 +1776,7 @@ public function updateWithHttpInfo($company_id, $simple_public_object_input, $id
17781776 $ e ->setResponseObject ($ data );
17791777 throw $ e ;
17801778 }
1781-
1779+
17821780
17831781 throw $ e ;
17841782 }
@@ -1884,7 +1882,7 @@ public function updateRequest($company_id, $simple_public_object_input, $id_prop
18841882 if (!preg_match ("/.+/ " , $ company_id )) {
18851883 throw new \InvalidArgumentException ("invalid value for \"company_id \" when calling BasicApi.update, must conform to the pattern /.+/. " );
18861884 }
1887-
1885+
18881886 // verify the required parameter 'simple_public_object_input' is set
18891887 if ($ simple_public_object_input === null || (is_array ($ simple_public_object_input ) && count ($ simple_public_object_input ) === 0 )) {
18901888 throw new \InvalidArgumentException (
0 commit comments