@scaleleap/amazon-mws-api-sdk
Advanced tools
Comparing version 1.9.36 to 1.9.37
@@ -7,3 +7,3 @@ "use strict"; | ||
*/ | ||
exports.USER_AGENT = '@scaleleap/amazon-mws-api-sdk/1.9.36'; | ||
exports.USER_AGENT = '@scaleleap/amazon-mws-api-sdk/1.9.37'; | ||
//# sourceMappingURL=constants.js.map |
@@ -46,3 +46,3 @@ "use strict"; | ||
// Loop through each key | ||
// eslint-disable-next-line unicorn/no-reduce | ||
// eslint-disable-next-line unicorn/no-array-reduce | ||
.reduce((_, [key, parameter]) => { | ||
@@ -62,3 +62,3 @@ const trueKey = outerKey ? `${outerKey}.${key}` : key; | ||
*/ | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
// eslint-disable-next-line @typescript-eslint/ban-types, unicorn/no-array-for-each | ||
parameter.forEach((parameterChild, index) => { | ||
@@ -65,0 +65,0 @@ if (typeof parameterChild === 'string' || |
@@ -6,3 +6,3 @@ import { DimensionsUnitEnum } from '../merchant-fulfillment/codec'; | ||
ASIN: string | undefined; | ||
Condition: "NewItem" | "NewWithWarranty" | "NewOEM" | "NewOpenBox" | "UsedLikeNew" | "UsedVeryGood" | "UsedGood" | "UsedAcceptable" | "UsedPoor" | "UsedRefurbished" | "CollectibleLikeNew" | "CollectibleVeryGood" | "CollectibleGood" | "CollectibleAcceptable" | "CollectiblePoor" | "RefurbishedWithWarranty" | "Refurbished" | "Club" | undefined; | ||
Condition: ConditionFIS | undefined; | ||
Quantity: number; | ||
@@ -16,7 +16,7 @@ QuantityInCase: number | undefined; | ||
ShipToCountrySubdivisionCode: string | undefined; | ||
LabelPrepPreference: "SELLER_LABEL" | "AMAZON_LABEL_ONLY" | "AMAZON_LABEL_PREFERRED" | undefined; | ||
LabelPrepPreference: LabelPrepPreference | undefined; | ||
'InboundShipmentPlanRequestItems.member': { | ||
SellerSKU: string; | ||
ASIN: string | undefined; | ||
Condition: "NewItem" | "NewWithWarranty" | "NewOEM" | "NewOpenBox" | "UsedLikeNew" | "UsedVeryGood" | "UsedGood" | "UsedAcceptable" | "UsedPoor" | "UsedRefurbished" | "CollectibleLikeNew" | "CollectibleVeryGood" | "CollectibleGood" | "CollectibleAcceptable" | "CollectiblePoor" | "RefurbishedWithWarranty" | "Refurbished" | "Club" | undefined; | ||
Condition: ConditionFIS | undefined; | ||
Quantity: number; | ||
@@ -23,0 +23,0 @@ QuantityInCase: number | undefined; |
@@ -90,3 +90,3 @@ "use strict"; | ||
const canonicalizePutTransportContentParameters = (parameters) => { | ||
const { TransportDetails } = parameters; | ||
const { TransportDetails, ShipmentId, IsPartnered, ShipmentType } = parameters; | ||
const { PartneredSmallParcelData, NonPartneredSmallParcelData, PartneredLtlData, NonPartneredLtlData, } = TransportDetails; | ||
@@ -125,5 +125,5 @@ const transportDetails = { | ||
return { | ||
ShipmentId: parameters.ShipmentId, | ||
IsPartnered: parameters.IsPartnered, | ||
ShipmentType: parameters.ShipmentType, | ||
ShipmentId, | ||
IsPartnered, | ||
ShipmentType, | ||
TransportDetails: transportDetails, | ||
@@ -130,0 +130,0 @@ }; |
@@ -25,4 +25,4 @@ "use strict"; | ||
const canonicalizeShipmentRequestDetails = (shipmentRequestDetails) => { | ||
const { AmazonOrderId, SellerOrderId, ShipFromAddress, PackageDimensions, Weight, MustArriveByDate, ShipDate, ShippingServiceOptions, LabelCustomization, } = shipmentRequestDetails; | ||
const itemsList = shipmentRequestDetails === null || shipmentRequestDetails === void 0 ? void 0 : shipmentRequestDetails.ItemList.map((item) => { | ||
const { AmazonOrderId, SellerOrderId, ShipFromAddress, PackageDimensions, Weight, MustArriveByDate, ShipDate, ShippingServiceOptions, LabelCustomization, ItemList, } = shipmentRequestDetails; | ||
const itemsList = ItemList.map((item) => { | ||
const fixedInputsList = exports.canonicalizeAdditionalSellerInputs(item.ItemLevelSellerInputsList); | ||
@@ -29,0 +29,0 @@ return { |
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "1.9.36", | ||
"version": "1.9.37", | ||
"main": "lib/index.js", | ||
@@ -52,3 +52,3 @@ "files": [ | ||
"axios": "0.21.1", | ||
"fast-xml-parser": "3.18.0", | ||
"fast-xml-parser": "3.19.0", | ||
"html-entities": "2.1.0", | ||
@@ -61,9 +61,9 @@ "purify-ts": "0.16.1", | ||
"@scaleleap/config": "2.0.5", | ||
"@scaleleap/jest-polly": "1.5.19", | ||
"@scaleleap/utils": "1.8.56", | ||
"@types/is-ci": "2.0.0", | ||
"@scaleleap/jest-polly": "1.5.24", | ||
"@scaleleap/utils": "1.9.16", | ||
"@types/is-ci": "3.0.0", | ||
"@types/jest": "26.0.20", | ||
"@types/node": "13.13.4", | ||
"ajv": "7.1.1", | ||
"danger": "10.6.2", | ||
"@types/node": "13.13.45", | ||
"ajv": "7.2.1", | ||
"danger": "10.6.3", | ||
"global-agent": "2.1.12", | ||
@@ -73,6 +73,6 @@ "is-ci": "3.0.0", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "26.5.0", | ||
"ts-jest": "26.5.2", | ||
"ts-node": "9.1.1", | ||
"tsconfigs": "4.0.2", | ||
"typescript": "4.1.5" | ||
"typescript": "4.2.3" | ||
}, | ||
@@ -79,0 +79,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1113366
19296
+ Addedfast-xml-parser@3.19.0(transitive)
- Removedfast-xml-parser@3.18.0(transitive)
Updatedfast-xml-parser@3.19.0