From 599015d3bd979d05afa5703f5780a0da5636cad6 Mon Sep 17 00:00:00 2001 From: ksvirkou-hubspot Date: Tue, 24 Mar 2026 14:14:50 +0300 Subject: [PATCH] CRM Imports: Fix importRequest --- codegen/Crm/Imports/Api/CoreApi.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/codegen/Crm/Imports/Api/CoreApi.php b/codegen/Crm/Imports/Api/CoreApi.php index 07cee388..7b6a6198 100644 --- a/codegen/Crm/Imports/Api/CoreApi.php +++ b/codegen/Crm/Imports/Api/CoreApi.php @@ -206,7 +206,7 @@ public function cancelWithHttpInfo($import_id, string $contentType = self::conte ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -245,7 +245,7 @@ public function cancelWithHttpInfo($import_id, string $contentType = self::conte $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -494,7 +494,7 @@ public function createWithHttpInfo($files = null, $import_request = null, string ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -533,7 +533,7 @@ public function createWithHttpInfo($files = null, $import_request = null, string $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -645,7 +645,7 @@ public function createRequest($files = null, $import_request = null, string $con $formData = $formDataProcessor->prepare([ 'files' => $files, - 'import_request' => $import_request, + 'importRequest' => $import_request, ]); $formParams = $formDataProcessor->flatten($formData); @@ -781,7 +781,7 @@ public function getByIdWithHttpInfo($import_id, string $contentType = self::cont ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -820,7 +820,7 @@ public function getByIdWithHttpInfo($import_id, string $contentType = self::cont $e->setResponseObject($data); throw $e; } - + throw $e; } @@ -1071,7 +1071,7 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null ); } - + if ($statusCode < 200 || $statusCode > 299) { throw new ApiException( @@ -1110,7 +1110,7 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null $e->setResponseObject($data); throw $e; } - + throw $e; }