@scaleleap/amazon-marketplaces
Advanced tools
Comparing version 17.0.2 to 17.1.0
@@ -6,2 +6,9 @@ # Changelog | ||
# [17.1.0](https://github.com/ScaleLeap/amazon-marketplaces/compare/v17.0.2...v17.1.0) (2022-12-01) | ||
### Features | ||
* adds advertising to Saudi Arabia ([3a0a84f](https://github.com/ScaleLeap/amazon-marketplaces/commit/3a0a84f2cb33da5932039420ff7ac221709e8b0e)) | ||
## [17.0.2](https://github.com/ScaleLeap/amazon-marketplaces/compare/v17.0.1...v17.0.2) (2022-12-01) | ||
@@ -8,0 +15,0 @@ |
@@ -72,2 +72,3 @@ import { AmazonMarketplaceAdvertisingRegion } from './amazon-marketplace-advertising-region'; | ||
PL = "PL", | ||
SA = "SA", | ||
SE = "SE", | ||
@@ -88,2 +89,3 @@ SG = "SG", | ||
ASIA_INDIA = "Asia/Kolkata", | ||
ASIA_RIYADH = "Asia/Riyadh", | ||
ASIA_SINGAPORE = "Asia/Singapore", | ||
@@ -90,0 +92,0 @@ ASIA_TOKYO = "Asia/Tokyo", |
@@ -76,2 +76,3 @@ "use strict"; | ||
AmazonMarketplaceAdvertisingCountryCode["PL"] = "PL"; | ||
AmazonMarketplaceAdvertisingCountryCode["SA"] = "SA"; | ||
AmazonMarketplaceAdvertisingCountryCode["SE"] = "SE"; | ||
@@ -93,2 +94,3 @@ AmazonMarketplaceAdvertisingCountryCode["SG"] = "SG"; | ||
AmazonMarketplaceAdvertisingTimeZone["ASIA_INDIA"] = "Asia/Kolkata"; | ||
AmazonMarketplaceAdvertisingTimeZone["ASIA_RIYADH"] = "Asia/Riyadh"; | ||
AmazonMarketplaceAdvertisingTimeZone["ASIA_SINGAPORE"] = "Asia/Singapore"; | ||
@@ -95,0 +97,0 @@ AmazonMarketplaceAdvertisingTimeZone["ASIA_TOKYO"] = "Asia/Tokyo"; |
@@ -5,2 +5,3 @@ "use strict"; | ||
const amazon_marketplace_1 = require("../amazon-marketplace"); | ||
const marketplace_advertising_regions_1 = require("../marketplace-advertising-regions"); | ||
const selling_partner_api_regions_1 = require("../selling-partner-api-regions"); | ||
@@ -16,2 +17,18 @@ exports.SA = new amazon_marketplace_1.AmazonMarketplace({ | ||
webServiceUri: 'https://mws-eu.amazonservices.com', | ||
advertising: { | ||
// UNDEFINED by Amazon | ||
bids: { | ||
sponsoredBrands: { | ||
min: 1, | ||
max: 1, | ||
}, | ||
sponsoredProducts: { | ||
min: 1, | ||
max: 1, | ||
}, | ||
}, | ||
countryCode: amazon_marketplace_1.AmazonMarketplaceAdvertisingCountryCode.SA, | ||
timeZone: amazon_marketplace_1.AmazonMarketplaceAdvertisingTimeZone.ASIA_RIYADH, | ||
region: marketplace_advertising_regions_1.marketplaceAdvertisingRegions.FE, | ||
}, | ||
sellingPartner: { | ||
@@ -18,0 +35,0 @@ region: selling_partner_api_regions_1.sellingPartnerRegions.EU, |
@@ -18,3 +18,3 @@ { | ||
}, | ||
"version": "17.0.2", | ||
"version": "17.1.0", | ||
"main": "lib/index.js", | ||
@@ -21,0 +21,0 @@ "scripts": { |
@@ -75,2 +75,3 @@ import { AmazonMarketplaceAdvertisingRegion } from './amazon-marketplace-advertising-region' | ||
PL = 'PL', | ||
SA = 'SA', | ||
SE = 'SE', | ||
@@ -92,2 +93,3 @@ SG = 'SG', | ||
ASIA_INDIA = 'Asia/Kolkata', | ||
ASIA_RIYADH = 'Asia/Riyadh', | ||
ASIA_SINGAPORE = 'Asia/Singapore', | ||
@@ -94,0 +96,0 @@ ASIA_TOKYO = 'Asia/Tokyo', |
import { | ||
AmazonMarketplace, | ||
AmazonMarketplaceAdvertisingCountryCode, | ||
AmazonMarketplaceAdvertisingCurrency, | ||
AmazonMarketplaceAdvertisingTimeZone, | ||
AmazonMarketplaceCountryCode, | ||
AmazonMarketplaceTimeZone, | ||
} from '../amazon-marketplace' | ||
import { marketplaceAdvertisingRegions } from '../marketplace-advertising-regions' | ||
import { sellingPartnerRegions } from '../selling-partner-api-regions' | ||
@@ -18,2 +21,18 @@ | ||
webServiceUri: 'https://mws-eu.amazonservices.com', | ||
advertising: { | ||
// UNDEFINED by Amazon | ||
bids: { | ||
sponsoredBrands: { | ||
min: 1, | ||
max: 1, | ||
}, | ||
sponsoredProducts: { | ||
min: 1, | ||
max: 1, | ||
}, | ||
}, | ||
countryCode: AmazonMarketplaceAdvertisingCountryCode.SA, | ||
timeZone: AmazonMarketplaceAdvertisingTimeZone.ASIA_RIYADH, | ||
region: marketplaceAdvertisingRegions.FE, | ||
}, | ||
sellingPartner: { | ||
@@ -20,0 +39,0 @@ region: sellingPartnerRegions.EU, |
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
209128
3253
2