@sp-api-sdk/catalog-items-api-2022-04-01 1.1.0 → 1.1.1

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.
Files changed (40) hide show
  1. package/dist/cjs/src/api-model/api/catalog-api.js +2 -2
  2. package/dist/cjs/src/api-model/models/item-image.js +12 -17
  3. package/dist/cjs/src/api-model/models/item-relationship.js +4 -9
  4. package/dist/cjs/src/api-model/models/item-summary-by-marketplace.js +6 -11
  5. package/dist/cjs/src/api-model/models/item-vendor-details-by-marketplace.js +12 -17
  6. package/dist/es/src/api-model/api/catalog-api.js +2 -2
  7. package/dist/es/src/api-model/models/item-image.js +12 -17
  8. package/dist/es/src/api-model/models/item-relationship.js +4 -9
  9. package/dist/es/src/api-model/models/item-summary-by-marketplace.js +6 -11
  10. package/dist/es/src/api-model/models/item-vendor-details-by-marketplace.js +12 -17
  11. package/dist/types/src/api-model/api/catalog-api.d.ts +7 -7
  12. package/dist/types/src/api-model/base.d.ts +2 -2
  13. package/dist/types/src/api-model/common.d.ts +2 -2
  14. package/dist/types/src/api-model/models/brand-refinement.d.ts +2 -2
  15. package/dist/types/src/api-model/models/classification-refinement.d.ts +3 -3
  16. package/dist/types/src/api-model/models/error-list.d.ts +1 -1
  17. package/dist/types/src/api-model/models/item-browse-classification.d.ts +2 -2
  18. package/dist/types/src/api-model/models/item-classification-sales-rank.d.ts +4 -4
  19. package/dist/types/src/api-model/models/item-dimension.d.ts +2 -2
  20. package/dist/types/src/api-model/models/item-dimensions-by-marketplace.d.ts +3 -3
  21. package/dist/types/src/api-model/models/item-dimensions.d.ts +4 -4
  22. package/dist/types/src/api-model/models/item-display-group-sales-rank.d.ts +4 -4
  23. package/dist/types/src/api-model/models/item-identifier.d.ts +2 -2
  24. package/dist/types/src/api-model/models/item-identifiers-by-marketplace.d.ts +2 -2
  25. package/dist/types/src/api-model/models/item-image.d.ts +17 -20
  26. package/dist/types/src/api-model/models/item-images-by-marketplace.d.ts +2 -2
  27. package/dist/types/src/api-model/models/item-product-type-by-marketplace.d.ts +2 -2
  28. package/dist/types/src/api-model/models/item-relationship.d.ts +9 -12
  29. package/dist/types/src/api-model/models/item-relationships-by-marketplace.d.ts +2 -2
  30. package/dist/types/src/api-model/models/item-sales-ranks-by-marketplace.d.ts +3 -3
  31. package/dist/types/src/api-model/models/item-search-results.d.ts +4 -4
  32. package/dist/types/src/api-model/models/item-summary-by-marketplace.d.ts +20 -23
  33. package/dist/types/src/api-model/models/item-variation-theme.d.ts +2 -2
  34. package/dist/types/src/api-model/models/item-vendor-details-by-marketplace.d.ts +21 -24
  35. package/dist/types/src/api-model/models/item-vendor-details-category.d.ts +2 -2
  36. package/dist/types/src/api-model/models/item.d.ts +10 -10
  37. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  38. package/dist/types/src/api-model/models/pagination.d.ts +2 -2
  39. package/dist/types/src/api-model/models/refinements.d.ts +2 -2
  40. package/package.json +2 -2
@@ -61,7 +61,7 @@ const CatalogApiAxiosParamCreator = function (configuration) {
61
61
  if (locale !== undefined) {
62
62
  localVarQueryParameter['locale'] = locale;
63
63
  }
64
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
64
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
65
65
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66
66
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
67
67
  return {
@@ -135,7 +135,7 @@ const CatalogApiAxiosParamCreator = function (configuration) {
135
135
  if (keywordsLocale !== undefined) {
136
136
  localVarQueryParameter['keywordsLocale'] = keywordsLocale;
137
137
  }
138
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
138
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
139
139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
140
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
141
141
  return {
@@ -14,20 +14,15 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemImageVariantEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var ItemImageVariantEnum;
22
- (function (ItemImageVariantEnum) {
23
- ItemImageVariantEnum["Main"] = "MAIN";
24
- ItemImageVariantEnum["Pt01"] = "PT01";
25
- ItemImageVariantEnum["Pt02"] = "PT02";
26
- ItemImageVariantEnum["Pt03"] = "PT03";
27
- ItemImageVariantEnum["Pt04"] = "PT04";
28
- ItemImageVariantEnum["Pt05"] = "PT05";
29
- ItemImageVariantEnum["Pt06"] = "PT06";
30
- ItemImageVariantEnum["Pt07"] = "PT07";
31
- ItemImageVariantEnum["Pt08"] = "PT08";
32
- ItemImageVariantEnum["Swch"] = "SWCH";
33
- })(ItemImageVariantEnum = exports.ItemImageVariantEnum || (exports.ItemImageVariantEnum = {}));
17
+ exports.ItemImageVariantEnum = {
18
+ Main: 'MAIN',
19
+ Pt01: 'PT01',
20
+ Pt02: 'PT02',
21
+ Pt03: 'PT03',
22
+ Pt04: 'PT04',
23
+ Pt05: 'PT05',
24
+ Pt06: 'PT06',
25
+ Pt07: 'PT07',
26
+ Pt08: 'PT08',
27
+ Swch: 'SWCH'
28
+ };
@@ -14,12 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemRelationshipTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var ItemRelationshipTypeEnum;
22
- (function (ItemRelationshipTypeEnum) {
23
- ItemRelationshipTypeEnum["Variation"] = "VARIATION";
24
- ItemRelationshipTypeEnum["PackageHierarchy"] = "PACKAGE_HIERARCHY";
25
- })(ItemRelationshipTypeEnum = exports.ItemRelationshipTypeEnum || (exports.ItemRelationshipTypeEnum = {}));
17
+ exports.ItemRelationshipTypeEnum = {
18
+ Variation: 'VARIATION',
19
+ PackageHierarchy: 'PACKAGE_HIERARCHY'
20
+ };
@@ -14,14 +14,9 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemSummaryByMarketplaceItemClassificationEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var ItemSummaryByMarketplaceItemClassificationEnum;
22
- (function (ItemSummaryByMarketplaceItemClassificationEnum) {
23
- ItemSummaryByMarketplaceItemClassificationEnum["BaseProduct"] = "BASE_PRODUCT";
24
- ItemSummaryByMarketplaceItemClassificationEnum["Other"] = "OTHER";
25
- ItemSummaryByMarketplaceItemClassificationEnum["ProductBundle"] = "PRODUCT_BUNDLE";
26
- ItemSummaryByMarketplaceItemClassificationEnum["VariationParent"] = "VARIATION_PARENT";
27
- })(ItemSummaryByMarketplaceItemClassificationEnum = exports.ItemSummaryByMarketplaceItemClassificationEnum || (exports.ItemSummaryByMarketplaceItemClassificationEnum = {}));
17
+ exports.ItemSummaryByMarketplaceItemClassificationEnum = {
18
+ BaseProduct: 'BASE_PRODUCT',
19
+ Other: 'OTHER',
20
+ ProductBundle: 'PRODUCT_BUNDLE',
21
+ VariationParent: 'VARIATION_PARENT'
22
+ };
@@ -14,20 +14,15 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum;
22
- (function (ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum) {
23
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["Allocated"] = "ALLOCATED";
24
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["BasicReplenishment"] = "BASIC_REPLENISHMENT";
25
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["InSeason"] = "IN_SEASON";
26
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["LimitedReplenishment"] = "LIMITED_REPLENISHMENT";
27
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["ManufacturerOutOfStock"] = "MANUFACTURER_OUT_OF_STOCK";
28
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["NewProduct"] = "NEW_PRODUCT";
29
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["NonReplenishable"] = "NON_REPLENISHABLE";
30
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["NonStockupable"] = "NON_STOCKUPABLE";
31
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["Obsolete"] = "OBSOLETE";
32
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["PlannedReplenishment"] = "PLANNED_REPLENISHMENT";
33
- })(ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = exports.ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum || (exports.ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = {}));
17
+ exports.ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = {
18
+ Allocated: 'ALLOCATED',
19
+ BasicReplenishment: 'BASIC_REPLENISHMENT',
20
+ InSeason: 'IN_SEASON',
21
+ LimitedReplenishment: 'LIMITED_REPLENISHMENT',
22
+ ManufacturerOutOfStock: 'MANUFACTURER_OUT_OF_STOCK',
23
+ NewProduct: 'NEW_PRODUCT',
24
+ NonReplenishable: 'NON_REPLENISHABLE',
25
+ NonStockupable: 'NON_STOCKUPABLE',
26
+ Obsolete: 'OBSOLETE',
27
+ PlannedReplenishment: 'PLANNED_REPLENISHMENT'
28
+ };
@@ -57,7 +57,7 @@ export const CatalogApiAxiosParamCreator = function (configuration) {
57
57
  if (locale !== undefined) {
58
58
  localVarQueryParameter['locale'] = locale;
59
59
  }
60
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
60
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61
61
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
62
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
63
63
  return {
@@ -131,7 +131,7 @@ export const CatalogApiAxiosParamCreator = function (configuration) {
131
131
  if (keywordsLocale !== undefined) {
132
132
  localVarQueryParameter['keywordsLocale'] = keywordsLocale;
133
133
  }
134
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
135
135
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
136
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
137
137
  return {
@@ -11,20 +11,15 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var ItemImageVariantEnum;
19
- (function (ItemImageVariantEnum) {
20
- ItemImageVariantEnum["Main"] = "MAIN";
21
- ItemImageVariantEnum["Pt01"] = "PT01";
22
- ItemImageVariantEnum["Pt02"] = "PT02";
23
- ItemImageVariantEnum["Pt03"] = "PT03";
24
- ItemImageVariantEnum["Pt04"] = "PT04";
25
- ItemImageVariantEnum["Pt05"] = "PT05";
26
- ItemImageVariantEnum["Pt06"] = "PT06";
27
- ItemImageVariantEnum["Pt07"] = "PT07";
28
- ItemImageVariantEnum["Pt08"] = "PT08";
29
- ItemImageVariantEnum["Swch"] = "SWCH";
30
- })(ItemImageVariantEnum || (ItemImageVariantEnum = {}));
14
+ export const ItemImageVariantEnum = {
15
+ Main: 'MAIN',
16
+ Pt01: 'PT01',
17
+ Pt02: 'PT02',
18
+ Pt03: 'PT03',
19
+ Pt04: 'PT04',
20
+ Pt05: 'PT05',
21
+ Pt06: 'PT06',
22
+ Pt07: 'PT07',
23
+ Pt08: 'PT08',
24
+ Swch: 'SWCH'
25
+ };
@@ -11,12 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var ItemRelationshipTypeEnum;
19
- (function (ItemRelationshipTypeEnum) {
20
- ItemRelationshipTypeEnum["Variation"] = "VARIATION";
21
- ItemRelationshipTypeEnum["PackageHierarchy"] = "PACKAGE_HIERARCHY";
22
- })(ItemRelationshipTypeEnum || (ItemRelationshipTypeEnum = {}));
14
+ export const ItemRelationshipTypeEnum = {
15
+ Variation: 'VARIATION',
16
+ PackageHierarchy: 'PACKAGE_HIERARCHY'
17
+ };
@@ -11,14 +11,9 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var ItemSummaryByMarketplaceItemClassificationEnum;
19
- (function (ItemSummaryByMarketplaceItemClassificationEnum) {
20
- ItemSummaryByMarketplaceItemClassificationEnum["BaseProduct"] = "BASE_PRODUCT";
21
- ItemSummaryByMarketplaceItemClassificationEnum["Other"] = "OTHER";
22
- ItemSummaryByMarketplaceItemClassificationEnum["ProductBundle"] = "PRODUCT_BUNDLE";
23
- ItemSummaryByMarketplaceItemClassificationEnum["VariationParent"] = "VARIATION_PARENT";
24
- })(ItemSummaryByMarketplaceItemClassificationEnum || (ItemSummaryByMarketplaceItemClassificationEnum = {}));
14
+ export const ItemSummaryByMarketplaceItemClassificationEnum = {
15
+ BaseProduct: 'BASE_PRODUCT',
16
+ Other: 'OTHER',
17
+ ProductBundle: 'PRODUCT_BUNDLE',
18
+ VariationParent: 'VARIATION_PARENT'
19
+ };
@@ -11,20 +11,15 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum;
19
- (function (ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum) {
20
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["Allocated"] = "ALLOCATED";
21
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["BasicReplenishment"] = "BASIC_REPLENISHMENT";
22
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["InSeason"] = "IN_SEASON";
23
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["LimitedReplenishment"] = "LIMITED_REPLENISHMENT";
24
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["ManufacturerOutOfStock"] = "MANUFACTURER_OUT_OF_STOCK";
25
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["NewProduct"] = "NEW_PRODUCT";
26
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["NonReplenishable"] = "NON_REPLENISHABLE";
27
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["NonStockupable"] = "NON_STOCKUPABLE";
28
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["Obsolete"] = "OBSOLETE";
29
- ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum["PlannedReplenishment"] = "PLANNED_REPLENISHMENT";
30
- })(ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum || (ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = {}));
14
+ export const ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = {
15
+ Allocated: 'ALLOCATED',
16
+ BasicReplenishment: 'BASIC_REPLENISHMENT',
17
+ InSeason: 'IN_SEASON',
18
+ LimitedReplenishment: 'LIMITED_REPLENISHMENT',
19
+ ManufacturerOutOfStock: 'MANUFACTURER_OUT_OF_STOCK',
20
+ NewProduct: 'NEW_PRODUCT',
21
+ NonReplenishable: 'NON_REPLENISHABLE',
22
+ NonStockupable: 'NON_STOCKUPABLE',
23
+ Obsolete: 'OBSOLETE',
24
+ PlannedReplenishment: 'PLANNED_REPLENISHMENT'
25
+ };
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AxiosPromise, AxiosInstance } from 'axios';
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { Item } from '../models';
@@ -28,7 +28,7 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
28
28
  * @param {*} [options] Override http request option.
29
29
  * @throws {RequiredError}
30
30
  */
31
- getCatalogItem: (asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: any) => Promise<RequestArgs>;
31
+ getCatalogItem: (asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
32
  /**
33
33
  * Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
34
34
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -46,7 +46,7 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
46
46
  * @param {*} [options] Override http request option.
47
47
  * @throws {RequiredError}
48
48
  */
49
- searchCatalogItems: (marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: any) => Promise<RequestArgs>;
49
+ searchCatalogItems: (marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
50
  };
51
51
  /**
52
52
  * CatalogApi - functional programming interface
@@ -62,7 +62,7 @@ export declare const CatalogApiFp: (configuration?: Configuration | undefined) =
62
62
  * @param {*} [options] Override http request option.
63
63
  * @throws {RequiredError}
64
64
  */
65
- getCatalogItem(asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Item>>;
65
+ getCatalogItem(asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Item>>;
66
66
  /**
67
67
  * Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
68
68
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -80,7 +80,7 @@ export declare const CatalogApiFp: (configuration?: Configuration | undefined) =
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
82
82
  */
83
- searchCatalogItems(marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ItemSearchResults>>;
83
+ searchCatalogItems(marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ItemSearchResults>>;
84
84
  };
85
85
  /**
86
86
  * CatalogApi - factory interface
@@ -240,7 +240,7 @@ export declare class CatalogApi extends BaseAPI {
240
240
  * @throws {RequiredError}
241
241
  * @memberof CatalogApi
242
242
  */
243
- getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: any): Promise<import("axios").AxiosResponse<Item, any>>;
243
+ getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Item, any>>;
244
244
  /**
245
245
  * Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
246
246
  * @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
@@ -248,5 +248,5 @@ export declare class CatalogApi extends BaseAPI {
248
248
  * @throws {RequiredError}
249
249
  * @memberof CatalogApi
250
250
  */
251
- searchCatalogItems(requestParameters: CatalogApiSearchCatalogItemsRequest, options?: any): Promise<import("axios").AxiosResponse<ItemSearchResults, any>>;
251
+ searchCatalogItems(requestParameters: CatalogApiSearchCatalogItemsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ItemSearchResults, any>>;
252
252
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
- import { AxiosInstance } from 'axios';
13
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: any;
32
+ options: AxiosRequestConfig;
33
33
  }
34
34
  /**
35
35
  *
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
13
  import { RequestArgs } from "./base";
14
- import { AxiosInstance } from 'axios';
14
+ import { AxiosInstance, AxiosResponse } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -20,11 +20,11 @@ export interface BrandRefinement {
20
20
  * @type {number}
21
21
  * @memberof BrandRefinement
22
22
  */
23
- numberOfResults: number;
23
+ 'numberOfResults': number;
24
24
  /**
25
25
  * Brand name. For display and can be used as a search refinement.
26
26
  * @type {string}
27
27
  * @memberof BrandRefinement
28
28
  */
29
- brandName: string;
29
+ 'brandName': string;
30
30
  }
@@ -20,17 +20,17 @@ export interface ClassificationRefinement {
20
20
  * @type {number}
21
21
  * @memberof ClassificationRefinement
22
22
  */
23
- numberOfResults: number;
23
+ 'numberOfResults': number;
24
24
  /**
25
25
  * Display name for the classification.
26
26
  * @type {string}
27
27
  * @memberof ClassificationRefinement
28
28
  */
29
- displayName: string;
29
+ 'displayName': string;
30
30
  /**
31
31
  * Identifier for the classification that can be used for search refinement purposes.
32
32
  * @type {string}
33
33
  * @memberof ClassificationRefinement
34
34
  */
35
- classificationId: string;
35
+ 'classificationId': string;
36
36
  }
@@ -20,5 +20,5 @@ export interface ErrorList {
20
20
  * @type {Array<Error>}
21
21
  * @memberof ErrorList
22
22
  */
23
- errors: Array<Error>;
23
+ 'errors': Array<Error>;
24
24
  }
@@ -20,11 +20,11 @@ export interface ItemBrowseClassification {
20
20
  * @type {string}
21
21
  * @memberof ItemBrowseClassification
22
22
  */
23
- displayName: string;
23
+ 'displayName': string;
24
24
  /**
25
25
  * Identifier of the classification (browse node identifier).
26
26
  * @type {string}
27
27
  * @memberof ItemBrowseClassification
28
28
  */
29
- classificationId: string;
29
+ 'classificationId': string;
30
30
  }
@@ -20,23 +20,23 @@ export interface ItemClassificationSalesRank {
20
20
  * @type {string}
21
21
  * @memberof ItemClassificationSalesRank
22
22
  */
23
- classificationId: string;
23
+ 'classificationId': string;
24
24
  /**
25
25
  * Title, or name, of the sales rank.
26
26
  * @type {string}
27
27
  * @memberof ItemClassificationSalesRank
28
28
  */
29
- title: string;
29
+ 'title': string;
30
30
  /**
31
31
  * Corresponding Amazon retail website link, or URL, for the sales rank.
32
32
  * @type {string}
33
33
  * @memberof ItemClassificationSalesRank
34
34
  */
35
- link?: string;
35
+ 'link'?: string;
36
36
  /**
37
37
  * Sales rank value.
38
38
  * @type {number}
39
39
  * @memberof ItemClassificationSalesRank
40
40
  */
41
- rank: number;
41
+ 'rank': number;
42
42
  }
@@ -20,11 +20,11 @@ export interface ItemDimension {
20
20
  * @type {string}
21
21
  * @memberof ItemDimension
22
22
  */
23
- unit?: string;
23
+ 'unit'?: string;
24
24
  /**
25
25
  * Numeric dimension value.
26
26
  * @type {number}
27
27
  * @memberof ItemDimension
28
28
  */
29
- value?: number;
29
+ 'value'?: number;
30
30
  }
@@ -21,17 +21,17 @@ export interface ItemDimensionsByMarketplace {
21
21
  * @type {string}
22
22
  * @memberof ItemDimensionsByMarketplace
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  *
27
27
  * @type {ItemDimensions}
28
28
  * @memberof ItemDimensionsByMarketplace
29
29
  */
30
- item?: ItemDimensions;
30
+ 'item'?: ItemDimensions;
31
31
  /**
32
32
  *
33
33
  * @type {ItemDimensions}
34
34
  * @memberof ItemDimensionsByMarketplace
35
35
  */
36
- _package?: ItemDimensions;
36
+ 'package'?: ItemDimensions;
37
37
  }
@@ -21,23 +21,23 @@ export interface ItemDimensions {
21
21
  * @type {ItemDimension}
22
22
  * @memberof ItemDimensions
23
23
  */
24
- height?: ItemDimension;
24
+ 'height'?: ItemDimension;
25
25
  /**
26
26
  *
27
27
  * @type {ItemDimension}
28
28
  * @memberof ItemDimensions
29
29
  */
30
- length?: ItemDimension;
30
+ 'length'?: ItemDimension;
31
31
  /**
32
32
  *
33
33
  * @type {ItemDimension}
34
34
  * @memberof ItemDimensions
35
35
  */
36
- weight?: ItemDimension;
36
+ 'weight'?: ItemDimension;
37
37
  /**
38
38
  *
39
39
  * @type {ItemDimension}
40
40
  * @memberof ItemDimensions
41
41
  */
42
- width?: ItemDimension;
42
+ 'width'?: ItemDimension;
43
43
  }
@@ -20,23 +20,23 @@ export interface ItemDisplayGroupSalesRank {
20
20
  * @type {string}
21
21
  * @memberof ItemDisplayGroupSalesRank
22
22
  */
23
- websiteDisplayGroup: string;
23
+ 'websiteDisplayGroup': string;
24
24
  /**
25
25
  * Title, or name, of the sales rank.
26
26
  * @type {string}
27
27
  * @memberof ItemDisplayGroupSalesRank
28
28
  */
29
- title: string;
29
+ 'title': string;
30
30
  /**
31
31
  * Corresponding Amazon retail website link, or URL, for the sales rank.
32
32
  * @type {string}
33
33
  * @memberof ItemDisplayGroupSalesRank
34
34
  */
35
- link?: string;
35
+ 'link'?: string;
36
36
  /**
37
37
  * Sales rank value.
38
38
  * @type {number}
39
39
  * @memberof ItemDisplayGroupSalesRank
40
40
  */
41
- rank: number;
41
+ 'rank': number;
42
42
  }
@@ -20,11 +20,11 @@ export interface ItemIdentifier {
20
20
  * @type {string}
21
21
  * @memberof ItemIdentifier
22
22
  */
23
- identifierType: string;
23
+ 'identifierType': string;
24
24
  /**
25
25
  * Identifier.
26
26
  * @type {string}
27
27
  * @memberof ItemIdentifier
28
28
  */
29
- identifier: string;
29
+ 'identifier': string;
30
30
  }
@@ -21,11 +21,11 @@ export interface ItemIdentifiersByMarketplace {
21
21
  * @type {string}
22
22
  * @memberof ItemIdentifiersByMarketplace
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  * Identifiers associated with the item in the Amazon catalog for the indicated Amazon marketplace.
27
27
  * @type {Array<ItemIdentifier>}
28
28
  * @memberof ItemIdentifiersByMarketplace
29
29
  */
30
- identifiers: Array<ItemIdentifier>;
30
+ 'identifiers': Array<ItemIdentifier>;
31
31
  }
@@ -20,39 +20,36 @@ export interface ItemImage {
20
20
  * @type {string}
21
21
  * @memberof ItemImage
22
22
  */
23
- variant: ItemImageVariantEnum;
23
+ 'variant': ItemImageVariantEnum;
24
24
  /**
25
25
  * Link, or URL, for the image.
26
26
  * @type {string}
27
27
  * @memberof ItemImage
28
28
  */
29
- link: string;
29
+ 'link': string;
30
30
  /**
31
31
  * Height of the image in pixels.
32
32
  * @type {number}
33
33
  * @memberof ItemImage
34
34
  */
35
- height: number;
35
+ 'height': number;
36
36
  /**
37
37
  * Width of the image in pixels.
38
38
  * @type {number}
39
39
  * @memberof ItemImage
40
40
  */
41
- width: number;
42
- }
43
- /**
44
- * @export
45
- * @enum {string}
46
- */
47
- export declare enum ItemImageVariantEnum {
48
- Main = "MAIN",
49
- Pt01 = "PT01",
50
- Pt02 = "PT02",
51
- Pt03 = "PT03",
52
- Pt04 = "PT04",
53
- Pt05 = "PT05",
54
- Pt06 = "PT06",
55
- Pt07 = "PT07",
56
- Pt08 = "PT08",
57
- Swch = "SWCH"
41
+ 'width': number;
58
42
  }
43
+ export declare const ItemImageVariantEnum: {
44
+ readonly Main: "MAIN";
45
+ readonly Pt01: "PT01";
46
+ readonly Pt02: "PT02";
47
+ readonly Pt03: "PT03";
48
+ readonly Pt04: "PT04";
49
+ readonly Pt05: "PT05";
50
+ readonly Pt06: "PT06";
51
+ readonly Pt07: "PT07";
52
+ readonly Pt08: "PT08";
53
+ readonly Swch: "SWCH";
54
+ };
55
+ export declare type ItemImageVariantEnum = typeof ItemImageVariantEnum[keyof typeof ItemImageVariantEnum];
@@ -21,11 +21,11 @@ export interface ItemImagesByMarketplace {
21
21
  * @type {string}
22
22
  * @memberof ItemImagesByMarketplace
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  * Images for an item in the Amazon catalog for the indicated Amazon marketplace.
27
27
  * @type {Array<ItemImage>}
28
28
  * @memberof ItemImagesByMarketplace
29
29
  */
30
- images: Array<ItemImage>;
30
+ 'images': Array<ItemImage>;
31
31
  }
@@ -20,11 +20,11 @@ export interface ItemProductTypeByMarketplace {
20
20
  * @type {string}
21
21
  * @memberof ItemProductTypeByMarketplace
22
22
  */
23
- marketplaceId?: string;
23
+ 'marketplaceId'?: string;
24
24
  /**
25
25
  * Name of the product type associated with the Amazon catalog item.
26
26
  * @type {string}
27
27
  * @memberof ItemProductTypeByMarketplace
28
28
  */
29
- productType?: string;
29
+ 'productType'?: string;
30
30
  }
@@ -21,31 +21,28 @@ export interface ItemRelationship {
21
21
  * @type {Array<string>}
22
22
  * @memberof ItemRelationship
23
23
  */
24
- childAsins?: Array<string>;
24
+ 'childAsins'?: Array<string>;
25
25
  /**
26
26
  * Identifiers (ASINs) of the related items that are parents of this item.
27
27
  * @type {Array<string>}
28
28
  * @memberof ItemRelationship
29
29
  */
30
- parentAsins?: Array<string>;
30
+ 'parentAsins'?: Array<string>;
31
31
  /**
32
32
  *
33
33
  * @type {ItemVariationTheme}
34
34
  * @memberof ItemRelationship
35
35
  */
36
- variationTheme?: ItemVariationTheme;
36
+ 'variationTheme'?: ItemVariationTheme;
37
37
  /**
38
38
  * Type of relationship.
39
39
  * @type {string}
40
40
  * @memberof ItemRelationship
41
41
  */
42
- type: ItemRelationshipTypeEnum;
43
- }
44
- /**
45
- * @export
46
- * @enum {string}
47
- */
48
- export declare enum ItemRelationshipTypeEnum {
49
- Variation = "VARIATION",
50
- PackageHierarchy = "PACKAGE_HIERARCHY"
42
+ 'type': ItemRelationshipTypeEnum;
51
43
  }
44
+ export declare const ItemRelationshipTypeEnum: {
45
+ readonly Variation: "VARIATION";
46
+ readonly PackageHierarchy: "PACKAGE_HIERARCHY";
47
+ };
48
+ export declare type ItemRelationshipTypeEnum = typeof ItemRelationshipTypeEnum[keyof typeof ItemRelationshipTypeEnum];
@@ -21,11 +21,11 @@ export interface ItemRelationshipsByMarketplace {
21
21
  * @type {string}
22
22
  * @memberof ItemRelationshipsByMarketplace
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  * Relationships for the item.
27
27
  * @type {Array<ItemRelationship>}
28
28
  * @memberof ItemRelationshipsByMarketplace
29
29
  */
30
- relationships: Array<ItemRelationship>;
30
+ 'relationships': Array<ItemRelationship>;
31
31
  }
@@ -22,17 +22,17 @@ export interface ItemSalesRanksByMarketplace {
22
22
  * @type {string}
23
23
  * @memberof ItemSalesRanksByMarketplace
24
24
  */
25
- marketplaceId: string;
25
+ 'marketplaceId': string;
26
26
  /**
27
27
  * Sales ranks of an Amazon catalog item for an Amazon marketplace by classification.
28
28
  * @type {Array<ItemClassificationSalesRank>}
29
29
  * @memberof ItemSalesRanksByMarketplace
30
30
  */
31
- classificationRanks?: Array<ItemClassificationSalesRank>;
31
+ 'classificationRanks'?: Array<ItemClassificationSalesRank>;
32
32
  /**
33
33
  * Sales ranks of an Amazon catalog item for an Amazon marketplace by website display group.
34
34
  * @type {Array<ItemDisplayGroupSalesRank>}
35
35
  * @memberof ItemSalesRanksByMarketplace
36
36
  */
37
- displayGroupRanks?: Array<ItemDisplayGroupSalesRank>;
37
+ 'displayGroupRanks'?: Array<ItemDisplayGroupSalesRank>;
38
38
  }
@@ -23,23 +23,23 @@ export interface ItemSearchResults {
23
23
  * @type {number}
24
24
  * @memberof ItemSearchResults
25
25
  */
26
- numberOfResults: number;
26
+ 'numberOfResults': number;
27
27
  /**
28
28
  *
29
29
  * @type {Pagination}
30
30
  * @memberof ItemSearchResults
31
31
  */
32
- pagination: Pagination;
32
+ 'pagination': Pagination;
33
33
  /**
34
34
  *
35
35
  * @type {Refinements}
36
36
  * @memberof ItemSearchResults
37
37
  */
38
- refinements: Refinements;
38
+ 'refinements': Refinements;
39
39
  /**
40
40
  * A list of items from the Amazon catalog.
41
41
  * @type {Array<Item>}
42
42
  * @memberof ItemSearchResults
43
43
  */
44
- items: Array<Item>;
44
+ 'items': Array<Item>;
45
45
  }
@@ -21,87 +21,84 @@ export interface ItemSummaryByMarketplace {
21
21
  * @type {string}
22
22
  * @memberof ItemSummaryByMarketplace
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  * Name of the brand associated with an Amazon catalog item.
27
27
  * @type {string}
28
28
  * @memberof ItemSummaryByMarketplace
29
29
  */
30
- brand?: string;
30
+ 'brand'?: string;
31
31
  /**
32
32
  *
33
33
  * @type {ItemBrowseClassification}
34
34
  * @memberof ItemSummaryByMarketplace
35
35
  */
36
- browseClassification?: ItemBrowseClassification;
36
+ 'browseClassification'?: ItemBrowseClassification;
37
37
  /**
38
38
  * Name of the color associated with an Amazon catalog item.
39
39
  * @type {string}
40
40
  * @memberof ItemSummaryByMarketplace
41
41
  */
42
- color?: string;
42
+ 'color'?: string;
43
43
  /**
44
44
  * Classification type associated with the Amazon catalog item.
45
45
  * @type {string}
46
46
  * @memberof ItemSummaryByMarketplace
47
47
  */
48
- itemClassification?: ItemSummaryByMarketplaceItemClassificationEnum;
48
+ 'itemClassification'?: ItemSummaryByMarketplaceItemClassificationEnum;
49
49
  /**
50
50
  * Name, or title, associated with an Amazon catalog item.
51
51
  * @type {string}
52
52
  * @memberof ItemSummaryByMarketplace
53
53
  */
54
- itemName?: string;
54
+ 'itemName'?: string;
55
55
  /**
56
56
  * Name of the manufacturer associated with an Amazon catalog item.
57
57
  * @type {string}
58
58
  * @memberof ItemSummaryByMarketplace
59
59
  */
60
- manufacturer?: string;
60
+ 'manufacturer'?: string;
61
61
  /**
62
62
  * Model number associated with an Amazon catalog item.
63
63
  * @type {string}
64
64
  * @memberof ItemSummaryByMarketplace
65
65
  */
66
- modelNumber?: string;
66
+ 'modelNumber'?: string;
67
67
  /**
68
68
  * Quantity of an Amazon catalog item in one package.
69
69
  * @type {number}
70
70
  * @memberof ItemSummaryByMarketplace
71
71
  */
72
- packageQuantity?: number;
72
+ 'packageQuantity'?: number;
73
73
  /**
74
74
  * Part number associated with an Amazon catalog item.
75
75
  * @type {string}
76
76
  * @memberof ItemSummaryByMarketplace
77
77
  */
78
- partNumber?: string;
78
+ 'partNumber'?: string;
79
79
  /**
80
80
  * Name of the size associated with an Amazon catalog item.
81
81
  * @type {string}
82
82
  * @memberof ItemSummaryByMarketplace
83
83
  */
84
- size?: string;
84
+ 'size'?: string;
85
85
  /**
86
86
  * Name of the style associated with an Amazon catalog item.
87
87
  * @type {string}
88
88
  * @memberof ItemSummaryByMarketplace
89
89
  */
90
- style?: string;
90
+ 'style'?: string;
91
91
  /**
92
92
  * Name of the website display group associated with an Amazon catalog item.
93
93
  * @type {string}
94
94
  * @memberof ItemSummaryByMarketplace
95
95
  */
96
- websiteDisplayGroup?: string;
97
- }
98
- /**
99
- * @export
100
- * @enum {string}
101
- */
102
- export declare enum ItemSummaryByMarketplaceItemClassificationEnum {
103
- BaseProduct = "BASE_PRODUCT",
104
- Other = "OTHER",
105
- ProductBundle = "PRODUCT_BUNDLE",
106
- VariationParent = "VARIATION_PARENT"
96
+ 'websiteDisplayGroup'?: string;
107
97
  }
98
+ export declare const ItemSummaryByMarketplaceItemClassificationEnum: {
99
+ readonly BaseProduct: "BASE_PRODUCT";
100
+ readonly Other: "OTHER";
101
+ readonly ProductBundle: "PRODUCT_BUNDLE";
102
+ readonly VariationParent: "VARIATION_PARENT";
103
+ };
104
+ export declare type ItemSummaryByMarketplaceItemClassificationEnum = typeof ItemSummaryByMarketplaceItemClassificationEnum[keyof typeof ItemSummaryByMarketplaceItemClassificationEnum];
@@ -20,11 +20,11 @@ export interface ItemVariationTheme {
20
20
  * @type {Array<string>}
21
21
  * @memberof ItemVariationTheme
22
22
  */
23
- attributes?: Array<string>;
23
+ 'attributes'?: Array<string>;
24
24
  /**
25
25
  * Variation theme indicating the combination of Amazon item catalog attributes that define the variation family.
26
26
  * @type {string}
27
27
  * @memberof ItemVariationTheme
28
28
  */
29
- theme?: string;
29
+ 'theme'?: string;
30
30
  }
@@ -21,63 +21,60 @@ export interface ItemVendorDetailsByMarketplace {
21
21
  * @type {string}
22
22
  * @memberof ItemVendorDetailsByMarketplace
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  * Brand code associated with an Amazon catalog item.
27
27
  * @type {string}
28
28
  * @memberof ItemVendorDetailsByMarketplace
29
29
  */
30
- brandCode?: string;
30
+ 'brandCode'?: string;
31
31
  /**
32
32
  * Manufacturer code associated with an Amazon catalog item.
33
33
  * @type {string}
34
34
  * @memberof ItemVendorDetailsByMarketplace
35
35
  */
36
- manufacturerCode?: string;
36
+ 'manufacturerCode'?: string;
37
37
  /**
38
38
  * Parent vendor code of the manufacturer code.
39
39
  * @type {string}
40
40
  * @memberof ItemVendorDetailsByMarketplace
41
41
  */
42
- manufacturerCodeParent?: string;
42
+ 'manufacturerCodeParent'?: string;
43
43
  /**
44
44
  *
45
45
  * @type {ItemVendorDetailsCategory}
46
46
  * @memberof ItemVendorDetailsByMarketplace
47
47
  */
48
- productCategory?: ItemVendorDetailsCategory;
48
+ 'productCategory'?: ItemVendorDetailsCategory;
49
49
  /**
50
50
  * Product group associated with an Amazon catalog item.
51
51
  * @type {string}
52
52
  * @memberof ItemVendorDetailsByMarketplace
53
53
  */
54
- productGroup?: string;
54
+ 'productGroup'?: string;
55
55
  /**
56
56
  *
57
57
  * @type {ItemVendorDetailsCategory}
58
58
  * @memberof ItemVendorDetailsByMarketplace
59
59
  */
60
- productSubcategory?: ItemVendorDetailsCategory;
60
+ 'productSubcategory'?: ItemVendorDetailsCategory;
61
61
  /**
62
62
  * Replenishment category associated with an Amazon catalog item.
63
63
  * @type {string}
64
64
  * @memberof ItemVendorDetailsByMarketplace
65
65
  */
66
- replenishmentCategory?: ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum;
67
- }
68
- /**
69
- * @export
70
- * @enum {string}
71
- */
72
- export declare enum ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum {
73
- Allocated = "ALLOCATED",
74
- BasicReplenishment = "BASIC_REPLENISHMENT",
75
- InSeason = "IN_SEASON",
76
- LimitedReplenishment = "LIMITED_REPLENISHMENT",
77
- ManufacturerOutOfStock = "MANUFACTURER_OUT_OF_STOCK",
78
- NewProduct = "NEW_PRODUCT",
79
- NonReplenishable = "NON_REPLENISHABLE",
80
- NonStockupable = "NON_STOCKUPABLE",
81
- Obsolete = "OBSOLETE",
82
- PlannedReplenishment = "PLANNED_REPLENISHMENT"
66
+ 'replenishmentCategory'?: ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum;
83
67
  }
68
+ export declare const ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum: {
69
+ readonly Allocated: "ALLOCATED";
70
+ readonly BasicReplenishment: "BASIC_REPLENISHMENT";
71
+ readonly InSeason: "IN_SEASON";
72
+ readonly LimitedReplenishment: "LIMITED_REPLENISHMENT";
73
+ readonly ManufacturerOutOfStock: "MANUFACTURER_OUT_OF_STOCK";
74
+ readonly NewProduct: "NEW_PRODUCT";
75
+ readonly NonReplenishable: "NON_REPLENISHABLE";
76
+ readonly NonStockupable: "NON_STOCKUPABLE";
77
+ readonly Obsolete: "OBSOLETE";
78
+ readonly PlannedReplenishment: "PLANNED_REPLENISHMENT";
79
+ };
80
+ export declare type ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum = typeof ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum[keyof typeof ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum];
@@ -20,11 +20,11 @@ export interface ItemVendorDetailsCategory {
20
20
  * @type {string}
21
21
  * @memberof ItemVendorDetailsCategory
22
22
  */
23
- displayName?: string;
23
+ 'displayName'?: string;
24
24
  /**
25
25
  * Value (code) of the product category or subcategory.
26
26
  * @type {string}
27
27
  * @memberof ItemVendorDetailsCategory
28
28
  */
29
- value?: string;
29
+ 'value'?: string;
30
30
  }
@@ -28,59 +28,59 @@ export interface Item {
28
28
  * @type {string}
29
29
  * @memberof Item
30
30
  */
31
- asin: string;
31
+ 'asin': string;
32
32
  /**
33
33
  * A JSON object that contains structured item attribute data keyed by attribute name. Catalog item attributes conform to the related product type definitions available in the Selling Partner API for Product Type Definitions.
34
34
  * @type {object}
35
35
  * @memberof Item
36
36
  */
37
- attributes?: object;
37
+ 'attributes'?: object;
38
38
  /**
39
39
  *
40
40
  * @type {ItemDimensionsByMarketplace}
41
41
  * @memberof Item
42
42
  */
43
- dimensions?: ItemDimensionsByMarketplace;
43
+ 'dimensions'?: ItemDimensionsByMarketplace;
44
44
  /**
45
45
  * Identifiers associated with the item in the Amazon catalog, such as UPC and EAN identifiers.
46
46
  * @type {Array<ItemIdentifiersByMarketplace>}
47
47
  * @memberof Item
48
48
  */
49
- identifiers?: Array<ItemIdentifiersByMarketplace>;
49
+ 'identifiers'?: Array<ItemIdentifiersByMarketplace>;
50
50
  /**
51
51
  * Images for an item in the Amazon catalog.
52
52
  * @type {Array<ItemImagesByMarketplace>}
53
53
  * @memberof Item
54
54
  */
55
- images?: Array<ItemImagesByMarketplace>;
55
+ 'images'?: Array<ItemImagesByMarketplace>;
56
56
  /**
57
57
  * Product types associated with the Amazon catalog item.
58
58
  * @type {Array<ItemProductTypeByMarketplace>}
59
59
  * @memberof Item
60
60
  */
61
- productTypes?: Array<ItemProductTypeByMarketplace>;
61
+ 'productTypes'?: Array<ItemProductTypeByMarketplace>;
62
62
  /**
63
63
  * Relationships by marketplace for an Amazon catalog item (for example, variations).
64
64
  * @type {Array<ItemRelationshipsByMarketplace>}
65
65
  * @memberof Item
66
66
  */
67
- relationships?: Array<ItemRelationshipsByMarketplace>;
67
+ 'relationships'?: Array<ItemRelationshipsByMarketplace>;
68
68
  /**
69
69
  * Sales ranks of an Amazon catalog item.
70
70
  * @type {Array<ItemSalesRanksByMarketplace>}
71
71
  * @memberof Item
72
72
  */
73
- salesRanks?: Array<ItemSalesRanksByMarketplace>;
73
+ 'salesRanks'?: Array<ItemSalesRanksByMarketplace>;
74
74
  /**
75
75
  * Summary details of an Amazon catalog item.
76
76
  * @type {Array<ItemSummaryByMarketplace>}
77
77
  * @memberof Item
78
78
  */
79
- summaries?: Array<ItemSummaryByMarketplace>;
79
+ 'summaries'?: Array<ItemSummaryByMarketplace>;
80
80
  /**
81
81
  * Vendor details associated with an Amazon catalog item. Vendor details are available to vendors only.
82
82
  * @type {Array<ItemVendorDetailsByMarketplace>}
83
83
  * @memberof Item
84
84
  */
85
- vendorDetails?: Array<ItemVendorDetailsByMarketplace>;
85
+ 'vendorDetails'?: Array<ItemVendorDetailsByMarketplace>;
86
86
  }
@@ -20,17 +20,17 @@ export interface ModelError {
20
20
  * @type {string}
21
21
  * @memberof ModelError
22
22
  */
23
- code: string;
23
+ 'code': string;
24
24
  /**
25
25
  * A message that describes the error condition.
26
26
  * @type {string}
27
27
  * @memberof ModelError
28
28
  */
29
- message: string;
29
+ 'message': string;
30
30
  /**
31
31
  * Additional details that can help the caller understand or fix the issue.
32
32
  * @type {string}
33
33
  * @memberof ModelError
34
34
  */
35
- details?: string;
35
+ 'details'?: string;
36
36
  }
@@ -20,11 +20,11 @@ export interface Pagination {
20
20
  * @type {string}
21
21
  * @memberof Pagination
22
22
  */
23
- nextToken?: string;
23
+ 'nextToken'?: string;
24
24
  /**
25
25
  * A token that can be used to fetch the previous page.
26
26
  * @type {string}
27
27
  * @memberof Pagination
28
28
  */
29
- previousToken?: string;
29
+ 'previousToken'?: string;
30
30
  }
@@ -22,11 +22,11 @@ export interface Refinements {
22
22
  * @type {Array<BrandRefinement>}
23
23
  * @memberof Refinements
24
24
  */
25
- brands: Array<BrandRefinement>;
25
+ 'brands': Array<BrandRefinement>;
26
26
  /**
27
27
  * Classification search refinements.
28
28
  * @type {Array<ClassificationRefinement>}
29
29
  * @memberof Refinements
30
30
  */
31
- classifications: Array<ClassificationRefinement>;
31
+ 'classifications': Array<ClassificationRefinement>;
32
32
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/catalog-items-api-2022-04-01",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the Catalog Items API Use Case Guide.",
5
- "version": "1.1.0",
5
+ "version": "1.1.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -50,5 +50,5 @@
50
50
  "sp sdk",
51
51
  "catalog items api"
52
52
  ],
53
- "gitHead": "a91680c9bce217db7412c5ad7c17aa6e918ada8e"
53
+ "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
54
54
  }