@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,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CarrierDetailsContext model module.
|
|
3
|
+
* @module invoices_v2024_06_19/model/CarrierDetailsContext
|
|
4
|
+
* @version 2024-06-19
|
|
5
|
+
*/
|
|
6
|
+
export class CarrierDetailsContext {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>CarrierDetailsContext</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 {CarrierDetailsContext} obj Optional instance to populate.
|
|
12
|
+
* @return {CarrierDetailsContext} The populated <code>CarrierDetailsContext</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: CarrierDetailsContext): CarrierDetailsContext;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the carrier, as registered in state and federal tax authorities.
|
|
17
|
+
* @member {String} name
|
|
18
|
+
* @type {String}
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* The address of the carrier, as registered in state and federal tax authorities.
|
|
23
|
+
* @member {String} address
|
|
24
|
+
* @type {String}
|
|
25
|
+
*/
|
|
26
|
+
address: string;
|
|
27
|
+
/**
|
|
28
|
+
* Type of additional information.
|
|
29
|
+
* @member {String} contextType
|
|
30
|
+
* @type {String}
|
|
31
|
+
*/
|
|
32
|
+
contextType: string;
|
|
33
|
+
/**
|
|
34
|
+
* Tax Identification number of the carrier.
|
|
35
|
+
* @member {String} federalTaxId
|
|
36
|
+
* @type {String}
|
|
37
|
+
*/
|
|
38
|
+
federalTaxId: string;
|
|
39
|
+
/**
|
|
40
|
+
* The code of the federal subdivision in which the carrier is registered.
|
|
41
|
+
* @member {String} regionCode
|
|
42
|
+
* @type {String}
|
|
43
|
+
*/
|
|
44
|
+
regionCode: string;
|
|
45
|
+
/**
|
|
46
|
+
* The regional tax registration number of the carrier.
|
|
47
|
+
* @member {String} regionTaxId
|
|
48
|
+
* @type {String}
|
|
49
|
+
*/
|
|
50
|
+
regionTaxId: string;
|
|
51
|
+
/**
|
|
52
|
+
* The identifier for the carrier vehicle as printed in its registration plate.
|
|
53
|
+
* @member {String} vehicleLicensePlate
|
|
54
|
+
* @type {String}
|
|
55
|
+
*/
|
|
56
|
+
vehicleLicensePlate: string;
|
|
57
|
+
/**
|
|
58
|
+
* The code of the federal subdivision in which the carrier vehicle is registered.
|
|
59
|
+
* @member {String} vehicleRegistrationRegionCode
|
|
60
|
+
* @type {String}
|
|
61
|
+
*/
|
|
62
|
+
vehicleRegistrationRegionCode: string;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=CarrierDetailsContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarrierDetailsContext.d.ts","sourceRoot":"","sources":["CarrierDetailsContext.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,qBAAqB,GACpB,qBAAqB,CA0BhC;IAGH;;;;OAIG;IACH,aAAoC;IAEpC;;;;OAIG;IACH,gBAAuC;IAEvC;;;;OAIG;IACH,oBAA2C;IAE3C;;;;OAIG;IACH,qBAA4C;IAE5C;;;;OAIG;IACH,mBAA0C;IAE1C;;;;OAIG;IACH,oBAA2C;IAE3C;;;;OAIG;IACH,4BAAmD;IAEnD;;;;OAIG;IACH,sCAA6D;CAxD5D"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Invoices.
|
|
3
|
+
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-19
|
|
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 CarrierDetailsContext model module.
|
|
18
|
+
* @module invoices_v2024_06_19/model/CarrierDetailsContext
|
|
19
|
+
* @version 2024-06-19
|
|
20
|
+
*/
|
|
21
|
+
export class CarrierDetailsContext {
|
|
22
|
+
/**
|
|
23
|
+
* Constructs a new <code>CarrierDetailsContext</code>.
|
|
24
|
+
* Additional information about a carrier.
|
|
25
|
+
* @alias module:invoices_v2024_06_19/model/CarrierDetailsContext
|
|
26
|
+
* @class
|
|
27
|
+
*/
|
|
28
|
+
constructor () {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Constructs a <code>CarrierDetailsContext</code> from a plain JavaScript object, optionally creating a new instance.
|
|
33
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
34
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
35
|
+
* @param {CarrierDetailsContext} obj Optional instance to populate.
|
|
36
|
+
* @return {CarrierDetailsContext} The populated <code>CarrierDetailsContext</code> instance.
|
|
37
|
+
*/
|
|
38
|
+
static constructFromObject (data, obj) {
|
|
39
|
+
if (data) {
|
|
40
|
+
switch (typeof data) {
|
|
41
|
+
case 'string':
|
|
42
|
+
obj = String(data)
|
|
43
|
+
break
|
|
44
|
+
case 'number':
|
|
45
|
+
obj = Number(data)
|
|
46
|
+
break
|
|
47
|
+
case 'boolean':
|
|
48
|
+
obj = Boolean(data)
|
|
49
|
+
break
|
|
50
|
+
}
|
|
51
|
+
obj = obj || new CarrierDetailsContext()
|
|
52
|
+
if (data.hasOwnProperty('name')) { obj.name = ApiClient.convertToType(data.name, 'String') }
|
|
53
|
+
if (data.hasOwnProperty('address')) { obj.address = ApiClient.convertToType(data.address, 'String') }
|
|
54
|
+
if (data.hasOwnProperty('contextType')) { obj.contextType = ApiClient.convertToType(data.contextType, 'String') }
|
|
55
|
+
if (data.hasOwnProperty('federalTaxId')) { obj.federalTaxId = ApiClient.convertToType(data.federalTaxId, 'String') }
|
|
56
|
+
if (data.hasOwnProperty('regionCode')) { obj.regionCode = ApiClient.convertToType(data.regionCode, 'String') }
|
|
57
|
+
if (data.hasOwnProperty('regionTaxId')) { obj.regionTaxId = ApiClient.convertToType(data.regionTaxId, 'String') }
|
|
58
|
+
if (data.hasOwnProperty('vehicleLicensePlate')) { obj.vehicleLicensePlate = ApiClient.convertToType(data.vehicleLicensePlate, 'String') }
|
|
59
|
+
if (data.hasOwnProperty('vehicleRegistrationRegionCode')) { obj.vehicleRegistrationRegionCode = ApiClient.convertToType(data.vehicleRegistrationRegionCode, 'String') }
|
|
60
|
+
}
|
|
61
|
+
return obj
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The name of the carrier, as registered in state and federal tax authorities.
|
|
67
|
+
* @member {String} name
|
|
68
|
+
* @type {String}
|
|
69
|
+
*/
|
|
70
|
+
CarrierDetailsContext.prototype.name = undefined
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The address of the carrier, as registered in state and federal tax authorities.
|
|
74
|
+
* @member {String} address
|
|
75
|
+
* @type {String}
|
|
76
|
+
*/
|
|
77
|
+
CarrierDetailsContext.prototype.address = undefined
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Type of additional information.
|
|
81
|
+
* @member {String} contextType
|
|
82
|
+
* @type {String}
|
|
83
|
+
*/
|
|
84
|
+
CarrierDetailsContext.prototype.contextType = undefined
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Tax Identification number of the carrier.
|
|
88
|
+
* @member {String} federalTaxId
|
|
89
|
+
* @type {String}
|
|
90
|
+
*/
|
|
91
|
+
CarrierDetailsContext.prototype.federalTaxId = undefined
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The code of the federal subdivision in which the carrier is registered.
|
|
95
|
+
* @member {String} regionCode
|
|
96
|
+
* @type {String}
|
|
97
|
+
*/
|
|
98
|
+
CarrierDetailsContext.prototype.regionCode = undefined
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* The regional tax registration number of the carrier.
|
|
102
|
+
* @member {String} regionTaxId
|
|
103
|
+
* @type {String}
|
|
104
|
+
*/
|
|
105
|
+
CarrierDetailsContext.prototype.regionTaxId = undefined
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The identifier for the carrier vehicle as printed in its registration plate.
|
|
109
|
+
* @member {String} vehicleLicensePlate
|
|
110
|
+
* @type {String}
|
|
111
|
+
*/
|
|
112
|
+
CarrierDetailsContext.prototype.vehicleLicensePlate = undefined
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The code of the federal subdivision in which the carrier vehicle is registered.
|
|
116
|
+
* @member {String} vehicleRegistrationRegionCode
|
|
117
|
+
* @type {String}
|
|
118
|
+
*/
|
|
119
|
+
CarrierDetailsContext.prototype.vehicleRegistrationRegionCode = undefined
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enum class GovernmentInvoiceCreationStatus.
|
|
3
|
+
* @enum {String}
|
|
4
|
+
* @readonly
|
|
5
|
+
*/
|
|
6
|
+
export class GovernmentInvoiceCreationStatus {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>GovernmentInvoiceCreationStatus</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 {GovernmentInvoiceCreationStatus} The enum <code>GovernmentInvoiceCreationStatus</code> value.
|
|
11
|
+
*/
|
|
12
|
+
static constructFromObject(object: any): GovernmentInvoiceCreationStatus;
|
|
13
|
+
/**
|
|
14
|
+
* value: "PROCESSING"
|
|
15
|
+
* @const
|
|
16
|
+
*/
|
|
17
|
+
PROCESSING: string;
|
|
18
|
+
/**
|
|
19
|
+
* value: "SUCCESS"
|
|
20
|
+
* @const
|
|
21
|
+
*/
|
|
22
|
+
SUCCESS: string;
|
|
23
|
+
/**
|
|
24
|
+
* value: "ERROR"
|
|
25
|
+
* @const
|
|
26
|
+
*/
|
|
27
|
+
ERROR: string;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=GovernmentInvoiceCreationStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GovernmentInvoiceCreationStatus.d.ts","sourceRoot":"","sources":["GovernmentInvoiceCreationStatus.js"],"names":[],"mappings":"AAeA;;;;EAIE;AACF;IAmBE;;;;QAII;IACJ,yCAFa,+BAA+B,CAI3C;IAzBD;;;aAGS;IACT,mBAA2B;IAE3B;;;aAGS;IACT,gBAAqB;IAErB;;;aAGS;IACT,cAAiB;CAUlB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Invoices.
|
|
3
|
+
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-19
|
|
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 GovernmentInvoiceCreationStatus.
|
|
18
|
+
* @enum {String}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
export class GovernmentInvoiceCreationStatus {
|
|
22
|
+
/**
|
|
23
|
+
* value: "PROCESSING"
|
|
24
|
+
* @const
|
|
25
|
+
*/
|
|
26
|
+
'PROCESSING' = 'PROCESSING'
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* value: "SUCCESS"
|
|
30
|
+
* @const
|
|
31
|
+
*/
|
|
32
|
+
'SUCCESS' = 'SUCCESS'
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* value: "ERROR"
|
|
36
|
+
* @const
|
|
37
|
+
*/
|
|
38
|
+
'ERROR' = 'ERROR'
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Returns a <code>GovernmentInvoiceCreationStatus</code> enum value from a Javascript object name.
|
|
42
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
43
|
+
* @return {GovernmentInvoiceCreationStatus} The enum <code>GovernmentInvoiceCreationStatus</code> value.
|
|
44
|
+
*/
|
|
45
|
+
static constructFromObject (object) {
|
|
46
|
+
return object
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The GovernmentInvoiceRequest model module.
|
|
3
|
+
* @module invoices_v2024_06_19/model/GovernmentInvoiceRequest
|
|
4
|
+
* @version 2024-06-19
|
|
5
|
+
*/
|
|
6
|
+
export class GovernmentInvoiceRequest {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>GovernmentInvoiceRequest</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 {GovernmentInvoiceRequest} obj Optional instance to populate.
|
|
12
|
+
* @return {GovernmentInvoiceRequest} The populated <code>GovernmentInvoiceRequest</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: GovernmentInvoiceRequest): GovernmentInvoiceRequest;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>GovernmentInvoiceRequest</code>.
|
|
17
|
+
* Information required to create the government invoice.
|
|
18
|
+
* @alias module:invoices_v2024_06_19/model/GovernmentInvoiceRequest
|
|
19
|
+
* @class
|
|
20
|
+
* @param invoiceType {String} Marketplace specific classification of the invoice type. Check 'invoiceType' options using 'getInvoicesAttributes' operation.
|
|
21
|
+
* @param marketplaceId {String} The government invoices creation request will match the national authoritative source of the given marketplace.
|
|
22
|
+
* @param shipmentId {String} The unique shipment identifier to get an invoice for.
|
|
23
|
+
* @param transactionType {String} Marketplace specific classification of the transaction type that originated the invoice. Check 'transactionType' options using 'getInvoicesAttributes' operation.
|
|
24
|
+
*/
|
|
25
|
+
constructor(invoiceType: string, marketplaceId: string, shipmentId: string, transactionType: string);
|
|
26
|
+
invoiceType: string;
|
|
27
|
+
marketplaceId: string;
|
|
28
|
+
shipmentId: string;
|
|
29
|
+
transactionType: string;
|
|
30
|
+
/**
|
|
31
|
+
* Object that contains additional invoice creation information
|
|
32
|
+
* @member {[CarrierDetailsContext]} contexts
|
|
33
|
+
* @type {[CarrierDetailsContext]}
|
|
34
|
+
*/
|
|
35
|
+
contexts: [CarrierDetailsContext];
|
|
36
|
+
/**
|
|
37
|
+
* The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
|
|
38
|
+
* @member {String} inboundPlanId
|
|
39
|
+
* @type {String}
|
|
40
|
+
*/
|
|
41
|
+
inboundPlanId: string;
|
|
42
|
+
}
|
|
43
|
+
import { CarrierDetailsContext } from './CarrierDetailsContext.js';
|
|
44
|
+
//# sourceMappingURL=GovernmentInvoiceRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GovernmentInvoiceRequest.d.ts","sourceRoot":"","sources":["GovernmentInvoiceRequest.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAkBE;;;;;;OAMG;IACH,2CAHW,wBAAwB,GACvB,wBAAwB,CAwBnC;IA9CD;;;;;;;;;OASG;IACH,qGAKC;IAJC,oBAA8B;IAC9B,sBAAkC;IAClC,mBAA4B;IAC5B,wBAAsC;IAmC1C;;;;OAIG;IACH,UAFU,CAAC,qBAAqB,CAAC,CAEU;IAE3C;;;;OAIG;IACH,sBAAgD;CAd/C;sCAvDqC,4BAA4B"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Invoices.
|
|
3
|
+
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-19
|
|
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 { CarrierDetailsContext } from './CarrierDetailsContext.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The GovernmentInvoiceRequest model module.
|
|
19
|
+
* @module invoices_v2024_06_19/model/GovernmentInvoiceRequest
|
|
20
|
+
* @version 2024-06-19
|
|
21
|
+
*/
|
|
22
|
+
export class GovernmentInvoiceRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>GovernmentInvoiceRequest</code>.
|
|
25
|
+
* Information required to create the government invoice.
|
|
26
|
+
* @alias module:invoices_v2024_06_19/model/GovernmentInvoiceRequest
|
|
27
|
+
* @class
|
|
28
|
+
* @param invoiceType {String} Marketplace specific classification of the invoice type. Check 'invoiceType' options using 'getInvoicesAttributes' operation.
|
|
29
|
+
* @param marketplaceId {String} The government invoices creation request will match the national authoritative source of the given marketplace.
|
|
30
|
+
* @param shipmentId {String} The unique shipment identifier to get an invoice for.
|
|
31
|
+
* @param transactionType {String} Marketplace specific classification of the transaction type that originated the invoice. Check 'transactionType' options using 'getInvoicesAttributes' operation.
|
|
32
|
+
*/
|
|
33
|
+
constructor (invoiceType, marketplaceId, shipmentId, transactionType) {
|
|
34
|
+
this.invoiceType = invoiceType
|
|
35
|
+
this.marketplaceId = marketplaceId
|
|
36
|
+
this.shipmentId = shipmentId
|
|
37
|
+
this.transactionType = transactionType
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Constructs a <code>GovernmentInvoiceRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
42
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
43
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
44
|
+
* @param {GovernmentInvoiceRequest} obj Optional instance to populate.
|
|
45
|
+
* @return {GovernmentInvoiceRequest} The populated <code>GovernmentInvoiceRequest</code> instance.
|
|
46
|
+
*/
|
|
47
|
+
static constructFromObject (data, obj) {
|
|
48
|
+
if (data) {
|
|
49
|
+
switch (typeof data) {
|
|
50
|
+
case 'string':
|
|
51
|
+
obj = String(data)
|
|
52
|
+
break
|
|
53
|
+
case 'number':
|
|
54
|
+
obj = Number(data)
|
|
55
|
+
break
|
|
56
|
+
case 'boolean':
|
|
57
|
+
obj = Boolean(data)
|
|
58
|
+
break
|
|
59
|
+
}
|
|
60
|
+
obj = obj || new GovernmentInvoiceRequest()
|
|
61
|
+
if (data.hasOwnProperty('contexts')) { obj.contexts = ApiClient.convertToType(data.contexts, [CarrierDetailsContext]) }
|
|
62
|
+
if (data.hasOwnProperty('inboundPlanId')) { obj.inboundPlanId = ApiClient.convertToType(data.inboundPlanId, 'String') }
|
|
63
|
+
if (data.hasOwnProperty('invoiceType')) { obj.invoiceType = ApiClient.convertToType(data.invoiceType, 'String') }
|
|
64
|
+
if (data.hasOwnProperty('marketplaceId')) { obj.marketplaceId = ApiClient.convertToType(data.marketplaceId, 'String') }
|
|
65
|
+
if (data.hasOwnProperty('shipmentId')) { obj.shipmentId = ApiClient.convertToType(data.shipmentId, 'String') }
|
|
66
|
+
if (data.hasOwnProperty('transactionType')) { obj.transactionType = ApiClient.convertToType(data.transactionType, 'String') }
|
|
67
|
+
}
|
|
68
|
+
return obj
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Object that contains additional invoice creation information
|
|
74
|
+
* @member {[CarrierDetailsContext]} contexts
|
|
75
|
+
* @type {[CarrierDetailsContext]}
|
|
76
|
+
*/
|
|
77
|
+
GovernmentInvoiceRequest.prototype.contexts = undefined
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
|
|
81
|
+
* @member {String} inboundPlanId
|
|
82
|
+
* @type {String}
|
|
83
|
+
*/
|
|
84
|
+
GovernmentInvoiceRequest.prototype.inboundPlanId = undefined
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Marketplace specific classification of the invoice type. Check 'invoiceType' options using 'getInvoicesAttributes' operation.
|
|
88
|
+
* @member {String} invoiceType
|
|
89
|
+
* @type {String}
|
|
90
|
+
*/
|
|
91
|
+
GovernmentInvoiceRequest.prototype.invoiceType = undefined
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The government invoices creation request will match the national authoritative source of the given marketplace.
|
|
95
|
+
* @member {String} marketplaceId
|
|
96
|
+
* @type {String}
|
|
97
|
+
*/
|
|
98
|
+
GovernmentInvoiceRequest.prototype.marketplaceId = undefined
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* The unique shipment identifier to get an invoice for.
|
|
102
|
+
* @member {String} shipmentId
|
|
103
|
+
* @type {String}
|
|
104
|
+
*/
|
|
105
|
+
GovernmentInvoiceRequest.prototype.shipmentId = undefined
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Marketplace specific classification of the transaction type that originated the invoice. Check 'transactionType' options using 'getInvoicesAttributes' operation.
|
|
109
|
+
* @member {String} transactionType
|
|
110
|
+
* @type {String}
|
|
111
|
+
*/
|
|
112
|
+
GovernmentInvoiceRequest.prototype.transactionType = undefined
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The GovernmentInvoiceStatusResponse model module.
|
|
3
|
+
* @module invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse
|
|
4
|
+
* @version 2024-06-19
|
|
5
|
+
*/
|
|
6
|
+
export class GovernmentInvoiceStatusResponse {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>GovernmentInvoiceStatusResponse</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 {GovernmentInvoiceStatusResponse} obj Optional instance to populate.
|
|
12
|
+
* @return {GovernmentInvoiceStatusResponse} The populated <code>GovernmentInvoiceStatusResponse</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: GovernmentInvoiceStatusResponse): GovernmentInvoiceStatusResponse;
|
|
15
|
+
/**
|
|
16
|
+
* The errors that occurred during invoice creation.
|
|
17
|
+
* @member {[InvoiceError]} invoiceErrors
|
|
18
|
+
* @type {[InvoiceError]}
|
|
19
|
+
*/
|
|
20
|
+
invoiceErrors: [InvoiceError];
|
|
21
|
+
/**
|
|
22
|
+
* Government Invoice ID of a successfully authorized invoice.
|
|
23
|
+
* @member {String} invoiceExternalDocumentId
|
|
24
|
+
* @type {String}
|
|
25
|
+
*/
|
|
26
|
+
invoiceExternalDocumentId: string;
|
|
27
|
+
/**
|
|
28
|
+
* @member {GovernmentInvoiceCreationStatus} status
|
|
29
|
+
* @type {GovernmentInvoiceCreationStatus}
|
|
30
|
+
*/
|
|
31
|
+
status: GovernmentInvoiceCreationStatus;
|
|
32
|
+
}
|
|
33
|
+
import { InvoiceError } from './InvoiceError.js';
|
|
34
|
+
import { GovernmentInvoiceCreationStatus } from './GovernmentInvoiceCreationStatus.js';
|
|
35
|
+
//# sourceMappingURL=GovernmentInvoiceStatusResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GovernmentInvoiceStatusResponse.d.ts","sourceRoot":"","sources":["GovernmentInvoiceStatusResponse.js"],"names":[],"mappings":"AAiBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,+BAA+B,GAC9B,+BAA+B,CAqB1C;IAGH;;;;OAIG;IACH,eAFU,CAAC,YAAY,CAAC,CAE+B;IAEvD;;;;OAIG;IACH,kCAAmE;IAEnE;;;OAGG;IACH,QAFU,+BAA+B,CAEO;CApB/C;6BA5C4B,mBAAmB;gDADA,sCAAsC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Invoices.
|
|
3
|
+
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-19
|
|
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 { GovernmentInvoiceCreationStatus } from './GovernmentInvoiceCreationStatus.js'
|
|
16
|
+
import { InvoiceError } from './InvoiceError.js'
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The GovernmentInvoiceStatusResponse model module.
|
|
20
|
+
* @module invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse
|
|
21
|
+
* @version 2024-06-19
|
|
22
|
+
*/
|
|
23
|
+
export class GovernmentInvoiceStatusResponse {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new <code>GovernmentInvoiceStatusResponse</code>.
|
|
26
|
+
* Success.
|
|
27
|
+
* @alias module:invoices_v2024_06_19/model/GovernmentInvoiceStatusResponse
|
|
28
|
+
* @class
|
|
29
|
+
*/
|
|
30
|
+
constructor () {
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a <code>GovernmentInvoiceStatusResponse</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 {GovernmentInvoiceStatusResponse} obj Optional instance to populate.
|
|
38
|
+
* @return {GovernmentInvoiceStatusResponse} The populated <code>GovernmentInvoiceStatusResponse</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 GovernmentInvoiceStatusResponse()
|
|
54
|
+
if (data.hasOwnProperty('invoiceErrors')) { obj.invoiceErrors = ApiClient.convertToType(data.invoiceErrors, [InvoiceError]) }
|
|
55
|
+
if (data.hasOwnProperty('invoiceExternalDocumentId')) { obj.invoiceExternalDocumentId = ApiClient.convertToType(data.invoiceExternalDocumentId, 'String') }
|
|
56
|
+
if (data.hasOwnProperty('status')) { obj.status = GovernmentInvoiceCreationStatus.constructFromObject(data.status) }
|
|
57
|
+
}
|
|
58
|
+
return obj
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The errors that occurred during invoice creation.
|
|
64
|
+
* @member {[InvoiceError]} invoiceErrors
|
|
65
|
+
* @type {[InvoiceError]}
|
|
66
|
+
*/
|
|
67
|
+
GovernmentInvoiceStatusResponse.prototype.invoiceErrors = undefined
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Government Invoice ID of a successfully authorized invoice.
|
|
71
|
+
* @member {String} invoiceExternalDocumentId
|
|
72
|
+
* @type {String}
|
|
73
|
+
*/
|
|
74
|
+
GovernmentInvoiceStatusResponse.prototype.invoiceExternalDocumentId = undefined
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @member {GovernmentInvoiceCreationStatus} status
|
|
78
|
+
* @type {GovernmentInvoiceCreationStatus}
|
|
79
|
+
*/
|
|
80
|
+
GovernmentInvoiceStatusResponse.prototype.status = undefined
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The GovtInvoiceDocumentResponse model module.
|
|
3
|
+
* @module invoices_v2024_06_19/model/GovtInvoiceDocumentResponse
|
|
4
|
+
* @version 2024-06-19
|
|
5
|
+
*/
|
|
6
|
+
export class GovtInvoiceDocumentResponse {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>GovtInvoiceDocumentResponse</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 {GovtInvoiceDocumentResponse} obj Optional instance to populate.
|
|
12
|
+
* @return {GovtInvoiceDocumentResponse} The populated <code>GovtInvoiceDocumentResponse</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: GovtInvoiceDocumentResponse): GovtInvoiceDocumentResponse;
|
|
15
|
+
/**
|
|
16
|
+
* @member {InvoiceDocument} invoiceDocument
|
|
17
|
+
* @type {InvoiceDocument}
|
|
18
|
+
*/
|
|
19
|
+
invoiceDocument: InvoiceDocument;
|
|
20
|
+
}
|
|
21
|
+
import { InvoiceDocument } from './InvoiceDocument.js';
|
|
22
|
+
//# sourceMappingURL=GovtInvoiceDocumentResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GovtInvoiceDocumentResponse.d.ts","sourceRoot":"","sources":["GovtInvoiceDocumentResponse.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,2BAA2B,GAC1B,2BAA2B,CAmBtC;IAGH;;;OAGG;IACH,iBAFU,eAAe,CAE4B;CANpD;gCA1C+B,sBAAsB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Invoices.
|
|
3
|
+
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-19
|
|
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 { InvoiceDocument } from './InvoiceDocument.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The GovtInvoiceDocumentResponse model module.
|
|
19
|
+
* @module invoices_v2024_06_19/model/GovtInvoiceDocumentResponse
|
|
20
|
+
* @version 2024-06-19
|
|
21
|
+
*/
|
|
22
|
+
export class GovtInvoiceDocumentResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>GovtInvoiceDocumentResponse</code>.
|
|
25
|
+
* Success.
|
|
26
|
+
* @alias module:invoices_v2024_06_19/model/GovtInvoiceDocumentResponse
|
|
27
|
+
* @class
|
|
28
|
+
*/
|
|
29
|
+
constructor () {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a <code>GovtInvoiceDocumentResponse</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 {GovtInvoiceDocumentResponse} obj Optional instance to populate.
|
|
37
|
+
* @return {GovtInvoiceDocumentResponse} The populated <code>GovtInvoiceDocumentResponse</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 GovtInvoiceDocumentResponse()
|
|
53
|
+
if (data.hasOwnProperty('invoiceDocument')) { obj.invoiceDocument = InvoiceDocument.constructFromObject(data.invoiceDocument) }
|
|
54
|
+
}
|
|
55
|
+
return obj
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @member {InvoiceDocument} invoiceDocument
|
|
61
|
+
* @type {InvoiceDocument}
|
|
62
|
+
*/
|
|
63
|
+
GovtInvoiceDocumentResponse.prototype.invoiceDocument = undefined
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The InvoiceDocument model module.
|
|
3
|
+
* @module invoices_v2024_06_19/model/InvoiceDocument
|
|
4
|
+
* @version 2024-06-19
|
|
5
|
+
*/
|
|
6
|
+
export class InvoiceDocument {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>InvoiceDocument</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 {InvoiceDocument} obj Optional instance to populate.
|
|
12
|
+
* @return {InvoiceDocument} The populated <code>InvoiceDocument</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: InvoiceDocument): InvoiceDocument;
|
|
15
|
+
/**
|
|
16
|
+
* A pre-signed URL to download the invoice document in its original format. This URL expires after 30 seconds.
|
|
17
|
+
* @member {String} invoiceDocumentUrl
|
|
18
|
+
* @type {String}
|
|
19
|
+
*/
|
|
20
|
+
invoiceDocumentUrl: string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=InvoiceDocument.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvoiceDocument.d.ts","sourceRoot":"","sources":["InvoiceDocument.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAUE;;;;;;OAMG;IACH,2CAHW,eAAe,GACd,eAAe,CAmB1B;IAGH;;;;OAIG;IACH,2BAA4C;CAP3C"}
|