/**
 * Selling Partner APIs for Fulfillment Outbound
 * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
 *
 * The version of the OpenAPI document: 2020-07-01
 *
 *
 * 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 enum { string } export enum AdditionalLocationInfo { AsInstructed = 'AS_INSTRUCTED' , Carport = 'CARPORT' , CustomerPickup = 'CUSTOMER_PICKUP' , Deck = 'DECK' , DoorPerson = 'DOOR_PERSON' , FrontDesk = 'FRONT_DESK' , FrontDoor = 'FRONT_DOOR' , Garage = 'GARAGE' , Guard = 'GUARD' , MailRoom = 'MAIL_ROOM' , MailSlot = 'MAIL_SLOT' , Mailbox = 'MAILBOX' , McBoy = 'MC_BOY' , McGirl = 'MC_GIRL' , McMan = 'MC_MAN' , McWoman = 'MC_WOMAN' , Neighbor = 'NEIGHBOR' , Office = 'OFFICE' , Outbuilding = 'OUTBUILDING' , Patio = 'PATIO' , Porch = 'PORCH' , RearDoor = 'REAR_DOOR' , Receptionist = 'RECEPTIONIST' , Receiver = 'RECEIVER' , SecureLocation = 'SECURE_LOCATION' , SideDoor = 'SIDE_DOOR' } export interface export interface Address { type { string } memberof name : string ; type { string } memberof addressLine1 : string ; type { string } memberof addressLine2 ? : string ; type { string } memberof addressLine3 ? : string ; type { string } memberof city ? : string ; type { string } memberof districtOrCounty ? : string ; type { string } memberof stateOrRegion : string ; type { string } memberof postalCode ? : string ; type { string } memberof countryCode : string ; type { string } memberof phone ? : string ; } export interface export interface CODSettings { type { boolean } memberof isCodRequired : boolean ; type { Money } memberof codCharge ? : Money ; type { Money } memberof codChargeTax ? : Money ; type { Money } memberof shippingCharge ? : Money ; type { Money } memberof shippingChargeTax ? : Money ; } export interface export interface CancelFulfillmentOrderResponse { type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface CreateFulfillmentOrderItem { type { string } memberof sellerSku : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { number } memberof quantity : number ; type { string } memberof giftMessage ? : string ; type { string } memberof displayableComment ? : string ; type { string } memberof fulfillmentNetworkSku ? : string ; type { Money } memberof perUnitDeclaredValue ? : Money ; type { Money } memberof perUnitPrice ? : Money ; type { Money } memberof perUnitTax ? : Money ; } export interface export interface CreateFulfillmentOrderRequest { type { string } memberof marketplaceId ? : string ; type { string } memberof sellerFulfillmentOrderId : string ; type { string } memberof displayableOrderId : string ; type { string } memberof displayableOrderDate : string ; type { string } memberof displayableOrderComment : string ; type { ShippingSpeedCategory } memberof shippingSpeedCategory : ShippingSpeedCategory | 'Standard' | 'Expedited' | 'Priority' | 'ScheduledDelivery' ; type { DeliveryWindow } memberof deliveryWindow ? : DeliveryWindow ; type { Address } memberof destinationAddress : Address ; type { FulfillmentAction } memberof fulfillmentAction ? : FulfillmentAction | 'Ship' | 'Hold' ; type { FulfillmentPolicy } memberof fulfillmentPolicy ? : FulfillmentPolicy | 'FillOrKill' | 'FillAll' | 'FillAllAvailable' ; type { CODSettings } memberof codSettings ? : CODSettings ; type { string } memberof shipFromCountryCode ? : string ; type { Array < string > } memberof notificationEmails ? : Array < string > ; type { Array < FeatureSettings > } memberof featureConstraints ? : Array < FeatureSettings > ; type { Array < CreateFulfillmentOrderItem > } memberof items : Array < CreateFulfillmentOrderItem > ; } export interface export interface CreateFulfillmentOrderResponse { type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface CreateFulfillmentReturnRequest { type { Array < CreateReturnItem > } memberof items : Array < CreateReturnItem > ; } export interface export interface CreateFulfillmentReturnResponse { type { CreateFulfillmentReturnResult } memberof payload ? : CreateFulfillmentReturnResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface CreateFulfillmentReturnResult { type { Array < ReturnItem > } memberof returnItems ? : Array < ReturnItem > ; type { Array < InvalidReturnItem > } memberof invalidReturnItems ? : Array < InvalidReturnItem > ; type { Array < ReturnAuthorization > } memberof returnAuthorizations ? : Array < ReturnAuthorization > ; } export interface export interface CreateReturnItem { type { string } memberof sellerReturnItemId : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { string } memberof amazonShipmentId : string ; type { string } memberof returnReasonCode : string ; type { string } memberof returnComment ? : string ; } export enum { string } export enum CurrentStatus { InTransit = 'IN_TRANSIT' , Delivered = 'DELIVERED' , Returning = 'RETURNING' , Returned = 'RETURNED' , Undeliverable = 'UNDELIVERABLE' , Delayed = 'DELAYED' , AvailableForPickup = 'AVAILABLE_FOR_PICKUP' , CustomerAction = 'CUSTOMER_ACTION' } export interface export interface DeliveryWindow { type { string } memberof startDate : string ; type { string } memberof endDate : string ; } export enum { string } export enum EventCode { _101 = 'EVENT_101' , _102 = 'EVENT_102' , _201 = 'EVENT_201' , _202 = 'EVENT_202' , _203 = 'EVENT_203' , _204 = 'EVENT_204' , _205 = 'EVENT_205' , _206 = 'EVENT_206' , _301 = 'EVENT_301' , _302 = 'EVENT_302' , _304 = 'EVENT_304' , _306 = 'EVENT_306' , _307 = 'EVENT_307' , _308 = 'EVENT_308' , _309 = 'EVENT_309' , _401 = 'EVENT_401' , _402 = 'EVENT_402' , _403 = 'EVENT_403' , _404 = 'EVENT_404' , _405 = 'EVENT_405' , _406 = 'EVENT_406' , _407 = 'EVENT_407' , _408 = 'EVENT_408' , _409 = 'EVENT_409' , _411 = 'EVENT_411' , _412 = 'EVENT_412' , _413 = 'EVENT_413' , _414 = 'EVENT_414' , _415 = 'EVENT_415' , _416 = 'EVENT_416' , _417 = 'EVENT_417' , _418 = 'EVENT_418' , _419 = 'EVENT_419' } export interface export interface Feature { type { string } memberof featureName : string ; type { string } memberof featureDescription : string ; type { boolean } memberof sellerEligible ? : boolean ; } export interface export interface FeatureSettings { type { string } memberof featureName ? : string ; type { string } memberof featureFulfillmentPolicy ? : FeatureSettingsFeatureFulfillmentPolicyEnum | 'Required' | 'NotRequired' ; } export enum { string } export enum FeatureSettingsFeatureFulfillmentPolicyEnum { Required = 'Required' , NotRequired = 'NotRequired' } export interface export interface FeatureSku { type { string } memberof sellerSku ? : string ; type { string } memberof fnSku ? : string ; type { string } memberof asin ? : string ; type { number } memberof skuCount ? : number ; type { Array < string > } memberof overlappingSkus ? : Array < string > ; } export interface export interface Fee { type { string } memberof name : FeeNameEnum | 'FBAPerUnitFulfillmentFee' | 'FBAPerOrderFulfillmentFee' | 'FBATransportationFee' | 'FBAFulfillmentCODFee' ; type { Money } memberof amount : Money ; } export enum { string } export enum FeeNameEnum { FbaPerUnitFulfillmentFee = 'FBAPerUnitFulfillmentFee' , FbaPerOrderFulfillmentFee = 'FBAPerOrderFulfillmentFee' , FbaTransportationFee = 'FBATransportationFee' , FbaFulfillmentCodFee = 'FBAFulfillmentCODFee' } export enum { string } export enum FulfillmentAction { Ship = 'Ship' , Hold = 'Hold' } export interface export interface FulfillmentOrder { type { string } memberof sellerFulfillmentOrderId : string ; type { string } memberof marketplaceId : string ; type { string } memberof displayableOrderId : string ; type { string } memberof displayableOrderDate : string ; type { string } memberof displayableOrderComment : string ; type { ShippingSpeedCategory } memberof shippingSpeedCategory : ShippingSpeedCategory | 'Standard' | 'Expedited' | 'Priority' | 'ScheduledDelivery' ; type { DeliveryWindow } memberof deliveryWindow ? : DeliveryWindow ; type { Address } memberof destinationAddress : Address ; type { FulfillmentAction } memberof fulfillmentAction ? : FulfillmentAction | 'Ship' | 'Hold' ; type { FulfillmentPolicy } memberof fulfillmentPolicy ? : FulfillmentPolicy | 'FillOrKill' | 'FillAll' | 'FillAllAvailable' ; type { CODSettings } memberof codSettings ? : CODSettings ; type { string } memberof receivedDate : string ; type { FulfillmentOrderStatus } memberof fulfillmentOrderStatus : FulfillmentOrderStatus | 'New' | 'Received' | 'Planning' | 'Processing' | 'Cancelled' | 'Complete' | 'CompletePartialled' | 'Unfulfillable' | 'Invalid' ; type { string } memberof statusUpdatedDate : string ; type { Array < string > } memberof notificationEmails ? : Array < string > ; type { Array < FeatureSettings > } memberof featureConstraints ? : Array < FeatureSettings > ; } export interface export interface FulfillmentOrderItem { type { string } memberof sellerSku : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { number } memberof quantity : number ; type { string } memberof giftMessage ? : string ; type { string } memberof displayableComment ? : string ; type { string } memberof fulfillmentNetworkSku ? : string ; type { string } memberof orderItemDisposition ? : string ; type { number } memberof cancelledQuantity : number ; type { number } memberof unfulfillableQuantity : number ; type { string } memberof estimatedShipDate ? : string ; type { string } memberof estimatedArrivalDate ? : string ; type { Money } memberof perUnitPrice ? : Money ; type { Money } memberof perUnitTax ? : Money ; type { Money } memberof perUnitDeclaredValue ? : Money ; } export enum { string } export enum FulfillmentOrderStatus { New = 'New' , Received = 'Received' , Planning = 'Planning' , Processing = 'Processing' , Cancelled = 'Cancelled' , Complete = 'Complete' , CompletePartialled = 'CompletePartialled' , Unfulfillable = 'Unfulfillable' , Invalid = 'Invalid' } export enum { string } export enum FulfillmentPolicy { FillOrKill = 'FillOrKill' , FillAll = 'FillAll' , FillAllAvailable = 'FillAllAvailable' } export interface export interface FulfillmentPreview { type { ShippingSpeedCategory } memberof shippingSpeedCategory : ShippingSpeedCategory | 'Standard' | 'Expedited' | 'Priority' | 'ScheduledDelivery' ; type { ScheduledDeliveryInfo } memberof scheduledDeliveryInfo ? : ScheduledDeliveryInfo ; type { boolean } memberof isFulfillable : boolean ; type { boolean } memberof isCODCapable : boolean ; type { Weight } memberof estimatedShippingWeight ? : Weight ; type { Array < Fee > } memberof estimatedFees ? : Array < Fee > ; type { Array < FulfillmentPreviewShipment > } memberof fulfillmentPreviewShipments ? : Array < FulfillmentPreviewShipment > ; type { Array < UnfulfillablePreviewItem > } memberof unfulfillablePreviewItems ? : Array < UnfulfillablePreviewItem > ; type { Array < string > } memberof orderUnfulfillableReasons ? : Array < string > ; type { string } memberof marketplaceId : string ; type { Array < FeatureSettings > } memberof featureConstraints ? : Array < FeatureSettings > ; } export interface export interface FulfillmentPreviewItem { type { string } memberof sellerSku : string ; type { number } memberof quantity : number ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { Weight } memberof estimatedShippingWeight ? : Weight ; type { string } memberof shippingWeightCalculationMethod ? : FulfillmentPreviewItemShippingWeightCalculationMethodEnum | 'Package' | 'Dimensional' ; } export enum { string } export enum FulfillmentPreviewItemShippingWeightCalculationMethodEnum { Package = 'Package' , Dimensional = 'Dimensional' } export interface export interface FulfillmentPreviewShipment { type { string } memberof earliestShipDate ? : string ; type { string } memberof latestShipDate ? : string ; type { string } memberof earliestArrivalDate ? : string ; type { string } memberof latestArrivalDate ? : string ; type { Array < string > } memberof shippingNotes ? : Array < string > ; type { Array < FulfillmentPreviewItem > } memberof fulfillmentPreviewItems : Array < FulfillmentPreviewItem > ; } export enum { string } export enum FulfillmentReturnItemStatus { New = 'New' , Processed = 'Processed' } export interface export interface FulfillmentShipment { type { string } memberof amazonShipmentId : string ; type { string } memberof fulfillmentCenterId : string ; type { string } memberof fulfillmentShipmentStatus : FulfillmentShipmentFulfillmentShipmentStatusEnum | 'PENDING' | 'SHIPPED' | 'CANCELLED_BY_FULFILLER' | 'CANCELLED_BY_SELLER' ; type { string } memberof shippingDate ? : string ; type { string } memberof estimatedArrivalDate ? : string ; type { Array < string > } memberof shippingNotes ? : Array < string > ; type { Array < FulfillmentShipmentItem > } memberof fulfillmentShipmentItem : Array < FulfillmentShipmentItem > ; type { Array < FulfillmentShipmentPackage > } memberof fulfillmentShipmentPackage ? : Array < FulfillmentShipmentPackage > ; } export enum { string } export enum FulfillmentShipmentFulfillmentShipmentStatusEnum { Pending = 'PENDING' , Shipped = 'SHIPPED' , CancelledByFulfiller = 'CANCELLED_BY_FULFILLER' , CancelledBySeller = 'CANCELLED_BY_SELLER' } export interface export interface FulfillmentShipmentItem { type { string } memberof sellerSku : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { number } memberof quantity : number ; type { number } memberof packageNumber ? : number ; type { string } memberof serialNumber ? : string ; } export interface export interface FulfillmentShipmentPackage { type { number } memberof packageNumber : number ; type { string } memberof carrierCode : string ; type { string } memberof trackingNumber ? : string ; type { string } memberof estimatedArrivalDate ? : string ; } export interface export interface GetFeatureInventoryResponse { type { GetFeatureInventoryResult } memberof payload ? : GetFeatureInventoryResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetFeatureInventoryResult { type { string } memberof marketplaceId : string ; type { string } memberof featureName : string ; type { string } memberof nextToken ? : string ; type { Array < FeatureSku > } memberof featureSkus ? : Array < FeatureSku > ; } export interface export interface GetFeatureSkuResponse { type { GetFeatureSkuResult } memberof payload ? : GetFeatureSkuResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetFeatureSkuResult { type { string } memberof marketplaceId : string ; type { string } memberof featureName : string ; type { boolean } memberof isEligible : boolean ; type { Array < string > } memberof ineligibleReasons ? : Array < string > ; type { FeatureSku } memberof skuInfo ? : FeatureSku ; } export interface export interface GetFeaturesResponse { type { GetFeaturesResult } memberof payload ? : GetFeaturesResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetFeaturesResult { type { Array < Feature > } memberof features : Array < Feature > ; } export interface export interface GetFulfillmentOrderResponse { type { GetFulfillmentOrderResult } memberof payload ? : GetFulfillmentOrderResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetFulfillmentOrderResult { type { FulfillmentOrder } memberof fulfillmentOrder : FulfillmentOrder ; type { Array < FulfillmentOrderItem > } memberof fulfillmentOrderItems : Array < FulfillmentOrderItem > ; type { Array < FulfillmentShipment > } memberof fulfillmentShipments ? : Array < FulfillmentShipment > ; type { Array < ReturnItem > } memberof returnItems : Array < ReturnItem > ; type { Array < ReturnAuthorization > } memberof returnAuthorizations : Array < ReturnAuthorization > ; } export interface export interface GetFulfillmentPreviewItem { type { string } memberof sellerSku : string ; type { number } memberof quantity : number ; type { Money } memberof perUnitDeclaredValue ? : Money ; type { string } memberof sellerFulfillmentOrderItemId : string ; } export interface export interface GetFulfillmentPreviewRequest { type { string } memberof marketplaceId ? : string ; type { Address } memberof address : Address ; type { Array < GetFulfillmentPreviewItem > } memberof items : Array < GetFulfillmentPreviewItem > ; type { Array < ShippingSpeedCategory > } memberof shippingSpeedCategories ? : Array < ( ShippingSpeedCategory | 'Standard' | 'Expedited' | 'Priority' | 'ScheduledDelivery' ) > ; type { boolean } memberof includeCODFulfillmentPreview ? : boolean ; type { boolean } memberof includeDeliveryWindows ? : boolean ; type { Array < FeatureSettings > } memberof featureConstraints ? : Array < FeatureSettings > ; } export interface export interface GetFulfillmentPreviewResponse { type { GetFulfillmentPreviewResult } memberof payload ? : GetFulfillmentPreviewResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetFulfillmentPreviewResult { type { Array < FulfillmentPreview > } memberof fulfillmentPreviews ? : Array < FulfillmentPreview > ; } export interface export interface GetPackageTrackingDetailsResponse { type { PackageTrackingDetails } memberof payload ? : PackageTrackingDetails ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface InvalidItemReason { type { InvalidItemReasonCode } memberof invalidItemReasonCode : InvalidItemReasonCode | 'InvalidValues' | 'DuplicateRequest' | 'NoCompletedShipItems' | 'NoReturnableQuantity' ; type { string } memberof description : string ; } export enum { string } export enum InvalidItemReasonCode { InvalidValues = 'InvalidValues' , DuplicateRequest = 'DuplicateRequest' , NoCompletedShipItems = 'NoCompletedShipItems' , NoReturnableQuantity = 'NoReturnableQuantity' } export interface export interface InvalidReturnItem { type { string } memberof sellerReturnItemId : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { InvalidItemReason } memberof invalidItemReason : InvalidItemReason ; } export interface export interface ListAllFulfillmentOrdersResponse { type { ListAllFulfillmentOrdersResult } memberof payload ? : ListAllFulfillmentOrdersResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface ListAllFulfillmentOrdersResult { type { string } memberof nextToken ? : string ; type { Array < FulfillmentOrder > } memberof fulfillmentOrders ? : Array < FulfillmentOrder > ; } export interface export interface ListReturnReasonCodesResponse { type { ListReturnReasonCodesResult } memberof payload ? : ListReturnReasonCodesResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface ListReturnReasonCodesResult { type { Array < ReasonCodeDetails > } memberof reasonCodeDetails ? : Array < ReasonCodeDetails > ; } export interface export interface ModelError { type { string } memberof code : string ; type { string } memberof message : string ; type { string } memberof details ? : string ; } export interface export interface Money { type { string } memberof currencyCode : string ; type { string } memberof value : string ; } export interface export interface PackageTrackingDetails { type { number } memberof packageNumber : number ; type { string } memberof trackingNumber ? : string ; type { string } memberof customerTrackingLink ? : string ; type { string } memberof carrierCode ? : string ; type { string } memberof carrierPhoneNumber ? : string ; type { string } memberof carrierURL ? : string ; type { string } memberof shipDate ? : string ; type { string } memberof estimatedArrivalDate ? : string ; type { TrackingAddress } memberof shipToAddress ? : TrackingAddress ; type { CurrentStatus } memberof currentStatus ? : CurrentStatus | 'IN_TRANSIT' | 'DELIVERED' | 'RETURNING' | 'RETURNED' | 'UNDELIVERABLE' | 'DELAYED' | 'AVAILABLE_FOR_PICKUP' | 'CUSTOMER_ACTION' ; type { string } memberof currentStatusDescription ? : string ; type { string } memberof signedForBy ? : string ; type { AdditionalLocationInfo } memberof additionalLocationInfo ? : AdditionalLocationInfo | 'AS_INSTRUCTED' | 'CARPORT' | 'CUSTOMER_PICKUP' | 'DECK' | 'DOOR_PERSON' | 'FRONT_DESK' | 'FRONT_DOOR' | 'GARAGE' | 'GUARD' | 'MAIL_ROOM' | 'MAIL_SLOT' | 'MAILBOX' | 'MC_BOY' | 'MC_GIRL' | 'MC_MAN' | 'MC_WOMAN' | 'NEIGHBOR' | 'OFFICE' | 'OUTBUILDING' | 'PATIO' | 'PORCH' | 'REAR_DOOR' | 'RECEPTIONIST' | 'RECEIVER' | 'SECURE_LOCATION' | 'SIDE_DOOR' ; type { Array < TrackingEvent > } memberof trackingEvents ? : Array < TrackingEvent > ; } export interface export interface ReasonCodeDetails { type { string } memberof returnReasonCode : string ; type { string } memberof description : string ; type { string } memberof translatedDescription ? : string ; } export interface export interface ReturnAuthorization { type { string } memberof returnAuthorizationId : string ; type { string } memberof fulfillmentCenterId : string ; type { Address } memberof returnToAddress : Address ; type { string } memberof amazonRmaId : string ; type { string } memberof rmaPageURL : string ; } export interface export interface ReturnItem { type { string } memberof sellerReturnItemId : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { string } memberof amazonShipmentId : string ; type { string } memberof sellerReturnReasonCode : string ; type { string } memberof returnComment ? : string ; type { string } memberof amazonReturnReasonCode ? : string ; type { FulfillmentReturnItemStatus } memberof status : FulfillmentReturnItemStatus | 'New' | 'Processed' ; type { string } memberof statusChangedDate : string ; type { string } memberof returnAuthorizationId ? : string ; type { ReturnItemDisposition } memberof returnReceivedCondition ? : ReturnItemDisposition | 'Sellable' | 'Defective' | 'CustomerDamaged' | 'CarrierDamaged' | 'FulfillerDamaged' ; type { string } memberof fulfillmentCenterId ? : string ; } export enum { string } export enum ReturnItemDisposition { Sellable = 'Sellable' , Defective = 'Defective' , CustomerDamaged = 'CustomerDamaged' , CarrierDamaged = 'CarrierDamaged' , FulfillerDamaged = 'FulfillerDamaged' } export interface export interface ScheduledDeliveryInfo { type { string } memberof deliveryTimeZone : string ; type { Array < DeliveryWindow > } memberof deliveryWindows : Array < DeliveryWindow > ; } export enum { string } export enum ShippingSpeedCategory { Standard = 'Standard' , Expedited = 'Expedited' , Priority = 'Priority' , ScheduledDelivery = 'ScheduledDelivery' } export interface export interface TrackingAddress { type { string } memberof city : string ; type { string } memberof state : string ; type { string } memberof country : string ; } export interface export interface TrackingEvent { type { string } memberof eventDate : string ; type { TrackingAddress } memberof eventAddress : TrackingAddress ; type { EventCode } memberof eventCode : EventCode | 'EVENT_101' | 'EVENT_102' | 'EVENT_201' | 'EVENT_202' | 'EVENT_203' | 'EVENT_204' | 'EVENT_205' | 'EVENT_206' | 'EVENT_301' | 'EVENT_302' | 'EVENT_304' | 'EVENT_306' | 'EVENT_307' | 'EVENT_308' | 'EVENT_309' | 'EVENT_401' | 'EVENT_402' | 'EVENT_403' | 'EVENT_404' | 'EVENT_405' | 'EVENT_406' | 'EVENT_407' | 'EVENT_408' | 'EVENT_409' | 'EVENT_411' | 'EVENT_412' | 'EVENT_413' | 'EVENT_414' | 'EVENT_415' | 'EVENT_416' | 'EVENT_417' | 'EVENT_418' | 'EVENT_419' ; type { string } memberof eventDescription : string ; } export interface export interface UnfulfillablePreviewItem { type { string } memberof sellerSku : string ; type { number } memberof quantity : number ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { Array < string > } memberof itemUnfulfillableReasons ? : Array < string > ; } export interface export interface UpdateFulfillmentOrderItem { type { string } memberof sellerSku ? : string ; type { string } memberof sellerFulfillmentOrderItemId : string ; type { number } memberof quantity : number ; type { string } memberof giftMessage ? : string ; type { string } memberof displayableComment ? : string ; type { string } memberof fulfillmentNetworkSku ? : string ; type { string } memberof orderItemDisposition ? : string ; type { Money } memberof perUnitDeclaredValue ? : Money ; type { Money } memberof perUnitPrice ? : Money ; type { Money } memberof perUnitTax ? : Money ; } export interface export interface UpdateFulfillmentOrderRequest { type { string } memberof marketplaceId ? : string ; type { string } memberof displayableOrderId ? : string ; type { string } memberof displayableOrderDate ? : string ; type { string } memberof displayableOrderComment ? : string ; type { ShippingSpeedCategory } memberof shippingSpeedCategory ? : ShippingSpeedCategory | 'Standard' | 'Expedited' | 'Priority' | 'ScheduledDelivery' ; type { Address } memberof destinationAddress ? : Address ; type { FulfillmentAction } memberof fulfillmentAction ? : FulfillmentAction | 'Ship' | 'Hold' ; type { FulfillmentPolicy } memberof fulfillmentPolicy ? : FulfillmentPolicy | 'FillOrKill' | 'FillAll' | 'FillAllAvailable' ; type { string } memberof shipFromCountryCode ? : string ; type { Array < string > } memberof notificationEmails ? : Array < string > ; type { Array < FeatureSettings > } memberof featureConstraints ? : Array < FeatureSettings > ; type { Array < UpdateFulfillmentOrderItem > } memberof items ? : Array < UpdateFulfillmentOrderItem > ; } export interface export interface UpdateFulfillmentOrderResponse { type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface Weight { type { string } memberof unit : WeightUnitEnum | 'KG' | 'KILOGRAMS' | 'LB' | 'POUNDS' ; type { string } memberof value : string ; } export enum { string } export enum WeightUnitEnum { Kg = 'KG' , Kilograms = 'KILOGRAMS' , Lb = 'LB' , Pounds = 'POUNDS' } export export const FbaOutboundApiAxiosParamCreator = function ( configuration ? ) { return { param { string } sellerFulfillmentOrderId param { * } options throws cancelFulfillmentOrder : async ( sellerFulfillmentOrderId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'cancelFulfillmentOrder' , 'sellerFulfillmentOrderId' , sellerFulfillmentOrderId ) ; const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel` . replace ( `{${ "sellerFulfillmentOrderId" }}` , encodeURIComponent ( String ( sellerFulfillmentOrderId ) ) ) ; 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 ; 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 { CreateFulfillmentOrderRequest } body param { * } options throws createFulfillmentOrder : async ( body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'createFulfillmentOrder' , 'body' , body ) ; const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders` ; 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 } sellerFulfillmentOrderId param { CreateFulfillmentReturnRequest } body param { * } options throws createFulfillmentReturn : async ( sellerFulfillmentOrderId , body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'createFulfillmentReturn' , 'sellerFulfillmentOrderId' , sellerFulfillmentOrderId ) ; assertParamExists ( 'createFulfillmentReturn' , 'body' , body ) ; const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return` . replace ( `{${ "sellerFulfillmentOrderId" }}` , encodeURIComponent ( String ( sellerFulfillmentOrderId ) ) ) ; 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 } marketplaceId param { string } featureName param { string } nextToken param { * } options throws getFeatureInventory : async ( marketplaceId , featureName , nextToken ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getFeatureInventory' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getFeatureInventory' , 'featureName' , featureName ) ; const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}` . replace ( `{${ "featureName" }}` , encodeURIComponent ( String ( featureName ) ) ) ; 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 ( nextToken !== undefined ) { localVarQueryParameter [ 'nextToken' ] = nextToken ; } 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 { string } featureName param { string } sellerSku param { * } options throws getFeatureSKU : async ( marketplaceId , featureName , sellerSku , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getFeatureSKU' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getFeatureSKU' , 'featureName' , featureName ) ; assertParamExists ( 'getFeatureSKU' , 'sellerSku' , sellerSku ) ; const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}` . replace ( `{${ "featureName" }}` , encodeURIComponent ( String ( featureName ) ) ) . replace ( `{${ "sellerSku" }}` , encodeURIComponent ( String ( sellerSku ) ) ) ; 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 } marketplaceId param { * } options throws getFeatures : async ( marketplaceId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getFeatures' , 'marketplaceId' , marketplaceId ) ; const localVarPath = `/fba/outbound/2020-07-01/features` ; 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 } sellerFulfillmentOrderId param { * } options throws getFulfillmentOrder : async ( sellerFulfillmentOrderId , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getFulfillmentOrder' , 'sellerFulfillmentOrderId' , sellerFulfillmentOrderId ) ; const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}` . replace ( `{${ "sellerFulfillmentOrderId" }}` , encodeURIComponent ( String ( sellerFulfillmentOrderId ) ) ) ; 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 { GetFulfillmentPreviewRequest } body param { * } options throws getFulfillmentPreview : async ( body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getFulfillmentPreview' , 'body' , body ) ; const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/preview` ; 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 { number } packageNumber param { * } options throws getPackageTrackingDetails : async ( packageNumber , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getPackageTrackingDetails' , 'packageNumber' , packageNumber ) ; const localVarPath = `/fba/outbound/2020-07-01/tracking` ; 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 ( packageNumber !== undefined ) { localVarQueryParameter [ 'packageNumber' ] = packageNumber ; } 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 } queryStartDate param { string } nextToken param { * } options throws listAllFulfillmentOrders : async ( queryStartDate ? , nextToken ? , options = { } ) : Promise < RequestArgs > => { const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders` ; 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 ( queryStartDate !== undefined ) { localVarQueryParameter [ 'queryStartDate' ] = ( queryStartDate as any instanceof Date ) ? ( queryStartDate as any ) . toISOString ( ) : queryStartDate ; } if ( nextToken !== undefined ) { localVarQueryParameter [ 'nextToken' ] = nextToken ; } 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 } sellerSku param { string } language param { string } marketplaceId param { string } sellerFulfillmentOrderId param { * } options throws listReturnReasonCodes : async ( sellerSku , language , marketplaceId ? , sellerFulfillmentOrderId ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'listReturnReasonCodes' , 'sellerSku' , sellerSku ) ; assertParamExists ( 'listReturnReasonCodes' , 'language' , language ) ; const localVarPath = `/fba/outbound/2020-07-01/returnReasonCodes` ; 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 ( sellerSku !== undefined ) { localVarQueryParameter [ 'sellerSku' ] = sellerSku ; } if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'marketplaceId' ] = marketplaceId ; } if ( sellerFulfillmentOrderId !== undefined ) { localVarQueryParameter [ 'sellerFulfillmentOrderId' ] = sellerFulfillmentOrderId ; } if ( language !== undefined ) { localVarQueryParameter [ 'language' ] = language ; } 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 } sellerFulfillmentOrderId param { UpdateFulfillmentOrderRequest } body param { * } options throws updateFulfillmentOrder : async ( sellerFulfillmentOrderId , body , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'updateFulfillmentOrder' , 'sellerFulfillmentOrderId' , sellerFulfillmentOrderId ) ; assertParamExists ( 'updateFulfillmentOrder' , 'body' , body ) ; const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}` . replace ( `{${ "sellerFulfillmentOrderId" }}` , encodeURIComponent ( String ( sellerFulfillmentOrderId ) ) ) ; 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 , } ; } , } ; } ; export export const FbaOutboundApiFp = function ( configuration ? ) { const localVarAxiosParamCreator = FbaOutboundApiAxiosParamCreator ( configuration ) ; return { param { string } sellerFulfillmentOrderId param { * } options throws async cancelFulfillmentOrder ( sellerFulfillmentOrderId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . cancelFulfillmentOrder ( sellerFulfillmentOrderId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { CreateFulfillmentOrderRequest } body param { * } options throws async createFulfillmentOrder ( body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . createFulfillmentOrder ( body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } sellerFulfillmentOrderId param { CreateFulfillmentReturnRequest } body param { * } options throws async createFulfillmentReturn ( sellerFulfillmentOrderId , body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . createFulfillmentReturn ( sellerFulfillmentOrderId , body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { string } featureName param { string } nextToken param { * } options throws async getFeatureInventory ( marketplaceId , featureName , nextToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getFeatureInventory ( marketplaceId , featureName , nextToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { string } featureName param { string } sellerSku param { * } options throws async getFeatureSKU ( marketplaceId , featureName , sellerSku , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getFeatureSKU ( marketplaceId , featureName , sellerSku , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { * } options throws async getFeatures ( marketplaceId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getFeatures ( marketplaceId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } sellerFulfillmentOrderId param { * } options throws async getFulfillmentOrder ( sellerFulfillmentOrderId , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getFulfillmentOrder ( sellerFulfillmentOrderId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { GetFulfillmentPreviewRequest } body param { * } options throws async getFulfillmentPreview ( body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getFulfillmentPreview ( body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { number } packageNumber param { * } options throws async getPackageTrackingDetails ( packageNumber , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getPackageTrackingDetails ( packageNumber , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } queryStartDate param { string } nextToken param { * } options throws async listAllFulfillmentOrders ( queryStartDate ? , nextToken ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . listAllFulfillmentOrders ( queryStartDate , nextToken , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } sellerSku param { string } language param { string } marketplaceId param { string } sellerFulfillmentOrderId param { * } options throws async listReturnReasonCodes ( sellerSku , language , marketplaceId ? , sellerFulfillmentOrderId ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . listReturnReasonCodes ( sellerSku , language , marketplaceId , sellerFulfillmentOrderId , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } sellerFulfillmentOrderId param { UpdateFulfillmentOrderRequest } body param { * } options throws async updateFulfillmentOrder ( sellerFulfillmentOrderId , body , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . updateFulfillmentOrder ( sellerFulfillmentOrderId , body , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , } ; } ; export export const FbaOutboundApiFactory = function ( configuration ? , basePath ? , axios ? ) { const localVarFp = FbaOutboundApiFp ( configuration ) ; return { param { string } sellerFulfillmentOrderId param { * } options throws cancelFulfillmentOrder ( sellerFulfillmentOrderId , options ? ) { return localVarFp . cancelFulfillmentOrder ( sellerFulfillmentOrderId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { CreateFulfillmentOrderRequest } body param { * } options throws createFulfillmentOrder ( body , options ? ) { return localVarFp . createFulfillmentOrder ( body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } sellerFulfillmentOrderId param { CreateFulfillmentReturnRequest } body param { * } options throws createFulfillmentReturn ( sellerFulfillmentOrderId , body , options ? ) { return localVarFp . createFulfillmentReturn ( sellerFulfillmentOrderId , body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { string } featureName param { string } nextToken param { * } options throws getFeatureInventory ( marketplaceId , featureName , nextToken ? , options ? ) { return localVarFp . getFeatureInventory ( marketplaceId , featureName , nextToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { string } featureName param { string } sellerSku param { * } options throws getFeatureSKU ( marketplaceId , featureName , sellerSku , options ? ) { return localVarFp . getFeatureSKU ( marketplaceId , featureName , sellerSku , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { * } options throws getFeatures ( marketplaceId , options ? ) { return localVarFp . getFeatures ( marketplaceId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } sellerFulfillmentOrderId param { * } options throws getFulfillmentOrder ( sellerFulfillmentOrderId , options ? ) { return localVarFp . getFulfillmentOrder ( sellerFulfillmentOrderId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { GetFulfillmentPreviewRequest } body param { * } options throws getFulfillmentPreview ( body , options ? ) { return localVarFp . getFulfillmentPreview ( body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { number } packageNumber param { * } options throws getPackageTrackingDetails ( packageNumber , options ? ) { return localVarFp . getPackageTrackingDetails ( packageNumber , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } queryStartDate param { string } nextToken param { * } options throws listAllFulfillmentOrders ( queryStartDate ? , nextToken ? , options ? ) { return localVarFp . listAllFulfillmentOrders ( queryStartDate , nextToken , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } sellerSku param { string } language param { string } marketplaceId param { string } sellerFulfillmentOrderId param { * } options throws listReturnReasonCodes ( sellerSku , language , marketplaceId ? , sellerFulfillmentOrderId ? , options ? ) { return localVarFp . listReturnReasonCodes ( sellerSku , language , marketplaceId , sellerFulfillmentOrderId , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } sellerFulfillmentOrderId param { UpdateFulfillmentOrderRequest } body param { * } options throws updateFulfillmentOrder ( sellerFulfillmentOrderId , body , options ? ) { return localVarFp . updateFulfillmentOrder ( sellerFulfillmentOrderId , body , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , } ; } ; export interface export interface FbaOutboundApiCancelFulfillmentOrderRequest { type { string } memberof readonly sellerFulfillmentOrderId : string ; } export interface export interface FbaOutboundApiCreateFulfillmentOrderRequest { type { CreateFulfillmentOrderRequest } memberof readonly body : CreateFulfillmentOrderRequest ; } export interface export interface FbaOutboundApiCreateFulfillmentReturnRequest { type { string } memberof readonly sellerFulfillmentOrderId : string ; type { CreateFulfillmentReturnRequest } memberof readonly body : CreateFulfillmentReturnRequest ; } export interface export interface FbaOutboundApiGetFeatureInventoryRequest { type { string } memberof readonly marketplaceId : string ; type { string } memberof readonly featureName : string ; type { string } memberof readonly nextToken ? : string ; } export interface export interface FbaOutboundApiGetFeatureSKURequest { type { string } memberof readonly marketplaceId : string ; type { string } memberof readonly featureName : string ; type { string } memberof readonly sellerSku : string ; } export interface export interface FbaOutboundApiGetFeaturesRequest { type { string } memberof readonly marketplaceId : string ; } export interface export interface FbaOutboundApiGetFulfillmentOrderRequest { type { string } memberof readonly sellerFulfillmentOrderId : string ; } export interface export interface FbaOutboundApiGetFulfillmentPreviewRequest { type { GetFulfillmentPreviewRequest } memberof readonly body : GetFulfillmentPreviewRequest ; } export interface export interface FbaOutboundApiGetPackageTrackingDetailsRequest { type { number } memberof readonly packageNumber : number ; } export interface export interface FbaOutboundApiListAllFulfillmentOrdersRequest { type { string } memberof readonly queryStartDate ? : string ; type { string } memberof readonly nextToken ? : string ; } export interface export interface FbaOutboundApiListReturnReasonCodesRequest { type { string } memberof readonly sellerSku : string ; type { string } memberof readonly language : string ; type { string } memberof readonly marketplaceId ? : string ; type { string } memberof readonly sellerFulfillmentOrderId ? : string ; } export interface export interface FbaOutboundApiUpdateFulfillmentOrderRequest { type { string } memberof readonly sellerFulfillmentOrderId : string ; type { UpdateFulfillmentOrderRequest } memberof readonly body : UpdateFulfillmentOrderRequest ; } export class extends BaseAPI export class FbaOutboundApi extends BaseAPI { param { FbaOutboundApiCancelFulfillmentOrderRequest } requestParameters param { * } options throws memberof public cancelFulfillmentOrder ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . cancelFulfillmentOrder ( requestParameters . sellerFulfillmentOrderId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiCreateFulfillmentOrderRequest } requestParameters param { * } options throws memberof public createFulfillmentOrder ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . createFulfillmentOrder ( requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiCreateFulfillmentReturnRequest } requestParameters param { * } options throws memberof public createFulfillmentReturn ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . createFulfillmentReturn ( requestParameters . sellerFulfillmentOrderId , requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiGetFeatureInventoryRequest } requestParameters param { * } options throws memberof public getFeatureInventory ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . getFeatureInventory ( requestParameters . marketplaceId , requestParameters . featureName , requestParameters . nextToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiGetFeatureSKURequest } requestParameters param { * } options throws memberof public getFeatureSKU ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . getFeatureSKU ( requestParameters . marketplaceId , requestParameters . featureName , requestParameters . sellerSku , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiGetFeaturesRequest } requestParameters param { * } options throws memberof public getFeatures ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . getFeatures ( requestParameters . marketplaceId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiGetFulfillmentOrderRequest } requestParameters param { * } options throws memberof public getFulfillmentOrder ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . getFulfillmentOrder ( requestParameters . sellerFulfillmentOrderId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiGetFulfillmentPreviewRequest } requestParameters param { * } options throws memberof public getFulfillmentPreview ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . getFulfillmentPreview ( requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiGetPackageTrackingDetailsRequest } requestParameters param { * } options throws memberof public getPackageTrackingDetails ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . getPackageTrackingDetails ( requestParameters . packageNumber , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiListAllFulfillmentOrdersRequest } requestParameters param { * } options throws memberof public listAllFulfillmentOrders ( requestParameters = { } , options ? ) { return FbaOutboundApiFp ( this . configuration ) . listAllFulfillmentOrders ( requestParameters . queryStartDate , requestParameters . nextToken , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiListReturnReasonCodesRequest } requestParameters param { * } options throws memberof public listReturnReasonCodes ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . listReturnReasonCodes ( requestParameters . sellerSku , requestParameters . language , requestParameters . marketplaceId , requestParameters . sellerFulfillmentOrderId , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { FbaOutboundApiUpdateFulfillmentOrderRequest } requestParameters param { * } options throws memberof public updateFulfillmentOrder ( requestParameters , options ? ) { return FbaOutboundApiFp ( this . configuration ) . updateFulfillmentOrder ( requestParameters . sellerFulfillmentOrderId , requestParameters . body , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } }