/**
 * Selling Partner API for Fulfillment Inbound
 * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
 *
 * The version of the OpenAPI document: v0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */ import { Configuration } from './configuration' ; import globalAxios , { AxiosPromise , AxiosInstance } from 'axios' ; import { DUMMY_BASE_URL , assertParamExists , setApiKeyToObject , setBasicAuthToObject , setBearerAuthToObject , setOAuthToObject , setSearchParams , serializeDataIfNeeded , toPathString , createRequestFunction } from './common' ; import { BASE_PATH , COLLECTION_FORMATS , RequestArgs , BaseAPI , RequiredError } from './base' ; export interface export interface ASINInboundGuidance { type { string } memberof ASIN : string ; type { InboundGuidance } memberof InboundGuidance : InboundGuidance | 'InboundNotRecommended' | 'InboundOK' ; type { Array < GuidanceReason > } memberof GuidanceReasonList ? : Array < ( GuidanceReason | 'SlowMovingASIN' | 'NoApplicableGuidance' ) > ; } export interface export interface ASINPrepInstructions { type { string } memberof ASIN ? : string ; type { BarcodeInstruction } memberof BarcodeInstruction ? : BarcodeInstruction | 'RequiresFNSKULabel' | 'CanUseOriginalBarcode' | 'MustProvideSellerSKU' ; type { PrepGuidance } memberof PrepGuidance ? : PrepGuidance | 'ConsultHelpDocuments' | 'NoAdditionalPrepRequired' | 'SeePrepInstructionsList' ; type { Array < PrepInstruction > } memberof PrepInstructionList ? : Array < ( PrepInstruction | 'Polybagging' | 'BubbleWrapping' | 'Taping' | 'BlackShrinkWrapping' | 'Labeling' | 'HangGarment' ) > ; } export interface export interface Address { type { string } memberof Name : string ; type { string } memberof AddressLine1 : string ; type { string } memberof AddressLine2 ? : string ; type { string } memberof DistrictOrCounty ? : string ; type { string } memberof City : string ; type { string } memberof StateOrProvinceCode : string ; type { string } memberof CountryCode : string ; type { string } memberof PostalCode : string ; } export interface export interface AmazonPrepFeesDetails { type { PrepInstruction } memberof PrepInstruction ? : PrepInstruction | 'Polybagging' | 'BubbleWrapping' | 'Taping' | 'BlackShrinkWrapping' | 'Labeling' | 'HangGarment' ; type { Amount } memberof FeePerUnit ? : Amount ; } export interface export interface Amount { type { CurrencyCode } memberof CurrencyCode : CurrencyCode | 'USD' | 'GBP' ; type { number } memberof Value : number ; } export enum { string } export enum BarcodeInstruction { RequiresFnskuLabel = 'RequiresFNSKULabel' , CanUseOriginalBarcode = 'CanUseOriginalBarcode' , MustProvideSellerSku = 'MustProvideSellerSKU' } export interface export interface BillOfLadingDownloadURL { type { string } memberof DownloadURL ? : string ; } export interface export interface BoxContentsFeeDetails { type { number } memberof TotalUnits ? : number ; type { Amount } memberof FeePerUnit ? : Amount ; type { Amount } memberof TotalFee ? : Amount ; } export enum { string } export enum BoxContentsSource { None = 'NONE' , Feed = 'FEED' , _2DBarcode = '2D_BARCODE' , Interactive = 'INTERACTIVE' } export interface export interface CommonTransportResult { type { TransportResult } memberof TransportResult ? : TransportResult ; } export enum { string } export enum Condition { NewItem = 'NewItem' , NewWithWarranty = 'NewWithWarranty' , NewOem = 'NewOEM' , NewOpenBox = 'NewOpenBox' , UsedLikeNew = 'UsedLikeNew' , UsedVeryGood = 'UsedVeryGood' , UsedGood = 'UsedGood' , UsedAcceptable = 'UsedAcceptable' , UsedPoor = 'UsedPoor' , UsedRefurbished = 'UsedRefurbished' , CollectibleLikeNew = 'CollectibleLikeNew' , CollectibleVeryGood = 'CollectibleVeryGood' , CollectibleGood = 'CollectibleGood' , CollectibleAcceptable = 'CollectibleAcceptable' , CollectiblePoor = 'CollectiblePoor' , RefurbishedWithWarranty = 'RefurbishedWithWarranty' , Refurbished = 'Refurbished' , Club = 'Club' } export interface export interface ConfirmPreorderResponse { type { ConfirmPreorderResult } memberof payload ? : ConfirmPreorderResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface ConfirmPreorderResult { type { string } memberof ConfirmedNeedByDate ? : string ; type { string } memberof ConfirmedFulfillableDate ? : string ; } export interface export interface ConfirmTransportResponse { type { CommonTransportResult } memberof payload ? : CommonTransportResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface Contact { type { string } memberof Name : string ; type { string } memberof Phone : string ; type { string } memberof Email : string ; type { string } memberof Fax ? : string ; } export interface export interface CreateInboundShipmentPlanRequest { type { Address } memberof ShipFromAddress : Address ; type { LabelPrepPreference } memberof LabelPrepPreference : LabelPrepPreference | 'SELLER_LABEL' | 'AMAZON_LABEL_ONLY' | 'AMAZON_LABEL_PREFERRED' ; type { string } memberof ShipToCountryCode ? : string ; type { string } memberof ShipToCountrySubdivisionCode ? : string ; type { Array < InboundShipmentPlanRequestItem > } memberof InboundShipmentPlanRequestItems : Array < InboundShipmentPlanRequestItem > ; } export interface export interface CreateInboundShipmentPlanResponse { type { CreateInboundShipmentPlanResult } memberof payload ? : CreateInboundShipmentPlanResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface CreateInboundShipmentPlanResult { type { Array < InboundShipmentPlan > } memberof InboundShipmentPlans ? : Array < InboundShipmentPlan > ; } export enum { string } export enum CurrencyCode { Usd = 'USD' , Gbp = 'GBP' } export interface export interface Dimensions { type { number } memberof Length : number ; type { number } memberof Width : number ; type { number } memberof Height : number ; type { UnitOfMeasurement } memberof Unit : UnitOfMeasurement | 'inches' | 'centimeters' ; } export enum { string } export enum ErrorReason { DoesNotExist = 'DoesNotExist' , InvalidAsin = 'InvalidASIN' } export interface export interface EstimateTransportResponse { type { CommonTransportResult } memberof payload ? : CommonTransportResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetBillOfLadingResponse { type { BillOfLadingDownloadURL } memberof payload ? : BillOfLadingDownloadURL ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetInboundGuidanceResponse { type { GetInboundGuidanceResult } memberof payload ? : GetInboundGuidanceResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetInboundGuidanceResult { type { Array < SKUInboundGuidance > } memberof SKUInboundGuidanceList ? : Array < SKUInboundGuidance > ; type { Array < InvalidSKU > } memberof InvalidSKUList ? : Array < InvalidSKU > ; type { Array < ASINInboundGuidance > } memberof ASINInboundGuidanceList ? : Array < ASINInboundGuidance > ; type { Array < InvalidASIN > } memberof InvalidASINList ? : Array < InvalidASIN > ; } export interface export interface GetLabelsResponse { type { LabelDownloadURL } memberof payload ? : LabelDownloadURL ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetPreorderInfoResponse { type { GetPreorderInfoResult } memberof payload ? : GetPreorderInfoResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetPreorderInfoResult { type { boolean } memberof ShipmentContainsPreorderableItems ? : boolean ; type { boolean } memberof ShipmentConfirmedForPreorder ? : boolean ; type { string } memberof NeedByDate ? : string ; type { string } memberof ConfirmedFulfillableDate ? : string ; } export interface export interface GetPrepInstructionsResponse { type { GetPrepInstructionsResult } memberof payload ? : GetPrepInstructionsResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetPrepInstructionsResult { type { Array < SKUPrepInstructions > } memberof SKUPrepInstructionsList ? : Array < SKUPrepInstructions > ; type { Array < InvalidSKU > } memberof InvalidSKUList ? : Array < InvalidSKU > ; type { Array < ASINPrepInstructions > } memberof ASINPrepInstructionsList ? : Array < ASINPrepInstructions > ; type { Array < InvalidASIN > } memberof InvalidASINList ? : Array < InvalidASIN > ; } export interface export interface GetShipmentItemsResponse { type { GetShipmentItemsResult } memberof payload ? : GetShipmentItemsResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetShipmentItemsResult { type { Array < InboundShipmentItem > } memberof ItemData ? : Array < InboundShipmentItem > ; type { string } memberof NextToken ? : string ; } export interface export interface GetShipmentsResponse { type { GetShipmentsResult } memberof payload ? : GetShipmentsResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetShipmentsResult { type { Array < InboundShipmentInfo > } memberof ShipmentData ? : Array < InboundShipmentInfo > ; type { string } memberof NextToken ? : string ; } export interface export interface GetTransportDetailsResponse { type { GetTransportDetailsResult } memberof payload ? : GetTransportDetailsResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetTransportDetailsResult { type { TransportContent } memberof TransportContent ? : TransportContent ; } export enum { string } export enum GuidanceReason { SlowMovingAsin = 'SlowMovingASIN' , NoApplicableGuidance = 'NoApplicableGuidance' } export enum { string } export enum InboundGuidance { InboundNotRecommended = 'InboundNotRecommended' , InboundOk = 'InboundOK' } export interface export interface InboundShipmentHeader { type { string } memberof ShipmentName : string ; type { Address } memberof ShipFromAddress : Address ; type { string } memberof DestinationFulfillmentCenterId : string ; type { boolean } memberof AreCasesRequired ? : boolean ; type { ShipmentStatus } memberof ShipmentStatus : ShipmentStatus | 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' ; type { LabelPrepPreference } memberof LabelPrepPreference : LabelPrepPreference | 'SELLER_LABEL' | 'AMAZON_LABEL_ONLY' | 'AMAZON_LABEL_PREFERRED' ; type { IntendedBoxContentsSource } memberof IntendedBoxContentsSource ? : IntendedBoxContentsSource | 'NONE' | 'FEED' | '2D_BARCODE' ; } export interface export interface InboundShipmentInfo { type { string } memberof ShipmentId ? : string ; type { string } memberof ShipmentName ? : string ; type { Address } memberof ShipFromAddress : Address ; type { string } memberof DestinationFulfillmentCenterId ? : string ; type { ShipmentStatus } memberof ShipmentStatus ? : ShipmentStatus | 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' ; type { LabelPrepType } memberof LabelPrepType ? : LabelPrepType | 'NO_LABEL' | 'SELLER_LABEL' | 'AMAZON_LABEL' ; type { boolean } memberof AreCasesRequired : boolean ; type { string } memberof ConfirmedNeedByDate ? : string ; type { BoxContentsSource } memberof BoxContentsSource ? : BoxContentsSource | 'NONE' | 'FEED' | '2D_BARCODE' | 'INTERACTIVE' ; type { BoxContentsFeeDetails } memberof EstimatedBoxContentsFee ? : BoxContentsFeeDetails ; } export interface export interface InboundShipmentItem { type { string } memberof ShipmentId ? : string ; type { string } memberof SellerSKU : string ; type { string } memberof FulfillmentNetworkSKU ? : string ; type { number } memberof QuantityShipped : number ; type { number } memberof QuantityReceived ? : number ; type { number } memberof QuantityInCase ? : number ; type { string } memberof ReleaseDate ? : string ; type { Array < PrepDetails > } memberof PrepDetailsList ? : Array < PrepDetails > ; } export interface export interface InboundShipmentPlan { type { string } memberof ShipmentId : string ; type { string } memberof DestinationFulfillmentCenterId : string ; type { Address } memberof ShipToAddress : Address ; type { LabelPrepType } memberof LabelPrepType : LabelPrepType | 'NO_LABEL' | 'SELLER_LABEL' | 'AMAZON_LABEL' ; type { Array < InboundShipmentPlanItem > } memberof Items : Array < InboundShipmentPlanItem > ; type { BoxContentsFeeDetails } memberof EstimatedBoxContentsFee ? : BoxContentsFeeDetails ; } export interface export interface InboundShipmentPlanItem { type { string } memberof SellerSKU : string ; type { string } memberof FulfillmentNetworkSKU : string ; type { number } memberof Quantity : number ; type { Array < PrepDetails > } memberof PrepDetailsList ? : Array < PrepDetails > ; } export interface export interface InboundShipmentPlanRequestItem { type { string } memberof SellerSKU : string ; type { string } memberof ASIN : string ; type { Condition } memberof Condition : Condition | 'NewItem' | 'NewWithWarranty' | 'NewOEM' | 'NewOpenBox' | 'UsedLikeNew' | 'UsedVeryGood' | 'UsedGood' | 'UsedAcceptable' | 'UsedPoor' | 'UsedRefurbished' | 'CollectibleLikeNew' | 'CollectibleVeryGood' | 'CollectibleGood' | 'CollectibleAcceptable' | 'CollectiblePoor' | 'RefurbishedWithWarranty' | 'Refurbished' | 'Club' ; type { number } memberof Quantity : number ; type { number } memberof QuantityInCase ? : number ; type { Array < PrepDetails > } memberof PrepDetailsList ? : Array < PrepDetails > ; } export interface export interface InboundShipmentRequest { type { InboundShipmentHeader } memberof InboundShipmentHeader : InboundShipmentHeader ; type { Array < InboundShipmentItem > } memberof InboundShipmentItems : Array < InboundShipmentItem > ; type { string } memberof MarketplaceId : string ; } export interface export interface InboundShipmentResponse { type { InboundShipmentResult } memberof payload ? : InboundShipmentResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface InboundShipmentResult { type { string } memberof ShipmentId : string ; } export enum { string } export enum IntendedBoxContentsSource { None = 'NONE' , Feed = 'FEED' , _2DBarcode = '2D_BARCODE' } export interface export interface InvalidASIN { type { string } memberof ASIN ? : string ; type { ErrorReason } memberof ErrorReason ? : ErrorReason | 'DoesNotExist' | 'InvalidASIN' ; } export interface export interface InvalidSKU { type { string } memberof SellerSKU ? : string ; type { ErrorReason } memberof ErrorReason ? : ErrorReason | 'DoesNotExist' | 'InvalidASIN' ; } export interface export interface LabelDownloadURL { type { string } memberof DownloadURL ? : string ; } export enum { string } export enum LabelPrepPreference { SellerLabel = 'SELLER_LABEL' , AmazonLabelOnly = 'AMAZON_LABEL_ONLY' , AmazonLabelPreferred = 'AMAZON_LABEL_PREFERRED' } export enum { string } export enum LabelPrepType { NoLabel = 'NO_LABEL' , SellerLabel = 'SELLER_LABEL' , AmazonLabel = 'AMAZON_LABEL' } export interface export interface ModelError { type { string } memberof code : string ; type { string } memberof message : string ; type { string } memberof details ? : string ; } export interface export interface NonPartneredLtlDataInput { type { string } memberof CarrierName : string ; type { string } memberof ProNumber : string ; } export interface export interface NonPartneredLtlDataOutput { type { string } memberof CarrierName : string ; type { string } memberof ProNumber : string ; } export interface export interface NonPartneredSmallParcelDataInput { type { string } memberof CarrierName : string ; type { Array < NonPartneredSmallParcelPackageInput > } memberof PackageList : Array < NonPartneredSmallParcelPackageInput > ; } export interface export interface NonPartneredSmallParcelDataOutput { type { Array < NonPartneredSmallParcelPackageOutput > } memberof PackageList : Array < NonPartneredSmallParcelPackageOutput > ; } export interface export interface NonPartneredSmallParcelPackageInput { type { string } memberof TrackingId : string ; } export interface export interface NonPartneredSmallParcelPackageOutput { type { string } memberof CarrierName : string ; type { string } memberof TrackingId : string ; type { PackageStatus } memberof PackageStatus : PackageStatus | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' | 'RECEIVING' | 'CLOSED' | 'DELETED' ; } export enum { string } export enum PackageStatus { Shipped = 'SHIPPED' , InTransit = 'IN_TRANSIT' , Delivered = 'DELIVERED' , CheckedIn = 'CHECKED_IN' , Receiving = 'RECEIVING' , Closed = 'CLOSED' , Deleted = 'DELETED' } export interface export interface Pallet { type { Dimensions } memberof Dimensions : Dimensions ; type { Weight } memberof Weight ? : Weight ; type { boolean } memberof IsStacked : boolean ; } export interface export interface PartneredEstimate { type { Amount } memberof Amount : Amount ; type { string } memberof ConfirmDeadline ? : string ; type { string } memberof VoidDeadline ? : string ; } export interface export interface PartneredLtlDataInput { type { Contact } memberof Contact ? : Contact ; type { number } memberof BoxCount ? : number ; type { SellerFreightClass } memberof SellerFreightClass ? : SellerFreightClass | '50' | '55' | '60' | '65' | '70' | '77.5' | '85' | '92.5' | '100' | '110' | '125' | '150' | '175' | '200' | '250' | '300' | '400' | '500' ; type { string } memberof FreightReadyDate ? : string ; type { Array < Pallet > } memberof PalletList ? : Array < Pallet > ; type { Weight } memberof TotalWeight ? : Weight ; type { Amount } memberof SellerDeclaredValue ? : Amount ; } export interface export interface PartneredLtlDataOutput { type { Contact } memberof Contact : Contact ; type { number } memberof BoxCount : number ; type { SellerFreightClass } memberof SellerFreightClass ? : SellerFreightClass | '50' | '55' | '60' | '65' | '70' | '77.5' | '85' | '92.5' | '100' | '110' | '125' | '150' | '175' | '200' | '250' | '300' | '400' | '500' ; type { string } memberof FreightReadyDate : string ; type { Array < Pallet > } memberof PalletList : Array < Pallet > ; type { Weight } memberof TotalWeight : Weight ; type { Amount } memberof SellerDeclaredValue ? : Amount ; type { Amount } memberof AmazonCalculatedValue ? : Amount ; type { string } memberof PreviewPickupDate : string ; type { string } memberof PreviewDeliveryDate : string ; type { SellerFreightClass } memberof PreviewFreightClass : SellerFreightClass | '50' | '55' | '60' | '65' | '70' | '77.5' | '85' | '92.5' | '100' | '110' | '125' | '150' | '175' | '200' | '250' | '300' | '400' | '500' ; type { string } memberof AmazonReferenceId : string ; type { boolean } memberof IsBillOfLadingAvailable : boolean ; type { PartneredEstimate } memberof PartneredEstimate ? : PartneredEstimate ; type { string } memberof CarrierName : string ; } export interface export interface PartneredSmallParcelDataInput { type { Array < PartneredSmallParcelPackageInput > } memberof PackageList ? : Array < PartneredSmallParcelPackageInput > ; type { string } memberof CarrierName ? : string ; } export interface export interface PartneredSmallParcelDataOutput { type { Array < PartneredSmallParcelPackageOutput > } memberof PackageList : Array < PartneredSmallParcelPackageOutput > ; type { PartneredEstimate } memberof PartneredEstimate ? : PartneredEstimate ; } export interface export interface PartneredSmallParcelPackageInput { type { Dimensions } memberof Dimensions : Dimensions ; type { Weight } memberof Weight : Weight ; } export interface export interface PartneredSmallParcelPackageOutput { type { Dimensions } memberof Dimensions : Dimensions ; type { Weight } memberof Weight : Weight ; type { string } memberof CarrierName : string ; type { string } memberof TrackingId : string ; type { PackageStatus } memberof PackageStatus : PackageStatus | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' | 'RECEIVING' | 'CLOSED' | 'DELETED' ; } export interface export interface PrepDetails { type { PrepInstruction } memberof PrepInstruction : PrepInstruction | 'Polybagging' | 'BubbleWrapping' | 'Taping' | 'BlackShrinkWrapping' | 'Labeling' | 'HangGarment' ; type { PrepOwner } memberof PrepOwner : PrepOwner | 'AMAZON' | 'SELLER' ; } export enum { string } export enum PrepGuidance { ConsultHelpDocuments = 'ConsultHelpDocuments' , NoAdditionalPrepRequired = 'NoAdditionalPrepRequired' , SeePrepInstructionsList = 'SeePrepInstructionsList' } export enum { string } export enum PrepInstruction { Polybagging = 'Polybagging' , BubbleWrapping = 'BubbleWrapping' , Taping = 'Taping' , BlackShrinkWrapping = 'BlackShrinkWrapping' , Labeling = 'Labeling' , HangGarment = 'HangGarment' } export enum { string } export enum PrepOwner { Amazon = 'AMAZON' , Seller = 'SELLER' } export interface export interface PutTransportDetailsRequest { type { boolean } memberof IsPartnered : boolean ; type { ShipmentType } memberof ShipmentType : ShipmentType | 'SP' | 'LTL' ; type { TransportDetailInput } memberof TransportDetails : TransportDetailInput ; } export interface export interface PutTransportDetailsResponse { type { CommonTransportResult } memberof payload ? : CommonTransportResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface SKUInboundGuidance { type { string } memberof SellerSKU : string ; type { string } memberof ASIN : string ; type { InboundGuidance } memberof InboundGuidance : InboundGuidance | 'InboundNotRecommended' | 'InboundOK' ; type { Array < GuidanceReason > } memberof GuidanceReasonList ? : Array < ( GuidanceReason | 'SlowMovingASIN' | 'NoApplicableGuidance' ) > ; } export interface export interface SKUPrepInstructions { type { string } memberof SellerSKU ? : string ; type { string } memberof ASIN ? : string ; type { BarcodeInstruction } memberof BarcodeInstruction ? : BarcodeInstruction | 'RequiresFNSKULabel' | 'CanUseOriginalBarcode' | 'MustProvideSellerSKU' ; type { PrepGuidance } memberof PrepGuidance ? : PrepGuidance | 'ConsultHelpDocuments' | 'NoAdditionalPrepRequired' | 'SeePrepInstructionsList' ; type { Array < PrepInstruction > } memberof PrepInstructionList ? : Array < ( PrepInstruction | 'Polybagging' | 'BubbleWrapping' | 'Taping' | 'BlackShrinkWrapping' | 'Labeling' | 'HangGarment' ) > ; type { Array < AmazonPrepFeesDetails > } memberof AmazonPrepFeesDetailsList ? : Array < AmazonPrepFeesDetails > ; } export enum { string } export enum SellerFreightClass { _50 = '50' , _55 = '55' , _60 = '60' , _65 = '65' , _70 = '70' , _775 = '77.5' , _85 = '85' , _925 = '92.5' , _100 = '100' , _110 = '110' , _125 = '125' , _150 = '150' , _175 = '175' , _200 = '200' , _250 = '250' , _300 = '300' , _400 = '400' , _500 = '500' } export enum { string } export enum ShipmentStatus { Working = 'WORKING' , Shipped = 'SHIPPED' , Receiving = 'RECEIVING' , Cancelled = 'CANCELLED' , Deleted = 'DELETED' , Closed = 'CLOSED' , Error = 'ERROR' , InTransit = 'IN_TRANSIT' , Delivered = 'DELIVERED' , CheckedIn = 'CHECKED_IN' } export enum { string } export enum ShipmentType { Sp = 'SP' , Ltl = 'LTL' } export interface export interface TransportContent { type { TransportHeader } memberof TransportHeader : TransportHeader ; type { TransportDetailOutput } memberof TransportDetails : TransportDetailOutput ; type { TransportResult } memberof TransportResult : TransportResult ; } export interface export interface TransportDetailInput { type { PartneredSmallParcelDataInput } memberof PartneredSmallParcelData ? : PartneredSmallParcelDataInput ; type { NonPartneredSmallParcelDataInput } memberof NonPartneredSmallParcelData ? : NonPartneredSmallParcelDataInput ; type { PartneredLtlDataInput } memberof PartneredLtlData ? : PartneredLtlDataInput ; type { NonPartneredLtlDataInput } memberof NonPartneredLtlData ? : NonPartneredLtlDataInput ; } export interface export interface TransportDetailOutput { type { PartneredSmallParcelDataOutput } memberof PartneredSmallParcelData ? : PartneredSmallParcelDataOutput ; type { NonPartneredSmallParcelDataOutput } memberof NonPartneredSmallParcelData ? : NonPartneredSmallParcelDataOutput ; type { PartneredLtlDataOutput } memberof PartneredLtlData ? : PartneredLtlDataOutput ; type { NonPartneredLtlDataOutput } memberof NonPartneredLtlData ? : NonPartneredLtlDataOutput ; } export interface export interface TransportHeader { type { string } memberof SellerId : string ; type { string } memberof ShipmentId : string ; type { boolean } memberof IsPartnered : boolean ; type { ShipmentType } memberof ShipmentType : ShipmentType | 'SP' | 'LTL' ; } export interface export interface TransportResult { type { TransportStatus } memberof TransportStatus : TransportStatus | 'WORKING' | 'ESTIMATING' | 'ESTIMATED' | 'ERROR_ON_ESTIMATING' | 'CONFIRMING' | 'CONFIRMED' | 'ERROR_ON_CONFIRMING' | 'VOIDING' | 'VOIDED' | 'ERROR_IN_VOIDING' | 'ERROR' ; type { string } memberof ErrorCode ? : string ; type { string } memberof ErrorDescription ? : string ; } export enum { string } export enum TransportStatus { Working = 'WORKING' , Estimating = 'ESTIMATING' , Estimated = 'ESTIMATED' , ErrorOnEstimating = 'ERROR_ON_ESTIMATING' , Confirming = 'CONFIRMING' , Confirmed = 'CONFIRMED' , ErrorOnConfirming = 'ERROR_ON_CONFIRMING' , Voiding = 'VOIDING' , Voided = 'VOIDED' , ErrorInVoiding = 'ERROR_IN_VOIDING' , Error = 'ERROR' } export enum { string } export enum UnitOfMeasurement { Inches = 'inches' , Centimeters = 'centimeters' } export enum { string } export enum UnitOfWeight { Pounds = 'pounds' , Kilograms = 'kilograms' } export interface export interface VoidTransportResponse { type { CommonTransportResult } memberof payload ? : CommonTransportResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface Weight { type { number } memberof Value : number ; type { UnitOfWeight } memberof Unit : UnitOfWeight | 'pounds' | 'kilograms' ; } export export const FbaInboundApiAxiosParamCreator = function ( configuration ? ) { return { param { string } shipmentId param { string } needByDate param { string } marketplaceId param { * } options throws confirmPreorder : async ( shipmentId , needByDate , marketplaceId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'confirmPreorder' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'confirmPreorder' , 'needByDate' , needByDate ) ; assertParamExists ( 'confirmPreorder' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/preorder/confirm` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( needByDate !== undefined ) { localVarQueryParameter [ 'NeedByDate' ] = ( needByDate as any instanceof Date ) ? ( needByDate as any ) . toISOString ( ) . substr ( 0 , 10 ) : needByDate ; } if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { * } options throws confirmTransport : async ( shipmentId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'confirmTransport' , 'shipmentId' , shipmentId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/transport/confirm` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { InboundShipmentRequest } body param { * } options throws createInboundShipment : async ( shipmentId , body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'createInboundShipment' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'createInboundShipment' , 'body' , body ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( body , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { CreateInboundShipmentPlanRequest } body param { * } options throws createInboundShipmentPlan : async ( body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'createInboundShipmentPlan' , 'body' , body ) ; const localVarPath = `/fba/inbound/v0/plans` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( body , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { * } options throws estimateTransport : async ( shipmentId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'estimateTransport' , 'shipmentId' , shipmentId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/transport/estimate` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { * } options throws getBillOfLading : async ( shipmentId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getBillOfLading' , 'shipmentId' , shipmentId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/billOfLading` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { Array < string > } sellerSKUList param { Array < string > } aSINList param { * } options throws getInboundGuidance : async ( marketplaceId , sellerSKUList ? , aSINList ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getInboundGuidance' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/inbound/v0/itemsGuidance` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } if ( sellerSKUList ) { localVarQueryParameter [ 'SellerSKUList' ] = sellerSKUList . join ( COLLECTION_FORMATS . csv ) ; } if ( aSINList ) { localVarQueryParameter [ 'ASINList' ] = aSINList . join ( COLLECTION_FORMATS . csv ) ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation' } pageType param { 'BARCODE_2D' | 'UNIQUE' | 'PALLET' } labelType param { number } numberOfPackages param { Array < string > } packageLabelsToPrint param { number } numberOfPallets param { number } pageSize param { number } pageStartIndex param { * } options throws getLabels : async ( shipmentId , pageType , labelType , numberOfPackages ? , packageLabelsToPrint ? , numberOfPallets ? , pageSize ? , pageStartIndex ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getLabels' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'getLabels' , 'pageType' , pageType ) ; assertParamExists ( 'getLabels' , 'labelType' , labelType ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/labels` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( pageType !== undefined ) { localVarQueryParameter [ 'PageType' ] = pageType ; } if ( labelType !== undefined ) { localVarQueryParameter [ 'LabelType' ] = labelType ; } if ( numberOfPackages !== undefined ) { localVarQueryParameter [ 'NumberOfPackages' ] = numberOfPackages ; } if ( packageLabelsToPrint ) { localVarQueryParameter [ 'PackageLabelsToPrint' ] = packageLabelsToPrint . join ( COLLECTION_FORMATS . csv ) ; } if ( numberOfPallets !== undefined ) { localVarQueryParameter [ 'NumberOfPallets' ] = numberOfPallets ; } if ( pageSize !== undefined ) { localVarQueryParameter [ 'PageSize' ] = pageSize ; } if ( pageStartIndex !== undefined ) { localVarQueryParameter [ 'PageStartIndex' ] = pageStartIndex ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { string } marketplaceId param { * } options throws getPreorderInfo : async ( shipmentId , marketplaceId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getPreorderInfo' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'getPreorderInfo' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/preorder` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipToCountryCode param { Array < string > } sellerSKUList param { Array < string > } aSINList param { * } options throws getPrepInstructions : async ( shipToCountryCode , sellerSKUList ? , aSINList ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getPrepInstructions' , 'shipToCountryCode' , shipToCountryCode ) ; const localVarPath = `/fba/inbound/v0/prepInstructions` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( shipToCountryCode !== undefined ) { localVarQueryParameter [ 'ShipToCountryCode' ] = shipToCountryCode ; } if ( sellerSKUList ) { localVarQueryParameter [ 'SellerSKUList' ] = sellerSKUList . join ( COLLECTION_FORMATS . csv ) ; } if ( aSINList ) { localVarQueryParameter [ 'ASINList' ] = aSINList . join ( COLLECTION_FORMATS . csv ) ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { 'DATE_RANGE' | 'NEXT_TOKEN' } queryType param { string } marketplaceId param { string } lastUpdatedAfter param { string } lastUpdatedBefore param { string } nextToken param { * } options throws getShipmentItems : async ( queryType , marketplaceId , lastUpdatedAfter ? , lastUpdatedBefore ? , nextToken ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getShipmentItems' , 'queryType' , queryType ) ; assertParamExists ( 'getShipmentItems' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/inbound/v0/shipmentItems` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( lastUpdatedAfter !== undefined ) { localVarQueryParameter [ 'LastUpdatedAfter' ] = ( lastUpdatedAfter as any instanceof Date ) ? ( lastUpdatedAfter as any ) . toISOString ( ) : lastUpdatedAfter ; } if ( lastUpdatedBefore !== undefined ) { localVarQueryParameter [ 'LastUpdatedBefore' ] = ( lastUpdatedBefore as any instanceof Date ) ? ( lastUpdatedBefore as any ) . toISOString ( ) : lastUpdatedBefore ; } if ( queryType !== undefined ) { localVarQueryParameter [ 'QueryType' ] = queryType ; } if ( nextToken !== undefined ) { localVarQueryParameter [ 'NextToken' ] = nextToken ; } if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { string } marketplaceId param { * } options throws getShipmentItemsByShipmentId : async ( shipmentId , marketplaceId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getShipmentItemsByShipmentId' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'getShipmentItemsByShipmentId' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/items` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN' } queryType param { string } marketplaceId param { Array < 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' > } shipmentStatusList param { Array < string > } shipmentIdList param { string } lastUpdatedAfter param { string } lastUpdatedBefore param { string } nextToken param { * } options throws getShipments : async ( queryType , marketplaceId , shipmentStatusList ? , shipmentIdList ? , lastUpdatedAfter ? , lastUpdatedBefore ? , nextToken ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getShipments' , 'queryType' , queryType ) ; assertParamExists ( 'getShipments' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/inbound/v0/shipments` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( shipmentStatusList ) { localVarQueryParameter [ 'ShipmentStatusList' ] = shipmentStatusList . join ( COLLECTION_FORMATS . csv ) ; } if ( shipmentIdList ) { localVarQueryParameter [ 'ShipmentIdList' ] = shipmentIdList . join ( COLLECTION_FORMATS . csv ) ; } if ( lastUpdatedAfter !== undefined ) { localVarQueryParameter [ 'LastUpdatedAfter' ] = ( lastUpdatedAfter as any instanceof Date ) ? ( lastUpdatedAfter as any ) . toISOString ( ) : lastUpdatedAfter ; } if ( lastUpdatedBefore !== undefined ) { localVarQueryParameter [ 'LastUpdatedBefore' ] = ( lastUpdatedBefore as any instanceof Date ) ? ( lastUpdatedBefore as any ) . toISOString ( ) : lastUpdatedBefore ; } if ( queryType !== undefined ) { localVarQueryParameter [ 'QueryType' ] = queryType ; } if ( nextToken !== undefined ) { localVarQueryParameter [ 'NextToken' ] = nextToken ; } if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { * } options throws getTransportDetails : async ( shipmentId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getTransportDetails' , 'shipmentId' , shipmentId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/transport` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { PutTransportDetailsRequest } body param { * } options throws putTransportDetails : async ( shipmentId , body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'putTransportDetails' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'putTransportDetails' , 'body' , body ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/transport` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( body , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { InboundShipmentRequest } body param { * } options throws updateInboundShipment : async ( shipmentId , body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'updateInboundShipment' , 'shipmentId' , shipmentId ) ; assertParamExists ( 'updateInboundShipment' , 'body' , body ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; localVarRequestOptions . data = serializeDataIfNeeded ( body , localVarRequestOptions , configuration ) ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } shipmentId param { * } options throws voidTransport : async ( shipmentId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'voidTransport' , 'shipmentId' , shipmentId ) ; const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/transport/void` . replace ( `{${ "shipmentId" }}` , encodeURIComponent ( String ( shipmentId ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'POST' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const FbaInboundApiFp = function ( configuration ? ) { const localVarAxiosParamCreator = FbaInboundApiAxiosParamCreator ( configuration ) ; return { param { string } shipmentId param { string } needByDate param { string } marketplaceId param { * } options throws async confirmPreorder ( shipmentId , needByDate , marketplaceId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . confirmPreorder ( shipmentId , needByDate , marketplaceId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { * } options throws async confirmTransport ( shipmentId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . confirmTransport ( shipmentId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { InboundShipmentRequest } body param { * } options throws async createInboundShipment ( shipmentId , body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . createInboundShipment ( shipmentId , body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { CreateInboundShipmentPlanRequest } body param { * } options throws async createInboundShipmentPlan ( body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . createInboundShipmentPlan ( body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { * } options throws async estimateTransport ( shipmentId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . estimateTransport ( shipmentId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { * } options throws async getBillOfLading ( shipmentId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getBillOfLading ( shipmentId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { Array < string > } sellerSKUList param { Array < string > } aSINList param { * } options throws async getInboundGuidance ( marketplaceId , sellerSKUList ? , aSINList ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getInboundGuidance ( marketplaceId , sellerSKUList , aSINList , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation' } pageType param { 'BARCODE_2D' | 'UNIQUE' | 'PALLET' } labelType param { number } numberOfPackages param { Array < string > } packageLabelsToPrint param { number } numberOfPallets param { number } pageSize param { number } pageStartIndex param { * } options throws async getLabels ( shipmentId , pageType , labelType , numberOfPackages ? , packageLabelsToPrint ? , numberOfPallets ? , pageSize ? , pageStartIndex ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getLabels ( shipmentId , pageType , labelType , numberOfPackages , packageLabelsToPrint , numberOfPallets , pageSize , pageStartIndex , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { string } marketplaceId param { * } options throws async getPreorderInfo ( shipmentId , marketplaceId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getPreorderInfo ( shipmentId , marketplaceId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipToCountryCode param { Array < string > } sellerSKUList param { Array < string > } aSINList param { * } options throws async getPrepInstructions ( shipToCountryCode , sellerSKUList ? , aSINList ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getPrepInstructions ( shipToCountryCode , sellerSKUList , aSINList , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { 'DATE_RANGE' | 'NEXT_TOKEN' } queryType param { string } marketplaceId param { string } lastUpdatedAfter param { string } lastUpdatedBefore param { string } nextToken param { * } options throws async getShipmentItems ( queryType , marketplaceId , lastUpdatedAfter ? , lastUpdatedBefore ? , nextToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getShipmentItems ( queryType , marketplaceId , lastUpdatedAfter , lastUpdatedBefore , nextToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { string } marketplaceId param { * } options throws async getShipmentItemsByShipmentId ( shipmentId , marketplaceId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getShipmentItemsByShipmentId ( shipmentId , marketplaceId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN' } queryType param { string } marketplaceId param { Array < 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' > } shipmentStatusList param { Array < string > } shipmentIdList param { string } lastUpdatedAfter param { string } lastUpdatedBefore param { string } nextToken param { * } options throws async getShipments ( queryType , marketplaceId , shipmentStatusList ? , shipmentIdList ? , lastUpdatedAfter ? , lastUpdatedBefore ? , nextToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getShipments ( queryType , marketplaceId , shipmentStatusList , shipmentIdList , lastUpdatedAfter , lastUpdatedBefore , nextToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { * } options throws async getTransportDetails ( shipmentId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getTransportDetails ( shipmentId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { PutTransportDetailsRequest } body param { * } options throws async putTransportDetails ( shipmentId , body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . putTransportDetails ( shipmentId , body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { InboundShipmentRequest } body param { * } options throws async updateInboundShipment ( shipmentId , body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . updateInboundShipment ( shipmentId , body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } shipmentId param { * } options throws async voidTransport ( shipmentId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . voidTransport ( shipmentId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , } ; } ; export export const FbaInboundApiFactory = function ( configuration ? , basePath ? , axios ? ) { const localVarFp = FbaInboundApiFp ( configuration ) ; return { param { string } shipmentId param { string } needByDate param { string } marketplaceId param { * } options throws confirmPreorder ( shipmentId , needByDate , marketplaceId , options ? ) { return localVarFp . confirmPreorder ( shipmentId , needByDate , marketplaceId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { * } options throws confirmTransport ( shipmentId , options ? ) { return localVarFp . confirmTransport ( shipmentId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { InboundShipmentRequest } body param { * } options throws createInboundShipment ( shipmentId , body , options ? ) { return localVarFp . createInboundShipment ( shipmentId , body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { CreateInboundShipmentPlanRequest } body param { * } options throws createInboundShipmentPlan ( body , options ? ) { return localVarFp . createInboundShipmentPlan ( body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { * } options throws estimateTransport ( shipmentId , options ? ) { return localVarFp . estimateTransport ( shipmentId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { * } options throws getBillOfLading ( shipmentId , options ? ) { return localVarFp . getBillOfLading ( shipmentId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { Array < string > } sellerSKUList param { Array < string > } aSINList param { * } options throws getInboundGuidance ( marketplaceId , sellerSKUList ? , aSINList ? , options ? ) { return localVarFp . getInboundGuidance ( marketplaceId , sellerSKUList , aSINList , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation' } pageType param { 'BARCODE_2D' | 'UNIQUE' | 'PALLET' } labelType param { number } numberOfPackages param { Array < string > } packageLabelsToPrint param { number } numberOfPallets param { number } pageSize param { number } pageStartIndex param { * } options throws getLabels ( shipmentId , pageType , labelType , numberOfPackages ? , packageLabelsToPrint ? , numberOfPallets ? , pageSize ? , pageStartIndex ? , options ? ) { return localVarFp . getLabels ( shipmentId , pageType , labelType , numberOfPackages , packageLabelsToPrint , numberOfPallets , pageSize , pageStartIndex , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { string } marketplaceId param { * } options throws getPreorderInfo ( shipmentId , marketplaceId , options ? ) { return localVarFp . getPreorderInfo ( shipmentId , marketplaceId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipToCountryCode param { Array < string > } sellerSKUList param { Array < string > } aSINList param { * } options throws getPrepInstructions ( shipToCountryCode , sellerSKUList ? , aSINList ? , options ? ) { return localVarFp . getPrepInstructions ( shipToCountryCode , sellerSKUList , aSINList , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { 'DATE_RANGE' | 'NEXT_TOKEN' } queryType param { string } marketplaceId param { string } lastUpdatedAfter param { string } lastUpdatedBefore param { string } nextToken param { * } options throws getShipmentItems ( queryType , marketplaceId , lastUpdatedAfter ? , lastUpdatedBefore ? , nextToken ? , options ? ) { return localVarFp . getShipmentItems ( queryType , marketplaceId , lastUpdatedAfter , lastUpdatedBefore , nextToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { string } marketplaceId param { * } options throws getShipmentItemsByShipmentId ( shipmentId , marketplaceId , options ? ) { return localVarFp . getShipmentItemsByShipmentId ( shipmentId , marketplaceId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN' } queryType param { string } marketplaceId param { Array < 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' > } shipmentStatusList param { Array < string > } shipmentIdList param { string } lastUpdatedAfter param { string } lastUpdatedBefore param { string } nextToken param { * } options throws getShipments ( queryType , marketplaceId , shipmentStatusList ? , shipmentIdList ? , lastUpdatedAfter ? , lastUpdatedBefore ? , nextToken ? , options ? ) { return localVarFp . getShipments ( queryType , marketplaceId , shipmentStatusList , shipmentIdList , lastUpdatedAfter , lastUpdatedBefore , nextToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { * } options throws getTransportDetails ( shipmentId , options ? ) { return localVarFp . getTransportDetails ( shipmentId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { PutTransportDetailsRequest } body param { * } options throws putTransportDetails ( shipmentId , body , options ? ) { return localVarFp . putTransportDetails ( shipmentId , body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { InboundShipmentRequest } body param { * } options throws updateInboundShipment ( shipmentId , body , options ? ) { return localVarFp . updateInboundShipment ( shipmentId , body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } shipmentId param { * } options throws voidTransport ( shipmentId , options ? ) { return localVarFp . voidTransport ( shipmentId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , } ; } ; export interface export interface FbaInboundApiConfirmPreorderRequest { type { string } memberof readonly shipmentId : string ; type { string } memberof readonly needByDate : string ; type { string } memberof readonly marketplaceId : string ; } export interface export interface FbaInboundApiConfirmTransportRequest { type { string } memberof readonly shipmentId : string ; } export interface export interface FbaInboundApiCreateInboundShipmentRequest { type { string } memberof readonly shipmentId : string ; type { InboundShipmentRequest } memberof readonly body : InboundShipmentRequest ; } export interface export interface FbaInboundApiCreateInboundShipmentPlanRequest { type { CreateInboundShipmentPlanRequest } memberof readonly body : CreateInboundShipmentPlanRequest ; } export interface export interface FbaInboundApiEstimateTransportRequest { type { string } memberof readonly shipmentId : string ; } export interface export interface FbaInboundApiGetBillOfLadingRequest { type { string } memberof readonly shipmentId : string ; } export interface export interface FbaInboundApiGetInboundGuidanceRequest { type { string } memberof readonly marketplaceId : string ; type { Array < string > } memberof readonly sellerSKUList ? : Array < string > ; type { Array < string > } memberof readonly aSINList ? : Array < string > ; } export interface export interface FbaInboundApiGetLabelsRequest { type { string } memberof readonly shipmentId : string ; type { 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation' } memberof readonly pageType : 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation' ; type { 'BARCODE_2D' | 'UNIQUE' | 'PALLET' } memberof readonly labelType : 'BARCODE_2D' | 'UNIQUE' | 'PALLET' ; type { number } memberof readonly numberOfPackages ? : number ; type { Array < string > } memberof readonly packageLabelsToPrint ? : Array < string > ; type { number } memberof readonly numberOfPallets ? : number ; type { number } memberof readonly pageSize ? : number ; type { number } memberof readonly pageStartIndex ? : number ; } export interface export interface FbaInboundApiGetPreorderInfoRequest { type { string } memberof readonly shipmentId : string ; type { string } memberof readonly marketplaceId : string ; } export interface export interface FbaInboundApiGetPrepInstructionsRequest { type { string } memberof readonly shipToCountryCode : string ; type { Array < string > } memberof readonly sellerSKUList ? : Array < string > ; type { Array < string > } memberof readonly aSINList ? : Array < string > ; } export interface export interface FbaInboundApiGetShipmentItemsRequest { type { 'DATE_RANGE' | 'NEXT_TOKEN' } memberof readonly queryType : 'DATE_RANGE' | 'NEXT_TOKEN' ; type { string } memberof readonly marketplaceId : string ; type { string } memberof readonly lastUpdatedAfter ? : string ; type { string } memberof readonly lastUpdatedBefore ? : string ; type { string } memberof readonly nextToken ? : string ; } export interface export interface FbaInboundApiGetShipmentItemsByShipmentIdRequest { type { string } memberof readonly shipmentId : string ; type { string } memberof readonly marketplaceId : string ; } export interface export interface FbaInboundApiGetShipmentsRequest { type { 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN' } memberof readonly queryType : 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN' ; type { string } memberof readonly marketplaceId : string ; type { Array < 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' > } memberof readonly shipmentStatusList ? : Array < 'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN' > ; type { Array < string > } memberof readonly shipmentIdList ? : Array < string > ; type { string } memberof readonly lastUpdatedAfter ? : string ; type { string } memberof readonly lastUpdatedBefore ? : string ; type { string } memberof readonly nextToken ? : string ; } export interface export interface FbaInboundApiGetTransportDetailsRequest { type { string } memberof readonly shipmentId : string ; } export interface export interface FbaInboundApiPutTransportDetailsRequest { type { string } memberof readonly shipmentId : string ; type { PutTransportDetailsRequest } memberof readonly body : PutTransportDetailsRequest ; } export interface export interface FbaInboundApiUpdateInboundShipmentRequest { type { string } memberof readonly shipmentId : string ; type { InboundShipmentRequest } memberof readonly body : InboundShipmentRequest ; } export interface export interface FbaInboundApiVoidTransportRequest { type { string } memberof readonly shipmentId : string ; } export class extends BaseAPI export class FbaInboundApi extends BaseAPI { param { FbaInboundApiConfirmPreorderRequest } requestParameters param { * } options throws memberof public confirmPreorder ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . confirmPreorder ( requestParameters . shipmentId , requestParameters . needByDate , requestParameters . marketplaceId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiConfirmTransportRequest } requestParameters param { * } options throws memberof public confirmTransport ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . confirmTransport ( requestParameters . shipmentId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiCreateInboundShipmentRequest } requestParameters param { * } options throws memberof public createInboundShipment ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . createInboundShipment ( requestParameters . shipmentId , requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiCreateInboundShipmentPlanRequest } requestParameters param { * } options throws memberof public createInboundShipmentPlan ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . createInboundShipmentPlan ( requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiEstimateTransportRequest } requestParameters param { * } options throws memberof public estimateTransport ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . estimateTransport ( requestParameters . shipmentId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetBillOfLadingRequest } requestParameters param { * } options throws memberof public getBillOfLading ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getBillOfLading ( requestParameters . shipmentId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetInboundGuidanceRequest } requestParameters param { * } options throws memberof public getInboundGuidance ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getInboundGuidance ( requestParameters . marketplaceId , requestParameters . sellerSKUList , requestParameters . aSINList , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetLabelsRequest } requestParameters param { * } options throws memberof public getLabels ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getLabels ( requestParameters . shipmentId , requestParameters . pageType , requestParameters . labelType , requestParameters . numberOfPackages , requestParameters . packageLabelsToPrint , requestParameters . numberOfPallets , requestParameters . pageSize , requestParameters . pageStartIndex , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetPreorderInfoRequest } requestParameters param { * } options throws memberof public getPreorderInfo ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getPreorderInfo ( requestParameters . shipmentId , requestParameters . marketplaceId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetPrepInstructionsRequest } requestParameters param { * } options throws memberof public getPrepInstructions ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getPrepInstructions ( requestParameters . shipToCountryCode , requestParameters . sellerSKUList , requestParameters . aSINList , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetShipmentItemsRequest } requestParameters param { * } options throws memberof public getShipmentItems ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getShipmentItems ( requestParameters . queryType , requestParameters . marketplaceId , requestParameters . lastUpdatedAfter , requestParameters . lastUpdatedBefore , requestParameters . nextToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetShipmentItemsByShipmentIdRequest } requestParameters param { * } options throws memberof public getShipmentItemsByShipmentId ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getShipmentItemsByShipmentId ( requestParameters . shipmentId , requestParameters . marketplaceId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetShipmentsRequest } requestParameters param { * } options throws memberof public getShipments ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getShipments ( requestParameters . queryType , requestParameters . marketplaceId , requestParameters . shipmentStatusList , requestParameters . shipmentIdList , requestParameters . lastUpdatedAfter , requestParameters . lastUpdatedBefore , requestParameters . nextToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiGetTransportDetailsRequest } requestParameters param { * } options throws memberof public getTransportDetails ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . getTransportDetails ( requestParameters . shipmentId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiPutTransportDetailsRequest } requestParameters param { * } options throws memberof public putTransportDetails ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . putTransportDetails ( requestParameters . shipmentId , requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiUpdateInboundShipmentRequest } requestParameters param { * } options throws memberof public updateInboundShipment ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . updateInboundShipment ( requestParameters . shipmentId , requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaInboundApiVoidTransportRequest } requestParameters param { * } options throws memberof public voidTransport ( requestParameters , options ? ) { return FbaInboundApiFp ( this . configuration ) . voidTransport ( requestParameters . shipmentId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } }