@amazon-sp-api-release/amazon-sp-api-sdk-js 1.5.0 → 1.6.1-alpha.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 +14 -1
- package/index.js +3 -0
- package/package.json +2 -1
- package/src/appintegrations_v2024_04_01/model/DeleteNotificationsRequest.js +0 -1
- package/src/appintegrations_v2024_04_01/model/RecordActionFeedbackRequest.js +0 -1
- package/src/catalogitems_v2022_04_01/model/ErrorList.d.ts +1 -1
- package/src/catalogitems_v2022_04_01/model/ErrorList.js +2 -1
- package/src/catalogitems_v2022_04_01/model/ItemImage.js +0 -1
- package/src/catalogitems_v2022_04_01/model/ItemRelationship.js +0 -1
- package/src/catalogitems_v2022_04_01/model/ItemSearchResults.d.ts +11 -5
- package/src/catalogitems_v2022_04_01/model/ItemSearchResults.d.ts.map +1 -1
- package/src/catalogitems_v2022_04_01/model/ItemSearchResults.js +1 -5
- package/src/catalogitems_v2022_04_01/model/ItemSummaryByMarketplace.d.ts.map +1 -1
- package/src/catalogitems_v2022_04_01/model/ItemSummaryByMarketplace.js +0 -1
- package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsByMarketplace.d.ts.map +1 -1
- package/src/catalogitems_v2022_04_01/model/ItemVendorDetailsByMarketplace.js +0 -1
- package/src/datakiosk_v2023_11_15/model/Query.d.ts.map +1 -1
- package/src/datakiosk_v2023_11_15/model/Query.js +0 -1
- package/src/easyship_v2022_03_23/api/EasyShipApi.d.ts +2 -2
- package/src/easyship_v2022_03_23/api/EasyShipApi.js +2 -2
- package/src/easyship_v2022_03_23/model/HandoverMethod.d.ts +4 -4
- package/src/easyship_v2022_03_23/model/HandoverMethod.js +4 -4
- package/src/easyship_v2022_03_23/model/UnitOfLength.d.ts +2 -2
- package/src/easyship_v2022_03_23/model/UnitOfLength.js +2 -2
- package/src/easyship_v2022_03_23/model/UnitOfWeight.d.ts +4 -4
- package/src/easyship_v2022_03_23/model/UnitOfWeight.js +4 -4
- package/src/externalfulfillmentinventory_v2024_09_11/ApiClient.d.ts +260 -0
- package/src/externalfulfillmentinventory_v2024_09_11/ApiClient.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/ApiClient.js +827 -0
- package/src/externalfulfillmentinventory_v2024_09_11/api/BatchInventoryApi.d.ts +42 -0
- package/src/externalfulfillmentinventory_v2024_09_11/api/BatchInventoryApi.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/api/BatchInventoryApi.js +110 -0
- package/src/externalfulfillmentinventory_v2024_09_11/index.d.ts +16 -0
- package/src/externalfulfillmentinventory_v2024_09_11/index.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/index.js +119 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/ActionableError.d.ts +28 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/ActionableError.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/ActionableError.js +71 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryRequest.d.ts +23 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryRequest.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryRequest.js +64 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryResponse.d.ts +23 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryResponse.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/BatchInventoryResponse.js +64 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/Error.d.ts +33 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/Error.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/Error.js +83 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/ErrorList.d.ts +26 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/ErrorList.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/ErrorList.js +66 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/HttpMethod.d.ts +24 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/HttpMethod.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/HttpMethod.js +42 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/HttpStatusLine.d.ts +28 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/HttpStatusLine.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/HttpStatusLine.js +71 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequest.d.ts +34 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequest.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequest.js +83 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequestParams.d.ts +34 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequestParams.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryRequestParams.js +79 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponse.d.ts +29 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponse.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponse.js +75 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody.d.ts +59 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/InventoryResponseBody.js +112 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes.d.ts +39 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes.d.ts.map +1 -0
- package/src/externalfulfillmentinventory_v2024_09_11/model/MarketplaceAttributes.js +96 -0
- package/src/externalfulfillmentreturns_v2024_09_11/ApiClient.d.ts +260 -0
- package/src/externalfulfillmentreturns_v2024_09_11/ApiClient.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/ApiClient.js +827 -0
- package/src/externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi.d.ts +104 -0
- package/src/externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi.js +189 -0
- package/src/externalfulfillmentreturns_v2024_09_11/index.d.ts +16 -0
- package/src/externalfulfillmentreturns_v2024_09_11/index.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/index.js +119 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/Error.d.ts +33 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/Error.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/Error.js +83 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ErrorList.d.ts +26 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ErrorList.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ErrorList.js +66 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation.d.ts +25 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation.js +65 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel.d.ts +28 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel.js +71 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails.d.ts +58 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails.js +111 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/OtpDetails.d.ts +27 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/OtpDetails.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/OtpDetails.js +75 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails.d.ts +23 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails.js +64 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/Return.d.ts +138 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/Return.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/Return.js +359 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata.d.ts +43 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata.js +89 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo.d.ts +39 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo.js +86 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse.d.ts +29 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse.js +72 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/TrackingInfo.d.ts +27 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/TrackingInfo.d.ts.map +1 -0
- package/src/externalfulfillmentreturns_v2024_09_11/model/TrackingInfo.js +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/ApiClient.d.ts +260 -0
- package/src/externalfulfillmentshipments_v2024_09_11/ApiClient.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/ApiClient.js +827 -0
- package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentProcessingApi.d.ts +178 -0
- package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentProcessingApi.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentProcessingApi.js +521 -0
- package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentRetrievalApi.d.ts +86 -0
- package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentRetrievalApi.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/api/ShipmentRetrievalApi.js +182 -0
- package/src/externalfulfillmentshipments_v2024_09_11/index.d.ts +62 -0
- package/src/externalfulfillmentshipments_v2024_09_11/index.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/index.js +441 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Address.d.ts +103 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Address.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Address.js +169 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Amount.d.ts +27 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Amount.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Amount.js +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Cancellation.d.ts +46 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Cancellation.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Cancellation.js +118 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Charge.d.ts +52 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Charge.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Charge.js +139 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ChargeBreakup.d.ts +30 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ChargeBreakup.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ChargeBreakup.js +83 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ComplianceAttributes.d.ts +32 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ComplianceAttributes.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ComplianceAttributes.js +92 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CourierSupportedAttributes.d.ts +27 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CourierSupportedAttributes.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CourierSupportedAttributes.js +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttribute.d.ts +34 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttribute.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttribute.js +79 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttributeType.d.ts +39 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttributeType.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/CustomAttributeType.js +60 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Dimension.d.ts +37 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Dimension.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Dimension.js +94 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Document.d.ts +40 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Document.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Document.js +102 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/DocumentV2.d.ts +25 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/DocumentV2.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/DocumentV2.js +65 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Error.d.ts +33 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Error.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Error.js +83 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ErrorList.d.ts +26 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ErrorList.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ErrorList.js +66 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/GiftAttributes.d.ts +41 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/GiftAttributes.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/GiftAttributes.js +91 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceInfo.d.ts +27 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceInfo.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceInfo.js +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceRequirement.d.ts +47 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceRequirement.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceRequirement.js +115 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceResponse.d.ts +26 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceResponse.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/InvoiceResponse.js +65 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/LineItem.d.ts +31 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/LineItem.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/LineItem.js +73 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/LineItemWithReason.d.ts +42 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/LineItemWithReason.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/LineItemWithReason.js +92 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/MarketplaceAttributes.d.ts +49 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/MarketplaceAttributes.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/MarketplaceAttributes.js +110 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/OriginalLineItem.d.ts +30 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/OriginalLineItem.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/OriginalLineItem.js +86 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Package.d.ts +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Package.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Package.js +188 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDeliveryStatus.d.ts +34 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDeliveryStatus.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDeliveryStatus.js +79 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDimensions.d.ts +30 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDimensions.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageDimensions.js +83 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageLineItem.d.ts +51 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageLineItem.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageLineItem.js +107 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageShipLabel.d.ts +46 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageShipLabel.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageShipLabel.js +95 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageStatus.d.ts +44 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageStatus.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageStatus.js +66 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageSubStatus.d.ts +34 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageSubStatus.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackageSubStatus.js +54 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Packages.d.ts +26 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Packages.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Packages.js +66 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackingSlipRequirement.d.ts +46 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackingSlipRequirement.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PackingSlipRequirement.js +109 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Pagination.d.ts +22 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Pagination.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Pagination.js +63 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PartyIdentificationInfo.d.ts +51 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PartyIdentificationInfo.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PartyIdentificationInfo.js +122 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PieceType.d.ts +24 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PieceType.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PieceType.js +42 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PresenceStatus.d.ts +24 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PresenceStatus.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/PresenceStatus.js +42 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Priority.d.ts +24 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Priority.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Priority.js +42 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackage.d.ts +32 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackage.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackage.js +86 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackageLineItem.d.ts +25 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackageLineItem.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RecommendedPackageLineItem.js +65 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ReplacedShipmentInfo.d.ts +37 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ReplacedShipmentInfo.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ReplacedShipmentInfo.js +94 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RequirementLevel.d.ts +24 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RequirementLevel.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/RequirementLevel.js +42 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelMetadata.d.ts +44 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelMetadata.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelMetadata.js +98 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsInput.d.ts +31 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsInput.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsInput.js +73 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsResponse.d.ts +26 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsResponse.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipLabelsResponse.js +66 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts +122 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Shipment.js +367 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentAcknowledgementRequest.d.ts +32 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentAcknowledgementRequest.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentAcknowledgementRequest.js +74 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentInfo.d.ts +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentInfo.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentInfo.js +171 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentLineItem.d.ts +103 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentLineItem.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentLineItem.js +196 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentRequirements.d.ts +29 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentRequirements.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentRequirements.js +75 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentsResponse.d.ts +29 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentsResponse.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShipmentsResponse.js +72 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingInfo.d.ts +60 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingInfo.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingInfo.js +117 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptions.d.ts +56 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptions.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptions.js +129 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptionsResponse.d.ts +28 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptionsResponse.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/ShippingOptionsResponse.js +71 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Status.d.ts +24 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Status.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Status.js +42 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Tax.d.ts +55 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Tax.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Tax.js +142 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/TaxRegistrationInfo.d.ts +50 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/TaxRegistrationInfo.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/TaxRegistrationInfo.js +106 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/TimeWindow.d.ts +43 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/TimeWindow.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/TimeWindow.js +102 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Weight.d.ts +37 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Weight.d.ts.map +1 -0
- package/src/externalfulfillmentshipments_v2024_09_11/model/Weight.js +94 -0
- package/src/fbaeligibility_v1/model/ItemEligibilityPreview.d.ts +1 -0
- package/src/fbaeligibility_v1/model/ItemEligibilityPreview.d.ts.map +1 -1
- package/src/fbaeligibility_v1/model/ItemEligibilityPreview.js +6 -2
- package/src/fbainventory_v1/model/ResearchingQuantityEntry.js +0 -1
- package/src/feeds_v2021_06_30/model/Feed.d.ts.map +1 -1
- package/src/feeds_v2021_06_30/model/Feed.js +0 -1
- package/src/feeds_v2021_06_30/model/FeedDocument.d.ts.map +1 -1
- package/src/feeds_v2021_06_30/model/FeedDocument.js +0 -1
- package/src/finances_2024_06_19/model/BusinessContext.d.ts.map +1 -1
- package/src/finances_2024_06_19/model/BusinessContext.js +0 -1
- package/src/finances_2024_06_19/model/Context.d.ts.map +1 -1
- package/src/finances_2024_06_19/model/Context.js +0 -1
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.d.ts.map +1 -1
- package/src/finances_2024_06_19/model/ItemRelatedIdentifier.js +0 -1
- package/src/finances_2024_06_19/model/RelatedIdentifier.d.ts.map +1 -1
- package/src/finances_2024_06_19/model/RelatedIdentifier.js +0 -1
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.d.ts +0 -18
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.d.ts.map +1 -1
- package/src/fulfillmentinbound_v2024_03_20/api/FbaInboundApi.js +0 -64
- package/src/fulfillmentinbound_v2024_03_20/index.d.ts +1 -5
- package/src/fulfillmentinbound_v2024_03_20/index.d.ts.map +1 -1
- package/src/fulfillmentinbound_v2024_03_20/index.js +0 -28
- package/src/fulfillmentoutbound_v2020_07_01/model/Address.d.ts +7 -3
- package/src/fulfillmentoutbound_v2020_07_01/model/Address.d.ts.map +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/Address.js +1 -3
- package/src/fulfillmentoutbound_v2020_07_01/model/Amount.js +0 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.d.ts +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/DeliveryDocument.js +2 -2
- package/src/fulfillmentoutbound_v2020_07_01/model/DropOffLocation.d.ts.map +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/DropOffLocation.js +0 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.d.ts +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.d.ts.map +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FeatureSettings.js +2 -3
- package/src/fulfillmentoutbound_v2020_07_01/model/Fee.js +0 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewItem.d.ts.map +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentPreviewItem.js +0 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipment.d.ts.map +1 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/FulfillmentShipment.js +0 -1
- package/src/fulfillmentoutbound_v2020_07_01/model/Weight.js +0 -1
- package/src/listingsitems_v2021_08_01/model/Issue.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/Issue.js +0 -1
- package/src/listingsitems_v2021_08_01/model/IssueExemption.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/IssueExemption.js +0 -1
- package/src/listingsitems_v2021_08_01/model/ItemOfferByMarketplace.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/ItemOfferByMarketplace.js +0 -1
- package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +0 -1
- package/src/listingsitems_v2021_08_01/model/ItemSummaryByMarketplace.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/ItemSummaryByMarketplace.js +0 -2
- package/src/listingsitems_v2021_08_01/model/ListingsItemPutRequest.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/ListingsItemPutRequest.js +0 -1
- package/src/listingsitems_v2021_08_01/model/ListingsItemSubmissionResponse.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/ListingsItemSubmissionResponse.js +0 -1
- package/src/listingsitems_v2021_08_01/model/PatchOperation.d.ts.map +1 -1
- package/src/listingsitems_v2021_08_01/model/PatchOperation.js +0 -1
- package/src/listingsrestrictions_v2021_08_01/model/Link.d.ts.map +1 -1
- package/src/listingsrestrictions_v2021_08_01/model/Link.js +0 -1
- package/src/listingsrestrictions_v2021_08_01/model/Reason.d.ts.map +1 -1
- package/src/listingsrestrictions_v2021_08_01/model/Reason.js +0 -1
- package/src/listingsrestrictions_v2021_08_01/model/Restriction.d.ts.map +1 -1
- package/src/listingsrestrictions_v2021_08_01/model/Restriction.js +0 -1
- package/src/merchantfulfillment_v0/index.d.ts +4 -1
- package/src/merchantfulfillment_v0/index.d.ts.map +1 -1
- package/src/merchantfulfillment_v0/index.js +21 -0
- package/src/merchantfulfillment_v0/model/DangerousGoodsDetails.d.ts.map +1 -1
- package/src/merchantfulfillment_v0/model/DangerousGoodsDetails.js +0 -2
- package/src/merchantfulfillment_v0/model/LiquidVolume.js +0 -1
- package/src/merchantfulfillment_v0/model/RateItem.d.ts +44 -0
- package/src/merchantfulfillment_v0/model/RateItem.d.ts.map +1 -0
- package/src/merchantfulfillment_v0/model/RateItem.js +89 -0
- package/src/merchantfulfillment_v0/model/RateItemID.d.ts +19 -0
- package/src/merchantfulfillment_v0/model/RateItemID.d.ts.map +1 -0
- package/src/merchantfulfillment_v0/model/RateItemID.js +36 -0
- package/src/merchantfulfillment_v0/model/RateItemType.d.ts +19 -0
- package/src/merchantfulfillment_v0/model/RateItemType.d.ts.map +1 -0
- package/src/merchantfulfillment_v0/model/RateItemType.js +36 -0
- package/src/merchantfulfillment_v0/model/ShippingService.d.ts +10 -1
- package/src/merchantfulfillment_v0/model/ShippingService.d.ts.map +1 -1
- package/src/merchantfulfillment_v0/model/ShippingService.js +19 -1
- package/src/notifications_v1/model/EventFilter.js +0 -1
- package/src/orders_v0/model/Address.d.ts +3 -6
- package/src/orders_v0/model/Address.d.ts.map +1 -1
- package/src/orders_v0/model/Address.js +1 -4
- package/src/orders_v0/model/BusinessHours.d.ts.map +1 -1
- package/src/orders_v0/model/BusinessHours.js +0 -1
- package/src/orders_v0/model/ConfirmShipmentRequest.d.ts.map +1 -1
- package/src/orders_v0/model/ConfirmShipmentRequest.js +0 -1
- package/src/orders_v0/model/Measurement.js +0 -1
- package/src/orders_v0/model/Order.d.ts.map +1 -1
- package/src/orders_v0/model/Order.js +0 -5
- package/src/orders_v0/model/OrderItem.d.ts.map +1 -1
- package/src/orders_v0/model/OrderItem.js +0 -1
- package/src/orders_v0/model/RegulatedInformationField.js +0 -1
- package/src/orders_v0/model/SubstitutionPreferences.d.ts.map +1 -1
- package/src/orders_v0/model/SubstitutionPreferences.js +0 -1
- package/src/orders_v0/model/TaxCollection.d.ts.map +1 -1
- package/src/orders_v0/model/TaxCollection.js +0 -2
- package/src/pricing_v0/model/DetailedShippingTimeType.d.ts.map +1 -1
- package/src/pricing_v0/model/DetailedShippingTimeType.js +0 -1
- package/src/pricing_v2022_05_01/model/FeaturedBuyingOption.js +0 -1
- package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +0 -1
- package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +0 -1
- package/src/pricing_v2022_05_01/model/Offer.d.ts.map +1 -1
- package/src/pricing_v2022_05_01/model/Offer.js +0 -1
- package/src/pricing_v2022_05_01/model/PrimeDetails.js +0 -1
- package/src/pricing_v2022_05_01/model/SegmentedFeaturedOffer.d.ts.map +1 -1
- package/src/pricing_v2022_05_01/model/SegmentedFeaturedOffer.js +0 -1
- package/src/pricing_v2022_05_01/model/ShippingOption.js +0 -1
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeDefinition.d.ts.map +1 -1
- package/src/producttypedefinitions_v2020_09_01/model/ProductTypeDefinition.js +0 -2
- package/src/producttypedefinitions_v2020_09_01/model/SchemaLinkLink.js +0 -1
- package/src/reports_v2021_06_30/model/CreateReportScheduleSpecification.d.ts.map +1 -1
- package/src/reports_v2021_06_30/model/CreateReportScheduleSpecification.js +0 -1
- package/src/reports_v2021_06_30/model/Report.d.ts.map +1 -1
- package/src/reports_v2021_06_30/model/Report.js +0 -1
- package/src/reports_v2021_06_30/model/ReportDocument.d.ts.map +1 -1
- package/src/reports_v2021_06_30/model/ReportDocument.js +0 -1
- package/src/sellers_v1/model/Account.d.ts.map +1 -1
- package/src/sellers_v1/model/Account.js +0 -2
- package/src/services_v1/model/Appointment.d.ts.map +1 -1
- package/src/services_v1/model/Appointment.js +0 -1
- package/src/services_v1/model/AppointmentSlotReport.d.ts.map +1 -1
- package/src/services_v1/model/AppointmentSlotReport.js +0 -1
- package/src/services_v1/model/AssociatedItem.d.ts.map +1 -1
- package/src/services_v1/model/AssociatedItem.js +0 -1
- package/src/services_v1/model/EncryptionDetails.js +0 -1
- package/src/services_v1/model/Error.d.ts.map +1 -1
- package/src/services_v1/model/Error.js +0 -1
- package/src/services_v1/model/Poa.d.ts.map +1 -1
- package/src/services_v1/model/Poa.js +0 -1
- package/src/services_v1/model/Reservation.js +0 -1
- package/src/services_v1/model/ServiceJob.d.ts.map +1 -1
- package/src/services_v1/model/ServiceJob.js +0 -1
- package/src/services_v1/model/ServiceLocation.d.ts.map +1 -1
- package/src/services_v1/model/ServiceLocation.js +0 -1
- package/src/services_v1/model/ServiceUploadDocument.d.ts.map +1 -1
- package/src/services_v1/model/ServiceUploadDocument.js +0 -1
- package/src/shipping_v2/model/AccessPoint.d.ts.map +1 -1
- package/src/shipping_v2/model/AccessPoint.js +0 -1
- package/src/shipping_v2/model/ChargeComponent.d.ts.map +1 -1
- package/src/shipping_v2/model/ChargeComponent.js +0 -1
- package/src/shipping_v2/model/ClientReferenceDetail.js +0 -1
- package/src/shipping_v2/model/DangerousGoodsDetails.d.ts.map +1 -1
- package/src/shipping_v2/model/DangerousGoodsDetails.js +0 -2
- package/src/shipping_v2/model/Dimensions.js +0 -1
- package/src/shipping_v2/model/DocumentSize.js +0 -1
- package/src/shipping_v2/model/LiquidVolume.js +0 -1
- package/src/shipping_v2/model/Weight.js +0 -1
- package/src/tokens_v2021_03_01/model/RestrictedResource.d.ts.map +1 -1
- package/src/tokens_v2021_03_01/model/RestrictedResource.js +0 -1
- package/src/vendordforders_v2021_12_28/model/ItemQuantity.d.ts.map +1 -1
- package/src/vendordforders_v2021_12_28/model/ItemQuantity.js +0 -1
- package/src/vendordforders_v2021_12_28/model/OrderDetails.d.ts +6 -0
- package/src/vendordforders_v2021_12_28/model/OrderDetails.d.ts.map +1 -1
- package/src/vendordforders_v2021_12_28/model/OrderDetails.js +8 -1
- package/src/vendordforders_v2021_12_28/model/TaxDetails.d.ts.map +1 -1
- package/src/vendordforders_v2021_12_28/model/TaxDetails.js +0 -1
- package/src/vendordforders_v2021_12_28/model/TaxRegistrationDetails.d.ts.map +1 -1
- package/src/vendordforders_v2021_12_28/model/TaxRegistrationDetails.js +0 -1
- package/src/vendordfpayments_v1/model/AdditionalDetails.d.ts.map +1 -1
- package/src/vendordfpayments_v1/model/AdditionalDetails.js +0 -1
- package/src/vendordfpayments_v1/model/ChargeDetails.d.ts.map +1 -1
- package/src/vendordfpayments_v1/model/ChargeDetails.js +0 -1
- package/src/vendordfpayments_v1/model/TaxDetail.d.ts.map +1 -1
- package/src/vendordfpayments_v1/model/TaxDetail.js +0 -1
- package/src/vendordfpayments_v1/model/TaxRegistrationDetail.d.ts.map +1 -1
- package/src/vendordfpayments_v1/model/TaxRegistrationDetail.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/Container.d.ts.map +1 -1
- package/src/vendordfshipping_v2021_12_28/model/Container.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/Dimensions.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/PackingSlip.d.ts.map +1 -1
- package/src/vendordfshipping_v2021_12_28/model/PackingSlip.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/ShipmentDetails.d.ts.map +1 -1
- package/src/vendordfshipping_v2021_12_28/model/ShipmentDetails.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/ShippingLabel.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/TaxRegistrationDetails.d.ts.map +1 -1
- package/src/vendordfshipping_v2021_12_28/model/TaxRegistrationDetails.js +0 -1
- package/src/vendordfshipping_v2021_12_28/model/Weight.js +0 -1
- package/src/vendordftransactions_v2021_12_28/model/Transaction.d.ts.map +1 -1
- package/src/vendordftransactions_v2021_12_28/model/Transaction.js +0 -1
- package/src/vendorinvoices_v1/model/AdditionalDetails.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/AdditionalDetails.js +0 -1
- package/src/vendorinvoices_v1/model/AllowanceDetails.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/AllowanceDetails.js +0 -1
- package/src/vendorinvoices_v1/model/ChargeDetails.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/ChargeDetails.js +0 -1
- package/src/vendorinvoices_v1/model/Invoice.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/Invoice.js +0 -1
- package/src/vendorinvoices_v1/model/ItemQuantity.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/ItemQuantity.js +0 -1
- package/src/vendorinvoices_v1/model/PaymentTerms.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/PaymentTerms.js +0 -1
- package/src/vendorinvoices_v1/model/TaxDetails.d.ts.map +1 -1
- package/src/vendorinvoices_v1/model/TaxDetails.js +0 -1
- package/src/vendorinvoices_v1/model/TaxRegistrationDetails.js +0 -1
- package/src/vendorinvoices_v1/model/TotalWeight.js +0 -1
- package/src/vendororders_v1/model/ImportDetails.d.ts.map +1 -1
- package/src/vendororders_v1/model/ImportDetails.js +0 -2
- package/src/vendororders_v1/model/ItemQuantity.d.ts.map +1 -1
- package/src/vendororders_v1/model/ItemQuantity.js +0 -1
- package/src/vendororders_v1/model/Money.d.ts.map +1 -1
- package/src/vendororders_v1/model/Money.js +0 -1
- package/src/vendororders_v1/model/Order.d.ts.map +1 -1
- package/src/vendororders_v1/model/Order.js +0 -1
- package/src/vendororders_v1/model/OrderDetails.d.ts.map +1 -1
- package/src/vendororders_v1/model/OrderDetails.js +0 -2
- package/src/vendororders_v1/model/OrderItemAcknowledgement.d.ts.map +1 -1
- package/src/vendororders_v1/model/OrderItemAcknowledgement.js +0 -2
- package/src/vendororders_v1/model/OrderItemStatusAcknowledgementStatus.d.ts.map +1 -1
- package/src/vendororders_v1/model/OrderItemStatusAcknowledgementStatus.js +0 -1
- package/src/vendororders_v1/model/OrderItemStatusReceivingStatus.d.ts.map +1 -1
- package/src/vendororders_v1/model/OrderItemStatusReceivingStatus.js +0 -1
- package/src/vendororders_v1/model/OrderStatus.d.ts.map +1 -1
- package/src/vendororders_v1/model/OrderStatus.js +0 -1
- package/src/vendororders_v1/model/TaxRegistrationDetails.js +0 -1
- package/src/vendorshipments_v1/model/ContainerIdentification.js +0 -1
- package/src/vendorshipments_v1/model/Containers.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/Containers.js +0 -1
- package/src/vendorshipments_v1/model/Dimensions.js +0 -1
- package/src/vendorshipments_v1/model/Duration.js +0 -1
- package/src/vendorshipments_v1/model/ImportDetails.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ImportDetails.js +0 -2
- package/src/vendorshipments_v1/model/ItemDetails.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ItemDetails.js +0 -1
- package/src/vendorshipments_v1/model/ItemQuantity.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ItemQuantity.js +0 -1
- package/src/vendorshipments_v1/model/LabelData.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/LabelData.js +0 -1
- package/src/vendorshipments_v1/model/PackedQuantity.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/PackedQuantity.js +0 -1
- package/src/vendorshipments_v1/model/Shipment.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/Shipment.js +0 -3
- package/src/vendorshipments_v1/model/ShipmentConfirmation.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ShipmentConfirmation.js +0 -3
- package/src/vendorshipments_v1/model/ShipmentInformation.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ShipmentInformation.js +0 -1
- package/src/vendorshipments_v1/model/ShipmentStatusDetails.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/ShipmentStatusDetails.js +0 -1
- package/src/vendorshipments_v1/model/Stop.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/Stop.js +0 -1
- package/src/vendorshipments_v1/model/TaxRegistrationDetails.js +0 -1
- package/src/vendorshipments_v1/model/TotalWeight.js +0 -1
- package/src/vendorshipments_v1/model/TransportationDetails.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/TransportationDetails.js +0 -2
- package/src/vendorshipments_v1/model/TransportationDetailsForShipmentConfirmation.d.ts.map +1 -1
- package/src/vendorshipments_v1/model/TransportationDetailsForShipmentConfirmation.js +0 -1
- package/src/vendorshipments_v1/model/Volume.js +0 -1
- package/src/vendorshipments_v1/model/Weight.js +0 -1
- package/src/vendortransactionstatus_v1/model/Transaction.d.ts.map +1 -1
- package/src/vendortransactionstatus_v1/model/Transaction.js +0 -1
- package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierInput.d.ts +0 -34
- package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierInput.d.ts.map +0 -1
- package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierInput.js +0 -83
- package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierType.d.ts +0 -24
- package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierType.d.ts.map +0 -1
- package/src/fulfillmentinbound_v2024_03_20/model/BoxIdentifierType.js +0 -42
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersRequest.d.ts +0 -26
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersRequest.d.ts.map +0 -1
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersRequest.js +0 -66
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersResponse.d.ts +0 -25
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersResponse.d.ts.map +0 -1
- package/src/fulfillmentinbound_v2024_03_20/model/UpdateBoxIdentifiersResponse.js +0 -65
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ReturnRetrieval service.
|
|
3
|
+
* @module externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi
|
|
4
|
+
* @version 2024-09-11
|
|
5
|
+
*/
|
|
6
|
+
export class ReturnRetrievalApi {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a new ReturnRetrievalApi.
|
|
9
|
+
* @alias module:externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi
|
|
10
|
+
* @class
|
|
11
|
+
* @param {ApiClient} [apiClient] Optional API client implementation to use,
|
|
12
|
+
* default to {@link ApiClient#instance} if unspecified.
|
|
13
|
+
*/
|
|
14
|
+
constructor(apiClient?: ApiClient);
|
|
15
|
+
apiClient: any;
|
|
16
|
+
/**
|
|
17
|
+
* Initialize rate limiters for API operations
|
|
18
|
+
*/
|
|
19
|
+
initializeDefaultRateLimiterMap(): void;
|
|
20
|
+
/**
|
|
21
|
+
* Get rate limiter for a specific operation
|
|
22
|
+
* @param {String} operation name
|
|
23
|
+
*/
|
|
24
|
+
getRateLimiter(operation: string): any;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve the return item with the specified ID.
|
|
27
|
+
* @param {String} returnId The ID of the return item you want.
|
|
28
|
+
* @return {Promise<Return>}
|
|
29
|
+
*/
|
|
30
|
+
getReturnWithHttpInfo(returnId: string): Promise<Return>;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve the return item with the specified ID.
|
|
33
|
+
* @param {String} returnId The ID of the return item you want.
|
|
34
|
+
* @return {Promise<Return>}
|
|
35
|
+
*/
|
|
36
|
+
getReturn(returnId: string): Promise<Return>;
|
|
37
|
+
/**
|
|
38
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
39
|
+
* @param {Object} [opts] Optional parameters
|
|
40
|
+
* @param {String} [opts.returnLocationId] The SmartConnect location ID of the location from which you want to retrieve return items.
|
|
41
|
+
* @param {String} [opts.rmaId] The RMA ID of the return items you want to list.
|
|
42
|
+
* @param {String} [opts.status] The status of return items you want to list. You can retrieve all new return items with the `CREATED` status.
|
|
43
|
+
* @param {String} [opts.reverseTrackingId] The reverse tracking ID of the return items you want to list.
|
|
44
|
+
* @param {String} [opts.createdSince] Return items created after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
45
|
+
* @param {String} [opts.createdUntil] Return items created before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
46
|
+
* @param {String} [opts.lastUpdatedSince] Return items updated after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
47
|
+
* @param {String} [opts.lastUpdatedUntil] Return items whose most recent update is before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
48
|
+
* @param {String} [opts.lastUpdatedAfter] DEPRECATED. Use the `createdSince` parameter.
|
|
49
|
+
* @param {String} [opts.lastUpdatedBefore] DEPRECATED. Use the `createdUntil` parameter.
|
|
50
|
+
* @param {Number} [opts.maxResults] The number of return items you want to include in the response. **Default:** 10 **Maximum:** 100
|
|
51
|
+
* @param {String} [opts.nextToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
52
|
+
* @return {Promise<ReturnsResponse>}
|
|
53
|
+
*/
|
|
54
|
+
listReturnsWithHttpInfo(opts?: {
|
|
55
|
+
returnLocationId?: string;
|
|
56
|
+
rmaId?: string;
|
|
57
|
+
status?: string;
|
|
58
|
+
reverseTrackingId?: string;
|
|
59
|
+
createdSince?: string;
|
|
60
|
+
createdUntil?: string;
|
|
61
|
+
lastUpdatedSince?: string;
|
|
62
|
+
lastUpdatedUntil?: string;
|
|
63
|
+
lastUpdatedAfter?: string;
|
|
64
|
+
lastUpdatedBefore?: string;
|
|
65
|
+
maxResults?: number;
|
|
66
|
+
nextToken?: string;
|
|
67
|
+
}): Promise<ReturnsResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
70
|
+
* @param {Object} [opts] Optional parameters
|
|
71
|
+
* @param {String} [opts.returnLocationId] The SmartConnect location ID of the location from which you want to retrieve return items.
|
|
72
|
+
* @param {String} [opts.rmaId] The RMA ID of the return items you want to list.
|
|
73
|
+
* @param {String} [opts.status] The status of return items you want to list. You can retrieve all new return items with the `CREATED` status.
|
|
74
|
+
* @param {String} [opts.reverseTrackingId] The reverse tracking ID of the return items you want to list.
|
|
75
|
+
* @param {String} [opts.createdSince] Return items created after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
76
|
+
* @param {String} [opts.createdUntil] Return items created before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
77
|
+
* @param {String} [opts.lastUpdatedSince] Return items updated after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
78
|
+
* @param {String} [opts.lastUpdatedUntil] Return items whose most recent update is before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
79
|
+
* @param {String} [opts.lastUpdatedAfter] DEPRECATED. Use the `createdSince` parameter.
|
|
80
|
+
* @param {String} [opts.lastUpdatedBefore] DEPRECATED. Use the `createdUntil` parameter.
|
|
81
|
+
* @param {Number} [opts.maxResults] The number of return items you want to include in the response. **Default:** 10 **Maximum:** 100
|
|
82
|
+
* @param {String} [opts.nextToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
83
|
+
* @return {Promise<ReturnsResponse>}
|
|
84
|
+
*/
|
|
85
|
+
listReturns(opts?: {
|
|
86
|
+
returnLocationId?: string;
|
|
87
|
+
rmaId?: string;
|
|
88
|
+
status?: string;
|
|
89
|
+
reverseTrackingId?: string;
|
|
90
|
+
createdSince?: string;
|
|
91
|
+
createdUntil?: string;
|
|
92
|
+
lastUpdatedSince?: string;
|
|
93
|
+
lastUpdatedUntil?: string;
|
|
94
|
+
lastUpdatedAfter?: string;
|
|
95
|
+
lastUpdatedBefore?: string;
|
|
96
|
+
maxResults?: number;
|
|
97
|
+
nextToken?: string;
|
|
98
|
+
}): Promise<ReturnsResponse>;
|
|
99
|
+
#private;
|
|
100
|
+
}
|
|
101
|
+
import { Return } from '../model/Return.js';
|
|
102
|
+
import { ReturnsResponse } from '../model/ReturnsResponse.js';
|
|
103
|
+
import { ApiClient } from '../ApiClient.js';
|
|
104
|
+
//# sourceMappingURL=ReturnRetrievalApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReturnRetrievalApi.d.ts","sourceRoot":"","sources":["ReturnRetrievalApi.js"],"names":[],"mappings":"AAoBA;;;;EAIE;AACF;IAIE;;;;;;QAMI;IACJ,wBAHY,SAAS,EAMpB;IAFC,eAAgD;IAIlD;;SAEK;IACL,wCAYC;IAED;;;SAGK;IACL,uCAEC;IAED;;;;SAIK;IACL,yCAFc,OAAO,CAAC,MAAM,CAAC,CA6B5B;IAED;;;;SAIK;IACL,6BAFc,OAAO,CAAC,MAAM,CAAC,CAO5B;IAED;;;;;;;;;;;;;;;;SAgBK;IACL,+BAdK;QAAsB,gBAAgB;QAChB,KAAK;QACL,MAAM;QACN,iBAAiB;QACjB,YAAY;QACZ,YAAY;QACZ,gBAAgB;QAChB,gBAAgB;QAChB,gBAAgB;QAChB,iBAAiB;QACjB,UAAU;QACV,SAAS;KAC/B,GAAS,OAAO,CAAC,eAAe,CAAC,CAoCrC;IAED;;;;;;;;;;;;;;;;SAgBK;IACL,mBAdK;QAAsB,gBAAgB;QAChB,KAAK;QACL,MAAM;QACN,iBAAiB;QACjB,YAAY;QACZ,YAAY;QACZ,gBAAgB;QAChB,gBAAgB;QAChB,gBAAgB;QAChB,iBAAiB;QACjB,UAAU;QACV,SAAS;KAC/B,GAAS,OAAO,CAAC,eAAe,CAAC,CAOrC;;CACF;uBA7KsB,oBAAoB;gCACX,6BAA6B;0BAHnC,iBAAiB"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon's External Fulfillment returns management system.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { ErrorList } from '../model/ErrorList.js'
|
|
16
|
+
import { Return } from '../model/Return.js'
|
|
17
|
+
import { ReturnsResponse } from '../model/ReturnsResponse.js'
|
|
18
|
+
import { SuperagentRateLimiter } from '../../../helper/SuperagentRateLimiter.mjs'
|
|
19
|
+
import { DefaultRateLimitFetcher } from '../../../helper/DefaultRateLimitFetcher.mjs'
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* ReturnRetrieval service.
|
|
23
|
+
* @module externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi
|
|
24
|
+
* @version 2024-09-11
|
|
25
|
+
*/
|
|
26
|
+
export class ReturnRetrievalApi {
|
|
27
|
+
// Private member stores the default rate limiters
|
|
28
|
+
#defaultRateLimiterMap
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Constructs a new ReturnRetrievalApi.
|
|
32
|
+
* @alias module:externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi
|
|
33
|
+
* @class
|
|
34
|
+
* @param {ApiClient} [apiClient] Optional API client implementation to use,
|
|
35
|
+
* default to {@link ApiClient#instance} if unspecified.
|
|
36
|
+
*/
|
|
37
|
+
constructor (apiClient) {
|
|
38
|
+
this.apiClient = apiClient || ApiClient.instance
|
|
39
|
+
this.initializeDefaultRateLimiterMap()
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initialize rate limiters for API operations
|
|
44
|
+
*/
|
|
45
|
+
initializeDefaultRateLimiterMap () {
|
|
46
|
+
this.#defaultRateLimiterMap = new Map()
|
|
47
|
+
const defaultRateLimitFetcher = new DefaultRateLimitFetcher()
|
|
48
|
+
const operations = [
|
|
49
|
+
'ReturnRetrievalApi-getReturn',
|
|
50
|
+
'ReturnRetrievalApi-listReturns'
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
for (const operation of operations) {
|
|
54
|
+
const config = defaultRateLimitFetcher.getLimit(operation)
|
|
55
|
+
this.#defaultRateLimiterMap.set(operation, new SuperagentRateLimiter(config))
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Get rate limiter for a specific operation
|
|
61
|
+
* @param {String} operation name
|
|
62
|
+
*/
|
|
63
|
+
getRateLimiter (operation) {
|
|
64
|
+
return this.#defaultRateLimiterMap.get(operation)
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Retrieve the return item with the specified ID.
|
|
69
|
+
* @param {String} returnId The ID of the return item you want.
|
|
70
|
+
* @return {Promise<Return>}
|
|
71
|
+
*/
|
|
72
|
+
getReturnWithHttpInfo (returnId) {
|
|
73
|
+
const postBody = null
|
|
74
|
+
|
|
75
|
+
// verify the required parameter 'returnId' is set
|
|
76
|
+
if (returnId === undefined || returnId === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'returnId' when calling getReturn")
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const pathParams = {
|
|
81
|
+
returnId
|
|
82
|
+
}
|
|
83
|
+
const queryParams = {
|
|
84
|
+
}
|
|
85
|
+
const headerParams = {
|
|
86
|
+
}
|
|
87
|
+
const formParams = {
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const contentTypes = []
|
|
91
|
+
const accepts = ['application/json']
|
|
92
|
+
const returnType = Return
|
|
93
|
+
|
|
94
|
+
return this.apiClient.callApi('ReturnRetrievalApi-getReturn',
|
|
95
|
+
'/externalFulfillment/2024-09-11/returns/{returnId}', 'GET',
|
|
96
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
97
|
+
contentTypes, accepts, returnType, this.getRateLimiter('ReturnRetrievalApi-getReturn')
|
|
98
|
+
)
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Retrieve the return item with the specified ID.
|
|
103
|
+
* @param {String} returnId The ID of the return item you want.
|
|
104
|
+
* @return {Promise<Return>}
|
|
105
|
+
*/
|
|
106
|
+
getReturn (returnId) {
|
|
107
|
+
return this.getReturnWithHttpInfo(returnId)
|
|
108
|
+
.then(function (response_and_data) {
|
|
109
|
+
return response_and_data.data
|
|
110
|
+
})
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
115
|
+
* @param {Object} [opts] Optional parameters
|
|
116
|
+
* @param {String} [opts.returnLocationId] The SmartConnect location ID of the location from which you want to retrieve return items.
|
|
117
|
+
* @param {String} [opts.rmaId] The RMA ID of the return items you want to list.
|
|
118
|
+
* @param {String} [opts.status] The status of return items you want to list. You can retrieve all new return items with the `CREATED` status.
|
|
119
|
+
* @param {String} [opts.reverseTrackingId] The reverse tracking ID of the return items you want to list.
|
|
120
|
+
* @param {String} [opts.createdSince] Return items created after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
121
|
+
* @param {String} [opts.createdUntil] Return items created before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
122
|
+
* @param {String} [opts.lastUpdatedSince] Return items updated after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
123
|
+
* @param {String} [opts.lastUpdatedUntil] Return items whose most recent update is before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
124
|
+
* @param {String} [opts.lastUpdatedAfter] DEPRECATED. Use the `createdSince` parameter.
|
|
125
|
+
* @param {String} [opts.lastUpdatedBefore] DEPRECATED. Use the `createdUntil` parameter.
|
|
126
|
+
* @param {Number} [opts.maxResults] The number of return items you want to include in the response. **Default:** 10 **Maximum:** 100
|
|
127
|
+
* @param {String} [opts.nextToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
128
|
+
* @return {Promise<ReturnsResponse>}
|
|
129
|
+
*/
|
|
130
|
+
listReturnsWithHttpInfo (opts) {
|
|
131
|
+
opts = opts || {}
|
|
132
|
+
const postBody = null
|
|
133
|
+
|
|
134
|
+
const pathParams = {
|
|
135
|
+
}
|
|
136
|
+
const queryParams = {
|
|
137
|
+
returnLocationId: opts.returnLocationId,
|
|
138
|
+
rmaId: opts.rmaId,
|
|
139
|
+
status: opts.status,
|
|
140
|
+
reverseTrackingId: opts.reverseTrackingId,
|
|
141
|
+
createdSince: opts.createdSince,
|
|
142
|
+
createdUntil: opts.createdUntil,
|
|
143
|
+
lastUpdatedSince: opts.lastUpdatedSince,
|
|
144
|
+
lastUpdatedUntil: opts.lastUpdatedUntil,
|
|
145
|
+
lastUpdatedAfter: opts.lastUpdatedAfter,
|
|
146
|
+
lastUpdatedBefore: opts.lastUpdatedBefore,
|
|
147
|
+
maxResults: opts.maxResults,
|
|
148
|
+
nextToken: opts.nextToken
|
|
149
|
+
}
|
|
150
|
+
const headerParams = {
|
|
151
|
+
}
|
|
152
|
+
const formParams = {
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const contentTypes = []
|
|
156
|
+
const accepts = ['application/json']
|
|
157
|
+
const returnType = ReturnsResponse
|
|
158
|
+
|
|
159
|
+
return this.apiClient.callApi('ReturnRetrievalApi-listReturns',
|
|
160
|
+
'/externalFulfillment/2024-09-11/returns', 'GET',
|
|
161
|
+
pathParams, queryParams, headerParams, formParams, postBody,
|
|
162
|
+
contentTypes, accepts, returnType, this.getRateLimiter('ReturnRetrievalApi-listReturns')
|
|
163
|
+
)
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Retrieve a list of return items. You can filter results by location, RMA ID, status, or time.
|
|
168
|
+
* @param {Object} [opts] Optional parameters
|
|
169
|
+
* @param {String} [opts.returnLocationId] The SmartConnect location ID of the location from which you want to retrieve return items.
|
|
170
|
+
* @param {String} [opts.rmaId] The RMA ID of the return items you want to list.
|
|
171
|
+
* @param {String} [opts.status] The status of return items you want to list. You can retrieve all new return items with the `CREATED` status.
|
|
172
|
+
* @param {String} [opts.reverseTrackingId] The reverse tracking ID of the return items you want to list.
|
|
173
|
+
* @param {String} [opts.createdSince] Return items created after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
174
|
+
* @param {String} [opts.createdUntil] Return items created before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
175
|
+
* @param {String} [opts.lastUpdatedSince] Return items updated after the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
176
|
+
* @param {String} [opts.lastUpdatedUntil] Return items whose most recent update is before the specified date are included in the response. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. If you supply this parameter, you must also supply `returnLocationId` and `status`.
|
|
177
|
+
* @param {String} [opts.lastUpdatedAfter] DEPRECATED. Use the `createdSince` parameter.
|
|
178
|
+
* @param {String} [opts.lastUpdatedBefore] DEPRECATED. Use the `createdUntil` parameter.
|
|
179
|
+
* @param {Number} [opts.maxResults] The number of return items you want to include in the response. **Default:** 10 **Maximum:** 100
|
|
180
|
+
* @param {String} [opts.nextToken] A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
181
|
+
* @return {Promise<ReturnsResponse>}
|
|
182
|
+
*/
|
|
183
|
+
listReturns (opts) {
|
|
184
|
+
return this.listReturnsWithHttpInfo(opts)
|
|
185
|
+
.then(function (response_and_data) {
|
|
186
|
+
return response_and_data.data
|
|
187
|
+
})
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApiClient } from './ApiClient.js';
|
|
2
|
+
import { Error } from './model/Error.js';
|
|
3
|
+
import { ErrorList } from './model/ErrorList.js';
|
|
4
|
+
import { InvoiceInformation } from './model/InvoiceInformation.js';
|
|
5
|
+
import { MarketplaceChannel } from './model/MarketplaceChannel.js';
|
|
6
|
+
import { MarketplaceChannelDetails } from './model/MarketplaceChannelDetails.js';
|
|
7
|
+
import { OtpDetails } from './model/OtpDetails.js';
|
|
8
|
+
import { ReplanningDetails } from './model/ReplanningDetails.js';
|
|
9
|
+
import { Return } from './model/Return.js';
|
|
10
|
+
import { ReturnMetadata } from './model/ReturnMetadata.js';
|
|
11
|
+
import { ReturnShippingInfo } from './model/ReturnShippingInfo.js';
|
|
12
|
+
import { ReturnsResponse } from './model/ReturnsResponse.js';
|
|
13
|
+
import { TrackingInfo } from './model/TrackingInfo.js';
|
|
14
|
+
import { ReturnRetrievalApi } from './api/ReturnRetrievalApi.js';
|
|
15
|
+
export { ApiClient, Error, ErrorList, InvoiceInformation, MarketplaceChannel, MarketplaceChannelDetails, OtpDetails, ReplanningDetails, Return, ReturnMetadata, ReturnShippingInfo, ReturnsResponse, TrackingInfo, ReturnRetrievalApi };
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"0BAa0B,gBAAgB;sBACpB,kBAAkB;0BACd,sBAAsB;mCACb,+BAA+B;mCAC/B,+BAA+B;0CACxB,sCAAsC;2BACrD,uBAAuB;kCAChB,8BAA8B;uBACzC,mBAAmB;+BACX,2BAA2B;mCACvB,+BAA+B;gCAClC,4BAA4B;6BAC/B,yBAAyB;mCACnB,6BAA6B"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon's External Fulfillment returns management system.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from './ApiClient.js'
|
|
15
|
+
import { Error } from './model/Error.js'
|
|
16
|
+
import { ErrorList } from './model/ErrorList.js'
|
|
17
|
+
import { InvoiceInformation } from './model/InvoiceInformation.js'
|
|
18
|
+
import { MarketplaceChannel } from './model/MarketplaceChannel.js'
|
|
19
|
+
import { MarketplaceChannelDetails } from './model/MarketplaceChannelDetails.js'
|
|
20
|
+
import { OtpDetails } from './model/OtpDetails.js'
|
|
21
|
+
import { ReplanningDetails } from './model/ReplanningDetails.js'
|
|
22
|
+
import { Return } from './model/Return.js'
|
|
23
|
+
import { ReturnMetadata } from './model/ReturnMetadata.js'
|
|
24
|
+
import { ReturnShippingInfo } from './model/ReturnShippingInfo.js'
|
|
25
|
+
import { ReturnsResponse } from './model/ReturnsResponse.js'
|
|
26
|
+
import { TrackingInfo } from './model/TrackingInfo.js'
|
|
27
|
+
import { ReturnRetrievalApi } from './api/ReturnRetrievalApi.js'
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon's External Fulfillment returns management system..<br>
|
|
31
|
+
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
|
|
32
|
+
* @module externalfulfillmentreturns_v2024_09_11/index
|
|
33
|
+
* @version 2024-09-11
|
|
34
|
+
*/
|
|
35
|
+
export {
|
|
36
|
+
/**
|
|
37
|
+
* The ApiClient constructor.
|
|
38
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/ApiClient}
|
|
39
|
+
*/
|
|
40
|
+
ApiClient,
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The Error model constructor.
|
|
44
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/Error}
|
|
45
|
+
*/
|
|
46
|
+
Error,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The ErrorList model constructor.
|
|
50
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/ErrorList}
|
|
51
|
+
*/
|
|
52
|
+
ErrorList,
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The InvoiceInformation model constructor.
|
|
56
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/InvoiceInformation}
|
|
57
|
+
*/
|
|
58
|
+
InvoiceInformation,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The MarketplaceChannel model constructor.
|
|
62
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannel}
|
|
63
|
+
*/
|
|
64
|
+
MarketplaceChannel,
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The MarketplaceChannelDetails model constructor.
|
|
68
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/MarketplaceChannelDetails}
|
|
69
|
+
*/
|
|
70
|
+
MarketplaceChannelDetails,
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The OtpDetails model constructor.
|
|
74
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/OtpDetails}
|
|
75
|
+
*/
|
|
76
|
+
OtpDetails,
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The ReplanningDetails model constructor.
|
|
80
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/ReplanningDetails}
|
|
81
|
+
*/
|
|
82
|
+
ReplanningDetails,
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The Return model constructor.
|
|
86
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/Return}
|
|
87
|
+
*/
|
|
88
|
+
Return,
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The ReturnMetadata model constructor.
|
|
92
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/ReturnMetadata}
|
|
93
|
+
*/
|
|
94
|
+
ReturnMetadata,
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The ReturnShippingInfo model constructor.
|
|
98
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/ReturnShippingInfo}
|
|
99
|
+
*/
|
|
100
|
+
ReturnShippingInfo,
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The ReturnsResponse model constructor.
|
|
104
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/ReturnsResponse}
|
|
105
|
+
*/
|
|
106
|
+
ReturnsResponse,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The TrackingInfo model constructor.
|
|
110
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/model/TrackingInfo}
|
|
111
|
+
*/
|
|
112
|
+
TrackingInfo,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The ReturnRetrievalApi service constructor.
|
|
116
|
+
* @property {module:externalfulfillmentreturns_v2024_09_11/api/ReturnRetrievalApi}
|
|
117
|
+
*/
|
|
118
|
+
ReturnRetrievalApi
|
|
119
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Error model module.
|
|
3
|
+
* @module externalfulfillmentreturns_v2024_09_11/model/Error
|
|
4
|
+
* @version 2024-09-11
|
|
5
|
+
*/
|
|
6
|
+
export class Error {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>Error</code> from a plain JavaScript object, optionally creating a new instance.
|
|
9
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
10
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
11
|
+
* @param {Error} obj Optional instance to populate.
|
|
12
|
+
* @return {Error} The populated <code>Error</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: Error): Error;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>Error</code>.
|
|
17
|
+
* Error response returned when the request is unsuccessful.
|
|
18
|
+
* @alias module:externalfulfillmentreturns_v2024_09_11/model/Error
|
|
19
|
+
* @class
|
|
20
|
+
* @param code {String} An error code that identifies the type of error that occurred.
|
|
21
|
+
* @param message {String} A message that describes the error condition.
|
|
22
|
+
*/
|
|
23
|
+
constructor(code: string, message: string);
|
|
24
|
+
code: string;
|
|
25
|
+
message: string;
|
|
26
|
+
/**
|
|
27
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
28
|
+
* @member {String} details
|
|
29
|
+
* @type {String}
|
|
30
|
+
*/
|
|
31
|
+
details: string;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=Error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["Error.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IAcE;;;;;;OAMG;IACH,2CAHW,KAAK,GACJ,KAAK,CAqBhB;IAvCD;;;;;;;OAOG;IACH,2CAGC;IAFC,aAAgB;IAChB,gBAAsB;IA8C1B;;;;OAIG;IACH,gBAAuB;CArBtB"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon's External Fulfillment returns management system.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The Error model module.
|
|
18
|
+
* @module externalfulfillmentreturns_v2024_09_11/model/Error
|
|
19
|
+
* @version 2024-09-11
|
|
20
|
+
*/
|
|
21
|
+
export class Error {
|
|
22
|
+
/**
|
|
23
|
+
* Constructs a new <code>Error</code>.
|
|
24
|
+
* Error response returned when the request is unsuccessful.
|
|
25
|
+
* @alias module:externalfulfillmentreturns_v2024_09_11/model/Error
|
|
26
|
+
* @class
|
|
27
|
+
* @param code {String} An error code that identifies the type of error that occurred.
|
|
28
|
+
* @param message {String} A message that describes the error condition.
|
|
29
|
+
*/
|
|
30
|
+
constructor (code, message) {
|
|
31
|
+
this.code = code
|
|
32
|
+
this.message = message
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a <code>Error</code> from a plain JavaScript object, optionally creating a new instance.
|
|
37
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
38
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
39
|
+
* @param {Error} obj Optional instance to populate.
|
|
40
|
+
* @return {Error} The populated <code>Error</code> instance.
|
|
41
|
+
*/
|
|
42
|
+
static constructFromObject (data, obj) {
|
|
43
|
+
if (data) {
|
|
44
|
+
switch (typeof data) {
|
|
45
|
+
case 'string':
|
|
46
|
+
obj = String(data)
|
|
47
|
+
break
|
|
48
|
+
case 'number':
|
|
49
|
+
obj = Number(data)
|
|
50
|
+
break
|
|
51
|
+
case 'boolean':
|
|
52
|
+
obj = Boolean(data)
|
|
53
|
+
break
|
|
54
|
+
}
|
|
55
|
+
obj = obj || new Error()
|
|
56
|
+
if (data.hasOwnProperty('code')) { obj.code = ApiClient.convertToType(data.code, 'String') }
|
|
57
|
+
if (data.hasOwnProperty('message')) { obj.message = ApiClient.convertToType(data.message, 'String') }
|
|
58
|
+
if (data.hasOwnProperty('details')) { obj.details = ApiClient.convertToType(data.details, 'String') }
|
|
59
|
+
}
|
|
60
|
+
return obj
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* An error code that identifies the type of error that occurred.
|
|
66
|
+
* @member {String} code
|
|
67
|
+
* @type {String}
|
|
68
|
+
*/
|
|
69
|
+
Error.prototype.code = undefined
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* A message that describes the error condition.
|
|
73
|
+
* @member {String} message
|
|
74
|
+
* @type {String}
|
|
75
|
+
*/
|
|
76
|
+
Error.prototype.message = undefined
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
80
|
+
* @member {String} details
|
|
81
|
+
* @type {String}
|
|
82
|
+
*/
|
|
83
|
+
Error.prototype.details = undefined
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ErrorList model module.
|
|
3
|
+
* @module externalfulfillmentreturns_v2024_09_11/model/ErrorList
|
|
4
|
+
* @version 2024-09-11
|
|
5
|
+
*/
|
|
6
|
+
export class ErrorList {
|
|
7
|
+
/**
|
|
8
|
+
* Constructs a <code>ErrorList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
9
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
10
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
11
|
+
* @param {ErrorList} obj Optional instance to populate.
|
|
12
|
+
* @return {ErrorList} The populated <code>ErrorList</code> instance.
|
|
13
|
+
*/
|
|
14
|
+
static constructFromObject(data: any, obj: ErrorList): ErrorList;
|
|
15
|
+
/**
|
|
16
|
+
* Constructs a new <code>ErrorList</code>.
|
|
17
|
+
* An object containing a list of error responses returned when a request is unsuccessful.
|
|
18
|
+
* @alias module:externalfulfillmentreturns_v2024_09_11/model/ErrorList
|
|
19
|
+
* @class
|
|
20
|
+
* @param errors {[Error]} A list of error responses returned when a request is unsuccessful.
|
|
21
|
+
*/
|
|
22
|
+
constructor(errors: [Error]);
|
|
23
|
+
errors: [Error];
|
|
24
|
+
}
|
|
25
|
+
import { Error } from './Error.js';
|
|
26
|
+
//# sourceMappingURL=ErrorList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorList.d.ts","sourceRoot":"","sources":["ErrorList.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;IAYE;;;;;;OAMG;IACH,2CAHW,SAAS,GACR,SAAS,CAmBpB;IAnCD;;;;;;OAMG;IACH,oBAFkB,CAAC,KAAK,CAAC,EAIxB;IADC,gBAAoB;CA4BvB;sBA5CqB,YAAY"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
+
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon's External Fulfillment returns management system.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
import { ApiClient } from '../ApiClient.js'
|
|
15
|
+
import { Error } from './Error.js'
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The ErrorList model module.
|
|
19
|
+
* @module externalfulfillmentreturns_v2024_09_11/model/ErrorList
|
|
20
|
+
* @version 2024-09-11
|
|
21
|
+
*/
|
|
22
|
+
export class ErrorList {
|
|
23
|
+
/**
|
|
24
|
+
* Constructs a new <code>ErrorList</code>.
|
|
25
|
+
* An object containing a list of error responses returned when a request is unsuccessful.
|
|
26
|
+
* @alias module:externalfulfillmentreturns_v2024_09_11/model/ErrorList
|
|
27
|
+
* @class
|
|
28
|
+
* @param errors {[Error]} A list of error responses returned when a request is unsuccessful.
|
|
29
|
+
*/
|
|
30
|
+
constructor (errors) {
|
|
31
|
+
this.errors = errors
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a <code>ErrorList</code> from a plain JavaScript object, optionally creating a new instance.
|
|
36
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
37
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
38
|
+
* @param {ErrorList} obj Optional instance to populate.
|
|
39
|
+
* @return {ErrorList} The populated <code>ErrorList</code> instance.
|
|
40
|
+
*/
|
|
41
|
+
static constructFromObject (data, obj) {
|
|
42
|
+
if (data) {
|
|
43
|
+
switch (typeof data) {
|
|
44
|
+
case 'string':
|
|
45
|
+
obj = String(data)
|
|
46
|
+
break
|
|
47
|
+
case 'number':
|
|
48
|
+
obj = Number(data)
|
|
49
|
+
break
|
|
50
|
+
case 'boolean':
|
|
51
|
+
obj = Boolean(data)
|
|
52
|
+
break
|
|
53
|
+
}
|
|
54
|
+
obj = obj || new ErrorList()
|
|
55
|
+
if (data.hasOwnProperty('errors')) { obj.errors = ApiClient.convertToType(data.errors, [Error]) }
|
|
56
|
+
}
|
|
57
|
+
return obj
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
63
|
+
* @member {[Error]} errors
|
|
64
|
+
* @type {[Error]}
|
|
65
|
+
*/
|
|
66
|
+
ErrorList.prototype.errors = undefined
|