Skip to content

Commit

Permalink
feat(clients): update models as of 2024-10-15 (#1339)
Browse files Browse the repository at this point in the history
Co-authored-by: tusbar <166147+tusbar@users.noreply.github.com>
  • Loading branch information
bizon-bot and tusbar authored Oct 15, 2024
1 parent fc2d721 commit 56f537f
Show file tree
Hide file tree
Showing 45 changed files with 822 additions and 239 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* tslint:disable */
/* eslint-disable */
/**
* The Selling Partner API for FBA inbound operations.
* The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
*
* The version of the OpenAPI document: 2024-03-20
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.
* @export
* @enum {string}
*/

export const AllOwnersConstraint = {
MustMatch: 'MUST_MATCH'
} as const;

export type AllOwnersConstraint = typeof AllOwnersConstraint[keyof typeof AllOwnersConstraint];



Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface ContentUpdatePreview {
*/
'contentUpdatePreviewId': string;
/**
* The date in ISO 8601 format for when the content update expires.
* The time at which the content update expires. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* @type {string}
* @memberof ContentUpdatePreview
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ export interface CreateMarketplaceItemLabelsRequest {
*/
'localeCode'?: string;
/**
* The Marketplace ID. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a list of possible values.
* The Marketplace ID. For a list of possible values, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
* @type {string}
* @memberof CreateMarketplaceItemLabelsRequest
*/
'marketplaceId': string;
/**
* Represents the quantity of an msku to print item labels for.
* Represents the quantity of an MSKU to print item labels for.
* @type {Array<MskuQuantity>}
* @memberof CreateMarketplaceItemLabelsRequest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


/**
* Currency definition.
* The type and amount of currency.
* @export
* @interface Currency
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ export interface DeliveryWindowOption {
*/
'deliveryWindowOptionId': string;
/**
* The timestamp at which this delivery window option ends. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which this delivery window option ends. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
* @type {string}
* @memberof DeliveryWindowOption
*/
'endDate': string;
/**
* The timestamp at which this delivery window option starts. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which this delivery window option starts. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
* @type {string}
* @memberof DeliveryWindowOption
*/
'startDate': string;
/**
* The timestamp at which this window delivery option becomes no longer valid. This is based in ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which this window delivery option is no longer valid. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mmZ`.
* @type {string}
* @memberof DeliveryWindowOption
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
*/
export interface DocumentDownload {
/**
* The type of download. Can be `URL`.
* The type of download. Possible values: `URL`.
* @type {string}
* @memberof DocumentDownload
*/
'downloadType': string;
/**
* The timestamp of expiration of the URI. This is in ISO 8601 datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The URI\'s expiration time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* @type {string}
* @memberof DocumentDownload
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface FreightInformation {
*/
'declaredValue'?: Currency;
/**
* Freight class. Can be: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`.
* Freight class. Possible values: `NONE`, `FC_50`, `FC_55`, `FC_60`, `FC_65`, `FC_70`, `FC_77_5`, `FC_85`, `FC_92_5`, `FC_100`, `FC_110`, `FC_125`, `FC_150`, `FC_175`, `FC_200`, `FC_250`, `FC_300`, `FC_400`, `FC_500`.
* @type {string}
* @memberof FreightInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type { CustomPlacementInput } from './custom-placement-input';
*/
export interface GeneratePlacementOptionsRequest {
/**
* Custom placement options to be added to the plan.
* Custom placement options you want to add to the plan. This is only used for the India (IN - A21TJRUUN4KGV) marketplace.
* @type {Array<CustomPlacementInput>}
* @memberof GeneratePlacementOptionsRequest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
*/
export interface GenerateSelfShipAppointmentSlotsRequest {
/**
* The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The desired end date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.
* @type {string}
* @memberof GenerateSelfShipAppointmentSlotsRequest
*/
'desiredEndDate'?: string;
/**
* The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The desired start date. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format.
* @type {string}
* @memberof GenerateSelfShipAppointmentSlotsRequest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type { Address } from './address';
*/
export interface InboundPlanSummary {
/**
* The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.
* @type {string}
* @memberof InboundPlanSummary
*/
Expand All @@ -36,13 +36,13 @@ export interface InboundPlanSummary {
*/
'inboundPlanId': string;
/**
* The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.
* @type {string}
* @memberof InboundPlanSummary
*/
'lastUpdatedAt': string;
/**
* Marketplace IDs.
* A list of marketplace IDs.
* @type {Array<string>}
* @memberof InboundPlanSummary
*/
Expand All @@ -60,7 +60,7 @@ export interface InboundPlanSummary {
*/
'sourceAddress': Address;
/**
* Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, \'ERRORED\'.
* The current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`.
* @type {string}
* @memberof InboundPlanSummary
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import type { ShipmentSummary } from './shipment-summary';
*/
export interface InboundPlan {
/**
* The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which the inbound plan was created. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime with pattern `yyyy-MM-ddTHH:mm:ssZ`.
* @type {string}
* @memberof InboundPlan
*/
Expand All @@ -45,13 +45,13 @@ export interface InboundPlan {
*/
'inboundPlanId': string;
/**
* The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
* The time at which the inbound plan was last updated. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `yyyy-MM-ddTHH:mm:ssZ`.
* @type {string}
* @memberof InboundPlan
*/
'lastUpdatedAt': string;
/**
* Marketplace IDs.
* A list of marketplace IDs.
* @type {Array<string>}
* @memberof InboundPlan
*/
Expand All @@ -75,7 +75,7 @@ export interface InboundPlan {
*/
'placementOptions'?: Array<PlacementOptionSummary>;
/**
* Shipment IDs for the inbound plan. This property will be populated when it has been generated via the corresponding operation. If there is a chosen placement option, only shipments for that option will be returned. If there are confirmed shipments, only those shipments will be returned. Query the shipment for more details.
* A list of shipment IDs for the inbound plan. This property is populated when it has been generated with the `confirmPlacementOptions` operation. Only shipments from the chosen placement option are returned. Query the shipment for more details.
* @type {Array<ShipmentSummary>}
* @memberof InboundPlan
*/
Expand All @@ -87,7 +87,7 @@ export interface InboundPlan {
*/
'sourceAddress': Address;
/**
* Current status of the inbound plan. Can be: `ACTIVE`, `VOIDED`, `SHIPPED`, \'ERRORED\'.
* Current status of the inbound plan. Possible values: `ACTIVE`, `VOIDED`, `SHIPPED`, `ERRORED`.
* @type {string}
* @memberof InboundPlan
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ export interface Incentive {
*/
'description': string;
/**
* Target of the incentive. Can be \'Placement Services\' or \'Fulfillment Fee Discount\'.
* Target of the incentive. Possible values: \'Placement Services\', \'Fulfillment Fee Discount\'.
* @type {string}
* @memberof Incentive
*/
'target': string;
/**
* Type of incentive. Can be: `FEE`, `DISCOUNT`.
* Type of incentive. Possible values: `FEE`, `DISCOUNT`.
* @type {string}
* @memberof Incentive
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './address';
export * from './address-input';
export * from './all-owners-constraint';
export * from './appointment-slot';
export * from './appointment-slot-time';
export * from './box';
Expand Down Expand Up @@ -63,6 +64,7 @@ export * from './list-packing-group-boxes-response';
export * from './list-packing-group-items-response';
export * from './list-packing-options-response';
export * from './list-placement-options-response';
export * from './list-prep-details-response';
export * from './list-shipment-boxes-response';
export * from './list-shipment-content-update-previews-response';
export * from './list-shipment-items-response';
Expand All @@ -71,9 +73,12 @@ export * from './list-transportation-options-response';
export * from './ltl-tracking-detail';
export * from './ltl-tracking-detail-input';
export * from './model-error';
export * from './msku-prep-detail';
export * from './msku-prep-detail-input';
export * from './msku-quantity';
export * from './operation-problem';
export * from './operation-status';
export * from './owner-constraint';
export * from './package-grouping-input';
export * from './packing-option';
export * from './packing-option-summary';
Expand All @@ -82,8 +87,10 @@ export * from './pallet';
export * from './pallet-input';
export * from './placement-option';
export * from './placement-option-summary';
export * from './prep-category';
export * from './prep-instruction';
export * from './prep-owner';
export * from './prep-type';
export * from './quote';
export * from './reason-comment';
export * from './region';
Expand All @@ -95,6 +102,8 @@ export * from './self-ship-appointment-details';
export * from './self-ship-appointment-slots-availability';
export * from './set-packing-information-request';
export * from './set-packing-information-response';
export * from './set-prep-details-request';
export * from './set-prep-details-response';
export * from './shipment';
export * from './shipment-destination';
export * from './shipment-source';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import type { PrepOwner } from './prep-owner';
*/
export interface ItemInput {
/**
* The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box.
* The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern `YYYY-MM-DD`. Items with the same MSKU but different expiration dates cannot go into the same box.
* @type {string}
* @memberof ItemInput
*/
Expand All @@ -45,7 +45,7 @@ export interface ItemInput {
*/
'manufacturingLotCode'?: string;
/**
* Merchant SKU.
* The merchant SKU, a merchant-supplied identifier of a specific SKU.
* @type {string}
* @memberof ItemInput
*/
Expand All @@ -57,7 +57,7 @@ export interface ItemInput {
*/
'prepOwner': PrepOwner;
/**
* The number of units of the specified msku that will be shipped.
* The number of units of the specified MSKU that will be shipped.
* @type {number}
* @memberof ItemInput
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface Item {
*/
'asin': string;
/**
* The expiration date of the MSKU in ISO 8601 format. The same MSKU with different expiration dates cannot go into the same box.
* The expiration date of the MSKU. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with pattern`YYYY-MM-DD`. The same MSKU with different expiration dates cannot go into the same box.
* @type {string}
* @memberof Item
*/
Expand All @@ -54,7 +54,7 @@ export interface Item {
*/
'manufacturingLotCode'?: string;
/**
* The merchant defined SKU ID.
* The merchant SKU, a merchant-supplied identifier of a specific SKU.
* @type {string}
* @memberof Item
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* tslint:disable */
/* eslint-disable */
/**
* The Selling Partner API for FBA inbound operations.
* The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
*
* The version of the OpenAPI document: 2024-03-20
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import type { MskuPrepDetail } from './msku-prep-detail';

/**
* The response to the `listPrepDetails` operation.
* @export
* @interface ListPrepDetailsResponse
*/
export interface ListPrepDetailsResponse {
/**
* A list of MSKUs and related prep details.
* @type {Array<MskuPrepDetail>}
* @memberof ListPrepDetailsResponse
*/
'mskuPrepDetails': Array<MskuPrepDetail>;
}

Loading

0 comments on commit 56f537f

Please sign in to comment.