Skip to content

Commit a014c5a

Browse files
committed
Regenerate from latest upstream models
1 parent 9db1005 commit a014c5a

22 files changed

+112
-104
lines changed

resources/models/seller/amazon-warehousing-distribution/v2024-05-09.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"tags": [
2525
"AmazonWarehousingAndDistributionV20240509"
2626
],
27-
"description": "Retrieves an AWD inbound shipment.",
27+
"description": "Retrieves an AWD inbound shipment.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)",
2828
"operationId": "getInboundShipment",
2929
"parameters": [
3030
{
@@ -326,7 +326,7 @@
326326
"tags": [
327327
"AmazonWarehousingAndDistributionV20240509"
328328
],
329-
"description": "Retrieves a summary for all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters.",
329+
"description": "Retrieves a summary for all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 1 | 1 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).",
330330
"operationId": "listInboundShipments",
331331
"parameters": [
332332
{
@@ -746,7 +746,7 @@
746746
"tags": [
747747
"AmazonWarehousingAndDistributionV20240509"
748748
],
749-
"description": "Lists AWD inventory associated with a merchant with the ability to apply optional filters.",
749+
"description": "Lists AWD inventory associated with a merchant with the ability to apply optional filters.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 2 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).",
750750
"operationId": "listInventory",
751751
"parameters": [
752752
{

resources/models/seller/merchant-fulfillment/v0.json

Lines changed: 73 additions & 73 deletions
Large diffs are not rendered by default.

src/Seller/MerchantFulfillmentV0/Dto/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class Address extends Dto
3939
* @param ?string $addressLine2 Additional street address information.
4040
* @param ?string $addressLine3 Additional street address information.
4141
* @param ?string $districtOrCounty The district or county.
42-
* @param ?string $stateOrProvinceCode The state or province code. Note: Required in Canada, US, and UK marketplaces. Also required for shipments originating in China.
42+
* @param ?string $stateOrProvinceCode The state or province code. **Note.** Required in the Canada, US, and UK marketplaces. Also required for shipments originating from China.
4343
*/
4444
public function __construct(
4545
public readonly string $name,

src/Seller/MerchantFulfillmentV0/Dto/Benefits.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class Benefits extends Dto
2323

2424
/**
2525
* @param ?string[] $includedBenefits A list of included benefits.
26-
* @param ExcludedBenefit[]|null $excludedBenefits A list of excluded benefits. Refer to the `ExcludeBenefit` object for further documentation.
26+
* @param ExcludedBenefit[]|null $excludedBenefits A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation.
2727
*/
2828
public function __construct(
2929
public readonly ?array $includedBenefits = null,

src/Seller/MerchantFulfillmentV0/Dto/DangerousGoodsDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class DangerousGoodsDetails extends Dto
2323

2424
/**
2525
* @param ?string $unitedNationsRegulatoryId The specific UNID of the item being shipped.
26-
* @param ?string $transportationRegulatoryClass The specific regulatory class of the shipped item.
26+
* @param ?string $transportationRegulatoryClass The specific regulatory class of the item being shipped.
2727
* @param ?string $packingGroup The specific packaging group of the item being shipped.
2828
* @param ?string $packingInstruction The specific packing instruction of the item being shipped.
2929
*/

src/Seller/MerchantFulfillmentV0/Dto/Error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
final class Error extends Dto
1616
{
1717
/**
18-
* @param string $code An error code that identifies the type of error that occurred.
18+
* @param string $code An error code that identifies the type of error that occured.
1919
* @param string $message A message that describes the error condition in a human-readable form.
2020
* @param ?string $details Additional details that can help the caller understand or fix the issue.
2121
*/

src/Seller/MerchantFulfillmentV0/Dto/ExcludedBenefit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ final class ExcludedBenefit extends Dto
1717
protected static array $attributeMap = ['benefit' => 'Benefit', 'reasonCodes' => 'ReasonCodes'];
1818

1919
/**
20-
* @param ?string $benefit A benefit that is being excluded from a shipment.
21-
* @param ?string[] $reasonCodes List of reasons (for example, `LATE_DELIVERY_RISK`) why a benefit is excluded for a shipping offer.
20+
* @param ?string $benefit Benefit that is being excluded from a shipment.
21+
* @param ?string[] $reasonCodes List of reasons (eg. LATE_DELIVERY_RISK, etc.) indicating why a benefit is excluded for a shipping offer.
2222
*/
2323
public function __construct(
2424
public readonly ?string $benefit = null,

src/Seller/MerchantFulfillmentV0/Dto/GetEligibleShipmentServicesResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class GetEligibleShipmentServicesResult extends Dto
3030

3131
/**
3232
* @param ShippingService[] $shippingServiceList A list of shipping services offers.
33-
* @param RejectedShippingService[]|null $rejectedShippingServiceList List of services that are for some reason unavailable for this request
33+
* @param RejectedShippingService[]|null $rejectedShippingServiceList List of services that were for some reason unavailable for this request
3434
* @param TemporarilyUnavailableCarrier[]|null $temporarilyUnavailableCarrierList A list of temporarily unavailable carriers.
3535
* @param TermsAndConditionsNotAcceptedCarrier[]|null $termsAndConditionsNotAcceptedCarrierList List of carriers whose terms and conditions were not accepted by the seller.
3636
*/

src/Seller/MerchantFulfillmentV0/Dto/Item.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ final class Item extends Dto
3535
* @param ?string $itemDescription The description of the item.
3636
* @param ?string[] $transparencyCodeList A list of transparency codes.
3737
* @param AdditionalSellerInputs[]|null $itemLevelSellerInputsList A list of additional seller input pairs required to purchase shipping.
38-
* @param ?LiquidVolume $liquidVolume Liquid volume.
38+
* @param ?LiquidVolume $liquidVolume Liquid Volume.
3939
* @param ?bool $isHazmat When true, the item qualifies as hazardous materials (hazmat). Defaults to false.
40-
* @param ?DangerousGoodsDetails $dangerousGoodsDetails Details related to any dangerous goods or items that are shipped.
40+
* @param ?DangerousGoodsDetails $dangerousGoodsDetails Details related to any dangerous goods/items that are being shipped.
4141
*/
4242
public function __construct(
4343
public readonly string $orderItemId,

src/Seller/MerchantFulfillmentV0/Dto/Label.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ final class Label extends Dto
2525
/**
2626
* @param LabelDimensions $dimensions Dimensions for printing a shipping label.
2727
* @param FileContents $fileContents The document data and checksum.
28-
* @param ?string $customTextForLabel Custom text to print on the label. Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support `CustomTextForLabel`.
28+
* @param ?string $customTextForLabel Custom text to print on the label.
29+
*
30+
* Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support CustomTextForLabel.
2931
* @param ?string $labelFormat The label format.
3032
* @param ?string $standardIdForLabel The type of standard identifier to print on the label.
3133
*/

src/Seller/MerchantFulfillmentV0/Dto/LabelCustomization.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ final class LabelCustomization extends Dto
2020
];
2121

2222
/**
23-
* @param ?string $customTextForLabel Custom text to print on the label. Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support `CustomTextForLabel`.
23+
* @param ?string $customTextForLabel Custom text to print on the label.
24+
*
25+
* Note: Custom text is only included on labels that are in ZPL format (ZPL203). FedEx does not support CustomTextForLabel.
2426
* @param ?string $standardIdForLabel The type of standard identifier to print on the label.
2527
*/
2628
public function __construct(

src/Seller/MerchantFulfillmentV0/Dto/PackageDimensions.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ final class PackageDimensions extends Dto
2323
];
2424

2525
/**
26-
* @param ?float $length Number that represents the given package dimension.
27-
* @param ?float $width Number that represents the given package dimension.
28-
* @param ?float $height Number that represents the given package dimension.
26+
* @param ?float $length Number representing the given package dimension.
27+
* @param ?float $width Number representing the given package dimension.
28+
* @param ?float $height Number representing the given package dimension.
2929
* @param ?string $unit The unit of length.
30-
* @param ?string $predefinedPackageDimensions An enumeration of predefined parcel tokens. If you specify a `PredefinedPackageDimensions` token, you are not obligated to use a branded package from a carrier. For example, if you specify the `FedEx_Box_10kg` token, you do not have to use that particular package from FedEx. You are only obligated to use a box that matches the dimensions specified by the token. Note: Carriers can have restrictions on the type of package allowed for certain ship methods. Check the carrier website for details. Example: Flat rate pricing is available when materials are sent by USPS in a USPS-produced Flat Rate envelope or box.
30+
* @param ?string $predefinedPackageDimensions An enumeration of predefined parcel tokens. If you specify a PredefinedPackageDimensions token, you are not obligated to use a branded package from a carrier. For example, if you specify the FedEx_Box_10kg token, you do not have to use that particular package from FedEx. You are only obligated to use a box that matches the dimensions specified by the token.
31+
*
32+
* Note: Please note that carriers can have restrictions on the type of package allowed for certain ship methods. Check the carrier website for all details. Example: Flat rate pricing is available when materials are sent by USPS in a USPS-produced Flat Rate Envelope or Box.
3133
*/
3234
public function __construct(
3335
public readonly ?float $length = null,

src/Seller/MerchantFulfillmentV0/Dto/RejectedShippingService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ final class RejectedShippingService extends Dto
2323
];
2424

2525
/**
26-
* @param string $carrierName The rejected shipping carrier name. For example, USPS.
27-
* @param string $shippingServiceName The rejected shipping service localized name. For example, FedEx Standard Overnight.
26+
* @param string $carrierName The rejected shipping carrier name. e.g. USPS
27+
* @param string $shippingServiceName The rejected shipping service localized name. e.g. FedEx Standard Overnight
2828
* @param string $shippingServiceId An Amazon-defined shipping service identifier.
29-
* @param string $rejectionReasonCode A reason code meant to be consumed programatically. For example, `CARRIER_CANNOT_SHIP_TO_POBOX`.
29+
* @param string $rejectionReasonCode A reason code meant to be consumed programatically. e.g. CARRIER_CANNOT_SHIP_TO_POBOX
3030
* @param ?string $rejectionReasonMessage A localized human readable description of the rejected reason.
3131
*/
3232
public function __construct(

src/Seller/MerchantFulfillmentV0/Dto/Shipment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class Shipment extends Dto
3737
/**
3838
* @param string $shipmentId An Amazon-defined shipment identifier.
3939
* @param string $amazonOrderId An Amazon-defined order identifier, in 3-7-7 format.
40-
* @param Item[] $itemList The list of items you want to include in a shipment.
40+
* @param Item[] $itemList The list of items to be included in a shipment.
4141
* @param Address $shipFromAddress The postal address information.
4242
* @param Address $shipToAddress The postal address information.
4343
* @param PackageDimensions $packageDimensions The dimensions of a package contained in a shipment.

src/Seller/MerchantFulfillmentV0/Dto/ShipmentRequestDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class ShipmentRequestDetails extends Dto
3131

3232
/**
3333
* @param string $amazonOrderId An Amazon-defined order identifier, in 3-7-7 format.
34-
* @param Item[] $itemList The list of items you want to include in a shipment.
34+
* @param Item[] $itemList The list of items to be included in a shipment.
3535
* @param Address $shipFromAddress The postal address information.
3636
* @param PackageDimensions $packageDimensions The dimensions of a package contained in a shipment.
3737
* @param Weight $weight The weight.

src/Seller/MerchantFulfillmentV0/Dto/ShippingService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class ShippingService extends Dto
3434
protected static array $complexArrayTypes = ['availableFormatOptionsForLabel' => LabelFormatOption::class];
3535

3636
/**
37-
* @param string $shippingServiceName A plain text representation of a carrier's shipping service. For example, UPS Ground or FedEx Standard Overnight.
37+
* @param string $shippingServiceName A plain text representation of a carrier's shipping service. For example, "UPS Ground" or "FedEx Standard Overnight".
3838
* @param string $carrierName The name of the carrier.
3939
* @param string $shippingServiceId An Amazon-defined shipping service identifier.
4040
* @param string $shippingServiceOfferId An Amazon-defined shipping service offer identifier.
@@ -47,7 +47,7 @@ final class ShippingService extends Dto
4747
* @param ?string[] $availableLabelFormats List of label formats.
4848
* @param LabelFormatOption[]|null $availableFormatOptionsForLabel The available label formats.
4949
* @param ?bool $requiresAdditionalSellerInputs When true, additional seller inputs are required.
50-
* @param ?Benefits $benefits Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (for example, `CLAIMS_PROTECTED`) when sellers purchase shipping through Amazon. Benefit details are made available for any shipment placed on or after January 1st 2024 00:00 UTC.
50+
* @param ?Benefits $benefits Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC
5151
*/
5252
public function __construct(
5353
public readonly string $shippingServiceName,

src/Seller/MerchantFulfillmentV0/Dto/ShippingServiceOptions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ final class ShippingServiceOptions extends Dto
2424

2525
/**
2626
* @param string $deliveryExperience The delivery confirmation level.
27-
* @param bool $carrierWillPickUp When true, the carrier will pick up the package. Note: Scheduled carrier pickup is available only using Dynamex (US), DPD (UK), and Royal Mail (UK).
27+
* @param bool $carrierWillPickUp When true, the carrier will pick up the package.
28+
*
29+
* Note: Scheduled carrier pickup is available only using Dynamex (US), DPD (UK), and Royal Mail (UK).
2830
* @param ?CurrencyAmount $declaredValue Currency type and amount.
2931
* @param ?string $carrierWillPickUpOption Carrier will pick up option.
3032
* @param ?string $labelFormat The label format.

src/Seller/MerchantFulfillmentV0/Responses/CancelShipmentResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
final class CancelShipmentResponse extends Response
1818
{
1919
/**
20-
* @param ?Shipment $payload The details of a shipment. Includes the shipment status.
20+
* @param ?Shipment $payload The details of a shipment, including the shipment status.
2121
* @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful.
2222
*/
2323
public function __construct(

src/Seller/MerchantFulfillmentV0/Responses/CreateShipmentResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
final class CreateShipmentResponse extends Response
1818
{
1919
/**
20-
* @param ?Shipment $payload The details of a shipment. Includes the shipment status.
20+
* @param ?Shipment $payload The details of a shipment, including the shipment status.
2121
* @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful.
2222
*/
2323
public function __construct(

src/Seller/MerchantFulfillmentV0/Responses/GetAdditionalSellerInputsResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
final class GetAdditionalSellerInputsResponse extends Response
1818
{
1919
/**
20-
* @param ?GetAdditionalSellerInputsResult $payload The payload for the `getAdditionalSellerInputs` operation.
20+
* @param ?GetAdditionalSellerInputsResult $payload The payload for the getAdditionalSellerInputs operation.
2121
* @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful.
2222
*/
2323
public function __construct(

src/Seller/MerchantFulfillmentV0/Responses/GetEligibleShipmentServicesResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
final class GetEligibleShipmentServicesResponse extends Response
1818
{
1919
/**
20-
* @param ?GetEligibleShipmentServicesResult $payload The payload for the `getEligibleShipmentServices` operation.
20+
* @param ?GetEligibleShipmentServicesResult $payload The payload for the getEligibleShipmentServices operation.
2121
* @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful.
2222
*/
2323
public function __construct(

src/Seller/MerchantFulfillmentV0/Responses/GetShipmentResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
final class GetShipmentResponse extends Response
1818
{
1919
/**
20-
* @param ?Shipment $payload The details of a shipment. Includes the shipment status.
20+
* @param ?Shipment $payload The details of a shipment, including the shipment status.
2121
* @param ?ErrorList $errors A list of error responses returned when a request is unsuccessful.
2222
*/
2323
public function __construct(

0 commit comments

Comments
 (0)