@bizon/amazon-ids
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -1,2 +0,2 @@ | ||
import a from"mem";var e={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},n=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],o=a(function(a){return n.find(function(e){return e.id===a})}),m=a(function(a){return a=a.toLowerCase(),n.find(function(e){return e.code===a})}),i=a(function(a){return(a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),n.find(function(e){return e.domain===a})}),r=a(function(a){return n.filter(function(e){return e.mwsDomain===a})}),s=a(function(a){var n=e[a];return n?r(n):[]});export{m as getMarketplaceByCode,i as getMarketplaceByDomain,o as getMarketplaceById,r as getMarketplacesByMwsDomain,s as getMarketplacesByMwsRegion,n as marketplaces}; | ||
import a from"mem";var e={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},n=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK",sellerCentralDomain:"sellercentral.amazon.com.sa"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],o=a(function(a){return n.find(function(e){return e.id===a})}),m=a(function(a){return a=a.toLowerCase(),n.find(function(e){return e.code===a})}),i=a(function(a){return(a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),n.find(function(e){return e.domain===a})}),r=a(function(a){return n.filter(function(e){return e.mwsDomain===a})}),s=a(function(a){var n=e[a];return n?r(n):[]});export{m as getMarketplaceByCode,i as getMarketplaceByDomain,o as getMarketplaceById,r as getMarketplacesByMwsDomain,s as getMarketplacesByMwsRegion,n as marketplaces}; | ||
//# sourceMappingURL=amazon-ids.esm.js.map |
@@ -1,2 +0,2 @@ | ||
function a(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var e=/*#__PURE__*/a(require("mem")),n={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},o=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],m=e.default(function(a){return o.find(function(e){return e.id===a})}),i=e.default(function(a){return a=a.toLowerCase(),o.find(function(e){return e.code===a})}),r=e.default(function(a){return(a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),o.find(function(e){return e.domain===a})}),s=e.default(function(a){return o.filter(function(e){return e.mwsDomain===a})}),d=e.default(function(a){var e=n[a];return e?s(e):[]});exports.getMarketplaceByCode=i,exports.getMarketplaceByDomain=r,exports.getMarketplaceById=m,exports.getMarketplacesByMwsDomain=s,exports.getMarketplacesByMwsRegion=d,exports.marketplaces=o; | ||
function a(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var e=/*#__PURE__*/a(require("mem")),n={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},o=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK",sellerCentralDomain:"sellercentral.amazon.com.sa"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],m=e.default(function(a){return o.find(function(e){return e.id===a})}),i=e.default(function(a){return a=a.toLowerCase(),o.find(function(e){return e.code===a})}),r=e.default(function(a){return(a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),o.find(function(e){return e.domain===a})}),s=e.default(function(a){return o.filter(function(e){return e.mwsDomain===a})}),c=e.default(function(a){var e=n[a];return e?s(e):[]});exports.getMarketplaceByCode=i,exports.getMarketplaceByDomain=r,exports.getMarketplaceById=m,exports.getMarketplacesByMwsDomain=s,exports.getMarketplacesByMwsRegion=c,exports.marketplaces=o; | ||
//# sourceMappingURL=amazon-ids.js.map |
@@ -1,2 +0,2 @@ | ||
import a from"mem";const e={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},n=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],o=a(a=>n.find(e=>e.id===a)),m=a(a=>(a=a.toLowerCase(),n.find(e=>e.code===a))),i=a(a=>((a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),n.find(e=>e.domain===a))),s=a(a=>n.filter(e=>e.mwsDomain===a)),r=a(a=>{const n=e[a];return n?s(n):[]});export{m as getMarketplaceByCode,i as getMarketplaceByDomain,o as getMarketplaceById,s as getMarketplacesByMwsDomain,r as getMarketplacesByMwsRegion,n as marketplaces}; | ||
import a from"mem";const e={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},n=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK",sellerCentralDomain:"sellercentral.amazon.com.sa"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],o=a(a=>n.find(e=>e.id===a)),m=a(a=>(a=a.toLowerCase(),n.find(e=>e.code===a))),i=a(a=>((a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),n.find(e=>e.domain===a))),s=a(a=>n.filter(e=>e.mwsDomain===a)),r=a(a=>{const n=e[a];return n?s(n):[]});export{m as getMarketplaceByCode,i as getMarketplaceByDomain,o as getMarketplaceById,s as getMarketplacesByMwsDomain,r as getMarketplacesByMwsRegion,n as marketplaces}; | ||
//# sourceMappingURL=amazon-ids.modern.js.map |
@@ -1,2 +0,2 @@ | ||
!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("mem")):"function"==typeof define&&define.amd?define(["exports","mem"],e):e((a||self).amazonIds={},a.mem)}(this,function(a,e){function n(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var o=/*#__PURE__*/n(e),m={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},i=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],r=o.default(function(a){return i.find(function(e){return e.id===a})}),s=o.default(function(a){return a=a.toLowerCase(),i.find(function(e){return e.code===a})}),d=o.default(function(a){return(a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),i.find(function(e){return e.domain===a})}),c=o.default(function(a){return i.filter(function(e){return e.mwsDomain===a})}),l=o.default(function(a){var e=m[a];return e?c(e):[]});a.getMarketplaceByCode=s,a.getMarketplaceByDomain=d,a.getMarketplaceById=r,a.getMarketplacesByMwsDomain=c,a.getMarketplacesByMwsRegion=l,a.marketplaces=i}); | ||
!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("mem")):"function"==typeof define&&define.amd?define(["exports","mem"],e):e((a||self).amazonIds={},a.mem)}(this,function(a,e){function n(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var o=/*#__PURE__*/n(e),m={na:"mws.amazonservices.com",eu:"mws-eu.amazonservices.com",fe:"mws-fe.amazonservices.com",ca:"mws.amazonservices.ca",mx:"mws.amazonservices.com.mx",ae:"mws.amazonservices.ae",in:"mws.amazonservices.in",jp:"mws.amazonservices.jp",au:"mws.amazonservices.com.au"},i=[{code:"de",id:"A1PA6795UKMFR9",name:"Germany",region:"eu",domain:"amazon.de",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3JWKAKR8XB7XF",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.de"},{code:"de-non-amazon",id:"A38D8NSA03LJTC",name:"Germany - Non-Amazon",region:"eu"},{code:"es",id:"A1RKKUPIHCS9HS",name:"Spain",region:"eu",domain:"amazon.es",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1AT7YVPFBWXBL",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.es"},{code:"es-non-amazon",id:"AFQLKURYRPEL8",name:"Spain - Non-Amazon",region:"eu"},{code:"fr",id:"A13V1IB3VIYZZH",name:"France",region:"eu",domain:"amazon.fr",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1X6FK5RDHNB96",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.fr"},{code:"fr-non-amazon",id:"A1ZFFQZ3HTUKT9",name:"France - Non-Amazon",region:"eu"},{code:"it",id:"APJ6JRA9NG5V4",name:"Italy",region:"eu",domain:"amazon.it",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A11IL2PNWYJU7H",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.it"},{code:"it-non-amazon",id:"A62U237T8HV6N",name:"Italy - Non-Amazon",region:"eu"},{code:"uk",id:"A1F83G8C2ARO7P",name:"United Kingdom",region:"eu",domain:"amazon.co.uk",mwsDomain:"mws-eu.amazonservices.com",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A3P5ROKL5A1OLE",sellerCentralDomain:"sellercentral-europe.amazon.com",vendorCentralDomain:"vendorcentral.amazon.co.uk"},{code:"uk-non-amazon",id:"AZMDEXL2RVFNN",name:"United Kingdom - Non-Amazon",region:"eu"},{code:"tr",id:"A33AVAJ2PDY3EV",name:"Turkey",region:"eu",domain:"amazon.com.tr",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1UNQM1SR2CHM",sellerCentralDomain:"sellercentral.amazon.com.tr",vendorCentralDomain:"vendorcentral.amazon.com.tr"},{code:"eg",id:"ARBP9OOSHTCHU",name:"Egypt",region:"eu",domain:"amazon.eg",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A1ZVRGNO5AYLOV",sellerCentralDomain:"sellercentral.amazon.eg",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"sa",id:"A17E79C6D8DWNP",name:"Saudi Arabia",region:"eu",domain:"amazon.sa",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2XPWB6MYN7ZDK",sellerCentralDomain:"sellercentral.amazon.com.sa"},{code:"nl",id:"A1805IZSGTT6HS",name:"Netherlands",region:"eu",domain:"amazon.nl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A17D2BRD4YMT0X",sellerCentralDomain:"sellercentral.amazon.nl",vendorCentralDomain:"vendorcentral.amazon.nl"},{code:"se",id:"A2NODRKZP88ZB9",name:"Sweden",region:"eu",domain:"amazon.se",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"ANU9KP01APNAG",sellerCentralDomain:"sellercentral.amazon.se",vendorCentralDomain:"vendorcentral.amazon.se"},{code:"pl",id:"A1C3SOZRARQ6R3",name:"Poland",region:"eu",domain:"amazon.pl",mwsDomain:"mws-eu.amazonservices.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2R2221NX79QZP",sellerCentralDomain:"sellercentral.amazon.pl",vendorCentralDomain:"vendorcentral.amazon.pl"},{code:"ca",id:"A2EUQ1WTGCTBG2",name:"Canada",region:"na",domain:"amazon.ca",mwsDomain:"mws.amazonservices.ca",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A3DWYIK6Y9EEQB",sellerCentralDomain:"sellercentral.amazon.ca",vendorCentralDomain:"vendorcentral.amazon.ca"},{code:"ca-non-amazon",id:"A1MQXOICRS2Z7M",name:"Canada - Non-Amazon",region:"na"},{code:"mx",id:"A1AM78C64UM0Y8",name:"Mexico",region:"na",domain:"amazon.com.mx",mwsDomain:"mws.amazonservices.com.mx",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"AVDBXBAVVSXLQ",sellerCentralDomain:"sellercentral.amazon.com.mx",vendorCentralDomain:"vendorcentral.amazon.com.mx"},{code:"mx-non-amazon",id:"A3H6HPSLHAK3XG",name:"Mexico - Non-Amazon",region:"na"},{code:"us",id:"ATVPDKIKX0DER",name:"United States",region:"na",domain:"amazon.com",mwsDomain:"mws.amazonservices.com",advertisingApiDomain:"advertising-api.amazon.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"ATVPDKIKX0DER",sellerCentralDomain:"sellercentral.amazon.com",vendorCentralDomain:"vendorcentral.amazon.com"},{code:"us-non-amazon",id:"A2ZV50J4W1RKNI",name:"United States - Non-Amazon",region:"na"},{code:"us-invoicing-shadow",id:"AHRY1CZE9ZY4H",name:"United States - Invoicing Shadow Marketplace",region:"na"},{code:"br",id:"A2Q3Y263D00KWC",name:"Brazil",region:"na",domain:"amazon.com.br",mwsDomain:"mws.amazonservices.com",imagesDomain:"images-na.ssl-images-amazon.com",vendorId:"A1ZZFT5FULY4LN",sellerCentralDomain:"sellercentral.amazon.com.br",vendorCentralDomain:"vendorcentral.amazon.com.br"},{code:"ae",id:"A2VIGQ35RCS4UG",name:"United Arab Emirates",region:"eu",domain:"amazon.ae",mwsDomain:"mws.amazonservices.ae",advertisingApiDomain:"advertising-api-eu.amazon.com",imagesDomain:"images-eu.ssl-images-amazon.com",vendorId:"A2KKU8J8O8784X",sellerCentralDomain:"sellercentral.amazon.ae",vendorCentralDomain:"vendorcentral.amazon.me"},{code:"in",id:"A21TJRUUN4KGV",name:"India",region:"eu",domain:"amazon.in",mwsDomain:"mws.amazonservices.in",imagesDomain:"images-eu.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.in",vendorCentralDomain:"vendorcentral.amazon.in"},{code:"au",id:"A39IBJ37TRP1C6",name:"Australia",region:"fe",domain:"amazon.com.au",mwsDomain:"mws.amazonservices.com.au",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"ANEGB3WVEVKZB",sellerCentralDomain:"sellercentral.amazon.com.au",vendorCentralDomain:"vendorcentral.amazon.com.au"},{code:"jp",id:"A1VC38T7YXB528",name:"Japan",region:"fe",domain:"amazon.co.jp",mwsDomain:"mws.amazonservices.jp",advertisingApiDomain:"advertising-api-fe.amazon.com",imagesDomain:"images-fe.ssl-images-amazon.com",vendorId:"AN1VRQENFRJN5",sellerCentralDomain:"sellercentral.amazon.co.jp",vendorCentralDomain:"vendorcentral.amazon.co.jp"},{code:"sg",id:"A19VAU5U5O7RUS",name:"Singapore",region:"fe",domain:"amazon.sg",mwsDomain:"mws-fe.amazonservices.com",imagesDomain:"images-fe.ssl-images-amazon.com",sellerCentralDomain:"sellercentral.amazon.sg",vendorCentralDomain:"vendorcentral.amazon.com.sg"}],r=o.default(function(a){return i.find(function(e){return e.id===a})}),s=o.default(function(a){return a=a.toLowerCase(),i.find(function(e){return e.code===a})}),d=o.default(function(a){return(a=a.toLowerCase()).startsWith("www.")&&(a=a.slice(4)),i.find(function(e){return e.domain===a})}),l=o.default(function(a){return i.filter(function(e){return e.mwsDomain===a})}),c=o.default(function(a){var e=m[a];return e?l(e):[]});a.getMarketplaceByCode=s,a.getMarketplaceByDomain=d,a.getMarketplaceById=r,a.getMarketplacesByMwsDomain=l,a.getMarketplacesByMwsRegion=c,a.marketplaces=i}); | ||
//# sourceMappingURL=amazon-ids.umd.js.map |
{ | ||
"name": "@bizon/amazon-ids", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "Collection of Amazon identifiers", | ||
@@ -33,9 +33,9 @@ "repository": "https://github.com/bizon/amazon-ids", | ||
"@tsconfig/node14": "^1.0.1", | ||
"@types/jest": "^27.4.0", | ||
"@types/jest": "^27.4.1", | ||
"jest": "^27.5.1", | ||
"jest-junit": "^13.0.0", | ||
"jest-junit": "^13.1.0", | ||
"microbundle": "^0.14.2", | ||
"semantic-release": "^19.0.2", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.5.5", | ||
"ts-jest": "^27.1.4", | ||
"typescript": "^4.6.3", | ||
"xo": "^0.48.0" | ||
@@ -42,0 +42,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52002
188