@amazon-sp-api-release/amazon-sp-api-sdk-js 1.6.1-alpha.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/helper/DefaultRateLimitMap.mjs +6 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/src/awd_v2024_05_09/api/AwdApi.d.ts +74 -0
- package/src/awd_v2024_05_09/api/AwdApi.d.ts.map +1 -1
- package/src/awd_v2024_05_09/api/AwdApi.js +201 -0
- package/src/awd_v2024_05_09/index.d.ts +12 -1
- package/src/awd_v2024_05_09/index.d.ts.map +1 -1
- package/src/awd_v2024_05_09/index.js +78 -1
- package/src/awd_v2024_05_09/model/ConfirmationMode.d.ts +24 -0
- package/src/awd_v2024_05_09/model/ConfirmationMode.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ConfirmationMode.js +42 -0
- package/src/awd_v2024_05_09/model/DistributionIneligibleReason.d.ts +33 -0
- package/src/awd_v2024_05_09/model/DistributionIneligibleReason.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/DistributionIneligibleReason.js +83 -0
- package/src/awd_v2024_05_09/model/DistributionProduct.d.ts +34 -0
- package/src/awd_v2024_05_09/model/DistributionProduct.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/DistributionProduct.js +84 -0
- package/src/awd_v2024_05_09/model/OutboundShipmentStatus.d.ts +54 -0
- package/src/awd_v2024_05_09/model/OutboundShipmentStatus.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/OutboundShipmentStatus.js +78 -0
- package/src/awd_v2024_05_09/model/OutboundShipmentSummary.d.ts +42 -0
- package/src/awd_v2024_05_09/model/OutboundShipmentSummary.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/OutboundShipmentSummary.js +101 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrder.d.ts +75 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrder.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrder.js +144 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderCreationData.d.ts +29 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderCreationData.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderCreationData.js +72 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderListing.d.ts +29 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderListing.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderListing.js +72 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderReference.d.ts +25 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderReference.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderReference.js +65 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderStatus.d.ts +59 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderStatus.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ReplenishmentOrderStatus.js +84 -0
- package/src/awd_v2024_05_09/model/ReplenishmentPreferences.d.ts +22 -0
- package/src/awd_v2024_05_09/model/ReplenishmentPreferences.d.ts.map +1 -0
- package/src/awd_v2024_05_09/model/ReplenishmentPreferences.js +63 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts +6 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts.map +1 -1
- package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.js +8 -0
- package/src/finances_2024_06_19/ApiClient.js +1 -1
- package/src/finances_2024_06_19/api/DefaultApi.d.ts +18 -8
- package/src/finances_2024_06_19/api/DefaultApi.d.ts.map +1 -1
- package/src/finances_2024_06_19/api/DefaultApi.js +17 -16
- package/src/finances_2024_06_19/index.js +2 -2
- package/src/finances_2024_06_19/model/AmazonPayContext.d.ts +2 -2
- package/src/finances_2024_06_19/model/AmazonPayContext.js +3 -3
- package/src/finances_2024_06_19/model/Breakdown.js +2 -2
- package/src/finances_2024_06_19/model/BusinessContext.js +1 -1
- package/src/finances_2024_06_19/model/Context.d.ts +12 -12
- package/src/finances_2024_06_19/model/Context.js +26 -26
- package/src/finances_2024_06_19/model/Currency.d.ts +1 -1
- package/src/finances_2024_06_19/model/Currency.js +2 -2
- package/src/finances_2024_06_19/model/DeferredContext.d.ts +1 -1
- package/src/finances_2024_06_19/model/DeferredContext.js +3 -3
- package/src/finances_2024_06_19/model/Error.d.ts +1 -1
- package/src/finances_2024_06_19/model/Error.js +2 -2
- package/src/finances_2024_06_19/model/ErrorList.d.ts +1 -1
- package/src/finances_2024_06_19/model/ErrorList.js +3 -3
- package/src/finances_2024_06_19/model/Item.d.ts +3 -3
- package/src/finances_2024_06_19/model/Item.js +5 -5
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.d.ts +1 -1
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +2 -2
- package/src/finances_2024_06_19/model/ListTransactionsResponse.js +1 -1
- package/src/finances_2024_06_19/model/MarketplaceDetails.d.ts +1 -1
- package/src/finances_2024_06_19/model/MarketplaceDetails.js +2 -2
- package/src/finances_2024_06_19/model/PaymentsContext.d.ts +4 -4
- package/src/finances_2024_06_19/model/PaymentsContext.js +6 -6
- package/src/finances_2024_06_19/model/ProductContext.d.ts +4 -4
- package/src/finances_2024_06_19/model/ProductContext.js +5 -5
- package/src/finances_2024_06_19/model/RelatedIdentifier.d.ts +2 -2
- package/src/finances_2024_06_19/model/RelatedIdentifier.js +3 -3
- package/src/finances_2024_06_19/model/SellingPartnerMetadata.d.ts +2 -2
- package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +4 -4
- package/src/finances_2024_06_19/model/TimeRangeContext.d.ts +2 -2
- package/src/finances_2024_06_19/model/TimeRangeContext.js +4 -4
- package/src/finances_2024_06_19/model/Transaction.d.ts +6 -6
- package/src/finances_2024_06_19/model/Transaction.js +8 -8
- package/src/finances_2024_06_19/model/TransactionsPayload.d.ts +2 -2
- package/src/finances_2024_06_19/model/TransactionsPayload.js +3 -3
- package/src/finances_v0/ApiClient.js +1 -1
- package/src/finances_v0/api/DefaultApi.d.ts +36 -36
- package/src/finances_v0/api/DefaultApi.js +37 -37
- package/src/finances_v0/index.d.ts +2 -1
- package/src/finances_v0/index.d.ts.map +1 -1
- package/src/finances_v0/index.js +9 -2
- package/src/finances_v0/model/AdhocDisbursementEvent.d.ts +2 -2
- package/src/finances_v0/model/AdhocDisbursementEvent.js +3 -3
- package/src/finances_v0/model/AdjustmentEvent.d.ts +2 -2
- package/src/finances_v0/model/AdjustmentEvent.js +3 -3
- package/src/finances_v0/model/AdjustmentItem.d.ts +1 -1
- package/src/finances_v0/model/AdjustmentItem.js +2 -2
- package/src/finances_v0/model/AffordabilityExpenseEvent.d.ts +3 -3
- package/src/finances_v0/model/AffordabilityExpenseEvent.js +4 -4
- package/src/finances_v0/model/CapacityReservationBillingEvent.d.ts +2 -2
- package/src/finances_v0/model/CapacityReservationBillingEvent.js +3 -3
- package/src/finances_v0/model/ChargeComponent.js +2 -2
- package/src/finances_v0/model/ChargeInstrument.js +1 -1
- package/src/finances_v0/model/ChargeRefundEvent.d.ts +3 -3
- package/src/finances_v0/model/ChargeRefundEvent.js +4 -4
- package/src/finances_v0/model/ChargeRefundTransaction.js +1 -1
- package/src/finances_v0/model/CouponPaymentEvent.d.ts +1 -1
- package/src/finances_v0/model/CouponPaymentEvent.js +2 -2
- package/src/finances_v0/model/Currency.d.ts +1 -1
- package/src/finances_v0/model/Currency.js +2 -2
- package/src/finances_v0/model/DebtRecoveryEvent.d.ts +1 -1
- package/src/finances_v0/model/DebtRecoveryEvent.js +2 -2
- package/src/finances_v0/model/DebtRecoveryItem.d.ts +2 -2
- package/src/finances_v0/model/DebtRecoveryItem.js +3 -3
- package/src/finances_v0/model/DirectPayment.d.ts +1 -1
- package/src/finances_v0/model/DirectPayment.js +2 -2
- package/src/finances_v0/model/EBTRefundReimbursementOnlyEvent.d.ts +34 -0
- package/src/finances_v0/model/EBTRefundReimbursementOnlyEvent.d.ts.map +1 -0
- package/src/finances_v0/model/EBTRefundReimbursementOnlyEvent.js +79 -0
- package/src/finances_v0/model/Error.js +1 -1
- package/src/finances_v0/model/FBALiquidationEvent.d.ts +1 -1
- package/src/finances_v0/model/FBALiquidationEvent.js +2 -2
- package/src/finances_v0/model/FailedAdhocDisbursementEvent.d.ts +4 -4
- package/src/finances_v0/model/FailedAdhocDisbursementEvent.js +5 -5
- package/src/finances_v0/model/FeeComponent.js +1 -1
- package/src/finances_v0/model/FinancialEventGroup.d.ts +4 -4
- package/src/finances_v0/model/FinancialEventGroup.js +5 -5
- package/src/finances_v0/model/FinancialEvents.d.ts +13 -6
- package/src/finances_v0/model/FinancialEvents.d.ts.map +1 -1
- package/src/finances_v0/model/FinancialEvents.js +17 -8
- package/src/finances_v0/model/ImagingServicesFeeEvent.d.ts +1 -1
- package/src/finances_v0/model/ImagingServicesFeeEvent.js +2 -2
- package/src/finances_v0/model/ListFinancialEventGroupsPayload.js +2 -2
- package/src/finances_v0/model/ListFinancialEventGroupsResponse.js +2 -2
- package/src/finances_v0/model/ListFinancialEventsPayload.js +2 -2
- package/src/finances_v0/model/ListFinancialEventsResponse.js +2 -2
- package/src/finances_v0/model/LoanServicingEvent.d.ts +1 -1
- package/src/finances_v0/model/LoanServicingEvent.js +2 -2
- package/src/finances_v0/model/NetworkComminglingTransactionEvent.d.ts +2 -2
- package/src/finances_v0/model/NetworkComminglingTransactionEvent.js +3 -3
- package/src/finances_v0/model/PayWithAmazonEvent.d.ts +4 -4
- package/src/finances_v0/model/PayWithAmazonEvent.js +5 -5
- package/src/finances_v0/model/ProductAdsPaymentEvent.d.ts +3 -3
- package/src/finances_v0/model/ProductAdsPaymentEvent.js +4 -4
- package/src/finances_v0/model/Promotion.js +1 -1
- package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.d.ts +3 -3
- package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.js +4 -4
- package/src/finances_v0/model/RemovalShipmentEvent.d.ts +4 -4
- package/src/finances_v0/model/RemovalShipmentEvent.js +5 -5
- package/src/finances_v0/model/RemovalShipmentItem.d.ts +1 -1
- package/src/finances_v0/model/RemovalShipmentItem.js +2 -2
- package/src/finances_v0/model/RemovalShipmentItemAdjustment.d.ts +2 -2
- package/src/finances_v0/model/RemovalShipmentItemAdjustment.js +3 -3
- package/src/finances_v0/model/RentalTransactionEvent.d.ts +3 -3
- package/src/finances_v0/model/RentalTransactionEvent.js +4 -4
- package/src/finances_v0/model/RetrochargeEvent.d.ts +2 -2
- package/src/finances_v0/model/RetrochargeEvent.js +3 -3
- package/src/finances_v0/model/SAFETReimbursementEvent.d.ts +2 -2
- package/src/finances_v0/model/SAFETReimbursementEvent.js +3 -3
- package/src/finances_v0/model/SAFETReimbursementItem.js +1 -1
- package/src/finances_v0/model/SellerDealPaymentEvent.d.ts +3 -3
- package/src/finances_v0/model/SellerDealPaymentEvent.js +4 -4
- package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.d.ts +1 -1
- package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.js +2 -2
- package/src/finances_v0/model/ServiceFeeEvent.js +1 -1
- package/src/finances_v0/model/ShipmentEvent.d.ts +1 -1
- package/src/finances_v0/model/ShipmentEvent.js +2 -2
- package/src/finances_v0/model/ShipmentItem.js +1 -1
- package/src/finances_v0/model/SolutionProviderCreditEvent.d.ts +1 -1
- package/src/finances_v0/model/SolutionProviderCreditEvent.js +2 -2
- package/src/finances_v0/model/TDSReimbursementEvent.d.ts +1 -1
- package/src/finances_v0/model/TDSReimbursementEvent.js +2 -2
- package/src/finances_v0/model/TaxWithheldComponent.d.ts +1 -1
- package/src/finances_v0/model/TaxWithheldComponent.js +2 -2
- package/src/finances_v0/model/TaxWithholdingEvent.d.ts +1 -1
- package/src/finances_v0/model/TaxWithholdingEvent.js +3 -3
- package/src/finances_v0/model/TaxWithholdingPeriod.d.ts +2 -2
- package/src/finances_v0/model/TaxWithholdingPeriod.js +4 -4
- package/src/finances_v0/model/TrialShipmentEvent.d.ts +1 -1
- package/src/finances_v0/model/TrialShipmentEvent.js +2 -2
- package/src/finances_v0/model/ValueAddedServiceChargeEvent.d.ts +2 -2
- package/src/finances_v0/model/ValueAddedServiceChargeEvent.js +3 -3
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.d.ts +90 -90
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +90 -90
- package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.d.ts +1 -1
- package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.js +2 -2
- package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.d.ts +1 -1
- package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.js +2 -2
- package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.d.ts +4 -14
- package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.d.ts.map +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +11 -12
- package/src/invoices_v2024_06_19/api/InvoicesApi.d.ts +71 -0
- package/src/invoices_v2024_06_19/api/InvoicesApi.d.ts.map +1 -1
- package/src/invoices_v2024_06_19/api/InvoicesApi.js +206 -0
- package/src/invoices_v2024_06_19/index.d.ts +8 -1
- package/src/invoices_v2024_06_19/index.d.ts.map +1 -1
- package/src/invoices_v2024_06_19/index.js +49 -0
- package/src/invoices_v2024_06_19/model/CarrierDetailsContext.d.ts +64 -0
- package/src/invoices_v2024_06_19/model/CarrierDetailsContext.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/CarrierDetailsContext.js +119 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus.d.ts +29 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceCreationStatus.js +48 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceRequest.d.ts +44 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceRequest.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceRequest.js +112 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse.d.ts +35 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse.js +80 -0
- package/src/invoices_v2024_06_19/model/GovtInvoiceDocumentResponse.d.ts +22 -0
- package/src/invoices_v2024_06_19/model/GovtInvoiceDocumentResponse.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/GovtInvoiceDocumentResponse.js +63 -0
- package/src/invoices_v2024_06_19/model/InvoiceDocument.d.ts +22 -0
- package/src/invoices_v2024_06_19/model/InvoiceDocument.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/InvoiceDocument.js +63 -0
- package/src/invoices_v2024_06_19/model/InvoiceError.d.ts +28 -0
- package/src/invoices_v2024_06_19/model/InvoiceError.d.ts.map +1 -0
- package/src/invoices_v2024_06_19/model/InvoiceError.js +71 -0
- package/src/messaging_v1/api/MessagingApi.d.ts +0 -18
- package/src/messaging_v1/api/MessagingApi.d.ts.map +1 -1
- package/src/messaging_v1/api/MessagingApi.js +0 -64
- package/src/messaging_v1/index.d.ts +1 -3
- package/src/messaging_v1/index.d.ts.map +1 -1
- package/src/messaging_v1/index.js +0 -14
- package/src/orders_v0/api/OrdersV0Api.d.ts +19 -10
- package/src/orders_v0/api/OrdersV0Api.d.ts.map +1 -1
- package/src/orders_v0/api/OrdersV0Api.js +54 -9
- package/src/orders_v0/index.d.ts +10 -1
- package/src/orders_v0/index.d.ts.map +1 -1
- package/src/orders_v0/index.js +63 -0
- package/src/orders_v0/model/BuyerInfo.d.ts +0 -6
- package/src/orders_v0/model/BuyerInfo.d.ts.map +1 -1
- package/src/orders_v0/model/BuyerInfo.js +0 -8
- package/src/orders_v0/model/ExportInfo.d.ts +28 -0
- package/src/orders_v0/model/ExportInfo.d.ts.map +1 -0
- package/src/orders_v0/model/ExportInfo.js +71 -0
- package/src/orders_v0/model/FulfillmentInstructions.d.ts +32 -0
- package/src/orders_v0/model/FulfillmentInstructions.d.ts.map +1 -0
- package/src/orders_v0/model/FulfillmentInstructions.js +74 -0
- package/src/orders_v0/model/FulfillmentLocation.d.ts +22 -0
- package/src/orders_v0/model/FulfillmentLocation.d.ts.map +1 -0
- package/src/orders_v0/model/FulfillmentLocation.js +63 -0
- package/src/orders_v0/model/FulfillmentPlan.d.ts +69 -0
- package/src/orders_v0/model/FulfillmentPlan.d.ts.map +1 -0
- package/src/orders_v0/model/FulfillmentPlan.js +188 -0
- package/src/orders_v0/model/FulfillmentPlanConstraintType.d.ts +24 -0
- package/src/orders_v0/model/FulfillmentPlanConstraintType.d.ts.map +1 -0
- package/src/orders_v0/model/FulfillmentPlanConstraintType.js +42 -0
- package/src/orders_v0/model/FulfillmentPlanItem.d.ts +28 -0
- package/src/orders_v0/model/FulfillmentPlanItem.d.ts.map +1 -0
- package/src/orders_v0/model/FulfillmentPlanItem.js +75 -0
- package/src/orders_v0/model/FulfillmentPlanShippingConstraints.d.ts +27 -0
- package/src/orders_v0/model/FulfillmentPlanShippingConstraints.d.ts.map +1 -0
- package/src/orders_v0/model/FulfillmentPlanShippingConstraints.js +70 -0
- package/src/orders_v0/model/GetOrderFulfillmentInstructionsResponse.d.ts +29 -0
- package/src/orders_v0/model/GetOrderFulfillmentInstructionsResponse.d.ts.map +1 -0
- package/src/orders_v0/model/GetOrderFulfillmentInstructionsResponse.js +72 -0
- package/src/orders_v0/model/OrderBuyerInfo.d.ts +0 -6
- package/src/orders_v0/model/OrderBuyerInfo.d.ts.map +1 -1
- package/src/orders_v0/model/OrderBuyerInfo.js +0 -8
- package/src/orders_v0/model/OrderItem.d.ts +6 -0
- package/src/orders_v0/model/OrderItem.d.ts.map +1 -1
- package/src/orders_v0/model/OrderItem.js +8 -0
- package/src/orders_v0/model/ShippingInstructions.d.ts +34 -0
- package/src/orders_v0/model/ShippingInstructions.d.ts.map +1 -0
- package/src/orders_v0/model/ShippingInstructions.js +79 -0
- package/src/orders_v2026_01_01/ApiClient.d.ts +260 -0
- package/src/orders_v2026_01_01/ApiClient.d.ts.map +1 -0
- package/src/orders_v2026_01_01/ApiClient.js +827 -0
- package/src/orders_v2026_01_01/api/GetOrderApi.d.ts +49 -0
- package/src/orders_v2026_01_01/api/GetOrderApi.d.ts.map +1 -0
- package/src/orders_v2026_01_01/api/GetOrderApi.js +116 -0
- package/src/orders_v2026_01_01/api/SearchOrdersApi.d.ts +83 -0
- package/src/orders_v2026_01_01/api/SearchOrdersApi.d.ts.map +1 -0
- package/src/orders_v2026_01_01/api/SearchOrdersApi.js +135 -0
- package/src/orders_v2026_01_01/index.d.ts +59 -0
- package/src/orders_v2026_01_01/index.d.ts.map +1 -0
- package/src/orders_v2026_01_01/index.js +420 -0
- package/src/orders_v2026_01_01/model/AddressExtendedFields.d.ts +40 -0
- package/src/orders_v2026_01_01/model/AddressExtendedFields.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/AddressExtendedFields.js +87 -0
- package/src/orders_v2026_01_01/model/Alias.d.ts +27 -0
- package/src/orders_v2026_01_01/model/Alias.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Alias.js +75 -0
- package/src/orders_v2026_01_01/model/AssociatedOrder.d.ts +28 -0
- package/src/orders_v2026_01_01/model/AssociatedOrder.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/AssociatedOrder.js +71 -0
- package/src/orders_v2026_01_01/model/BusinessHour.d.ts +44 -0
- package/src/orders_v2026_01_01/model/BusinessHour.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/BusinessHour.js +121 -0
- package/src/orders_v2026_01_01/model/Buyer.d.ts +40 -0
- package/src/orders_v2026_01_01/model/Buyer.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Buyer.js +87 -0
- package/src/orders_v2026_01_01/model/ConstraintType.d.ts +19 -0
- package/src/orders_v2026_01_01/model/ConstraintType.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ConstraintType.js +36 -0
- package/src/orders_v2026_01_01/model/CustomerAddress.d.ts +100 -0
- package/src/orders_v2026_01_01/model/CustomerAddress.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/CustomerAddress.js +167 -0
- package/src/orders_v2026_01_01/model/DateTimeRange.d.ts +28 -0
- package/src/orders_v2026_01_01/model/DateTimeRange.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/DateTimeRange.js +71 -0
- package/src/orders_v2026_01_01/model/DeliveryPreference.d.ts +40 -0
- package/src/orders_v2026_01_01/model/DeliveryPreference.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/DeliveryPreference.js +87 -0
- package/src/orders_v2026_01_01/model/Error.d.ts +33 -0
- package/src/orders_v2026_01_01/model/Error.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Error.js +83 -0
- package/src/orders_v2026_01_01/model/ErrorList.d.ts +26 -0
- package/src/orders_v2026_01_01/model/ErrorList.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ErrorList.js +66 -0
- package/src/orders_v2026_01_01/model/ExceptionDate.d.ts +45 -0
- package/src/orders_v2026_01_01/model/ExceptionDate.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ExceptionDate.js +99 -0
- package/src/orders_v2026_01_01/model/FulfillmentStatus.d.ts +49 -0
- package/src/orders_v2026_01_01/model/FulfillmentStatus.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/FulfillmentStatus.js +72 -0
- package/src/orders_v2026_01_01/model/GetOrderResponse.d.ts +26 -0
- package/src/orders_v2026_01_01/model/GetOrderResponse.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/GetOrderResponse.js +65 -0
- package/src/orders_v2026_01_01/model/GiftOption.d.ts +28 -0
- package/src/orders_v2026_01_01/model/GiftOption.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/GiftOption.js +71 -0
- package/src/orders_v2026_01_01/model/HourMinute.d.ts +28 -0
- package/src/orders_v2026_01_01/model/HourMinute.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/HourMinute.js +71 -0
- package/src/orders_v2026_01_01/model/ItemCancellation.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemCancellation.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemCancellation.js +63 -0
- package/src/orders_v2026_01_01/model/ItemCancellationRequest.d.ts +28 -0
- package/src/orders_v2026_01_01/model/ItemCancellationRequest.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemCancellationRequest.js +71 -0
- package/src/orders_v2026_01_01/model/ItemCondition.d.ts +34 -0
- package/src/orders_v2026_01_01/model/ItemCondition.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemCondition.js +79 -0
- package/src/orders_v2026_01_01/model/ItemCustomization.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemCustomization.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemCustomization.js +63 -0
- package/src/orders_v2026_01_01/model/ItemExpense.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemExpense.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemExpense.js +63 -0
- package/src/orders_v2026_01_01/model/ItemFulfillment.d.ts +46 -0
- package/src/orders_v2026_01_01/model/ItemFulfillment.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemFulfillment.js +95 -0
- package/src/orders_v2026_01_01/model/ItemInternationalShipping.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemInternationalShipping.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemInternationalShipping.js +63 -0
- package/src/orders_v2026_01_01/model/ItemPacking.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemPacking.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemPacking.js +63 -0
- package/src/orders_v2026_01_01/model/ItemPicking.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemPicking.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemPicking.js +63 -0
- package/src/orders_v2026_01_01/model/ItemPointsCost.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemPointsCost.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemPointsCost.js +63 -0
- package/src/orders_v2026_01_01/model/ItemPrice.d.ts +28 -0
- package/src/orders_v2026_01_01/model/ItemPrice.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemPrice.js +71 -0
- package/src/orders_v2026_01_01/model/ItemProceeds.d.ts +29 -0
- package/src/orders_v2026_01_01/model/ItemProceeds.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemProceeds.js +72 -0
- package/src/orders_v2026_01_01/model/ItemProceedsBreakdown.d.ts +35 -0
- package/src/orders_v2026_01_01/model/ItemProceedsBreakdown.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemProceedsBreakdown.js +80 -0
- package/src/orders_v2026_01_01/model/ItemProceedsDetailedBreakdown.d.ts +28 -0
- package/src/orders_v2026_01_01/model/ItemProceedsDetailedBreakdown.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemProceedsDetailedBreakdown.js +71 -0
- package/src/orders_v2026_01_01/model/ItemProduct.d.ts +58 -0
- package/src/orders_v2026_01_01/model/ItemProduct.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemProduct.js +111 -0
- package/src/orders_v2026_01_01/model/ItemPromotion.d.ts +23 -0
- package/src/orders_v2026_01_01/model/ItemPromotion.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemPromotion.js +64 -0
- package/src/orders_v2026_01_01/model/ItemPromotionBreakdown.d.ts +22 -0
- package/src/orders_v2026_01_01/model/ItemPromotionBreakdown.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemPromotionBreakdown.js +63 -0
- package/src/orders_v2026_01_01/model/ItemShipping.d.ts +34 -0
- package/src/orders_v2026_01_01/model/ItemShipping.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemShipping.js +79 -0
- package/src/orders_v2026_01_01/model/ItemShippingConstraints.d.ts +42 -0
- package/src/orders_v2026_01_01/model/ItemShippingConstraints.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemShippingConstraints.js +91 -0
- package/src/orders_v2026_01_01/model/ItemSubstitutionOption.d.ts +46 -0
- package/src/orders_v2026_01_01/model/ItemSubstitutionOption.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemSubstitutionOption.js +95 -0
- package/src/orders_v2026_01_01/model/ItemSubstitutionPreference.d.ts +43 -0
- package/src/orders_v2026_01_01/model/ItemSubstitutionPreference.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/ItemSubstitutionPreference.js +99 -0
- package/src/orders_v2026_01_01/model/Measurement.d.ts +59 -0
- package/src/orders_v2026_01_01/model/Measurement.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Measurement.js +226 -0
- package/src/orders_v2026_01_01/model/MerchantAddress.d.ts +76 -0
- package/src/orders_v2026_01_01/model/MerchantAddress.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/MerchantAddress.js +135 -0
- package/src/orders_v2026_01_01/model/Money.d.ts +27 -0
- package/src/orders_v2026_01_01/model/Money.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Money.js +75 -0
- package/src/orders_v2026_01_01/model/Order.d.ts +86 -0
- package/src/orders_v2026_01_01/model/Order.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Order.js +173 -0
- package/src/orders_v2026_01_01/model/OrderFulfillment.d.ts +49 -0
- package/src/orders_v2026_01_01/model/OrderFulfillment.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/OrderFulfillment.js +96 -0
- package/src/orders_v2026_01_01/model/OrderItem.d.ts +72 -0
- package/src/orders_v2026_01_01/model/OrderItem.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/OrderItem.js +141 -0
- package/src/orders_v2026_01_01/model/OrderPackage.d.ts +74 -0
- package/src/orders_v2026_01_01/model/OrderPackage.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/OrderPackage.js +130 -0
- package/src/orders_v2026_01_01/model/OrderProceeds.d.ts +22 -0
- package/src/orders_v2026_01_01/model/OrderProceeds.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/OrderProceeds.js +63 -0
- package/src/orders_v2026_01_01/model/PackageItem.d.ts +33 -0
- package/src/orders_v2026_01_01/model/PackageItem.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/PackageItem.js +83 -0
- package/src/orders_v2026_01_01/model/PackageStatus.d.ts +45 -0
- package/src/orders_v2026_01_01/model/PackageStatus.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/PackageStatus.js +116 -0
- package/src/orders_v2026_01_01/model/Pagination.d.ts +22 -0
- package/src/orders_v2026_01_01/model/Pagination.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Pagination.js +63 -0
- package/src/orders_v2026_01_01/model/PointsGranted.d.ts +28 -0
- package/src/orders_v2026_01_01/model/PointsGranted.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/PointsGranted.js +71 -0
- package/src/orders_v2026_01_01/model/PreferredDeliveryTime.d.ts +30 -0
- package/src/orders_v2026_01_01/model/PreferredDeliveryTime.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/PreferredDeliveryTime.js +73 -0
- package/src/orders_v2026_01_01/model/Recipient.d.ts +28 -0
- package/src/orders_v2026_01_01/model/Recipient.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/Recipient.js +71 -0
- package/src/orders_v2026_01_01/model/SalesChannel.d.ts +37 -0
- package/src/orders_v2026_01_01/model/SalesChannel.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/SalesChannel.js +81 -0
- package/src/orders_v2026_01_01/model/SearchOrdersResponse.d.ts +44 -0
- package/src/orders_v2026_01_01/model/SearchOrdersResponse.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/SearchOrdersResponse.js +90 -0
- package/src/orders_v2026_01_01/model/TimeWindow.d.ts +27 -0
- package/src/orders_v2026_01_01/model/TimeWindow.d.ts.map +1 -0
- package/src/orders_v2026_01_01/model/TimeWindow.js +70 -0
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.d.ts +86 -20
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.d.ts.map +1 -1
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.js +108 -20
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.d.ts +8 -8
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.js +8 -8
- package/src/replenishment_v2022_11_07/model/Metric.d.ts +10 -0
- package/src/replenishment_v2022_11_07/model/Metric.d.ts.map +1 -1
- package/src/replenishment_v2022_11_07/model/Metric.js +12 -0
- package/src/sellerWallet_2024_03_01/api/TransactionsApi.d.ts +4 -4
- package/src/sellerWallet_2024_03_01/api/TransactionsApi.js +4 -4
- package/src/sellerWallet_2024_03_01/index.d.ts +3 -2
- package/src/sellerWallet_2024_03_01/index.d.ts.map +1 -1
- package/src/sellerWallet_2024_03_01/index.js +14 -7
- package/src/sellerWallet_2024_03_01/model/BankAccount.d.ts +22 -12
- package/src/sellerWallet_2024_03_01/model/BankAccount.d.ts.map +1 -1
- package/src/sellerWallet_2024_03_01/model/BankAccount.js +6 -12
- package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.d.ts +0 -5
- package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.d.ts.map +1 -1
- package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.js +0 -6
- package/src/sellerWallet_2024_03_01/model/PayeeContactInformation.d.ts +62 -0
- package/src/sellerWallet_2024_03_01/model/PayeeContactInformation.d.ts.map +1 -0
- package/src/sellerWallet_2024_03_01/model/PayeeContactInformation.js +179 -0
- package/src/sellerWallet_2024_03_01/model/PayeeEntityType.d.ts +29 -0
- package/src/sellerWallet_2024_03_01/model/PayeeEntityType.d.ts.map +1 -0
- package/src/sellerWallet_2024_03_01/model/PayeeEntityType.js +48 -0
- package/src/sellerWallet_2024_03_01/model/Transaction.d.ts +8 -3
- package/src/sellerWallet_2024_03_01/model/Transaction.d.ts.map +1 -1
- package/src/sellerWallet_2024_03_01/model/Transaction.js +11 -3
- package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.d.ts +4 -4
- package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.d.ts.map +1 -1
- package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.js +5 -5
- package/src/vendorshipments_v1/api/VendorShippingApi.d.ts +18 -2
- package/src/vendorshipments_v1/api/VendorShippingApi.d.ts.map +1 -1
- package/src/vendorshipments_v1/api/VendorShippingApi.js +52 -2
- package/src/vendorshipments_v1/index.d.ts +5 -1
- package/src/vendorshipments_v1/index.d.ts.map +1 -1
- package/src/vendorshipments_v1/index.js +28 -0
- package/src/vendorshipments_v1/model/ItemDetails.d.ts +34 -0
- package/src/vendorshipments_v1/model/ItemDetails.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ItemDetails.js +63 -0
- package/src/vendorshipments_v1/model/RegulationReferences.d.ts +40 -0
- package/src/vendorshipments_v1/model/RegulationReferences.d.ts.map +1 -0
- package/src/vendorshipments_v1/model/RegulationReferences.js +87 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationRequest.d.ts +26 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationRequest.d.ts.map +1 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationRequest.js +65 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResponse.d.ts +29 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResponse.d.ts.map +1 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResponse.js +72 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResult.d.ts +22 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResult.d.ts.map +1 -0
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationResult.js +63 -0
- package/src/messaging_v1/model/CreateAmazonMotorsRequest.d.ts +0 -23
- package/src/messaging_v1/model/CreateAmazonMotorsRequest.d.ts.map +0 -1
- package/src/messaging_v1/model/CreateAmazonMotorsRequest.js +0 -64
- package/src/messaging_v1/model/CreateAmazonMotorsResponse.d.ts +0 -23
- package/src/messaging_v1/model/CreateAmazonMotorsResponse.d.ts.map +0 -1
- package/src/messaging_v1/model/CreateAmazonMotorsResponse.js +0 -64
- package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.d.ts +0 -45
- package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.d.ts.map +0 -1
- package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.js +0 -121
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum class ConfirmationMode.
|
|
3
|
+
* @enum {String}
|
|
4
|
+
* @readonly
|
|
5
|
+
*/
|
|
6
|
+
export class ConfirmationMode {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>ConfirmationMode</code> enum value from a Javascript object name.
|
|
9
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
10
|
+
* @return {ConfirmationMode} The enum <code>ConfirmationMode</code> value.
|
|
11
|
+
*/
|
|
12
|
+
static constructFromObject(object: any): ConfirmationMode;
|
|
13
|
+
/**
|
|
14
|
+
* value: "AUTO"
|
|
15
|
+
* @const
|
|
16
|
+
*/
|
|
17
|
+
AUTO: string;
|
|
18
|
+
/**
|
|
19
|
+
* value: "MANUAL"
|
|
20
|
+
* @const
|
|
21
|
+
*/
|
|
22
|
+
MANUAL: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=ConfirmationMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmationMode.d.ts","sourceRoot":"","sources":["ConfirmationMode.js"],"names":[],"mappings":"AAeA;;;;EAIE;AACF;IAaE;;;;QAII;IACJ,yCAFa,gBAAgB,CAI5B;IAnBD;;;aAGS;IACT,aAAe;IAEf;;;aAGS;IACT,eAAmB;CAUpB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enum class ConfirmationMode.
|
|
18
|
+
* @enum {String}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class ConfirmationMode {
|
|
22
|
+
/**
|
|
23
|
+
* value: "AUTO"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'AUTO' = 'AUTO'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "MANUAL"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'MANUAL' = 'MANUAL'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns a <code>ConfirmationMode</code> enum value from a Javascript object name.
|
|
36
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
37
|
+
* @return {ConfirmationMode} The enum <code>ConfirmationMode</code> value.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject (object) {
|
|
40
|
+
return object
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DistributionIneligibleReason model module.
|
|
3
|
+
* @module awd_v2024_05_09/model/DistributionIneligibleReason
|
|
4
|
+
* @version 2024-05-09
|
|
5
|
+
*/
|
|
6
|
+
export class DistributionIneligibleReason {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>DistributionIneligibleReason</code> from a plain JavaScript object, optionally creating a new instance.
|
|
9
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
10
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
11
|
+
* @param {DistributionIneligibleReason} obj Optional instance to populate.
|
|
12
|
+
* @return {DistributionIneligibleReason} The populated <code>DistributionIneligibleReason</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: DistributionIneligibleReason): DistributionIneligibleReason;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>DistributionIneligibleReason</code>.
|
|
17
|
+
* Execution errors associated with the replenishment order. This field will be populated if the order failed validation.
|
|
18
|
+
* @alias module:awd_v2024_05_09/model/DistributionIneligibleReason
|
|
19
|
+
* @class
|
|
20
|
+
* @param failureCode {String} Failure code details of the error.
|
|
21
|
+
* @param failureReasons {[String]} Failure reasons of the error.
|
|
22
|
+
*/
|
|
23
|
+
constructor(failureCode: string, failureReasons: [string]);
|
|
24
|
+
failureCode: string;
|
|
25
|
+
failureReasons: [string];
|
|
26
|
+
/**
|
|
27
|
+
* SKU associated with the error.
|
|
28
|
+
* @member {String} sku
|
|
29
|
+
* @type {String}
|
|
30
|
+
*/
|
|
31
|
+
sku: string;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=DistributionIneligibleReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DistributionIneligibleReason.d.ts","sourceRoot":"","sources":["DistributionIneligibleReason.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAcE;;;;;;OAMG;IACH,2CAHW,4BAA4B,GAC3B,4BAA4B,CAqBvC;IAvCD;;;;;;;OAOG;IACH,iDAF0B,QAAQ,EAKjC;IAFC,oBAA8B;IAC9B,yBAAoC;IA8CxC;;;;OAIG;IACH,YAA0C;CArBzC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The DistributionIneligibleReason model module.
|
|
18
|
+
* @module awd_v2024_05_09/model/DistributionIneligibleReason
|
|
19
|
+
* @version 2024-05-09
|
|
20
|
+
*/
|
|
21
|
+
export class DistributionIneligibleReason {
|
|
22
|
+
/**
|
|
23
|
+
* Constructs a new <code>DistributionIneligibleReason</code>.
|
|
24
|
+
* Execution errors associated with the replenishment order. This field will be populated if the order failed validation.
|
|
25
|
+
* @alias module:awd_v2024_05_09/model/DistributionIneligibleReason
|
|
26
|
+
* @class
|
|
27
|
+
* @param failureCode {String} Failure code details of the error.
|
|
28
|
+
* @param failureReasons {[String]} Failure reasons of the error.
|
|
29
|
+
*/
|
|
30
|
+
constructor (failureCode, failureReasons) {
|
|
31
|
+
this.failureCode = failureCode
|
|
32
|
+
this.failureReasons = failureReasons
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a <code>DistributionIneligibleReason</code> from a plain JavaScript object, optionally creating a new instance.
|
|
37
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
38
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
39
|
+
* @param {DistributionIneligibleReason} obj Optional instance to populate.
|
|
40
|
+
* @return {DistributionIneligibleReason} The populated <code>DistributionIneligibleReason</code> instance.
|
|
41
|
+
*/
|
|
42
|
+
static constructFromObject (data, obj) {
|
|
43
|
+
if (data) {
|
|
44
|
+
switch (typeof data) {
|
|
45
|
+
case 'string':
|
|
46
|
+
obj = String(data)
|
|
47
|
+
break
|
|
48
|
+
case 'number':
|
|
49
|
+
obj = Number(data)
|
|
50
|
+
break
|
|
51
|
+
case 'boolean':
|
|
52
|
+
obj = Boolean(data)
|
|
53
|
+
break
|
|
54
|
+
}
|
|
55
|
+
obj = obj || new DistributionIneligibleReason()
|
|
56
|
+
if (data.hasOwnProperty('failureCode')) { obj.failureCode = ApiClient.convertToType(data.failureCode, 'String') }
|
|
57
|
+
if (data.hasOwnProperty('failureReasons')) { obj.failureReasons = ApiClient.convertToType(data.failureReasons, ['String']) }
|
|
58
|
+
if (data.hasOwnProperty('sku')) { obj.sku = ApiClient.convertToType(data.sku, 'String') }
|
|
59
|
+
}
|
|
60
|
+
return obj
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Failure code details of the error.
|
|
66
|
+
* @member {String} failureCode
|
|
67
|
+
* @type {String}
|
|
68
|
+
*/
|
|
69
|
+
DistributionIneligibleReason.prototype.failureCode = undefined
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Failure reasons of the error.
|
|
73
|
+
* @member {[String]} failureReasons
|
|
74
|
+
* @type {[String]}
|
|
75
|
+
*/
|
|
76
|
+
DistributionIneligibleReason.prototype.failureReasons = undefined
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* SKU associated with the error.
|
|
80
|
+
* @member {String} sku
|
|
81
|
+
* @type {String}
|
|
82
|
+
*/
|
|
83
|
+
DistributionIneligibleReason.prototype.sku = undefined
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DistributionProduct model module.
|
|
3
|
+
* @module awd_v2024_05_09/model/DistributionProduct
|
|
4
|
+
* @version 2024-05-09
|
|
5
|
+
*/
|
|
6
|
+
export class DistributionProduct {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>DistributionProduct</code> from a plain JavaScript object, optionally creating a new instance.
|
|
9
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
10
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
11
|
+
* @param {DistributionProduct} obj Optional instance to populate.
|
|
12
|
+
* @return {DistributionProduct} The populated <code>DistributionProduct</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: DistributionProduct): DistributionProduct;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>DistributionProduct</code>.
|
|
17
|
+
* Represents a product with sku details and corresponding quantity
|
|
18
|
+
* @alias module:awd_v2024_05_09/model/DistributionProduct
|
|
19
|
+
* @class
|
|
20
|
+
* @param quantity {Number} Quantity of the product
|
|
21
|
+
* @param sku {String} The seller/merchant stock keeping unit (SKU).
|
|
22
|
+
*/
|
|
23
|
+
constructor(quantity: number, sku: string);
|
|
24
|
+
quantity: number;
|
|
25
|
+
sku: string;
|
|
26
|
+
/**
|
|
27
|
+
* Attributes for this instance of the product, i.e. already-prepped, or other attributes that distinguish the product beyond the SKU.
|
|
28
|
+
* @member {[ProductAttribute]} attributes
|
|
29
|
+
* @type {[ProductAttribute]}
|
|
30
|
+
*/
|
|
31
|
+
attributes: [ProductAttribute];
|
|
32
|
+
}
|
|
33
|
+
import { ProductAttribute } from './ProductAttribute.js';
|
|
34
|
+
//# sourceMappingURL=DistributionProduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DistributionProduct.d.ts","sourceRoot":"","sources":["DistributionProduct.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAcE;;;;;;OAMG;IACH,2CAHW,mBAAmB,GAClB,mBAAmB,CAqB9B;IAvCD;;;;;;;OAOG;IACH,2CAGC;IAFC,iBAAwB;IACxB,YAAc;IAgClB;;;;OAIG;IACH,YAFU,CAAC,gBAAgB,CAAC,CAEY;CAPvC;iCAhDgC,uBAAuB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { ProductAttribute } from './ProductAttribute.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The DistributionProduct model module.
|
|
19
|
+
* @module awd_v2024_05_09/model/DistributionProduct
|
|
20
|
+
* @version 2024-05-09
|
|
21
|
+
*/
|
|
22
|
+
export class DistributionProduct {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>DistributionProduct</code>.
|
|
25
|
+
* Represents a product with sku details and corresponding quantity
|
|
26
|
+
* @alias module:awd_v2024_05_09/model/DistributionProduct
|
|
27
|
+
* @class
|
|
28
|
+
* @param quantity {Number} Quantity of the product
|
|
29
|
+
* @param sku {String} The seller/merchant stock keeping unit (SKU).
|
|
30
|
+
*/
|
|
31
|
+
constructor (quantity, sku) {
|
|
32
|
+
this.quantity = quantity
|
|
33
|
+
this.sku = sku
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a <code>DistributionProduct</code> from a plain JavaScript object, optionally creating a new instance.
|
|
38
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
39
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
40
|
+
* @param {DistributionProduct} obj Optional instance to populate.
|
|
41
|
+
* @return {DistributionProduct} The populated <code>DistributionProduct</code> instance.
|
|
42
|
+
*/
|
|
43
|
+
static constructFromObject (data, obj) {
|
|
44
|
+
if (data) {
|
|
45
|
+
switch (typeof data) {
|
|
46
|
+
case 'string':
|
|
47
|
+
obj = String(data)
|
|
48
|
+
break
|
|
49
|
+
case 'number':
|
|
50
|
+
obj = Number(data)
|
|
51
|
+
break
|
|
52
|
+
case 'boolean':
|
|
53
|
+
obj = Boolean(data)
|
|
54
|
+
break
|
|
55
|
+
}
|
|
56
|
+
obj = obj || new DistributionProduct()
|
|
57
|
+
if (data.hasOwnProperty('attributes')) { obj.attributes = ApiClient.convertToType(data.attributes, [ProductAttribute]) }
|
|
58
|
+
if (data.hasOwnProperty('quantity')) { obj.quantity = ApiClient.convertToType(data.quantity, 'Number') }
|
|
59
|
+
if (data.hasOwnProperty('sku')) { obj.sku = ApiClient.convertToType(data.sku, 'String') }
|
|
60
|
+
}
|
|
61
|
+
return obj
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Attributes for this instance of the product, i.e. already-prepped, or other attributes that distinguish the product beyond the SKU.
|
|
67
|
+
* @member {[ProductAttribute]} attributes
|
|
68
|
+
* @type {[ProductAttribute]}
|
|
69
|
+
*/
|
|
70
|
+
DistributionProduct.prototype.attributes = undefined
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Quantity of the product
|
|
74
|
+
* @member {Number} quantity
|
|
75
|
+
* @type {Number}
|
|
76
|
+
*/
|
|
77
|
+
DistributionProduct.prototype.quantity = undefined
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The seller/merchant stock keeping unit (SKU).
|
|
81
|
+
* @member {String} sku
|
|
82
|
+
* @type {String}
|
|
83
|
+
*/
|
|
84
|
+
DistributionProduct.prototype.sku = undefined
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum class OutboundShipmentStatus.
|
|
3
|
+
* @enum {String}
|
|
4
|
+
* @readonly
|
|
5
|
+
*/
|
|
6
|
+
export class OutboundShipmentStatus {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>OutboundShipmentStatus</code> enum value from a Javascript object name.
|
|
9
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
10
|
+
* @return {OutboundShipmentStatus} The enum <code>OutboundShipmentStatus</code> value.
|
|
11
|
+
*/
|
|
12
|
+
static constructFromObject(object: any): OutboundShipmentStatus;
|
|
13
|
+
/**
|
|
14
|
+
* value: "CREATED"
|
|
15
|
+
* @const
|
|
16
|
+
*/
|
|
17
|
+
CREATED: string;
|
|
18
|
+
/**
|
|
19
|
+
* value: "IN_TRANSIT"
|
|
20
|
+
* @const
|
|
21
|
+
*/
|
|
22
|
+
IN_TRANSIT: string;
|
|
23
|
+
/**
|
|
24
|
+
* value: "DELIVERED"
|
|
25
|
+
* @const
|
|
26
|
+
*/
|
|
27
|
+
DELIVERED: string;
|
|
28
|
+
/**
|
|
29
|
+
* value: "RECEIVING"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
RECEIVING: string;
|
|
33
|
+
/**
|
|
34
|
+
* value: "RECEIVED"
|
|
35
|
+
* @const
|
|
36
|
+
*/
|
|
37
|
+
RECEIVED: string;
|
|
38
|
+
/**
|
|
39
|
+
* value: "CLOSED"
|
|
40
|
+
* @const
|
|
41
|
+
*/
|
|
42
|
+
CLOSED: string;
|
|
43
|
+
/**
|
|
44
|
+
* value: "CANCELLED"
|
|
45
|
+
* @const
|
|
46
|
+
*/
|
|
47
|
+
CANCELLED: string;
|
|
48
|
+
/**
|
|
49
|
+
* value: "FAILED"
|
|
50
|
+
* @const
|
|
51
|
+
*/
|
|
52
|
+
FAILED: string;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=OutboundShipmentStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutboundShipmentStatus.d.ts","sourceRoot":"","sources":["OutboundShipmentStatus.js"],"names":[],"mappings":"AAeA;;;;EAIE;AACF;IAiDE;;;;QAII;IACJ,yCAFa,sBAAsB,CAIlC;IAvDD;;;aAGS;IACT,gBAAqB;IAErB;;;aAGS;IACT,mBAA2B;IAE3B;;;aAGS;IACT,kBAAyB;IAEzB;;;aAGS;IACT,kBAAyB;IAEzB;;;aAGS;IACT,iBAAuB;IAEvB;;;aAGS;IACT,eAAmB;IAEnB;;;aAGS;IACT,kBAAyB;IAEzB;;;aAGS;IACT,eAAmB;CAUpB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Enum class OutboundShipmentStatus.
|
|
18
|
+
* @enum {String}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class OutboundShipmentStatus {
|
|
22
|
+
/**
|
|
23
|
+
* value: "CREATED"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'CREATED' = 'CREATED'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "IN_TRANSIT"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'IN_TRANSIT' = 'IN_TRANSIT'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* value: "DELIVERED"
|
|
36
|
+
* @const
|
|
37
|
+
*/
|
|
38
|
+
'DELIVERED' = 'DELIVERED'
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* value: "RECEIVING"
|
|
42
|
+
* @const
|
|
43
|
+
*/
|
|
44
|
+
'RECEIVING' = 'RECEIVING'
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* value: "RECEIVED"
|
|
48
|
+
* @const
|
|
49
|
+
*/
|
|
50
|
+
'RECEIVED' = 'RECEIVED'
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* value: "CLOSED"
|
|
54
|
+
* @const
|
|
55
|
+
*/
|
|
56
|
+
'CLOSED' = 'CLOSED'
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* value: "CANCELLED"
|
|
60
|
+
* @const
|
|
61
|
+
*/
|
|
62
|
+
'CANCELLED' = 'CANCELLED'
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* value: "FAILED"
|
|
66
|
+
* @const
|
|
67
|
+
*/
|
|
68
|
+
'FAILED' = 'FAILED'
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Returns a <code>OutboundShipmentStatus</code> enum value from a Javascript object name.
|
|
72
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
73
|
+
* @return {OutboundShipmentStatus} The enum <code>OutboundShipmentStatus</code> value.
|
|
74
|
+
*/
|
|
75
|
+
static constructFromObject (object) {
|
|
76
|
+
return object
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The OutboundShipmentSummary model module.
|
|
3
|
+
* @module awd_v2024_05_09/model/OutboundShipmentSummary
|
|
4
|
+
* @version 2024-05-09
|
|
5
|
+
*/
|
|
6
|
+
export class OutboundShipmentSummary {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>OutboundShipmentSummary</code> from a plain JavaScript object, optionally creating a new instance.
|
|
9
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
10
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
11
|
+
* @param {OutboundShipmentSummary} obj Optional instance to populate.
|
|
12
|
+
* @return {OutboundShipmentSummary} The populated <code>OutboundShipmentSummary</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: OutboundShipmentSummary): OutboundShipmentSummary;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>OutboundShipmentSummary</code>.
|
|
17
|
+
* Summary of an AWD inbound shipment containing the shipment ID which can be used to fetch the actual shipment
|
|
18
|
+
* @alias module:awd_v2024_05_09/model/OutboundShipmentSummary
|
|
19
|
+
* @class
|
|
20
|
+
* @param orderId {String} Order ID of AWD inbound order this inbound shipment belongs to
|
|
21
|
+
* @param shipmentId {String} Unique shipment ID
|
|
22
|
+
* @param shipmentStatus {OutboundShipmentStatus}
|
|
23
|
+
*/
|
|
24
|
+
constructor(orderId: string, shipmentId: string, shipmentStatus: OutboundShipmentStatus);
|
|
25
|
+
orderId: string;
|
|
26
|
+
shipmentId: string;
|
|
27
|
+
shipmentStatus: OutboundShipmentStatus;
|
|
28
|
+
/**
|
|
29
|
+
* Timestamp denoting when the shipment was created
|
|
30
|
+
* @member {Date} createdAt
|
|
31
|
+
* @type {Date}
|
|
32
|
+
*/
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
/**
|
|
35
|
+
* Timestamp denoting when the shipment was updated
|
|
36
|
+
* @member {Date} updatedAt
|
|
37
|
+
* @type {Date}
|
|
38
|
+
*/
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
}
|
|
41
|
+
import { OutboundShipmentStatus } from './OutboundShipmentStatus.js';
|
|
42
|
+
//# sourceMappingURL=OutboundShipmentSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutboundShipmentSummary.d.ts","sourceRoot":"","sources":["OutboundShipmentSummary.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAgBE;;;;;;OAMG;IACH,2CAHW,uBAAuB,GACtB,uBAAuB,CAuBlC;IA3CD;;;;;;;;OAQG;IACH,iEAF0B,sBAAsB,EAM/C;IAHC,gBAAsB;IACtB,mBAA4B;IAC5B,uCAAoC;IAkCxC;;;;OAIG;IACH,WAFU,IAAI,CAE6B;IAsB3C;;;;OAIG;IACH,WAFU,IAAI,CAE6B;CAlC1C;uCApDsC,6BAA6B"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { OutboundShipmentStatus } from './OutboundShipmentStatus.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The OutboundShipmentSummary model module.
|
|
19
|
+
* @module awd_v2024_05_09/model/OutboundShipmentSummary
|
|
20
|
+
* @version 2024-05-09
|
|
21
|
+
*/
|
|
22
|
+
export class OutboundShipmentSummary {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>OutboundShipmentSummary</code>.
|
|
25
|
+
* Summary of an AWD inbound shipment containing the shipment ID which can be used to fetch the actual shipment
|
|
26
|
+
* @alias module:awd_v2024_05_09/model/OutboundShipmentSummary
|
|
27
|
+
* @class
|
|
28
|
+
* @param orderId {String} Order ID of AWD inbound order this inbound shipment belongs to
|
|
29
|
+
* @param shipmentId {String} Unique shipment ID
|
|
30
|
+
* @param shipmentStatus {OutboundShipmentStatus}
|
|
31
|
+
*/
|
|
32
|
+
constructor (orderId, shipmentId, shipmentStatus) {
|
|
33
|
+
this.orderId = orderId
|
|
34
|
+
this.shipmentId = shipmentId
|
|
35
|
+
this.shipmentStatus = shipmentStatus
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a <code>OutboundShipmentSummary</code> from a plain JavaScript object, optionally creating a new instance.
|
|
40
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
41
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
42
|
+
* @param {OutboundShipmentSummary} obj Optional instance to populate.
|
|
43
|
+
* @return {OutboundShipmentSummary} The populated <code>OutboundShipmentSummary</code> instance.
|
|
44
|
+
*/
|
|
45
|
+
static constructFromObject (data, obj) {
|
|
46
|
+
if (data) {
|
|
47
|
+
switch (typeof data) {
|
|
48
|
+
case 'string':
|
|
49
|
+
obj = String(data)
|
|
50
|
+
break
|
|
51
|
+
case 'number':
|
|
52
|
+
obj = Number(data)
|
|
53
|
+
break
|
|
54
|
+
case 'boolean':
|
|
55
|
+
obj = Boolean(data)
|
|
56
|
+
break
|
|
57
|
+
}
|
|
58
|
+
obj = obj || new OutboundShipmentSummary()
|
|
59
|
+
if (data.hasOwnProperty('createdAt')) { obj.createdAt = ApiClient.convertToType(data.createdAt, 'Date') }
|
|
60
|
+
if (data.hasOwnProperty('orderId')) { obj.orderId = ApiClient.convertToType(data.orderId, 'String') }
|
|
61
|
+
if (data.hasOwnProperty('shipmentId')) { obj.shipmentId = ApiClient.convertToType(data.shipmentId, 'String') }
|
|
62
|
+
if (data.hasOwnProperty('shipmentStatus')) { obj.shipmentStatus = OutboundShipmentStatus.constructFromObject(data.shipmentStatus) }
|
|
63
|
+
if (data.hasOwnProperty('updatedAt')) { obj.updatedAt = ApiClient.convertToType(data.updatedAt, 'Date') }
|
|
64
|
+
}
|
|
65
|
+
return obj
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Timestamp denoting when the shipment was created
|
|
71
|
+
* @member {Date} createdAt
|
|
72
|
+
* @type {Date}
|
|
73
|
+
*/
|
|
74
|
+
OutboundShipmentSummary.prototype.createdAt = undefined
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Order ID of AWD inbound order this inbound shipment belongs to
|
|
78
|
+
* @member {String} orderId
|
|
79
|
+
* @type {String}
|
|
80
|
+
*/
|
|
81
|
+
OutboundShipmentSummary.prototype.orderId = undefined
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Unique shipment ID
|
|
85
|
+
* @member {String} shipmentId
|
|
86
|
+
* @type {String}
|
|
87
|
+
*/
|
|
88
|
+
OutboundShipmentSummary.prototype.shipmentId = undefined
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @member {OutboundShipmentStatus} shipmentStatus
|
|
92
|
+
* @type {OutboundShipmentStatus}
|
|
93
|
+
*/
|
|
94
|
+
OutboundShipmentSummary.prototype.shipmentStatus = undefined
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Timestamp denoting when the shipment was updated
|
|
98
|
+
* @member {Date} updatedAt
|
|
99
|
+
* @type {Date}
|
|
100
|
+
*/
|
|
101
|
+
OutboundShipmentSummary.prototype.updatedAt = undefined
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ReplenishmentOrder model module.
|
|
3
|
+
* @module awd_v2024_05_09/model/ReplenishmentOrder
|
|
4
|
+
* @version 2024-05-09
|
|
5
|
+
*/
|
|
6
|
+
export class ReplenishmentOrder {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>ReplenishmentOrder</code> from a plain JavaScript object, optionally creating a new instance.
|
|
9
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
10
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
11
|
+
* @param {ReplenishmentOrder} obj Optional instance to populate.
|
|
12
|
+
* @return {ReplenishmentOrder} The populated <code>ReplenishmentOrder</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: ReplenishmentOrder): ReplenishmentOrder;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>ReplenishmentOrder</code>.
|
|
17
|
+
* Represents an AWD replenishment order.
|
|
18
|
+
* @alias module:awd_v2024_05_09/model/ReplenishmentOrder
|
|
19
|
+
* @class
|
|
20
|
+
* @param orderId {String} Order Id of the replenishment order.
|
|
21
|
+
* @param status {ReplenishmentOrderStatus}
|
|
22
|
+
* @param outboundShipments {[OutboundShipmentSummary]} List of outbound shipments that are part of this order.
|
|
23
|
+
*/
|
|
24
|
+
constructor(orderId: string, status: ReplenishmentOrderStatus, outboundShipments: [OutboundShipmentSummary]);
|
|
25
|
+
orderId: string;
|
|
26
|
+
status: ReplenishmentOrderStatus;
|
|
27
|
+
outboundShipments: [OutboundShipmentSummary];
|
|
28
|
+
/**
|
|
29
|
+
* Date on which this replenishment order was confirmed.
|
|
30
|
+
* @member {Date} confirmedOn
|
|
31
|
+
* @type {Date}
|
|
32
|
+
*/
|
|
33
|
+
confirmedOn: Date;
|
|
34
|
+
/**
|
|
35
|
+
* Date on which this replenishment order was created.
|
|
36
|
+
* @member {Date} createdAt
|
|
37
|
+
* @type {Date}
|
|
38
|
+
*/
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
/**
|
|
41
|
+
* Distribution errors associated with the order related to the products or packages to replenish. This field will be populated if the order has products or packages which failed validation.
|
|
42
|
+
* @member {[DistributionIneligibleReason]} distributionIneligibleReasons
|
|
43
|
+
* @type {[DistributionIneligibleReason]}
|
|
44
|
+
*/
|
|
45
|
+
distributionIneligibleReasons: [DistributionIneligibleReason];
|
|
46
|
+
/**
|
|
47
|
+
* List of product units that are eligible for replenishment.
|
|
48
|
+
* @member {[DistributionProduct]} eligibleProducts
|
|
49
|
+
* @type {[DistributionProduct]}
|
|
50
|
+
*/
|
|
51
|
+
eligibleProducts: [DistributionProduct];
|
|
52
|
+
/**
|
|
53
|
+
* Requested amount of single product units to be replenished.
|
|
54
|
+
* @member {[DistributionProduct]} products
|
|
55
|
+
* @type {[DistributionProduct]}
|
|
56
|
+
*/
|
|
57
|
+
products: [DistributionProduct];
|
|
58
|
+
/**
|
|
59
|
+
* Outbound product units that are shipped after the execution has completed post confirmation.
|
|
60
|
+
* @member {[DistributionProduct]} shippedProducts
|
|
61
|
+
* @type {[DistributionProduct]}
|
|
62
|
+
*/
|
|
63
|
+
shippedProducts: [DistributionProduct];
|
|
64
|
+
/**
|
|
65
|
+
* Date on which this replenishment order was last updated.
|
|
66
|
+
* @member {Date} updatedAt
|
|
67
|
+
* @type {Date}
|
|
68
|
+
*/
|
|
69
|
+
updatedAt: Date;
|
|
70
|
+
}
|
|
71
|
+
import { ReplenishmentOrderStatus } from './ReplenishmentOrderStatus.js';
|
|
72
|
+
import { OutboundShipmentSummary } from './OutboundShipmentSummary.js';
|
|
73
|
+
import { DistributionIneligibleReason } from './DistributionIneligibleReason.js';
|
|
74
|
+
import { DistributionProduct } from './DistributionProduct.js';
|
|
75
|
+
//# sourceMappingURL=ReplenishmentOrder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplenishmentOrder.d.ts","sourceRoot":"","sources":["ReplenishmentOrder.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH;IAgBE;;;;;;OAMG;IACH,2CAHW,kBAAkB,GACjB,kBAAkB,CA4B7B;IAhDD;;;;;;;;OAQG;IACH,qCAHkB,wBAAwB,qBACb,CAAC,uBAAuB,CAAC,EAMrD;IAHC,gBAAsB;IACtB,iCAAoB;IACpB,6CAA0C;IAuC9C;;;;OAIG;IACH,aAFU,IAAI,CAE0B;IAExC;;;;OAIG;IACH,WAFU,IAAI,CAEwB;IAEtC;;;;OAIG;IACH,+BAFU,CAAC,4BAA4B,CAAC,CAEkB;IAE1D;;;;OAIG;IACH,kBAFU,CAAC,mBAAmB,CAAC,CAEc;IAsB7C;;;;OAIG;IACH,UAFU,CAAC,mBAAmB,CAAC,CAEM;IAErC;;;;OAIG;IACH,iBAFU,CAAC,mBAAmB,CAAC,CAEa;IAE5C;;;;OAIG;IACH,WAFU,IAAI,CAEwB;CArErC;yCAzDwC,+BAA+B;wCADhC,8BAA8B;6CAFzB,mCAAmC;oCAC5C,0BAA0B"}
|