@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,188 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { FulfillmentLocation } from './FulfillmentLocation.js'
|
|
16
|
+
import { FulfillmentPlanItem } from './FulfillmentPlanItem.js'
|
|
17
|
+
import { ShippingInstructions } from './ShippingInstructions.js'
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The FulfillmentPlan model module.
|
|
21
|
+
* @module orders_v0/model/FulfillmentPlan
|
|
22
|
+
* @version v0
|
|
23
|
+
*/
|
|
24
|
+
export class FulfillmentPlan {
|
|
25
|
+
/**
|
|
26
|
+
* Constructs a new <code>FulfillmentPlan</code>.
|
|
27
|
+
* A collection of order items that are to be fulfilled from the same location with the same shipping, pickup, and service instructions.
|
|
28
|
+
* @alias module:orders_v0/model/FulfillmentPlan
|
|
29
|
+
* @class
|
|
30
|
+
* @param fulfillmentPlanId {String} Unique identifier for a fulfillment plan.
|
|
31
|
+
* @param creationDate {String} Time when the fulfillment plan was created in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
32
|
+
* @param fulfillmentType {String} Type of fulfillment
|
|
33
|
+
* @param fulfillmentPlanStatus {String} The fulfillment plan status.
|
|
34
|
+
* @param lastStatusUpdateDate {String} The time when the fulfillment plan's status was last updated in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
35
|
+
* @param fulfillmentPlanItems {[FulfillmentPlanItem]} The details of the order items that are included in the fulfillment plan.
|
|
36
|
+
*/
|
|
37
|
+
constructor (fulfillmentPlanId, creationDate, fulfillmentType, fulfillmentPlanStatus, lastStatusUpdateDate, fulfillmentPlanItems) {
|
|
38
|
+
this.fulfillmentPlanId = fulfillmentPlanId
|
|
39
|
+
this.creationDate = creationDate
|
|
40
|
+
this.fulfillmentType = fulfillmentType
|
|
41
|
+
this.fulfillmentPlanStatus = fulfillmentPlanStatus
|
|
42
|
+
this.lastStatusUpdateDate = lastStatusUpdateDate
|
|
43
|
+
this.fulfillmentPlanItems = fulfillmentPlanItems
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Constructs a <code>FulfillmentPlan</code> from a plain JavaScript object, optionally creating a new instance.
|
|
48
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
49
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
50
|
+
* @param {FulfillmentPlan} obj Optional instance to populate.
|
|
51
|
+
* @return {FulfillmentPlan} The populated <code>FulfillmentPlan</code> instance.
|
|
52
|
+
*/
|
|
53
|
+
static constructFromObject (data, obj) {
|
|
54
|
+
if (data) {
|
|
55
|
+
switch (typeof data) {
|
|
56
|
+
case 'string':
|
|
57
|
+
obj = String(data)
|
|
58
|
+
break
|
|
59
|
+
case 'number':
|
|
60
|
+
obj = Number(data)
|
|
61
|
+
break
|
|
62
|
+
case 'boolean':
|
|
63
|
+
obj = Boolean(data)
|
|
64
|
+
break
|
|
65
|
+
}
|
|
66
|
+
obj = obj || new FulfillmentPlan()
|
|
67
|
+
if (data.hasOwnProperty('FulfillmentPlanId')) { obj.fulfillmentPlanId = ApiClient.convertToType(data.FulfillmentPlanId, 'String') }
|
|
68
|
+
if (data.hasOwnProperty('CreationDate')) { obj.creationDate = ApiClient.convertToType(data.CreationDate, 'String') }
|
|
69
|
+
if (data.hasOwnProperty('FulfillmentType')) { obj.fulfillmentType = ApiClient.convertToType(data.FulfillmentType, 'String') }
|
|
70
|
+
if (data.hasOwnProperty('FulfillmentPlanStatus')) { obj.fulfillmentPlanStatus = ApiClient.convertToType(data.FulfillmentPlanStatus, 'String') }
|
|
71
|
+
if (data.hasOwnProperty('LastStatusUpdateDate')) { obj.lastStatusUpdateDate = ApiClient.convertToType(data.LastStatusUpdateDate, 'String') }
|
|
72
|
+
if (data.hasOwnProperty('FulfillmentLocation')) { obj.fulfillmentLocation = FulfillmentLocation.constructFromObject(data.FulfillmentLocation) }
|
|
73
|
+
if (data.hasOwnProperty('ShippingInstructions')) { obj.shippingInstructions = ShippingInstructions.constructFromObject(data.ShippingInstructions) }
|
|
74
|
+
if (data.hasOwnProperty('FulfillmentPlanItems')) { obj.fulfillmentPlanItems = ApiClient.convertToType(data.FulfillmentPlanItems, [FulfillmentPlanItem]) }
|
|
75
|
+
}
|
|
76
|
+
return obj
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Unique identifier for a fulfillment plan.
|
|
82
|
+
* @member {String} fulfillmentPlanId
|
|
83
|
+
* @type {String}
|
|
84
|
+
*/
|
|
85
|
+
FulfillmentPlan.prototype.fulfillmentPlanId = undefined
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Time when the fulfillment plan was created in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
89
|
+
* @member {String} creationDate
|
|
90
|
+
* @type {String}
|
|
91
|
+
*/
|
|
92
|
+
FulfillmentPlan.prototype.creationDate = undefined
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Allowed values for the <code>FulfillmentType</code> property.
|
|
96
|
+
* @enum {String}
|
|
97
|
+
* @readonly
|
|
98
|
+
*/
|
|
99
|
+
FulfillmentPlan.FulfillmentTypeEnum = {
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* value: "INSTORE_PICKUP"
|
|
103
|
+
* @const
|
|
104
|
+
*/
|
|
105
|
+
INSTORE_PICKUP: 'INSTORE_PICKUP',
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* value: "SERVICE"
|
|
109
|
+
* @const
|
|
110
|
+
*/
|
|
111
|
+
SERVICE: 'SERVICE',
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* value: "SHIP"
|
|
115
|
+
* @const
|
|
116
|
+
*/
|
|
117
|
+
SHIP: 'SHIP'
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Type of fulfillment
|
|
121
|
+
* @member {String} fulfillmentType
|
|
122
|
+
* @type {String}
|
|
123
|
+
*/
|
|
124
|
+
FulfillmentPlan.prototype.fulfillmentType = undefined
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Allowed values for the <code>FulfillmentPlanStatus</code> property.
|
|
128
|
+
* @enum {String}
|
|
129
|
+
* @readonly
|
|
130
|
+
*/
|
|
131
|
+
FulfillmentPlan.FulfillmentPlanStatusEnum = {
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* value: "ACTIVE"
|
|
135
|
+
* @const
|
|
136
|
+
*/
|
|
137
|
+
ACTIVE: 'ACTIVE',
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* value: "ABORTED"
|
|
141
|
+
* @const
|
|
142
|
+
*/
|
|
143
|
+
ABORTED: 'ABORTED',
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* value: "COMPLETED"
|
|
147
|
+
* @const
|
|
148
|
+
*/
|
|
149
|
+
COMPLETED: 'COMPLETED',
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* value: "PARTIALLY_FULFILLED"
|
|
153
|
+
* @const
|
|
154
|
+
*/
|
|
155
|
+
PARTIALLY_FULFILLED: 'PARTIALLY_FULFILLED'
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The fulfillment plan status.
|
|
159
|
+
* @member {String} fulfillmentPlanStatus
|
|
160
|
+
* @type {String}
|
|
161
|
+
*/
|
|
162
|
+
FulfillmentPlan.prototype.fulfillmentPlanStatus = undefined
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The time when the fulfillment plan's status was last updated in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
166
|
+
* @member {String} lastStatusUpdateDate
|
|
167
|
+
* @type {String}
|
|
168
|
+
*/
|
|
169
|
+
FulfillmentPlan.prototype.lastStatusUpdateDate = undefined
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @member {FulfillmentLocation} fulfillmentLocation
|
|
173
|
+
* @type {FulfillmentLocation}
|
|
174
|
+
*/
|
|
175
|
+
FulfillmentPlan.prototype.fulfillmentLocation = undefined
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @member {ShippingInstructions} shippingInstructions
|
|
179
|
+
* @type {ShippingInstructions}
|
|
180
|
+
*/
|
|
181
|
+
FulfillmentPlan.prototype.shippingInstructions = undefined
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The details of the order items that are included in the fulfillment plan.
|
|
185
|
+
* @member {[FulfillmentPlanItem]} fulfillmentPlanItems
|
|
186
|
+
* @type {[FulfillmentPlanItem]}
|
|
187
|
+
*/
|
|
188
|
+
FulfillmentPlan.prototype.fulfillmentPlanItems = undefined
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum class FulfillmentPlanConstraintType.
|
|
3
|
+
* @enum {String}
|
|
4
|
+
* @readonly
|
|
5
|
+
*/
|
|
6
|
+
export class FulfillmentPlanConstraintType {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>FulfillmentPlanConstraintType</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 {FulfillmentPlanConstraintType} The enum <code>FulfillmentPlanConstraintType</code> value.
|
|
11
|
+
*/
|
|
12
|
+
static constructFromObject(object: any): FulfillmentPlanConstraintType;
|
|
13
|
+
/**
|
|
14
|
+
* value: "MANDATORY"
|
|
15
|
+
* @const
|
|
16
|
+
*/
|
|
17
|
+
MANDATORY: string;
|
|
18
|
+
/**
|
|
19
|
+
* value: "RECOMMENDED"
|
|
20
|
+
* @const
|
|
21
|
+
*/
|
|
22
|
+
RECOMMENDED: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=FulfillmentPlanConstraintType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FulfillmentPlanConstraintType.d.ts","sourceRoot":"","sources":["FulfillmentPlanConstraintType.js"],"names":[],"mappings":"AAeA;;;;EAIE;AACF;IAaE;;;;QAII;IACJ,yCAFa,6BAA6B,CAIzC;IAnBD;;;aAGS;IACT,kBAAyB;IAEzB;;;aAGS;IACT,oBAA6B;CAU9B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 FulfillmentPlanConstraintType.
|
|
18
|
+
* @enum {String}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class FulfillmentPlanConstraintType {
|
|
22
|
+
/**
|
|
23
|
+
* value: "MANDATORY"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'MANDATORY' = 'MANDATORY'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "RECOMMENDED"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'RECOMMENDED' = 'RECOMMENDED'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns a <code>FulfillmentPlanConstraintType</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 {FulfillmentPlanConstraintType} The enum <code>FulfillmentPlanConstraintType</code> value.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject (object) {
|
|
40
|
+
return object
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The FulfillmentPlanItem model module.
|
|
3
|
+
* @module orders_v0/model/FulfillmentPlanItem
|
|
4
|
+
* @version v0
|
|
5
|
+
*/
|
|
6
|
+
export class FulfillmentPlanItem {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>FulfillmentPlanItem</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 {FulfillmentPlanItem} obj Optional instance to populate.
|
|
12
|
+
* @return {FulfillmentPlanItem} The populated <code>FulfillmentPlanItem</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: FulfillmentPlanItem): FulfillmentPlanItem;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>FulfillmentPlanItem</code>.
|
|
17
|
+
* The order items associated with this fulfillment plan.
|
|
18
|
+
* @alias module:orders_v0/model/FulfillmentPlanItem
|
|
19
|
+
* @class
|
|
20
|
+
* @param orderItemId {String} An Amazon-defined associated order item's order item identifier.
|
|
21
|
+
* @param measurement {Measurement}
|
|
22
|
+
*/
|
|
23
|
+
constructor(orderItemId: string, measurement: Measurement);
|
|
24
|
+
orderItemId: string;
|
|
25
|
+
measurement: Measurement;
|
|
26
|
+
}
|
|
27
|
+
import { Measurement } from './Measurement.js';
|
|
28
|
+
//# sourceMappingURL=FulfillmentPlanItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FulfillmentPlanItem.d.ts","sourceRoot":"","sources":["FulfillmentPlanItem.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAcE;;;;;;OAMG;IACH,2CAHW,mBAAmB,GAClB,mBAAmB,CAoB9B;IAtCD;;;;;;;OAOG;IACH,8CAFuB,WAAW,EAKjC;IAFC,oBAA8B;IAC9B,yBAA8B;CA6BjC;4BA/C2B,kBAAkB"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { Measurement } from './Measurement.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The FulfillmentPlanItem model module.
|
|
19
|
+
* @module orders_v0/model/FulfillmentPlanItem
|
|
20
|
+
* @version v0
|
|
21
|
+
*/
|
|
22
|
+
export class FulfillmentPlanItem {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>FulfillmentPlanItem</code>.
|
|
25
|
+
* The order items associated with this fulfillment plan.
|
|
26
|
+
* @alias module:orders_v0/model/FulfillmentPlanItem
|
|
27
|
+
* @class
|
|
28
|
+
* @param orderItemId {String} An Amazon-defined associated order item's order item identifier.
|
|
29
|
+
* @param measurement {Measurement}
|
|
30
|
+
*/
|
|
31
|
+
constructor (orderItemId, measurement) {
|
|
32
|
+
this.orderItemId = orderItemId
|
|
33
|
+
this.measurement = measurement
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a <code>FulfillmentPlanItem</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 {FulfillmentPlanItem} obj Optional instance to populate.
|
|
41
|
+
* @return {FulfillmentPlanItem} The populated <code>FulfillmentPlanItem</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 FulfillmentPlanItem()
|
|
57
|
+
if (data.hasOwnProperty('OrderItemId')) { obj.orderItemId = ApiClient.convertToType(data.OrderItemId, 'String') }
|
|
58
|
+
if (data.hasOwnProperty('Measurement')) { obj.measurement = Measurement.constructFromObject(data.Measurement) }
|
|
59
|
+
}
|
|
60
|
+
return obj
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* An Amazon-defined associated order item's order item identifier.
|
|
66
|
+
* @member {String} orderItemId
|
|
67
|
+
* @type {String}
|
|
68
|
+
*/
|
|
69
|
+
FulfillmentPlanItem.prototype.orderItemId = undefined
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @member {Measurement} measurement
|
|
73
|
+
* @type {Measurement}
|
|
74
|
+
*/
|
|
75
|
+
FulfillmentPlanItem.prototype.measurement = undefined
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The FulfillmentPlanShippingConstraints model module.
|
|
3
|
+
* @module orders_v0/model/FulfillmentPlanShippingConstraints
|
|
4
|
+
* @version v0
|
|
5
|
+
*/
|
|
6
|
+
export class FulfillmentPlanShippingConstraints {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>FulfillmentPlanShippingConstraints</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 {FulfillmentPlanShippingConstraints} obj Optional instance to populate.
|
|
12
|
+
* @return {FulfillmentPlanShippingConstraints} The populated <code>FulfillmentPlanShippingConstraints</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: FulfillmentPlanShippingConstraints): FulfillmentPlanShippingConstraints;
|
|
15
|
+
/**
|
|
16
|
+
* @member {FulfillmentPlanConstraintType} palletDelivery
|
|
17
|
+
* @type {FulfillmentPlanConstraintType}
|
|
18
|
+
*/
|
|
19
|
+
palletDelivery: FulfillmentPlanConstraintType;
|
|
20
|
+
/**
|
|
21
|
+
* @member {FulfillmentPlanConstraintType} signatureConfirmation
|
|
22
|
+
* @type {FulfillmentPlanConstraintType}
|
|
23
|
+
*/
|
|
24
|
+
signatureConfirmation: FulfillmentPlanConstraintType;
|
|
25
|
+
}
|
|
26
|
+
import { FulfillmentPlanConstraintType } from './FulfillmentPlanConstraintType.js';
|
|
27
|
+
//# sourceMappingURL=FulfillmentPlanShippingConstraints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FulfillmentPlanShippingConstraints.d.ts","sourceRoot":"","sources":["FulfillmentPlanShippingConstraints.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,kCAAkC,GACjC,kCAAkC,CAoB7C;IAGH;;;OAGG;IACH,gBAFU,6BAA6B,CAEoB;IAE3D;;;OAGG;IACH,uBAFU,6BAA6B,CAE2B;CAZjE;8CA3C6C,oCAAoC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { FulfillmentPlanConstraintType } from './FulfillmentPlanConstraintType.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The FulfillmentPlanShippingConstraints model module.
|
|
19
|
+
* @module orders_v0/model/FulfillmentPlanShippingConstraints
|
|
20
|
+
* @version v0
|
|
21
|
+
*/
|
|
22
|
+
export class FulfillmentPlanShippingConstraints {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>FulfillmentPlanShippingConstraints</code>.
|
|
25
|
+
* Delivery constraints applicable to this order.
|
|
26
|
+
* @alias module:orders_v0/model/FulfillmentPlanShippingConstraints
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor () {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>FulfillmentPlanShippingConstraints</code> from a plain JavaScript object, optionally creating a new instance.
|
|
34
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
35
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
36
|
+
* @param {FulfillmentPlanShippingConstraints} obj Optional instance to populate.
|
|
37
|
+
* @return {FulfillmentPlanShippingConstraints} The populated <code>FulfillmentPlanShippingConstraints</code> instance.
|
|
38
|
+
*/
|
|
39
|
+
static constructFromObject (data, obj) {
|
|
40
|
+
if (data) {
|
|
41
|
+
switch (typeof data) {
|
|
42
|
+
case 'string':
|
|
43
|
+
obj = String(data)
|
|
44
|
+
break
|
|
45
|
+
case 'number':
|
|
46
|
+
obj = Number(data)
|
|
47
|
+
break
|
|
48
|
+
case 'boolean':
|
|
49
|
+
obj = Boolean(data)
|
|
50
|
+
break
|
|
51
|
+
}
|
|
52
|
+
obj = obj || new FulfillmentPlanShippingConstraints()
|
|
53
|
+
if (data.hasOwnProperty('PalletDelivery')) { obj.palletDelivery = FulfillmentPlanConstraintType.constructFromObject(data.PalletDelivery) }
|
|
54
|
+
if (data.hasOwnProperty('SignatureConfirmation')) { obj.signatureConfirmation = FulfillmentPlanConstraintType.constructFromObject(data.SignatureConfirmation) }
|
|
55
|
+
}
|
|
56
|
+
return obj
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @member {FulfillmentPlanConstraintType} palletDelivery
|
|
62
|
+
* @type {FulfillmentPlanConstraintType}
|
|
63
|
+
*/
|
|
64
|
+
FulfillmentPlanShippingConstraints.prototype.palletDelivery = undefined
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @member {FulfillmentPlanConstraintType} signatureConfirmation
|
|
68
|
+
* @type {FulfillmentPlanConstraintType}
|
|
69
|
+
*/
|
|
70
|
+
FulfillmentPlanShippingConstraints.prototype.signatureConfirmation = undefined
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The GetOrderFulfillmentInstructionsResponse model module.
|
|
3
|
+
* @module orders_v0/model/GetOrderFulfillmentInstructionsResponse
|
|
4
|
+
* @version v0
|
|
5
|
+
*/
|
|
6
|
+
export class GetOrderFulfillmentInstructionsResponse {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>GetOrderFulfillmentInstructionsResponse</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 {GetOrderFulfillmentInstructionsResponse} obj Optional instance to populate.
|
|
12
|
+
* @return {GetOrderFulfillmentInstructionsResponse} The populated <code>GetOrderFulfillmentInstructionsResponse</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: GetOrderFulfillmentInstructionsResponse): GetOrderFulfillmentInstructionsResponse;
|
|
15
|
+
/**
|
|
16
|
+
* @member {FulfillmentInstructions} payload
|
|
17
|
+
* @type {FulfillmentInstructions}
|
|
18
|
+
*/
|
|
19
|
+
payload: FulfillmentInstructions;
|
|
20
|
+
/**
|
|
21
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
22
|
+
* @member {[Error]} errors
|
|
23
|
+
* @type {[Error]}
|
|
24
|
+
*/
|
|
25
|
+
errors: [Error];
|
|
26
|
+
}
|
|
27
|
+
import { FulfillmentInstructions } from './FulfillmentInstructions.js';
|
|
28
|
+
import { Error } from './Error.js';
|
|
29
|
+
//# sourceMappingURL=GetOrderFulfillmentInstructionsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetOrderFulfillmentInstructionsResponse.d.ts","sourceRoot":"","sources":["GetOrderFulfillmentInstructionsResponse.js"],"names":[],"mappings":"AAiBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,uCAAuC,GACtC,uCAAuC,CAoBlD;IAGH;;;OAGG;IACH,SAFU,uBAAuB,CAEwB;IAEzD;;;;OAIG;IACH,QAFU,CAAC,KAAK,CAAC,CAEuC;CAbvD;wCA3CuC,8BAA8B;sBADhD,YAAY"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { Error } from './Error.js'
|
|
16
|
+
import { FulfillmentInstructions } from './FulfillmentInstructions.js'
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The GetOrderFulfillmentInstructionsResponse model module.
|
|
20
|
+
* @module orders_v0/model/GetOrderFulfillmentInstructionsResponse
|
|
21
|
+
* @version v0
|
|
22
|
+
*/
|
|
23
|
+
export class GetOrderFulfillmentInstructionsResponse {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>GetOrderFulfillmentInstructionsResponse</code>.
|
|
26
|
+
* The response schema for the `getOrderFulfillmentInstructions` operation.
|
|
27
|
+
* @alias module:orders_v0/model/GetOrderFulfillmentInstructionsResponse
|
|
28
|
+
* @class
|
|
29
|
+
*/
|
|
30
|
+
constructor () {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a <code>GetOrderFulfillmentInstructionsResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
35
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
36
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
37
|
+
* @param {GetOrderFulfillmentInstructionsResponse} obj Optional instance to populate.
|
|
38
|
+
* @return {GetOrderFulfillmentInstructionsResponse} The populated <code>GetOrderFulfillmentInstructionsResponse</code> instance.
|
|
39
|
+
*/
|
|
40
|
+
static constructFromObject (data, obj) {
|
|
41
|
+
if (data) {
|
|
42
|
+
switch (typeof data) {
|
|
43
|
+
case 'string':
|
|
44
|
+
obj = String(data)
|
|
45
|
+
break
|
|
46
|
+
case 'number':
|
|
47
|
+
obj = Number(data)
|
|
48
|
+
break
|
|
49
|
+
case 'boolean':
|
|
50
|
+
obj = Boolean(data)
|
|
51
|
+
break
|
|
52
|
+
}
|
|
53
|
+
obj = obj || new GetOrderFulfillmentInstructionsResponse()
|
|
54
|
+
if (data.hasOwnProperty('payload')) { obj.payload = FulfillmentInstructions.constructFromObject(data.payload) }
|
|
55
|
+
if (data.hasOwnProperty('errors')) { obj.errors = ApiClient.convertToType(data.errors, [Error]) }
|
|
56
|
+
}
|
|
57
|
+
return obj
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @member {FulfillmentInstructions} payload
|
|
63
|
+
* @type {FulfillmentInstructions}
|
|
64
|
+
*/
|
|
65
|
+
GetOrderFulfillmentInstructionsResponse.prototype.payload = undefined
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
69
|
+
* @member {[Error]} errors
|
|
70
|
+
* @type {[Error]}
|
|
71
|
+
*/
|
|
72
|
+
GetOrderFulfillmentInstructionsResponse.prototype.errors = undefined
|
|
@@ -21,12 +21,6 @@ export class OrderBuyerInfo {
|
|
|
21
21
|
*/
|
|
22
22
|
constructor(amazonOrderId: string);
|
|
23
23
|
amazonOrderId: string;
|
|
24
|
-
/**
|
|
25
|
-
* The anonymized email address of the buyer.
|
|
26
|
-
* @member {String} buyerEmail
|
|
27
|
-
* @type {String}
|
|
28
|
-
*/
|
|
29
|
-
buyerEmail: string;
|
|
30
24
|
/**
|
|
31
25
|
* The buyer name or the recipient name.
|
|
32
26
|
* @member {String} buyerName
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderBuyerInfo.d.ts","sourceRoot":"","sources":["OrderBuyerInfo.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAYE;;;;;;OAMG;IACH,2CAHW,cAAc,GACb,cAAc,
|
|
1
|
+
{"version":3,"file":"OrderBuyerInfo.d.ts","sourceRoot":"","sources":["OrderBuyerInfo.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAYE;;;;;;OAMG;IACH,2CAHW,cAAc,GACb,cAAc,CAuBzB;IAvCD;;;;;;OAMG;IACH,mCAEC;IADC,sBAAkC;IAyCtC;;;;OAIG;IACH,kBAAkC;IAElC;;;;OAIG;IACH,oBAAoC;IAEpC;;;OAGG;IACH,cAFU,YAAY,CAEe;IAErC;;;;OAIG;IACH,4BAA4C;CAlC3C;6BAhD4B,mBAAmB"}
|
|
@@ -53,7 +53,6 @@ export class OrderBuyerInfo {
|
|
|
53
53
|
}
|
|
54
54
|
obj = obj || new OrderBuyerInfo()
|
|
55
55
|
if (data.hasOwnProperty('AmazonOrderId')) { obj.amazonOrderId = ApiClient.convertToType(data.AmazonOrderId, 'String') }
|
|
56
|
-
if (data.hasOwnProperty('BuyerEmail')) { obj.buyerEmail = ApiClient.convertToType(data.BuyerEmail, 'String') }
|
|
57
56
|
if (data.hasOwnProperty('BuyerName')) { obj.buyerName = ApiClient.convertToType(data.BuyerName, 'String') }
|
|
58
57
|
if (data.hasOwnProperty('BuyerCounty')) { obj.buyerCounty = ApiClient.convertToType(data.BuyerCounty, 'String') }
|
|
59
58
|
if (data.hasOwnProperty('BuyerTaxInfo')) { obj.buyerTaxInfo = BuyerTaxInfo.constructFromObject(data.BuyerTaxInfo) }
|
|
@@ -70,13 +69,6 @@ export class OrderBuyerInfo {
|
|
|
70
69
|
*/
|
|
71
70
|
OrderBuyerInfo.prototype.amazonOrderId = undefined
|
|
72
71
|
|
|
73
|
-
/**
|
|
74
|
-
* The anonymized email address of the buyer.
|
|
75
|
-
* @member {String} buyerEmail
|
|
76
|
-
* @type {String}
|
|
77
|
-
*/
|
|
78
|
-
OrderBuyerInfo.prototype.buyerEmail = undefined
|
|
79
|
-
|
|
80
72
|
/**
|
|
81
73
|
* The buyer name or the recipient name.
|
|
82
74
|
* @member {String} buyerName
|
|
@@ -228,6 +228,11 @@ export class OrderItem {
|
|
|
228
228
|
* @type {AmazonPrograms}
|
|
229
229
|
*/
|
|
230
230
|
amazonPrograms: AmazonPrograms;
|
|
231
|
+
/**
|
|
232
|
+
* @member {ExportInfo} exportInfo
|
|
233
|
+
* @type {ExportInfo}
|
|
234
|
+
*/
|
|
235
|
+
exportInfo: ExportInfo;
|
|
231
236
|
}
|
|
232
237
|
export namespace OrderItem {
|
|
233
238
|
namespace DeemedResellerCategoryEnum {
|
|
@@ -250,4 +255,5 @@ import { SubstitutionPreferences } from './SubstitutionPreferences.js';
|
|
|
250
255
|
import { Measurement } from './Measurement.js';
|
|
251
256
|
import { ShippingConstraints } from './ShippingConstraints.js';
|
|
252
257
|
import { AmazonPrograms } from './AmazonPrograms.js';
|
|
258
|
+
import { ExportInfo } from './ExportInfo.js';
|
|
253
259
|
//# sourceMappingURL=OrderItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderItem.d.ts","sourceRoot":"","sources":["OrderItem.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OrderItem.d.ts","sourceRoot":"","sources":["OrderItem.js"],"names":[],"mappings":"AA2BA;;;;GAIG;AACH;IAgBE;;;;;;OAMG;IACH,2CAHW,SAAS,GACR,SAAS,CA2DpB;IA/ED;;;;;;;;OAQG;IACH,wEAIC;IAHC,aAAgB;IAChB,oBAA8B;IAC9B,wBAAsC;IA6E1C;;;;OAIG;IACH,kBAA6B;IAS7B;;;;OAIG;IACH,iBAFU,CAAC,cAAc,CAAC,CAES;IAEnC;;;;OAIG;IACH,cAAyB;IASzB;;;;OAIG;IACH,wBAAmC;IAEnC;;;OAGG;IACH,aAFU,iBAAiB,CAEI;IAE/B;;;OAGG;IACH,eAFU,mBAAmB,CAEI;IAEjC;;;OAGG;IACH,WAFU,KAAK,CAEc;IAE7B;;;OAGG;IACH,eAFU,KAAK,CAEkB;IAEjC;;;OAGG;IACH,SAFU,KAAK,CAEY;IAE3B;;;OAGG;IACH,aAFU,KAAK,CAEgB;IAE/B;;;OAGG;IACH,kBAFU,KAAK,CAEqB;IAEpC;;;OAGG;IACH,qBAFU,KAAK,CAEwB;IAEvC;;;OAGG;IACH,mBAFU,KAAK,CAEsB;IAErC;;;OAGG;IACH,sBAFU,KAAK,CAEyB;IAExC;;;;OAIG;IACH,cAFU,QAAQ,CAEc;IAEhC;;;OAGG;IACH,QAFU,KAAK,CAEW;IAE1B;;;OAGG;IACH,gBAFU,KAAK,CAEmB;IAElC;;;;OAIG;IACH,eAA0B;IAE1B;;;;OAIG;IACH,sBAAiC;IAEjC;;;;OAIG;IACH,oBAA+B;IAE/B;;;;OAIG;IACH,2BAAsC;IAEtC;;;;OAIG;IACH,mCAA8C;IAE9C;;;;OAIG;IACH,iCAA4C;IAE5C;;;;OAIG;IACH,yBAAoC;IAEpC;;;OAGG;IACH,eAFU,aAAa,CAEU;IAEjC;;;;OAIG;IACH,8BAAwC;IAExC;;;;OAIG;IACH,wBAAkC;IAElC;;;;OAIG;IACH,mBAA8B;IAE9B;;;;OAIG;IACH,0BAAqC;IAqBrC;;;;OAIG;IACH,+BAA0C;IAE1C;;;OAGG;IACH,WAFU,aAAa,CAEM;IAE7B;;;OAGG;IACH,sBAFU,oBAAoB,CAEU;IAExC;;;;OAIG;IACH,eAFU,QAAQ,CAEe;IAEjC;;;OAGG;IACH,yBAFU,uBAAuB,CAEU;IAE3C;;;OAGG;IACH,aAFU,WAAW,CAEU;IAE/B;;;OAGG;IACH,qBAFU,mBAAmB,CAEU;IAEvC;;;OAGG;IACH,gBAFU,cAAc,CAEU;IAElC;;;OAGG;IACH,YAFU,UAAU,CAEU;CA9R7B;;;;;;;;;;;+BAlG8B,qBAAqB;kCAOlB,wBAAwB;oCADtB,0BAA0B;sBADxC,YAAY;8BAKJ,oBAAoB;8BAPpB,oBAAoB;qCAFb,2BAA2B;wCAQxB,8BAA8B;4BAL1C,kBAAkB;oCAIV,0BAA0B;+BAT/B,qBAAqB;2BAGzB,iBAAiB"}
|