Skip to content

Commit

Permalink
Fixed return types skipped during models regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed May 7, 2023
1 parent c749297 commit 1b44f8c
Show file tree
Hide file tree
Showing 869 changed files with 18 additions and 5,940 deletions.
20 changes: 0 additions & 20 deletions src/AmazonPHP/SellingPartner/Api/AplusContentApi/APlusSDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public function __construct(private readonly ClientInterface $client, private re
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse
*/
public function createContentDocument(AccessToken $accessToken, string $region, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentRequest $post_content_document_request) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse
{
Expand Down Expand Up @@ -251,8 +249,6 @@ public function createContentDocumentRequest(AccessToken $accessToken, string $r
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\GetContentDocumentResponse
*/
public function getContentDocument(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, array $included_data_set) : \AmazonPHP\SellingPartner\Model\APlus\GetContentDocumentResponse
{
Expand Down Expand Up @@ -489,8 +485,6 @@ public function getContentDocumentRequest(AccessToken $accessToken, string $regi
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\ListContentDocumentAsinRelationsResponse
*/
public function listContentDocumentAsinRelations(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, ?array $included_data_set = null, ?array $asin_set = null, ?string $page_token = null) : \AmazonPHP\SellingPartner\Model\APlus\ListContentDocumentAsinRelationsResponse
{
Expand Down Expand Up @@ -739,8 +733,6 @@ public function listContentDocumentAsinRelationsRequest(AccessToken $accessToken
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentApprovalSubmissionResponse
*/
public function postContentDocumentApprovalSubmission(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentApprovalSubmissionResponse
{
Expand Down Expand Up @@ -955,8 +947,6 @@ public function postContentDocumentApprovalSubmissionRequest(AccessToken $access
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentAsinRelationsResponse
*/
public function postContentDocumentAsinRelations(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentAsinRelationsRequest $post_content_document_asin_relations_request) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentAsinRelationsResponse
{
Expand Down Expand Up @@ -1186,8 +1176,6 @@ public function postContentDocumentAsinRelationsRequest(AccessToken $accessToken
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentSuspendSubmissionResponse
*/
public function postContentDocumentSuspendSubmission(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentSuspendSubmissionResponse
{
Expand Down Expand Up @@ -1401,8 +1389,6 @@ public function postContentDocumentSuspendSubmissionRequest(AccessToken $accessT
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\SearchContentDocumentsResponse
*/
public function searchContentDocuments(AccessToken $accessToken, string $region, string $marketplace_id, ?string $page_token = null) : \AmazonPHP\SellingPartner\Model\APlus\SearchContentDocumentsResponse
{
Expand Down Expand Up @@ -1609,8 +1595,6 @@ public function searchContentDocumentsRequest(AccessToken $accessToken, string $
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\SearchContentPublishRecordsResponse
*/
public function searchContentPublishRecords(AccessToken $accessToken, string $region, string $marketplace_id, string $asin, ?string $page_token = null) : \AmazonPHP\SellingPartner\Model\APlus\SearchContentPublishRecordsResponse
{
Expand Down Expand Up @@ -1837,8 +1821,6 @@ public function searchContentPublishRecordsRequest(AccessToken $accessToken, str
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse
*/
public function updateContentDocument(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentRequest $post_content_document_request) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse
{
Expand Down Expand Up @@ -2069,8 +2051,6 @@ public function updateContentDocumentRequest(AccessToken $accessToken, string $r
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\ValidateContentDocumentAsinRelationsResponse
*/
public function validateContentDocumentAsinRelations(AccessToken $accessToken, string $region, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentRequest $post_content_document_request, ?array $asin_set = null) : \AmazonPHP\SellingPartner\Model\APlus\ValidateContentDocumentAsinRelationsResponse
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ interface APlusSDKInterface
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse
*/
public function createContentDocument(AccessToken $accessToken, string $region, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentRequest $post_content_document_request) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse;

Expand All @@ -82,8 +80,6 @@ public function createContentDocument(AccessToken $accessToken, string $region,
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\GetContentDocumentResponse
*/
public function getContentDocument(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, array $included_data_set) : \AmazonPHP\SellingPartner\Model\APlus\GetContentDocumentResponse;

Expand All @@ -98,8 +94,6 @@ public function getContentDocument(AccessToken $accessToken, string $region, str
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\ListContentDocumentAsinRelationsResponse
*/
public function listContentDocumentAsinRelations(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, ?array $included_data_set = null, ?array $asin_set = null, ?string $page_token = null) : \AmazonPHP\SellingPartner\Model\APlus\ListContentDocumentAsinRelationsResponse;

Expand All @@ -111,8 +105,6 @@ public function listContentDocumentAsinRelations(AccessToken $accessToken, strin
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentApprovalSubmissionResponse
*/
public function postContentDocumentApprovalSubmission(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentApprovalSubmissionResponse;

Expand All @@ -125,8 +117,6 @@ public function postContentDocumentApprovalSubmission(AccessToken $accessToken,
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentAsinRelationsResponse
*/
public function postContentDocumentAsinRelations(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentAsinRelationsRequest $post_content_document_asin_relations_request) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentAsinRelationsResponse;

Expand All @@ -138,8 +128,6 @@ public function postContentDocumentAsinRelations(AccessToken $accessToken, strin
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentSuspendSubmissionResponse
*/
public function postContentDocumentSuspendSubmission(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentSuspendSubmissionResponse;

Expand All @@ -151,8 +139,6 @@ public function postContentDocumentSuspendSubmission(AccessToken $accessToken, s
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\SearchContentDocumentsResponse
*/
public function searchContentDocuments(AccessToken $accessToken, string $region, string $marketplace_id, ?string $page_token = null) : \AmazonPHP\SellingPartner\Model\APlus\SearchContentDocumentsResponse;

Expand All @@ -165,8 +151,6 @@ public function searchContentDocuments(AccessToken $accessToken, string $region,
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\SearchContentPublishRecordsResponse
*/
public function searchContentPublishRecords(AccessToken $accessToken, string $region, string $marketplace_id, string $asin, ?string $page_token = null) : \AmazonPHP\SellingPartner\Model\APlus\SearchContentPublishRecordsResponse;

Expand All @@ -179,8 +163,6 @@ public function searchContentPublishRecords(AccessToken $accessToken, string $re
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse
*/
public function updateContentDocument(AccessToken $accessToken, string $region, string $content_reference_key, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentRequest $post_content_document_request) : \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentResponse;

Expand All @@ -193,8 +175,6 @@ public function updateContentDocument(AccessToken $accessToken, string $region,
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\APlus\ValidateContentDocumentAsinRelationsResponse
*/
public function validateContentDocumentAsinRelations(AccessToken $accessToken, string $region, string $marketplace_id, \AmazonPHP\SellingPartner\Model\APlus\PostContentDocumentRequest $post_content_document_request, ?array $asin_set = null) : \AmazonPHP\SellingPartner\Model\APlus\ValidateContentDocumentAsinRelationsResponse;
}
2 changes: 0 additions & 2 deletions src/AmazonPHP/SellingPartner/Api/ApprovalsApi/OrdersSDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public function __construct(private readonly ClientInterface $client, private re
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\Orders\GetOrderApprovalsResponse
*/
public function getOrderItemsApprovals(AccessToken $accessToken, string $region, string $order_id, ?string $next_token = null, ?array $item_approval_types = null, ?array $item_approval_status = null) : \AmazonPHP\SellingPartner\Model\Orders\GetOrderApprovalsResponse
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ interface OrdersSDKInterface
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\Orders\GetOrderApprovalsResponse
*/
public function getOrderItemsApprovals(AccessToken $accessToken, string $region, string $order_id, ?string $next_token = null, ?array $item_approval_types = null, ?array $item_approval_status = null) : \AmazonPHP\SellingPartner\Model\Orders\GetOrderApprovalsResponse;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ public function __construct(private readonly ClientInterface $client, private re
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse
*/
public function getAuthorizationCode(AccessToken $accessToken, string $region, string $selling_partner_id, string $developer_id, string $mws_auth_token) : \AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ interface AuthorizationSDKInterface
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse
*/
public function getAuthorizationCode(AccessToken $accessToken, string $region, string $selling_partner_id, string $developer_id, string $mws_auth_token) : \AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse;
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public function __construct(private readonly ClientInterface $client, private re
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\CatalogItem\Item
*/
public function getCatalogItem(AccessToken $accessToken, string $region, string $asin, array $marketplace_ids, ?array $included_data = null, ?string $locale = null) : \AmazonPHP\SellingPartner\Model\CatalogItem\Item
{
Expand Down Expand Up @@ -276,8 +274,6 @@ public function getCatalogItemRequest(AccessToken $accessToken, string $region,
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults
*/
public function searchCatalogItems(AccessToken $accessToken, string $region, array $marketplace_ids, ?array $identifiers = null, ?string $identifiers_type = null, ?array $included_data = null, ?string $locale = null, ?string $seller_id = null, ?array $keywords = null, ?array $brand_names = null, ?array $classification_ids = null, int $page_size = 10, ?string $page_token = null, ?string $keywords_locale = null) : \AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ interface CatalogItemSDKInterface
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\CatalogItem\Item
*/
public function getCatalogItem(AccessToken $accessToken, string $region, string $asin, array $marketplace_ids, ?array $included_data = null, ?string $locale = null) : \AmazonPHP\SellingPartner\Model\CatalogItem\Item;

Expand All @@ -61,8 +59,6 @@ public function getCatalogItem(AccessToken $accessToken, string $region, string
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults
*/
public function searchCatalogItems(AccessToken $accessToken, string $region, array $marketplace_ids, ?array $identifiers = null, ?string $identifiers_type = null, ?array $included_data = null, ?string $locale = null, ?string $seller_id = null, ?array $keywords = null, ?array $brand_names = null, ?array $classification_ids = null, int $page_size = 10, ?string $page_token = null, ?string $keywords_locale = null) : \AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults;
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ public function __construct(private readonly ClientInterface $client, private re
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoice
*/
public function getCustomerInvoice(AccessToken $accessToken, string $region, string $purchase_order_number) : \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoice
{
Expand Down Expand Up @@ -237,8 +235,6 @@ public function getCustomerInvoiceRequest(AccessToken $accessToken, string $regi
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoiceList
*/
public function getCustomerInvoices(AccessToken $accessToken, string $region, \DateTimeInterface $created_after, \DateTimeInterface $created_before, ?string $ship_from_party_id = null, ?int $limit = null, ?string $sort_order = null, ?string $next_token = null) : \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoiceList
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ interface VendorDirectFulfillmentShippingSDKInterface
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoice
*/
public function getCustomerInvoice(AccessToken $accessToken, string $region, string $purchase_order_number) : \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoice;

Expand All @@ -52,8 +50,6 @@ public function getCustomerInvoice(AccessToken $accessToken, string $region, str
*
* @throws ApiException on non-2xx response
* @throws InvalidArgumentException
*
* @return \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoiceList
*/
public function getCustomerInvoices(AccessToken $accessToken, string $region, \DateTimeInterface $created_after, \DateTimeInterface $created_before, ?string $ship_from_party_id = null, ?int $limit = null, ?string $sort_order = null, ?string $next_token = null) : \AmazonPHP\SellingPartner\Model\VendorDirectFulfillmentShipping\CustomerInvoiceList;
}

0 comments on commit 1b44f8c

Please sign in to comment.