@amazon-sp-api-release/amazon-sp-api-sdk-js 1.0.0 → 1.1.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 +31 -12
- package/index.js +0 -1
- package/package.json +2 -2
- package/sample-node-app/index.js +1 -1
- package/src/apluscontent_v2020_11_01/ApiClient.js +479 -488
- package/src/apluscontent_v2020_11_01/api/AplusContentApi.js +508 -532
- package/src/apluscontent_v2020_11_01/index.js +197 -198
- package/src/apluscontent_v2020_11_01/model/AplusPaginatedResponse.js +22 -26
- package/src/apluscontent_v2020_11_01/model/AplusResponse.js +16 -19
- package/src/apluscontent_v2020_11_01/model/AsinBadge.js +14 -20
- package/src/apluscontent_v2020_11_01/model/AsinMetadata.js +27 -35
- package/src/apluscontent_v2020_11_01/model/ColorType.js +10 -14
- package/src/apluscontent_v2020_11_01/model/ContentBadge.js +16 -23
- package/src/apluscontent_v2020_11_01/model/ContentDocument.js +30 -37
- package/src/apluscontent_v2020_11_01/model/ContentMetadata.js +31 -38
- package/src/apluscontent_v2020_11_01/model/ContentMetadataRecord.js +21 -25
- package/src/apluscontent_v2020_11_01/model/ContentModule.js +63 -81
- package/src/apluscontent_v2020_11_01/model/ContentModuleType.js +36 -53
- package/src/apluscontent_v2020_11_01/model/ContentRecord.js +22 -27
- package/src/apluscontent_v2020_11_01/model/ContentStatus.js +14 -20
- package/src/apluscontent_v2020_11_01/model/ContentType.js +10 -14
- package/src/apluscontent_v2020_11_01/model/Decorator.js +22 -28
- package/src/apluscontent_v2020_11_01/model/DecoratorType.js +22 -32
- package/src/apluscontent_v2020_11_01/model/Error.js +21 -26
- package/src/apluscontent_v2020_11_01/model/ErrorList.js +17 -20
- package/src/apluscontent_v2020_11_01/model/GetContentDocumentResponse.js +25 -29
- package/src/apluscontent_v2020_11_01/model/ImageComponent.js +24 -29
- package/src/apluscontent_v2020_11_01/model/ImageCropSpecification.js +21 -25
- package/src/apluscontent_v2020_11_01/model/ImageDimensions.js +22 -26
- package/src/apluscontent_v2020_11_01/model/ImageOffsets.js +22 -26
- package/src/apluscontent_v2020_11_01/model/IntegerWithUnits.js +19 -23
- package/src/apluscontent_v2020_11_01/model/ListContentDocumentAsinRelationsResponse.js +27 -32
- package/src/apluscontent_v2020_11_01/model/ParagraphComponent.js +18 -21
- package/src/apluscontent_v2020_11_01/model/PlainTextItem.js +19 -23
- package/src/apluscontent_v2020_11_01/model/PositionType.js +10 -14
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentApprovalSubmissionResponse.js +20 -23
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsRequest.js +16 -19
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentAsinRelationsResponse.js +20 -23
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentRequest.js +18 -21
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentResponse.js +23 -27
- package/src/apluscontent_v2020_11_01/model/PostContentDocumentSuspendSubmissionResponse.js +20 -23
- package/src/apluscontent_v2020_11_01/model/PublishRecord.js +32 -40
- package/src/apluscontent_v2020_11_01/model/SearchContentDocumentsResponse.js +27 -32
- package/src/apluscontent_v2020_11_01/model/SearchContentPublishRecordsResponse.js +27 -32
- package/src/apluscontent_v2020_11_01/model/StandardCompanyLogoModule.js +18 -21
- package/src/apluscontent_v2020_11_01/model/StandardComparisonProductBlock.js +28 -36
- package/src/apluscontent_v2020_11_01/model/StandardComparisonTableModule.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardFourImageTextModule.js +25 -32
- package/src/apluscontent_v2020_11_01/model/StandardFourImageTextQuadrantModule.js +30 -36
- package/src/apluscontent_v2020_11_01/model/StandardHeaderImageTextModule.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardHeaderTextListBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardImageCaptionBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardImageSidebarModule.js +30 -38
- package/src/apluscontent_v2020_11_01/model/StandardImageTextBlock.js +22 -27
- package/src/apluscontent_v2020_11_01/model/StandardImageTextCaptionBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardImageTextOverlayModule.js +21 -25
- package/src/apluscontent_v2020_11_01/model/StandardMultipleImageTextModule.js +16 -19
- package/src/apluscontent_v2020_11_01/model/StandardProductDescriptionModule.js +18 -21
- package/src/apluscontent_v2020_11_01/model/StandardSingleImageHighlightsModule.js +29 -37
- package/src/apluscontent_v2020_11_01/model/StandardSingleImageSpecsDetailModule.js +33 -43
- package/src/apluscontent_v2020_11_01/model/StandardSingleSideImageModule.js +21 -25
- package/src/apluscontent_v2020_11_01/model/StandardTechSpecsModule.js +22 -27
- package/src/apluscontent_v2020_11_01/model/StandardTextBlock.js +19 -23
- package/src/apluscontent_v2020_11_01/model/StandardTextListBlock.js +18 -21
- package/src/apluscontent_v2020_11_01/model/StandardTextModule.js +21 -25
- package/src/apluscontent_v2020_11_01/model/StandardTextPairBlock.js +18 -22
- package/src/apluscontent_v2020_11_01/model/StandardThreeImageTextModule.js +23 -29
- package/src/apluscontent_v2020_11_01/model/TextComponent.js +19 -23
- package/src/apluscontent_v2020_11_01/model/TextItem.js +21 -25
- package/src/apluscontent_v2020_11_01/model/ValidateContentDocumentAsinRelationsResponse.js +27 -31
- package/src/appintegrations_v2024_04_01/ApiClient.js +479 -488
- package/src/appintegrations_v2024_04_01/api/AppIntegrationsApi.js +143 -153
- package/src/appintegrations_v2024_04_01/index.js +26 -27
- package/src/appintegrations_v2024_04_01/model/CreateNotificationRequest.js +21 -26
- package/src/appintegrations_v2024_04_01/model/CreateNotificationResponse.js +15 -18
- package/src/appintegrations_v2024_04_01/model/DeleteNotificationsRequest.js +25 -29
- package/src/appintegrations_v2024_04_01/model/Error.js +21 -26
- package/src/appintegrations_v2024_04_01/model/ErrorList.js +17 -20
- package/src/appintegrations_v2024_04_01/model/RecordActionFeedbackRequest.js +20 -23
- package/src/applications_v2023_11_30/ApiClient.js +479 -488
- package/src/applications_v2023_11_30/api/ApplicationsApi.js +56 -62
- package/src/applications_v2023_11_30/index.js +14 -15
- package/src/applications_v2023_11_30/model/Error.js +21 -26
- package/src/applications_v2023_11_30/model/ErrorList.js +17 -20
- package/src/awd_v2024_05_09/ApiClient.js +479 -488
- package/src/awd_v2024_05_09/api/AwdApi.js +458 -484
- package/src/awd_v2024_05_09/index.js +158 -159
- package/src/awd_v2024_05_09/model/Address.js +39 -52
- package/src/awd_v2024_05_09/model/CarrierCode.js +18 -22
- package/src/awd_v2024_05_09/model/CarrierCodeType.js +8 -11
- package/src/awd_v2024_05_09/model/DestinationDetails.js +20 -25
- package/src/awd_v2024_05_09/model/DimensionUnitOfMeasurement.js +10 -14
- package/src/awd_v2024_05_09/model/DistributionPackage.js +28 -33
- package/src/awd_v2024_05_09/model/DistributionPackageContents.js +19 -23
- package/src/awd_v2024_05_09/model/DistributionPackageQuantity.js +21 -25
- package/src/awd_v2024_05_09/model/DistributionPackageType.js +10 -14
- package/src/awd_v2024_05_09/model/Error.js +21 -26
- package/src/awd_v2024_05_09/model/ErrorList.js +17 -20
- package/src/awd_v2024_05_09/model/ExpirationDetails.js +17 -21
- package/src/awd_v2024_05_09/model/InboundEligibility.js +28 -34
- package/src/awd_v2024_05_09/model/InboundEligibilityStatus.js +10 -14
- package/src/awd_v2024_05_09/model/InboundOrder.js +43 -54
- package/src/awd_v2024_05_09/model/InboundOrderCreationData.js +27 -33
- package/src/awd_v2024_05_09/model/InboundOrderReference.js +16 -19
- package/src/awd_v2024_05_09/model/InboundPackages.js +17 -20
- package/src/awd_v2024_05_09/model/InboundPreferences.js +15 -18
- package/src/awd_v2024_05_09/model/InboundShipment.js +60 -78
- package/src/awd_v2024_05_09/model/InboundShipmentStatus.js +20 -29
- package/src/awd_v2024_05_09/model/InboundShipmentSummary.js +30 -38
- package/src/awd_v2024_05_09/model/InboundStatus.js +18 -26
- package/src/awd_v2024_05_09/model/InventoryDetails.js +19 -24
- package/src/awd_v2024_05_09/model/InventoryListing.js +19 -23
- package/src/awd_v2024_05_09/model/InventoryQuantity.js +21 -25
- package/src/awd_v2024_05_09/model/InventorySummary.js +26 -33
- package/src/awd_v2024_05_09/model/InventoryUnitOfMeasurement.js +12 -17
- package/src/awd_v2024_05_09/model/LabelOwner.js +10 -14
- package/src/awd_v2024_05_09/model/LabelStatus.js +14 -20
- package/src/awd_v2024_05_09/model/MeasurementData.js +24 -29
- package/src/awd_v2024_05_09/model/OrderIneligibilityReason.js +19 -23
- package/src/awd_v2024_05_09/model/PackageDimensions.js +27 -33
- package/src/awd_v2024_05_09/model/PackageVolume.js +21 -25
- package/src/awd_v2024_05_09/model/PackageWeight.js +21 -25
- package/src/awd_v2024_05_09/model/PrepCategory.js +34 -50
- package/src/awd_v2024_05_09/model/PrepDetails.js +25 -31
- package/src/awd_v2024_05_09/model/PrepInstruction.js +18 -22
- package/src/awd_v2024_05_09/model/PrepOwner.js +10 -14
- package/src/awd_v2024_05_09/model/ProductAttribute.js +17 -21
- package/src/awd_v2024_05_09/model/ProductQuantity.js +27 -34
- package/src/awd_v2024_05_09/model/ShipmentLabels.js +20 -24
- package/src/awd_v2024_05_09/model/ShipmentListing.js +18 -22
- package/src/awd_v2024_05_09/model/SkuEligibility.js +26 -31
- package/src/awd_v2024_05_09/model/SkuIneligibilityReason.js +19 -23
- package/src/awd_v2024_05_09/model/SkuQuantity.js +23 -28
- package/src/awd_v2024_05_09/model/TrackingDetails.js +19 -23
- package/src/awd_v2024_05_09/model/TransportationDetails.js +17 -20
- package/src/awd_v2024_05_09/model/VolumeUnitOfMeasurement.js +12 -17
- package/src/awd_v2024_05_09/model/WeightUnitOfMeasurement.js +10 -14
- package/src/catalogitems_v2022_04_01/ApiClient.js +479 -488
- package/src/catalogitems_v2022_04_01/api/CatalogApi.js +124 -132
- package/src/catalogitems_v2022_04_01/index.js +95 -96
- package/src/catalogitems_v2022_04_01/model/BrandRefinement.js +19 -23
- package/src/catalogitems_v2022_04_01/model/ClassificationRefinement.js +22 -27
- package/src/catalogitems_v2022_04_01/model/Dimension.js +17 -21
- package/src/catalogitems_v2022_04_01/model/Dimensions.js +22 -28
- package/src/catalogitems_v2022_04_01/model/Error.js +21 -26
- package/src/catalogitems_v2022_04_01/model/ErrorList.js +18 -21
- package/src/catalogitems_v2022_04_01/model/Item.js +45 -58
- package/src/catalogitems_v2022_04_01/model/ItemBrowseClassification.js +21 -26
- package/src/catalogitems_v2022_04_01/model/ItemBrowseClassificationsByMarketplace.js +19 -23
- package/src/catalogitems_v2022_04_01/model/ItemClassificationSalesRank.js +24 -30
- package/src/catalogitems_v2022_04_01/model/ItemContributor.js +21 -25
- package/src/catalogitems_v2022_04_01/model/ItemContributorRole.js +18 -22
- package/src/catalogitems_v2022_04_01/model/ItemDimensionsByMarketplace.js +21 -26
- package/src/catalogitems_v2022_04_01/model/ItemDisplayGroupSalesRank.js +24 -30
- package/src/catalogitems_v2022_04_01/model/ItemIdentifier.js +19 -23
- package/src/catalogitems_v2022_04_01/model/ItemIdentifiersByMarketplace.js +20 -24
- package/src/catalogitems_v2022_04_01/model/ItemImage.js +47 -53
- package/src/catalogitems_v2022_04_01/model/ItemImagesByMarketplace.js +20 -24
- package/src/catalogitems_v2022_04_01/model/ItemProductTypeByMarketplace.js +17 -21
- package/src/catalogitems_v2022_04_01/model/ItemRelationship.js +29 -35
- package/src/catalogitems_v2022_04_01/model/ItemRelationshipsByMarketplace.js +20 -24
- package/src/catalogitems_v2022_04_01/model/ItemSalesRanksByMarketplace.js +22 -27
- package/src/catalogitems_v2022_04_01/model/ItemSearchResults.js +30 -36
- package/src/catalogitems_v2022_04_01/model/ItemSummaryByMarketplace.js +66 -88
- package/src/catalogitems_v2022_04_01/model/ItemVariationTheme.js +17 -21
- package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsByMarketplace.js +53 -63
- package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsCategory.js +17 -21
- package/src/catalogitems_v2022_04_01/model/Pagination.js +17 -21
- package/src/catalogitems_v2022_04_01/model/Refinements.js +21 -25
- package/src/datakiosk_v2023_11_15/ApiClient.js +479 -488
- package/src/datakiosk_v2023_11_15/api/QueriesApi.js +216 -230
- package/src/datakiosk_v2023_11_15/index.js +35 -36
- package/src/datakiosk_v2023_11_15/model/CreateQueryResponse.js +16 -19
- package/src/datakiosk_v2023_11_15/model/CreateQuerySpecification.js +18 -22
- package/src/datakiosk_v2023_11_15/model/Error.js +21 -26
- package/src/datakiosk_v2023_11_15/model/ErrorList.js +17 -20
- package/src/datakiosk_v2023_11_15/model/GetDocumentResponse.js +19 -23
- package/src/datakiosk_v2023_11_15/model/GetQueriesResponse.js +20 -24
- package/src/datakiosk_v2023_11_15/model/GetQueriesResponsePagination.js +15 -18
- package/src/datakiosk_v2023_11_15/model/Query.js +48 -59
- package/src/datakiosk_v2023_11_15/model/QueryPagination.js +15 -18
- package/src/easyship_v2022_03_23/ApiClient.js +479 -488
- package/src/easyship_v2022_03_23/api/EasyShipApi.js +214 -228
- package/src/easyship_v2022_03_23/index.js +89 -90
- package/src/easyship_v2022_03_23/model/Code.js +28 -41
- package/src/easyship_v2022_03_23/model/CreateScheduledPackageRequest.js +24 -29
- package/src/easyship_v2022_03_23/model/CreateScheduledPackagesRequest.js +25 -30
- package/src/easyship_v2022_03_23/model/CreateScheduledPackagesResponse.js +21 -26
- package/src/easyship_v2022_03_23/model/Dimensions.js +24 -31
- package/src/easyship_v2022_03_23/model/Error.js +21 -26
- package/src/easyship_v2022_03_23/model/ErrorList.js +17 -20
- package/src/easyship_v2022_03_23/model/HandoverMethod.js +10 -14
- package/src/easyship_v2022_03_23/model/InvoiceData.js +18 -22
- package/src/easyship_v2022_03_23/model/Item.js +17 -21
- package/src/easyship_v2022_03_23/model/LabelFormat.js +10 -14
- package/src/easyship_v2022_03_23/model/ListHandoverSlotsRequest.js +29 -35
- package/src/easyship_v2022_03_23/model/ListHandoverSlotsResponse.js +20 -24
- package/src/easyship_v2022_03_23/model/OrderScheduleDetails.js +20 -24
- package/src/easyship_v2022_03_23/model/Package.js +47 -58
- package/src/easyship_v2022_03_23/model/PackageDetails.js +23 -28
- package/src/easyship_v2022_03_23/model/PackageStatus.js +30 -44
- package/src/easyship_v2022_03_23/model/Packages.js +17 -20
- package/src/easyship_v2022_03_23/model/RejectedOrder.js +19 -23
- package/src/easyship_v2022_03_23/model/ScheduledPackageId.js +18 -22
- package/src/easyship_v2022_03_23/model/TimeSlot.js +23 -29
- package/src/easyship_v2022_03_23/model/TrackingDetails.js +15 -18
- package/src/easyship_v2022_03_23/model/UnitOfLength.js +8 -11
- package/src/easyship_v2022_03_23/model/UnitOfWeight.js +10 -14
- package/src/easyship_v2022_03_23/model/UpdatePackageDetails.js +23 -27
- package/src/easyship_v2022_03_23/model/UpdateScheduledPackagesRequest.js +20 -24
- package/src/easyship_v2022_03_23/model/Weight.js +18 -22
- package/src/fbaeligibility_v1/ApiClient.js +479 -488
- package/src/fbaeligibility_v1/api/FbaInboundApi.js +68 -74
- package/src/fbaeligibility_v1/index.js +17 -18
- package/src/fbaeligibility_v1/model/Error.js +20 -25
- package/src/fbaeligibility_v1/model/GetItemEligibilityPreviewResponse.js +19 -23
- package/src/fbaeligibility_v1/model/ItemEligibilityPreview.js +112 -119
- package/src/fbainventory_v1/ApiClient.js +479 -488
- package/src/fbainventory_v1/api/FbaInventoryApi.js +208 -220
- package/src/fbainventory_v1/index.js +59 -60
- package/src/fbainventory_v1/model/AddInventoryRequest.js +16 -19
- package/src/fbainventory_v1/model/AddInventoryResponse.js +16 -19
- package/src/fbainventory_v1/model/CreateInventoryItemRequest.js +22 -27
- package/src/fbainventory_v1/model/CreateInventoryItemResponse.js +16 -19
- package/src/fbainventory_v1/model/DeleteInventoryItemResponse.js +16 -19
- package/src/fbainventory_v1/model/Error.js +20 -25
- package/src/fbainventory_v1/model/GetInventorySummariesResponse.js +22 -27
- package/src/fbainventory_v1/model/GetInventorySummariesResult.js +22 -26
- package/src/fbainventory_v1/model/Granularity.js +17 -21
- package/src/fbainventory_v1/model/InventoryDetails.js +30 -39
- package/src/fbainventory_v1/model/InventoryItem.js +22 -27
- package/src/fbainventory_v1/model/InventorySummary.js +32 -43
- package/src/fbainventory_v1/model/Pagination.js +15 -18
- package/src/fbainventory_v1/model/ResearchingQuantity.js +18 -22
- package/src/fbainventory_v1/model/ResearchingQuantityEntry.js +27 -31
- package/src/fbainventory_v1/model/ReservedQuantity.js +21 -27
- package/src/fbainventory_v1/model/UnfulfillableQuantity.js +27 -36
- package/src/feeds_v2021_06_30/ApiClient.js +479 -488
- package/src/feeds_v2021_06_30/api/FeedsApi.js +256 -272
- package/src/feeds_v2021_06_30/index.js +35 -36
- package/src/feeds_v2021_06_30/model/CreateFeedDocumentResponse.js +19 -23
- package/src/feeds_v2021_06_30/model/CreateFeedDocumentSpecification.js +16 -19
- package/src/feeds_v2021_06_30/model/CreateFeedResponse.js +16 -19
- package/src/feeds_v2021_06_30/model/CreateFeedSpecification.js +24 -30
- package/src/feeds_v2021_06_30/model/Error.js +21 -26
- package/src/feeds_v2021_06_30/model/ErrorList.js +17 -20
- package/src/feeds_v2021_06_30/model/Feed.js +45 -55
- package/src/feeds_v2021_06_30/model/FeedDocument.js +25 -30
- package/src/feeds_v2021_06_30/model/GetFeedsResponse.js +19 -23
- package/src/finances_v0/ApiClient.js +479 -488
- package/src/finances_v0/api/DefaultApi.js +172 -184
- package/src/finances_v0/index.js +158 -159
- package/src/finances_v0/model/AdhocDisbursementEvent.js +22 -28
- package/src/finances_v0/model/AdjustmentEvent.js +25 -32
- package/src/finances_v0/model/AdjustmentItem.js +30 -40
- package/src/finances_v0/model/AffordabilityExpenseEvent.js +38 -49
- package/src/finances_v0/model/CapacityReservationBillingEvent.js +22 -28
- package/src/finances_v0/model/ChargeComponent.js +18 -22
- package/src/finances_v0/model/ChargeInstrument.js +20 -25
- package/src/finances_v0/model/ChargeRefundEvent.js +22 -28
- package/src/finances_v0/model/ChargeRefundTransaction.js +18 -22
- package/src/finances_v0/model/CouponPaymentEvent.js +32 -42
- package/src/finances_v0/model/Currency.js +17 -21
- package/src/finances_v0/model/DebtRecoveryEvent.js +26 -33
- package/src/finances_v0/model/DebtRecoveryItem.js +22 -28
- package/src/finances_v0/model/DirectPayment.js +18 -22
- package/src/finances_v0/model/Error.js +21 -26
- package/src/finances_v0/model/FBALiquidationEvent.js +22 -28
- package/src/finances_v0/model/FailedAdhocDisbursementEvent.js +28 -37
- package/src/finances_v0/model/FeeComponent.js +18 -22
- package/src/finances_v0/model/FinancialEventGroup.js +36 -49
- package/src/finances_v0/model/FinancialEvents.js +107 -142
- package/src/finances_v0/model/ImagingServicesFeeEvent.js +22 -28
- package/src/finances_v0/model/ListFinancialEventGroupsPayload.js +18 -22
- package/src/finances_v0/model/ListFinancialEventGroupsResponse.js +19 -23
- package/src/finances_v0/model/ListFinancialEventsPayload.js +18 -22
- package/src/finances_v0/model/ListFinancialEventsResponse.js +19 -23
- package/src/finances_v0/model/LoanServicingEvent.js +18 -22
- package/src/finances_v0/model/NetworkComminglingTransactionEvent.js +30 -40
- package/src/finances_v0/model/PayWithAmazonEvent.js +35 -47
- package/src/finances_v0/model/ProductAdsPaymentEvent.js +26 -34
- package/src/finances_v0/model/Promotion.js +20 -25
- package/src/finances_v0/model/RemovalShipmentAdjustmentEvent.js +26 -34
- package/src/finances_v0/model/RemovalShipmentEvent.js +26 -34
- package/src/finances_v0/model/RemovalShipmentItem.js +30 -40
- package/src/finances_v0/model/RemovalShipmentItemAdjustment.js +28 -37
- package/src/finances_v0/model/RentalTransactionEvent.js +37 -49
- package/src/finances_v0/model/RetrochargeEvent.js +29 -38
- package/src/finances_v0/model/SAFETReimbursementEvent.js +25 -32
- package/src/finances_v0/model/SAFETReimbursementItem.js +20 -25
- package/src/finances_v0/model/SellerDealPaymentEvent.js +30 -40
- package/src/finances_v0/model/SellerReviewEnrollmentPaymentEvent.js +28 -36
- package/src/finances_v0/model/ServiceFeeEvent.js +30 -40
- package/src/finances_v0/model/ShipmentEvent.js +45 -61
- package/src/finances_v0/model/ShipmentItem.js +44 -59
- package/src/finances_v0/model/SolutionProviderCreditEvent.js +34 -46
- package/src/finances_v0/model/TDSReimbursementEvent.js +20 -25
- package/src/finances_v0/model/TaxWithheldComponent.js +18 -22
- package/src/finances_v0/model/TaxWithholdingEvent.js +23 -29
- package/src/finances_v0/model/TaxWithholdingPeriod.js +17 -21
- package/src/finances_v0/model/TrialShipmentEvent.js +24 -31
- package/src/finances_v0/model/ValueAddedServiceChargeEvent.js +22 -28
- package/src/fulfillmentinbound_v0/ApiClient.js +479 -488
- package/src/fulfillmentinbound_v0/api/FbaInboundApi.js +309 -325
- package/src/fulfillmentinbound_v0/index.js +101 -102
- package/src/fulfillmentinbound_v0/model/ASINPrepInstructions.js +24 -30
- package/src/fulfillmentinbound_v0/model/Address.js +35 -45
- package/src/fulfillmentinbound_v0/model/AmazonPrepFeesDetails.js +19 -23
- package/src/fulfillmentinbound_v0/model/Amount.js +21 -25
- package/src/fulfillmentinbound_v0/model/BarcodeInstruction.js +12 -17
- package/src/fulfillmentinbound_v0/model/BillOfLadingDownloadURL.js +15 -18
- package/src/fulfillmentinbound_v0/model/BoxContentsFeeDetails.js +20 -25
- package/src/fulfillmentinbound_v0/model/BoxContentsSource.js +14 -20
- package/src/fulfillmentinbound_v0/model/CurrencyCode.js +10 -14
- package/src/fulfillmentinbound_v0/model/Error.js +21 -26
- package/src/fulfillmentinbound_v0/model/ErrorReason.js +10 -14
- package/src/fulfillmentinbound_v0/model/GetBillOfLadingResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetLabelsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetPrepInstructionsResult.js +25 -31
- package/src/fulfillmentinbound_v0/model/GetShipmentItemsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetShipmentItemsResult.js +18 -22
- package/src/fulfillmentinbound_v0/model/GetShipmentsResponse.js +19 -23
- package/src/fulfillmentinbound_v0/model/GetShipmentsResult.js +18 -22
- package/src/fulfillmentinbound_v0/model/InboundShipmentInfo.js +41 -53
- package/src/fulfillmentinbound_v0/model/InboundShipmentItem.js +32 -42
- package/src/fulfillmentinbound_v0/model/InvalidASIN.js +18 -22
- package/src/fulfillmentinbound_v0/model/InvalidSKU.js +18 -22
- package/src/fulfillmentinbound_v0/model/LabelDownloadURL.js +15 -18
- package/src/fulfillmentinbound_v0/model/LabelPrepType.js +12 -17
- package/src/fulfillmentinbound_v0/model/PrepDetails.js +23 -27
- package/src/fulfillmentinbound_v0/model/PrepGuidance.js +12 -17
- package/src/fulfillmentinbound_v0/model/PrepInstruction.js +38 -56
- package/src/fulfillmentinbound_v0/model/PrepOwner.js +10 -14
- package/src/fulfillmentinbound_v0/model/SKUPrepInstructions.js +29 -37
- package/src/fulfillmentinbound_v0/model/ShipmentStatus.js +26 -38
- package/src/fulfillmentinbound_v2024_03_20/ApiClient.js +479 -488
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +1893 -1987
- package/src/fulfillmentinbound_v2024_03_20/index.js +428 -429
- package/src/fulfillmentinbound_v2024_03_20/model/Address.js +38 -50
- package/src/fulfillmentinbound_v2024_03_20/model/AddressInput.js +39 -51
- package/src/fulfillmentinbound_v2024_03_20/model/AllOwnersConstraint.js +8 -11
- package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlot.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/AppointmentSlotTime.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/Box.js +41 -54
- package/src/fulfillmentinbound_v2024_03_20/model/BoxContentInformationSource.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/BoxInput.js +34 -41
- package/src/fulfillmentinbound_v2024_03_20/model/BoxRequirements.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/BoxUpdateInput.js +36 -44
- package/src/fulfillmentinbound_v2024_03_20/model/CancelInboundPlanResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/CancelSelfShipAppointmentResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/Carrier.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/CarrierAppointment.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ComplianceDetail.js +22 -28
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmDeliveryWindowOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPackingOptionResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmPlacementOptionResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmShipmentContentUpdatePreviewResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsRequest.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/ConfirmTransportationOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ContactInformation.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/ContentUpdatePreview.js +29 -35
- package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanRequest.js +27 -33
- package/src/fulfillmentinbound_v2024_03_20/model/CreateInboundPlanResponse.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsRequest.js +34 -43
- package/src/fulfillmentinbound_v2024_03_20/model/CreateMarketplaceItemLabelsResponse.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/Currency.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/CustomPlacementInput.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/Dates.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/DeliveryWindowOption.js +28 -35
- package/src/fulfillmentinbound_v2024_03_20/model/Dimensions.js +27 -33
- package/src/fulfillmentinbound_v2024_03_20/model/DocumentDownload.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/Error.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/ErrorList.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/FreightInformation.js +18 -22
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateDeliveryWindowOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GeneratePackingOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GeneratePlacementOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsRequest.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateSelfShipAppointmentSlotsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsRequest.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateShipmentContentUpdatePreviewsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsRequest.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/GenerateTransportationOptionsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/GetDeliveryChallanDocumentResponse.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/GetSelfShipAppointmentSlotsResponse.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/InboundOperationStatus.js +28 -34
- package/src/fulfillmentinbound_v2024_03_20/model/InboundPlan.js +45 -57
- package/src/fulfillmentinbound_v2024_03_20/model/InboundPlanSummary.js +36 -45
- package/src/fulfillmentinbound_v2024_03_20/model/Incentive.js +27 -33
- package/src/fulfillmentinbound_v2024_03_20/model/Item.js +36 -46
- package/src/fulfillmentinbound_v2024_03_20/model/ItemInput.js +33 -41
- package/src/fulfillmentinbound_v2024_03_20/model/ItemLabelPageType.js +28 -41
- package/src/fulfillmentinbound_v2024_03_20/model/LabelOwner.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/LabelPrintType.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/ListDeliveryWindowOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanBoxesResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanItemsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlanPalletsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListInboundPlansResponse.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ListItemComplianceDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupBoxesResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPackingGroupItemsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPackingOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPlacementOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListPrepDetailsResponse.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentBoxesResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentContentUpdatePreviewsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentItemsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListShipmentPalletsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/ListTransportationOptionsResponse.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetail.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/LtlTrackingDetailInput.js +18 -22
- package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetail.js +33 -41
- package/src/fulfillmentinbound_v2024_03_20/model/MskuPrepDetailInput.js +25 -30
- package/src/fulfillmentinbound_v2024_03_20/model/MskuQuantity.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/OperationProblem.js +24 -30
- package/src/fulfillmentinbound_v2024_03_20/model/OperationStatus.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/OwnerConstraint.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/PackageGroupingInput.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/PackingConfiguration.js +22 -27
- package/src/fulfillmentinbound_v2024_03_20/model/PackingOption.js +39 -49
- package/src/fulfillmentinbound_v2024_03_20/model/PackingOptionSummary.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/Pagination.js +15 -18
- package/src/fulfillmentinbound_v2024_03_20/model/Pallet.js +27 -34
- package/src/fulfillmentinbound_v2024_03_20/model/PalletInput.js +25 -31
- package/src/fulfillmentinbound_v2024_03_20/model/PlacementOption.js +31 -39
- package/src/fulfillmentinbound_v2024_03_20/model/PlacementOptionSummary.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/PrepCategory.js +34 -50
- package/src/fulfillmentinbound_v2024_03_20/model/PrepInstruction.js +20 -25
- package/src/fulfillmentinbound_v2024_03_20/model/PrepOwner.js +12 -17
- package/src/fulfillmentinbound_v2024_03_20/model/PrepType.js +38 -56
- package/src/fulfillmentinbound_v2024_03_20/model/Quote.js +22 -27
- package/src/fulfillmentinbound_v2024_03_20/model/ReasonComment.js +24 -35
- package/src/fulfillmentinbound_v2024_03_20/model/Region.js +19 -24
- package/src/fulfillmentinbound_v2024_03_20/model/RequestedUpdates.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/ScheduleSelfShipAppointmentResponse.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/SelectedDeliveryWindow.js +27 -34
- package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentDetails.js +20 -25
- package/src/fulfillmentinbound_v2024_03_20/model/SelfShipAppointmentSlotsAvailability.js +18 -22
- package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationRequest.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/SetPackingInformationResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsRequest.js +20 -24
- package/src/fulfillmentinbound_v2024_03_20/model/SetPrepDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/Shipment.js +57 -74
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentDestination.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSource.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentSummary.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/ShipmentTransportationConfiguration.js +30 -37
- package/src/fulfillmentinbound_v2024_03_20/model/ShippingConfiguration.js +17 -21
- package/src/fulfillmentinbound_v2024_03_20/model/ShippingRequirements.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetail.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingDetailInput.js +17 -20
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItem.js +19 -24
- package/src/fulfillmentinbound_v2024_03_20/model/SpdTrackingItemInput.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/Stackability.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/TaxDetails.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/TaxRate.js +19 -24
- package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetails.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/TrackingDetailsInput.js +19 -23
- package/src/fulfillmentinbound_v2024_03_20/model/TransportationOption.js +39 -49
- package/src/fulfillmentinbound_v2024_03_20/model/TransportationSelection.js +22 -27
- package/src/fulfillmentinbound_v2024_03_20/model/UnitOfMeasurement.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/UnitOfWeight.js +10 -14
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateInboundPlanNameRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsRequest.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateItemComplianceDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentNameRequest.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressRequest.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentSourceAddressResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsRequest.js +18 -21
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateShipmentTrackingDetailsResponse.js +16 -19
- package/src/fulfillmentinbound_v2024_03_20/model/Weight.js +21 -25
- package/src/fulfillmentinbound_v2024_03_20/model/WeightRange.js +24 -29
- package/src/fulfillmentinbound_v2024_03_20/model/Window.js +21 -26
- package/src/fulfillmentinbound_v2024_03_20/model/WindowInput.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/ApiClient.js +479 -488
- package/src/fulfillmentoutbound_v2020_07_01/api/FbaOutboundApi.js +593 -625
- package/src/fulfillmentoutbound_v2020_07_01/index.js +272 -273
- package/src/fulfillmentoutbound_v2020_07_01/model/AdditionalLocationInfo.js +58 -86
- package/src/fulfillmentoutbound_v2020_07_01/model/Address.js +38 -50
- package/src/fulfillmentoutbound_v2020_07_01/model/Amount.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/CODSettings.js +25 -32
- package/src/fulfillmentoutbound_v2020_07_01/model/CancelFulfillmentOrderResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderItem.js +35 -46
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderRequest.js +66 -85
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentOrderResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnRequest.js +17 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateFulfillmentReturnResult.js +22 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/CreateReturnItem.js +27 -34
- package/src/fulfillmentoutbound_v2020_07_01/model/CurrentStatus.js +42 -62
- package/src/fulfillmentoutbound_v2020_07_01/model/DateRange.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryInformation.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryMessage.js +17 -21
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryOffer.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPolicy.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryPreferences.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryWindow.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/Destination.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/DropOffLocation.js +36 -40
- package/src/fulfillmentoutbound_v2020_07_01/model/Error.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/EventCode.js +72 -107
- package/src/fulfillmentoutbound_v2020_07_01/model/Feature.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSku.js +23 -30
- package/src/fulfillmentoutbound_v2020_07_01/model/Fee.js +31 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentAction.js +10 -14
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrder.js +66 -84
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderItem.js +47 -63
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentOrderStatus.js +24 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPolicy.js +12 -17
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreview.js +47 -60
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewItem.js +33 -40
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewShipment.js +27 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentReturnItemStatus.js +10 -14
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipment.js +45 -55
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentItem.js +28 -36
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipmentPackage.js +29 -37
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersProduct.js +21 -25
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersRequest.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersResult.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/GetDeliveryOffersTerms.js +23 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureInventoryResult.js +24 -30
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeatureSkuResult.js +27 -34
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFeaturesResult.js +17 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentOrderResult.js +36 -44
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewItem.js +25 -31
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewRequest.js +34 -43
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/GetFulfillmentPreviewResult.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/GetPackageTrackingDetailsResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReason.js +21 -25
- package/src/fulfillmentoutbound_v2020_07_01/model/InvalidItemReasonCode.js +14 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/InvalidReturnItem.js +24 -29
- package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/ListAllFulfillmentOrdersResult.js +18 -22
- package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResponse.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/ListReturnReasonCodesResult.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/LockerDetails.js +17 -21
- package/src/fulfillmentoutbound_v2020_07_01/model/Money.js +19 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/Origin.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/PackageTrackingDetails.js +49 -66
- package/src/fulfillmentoutbound_v2020_07_01/model/PaymentInformation.js +22 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/ProductIdentifier.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/ReasonCodeDetails.js +21 -26
- package/src/fulfillmentoutbound_v2020_07_01/model/ReturnAuthorization.js +30 -37
- package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItem.js +44 -57
- package/src/fulfillmentoutbound_v2020_07_01/model/ReturnItemDisposition.js +16 -23
- package/src/fulfillmentoutbound_v2020_07_01/model/ScheduledDeliveryInfo.js +20 -24
- package/src/fulfillmentoutbound_v2020_07_01/model/ShippingSpeedCategory.js +14 -20
- package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateRequest.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/SubmitFulfillmentOrderStatusUpdateResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/TrackingAddress.js +22 -27
- package/src/fulfillmentoutbound_v2020_07_01/model/TrackingEvent.js +29 -35
- package/src/fulfillmentoutbound_v2020_07_01/model/UnfulfillablePreviewItem.js +24 -30
- package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderItem.js +36 -48
- package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderRequest.js +43 -57
- package/src/fulfillmentoutbound_v2020_07_01/model/UpdateFulfillmentOrderResponse.js +16 -19
- package/src/fulfillmentoutbound_v2020_07_01/model/VariablePrecisionAddress.js +31 -41
- package/src/fulfillmentoutbound_v2020_07_01/model/Weight.js +29 -33
- package/src/invoices_v2024_06_19/ApiClient.js +479 -488
- package/src/invoices_v2024_06_19/api/InvoicesApi.js +317 -335
- package/src/invoices_v2024_06_19/index.js +62 -63
- package/src/invoices_v2024_06_19/model/AttributeOption.js +17 -21
- package/src/invoices_v2024_06_19/model/Error.js +21 -26
- package/src/invoices_v2024_06_19/model/ErrorList.js +17 -20
- package/src/invoices_v2024_06_19/model/Export.js +26 -34
- package/src/invoices_v2024_06_19/model/ExportInvoicesRequest.js +36 -48
- package/src/invoices_v2024_06_19/model/ExportInvoicesResponse.js +15 -18
- package/src/invoices_v2024_06_19/model/ExportStatus.js +14 -20
- package/src/invoices_v2024_06_19/model/FileFormat.js +8 -11
- package/src/invoices_v2024_06_19/model/GetInvoiceResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesAttributesResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesDocumentResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesExportResponse.js +16 -19
- package/src/invoices_v2024_06_19/model/GetInvoicesExportsResponse.js +18 -22
- package/src/invoices_v2024_06_19/model/GetInvoicesResponse.js +18 -22
- package/src/invoices_v2024_06_19/model/Invoice.js +34 -46
- package/src/invoices_v2024_06_19/model/InvoicesAttributes.js +22 -28
- package/src/invoices_v2024_06_19/model/InvoicesDocument.js +17 -21
- package/src/invoices_v2024_06_19/model/TransactionIdentifier.js +17 -21
- package/src/invoicing_v0/ApiClient.js +479 -488
- package/src/invoicing_v0/api/ShipmentInvoiceApi.js +146 -156
- package/src/invoicing_v0/index.js +56 -57
- package/src/invoicing_v0/model/Address.js +38 -52
- package/src/invoicing_v0/model/AddressTypeEnum.js +10 -14
- package/src/invoicing_v0/model/BuyerTaxInfo.js +20 -25
- package/src/invoicing_v0/model/Error.js +21 -26
- package/src/invoicing_v0/model/GetInvoiceStatusResponse.js +19 -23
- package/src/invoicing_v0/model/GetShipmentDetailsResponse.js +19 -23
- package/src/invoicing_v0/model/MarketplaceTaxInfo.js +20 -25
- package/src/invoicing_v0/model/Money.js +17 -21
- package/src/invoicing_v0/model/ShipmentDetail.js +45 -61
- package/src/invoicing_v0/model/ShipmentInvoiceStatus.js +14 -20
- package/src/invoicing_v0/model/ShipmentInvoiceStatusInfo.js +18 -22
- package/src/invoicing_v0/model/ShipmentInvoiceStatusResponse.js +16 -19
- package/src/invoicing_v0/model/ShipmentItem.js +36 -49
- package/src/invoicing_v0/model/SubmitInvoiceRequest.js +21 -26
- package/src/invoicing_v0/model/SubmitInvoiceResponse.js +16 -19
- package/src/invoicing_v0/model/TaxClassification.js +17 -21
- package/src/listingsitems_v2021_08_01/ApiClient.js +479 -488
- package/src/listingsitems_v2021_08_01/api/ListingsApi.js +324 -338
- package/src/listingsitems_v2021_08_01/index.js +86 -87
- package/src/listingsitems_v2021_08_01/model/Audience.js +17 -21
- package/src/listingsitems_v2021_08_01/model/Error.js +21 -26
- package/src/listingsitems_v2021_08_01/model/ErrorList.js +18 -21
- package/src/listingsitems_v2021_08_01/model/FulfillmentAvailability.js +18 -22
- package/src/listingsitems_v2021_08_01/model/Issue.js +38 -46
- package/src/listingsitems_v2021_08_01/model/IssueEnforcementAction.js +16 -19
- package/src/listingsitems_v2021_08_01/model/IssueEnforcements.js +22 -26
- package/src/listingsitems_v2021_08_01/model/IssueExemption.js +26 -30
- package/src/listingsitems_v2021_08_01/model/Item.js +39 -50
- package/src/listingsitems_v2021_08_01/model/ItemIdentifiersByMarketplace.js +17 -21
- package/src/listingsitems_v2021_08_01/model/ItemImage.js +22 -27
- package/src/listingsitems_v2021_08_01/model/ItemOfferByMarketplace.js +36 -43
- package/src/listingsitems_v2021_08_01/model/ItemProcurement.js +18 -21
- package/src/listingsitems_v2021_08_01/model/ItemProductTypeByMarketplace.js +19 -23
- package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +29 -35
- package/src/listingsitems_v2021_08_01/model/ItemRelationshipsByMarketplace.js +20 -24
- package/src/listingsitems_v2021_08_01/model/ItemSearchResults.js +23 -28
- package/src/listingsitems_v2021_08_01/model/ItemSummaryByMarketplace.js +73 -85
- package/src/listingsitems_v2021_08_01/model/ItemVariationTheme.js +19 -23
- package/src/listingsitems_v2021_08_01/model/ListingsItemPatchRequest.js +20 -24
- package/src/listingsitems_v2021_08_01/model/ListingsItemPutRequest.js +29 -34
- package/src/listingsitems_v2021_08_01/model/ListingsItemSubmissionResponse.js +36 -43
- package/src/listingsitems_v2021_08_01/model/Money.js +19 -23
- package/src/listingsitems_v2021_08_01/model/Pagination.js +17 -21
- package/src/listingsitems_v2021_08_01/model/PatchOperation.js +29 -34
- package/src/listingsitems_v2021_08_01/model/Points.js +17 -20
- package/src/listingsrestrictions_v2021_08_01/ApiClient.js +479 -488
- package/src/listingsrestrictions_v2021_08_01/api/ListingsApi.js +75 -81
- package/src/listingsrestrictions_v2021_08_01/index.js +23 -24
- package/src/listingsrestrictions_v2021_08_01/model/Error.js +21 -26
- package/src/listingsrestrictions_v2021_08_01/model/Link.js +27 -33
- package/src/listingsrestrictions_v2021_08_01/model/Reason.js +29 -34
- package/src/listingsrestrictions_v2021_08_01/model/Restriction.js +49 -54
- package/src/listingsrestrictions_v2021_08_01/model/RestrictionList.js +18 -21
- package/src/merchantfulfillment_v0/ApiClient.js +479 -488
- package/src/merchantfulfillment_v0/api/MerchantFulfillmentApi.js +216 -230
- package/src/merchantfulfillment_v0/index.js +176 -177
- package/src/merchantfulfillment_v0/model/AdditionalInputs.js +18 -22
- package/src/merchantfulfillment_v0/model/AdditionalSellerInput.js +35 -46
- package/src/merchantfulfillment_v0/model/AdditionalSellerInputs.js +21 -25
- package/src/merchantfulfillment_v0/model/Address.js +42 -55
- package/src/merchantfulfillment_v0/model/AvailableCarrierWillPickUpOption.js +23 -27
- package/src/merchantfulfillment_v0/model/AvailableDeliveryExperienceOption.js +23 -27
- package/src/merchantfulfillment_v0/model/AvailableShippingServiceOptions.js +21 -25
- package/src/merchantfulfillment_v0/model/Benefits.js +18 -22
- package/src/merchantfulfillment_v0/model/CancelShipmentResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/CarrierWillPickUpOption.js +12 -17
- package/src/merchantfulfillment_v0/model/Constraint.js +18 -22
- package/src/merchantfulfillment_v0/model/CreateShipmentRequest.js +32 -40
- package/src/merchantfulfillment_v0/model/CreateShipmentResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/CurrencyAmount.js +19 -23
- package/src/merchantfulfillment_v0/model/DangerousGoodsDetails.js +57 -63
- package/src/merchantfulfillment_v0/model/DeliveryExperienceOption.js +16 -23
- package/src/merchantfulfillment_v0/model/DeliveryExperienceType.js +14 -20
- package/src/merchantfulfillment_v0/model/Error.js +21 -26
- package/src/merchantfulfillment_v0/model/ExcludedBenefit.js +17 -21
- package/src/merchantfulfillment_v0/model/FileContents.js +24 -29
- package/src/merchantfulfillment_v0/model/FileType.js +12 -17
- package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsRequest.js +24 -29
- package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/GetAdditionalSellerInputsResult.js +19 -23
- package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesRequest.js +21 -25
- package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/GetEligibleShipmentServicesResult.js +26 -32
- package/src/merchantfulfillment_v0/model/GetShipmentResponse.js +19 -23
- package/src/merchantfulfillment_v0/model/HazmatType.js +10 -14
- package/src/merchantfulfillment_v0/model/InputTargetType.js +10 -14
- package/src/merchantfulfillment_v0/model/Item.js +37 -48
- package/src/merchantfulfillment_v0/model/ItemLevelFields.js +20 -24
- package/src/merchantfulfillment_v0/model/Label.js +31 -38
- package/src/merchantfulfillment_v0/model/LabelCustomization.js +18 -22
- package/src/merchantfulfillment_v0/model/LabelDimensions.js +24 -29
- package/src/merchantfulfillment_v0/model/LabelFormat.js +16 -23
- package/src/merchantfulfillment_v0/model/LabelFormatOption.js +18 -22
- package/src/merchantfulfillment_v0/model/LabelFormatOptionRequest.js +15 -18
- package/src/merchantfulfillment_v0/model/Length.js +18 -22
- package/src/merchantfulfillment_v0/model/LiquidVolume.js +35 -39
- package/src/merchantfulfillment_v0/model/PackageDimensions.js +25 -32
- package/src/merchantfulfillment_v0/model/PredefinedPackageDimensions.js +106 -158
- package/src/merchantfulfillment_v0/model/RejectedShippingService.js +27 -34
- package/src/merchantfulfillment_v0/model/SellerInputDefinition.js +36 -45
- package/src/merchantfulfillment_v0/model/Shipment.js +71 -88
- package/src/merchantfulfillment_v0/model/ShipmentRequestDetails.js +49 -61
- package/src/merchantfulfillment_v0/model/ShipmentStatus.js +14 -20
- package/src/merchantfulfillment_v0/model/ShippingOfferingFilter.js +23 -29
- package/src/merchantfulfillment_v0/model/ShippingService.js +59 -75
- package/src/merchantfulfillment_v0/model/ShippingServiceOptions.js +30 -37
- package/src/merchantfulfillment_v0/model/StandardIdForLabel.js +8 -11
- package/src/merchantfulfillment_v0/model/TemporarilyUnavailableCarrier.js +16 -19
- package/src/merchantfulfillment_v0/model/TermsAndConditionsNotAcceptedCarrier.js +16 -19
- package/src/merchantfulfillment_v0/model/UnitOfLength.js +10 -14
- package/src/merchantfulfillment_v0/model/UnitOfWeight.js +10 -14
- package/src/merchantfulfillment_v0/model/Weight.js +21 -25
- package/src/messaging_v1/ApiClient.js +479 -488
- package/src/messaging_v1/api/MessagingApi.js +686 -716
- package/src/messaging_v1/index.js +113 -114
- package/src/messaging_v1/model/Attachment.js +19 -23
- package/src/messaging_v1/model/CreateAmazonMotorsRequest.js +16 -19
- package/src/messaging_v1/model/CreateAmazonMotorsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmCustomizationDetailsRequest.js +18 -22
- package/src/messaging_v1/model/CreateConfirmCustomizationDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmDeliveryDetailsRequest.js +15 -18
- package/src/messaging_v1/model/CreateConfirmDeliveryDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmOrderDetailsRequest.js +15 -18
- package/src/messaging_v1/model/CreateConfirmOrderDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateConfirmServiceDetailsRequest.js +15 -18
- package/src/messaging_v1/model/CreateConfirmServiceDetailsResponse.js +16 -19
- package/src/messaging_v1/model/CreateDigitalAccessKeyRequest.js +18 -22
- package/src/messaging_v1/model/CreateDigitalAccessKeyResponse.js +16 -19
- package/src/messaging_v1/model/CreateLegalDisclosureRequest.js +16 -19
- package/src/messaging_v1/model/CreateLegalDisclosureResponse.js +16 -19
- package/src/messaging_v1/model/CreateNegativeFeedbackRemovalResponse.js +16 -19
- package/src/messaging_v1/model/CreateUnexpectedProblemRequest.js +15 -18
- package/src/messaging_v1/model/CreateUnexpectedProblemResponse.js +16 -19
- package/src/messaging_v1/model/CreateWarrantyRequest.js +20 -25
- package/src/messaging_v1/model/CreateWarrantyResponse.js +16 -19
- package/src/messaging_v1/model/Error.js +21 -26
- package/src/messaging_v1/model/GetAttributesResponse.js +19 -23
- package/src/messaging_v1/model/GetAttributesResponseBuyer.js +15 -18
- package/src/messaging_v1/model/GetMessagingActionResponse.js +25 -31
- package/src/messaging_v1/model/GetMessagingActionResponseEmbedded.js +16 -19
- package/src/messaging_v1/model/GetMessagingActionResponseLinks.js +22 -26
- package/src/messaging_v1/model/GetMessagingActionsForOrderResponse.js +22 -27
- package/src/messaging_v1/model/GetMessagingActionsForOrderResponseEmbedded.js +18 -21
- package/src/messaging_v1/model/GetMessagingActionsForOrderResponseLinks.js +21 -25
- package/src/messaging_v1/model/GetSchemaResponse.js +21 -26
- package/src/messaging_v1/model/GetSchemaResponseLinks.js +18 -21
- package/src/messaging_v1/model/InvoiceRequest.js +16 -19
- package/src/messaging_v1/model/InvoiceResponse.js +16 -19
- package/src/messaging_v1/model/LinkObject.js +18 -22
- package/src/messaging_v1/model/MessagingAction.js +16 -19
- package/src/notifications_v1/ApiClient.js +479 -488
- package/src/notifications_v1/api/NotificationsApi.js +347 -367
- package/src/notifications_v1/index.js +86 -87
- package/src/notifications_v1/model/AggregationFilter.js +16 -19
- package/src/notifications_v1/model/AggregationSettings.js +18 -21
- package/src/notifications_v1/model/AggregationTimePeriod.js +10 -14
- package/src/notifications_v1/model/CreateDestinationRequest.js +21 -25
- package/src/notifications_v1/model/CreateDestinationResponse.js +19 -23
- package/src/notifications_v1/model/CreateSubscriptionRequest.js +22 -27
- package/src/notifications_v1/model/CreateSubscriptionResponse.js +19 -23
- package/src/notifications_v1/model/DeleteDestinationResponse.js +16 -19
- package/src/notifications_v1/model/DeleteSubscriptionByIdResponse.js +16 -19
- package/src/notifications_v1/model/Destination.js +24 -29
- package/src/notifications_v1/model/DestinationResource.js +19 -23
- package/src/notifications_v1/model/DestinationResourceSpecification.js +19 -23
- package/src/notifications_v1/model/Error.js +21 -26
- package/src/notifications_v1/model/EventBridgeResource.js +22 -27
- package/src/notifications_v1/model/EventBridgeResourceSpecification.js +19 -23
- package/src/notifications_v1/model/EventFilter.js +42 -48
- package/src/notifications_v1/model/GetDestinationResponse.js +19 -23
- package/src/notifications_v1/model/GetDestinationsResponse.js +19 -23
- package/src/notifications_v1/model/GetSubscriptionByIdResponse.js +19 -23
- package/src/notifications_v1/model/GetSubscriptionResponse.js +19 -23
- package/src/notifications_v1/model/MarketplaceFilter.js +15 -18
- package/src/notifications_v1/model/OrderChangeTypeEnum.js +10 -14
- package/src/notifications_v1/model/OrderChangeTypeFilter.js +16 -19
- package/src/notifications_v1/model/ProcessingDirective.js +16 -19
- package/src/notifications_v1/model/SqsResource.js +16 -19
- package/src/notifications_v1/model/Subscription.js +25 -31
- package/src/orders_v0/ApiClient.js +479 -488
- package/src/orders_v0/api/OrdersV0Api.js +406 -428
- package/src/orders_v0/api/ShipmentApi.js +66 -72
- package/src/orders_v0/index.js +224 -225
- package/src/orders_v0/model/Address.js +51 -68
- package/src/orders_v0/model/AddressExtendedFields.js +21 -27
- package/src/orders_v0/model/AmazonPrograms.js +16 -19
- package/src/orders_v0/model/AssociatedItem.js +20 -25
- package/src/orders_v0/model/AssociationType.js +8 -11
- package/src/orders_v0/model/AutomatedShippingSettings.js +19 -24
- package/src/orders_v0/model/BusinessHours.js +34 -38
- package/src/orders_v0/model/BuyerCustomizedInfoDetail.js +15 -18
- package/src/orders_v0/model/BuyerInfo.js +24 -31
- package/src/orders_v0/model/BuyerRequestedCancel.js +17 -21
- package/src/orders_v0/model/BuyerTaxInfo.js +20 -25
- package/src/orders_v0/model/BuyerTaxInformation.js +21 -27
- package/src/orders_v0/model/ConfirmShipmentErrorResponse.js +16 -19
- package/src/orders_v0/model/ConfirmShipmentOrderItem.js +21 -26
- package/src/orders_v0/model/ConfirmShipmentRequest.js +27 -32
- package/src/orders_v0/model/ConstraintType.js +8 -11
- package/src/orders_v0/model/DeliveryPreferences.js +23 -29
- package/src/orders_v0/model/EasyShipShipmentStatus.js +38 -56
- package/src/orders_v0/model/ElectronicInvoiceStatus.js +16 -23
- package/src/orders_v0/model/Error.js +21 -26
- package/src/orders_v0/model/ExceptionDates.js +20 -25
- package/src/orders_v0/model/ExportInfo.js +18 -22
- package/src/orders_v0/model/FulfillmentInstruction.js +15 -18
- package/src/orders_v0/model/GetOrderAddressResponse.js +19 -23
- package/src/orders_v0/model/GetOrderBuyerInfoResponse.js +19 -23
- package/src/orders_v0/model/GetOrderItemsBuyerInfoResponse.js +19 -23
- package/src/orders_v0/model/GetOrderItemsResponse.js +19 -23
- package/src/orders_v0/model/GetOrderRegulatedInfoResponse.js +19 -23
- package/src/orders_v0/model/GetOrderResponse.js +19 -23
- package/src/orders_v0/model/GetOrdersResponse.js +19 -23
- package/src/orders_v0/model/ItemBuyerInfo.js +25 -32
- package/src/orders_v0/model/MarketplaceTaxInfo.js +16 -19
- package/src/orders_v0/model/Measurement.js +69 -73
- package/src/orders_v0/model/Money.js +17 -21
- package/src/orders_v0/model/OpenInterval.js +18 -22
- package/src/orders_v0/model/OpenTimeInterval.js +17 -21
- package/src/orders_v0/model/Order.js +171 -220
- package/src/orders_v0/model/OrderAddress.js +24 -30
- package/src/orders_v0/model/OrderBuyerInfo.js +27 -35
- package/src/orders_v0/model/OrderItem.js +118 -161
- package/src/orders_v0/model/OrderItemBuyerInfo.js +28 -36
- package/src/orders_v0/model/OrderItemsBuyerInfoList.js +22 -27
- package/src/orders_v0/model/OrderItemsInner.js +17 -21
- package/src/orders_v0/model/OrderItemsList.js +22 -27
- package/src/orders_v0/model/OrderRegulatedInfo.js +29 -35
- package/src/orders_v0/model/OrdersList.js +23 -29
- package/src/orders_v0/model/OtherDeliveryAttributes.js +12 -17
- package/src/orders_v0/model/PackageDetail.js +36 -46
- package/src/orders_v0/model/PaymentExecutionDetailItem.js +21 -25
- package/src/orders_v0/model/PointsGrantedDetail.js +18 -22
- package/src/orders_v0/model/PreferredDeliveryTime.js +19 -23
- package/src/orders_v0/model/PrescriptionDetail.js +34 -43
- package/src/orders_v0/model/ProductInfoDetail.js +15 -18
- package/src/orders_v0/model/RegulatedInformation.js +17 -20
- package/src/orders_v0/model/RegulatedInformationField.js +31 -37
- package/src/orders_v0/model/RegulatedOrderVerificationStatus.js +34 -43
- package/src/orders_v0/model/RejectionReason.js +19 -23
- package/src/orders_v0/model/ShipmentStatus.js +12 -17
- package/src/orders_v0/model/ShippingConstraints.js +22 -28
- package/src/orders_v0/model/SubstitutionOption.js +25 -32
- package/src/orders_v0/model/SubstitutionPreferences.js +27 -31
- package/src/orders_v0/model/TaxClassification.js +17 -21
- package/src/orders_v0/model/TaxCollection.js +25 -29
- package/src/orders_v0/model/UpdateShipmentStatusErrorResponse.js +16 -19
- package/src/orders_v0/model/UpdateShipmentStatusRequest.js +24 -29
- package/src/orders_v0/model/UpdateVerificationStatusErrorResponse.js +16 -19
- package/src/orders_v0/model/UpdateVerificationStatusRequest.js +18 -21
- package/src/orders_v0/model/UpdateVerificationStatusRequestBody.js +24 -30
- package/src/orders_v0/model/ValidVerificationDetail.js +20 -24
- package/src/orders_v0/model/VerificationDetails.js +16 -19
- package/src/orders_v0/model/VerificationStatus.js +16 -23
- package/src/pricing_v0/ApiClient.js +479 -488
- package/src/pricing_v0/api/ProductPricingApi.js +306 -322
- package/src/pricing_v0/index.js +161 -162
- package/src/pricing_v0/model/ASINIdentifier.js +19 -23
- package/src/pricing_v0/model/BatchOffersRequestParams.js +24 -29
- package/src/pricing_v0/model/BatchOffersResponse.js +24 -29
- package/src/pricing_v0/model/BatchRequest.js +23 -28
- package/src/pricing_v0/model/BuyBoxPriceType.js +42 -53
- package/src/pricing_v0/model/CompetitivePriceType.js +37 -48
- package/src/pricing_v0/model/CompetitivePricingType.js +24 -29
- package/src/pricing_v0/model/ConditionType.js +16 -23
- package/src/pricing_v0/model/CustomerType.js +10 -14
- package/src/pricing_v0/model/DetailedShippingTimeType.js +29 -35
- package/src/pricing_v0/model/Error.js +21 -26
- package/src/pricing_v0/model/Errors.js +17 -20
- package/src/pricing_v0/model/FulfillmentChannelType.js +10 -14
- package/src/pricing_v0/model/GetItemOffersBatchRequest.js +16 -19
- package/src/pricing_v0/model/GetItemOffersBatchResponse.js +16 -19
- package/src/pricing_v0/model/GetListingOffersBatchRequest.js +16 -19
- package/src/pricing_v0/model/GetListingOffersBatchResponse.js +16 -19
- package/src/pricing_v0/model/GetOffersHttpStatusLine.js +17 -21
- package/src/pricing_v0/model/GetOffersResponse.js +19 -23
- package/src/pricing_v0/model/GetOffersResult.js +42 -52
- package/src/pricing_v0/model/GetPricingResponse.js +19 -23
- package/src/pricing_v0/model/HttpMethod.js +16 -23
- package/src/pricing_v0/model/HttpResponseHeaders.js +19 -23
- package/src/pricing_v0/model/IdentifierType.js +21 -25
- package/src/pricing_v0/model/ItemCondition.js +16 -23
- package/src/pricing_v0/model/ItemIdentifier.js +25 -31
- package/src/pricing_v0/model/ItemOffersRequest.js +46 -54
- package/src/pricing_v0/model/ItemOffersRequestParams.js +32 -38
- package/src/pricing_v0/model/ItemOffersResponse.js +35 -41
- package/src/pricing_v0/model/ListingOffersRequest.js +46 -54
- package/src/pricing_v0/model/ListingOffersRequestParams.js +33 -39
- package/src/pricing_v0/model/ListingOffersResponse.js +33 -39
- package/src/pricing_v0/model/LowestPriceType.js +39 -50
- package/src/pricing_v0/model/MoneyType.js +17 -21
- package/src/pricing_v0/model/OfferCountType.js +20 -25
- package/src/pricing_v0/model/OfferCustomerType.js +10 -14
- package/src/pricing_v0/model/OfferDetail.js +61 -79
- package/src/pricing_v0/model/OfferListingCountType.js +19 -23
- package/src/pricing_v0/model/OfferType.js +43 -54
- package/src/pricing_v0/model/Points.js +18 -22
- package/src/pricing_v0/model/Price.js +23 -29
- package/src/pricing_v0/model/PriceType.js +25 -31
- package/src/pricing_v0/model/PrimeInformationType.js +19 -23
- package/src/pricing_v0/model/Product.js +31 -39
- package/src/pricing_v0/model/QuantityDiscountPriceType.js +26 -31
- package/src/pricing_v0/model/QuantityDiscountType.js +8 -11
- package/src/pricing_v0/model/SalesRankType.js +19 -23
- package/src/pricing_v0/model/SellerFeedbackType.js +18 -22
- package/src/pricing_v0/model/SellerSKUIdentifier.js +22 -27
- package/src/pricing_v0/model/ShipsFromType.js +17 -21
- package/src/pricing_v0/model/Summary.js +39 -51
- package/src/pricing_v2022_05_01/ApiClient.js +479 -488
- package/src/pricing_v2022_05_01/api/ProductPricingApi.js +103 -111
- package/src/pricing_v2022_05_01/index.js +128 -129
- package/src/pricing_v2022_05_01/model/BatchRequest.js +25 -31
- package/src/pricing_v2022_05_01/model/BatchResponse.js +21 -25
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchRequest.js +17 -20
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryBatchResponse.js +17 -20
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryIncludedData.js +12 -17
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryRequest.js +34 -42
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponse.js +23 -27
- package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponseBody.js +31 -39
- package/src/pricing_v2022_05_01/model/Condition.js +16 -23
- package/src/pricing_v2022_05_01/model/Error.js +21 -26
- package/src/pricing_v2022_05_01/model/Errors.js +17 -20
- package/src/pricing_v2022_05_01/model/FeaturedBuyingOption.js +24 -28
- package/src/pricing_v2022_05_01/model/FeaturedOffer.js +24 -29
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPrice.js +21 -25
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequest.js +47 -56
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequestParams.js +22 -27
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponse.js +34 -40
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResponseBody.js +22 -27
- package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceResult.js +24 -30
- package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +27 -31
- package/src/pricing_v2022_05_01/model/FulfillmentType.js +10 -14
- package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchRequest.js +16 -19
- package/src/pricing_v2022_05_01/model/GetFeaturedOfferExpectedPriceBatchResponse.js +16 -19
- package/src/pricing_v2022_05_01/model/HttpMethod.js +16 -23
- package/src/pricing_v2022_05_01/model/HttpStatusLine.js +17 -21
- package/src/pricing_v2022_05_01/model/LowestPricedOffer.js +22 -26
- package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +25 -29
- package/src/pricing_v2022_05_01/model/MoneyType.js +17 -21
- package/src/pricing_v2022_05_01/model/Offer.js +70 -80
- package/src/pricing_v2022_05_01/model/OfferIdentifier.js +26 -33
- package/src/pricing_v2022_05_01/model/Points.js +18 -22
- package/src/pricing_v2022_05_01/model/PostalCode.js +18 -22
- package/src/pricing_v2022_05_01/model/Price.js +23 -28
- package/src/pricing_v2022_05_01/model/PrimeDetails.js +24 -27
- package/src/pricing_v2022_05_01/model/ReferencePrice.js +21 -25
- package/src/pricing_v2022_05_01/model/SampleLocation.js +16 -19
- package/src/pricing_v2022_05_01/model/Segment.js +16 -19
- package/src/pricing_v2022_05_01/model/SegmentDetails.js +18 -22
- package/src/pricing_v2022_05_01/model/SegmentedFeaturedOffer.js +85 -96
- package/src/pricing_v2022_05_01/model/ShippingOption.js +25 -29
- package/src/productfees_v0/ApiClient.js +479 -488
- package/src/productfees_v0/api/FeesApi.js +160 -170
- package/src/productfees_v0/index.js +62 -63
- package/src/productfees_v0/model/Error.js +21 -26
- package/src/productfees_v0/model/FeeDetail.js +32 -40
- package/src/productfees_v0/model/FeesEstimate.js +22 -27
- package/src/productfees_v0/model/FeesEstimateByIdRequest.js +24 -29
- package/src/productfees_v0/model/FeesEstimateError.js +25 -31
- package/src/productfees_v0/model/FeesEstimateIdentifier.js +32 -42
- package/src/productfees_v0/model/FeesEstimateRequest.js +29 -36
- package/src/productfees_v0/model/FeesEstimateResult.js +24 -30
- package/src/productfees_v0/model/GetMyFeesEstimateRequest.js +16 -19
- package/src/productfees_v0/model/GetMyFeesEstimateResponse.js +19 -23
- package/src/productfees_v0/model/GetMyFeesEstimateResult.js +16 -19
- package/src/productfees_v0/model/GetMyFeesEstimatesErrorList.js +18 -21
- package/src/productfees_v0/model/IdType.js +10 -14
- package/src/productfees_v0/model/IncludedFeeDetail.js +29 -36
- package/src/productfees_v0/model/MoneyType.js +17 -21
- package/src/productfees_v0/model/OptionalFulfillmentProgram.js +12 -17
- package/src/productfees_v0/model/Points.js +18 -22
- package/src/productfees_v0/model/PriceToEstimateFees.js +23 -28
- package/src/producttypedefinitions_v2020_09_01/ApiClient.js +479 -488
- package/src/producttypedefinitions_v2020_09_01/api/DefinitionsApi.js +120 -128
- package/src/producttypedefinitions_v2020_09_01/index.js +35 -36
- package/src/producttypedefinitions_v2020_09_01/model/Error.js +21 -26
- package/src/producttypedefinitions_v2020_09_01/model/ErrorList.js +18 -21
- package/src/producttypedefinitions_v2020_09_01/model/ProductType.js +22 -27
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeDefinition.js +61 -73
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeList.js +21 -25
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeVersion.js +21 -26
- package/src/producttypedefinitions_v2020_09_01/model/PropertyGroup.js +19 -24
- package/src/producttypedefinitions_v2020_09_01/model/SchemaLink.js +21 -25
- package/src/producttypedefinitions_v2020_09_01/model/SchemaLinkLink.js +23 -27
- package/src/replenishment_v2022_11_07/ApiClient.js +479 -488
- package/src/replenishment_v2022_11_07/api/OffersApi.js +95 -103
- package/src/replenishment_v2022_11_07/api/SellingpartnersApi.js +59 -65
- package/src/replenishment_v2022_11_07/index.js +119 -120
- package/src/replenishment_v2022_11_07/model/AggregationFrequency.js +14 -20
- package/src/replenishment_v2022_11_07/model/AutoEnrollmentPreference.js +10 -14
- package/src/replenishment_v2022_11_07/model/DiscountFunding.js +15 -18
- package/src/replenishment_v2022_11_07/model/EligibilityStatus.js +14 -20
- package/src/replenishment_v2022_11_07/model/EnrollmentMethod.js +10 -14
- package/src/replenishment_v2022_11_07/model/Error.js +21 -26
- package/src/replenishment_v2022_11_07/model/ErrorList.js +17 -20
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsRequest.js +36 -44
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponse.js +16 -19
- package/src/replenishment_v2022_11_07/model/GetSellingPartnerMetricsResponseMetric.js +58 -82
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequest.js +26 -31
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestFilters.js +35 -43
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestPagination.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsRequestSort.js +23 -27
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponse.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsResponseOffer.js +48 -67
- package/src/replenishment_v2022_11_07/model/ListOfferMetricsSortKey.js +24 -35
- package/src/replenishment_v2022_11_07/model/ListOffersRequest.js +26 -31
- package/src/replenishment_v2022_11_07/model/ListOffersRequestFilters.js +33 -42
- package/src/replenishment_v2022_11_07/model/ListOffersRequestPagination.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOffersRequestSort.js +23 -27
- package/src/replenishment_v2022_11_07/model/ListOffersResponse.js +19 -23
- package/src/replenishment_v2022_11_07/model/ListOffersResponseOffer.js +30 -39
- package/src/replenishment_v2022_11_07/model/ListOffersSortKey.js +16 -23
- package/src/replenishment_v2022_11_07/model/Metric.js +30 -44
- package/src/replenishment_v2022_11_07/model/OfferProgramConfiguration.js +22 -27
- package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPreferences.js +16 -19
- package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotions.js +22 -28
- package/src/replenishment_v2022_11_07/model/OfferProgramConfigurationPromotionsDiscountFunding.js +15 -18
- package/src/replenishment_v2022_11_07/model/PaginationResponse.js +15 -18
- package/src/replenishment_v2022_11_07/model/Preference.js +16 -19
- package/src/replenishment_v2022_11_07/model/ProgramType.js +8 -11
- package/src/replenishment_v2022_11_07/model/Promotion.js +22 -28
- package/src/replenishment_v2022_11_07/model/SortOrder.js +10 -14
- package/src/replenishment_v2022_11_07/model/TimeInterval.js +19 -23
- package/src/replenishment_v2022_11_07/model/TimePeriodType.js +10 -14
- package/src/reports_v2021_06_30/ApiClient.js +479 -488
- package/src/reports_v2021_06_30/api/ReportsApi.js +349 -371
- package/src/reports_v2021_06_30/index.js +41 -42
- package/src/reports_v2021_06_30/model/CreateReportResponse.js +16 -19
- package/src/reports_v2021_06_30/model/CreateReportScheduleResponse.js +16 -19
- package/src/reports_v2021_06_30/model/CreateReportScheduleSpecification.js +64 -71
- package/src/reports_v2021_06_30/model/CreateReportSpecification.js +25 -32
- package/src/reports_v2021_06_30/model/Error.js +21 -26
- package/src/reports_v2021_06_30/model/ErrorList.js +17 -20
- package/src/reports_v2021_06_30/model/GetReportsResponse.js +19 -23
- package/src/reports_v2021_06_30/model/Report.js +51 -64
- package/src/reports_v2021_06_30/model/ReportDocument.js +25 -30
- package/src/reports_v2021_06_30/model/ReportSchedule.js +28 -36
- package/src/reports_v2021_06_30/model/ReportScheduleList.js +17 -20
- package/src/sales_v1/ApiClient.js +479 -488
- package/src/sales_v1/api/SalesApi.js +78 -84
- package/src/sales_v1/index.js +20 -21
- package/src/sales_v1/model/Error.js +21 -26
- package/src/sales_v1/model/GetOrderMetricsResponse.js +19 -23
- package/src/sales_v1/model/Money.js +19 -23
- package/src/sales_v1/model/OrderMetricsInterval.js +34 -42
- package/src/sellers_v1/ApiClient.js +479 -488
- package/src/sellers_v1/api/SellersApi.js +90 -98
- package/src/sellers_v1/index.js +38 -39
- package/src/sellers_v1/model/Account.js +53 -60
- package/src/sellers_v1/model/Address.js +27 -35
- package/src/sellers_v1/model/Business.js +27 -34
- package/src/sellers_v1/model/Error.js +21 -26
- package/src/sellers_v1/model/GetAccountResponse.js +19 -23
- package/src/sellers_v1/model/GetMarketplaceParticipationsResponse.js +19 -23
- package/src/sellers_v1/model/Marketplace.js +31 -39
- package/src/sellers_v1/model/MarketplaceParticipation.js +26 -31
- package/src/sellers_v1/model/Participation.js +19 -23
- package/src/sellers_v1/model/PrimaryContact.js +23 -28
- package/src/services_v1/ApiClient.js +479 -488
- package/src/services_v1/api/ServiceApi.js +847 -885
- package/src/services_v1/index.js +204 -198
- package/src/services_v1/model/AddAppointmentRequest.js +18 -21
- package/src/services_v1/model/Address.js +37 -50
- package/src/services_v1/model/Appointment.js +36 -44
- package/src/services_v1/model/AppointmentResource.js +15 -18
- package/src/services_v1/model/AppointmentSlot.js +19 -24
- package/src/services_v1/model/AppointmentSlotReport.js +28 -34
- package/src/services_v1/model/AppointmentTime.js +19 -23
- package/src/services_v1/model/AppointmentTimeInput.js +18 -22
- package/src/services_v1/model/AssignAppointmentResourcesRequest.js +17 -20
- package/src/services_v1/model/AssignAppointmentResourcesResponse.js +19 -23
- package/src/services_v1/model/AssignAppointmentResourcesResponsePayload.js +16 -19
- package/src/services_v1/model/AssociatedItem.js +38 -47
- package/src/services_v1/model/AvailabilityRecord.js +24 -30
- package/src/services_v1/model/Buyer.js +21 -27
- package/src/services_v1/model/CancelReservationResponse.js +16 -19
- package/src/services_v1/model/CancelServiceJobByServiceJobIdResponse.js +16 -19
- package/src/services_v1/model/CapacityType.js +14 -20
- package/src/services_v1/model/CompleteServiceJobByServiceJobIdResponse.js +16 -19
- package/src/services_v1/model/CreateReservationRecord.js +22 -27
- package/src/services_v1/model/CreateReservationRequest.js +21 -25
- package/src/services_v1/model/CreateReservationResponse.js +19 -23
- package/src/services_v1/model/CreateServiceDocumentUploadDestination.js +19 -23
- package/src/services_v1/model/DateTimeRange.js +73 -0
- package/src/services_v1/model/DayOfWeek.js +20 -29
- package/src/services_v1/model/EncryptionDetails.js +26 -31
- package/src/services_v1/model/Error.js +29 -35
- package/src/services_v1/model/FixedSlot.js +23 -30
- package/src/services_v1/model/FixedSlotCapacity.js +22 -28
- package/src/services_v1/model/FixedSlotCapacityErrors.js +16 -19
- package/src/services_v1/model/FixedSlotCapacityQuery.js +24 -30
- package/src/services_v1/model/FulfillmentDocument.js +17 -21
- package/src/services_v1/model/FulfillmentTime.js +17 -21
- package/src/services_v1/model/GetAppointmentSlotsResponse.js +19 -23
- package/src/services_v1/model/GetServiceJobByServiceJobIdResponse.js +19 -23
- package/src/services_v1/model/GetServiceJobsResponse.js +19 -23
- package/src/services_v1/model/ItemDelivery.js +18 -22
- package/src/services_v1/model/ItemDeliveryPromise.js +17 -21
- package/src/services_v1/model/JobListing.js +22 -28
- package/src/services_v1/model/Poa.js +35 -42
- package/src/services_v1/model/RangeCapacity.js +19 -23
- package/src/services_v1/model/RangeSlot.js +19 -24
- package/src/services_v1/model/RangeSlotCapacity.js +20 -25
- package/src/services_v1/model/RangeSlotCapacityErrors.js +16 -19
- package/src/services_v1/model/RangeSlotCapacityQuery.js +22 -27
- package/src/services_v1/model/Recurrence.js +21 -26
- package/src/services_v1/model/RescheduleAppointmentRequest.js +21 -25
- package/src/services_v1/model/Reservation.js +35 -40
- package/src/services_v1/model/ScopeOfWork.js +21 -27
- package/src/services_v1/model/Seller.js +15 -18
- package/src/services_v1/model/ServiceDocumentUploadDestination.js +26 -32
- package/src/services_v1/model/ServiceJob.js +65 -81
- package/src/services_v1/model/ServiceJobProvider.js +15 -18
- package/src/services_v1/model/ServiceLocation.js +26 -30
- package/src/services_v1/model/ServiceUploadDocument.js +35 -40
- package/src/services_v1/model/SetAppointmentFulfillmentDataRequest.js +29 -27
- package/src/services_v1/model/SetAppointmentResponse.js +21 -26
- package/src/services_v1/model/Technician.js +17 -21
- package/src/services_v1/model/UpdateReservationRecord.js +22 -27
- package/src/services_v1/model/UpdateReservationRequest.js +21 -25
- package/src/services_v1/model/UpdateReservationResponse.js +19 -23
- package/src/services_v1/model/UpdateScheduleRecord.js +22 -27
- package/src/services_v1/model/UpdateScheduleRequest.js +17 -20
- package/src/services_v1/model/UpdateScheduleResponse.js +19 -23
- package/src/services_v1/model/Warning.js +21 -26
- package/src/shipping_v2/ApiClient.js +478 -487
- package/src/shipping_v2/api/ShippingApi.js +911 -955
- package/src/shipping_v2/index.js +388 -389
- package/src/shipping_v2/model/AccessPoint.js +43 -55
- package/src/shipping_v2/model/AccessPointDetails.js +14 -17
- package/src/shipping_v2/model/AccessPointType.js +21 -31
- package/src/shipping_v2/model/AccessibilityAttributes.js +16 -20
- package/src/shipping_v2/model/AccountStatus.js +13 -19
- package/src/shipping_v2/model/AccountType.js +11 -16
- package/src/shipping_v2/model/ActiveAccount.js +16 -20
- package/src/shipping_v2/model/Address.js +43 -57
- package/src/shipping_v2/model/AmazonOrderDetails.js +15 -18
- package/src/shipping_v2/model/AmazonShipmentDetails.js +15 -18
- package/src/shipping_v2/model/AvailableValueAddedServiceGroup.js +24 -30
- package/src/shipping_v2/model/Benefits.js +19 -23
- package/src/shipping_v2/model/CancelShipmentResponse.js +14 -17
- package/src/shipping_v2/model/Carrier.js +18 -22
- package/src/shipping_v2/model/CarrierAccount.js +18 -22
- package/src/shipping_v2/model/CarrierAccountAttribute.js +18 -23
- package/src/shipping_v2/model/CarrierAccountInput.js +30 -40
- package/src/shipping_v2/model/ChannelDetails.js +23 -28
- package/src/shipping_v2/model/ChannelType.js +9 -13
- package/src/shipping_v2/model/ChargeComponent.js +23 -27
- package/src/shipping_v2/model/ClaimReason.js +15 -22
- package/src/shipping_v2/model/ClientReferenceDetail.js +24 -28
- package/src/shipping_v2/model/CollectOnDelivery.js +17 -20
- package/src/shipping_v2/model/CollectionFormsHistoryRecord.js +24 -31
- package/src/shipping_v2/model/CollectionsFormDocument.js +16 -20
- package/src/shipping_v2/model/CreateClaimRequest.js +32 -40
- package/src/shipping_v2/model/CreateClaimResponse.js +14 -17
- package/src/shipping_v2/model/Currency.js +18 -22
- package/src/shipping_v2/model/DangerousGoodsDetails.js +56 -62
- package/src/shipping_v2/model/DateRange.js +16 -20
- package/src/shipping_v2/model/DetailCodes.js +65 -97
- package/src/shipping_v2/model/Dimensions.js +30 -36
- package/src/shipping_v2/model/DirectFulfillmentItemIdentifiers.js +17 -21
- package/src/shipping_v2/model/DirectPurchaseRequest.js +30 -38
- package/src/shipping_v2/model/DirectPurchaseResponse.js +15 -18
- package/src/shipping_v2/model/DirectPurchaseResult.js +18 -22
- package/src/shipping_v2/model/DocumentFormat.js +11 -16
- package/src/shipping_v2/model/DocumentSize.js +27 -32
- package/src/shipping_v2/model/DocumentType.js +13 -19
- package/src/shipping_v2/model/Error.js +20 -25
- package/src/shipping_v2/model/ErrorList.js +16 -19
- package/src/shipping_v2/model/Event.js +26 -32
- package/src/shipping_v2/model/EventCode.js +33 -49
- package/src/shipping_v2/model/ExceptionOperatingHours.js +18 -22
- package/src/shipping_v2/model/ExcludedBenefit.js +17 -21
- package/src/shipping_v2/model/GenerateCollectionFormRequest.js +21 -26
- package/src/shipping_v2/model/GenerateCollectionFormResponse.js +15 -18
- package/src/shipping_v2/model/GenerationStatus.js +9 -13
- package/src/shipping_v2/model/Geocode.js +16 -20
- package/src/shipping_v2/model/GetAccessPointsResponse.js +15 -18
- package/src/shipping_v2/model/GetAccessPointsResult.js +16 -19
- package/src/shipping_v2/model/GetAdditionalInputsResponse.js +14 -17
- package/src/shipping_v2/model/GetCarrierAccountFormInputsResponse.js +15 -18
- package/src/shipping_v2/model/GetCarrierAccountsRequest.js +15 -18
- package/src/shipping_v2/model/GetCarrierAccountsResponse.js +16 -19
- package/src/shipping_v2/model/GetCollectionFormHistoryRequest.js +25 -32
- package/src/shipping_v2/model/GetCollectionFormHistoryResponse.js +17 -21
- package/src/shipping_v2/model/GetCollectionFormResponse.js +15 -18
- package/src/shipping_v2/model/GetRatesRequest.js +53 -68
- package/src/shipping_v2/model/GetRatesResponse.js +15 -18
- package/src/shipping_v2/model/GetRatesResult.js +22 -27
- package/src/shipping_v2/model/GetShipmentDocumentsResponse.js +15 -18
- package/src/shipping_v2/model/GetShipmentDocumentsResult.js +23 -28
- package/src/shipping_v2/model/GetTrackingResponse.js +15 -18
- package/src/shipping_v2/model/GetTrackingResult.js +30 -37
- package/src/shipping_v2/model/GetUnmanifestedShipmentsRequest.js +15 -18
- package/src/shipping_v2/model/GetUnmanifestedShipmentsResponse.js +15 -18
- package/src/shipping_v2/model/GoodsOwner.js +17 -20
- package/src/shipping_v2/model/IneligibilityReason.js +20 -24
- package/src/shipping_v2/model/IneligibilityReasonCode.js +25 -37
- package/src/shipping_v2/model/IneligibleRate.js +28 -35
- package/src/shipping_v2/model/InputType.js +9 -13
- package/src/shipping_v2/model/InvoiceDetails.js +16 -20
- package/src/shipping_v2/model/Item.js +43 -57
- package/src/shipping_v2/model/LabelAttribute.js +11 -16
- package/src/shipping_v2/model/LinkCarrierAccountRequest.js +24 -30
- package/src/shipping_v2/model/LinkCarrierAccountResponse.js +17 -21
- package/src/shipping_v2/model/LinkableAccountType.js +18 -22
- package/src/shipping_v2/model/LinkableCarrier.js +17 -21
- package/src/shipping_v2/model/LiquidVolume.js +34 -38
- package/src/shipping_v2/model/Location.js +20 -26
- package/src/shipping_v2/model/NdrAction.js +11 -16
- package/src/shipping_v2/model/NdrRequestData.js +17 -21
- package/src/shipping_v2/model/OneClickShipmentRequest.js +57 -72
- package/src/shipping_v2/model/OneClickShipmentResponse.js +15 -18
- package/src/shipping_v2/model/OneClickShipmentResult.js +39 -47
- package/src/shipping_v2/model/OneClickShipmentValueAddedService.js +18 -22
- package/src/shipping_v2/model/OperatingHours.js +19 -24
- package/src/shipping_v2/model/Package.js +41 -51
- package/src/shipping_v2/model/PackageDocument.js +25 -30
- package/src/shipping_v2/model/PackageDocumentDetail.js +21 -26
- package/src/shipping_v2/model/PaymentType.js +9 -13
- package/src/shipping_v2/model/PrintOption.js +24 -30
- package/src/shipping_v2/model/Promise.js +17 -21
- package/src/shipping_v2/model/PurchaseShipmentRequest.js +28 -35
- package/src/shipping_v2/model/PurchaseShipmentResponse.js +15 -18
- package/src/shipping_v2/model/PurchaseShipmentResult.js +27 -33
- package/src/shipping_v2/model/Rate.js +59 -75
- package/src/shipping_v2/model/RateItem.js +24 -30
- package/src/shipping_v2/model/RateItemID.js +71 -106
- package/src/shipping_v2/model/RateItemType.js +11 -16
- package/src/shipping_v2/model/RequestedDocumentSpecification.js +36 -45
- package/src/shipping_v2/model/RequestedLabelCustomization.js +15 -18
- package/src/shipping_v2/model/RequestedValueAddedService.js +15 -18
- package/src/shipping_v2/model/Service.js +18 -22
- package/src/shipping_v2/model/ServiceSelection.js +15 -18
- package/src/shipping_v2/model/SettlementType.js +9 -13
- package/src/shipping_v2/model/ShipmentType.js +9 -13
- package/src/shipping_v2/model/ShipperInstruction.js +14 -17
- package/src/shipping_v2/model/Status.js +25 -37
- package/src/shipping_v2/model/SubmitNdrFeedbackRequest.js +23 -28
- package/src/shipping_v2/model/SupportedDocumentDetail.js +20 -24
- package/src/shipping_v2/model/SupportedDocumentSpecification.js +26 -31
- package/src/shipping_v2/model/TaxDetail.js +20 -24
- package/src/shipping_v2/model/TaxType.js +7 -10
- package/src/shipping_v2/model/TimeOfDay.js +18 -23
- package/src/shipping_v2/model/TimeWindow.js +16 -20
- package/src/shipping_v2/model/TrackingDetailCodes.js +19 -23
- package/src/shipping_v2/model/TrackingSummary.js +18 -22
- package/src/shipping_v2/model/UnlinkCarrierAccountRequest.js +17 -21
- package/src/shipping_v2/model/UnlinkCarrierAccountResponse.js +14 -17
- package/src/shipping_v2/model/UnmanifestedCarrierInformation.js +19 -24
- package/src/shipping_v2/model/UnmanifestedShipmentLocation.js +18 -22
- package/src/shipping_v2/model/ValidationMetadata.js +18 -23
- package/src/shipping_v2/model/ValueAddedService.js +23 -28
- package/src/shipping_v2/model/ValueAddedServiceDetails.js +15 -18
- package/src/shipping_v2/model/Weight.js +28 -32
- package/src/solicitations_v1/ApiClient.js +479 -488
- package/src/solicitations_v1/api/SolicitationsApi.js +114 -122
- package/src/solicitations_v1/index.js +44 -45
- package/src/solicitations_v1/model/CreateProductReviewAndSellerFeedbackSolicitationResponse.js +16 -19
- package/src/solicitations_v1/model/Error.js +21 -26
- package/src/solicitations_v1/model/GetSchemaResponse.js +21 -26
- package/src/solicitations_v1/model/GetSchemaResponseLinks.js +18 -21
- package/src/solicitations_v1/model/GetSolicitationActionResponse.js +25 -31
- package/src/solicitations_v1/model/GetSolicitationActionResponseEmbedded.js +16 -19
- package/src/solicitations_v1/model/GetSolicitationActionResponseLinks.js +22 -26
- package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponse.js +22 -27
- package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseEmbedded.js +18 -21
- package/src/solicitations_v1/model/GetSolicitationActionsForOrderResponseLinks.js +21 -25
- package/src/solicitations_v1/model/LinkObject.js +18 -22
- package/src/solicitations_v1/model/SolicitationsAction.js +17 -20
- package/src/supplysources_v2020_07_01/ApiClient.js +479 -488
- package/src/supplysources_v2020_07_01/api/SupplySourcesApi.js +257 -273
- package/src/supplysources_v2020_07_01/index.js +116 -117
- package/src/supplysources_v2020_07_01/model/Address.js +39 -52
- package/src/supplysources_v2020_07_01/model/AddressWithContact.js +19 -23
- package/src/supplysources_v2020_07_01/model/ContactDetails.js +16 -19
- package/src/supplysources_v2020_07_01/model/ContactDetailsPrimary.js +17 -21
- package/src/supplysources_v2020_07_01/model/CreateSupplySourceRequest.js +24 -29
- package/src/supplysources_v2020_07_01/model/CreateSupplySourceResponse.js +19 -23
- package/src/supplysources_v2020_07_01/model/CurbsidePickupConfiguration.js +21 -26
- package/src/supplysources_v2020_07_01/model/DeliveryChannel.js +18 -22
- package/src/supplysources_v2020_07_01/model/Duration.js +18 -22
- package/src/supplysources_v2020_07_01/model/Error.js +21 -26
- package/src/supplysources_v2020_07_01/model/ErrorList.js +17 -20
- package/src/supplysources_v2020_07_01/model/GetSupplySourcesResponse.js +18 -22
- package/src/supplysources_v2020_07_01/model/InStorePickupConfiguration.js +18 -22
- package/src/supplysources_v2020_07_01/model/OperatingHour.js +17 -21
- package/src/supplysources_v2020_07_01/model/OperatingHoursByDay.js +28 -37
- package/src/supplysources_v2020_07_01/model/OperationalConfiguration.js +25 -31
- package/src/supplysources_v2020_07_01/model/OutboundCapability.js +27 -34
- package/src/supplysources_v2020_07_01/model/ParkingConfiguration.js +21 -26
- package/src/supplysources_v2020_07_01/model/ParkingCostType.js +10 -14
- package/src/supplysources_v2020_07_01/model/ParkingSpotIdentificationType.js +10 -14
- package/src/supplysources_v2020_07_01/model/ParkingWithAddressConfiguration.js +30 -36
- package/src/supplysources_v2020_07_01/model/PickupChannel.js +27 -34
- package/src/supplysources_v2020_07_01/model/ReturnLocation.js +18 -22
- package/src/supplysources_v2020_07_01/model/ServicesCapability.js +18 -22
- package/src/supplysources_v2020_07_01/model/SupplySource.js +35 -46
- package/src/supplysources_v2020_07_01/model/SupplySourceCapabilities.js +19 -23
- package/src/supplysources_v2020_07_01/model/SupplySourceConfiguration.js +18 -22
- package/src/supplysources_v2020_07_01/model/SupplySourceListInner.js +22 -28
- package/src/supplysources_v2020_07_01/model/SupplySourceStatus.js +10 -14
- package/src/supplysources_v2020_07_01/model/SupplySourceStatusReadOnly.js +12 -17
- package/src/supplysources_v2020_07_01/model/ThroughputCap.js +18 -22
- package/src/supplysources_v2020_07_01/model/ThroughputConfig.js +21 -25
- package/src/supplysources_v2020_07_01/model/ThroughputUnit.js +8 -11
- package/src/supplysources_v2020_07_01/model/TimeUnit.js +12 -17
- package/src/supplysources_v2020_07_01/model/UpdateSupplySourceRequest.js +21 -26
- package/src/supplysources_v2020_07_01/model/UpdateSupplySourceStatusRequest.js +16 -19
- package/src/tokens_v2021_03_01/ApiClient.js +480 -489
- package/src/tokens_v2021_03_01/api/TokensApi.js +63 -69
- package/src/tokens_v2021_03_01/index.js +24 -25
- package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenRequest.js +20 -24
- package/src/tokens_v2021_03_01/model/CreateRestrictedDataTokenResponse.js +18 -22
- package/src/tokens_v2021_03_01/model/Error.js +22 -27
- package/src/tokens_v2021_03_01/model/ErrorList.js +17 -20
- package/src/tokens_v2021_03_01/model/RestrictedResource.js +32 -37
- package/src/transfers_v2024_06_01/ApiClient.js +479 -488
- package/src/transfers_v2024_06_01/api/DefaultApi.js +105 -113
- package/src/transfers_v2024_06_01/index.js +35 -36
- package/src/transfers_v2024_06_01/model/AssignmentType.js +8 -11
- package/src/transfers_v2024_06_01/model/Error.js +21 -26
- package/src/transfers_v2024_06_01/model/ErrorList.js +17 -20
- package/src/transfers_v2024_06_01/model/ExpiryDate.js +17 -21
- package/src/transfers_v2024_06_01/model/GetPaymentMethodsResponse.js +16 -19
- package/src/transfers_v2024_06_01/model/InitiatePayoutRequest.js +19 -23
- package/src/transfers_v2024_06_01/model/InitiatePayoutResponse.js +16 -19
- package/src/transfers_v2024_06_01/model/PaymentMethodDetails.js +30 -39
- package/src/transfers_v2024_06_01/model/PaymentMethodType.js +12 -17
- package/src/uploads_v2020_11_01/ApiClient.js +479 -488
- package/src/uploads_v2020_11_01/api/UploadsApi.js +73 -79
- package/src/uploads_v2020_11_01/index.js +17 -18
- package/src/uploads_v2020_11_01/model/CreateUploadDestinationResponse.js +19 -23
- package/src/uploads_v2020_11_01/model/Error.js +21 -26
- package/src/uploads_v2020_11_01/model/UploadDestination.js +19 -24
- package/src/vehicles_v2024_11_01/ApiClient.js +479 -488
- package/src/vehicles_v2024_11_01/api/AutomotiveApi.js +70 -76
- package/src/vehicles_v2024_11_01/api/VehiclesApi.js +70 -76
- package/src/vehicles_v2024_11_01/index.js +44 -45
- package/src/vehicles_v2024_11_01/model/EngineOutput.js +21 -25
- package/src/vehicles_v2024_11_01/model/EngineOutputUnit.js +10 -14
- package/src/vehicles_v2024_11_01/model/Error.js +21 -26
- package/src/vehicles_v2024_11_01/model/ErrorList.js +17 -20
- package/src/vehicles_v2024_11_01/model/MonthAndYear.js +17 -21
- package/src/vehicles_v2024_11_01/model/Pagination.js +17 -21
- package/src/vehicles_v2024_11_01/model/Vehicle.js +44 -58
- package/src/vehicles_v2024_11_01/model/VehicleIdentifiers.js +21 -25
- package/src/vehicles_v2024_11_01/model/VehicleStandard.js +10 -14
- package/src/vehicles_v2024_11_01/model/VehicleStatusInCatalog.js +10 -14
- package/src/vehicles_v2024_11_01/model/VehiclesResponse.js +20 -24
- package/src/vendordfinventory_v1/ApiClient.js +479 -488
- package/src/vendordfinventory_v1/api/UpdateInventoryApi.js +66 -72
- package/src/vendordfinventory_v1/index.js +32 -33
- package/src/vendordfinventory_v1/model/Error.js +21 -26
- package/src/vendordfinventory_v1/model/InventoryUpdate.js +25 -30
- package/src/vendordfinventory_v1/model/ItemDetails.js +24 -30
- package/src/vendordfinventory_v1/model/ItemQuantity.js +18 -22
- package/src/vendordfinventory_v1/model/PartyIdentification.js +16 -19
- package/src/vendordfinventory_v1/model/SubmitInventoryUpdateRequest.js +16 -19
- package/src/vendordfinventory_v1/model/SubmitInventoryUpdateResponse.js +19 -23
- package/src/vendordfinventory_v1/model/TransactionReference.js +15 -18
- package/src/vendordforders_v2021_12_28/ApiClient.js +479 -488
- package/src/vendordforders_v2021_12_28/api/VendorOrdersApi.js +152 -162
- package/src/vendordforders_v2021_12_28/index.js +83 -84
- package/src/vendordforders_v2021_12_28/model/AcknowledgementStatus.js +17 -21
- package/src/vendordforders_v2021_12_28/model/Address.js +41 -55
- package/src/vendordforders_v2021_12_28/model/BuyerCustomizedInfoDetail.js +15 -18
- package/src/vendordforders_v2021_12_28/model/Error.js +21 -26
- package/src/vendordforders_v2021_12_28/model/ErrorList.js +17 -20
- package/src/vendordforders_v2021_12_28/model/GiftDetails.js +17 -21
- package/src/vendordforders_v2021_12_28/model/ItemQuantity.js +21 -25
- package/src/vendordforders_v2021_12_28/model/Money.js +17 -21
- package/src/vendordforders_v2021_12_28/model/Order.js +19 -23
- package/src/vendordforders_v2021_12_28/model/OrderAcknowledgementItem.js +40 -49
- package/src/vendordforders_v2021_12_28/model/OrderDetails.js +61 -73
- package/src/vendordforders_v2021_12_28/model/OrderItem.js +46 -59
- package/src/vendordforders_v2021_12_28/model/OrderItemAcknowledgement.js +25 -31
- package/src/vendordforders_v2021_12_28/model/OrderList.js +19 -23
- package/src/vendordforders_v2021_12_28/model/Pagination.js +15 -18
- package/src/vendordforders_v2021_12_28/model/PartyIdentification.js +22 -27
- package/src/vendordforders_v2021_12_28/model/ScheduledDeliveryShipment.js +19 -24
- package/src/vendordforders_v2021_12_28/model/ShipmentDates.js +18 -22
- package/src/vendordforders_v2021_12_28/model/ShipmentDetails.js +34 -43
- package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementRequest.js +16 -19
- package/src/vendordforders_v2021_12_28/model/SubmitAcknowledgementResponse.js +19 -23
- package/src/vendordforders_v2021_12_28/model/TaxDetails.js +40 -46
- package/src/vendordforders_v2021_12_28/model/TaxItemDetails.js +16 -19
- package/src/vendordforders_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
- package/src/vendordforders_v2021_12_28/model/TransactionId.js +15 -18
- package/src/vendordfpayments_v1/ApiClient.js +479 -488
- package/src/vendordfpayments_v1/api/VendorInvoiceApi.js +61 -67
- package/src/vendordfpayments_v1/index.js +50 -51
- package/src/vendordfpayments_v1/model/AdditionalDetails.js +27 -32
- package/src/vendordfpayments_v1/model/Address.js +41 -54
- package/src/vendordfpayments_v1/model/ChargeDetails.js +40 -45
- package/src/vendordfpayments_v1/model/Error.js +21 -26
- package/src/vendordfpayments_v1/model/InvoiceDetail.js +54 -69
- package/src/vendordfpayments_v1/model/InvoiceItem.js +43 -55
- package/src/vendordfpayments_v1/model/ItemQuantity.js +19 -23
- package/src/vendordfpayments_v1/model/Money.js +19 -23
- package/src/vendordfpayments_v1/model/PartyIdentification.js +22 -27
- package/src/vendordfpayments_v1/model/SubmitInvoiceRequest.js +16 -19
- package/src/vendordfpayments_v1/model/SubmitInvoiceResponse.js +19 -23
- package/src/vendordfpayments_v1/model/TaxDetail.js +55 -61
- package/src/vendordfpayments_v1/model/TaxRegistrationDetail.js +29 -35
- package/src/vendordfpayments_v1/model/TransactionReference.js +15 -18
- package/src/vendordfshipping_v2021_12_28/ApiClient.js +479 -488
- package/src/vendordfshipping_v2021_12_28/api/CreateContainerLabelApi.js +62 -68
- package/src/vendordfshipping_v2021_12_28/api/CustomerInvoicesApi.js +114 -122
- package/src/vendordfshipping_v2021_12_28/api/VendorShippingApi.js +176 -188
- package/src/vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi.js +195 -207
- package/src/vendordfshipping_v2021_12_28/index.js +125 -126
- package/src/vendordfshipping_v2021_12_28/model/Address.js +38 -51
- package/src/vendordfshipping_v2021_12_28/model/CarrierId.js +8 -11
- package/src/vendordfshipping_v2021_12_28/model/Container.js +51 -65
- package/src/vendordfshipping_v2021_12_28/model/ContainerLabel.js +23 -28
- package/src/vendordfshipping_v2021_12_28/model/ContainerLabelFormat.js +10 -14
- package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelRequest.js +34 -41
- package/src/vendordfshipping_v2021_12_28/model/CreateContainerLabelResponse.js +18 -21
- package/src/vendordfshipping_v2021_12_28/model/CreateShippingLabelsRequest.js +25 -30
- package/src/vendordfshipping_v2021_12_28/model/CustomerInvoice.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/CustomerInvoiceList.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/Dimensions.js +31 -37
- package/src/vendordfshipping_v2021_12_28/model/Error.js +21 -26
- package/src/vendordfshipping_v2021_12_28/model/ErrorList.js +17 -20
- package/src/vendordfshipping_v2021_12_28/model/Item.js +25 -31
- package/src/vendordfshipping_v2021_12_28/model/ItemQuantity.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/LabelData.js +24 -31
- package/src/vendordfshipping_v2021_12_28/model/Package.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/PackedItem.js +27 -34
- package/src/vendordfshipping_v2021_12_28/model/PackingSlip.js +25 -30
- package/src/vendordfshipping_v2021_12_28/model/PackingSlipList.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/Pagination.js +15 -18
- package/src/vendordfshipping_v2021_12_28/model/PartyIdentification.js +22 -27
- package/src/vendordfshipping_v2021_12_28/model/ShipmentConfirmation.js +37 -45
- package/src/vendordfshipping_v2021_12_28/model/ShipmentDetails.js +31 -38
- package/src/vendordfshipping_v2021_12_28/model/ShipmentSchedule.js +19 -24
- package/src/vendordfshipping_v2021_12_28/model/ShipmentStatusUpdate.js +30 -36
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabel.js +38 -45
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabelList.js +19 -23
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabelRequest.js +28 -34
- package/src/vendordfshipping_v2021_12_28/model/StatusUpdateDetails.js +33 -41
- package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentConfirmationsRequest.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/SubmitShipmentStatusUpdatesRequest.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/SubmitShippingLabelsRequest.js +16 -19
- package/src/vendordfshipping_v2021_12_28/model/TaxRegistrationDetails.js +29 -35
- package/src/vendordfshipping_v2021_12_28/model/TransactionReference.js +15 -18
- package/src/vendordfshipping_v2021_12_28/model/Weight.js +25 -29
- package/src/vendordftransactions_v2021_12_28/ApiClient.js +479 -488
- package/src/vendordftransactions_v2021_12_28/api/VendorTransactionApi.js +63 -69
- package/src/vendordftransactions_v2021_12_28/index.js +20 -21
- package/src/vendordftransactions_v2021_12_28/model/Error.js +21 -26
- package/src/vendordftransactions_v2021_12_28/model/ErrorList.js +17 -20
- package/src/vendordftransactions_v2021_12_28/model/Transaction.js +30 -35
- package/src/vendordftransactions_v2021_12_28/model/TransactionStatus.js +16 -19
- package/src/vendorinvoices_v1/ApiClient.js +479 -488
- package/src/vendorinvoices_v1/api/VendorPaymentsApi.js +61 -67
- package/src/vendorinvoices_v1/index.js +65 -66
- package/src/vendorinvoices_v1/model/AdditionalDetails.js +29 -34
- package/src/vendorinvoices_v1/model/Address.js +38 -51
- package/src/vendorinvoices_v1/model/AllowanceDetails.js +40 -46
- package/src/vendorinvoices_v1/model/ChargeDetails.js +50 -56
- package/src/vendorinvoices_v1/model/CreditNoteDetails.js +27 -36
- package/src/vendorinvoices_v1/model/Error.js +21 -26
- package/src/vendorinvoices_v1/model/Invoice.js +64 -81
- package/src/vendorinvoices_v1/model/InvoiceItem.js +49 -63
- package/src/vendorinvoices_v1/model/ItemQuantity.js +30 -36
- package/src/vendorinvoices_v1/model/Money.js +17 -21
- package/src/vendorinvoices_v1/model/NetCostUnitOfMeasure.js +14 -20
- package/src/vendorinvoices_v1/model/PartyIdentification.js +22 -27
- package/src/vendorinvoices_v1/model/PaymentTerms.js +35 -41
- package/src/vendorinvoices_v1/model/SubmitInvoicesRequest.js +16 -19
- package/src/vendorinvoices_v1/model/SubmitInvoicesResponse.js +19 -23
- package/src/vendorinvoices_v1/model/TaxDetails.js +55 -61
- package/src/vendorinvoices_v1/model/TaxRegistrationDetails.js +25 -29
- package/src/vendorinvoices_v1/model/TotalWeight.js +29 -33
- package/src/vendorinvoices_v1/model/TransactionId.js +15 -18
- package/src/vendororders_v1/ApiClient.js +479 -488
- package/src/vendororders_v1/api/VendorOrdersApi.js +183 -195
- package/src/vendororders_v1/index.js +95 -96
- package/src/vendororders_v1/model/AcknowledgementStatusDetails.js +20 -25
- package/src/vendororders_v1/model/Address.js +38 -51
- package/src/vendororders_v1/model/Error.js +21 -26
- package/src/vendororders_v1/model/GetPurchaseOrderResponse.js +19 -23
- package/src/vendororders_v1/model/GetPurchaseOrdersResponse.js +19 -23
- package/src/vendororders_v1/model/GetPurchaseOrdersStatusResponse.js +19 -23
- package/src/vendororders_v1/model/ImportDetails.js +62 -69
- package/src/vendororders_v1/model/ItemQuantity.js +25 -30
- package/src/vendororders_v1/model/Money.js +29 -34
- package/src/vendororders_v1/model/Order.js +30 -35
- package/src/vendororders_v1/model/OrderAcknowledgement.js +28 -34
- package/src/vendororders_v1/model/OrderAcknowledgementItem.js +35 -45
- package/src/vendororders_v1/model/OrderDetails.js +67 -83
- package/src/vendororders_v1/model/OrderItem.js +33 -42
- package/src/vendororders_v1/model/OrderItemAcknowledgement.js +43 -50
- package/src/vendororders_v1/model/OrderItemStatus.js +34 -44
- package/src/vendororders_v1/model/OrderItemStatusAcknowledgementStatus.js +33 -39
- package/src/vendororders_v1/model/OrderItemStatusOrderedQuantity.js +19 -23
- package/src/vendororders_v1/model/OrderItemStatusReceivingStatus.js +28 -33
- package/src/vendororders_v1/model/OrderList.js +19 -23
- package/src/vendororders_v1/model/OrderListStatus.js +19 -23
- package/src/vendororders_v1/model/OrderStatus.js +43 -52
- package/src/vendororders_v1/model/OrderedQuantityDetails.js +20 -25
- package/src/vendororders_v1/model/Pagination.js +15 -18
- package/src/vendororders_v1/model/PartyIdentification.js +22 -27
- package/src/vendororders_v1/model/SubmitAcknowledgementRequest.js +16 -19
- package/src/vendororders_v1/model/SubmitAcknowledgementResponse.js +19 -23
- package/src/vendororders_v1/model/TaxRegistrationDetails.js +25 -29
- package/src/vendororders_v1/model/TransactionId.js +15 -18
- package/src/vendorshipments_v1/ApiClient.js +479 -488
- package/src/vendorshipments_v1/api/VendorShippingApi.js +189 -201
- package/src/vendorshipments_v1/index.js +170 -171
- package/src/vendorshipments_v1/model/Address.js +38 -51
- package/src/vendorshipments_v1/model/CarrierDetails.js +23 -30
- package/src/vendorshipments_v1/model/Carton.js +31 -39
- package/src/vendorshipments_v1/model/CartonReferenceDetails.js +18 -22
- package/src/vendorshipments_v1/model/CollectFreightPickupDetails.js +19 -24
- package/src/vendorshipments_v1/model/ContainerIdentification.js +31 -35
- package/src/vendorshipments_v1/model/ContainerItem.js +24 -29
- package/src/vendorshipments_v1/model/ContainerSequenceNumbers.js +15 -18
- package/src/vendorshipments_v1/model/Containers.js +46 -58
- package/src/vendorshipments_v1/model/Dimensions.js +35 -41
- package/src/vendorshipments_v1/model/Duration.js +25 -29
- package/src/vendorshipments_v1/model/Error.js +21 -26
- package/src/vendorshipments_v1/model/Expiry.js +20 -25
- package/src/vendorshipments_v1/model/GetShipmentDetailsResponse.js +19 -23
- package/src/vendorshipments_v1/model/GetShipmentLabels.js +19 -23
- package/src/vendorshipments_v1/model/ImportDetails.js +53 -62
- package/src/vendorshipments_v1/model/InnerContainersDetails.js +18 -22
- package/src/vendorshipments_v1/model/Item.js +28 -35
- package/src/vendorshipments_v1/model/ItemDetails.js +35 -42
- package/src/vendorshipments_v1/model/ItemQuantity.js +30 -36
- package/src/vendorshipments_v1/model/LabelData.js +27 -34
- package/src/vendorshipments_v1/model/Location.js +19 -24
- package/src/vendorshipments_v1/model/Money.js +19 -23
- package/src/vendorshipments_v1/model/PackageItemDetails.js +20 -25
- package/src/vendorshipments_v1/model/PackedItems.js +25 -32
- package/src/vendorshipments_v1/model/PackedQuantity.js +27 -32
- package/src/vendorshipments_v1/model/Pagination.js +15 -18
- package/src/vendorshipments_v1/model/Pallet.js +33 -42
- package/src/vendorshipments_v1/model/PartyIdentification.js +22 -27
- package/src/vendorshipments_v1/model/PurchaseOrderItemDetails.js +16 -19
- package/src/vendorshipments_v1/model/PurchaseOrderItems.js +28 -35
- package/src/vendorshipments_v1/model/PurchaseOrders.js +22 -28
- package/src/vendorshipments_v1/model/Route.js +17 -20
- package/src/vendorshipments_v1/model/Shipment.js +92 -114
- package/src/vendorshipments_v1/model/ShipmentConfirmation.js +94 -113
- package/src/vendorshipments_v1/model/ShipmentDetails.js +19 -23
- package/src/vendorshipments_v1/model/ShipmentInformation.js +37 -47
- package/src/vendorshipments_v1/model/ShipmentMeasurements.js +23 -29
- package/src/vendorshipments_v1/model/ShipmentStatusDetails.js +27 -31
- package/src/vendorshipments_v1/model/Stop.js +31 -37
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsRequest.js +16 -19
- package/src/vendorshipments_v1/model/SubmitShipmentConfirmationsResponse.js +19 -23
- package/src/vendorshipments_v1/model/SubmitShipments.js +16 -19
- package/src/vendorshipments_v1/model/TaxRegistrationDetails.js +25 -29
- package/src/vendorshipments_v1/model/TotalWeight.js +29 -33
- package/src/vendorshipments_v1/model/TransactionReference.js +15 -18
- package/src/vendorshipments_v1/model/TransportLabel.js +21 -26
- package/src/vendorshipments_v1/model/TransportShipmentMeasurements.js +25 -32
- package/src/vendorshipments_v1/model/TransportationDetails.js +44 -53
- package/src/vendorshipments_v1/model/TransportationDetailsForShipmentConfirmation.js +29 -35
- package/src/vendorshipments_v1/model/TransportationLabels.js +19 -23
- package/src/vendorshipments_v1/model/VendorDetails.js +18 -22
- package/src/vendorshipments_v1/model/Volume.js +29 -33
- package/src/vendorshipments_v1/model/Weight.js +29 -33
- package/src/vendortransactionstatus_v1/ApiClient.js +479 -488
- package/src/vendortransactionstatus_v1/api/VendorTransactionApi.js +61 -67
- package/src/vendortransactionstatus_v1/index.js +20 -21
- package/src/vendortransactionstatus_v1/model/Error.js +21 -26
- package/src/vendortransactionstatus_v1/model/GetTransactionResponse.js +19 -23
- package/src/vendortransactionstatus_v1/model/Transaction.js +30 -35
- package/src/vendortransactionstatus_v1/model/TransactionStatus.js +16 -19
- package/src/finances_2024_06_19/ApiClient.js +0 -832
- package/src/finances_2024_06_19/api/DefaultApi.js +0 -128
- package/src/finances_2024_06_19/index.js +0 -155
- package/src/finances_2024_06_19/model/AmazonPayContext.js +0 -81
- package/src/finances_2024_06_19/model/Breakdown.js +0 -80
- package/src/finances_2024_06_19/model/Context.js +0 -315
- package/src/finances_2024_06_19/model/Currency.js +0 -73
- package/src/finances_2024_06_19/model/DeferredContext.js +0 -81
- package/src/finances_2024_06_19/model/Error.js +0 -85
- package/src/finances_2024_06_19/model/ErrorList.js +0 -68
- package/src/finances_2024_06_19/model/Item.js +0 -100
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +0 -105
- package/src/finances_2024_06_19/model/ListTransactionsResponse.js +0 -74
- package/src/finances_2024_06_19/model/MarketplaceDetails.js +0 -73
- package/src/finances_2024_06_19/model/PaymentsContext.js +0 -89
- package/src/finances_2024_06_19/model/ProductContext.js +0 -89
- package/src/finances_2024_06_19/model/RelatedIdentifier.js +0 -123
- package/src/finances_2024_06_19/model/SellingPartnerMetadata.js +0 -81
- package/src/finances_2024_06_19/model/TimeRangeContext.js +0 -73
- package/src/finances_2024_06_19/model/Transaction.js +0 -157
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* With the Messaging API you can build applications that send messages to buyers. You can get a list of message types that are available for an order that you specify, then call an operation that sends a message to the buyer for that order. The Messaging API returns responses that are formed according to the <a href=https://tools.ietf.org/html/draft-kelly-json-hal-08>JSON Hypertext Application Language</a> (HAL) standard.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
6
|
+
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,32 +11,32 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import {ApiClient} from '../ApiClient.js'
|
|
15
|
-
import {CreateAmazonMotorsRequest} from '../model/CreateAmazonMotorsRequest.js'
|
|
16
|
-
import {CreateAmazonMotorsResponse} from '../model/CreateAmazonMotorsResponse.js'
|
|
17
|
-
import {CreateConfirmCustomizationDetailsRequest} from '../model/CreateConfirmCustomizationDetailsRequest.js'
|
|
18
|
-
import {CreateConfirmCustomizationDetailsResponse} from '../model/CreateConfirmCustomizationDetailsResponse.js'
|
|
19
|
-
import {CreateConfirmDeliveryDetailsRequest} from '../model/CreateConfirmDeliveryDetailsRequest.js'
|
|
20
|
-
import {CreateConfirmDeliveryDetailsResponse} from '../model/CreateConfirmDeliveryDetailsResponse.js'
|
|
21
|
-
import {CreateConfirmOrderDetailsRequest} from '../model/CreateConfirmOrderDetailsRequest.js'
|
|
22
|
-
import {CreateConfirmOrderDetailsResponse} from '../model/CreateConfirmOrderDetailsResponse.js'
|
|
23
|
-
import {CreateConfirmServiceDetailsRequest} from '../model/CreateConfirmServiceDetailsRequest.js'
|
|
24
|
-
import {CreateConfirmServiceDetailsResponse} from '../model/CreateConfirmServiceDetailsResponse.js'
|
|
25
|
-
import {CreateDigitalAccessKeyRequest} from '../model/CreateDigitalAccessKeyRequest.js'
|
|
26
|
-
import {CreateDigitalAccessKeyResponse} from '../model/CreateDigitalAccessKeyResponse.js'
|
|
27
|
-
import {CreateLegalDisclosureRequest} from '../model/CreateLegalDisclosureRequest.js'
|
|
28
|
-
import {CreateLegalDisclosureResponse} from '../model/CreateLegalDisclosureResponse.js'
|
|
29
|
-
import {CreateNegativeFeedbackRemovalResponse} from '../model/CreateNegativeFeedbackRemovalResponse.js'
|
|
30
|
-
import {CreateUnexpectedProblemRequest} from '../model/CreateUnexpectedProblemRequest.js'
|
|
31
|
-
import {CreateUnexpectedProblemResponse} from '../model/CreateUnexpectedProblemResponse.js'
|
|
32
|
-
import {CreateWarrantyRequest} from '../model/CreateWarrantyRequest.js'
|
|
33
|
-
import {CreateWarrantyResponse} from '../model/CreateWarrantyResponse.js'
|
|
34
|
-
import {GetAttributesResponse} from '../model/GetAttributesResponse.js'
|
|
35
|
-
import {GetMessagingActionsForOrderResponse} from '../model/GetMessagingActionsForOrderResponse.js'
|
|
36
|
-
import {InvoiceRequest} from '../model/InvoiceRequest.js'
|
|
37
|
-
import {InvoiceResponse} from '../model/InvoiceResponse.js'
|
|
38
|
-
import {SuperagentRateLimiter} from '../../../helper/SuperagentRateLimiter.mjs'
|
|
39
|
-
import {DefaultRateLimitFetcher} from '../../../helper/DefaultRateLimitFetcher.mjs'
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { CreateAmazonMotorsRequest } from '../model/CreateAmazonMotorsRequest.js'
|
|
16
|
+
import { CreateAmazonMotorsResponse } from '../model/CreateAmazonMotorsResponse.js'
|
|
17
|
+
import { CreateConfirmCustomizationDetailsRequest } from '../model/CreateConfirmCustomizationDetailsRequest.js'
|
|
18
|
+
import { CreateConfirmCustomizationDetailsResponse } from '../model/CreateConfirmCustomizationDetailsResponse.js'
|
|
19
|
+
import { CreateConfirmDeliveryDetailsRequest } from '../model/CreateConfirmDeliveryDetailsRequest.js'
|
|
20
|
+
import { CreateConfirmDeliveryDetailsResponse } from '../model/CreateConfirmDeliveryDetailsResponse.js'
|
|
21
|
+
import { CreateConfirmOrderDetailsRequest } from '../model/CreateConfirmOrderDetailsRequest.js'
|
|
22
|
+
import { CreateConfirmOrderDetailsResponse } from '../model/CreateConfirmOrderDetailsResponse.js'
|
|
23
|
+
import { CreateConfirmServiceDetailsRequest } from '../model/CreateConfirmServiceDetailsRequest.js'
|
|
24
|
+
import { CreateConfirmServiceDetailsResponse } from '../model/CreateConfirmServiceDetailsResponse.js'
|
|
25
|
+
import { CreateDigitalAccessKeyRequest } from '../model/CreateDigitalAccessKeyRequest.js'
|
|
26
|
+
import { CreateDigitalAccessKeyResponse } from '../model/CreateDigitalAccessKeyResponse.js'
|
|
27
|
+
import { CreateLegalDisclosureRequest } from '../model/CreateLegalDisclosureRequest.js'
|
|
28
|
+
import { CreateLegalDisclosureResponse } from '../model/CreateLegalDisclosureResponse.js'
|
|
29
|
+
import { CreateNegativeFeedbackRemovalResponse } from '../model/CreateNegativeFeedbackRemovalResponse.js'
|
|
30
|
+
import { CreateUnexpectedProblemRequest } from '../model/CreateUnexpectedProblemRequest.js'
|
|
31
|
+
import { CreateUnexpectedProblemResponse } from '../model/CreateUnexpectedProblemResponse.js'
|
|
32
|
+
import { CreateWarrantyRequest } from '../model/CreateWarrantyRequest.js'
|
|
33
|
+
import { CreateWarrantyResponse } from '../model/CreateWarrantyResponse.js'
|
|
34
|
+
import { GetAttributesResponse } from '../model/GetAttributesResponse.js'
|
|
35
|
+
import { GetMessagingActionsForOrderResponse } from '../model/GetMessagingActionsForOrderResponse.js'
|
|
36
|
+
import { InvoiceRequest } from '../model/InvoiceRequest.js'
|
|
37
|
+
import { InvoiceResponse } from '../model/InvoiceResponse.js'
|
|
38
|
+
import { SuperagentRateLimiter } from '../../../helper/SuperagentRateLimiter.mjs'
|
|
39
|
+
import { DefaultRateLimitFetcher } from '../../../helper/DefaultRateLimitFetcher.mjs'
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Messaging service.
|
|
@@ -44,856 +44,826 @@ import {DefaultRateLimitFetcher} from '../../../helper/DefaultRateLimitFetcher.m
|
|
|
44
44
|
* @version v1
|
|
45
45
|
*/
|
|
46
46
|
export class MessagingApi {
|
|
47
|
+
// Private memeber stores the default rate limiters
|
|
48
|
+
#defaultRateLimiterMap
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Constructs a new MessagingApi.
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a new MessagingApi.
|
|
53
52
|
* @alias module:messaging_v1/api/MessagingApi
|
|
54
53
|
* @class
|
|
55
54
|
* @param {module:messaging_v1/ApiClient} [apiClient] Optional API client implementation to use,
|
|
56
55
|
* default to {@link module:messaging_v1/ApiClient#instance} if unspecified.
|
|
57
56
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
constructor (apiClient) {
|
|
58
|
+
this.apiClient = apiClient || ApiClient.instance
|
|
59
|
+
this.initializeDefaultRateLimiterMap()
|
|
60
|
+
}
|
|
62
61
|
|
|
63
|
-
|
|
62
|
+
/**
|
|
64
63
|
* Initialize rate limiters for API operations
|
|
65
64
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
65
|
+
initializeDefaultRateLimiterMap () {
|
|
66
|
+
this.#defaultRateLimiterMap = new Map()
|
|
67
|
+
const defaultRateLimitFetcher = new DefaultRateLimitFetcher()
|
|
68
|
+
const operations = [
|
|
69
|
+
'MessagingApi-confirmCustomizationDetails',
|
|
70
|
+
'MessagingApi-createAmazonMotors',
|
|
71
|
+
'MessagingApi-createConfirmDeliveryDetails',
|
|
72
|
+
'MessagingApi-createConfirmOrderDetails',
|
|
73
|
+
'MessagingApi-createConfirmServiceDetails',
|
|
74
|
+
'MessagingApi-createDigitalAccessKey',
|
|
75
|
+
'MessagingApi-createLegalDisclosure',
|
|
76
|
+
'MessagingApi-createNegativeFeedbackRemoval',
|
|
77
|
+
'MessagingApi-createUnexpectedProblem',
|
|
78
|
+
'MessagingApi-createWarranty',
|
|
79
|
+
'MessagingApi-getAttributes',
|
|
80
|
+
'MessagingApi-getMessagingActionsForOrder',
|
|
81
|
+
'MessagingApi-sendInvoice'
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
for (const operation of operations) {
|
|
85
|
+
const config = defaultRateLimitFetcher.getLimit(operation)
|
|
86
|
+
this.#defaultRateLimiterMap.set(operation, new SuperagentRateLimiter(config))
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
92
91
|
* Get rate limiter for a specific operation
|
|
93
92
|
* @param {String} operation name
|
|
94
93
|
*/
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
getRateLimiter (operation) {
|
|
95
|
+
return this.#defaultRateLimiterMap.get(operation)
|
|
96
|
+
}
|
|
99
97
|
|
|
100
|
-
|
|
101
|
-
/**
|
|
98
|
+
/**
|
|
102
99
|
* Sends a message asking a buyer to provide or verify customization details such as name spelling, images, initials, etc. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
103
100
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
104
101
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
105
102
|
* @param {module:messaging_v1/model/CreateConfirmCustomizationDetailsRequest} body This contains the message body for a message.
|
|
106
103
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateConfirmCustomizationDetailsResponse} and HTTP response
|
|
107
104
|
*/
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
/**
|
|
105
|
+
confirmCustomizationDetailsWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
106
|
+
const postBody = body
|
|
107
|
+
|
|
108
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
109
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
110
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling confirmCustomizationDetails")
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
114
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
115
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling confirmCustomizationDetails")
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// verify the required parameter 'body' is set
|
|
119
|
+
if (body === undefined || body === null) {
|
|
120
|
+
throw new Error("Missing the required parameter 'body' when calling confirmCustomizationDetails")
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const pathParams = {
|
|
124
|
+
amazonOrderId
|
|
125
|
+
}
|
|
126
|
+
const queryParams = {
|
|
127
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
128
|
+
}
|
|
129
|
+
const headerParams = {
|
|
130
|
+
}
|
|
131
|
+
const formParams = {
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const contentTypes = ['application/json']
|
|
135
|
+
const accepts = ['application/hal+json']
|
|
136
|
+
const returnType = CreateConfirmCustomizationDetailsResponse
|
|
137
|
+
|
|
138
|
+
return this.apiClient.callApi('MessagingApi-confirmCustomizationDetails',
|
|
139
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/confirmCustomizationDetails', 'POST',
|
|
140
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
141
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-confirmCustomizationDetails')
|
|
142
|
+
)
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
150
146
|
* Sends a message asking a buyer to provide or verify customization details such as name spelling, images, initials, etc. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
151
147
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
152
148
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
153
149
|
* @param {module:messaging_v1/model/CreateConfirmCustomizationDetailsRequest} body This contains the message body for a message.
|
|
154
150
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateConfirmCustomizationDetailsResponse}
|
|
155
151
|
*/
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
/**
|
|
152
|
+
confirmCustomizationDetails (amazonOrderId, marketplaceIds, body) {
|
|
153
|
+
return this.confirmCustomizationDetailsWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
154
|
+
.then(function (response_and_data) {
|
|
155
|
+
return response_and_data.data
|
|
156
|
+
})
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
165
160
|
* Sends a message to a buyer to provide details about an Amazon Motors order. This message can only be sent by Amazon Motors sellers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
166
161
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
167
162
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
168
163
|
* @param {module:messaging_v1/model/CreateAmazonMotorsRequest} body This contains the message body for a message.
|
|
169
164
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateAmazonMotorsResponse} and HTTP response
|
|
170
165
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
/**
|
|
166
|
+
createAmazonMotorsWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
167
|
+
const postBody = body
|
|
168
|
+
|
|
169
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
170
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
171
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createAmazonMotors")
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
175
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
176
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createAmazonMotors")
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// verify the required parameter 'body' is set
|
|
180
|
+
if (body === undefined || body === null) {
|
|
181
|
+
throw new Error("Missing the required parameter 'body' when calling createAmazonMotors")
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const pathParams = {
|
|
185
|
+
amazonOrderId
|
|
186
|
+
}
|
|
187
|
+
const queryParams = {
|
|
188
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
189
|
+
}
|
|
190
|
+
const headerParams = {
|
|
191
|
+
}
|
|
192
|
+
const formParams = {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
const contentTypes = ['application/json']
|
|
196
|
+
const accepts = ['application/hal+json']
|
|
197
|
+
const returnType = CreateAmazonMotorsResponse
|
|
198
|
+
|
|
199
|
+
return this.apiClient.callApi('MessagingApi-createAmazonMotors',
|
|
200
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/amazonMotors', 'POST',
|
|
201
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
202
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createAmazonMotors')
|
|
203
|
+
)
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
213
207
|
* Sends a message to a buyer to provide details about an Amazon Motors order. This message can only be sent by Amazon Motors sellers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
214
208
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
215
209
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
216
210
|
* @param {module:messaging_v1/model/CreateAmazonMotorsRequest} body This contains the message body for a message.
|
|
217
211
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateAmazonMotorsResponse}
|
|
218
212
|
*/
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
/**
|
|
213
|
+
createAmazonMotors (amazonOrderId, marketplaceIds, body) {
|
|
214
|
+
return this.createAmazonMotorsWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
215
|
+
.then(function (response_and_data) {
|
|
216
|
+
return response_and_data.data
|
|
217
|
+
})
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
228
221
|
* Sends a message to a buyer to arrange a delivery or to confirm contact information for making a delivery. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
229
222
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
230
223
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
231
224
|
* @param {module:messaging_v1/model/CreateConfirmDeliveryDetailsRequest} body This contains the message body for a message.
|
|
232
225
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateConfirmDeliveryDetailsResponse} and HTTP response
|
|
233
226
|
*/
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
/**
|
|
227
|
+
createConfirmDeliveryDetailsWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
228
|
+
const postBody = body
|
|
229
|
+
|
|
230
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
231
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
232
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createConfirmDeliveryDetails")
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
236
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
237
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createConfirmDeliveryDetails")
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// verify the required parameter 'body' is set
|
|
241
|
+
if (body === undefined || body === null) {
|
|
242
|
+
throw new Error("Missing the required parameter 'body' when calling createConfirmDeliveryDetails")
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
const pathParams = {
|
|
246
|
+
amazonOrderId
|
|
247
|
+
}
|
|
248
|
+
const queryParams = {
|
|
249
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
250
|
+
}
|
|
251
|
+
const headerParams = {
|
|
252
|
+
}
|
|
253
|
+
const formParams = {
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const contentTypes = ['application/json']
|
|
257
|
+
const accepts = ['application/hal+json']
|
|
258
|
+
const returnType = CreateConfirmDeliveryDetailsResponse
|
|
259
|
+
|
|
260
|
+
return this.apiClient.callApi('MessagingApi-createConfirmDeliveryDetails',
|
|
261
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/confirmDeliveryDetails', 'POST',
|
|
262
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
263
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createConfirmDeliveryDetails')
|
|
264
|
+
)
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
276
268
|
* Sends a message to a buyer to arrange a delivery or to confirm contact information for making a delivery. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
277
269
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
278
270
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
279
271
|
* @param {module:messaging_v1/model/CreateConfirmDeliveryDetailsRequest} body This contains the message body for a message.
|
|
280
272
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateConfirmDeliveryDetailsResponse}
|
|
281
273
|
*/
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
/**
|
|
274
|
+
createConfirmDeliveryDetails (amazonOrderId, marketplaceIds, body) {
|
|
275
|
+
return this.createConfirmDeliveryDetailsWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
276
|
+
.then(function (response_and_data) {
|
|
277
|
+
return response_and_data.data
|
|
278
|
+
})
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
291
282
|
* Sends a message to ask a buyer an order-related question prior to shipping their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
292
283
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
293
284
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
294
285
|
* @param {module:messaging_v1/model/CreateConfirmOrderDetailsRequest} body This contains the message body for a message.
|
|
295
286
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateConfirmOrderDetailsResponse} and HTTP response
|
|
296
287
|
*/
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
/**
|
|
288
|
+
createConfirmOrderDetailsWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
289
|
+
const postBody = body
|
|
290
|
+
|
|
291
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
292
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
293
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createConfirmOrderDetails")
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
297
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
298
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createConfirmOrderDetails")
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// verify the required parameter 'body' is set
|
|
302
|
+
if (body === undefined || body === null) {
|
|
303
|
+
throw new Error("Missing the required parameter 'body' when calling createConfirmOrderDetails")
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
const pathParams = {
|
|
307
|
+
amazonOrderId
|
|
308
|
+
}
|
|
309
|
+
const queryParams = {
|
|
310
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
311
|
+
}
|
|
312
|
+
const headerParams = {
|
|
313
|
+
}
|
|
314
|
+
const formParams = {
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
const contentTypes = ['application/json']
|
|
318
|
+
const accepts = ['application/hal+json']
|
|
319
|
+
const returnType = CreateConfirmOrderDetailsResponse
|
|
320
|
+
|
|
321
|
+
return this.apiClient.callApi('MessagingApi-createConfirmOrderDetails',
|
|
322
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/confirmOrderDetails', 'POST',
|
|
323
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
324
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createConfirmOrderDetails')
|
|
325
|
+
)
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
339
329
|
* Sends a message to ask a buyer an order-related question prior to shipping their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
340
330
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
341
331
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
342
332
|
* @param {module:messaging_v1/model/CreateConfirmOrderDetailsRequest} body This contains the message body for a message.
|
|
343
333
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateConfirmOrderDetailsResponse}
|
|
344
334
|
*/
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
/**
|
|
335
|
+
createConfirmOrderDetails (amazonOrderId, marketplaceIds, body) {
|
|
336
|
+
return this.createConfirmOrderDetailsWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
337
|
+
.then(function (response_and_data) {
|
|
338
|
+
return response_and_data.data
|
|
339
|
+
})
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
354
343
|
* Sends a message to contact a Home Service customer to arrange a service call or to gather information prior to a service call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
355
344
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
356
345
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
357
346
|
* @param {module:messaging_v1/model/CreateConfirmServiceDetailsRequest} body This contains the message body for a message.
|
|
358
347
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateConfirmServiceDetailsResponse} and HTTP response
|
|
359
348
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
/**
|
|
349
|
+
createConfirmServiceDetailsWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
350
|
+
const postBody = body
|
|
351
|
+
|
|
352
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
353
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
354
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createConfirmServiceDetails")
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
358
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
359
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createConfirmServiceDetails")
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
// verify the required parameter 'body' is set
|
|
363
|
+
if (body === undefined || body === null) {
|
|
364
|
+
throw new Error("Missing the required parameter 'body' when calling createConfirmServiceDetails")
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
const pathParams = {
|
|
368
|
+
amazonOrderId
|
|
369
|
+
}
|
|
370
|
+
const queryParams = {
|
|
371
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
372
|
+
}
|
|
373
|
+
const headerParams = {
|
|
374
|
+
}
|
|
375
|
+
const formParams = {
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
const contentTypes = ['application/json']
|
|
379
|
+
const accepts = ['application/hal+json']
|
|
380
|
+
const returnType = CreateConfirmServiceDetailsResponse
|
|
381
|
+
|
|
382
|
+
return this.apiClient.callApi('MessagingApi-createConfirmServiceDetails',
|
|
383
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/confirmServiceDetails', 'POST',
|
|
384
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
385
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createConfirmServiceDetails')
|
|
386
|
+
)
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
402
390
|
* Sends a message to contact a Home Service customer to arrange a service call or to gather information prior to a service call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
403
391
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
404
392
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
405
393
|
* @param {module:messaging_v1/model/CreateConfirmServiceDetailsRequest} body This contains the message body for a message.
|
|
406
394
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateConfirmServiceDetailsResponse}
|
|
407
395
|
*/
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
/**
|
|
396
|
+
createConfirmServiceDetails (amazonOrderId, marketplaceIds, body) {
|
|
397
|
+
return this.createConfirmServiceDetailsWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
398
|
+
.then(function (response_and_data) {
|
|
399
|
+
return response_and_data.data
|
|
400
|
+
})
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
417
404
|
* Sends a buyer a message to share a digital access key that is required to utilize digital content in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
418
405
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
419
406
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
420
407
|
* @param {module:messaging_v1/model/CreateDigitalAccessKeyRequest} body This contains the message body for a message.
|
|
421
408
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateDigitalAccessKeyResponse} and HTTP response
|
|
422
409
|
*/
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
/**
|
|
410
|
+
createDigitalAccessKeyWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
411
|
+
const postBody = body
|
|
412
|
+
|
|
413
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
414
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
415
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createDigitalAccessKey")
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
419
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
420
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createDigitalAccessKey")
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// verify the required parameter 'body' is set
|
|
424
|
+
if (body === undefined || body === null) {
|
|
425
|
+
throw new Error("Missing the required parameter 'body' when calling createDigitalAccessKey")
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
const pathParams = {
|
|
429
|
+
amazonOrderId
|
|
430
|
+
}
|
|
431
|
+
const queryParams = {
|
|
432
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
433
|
+
}
|
|
434
|
+
const headerParams = {
|
|
435
|
+
}
|
|
436
|
+
const formParams = {
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const contentTypes = ['application/json']
|
|
440
|
+
const accepts = ['application/hal+json']
|
|
441
|
+
const returnType = CreateDigitalAccessKeyResponse
|
|
442
|
+
|
|
443
|
+
return this.apiClient.callApi('MessagingApi-createDigitalAccessKey',
|
|
444
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/digitalAccessKey', 'POST',
|
|
445
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
446
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createDigitalAccessKey')
|
|
447
|
+
)
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
465
451
|
* Sends a buyer a message to share a digital access key that is required to utilize digital content in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
466
452
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
467
453
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
468
454
|
* @param {module:messaging_v1/model/CreateDigitalAccessKeyRequest} body This contains the message body for a message.
|
|
469
455
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateDigitalAccessKeyResponse}
|
|
470
456
|
*/
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
/**
|
|
457
|
+
createDigitalAccessKey (amazonOrderId, marketplaceIds, body) {
|
|
458
|
+
return this.createDigitalAccessKeyWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
459
|
+
.then(function (response_and_data) {
|
|
460
|
+
return response_and_data.data
|
|
461
|
+
})
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
480
465
|
* Sends a critical message that contains documents that a seller is legally obligated to provide to the buyer. This message should only be used to deliver documents that are required by law. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
481
466
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
482
467
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
483
468
|
* @param {module:messaging_v1/model/CreateLegalDisclosureRequest} body This contains the message body for a message.
|
|
484
469
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateLegalDisclosureResponse} and HTTP response
|
|
485
470
|
*/
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
/**
|
|
471
|
+
createLegalDisclosureWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
472
|
+
const postBody = body
|
|
473
|
+
|
|
474
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
475
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
476
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createLegalDisclosure")
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
480
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
481
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createLegalDisclosure")
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// verify the required parameter 'body' is set
|
|
485
|
+
if (body === undefined || body === null) {
|
|
486
|
+
throw new Error("Missing the required parameter 'body' when calling createLegalDisclosure")
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
const pathParams = {
|
|
490
|
+
amazonOrderId
|
|
491
|
+
}
|
|
492
|
+
const queryParams = {
|
|
493
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
494
|
+
}
|
|
495
|
+
const headerParams = {
|
|
496
|
+
}
|
|
497
|
+
const formParams = {
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
const contentTypes = ['application/json']
|
|
501
|
+
const accepts = ['application/hal+json']
|
|
502
|
+
const returnType = CreateLegalDisclosureResponse
|
|
503
|
+
|
|
504
|
+
return this.apiClient.callApi('MessagingApi-createLegalDisclosure',
|
|
505
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure', 'POST',
|
|
506
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
507
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createLegalDisclosure')
|
|
508
|
+
)
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
528
512
|
* Sends a critical message that contains documents that a seller is legally obligated to provide to the buyer. This message should only be used to deliver documents that are required by law. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
529
513
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
530
514
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
531
515
|
* @param {module:messaging_v1/model/CreateLegalDisclosureRequest} body This contains the message body for a message.
|
|
532
516
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateLegalDisclosureResponse}
|
|
533
517
|
*/
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
/**
|
|
518
|
+
createLegalDisclosure (amazonOrderId, marketplaceIds, body) {
|
|
519
|
+
return this.createLegalDisclosureWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
520
|
+
.then(function (response_and_data) {
|
|
521
|
+
return response_and_data.data
|
|
522
|
+
})
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
543
526
|
* Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer's problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
544
527
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
545
528
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
546
529
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateNegativeFeedbackRemovalResponse} and HTTP response
|
|
547
530
|
*/
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
/**
|
|
531
|
+
createNegativeFeedbackRemovalWithHttpInfo (amazonOrderId, marketplaceIds) {
|
|
532
|
+
const postBody = null
|
|
533
|
+
|
|
534
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
535
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
536
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createNegativeFeedbackRemoval")
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
540
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
541
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createNegativeFeedbackRemoval")
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
const pathParams = {
|
|
545
|
+
amazonOrderId
|
|
546
|
+
}
|
|
547
|
+
const queryParams = {
|
|
548
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
549
|
+
}
|
|
550
|
+
const headerParams = {
|
|
551
|
+
}
|
|
552
|
+
const formParams = {
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
const contentTypes = []
|
|
556
|
+
const accepts = ['application/hal+json']
|
|
557
|
+
const returnType = CreateNegativeFeedbackRemovalResponse
|
|
558
|
+
|
|
559
|
+
return this.apiClient.callApi('MessagingApi-createNegativeFeedbackRemoval',
|
|
560
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/negativeFeedbackRemoval', 'POST',
|
|
561
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
562
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createNegativeFeedbackRemoval')
|
|
563
|
+
)
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
585
567
|
* Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer's problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
586
568
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
587
569
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
588
570
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateNegativeFeedbackRemovalResponse}
|
|
589
571
|
*/
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
/**
|
|
572
|
+
createNegativeFeedbackRemoval (amazonOrderId, marketplaceIds) {
|
|
573
|
+
return this.createNegativeFeedbackRemovalWithHttpInfo(amazonOrderId, marketplaceIds)
|
|
574
|
+
.then(function (response_and_data) {
|
|
575
|
+
return response_and_data.data
|
|
576
|
+
})
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/**
|
|
599
580
|
* Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
600
581
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
601
582
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
602
583
|
* @param {module:messaging_v1/model/CreateUnexpectedProblemRequest} body This contains the message body for a message.
|
|
603
584
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateUnexpectedProblemResponse} and HTTP response
|
|
604
585
|
*/
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
/**
|
|
586
|
+
createUnexpectedProblemWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
587
|
+
const postBody = body
|
|
588
|
+
|
|
589
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
590
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
591
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createUnexpectedProblem")
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
595
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
596
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createUnexpectedProblem")
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
// verify the required parameter 'body' is set
|
|
600
|
+
if (body === undefined || body === null) {
|
|
601
|
+
throw new Error("Missing the required parameter 'body' when calling createUnexpectedProblem")
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
const pathParams = {
|
|
605
|
+
amazonOrderId
|
|
606
|
+
}
|
|
607
|
+
const queryParams = {
|
|
608
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
609
|
+
}
|
|
610
|
+
const headerParams = {
|
|
611
|
+
}
|
|
612
|
+
const formParams = {
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
const contentTypes = ['application/json']
|
|
616
|
+
const accepts = ['application/hal+json']
|
|
617
|
+
const returnType = CreateUnexpectedProblemResponse
|
|
618
|
+
|
|
619
|
+
return this.apiClient.callApi('MessagingApi-createUnexpectedProblem',
|
|
620
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/unexpectedProblem', 'POST',
|
|
621
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
622
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createUnexpectedProblem')
|
|
623
|
+
)
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
647
627
|
* Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
648
628
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
649
629
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
650
630
|
* @param {module:messaging_v1/model/CreateUnexpectedProblemRequest} body This contains the message body for a message.
|
|
651
631
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateUnexpectedProblemResponse}
|
|
652
632
|
*/
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
/**
|
|
633
|
+
createUnexpectedProblem (amazonOrderId, marketplaceIds, body) {
|
|
634
|
+
return this.createUnexpectedProblemWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
635
|
+
.then(function (response_and_data) {
|
|
636
|
+
return response_and_data.data
|
|
637
|
+
})
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/**
|
|
662
641
|
* Sends a message to a buyer to provide details about warranty information on a purchase in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
663
642
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
664
643
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
665
644
|
* @param {module:messaging_v1/model/CreateWarrantyRequest} body This contains the message body for a message.
|
|
666
645
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/CreateWarrantyResponse} and HTTP response
|
|
667
646
|
*/
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
/**
|
|
647
|
+
createWarrantyWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
648
|
+
const postBody = body
|
|
649
|
+
|
|
650
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
651
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
652
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling createWarranty")
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
656
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
657
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling createWarranty")
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
// verify the required parameter 'body' is set
|
|
661
|
+
if (body === undefined || body === null) {
|
|
662
|
+
throw new Error("Missing the required parameter 'body' when calling createWarranty")
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
const pathParams = {
|
|
666
|
+
amazonOrderId
|
|
667
|
+
}
|
|
668
|
+
const queryParams = {
|
|
669
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
670
|
+
}
|
|
671
|
+
const headerParams = {
|
|
672
|
+
}
|
|
673
|
+
const formParams = {
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
const contentTypes = ['application/json']
|
|
677
|
+
const accepts = ['application/hal+json']
|
|
678
|
+
const returnType = CreateWarrantyResponse
|
|
679
|
+
|
|
680
|
+
return this.apiClient.callApi('MessagingApi-createWarranty',
|
|
681
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/warranty', 'POST',
|
|
682
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
683
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-createWarranty')
|
|
684
|
+
)
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
710
688
|
* Sends a message to a buyer to provide details about warranty information on a purchase in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
711
689
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
712
690
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
713
691
|
* @param {module:messaging_v1/model/CreateWarrantyRequest} body This contains the message body for a message.
|
|
714
692
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/CreateWarrantyResponse}
|
|
715
693
|
*/
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
/**
|
|
694
|
+
createWarranty (amazonOrderId, marketplaceIds, body) {
|
|
695
|
+
return this.createWarrantyWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
696
|
+
.then(function (response_and_data) {
|
|
697
|
+
return response_and_data.data
|
|
698
|
+
})
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
725
702
|
* Returns a response containing attributes related to an order. This includes buyer preferences. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |
|
|
726
703
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
727
704
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
728
705
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/GetAttributesResponse} and HTTP response
|
|
729
706
|
*/
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
/**
|
|
707
|
+
getAttributesWithHttpInfo (amazonOrderId, marketplaceIds) {
|
|
708
|
+
const postBody = null
|
|
709
|
+
|
|
710
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
711
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
712
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling getAttributes")
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
716
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
717
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling getAttributes")
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
const pathParams = {
|
|
721
|
+
amazonOrderId
|
|
722
|
+
}
|
|
723
|
+
const queryParams = {
|
|
724
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
725
|
+
}
|
|
726
|
+
const headerParams = {
|
|
727
|
+
}
|
|
728
|
+
const formParams = {
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
const contentTypes = []
|
|
732
|
+
const accepts = ['application/hal+json']
|
|
733
|
+
const returnType = GetAttributesResponse
|
|
734
|
+
|
|
735
|
+
return this.apiClient.callApi('MessagingApi-getAttributes',
|
|
736
|
+
'/messaging/v1/orders/{amazonOrderId}/attributes', 'GET',
|
|
737
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
738
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-getAttributes')
|
|
739
|
+
)
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
767
743
|
* Returns a response containing attributes related to an order. This includes buyer preferences. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |
|
|
768
744
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
769
745
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
770
746
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/GetAttributesResponse}
|
|
771
747
|
*/
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
/**
|
|
748
|
+
getAttributes (amazonOrderId, marketplaceIds) {
|
|
749
|
+
return this.getAttributesWithHttpInfo(amazonOrderId, marketplaceIds)
|
|
750
|
+
.then(function (response_and_data) {
|
|
751
|
+
return response_and_data.data
|
|
752
|
+
})
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
781
756
|
* Returns a list of message types that are available for an order that you specify. A message type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a message. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
782
757
|
* @param {String} amazonOrderId An Amazon order identifier. This specifies the order for which you want a list of available message types.
|
|
783
758
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
784
759
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/GetMessagingActionsForOrderResponse} and HTTP response
|
|
785
760
|
*/
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
/**
|
|
761
|
+
getMessagingActionsForOrderWithHttpInfo (amazonOrderId, marketplaceIds) {
|
|
762
|
+
const postBody = null
|
|
763
|
+
|
|
764
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
765
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
766
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling getMessagingActionsForOrder")
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
770
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
771
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling getMessagingActionsForOrder")
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
const pathParams = {
|
|
775
|
+
amazonOrderId
|
|
776
|
+
}
|
|
777
|
+
const queryParams = {
|
|
778
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
779
|
+
}
|
|
780
|
+
const headerParams = {
|
|
781
|
+
}
|
|
782
|
+
const formParams = {
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
const contentTypes = []
|
|
786
|
+
const accepts = ['application/hal+json']
|
|
787
|
+
const returnType = GetMessagingActionsForOrderResponse
|
|
788
|
+
|
|
789
|
+
return this.apiClient.callApi('MessagingApi-getMessagingActionsForOrder',
|
|
790
|
+
'/messaging/v1/orders/{amazonOrderId}', 'GET',
|
|
791
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
792
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-getMessagingActionsForOrder')
|
|
793
|
+
)
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/**
|
|
823
797
|
* Returns a list of message types that are available for an order that you specify. A message type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a message. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
824
798
|
* @param {String} amazonOrderId An Amazon order identifier. This specifies the order for which you want a list of available message types.
|
|
825
799
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
826
800
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/GetMessagingActionsForOrderResponse}
|
|
827
801
|
*/
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
/**
|
|
802
|
+
getMessagingActionsForOrder (amazonOrderId, marketplaceIds) {
|
|
803
|
+
return this.getMessagingActionsForOrderWithHttpInfo(amazonOrderId, marketplaceIds)
|
|
804
|
+
.then(function (response_and_data) {
|
|
805
|
+
return response_and_data.data
|
|
806
|
+
})
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
837
810
|
* Sends a message providing the buyer an invoice
|
|
838
811
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
839
812
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
840
813
|
* @param {module:messaging_v1/model/InvoiceRequest} body This contains the message body for a message.
|
|
841
814
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:messaging_v1/model/InvoiceResponse} and HTTP response
|
|
842
815
|
*/
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
/**
|
|
816
|
+
sendInvoiceWithHttpInfo (amazonOrderId, marketplaceIds, body) {
|
|
817
|
+
const postBody = body
|
|
818
|
+
|
|
819
|
+
// verify the required parameter 'amazonOrderId' is set
|
|
820
|
+
if (amazonOrderId === undefined || amazonOrderId === null) {
|
|
821
|
+
throw new Error("Missing the required parameter 'amazonOrderId' when calling sendInvoice")
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
// verify the required parameter 'marketplaceIds' is set
|
|
825
|
+
if (marketplaceIds === undefined || marketplaceIds === null) {
|
|
826
|
+
throw new Error("Missing the required parameter 'marketplaceIds' when calling sendInvoice")
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
// verify the required parameter 'body' is set
|
|
830
|
+
if (body === undefined || body === null) {
|
|
831
|
+
throw new Error("Missing the required parameter 'body' when calling sendInvoice")
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
const pathParams = {
|
|
835
|
+
amazonOrderId
|
|
836
|
+
}
|
|
837
|
+
const queryParams = {
|
|
838
|
+
marketplaceIds: this.apiClient.buildCollectionParam(marketplaceIds, 'csv')
|
|
839
|
+
}
|
|
840
|
+
const headerParams = {
|
|
841
|
+
}
|
|
842
|
+
const formParams = {
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
const contentTypes = ['application/json']
|
|
846
|
+
const accepts = ['application/hal+json']
|
|
847
|
+
const returnType = InvoiceResponse
|
|
848
|
+
|
|
849
|
+
return this.apiClient.callApi('MessagingApi-sendInvoice',
|
|
850
|
+
'/messaging/v1/orders/{amazonOrderId}/messages/invoice', 'POST',
|
|
851
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
852
|
+
contentTypes, accepts, returnType, this.getRateLimiter('MessagingApi-sendInvoice')
|
|
853
|
+
)
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/**
|
|
885
857
|
* Sends a message providing the buyer an invoice
|
|
886
858
|
* @param {String} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
|
|
887
859
|
* @param {Array.<String>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
|
|
888
860
|
* @param {module:messaging_v1/model/InvoiceRequest} body This contains the message body for a message.
|
|
889
861
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:messaging_v1/model/InvoiceResponse}
|
|
890
862
|
*/
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
863
|
+
sendInvoice (amazonOrderId, marketplaceIds, body) {
|
|
864
|
+
return this.sendInvoiceWithHttpInfo(amazonOrderId, marketplaceIds, body)
|
|
865
|
+
.then(function (response_and_data) {
|
|
866
|
+
return response_and_data.data
|
|
867
|
+
})
|
|
868
|
+
}
|
|
899
869
|
}
|