diff --git a/lib/index.d.ts b/lib/index.d.ts index fc7ed0a..30fd341 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -276,9 +276,14 @@ export type ListMatchingProductsReturn = Array; export type GetMatchingProductReturn = Array<{ results: Array, asin?: string, - upc?: string, // any other identifier types that might come up? + gcid?: string, + sellersku?: string, + upc?: string, + ean?: string, + isbn?: string, + jan?: string, id: string, - idType: IdTypes, + idType: AdvIdTypes, Error?: Error, }>; @@ -499,6 +504,15 @@ export type IdTypes = | 'ISBN' | 'JAN'; +export type AdvIdTypes = + | 'asin' + | 'gcid' + | 'sellersku' + | 'upc' + | 'ean' + | 'isbn' + | 'jan'; + export default class MwsAdvanced { static constants: { MWS_MARKETPLACES: MWS_MARKETPLACES,