Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Endpoint/Reviews/GetListOfProductsReviews.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ class GetListOfProductsReviews extends PageableGet
'language' => false,
'page' => false,
'itemsPerPage' => false,
'dateFrom' => true,
'dateTo' => true,
'changeTimeFrom' => true,
'productGuid' => true,
'dateFrom' => false,
'dateTo' => false,
'changeTimeFrom' => false,
'productGuid' => false,
'orderCode' => true,
];

Expand Down
10 changes: 5 additions & 5 deletions src/Endpoint/Reviews/GetListOfProductsReviewsDeprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ class GetListOfProductsReviewsDeprecated extends PageableGet
'language' => false,
'page' => false,
'itemsPerPage' => false,
'dateFrom' => true,
'dateTo' => true,
'changeTimeFrom' => true,
'productGuid' => true,
'orderCode' => true,
'dateFrom' => false,
'dateTo' => false,
'changeTimeFrom' => false,
'productGuid' => false,
'orderCode' => false,
];

public function getRequestEntityClass(): null
Expand Down
22 changes: 11 additions & 11 deletions src/Sdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -2953,11 +2953,11 @@ public static function steGiftsToProduct(
* language?: string,
* page?: int,
* itemsPerPage?: int,
* dateFrom: string,
* dateTo: string,
* changeTimeFrom: string,
* productGuid: string,
* orderCode: string,
* dateFrom?: string,
* dateTo?: string,
* changeTimeFrom?: string,
* productGuid?: string,
* orderCode?: string,
* } $queryParams
*
* @return ResponseInterface
Expand All @@ -2967,7 +2967,7 @@ public static function steGiftsToProduct(
*
* @see https://api.docs.shoptet.com/shoptet-api/openapi/Reviews/getlistofproductsreviewsdeprecated
*/
public static function getListOfProductsReviewsDeprecated(array $queryParams): ResponseInterface
public static function getListOfProductsReviewsDeprecated(array $queryParams = []): ResponseInterface
{
return self::getEndpointFactory()
->createEndpoint(GetListOfProductsReviewsDeprecated::class)
Expand Down Expand Up @@ -6436,7 +6436,7 @@ public static function createCustomerGroup(
}

/**
* @param string $id [1]
* @param string $id [999]
* @param array{
* language?: string,
* } $queryParams
Expand Down Expand Up @@ -8370,10 +8370,10 @@ public static function getListOfAvailableEndpoints(array $queryParams = []): Res
* language?: string,
* page?: int,
* itemsPerPage?: int,
* dateFrom: string,
* dateTo: string,
* changeTimeFrom: string,
* productGuid: string,
* dateFrom?: string,
* dateTo?: string,
* changeTimeFrom?: string,
* productGuid?: string,
* orderCode: string,
* } $queryParams
*
Expand Down
Loading