@sp-api-sdk/catalog-items-api-2022-04-01 3.0.1 → 3.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 (110) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/api-model/api/{catalog-items-api.js → catalog-api.js} +27 -35
  3. package/dist/cjs/api-model/api.js +2 -2
  4. package/dist/cjs/api-model/base.js +1 -1
  5. package/dist/cjs/api-model/common.js +1 -1
  6. package/dist/cjs/api-model/configuration.js +2 -3
  7. package/dist/cjs/api-model/index.js +1 -1
  8. package/dist/cjs/api-model/models/brand-refinement.js +1 -1
  9. package/dist/cjs/api-model/models/classification-refinement.js +1 -1
  10. package/dist/cjs/api-model/models/dimension.js +1 -1
  11. package/dist/cjs/api-model/models/dimensions.js +1 -1
  12. package/dist/cjs/api-model/models/error-list.js +1 -1
  13. package/dist/cjs/api-model/models/item-browse-classification.js +1 -1
  14. package/dist/cjs/api-model/models/item-browse-classifications-by-marketplace.js +1 -1
  15. package/dist/cjs/api-model/models/item-classification-sales-rank.js +1 -1
  16. package/dist/cjs/api-model/models/item-contributor-role.js +1 -1
  17. package/dist/cjs/api-model/models/item-contributor.js +1 -1
  18. package/dist/cjs/api-model/models/item-dimensions-by-marketplace.js +1 -1
  19. package/dist/cjs/api-model/models/item-display-group-sales-rank.js +1 -1
  20. package/dist/cjs/api-model/models/item-identifier.js +1 -1
  21. package/dist/cjs/api-model/models/item-identifiers-by-marketplace.js +1 -1
  22. package/dist/cjs/api-model/models/item-image.js +1 -1
  23. package/dist/cjs/api-model/models/item-images-by-marketplace.js +1 -1
  24. package/dist/cjs/api-model/models/item-product-type-by-marketplace.js +1 -1
  25. package/dist/cjs/api-model/models/item-relationship.js +1 -1
  26. package/dist/cjs/api-model/models/item-relationships-by-marketplace.js +1 -1
  27. package/dist/cjs/api-model/models/item-sales-ranks-by-marketplace.js +1 -1
  28. package/dist/cjs/api-model/models/item-search-results.js +1 -1
  29. package/dist/cjs/api-model/models/item-summary-by-marketplace.js +1 -1
  30. package/dist/cjs/api-model/models/item-variation-theme.js +1 -1
  31. package/dist/cjs/api-model/models/item-vendor-details-by-marketplace.js +1 -1
  32. package/dist/cjs/api-model/models/item-vendor-details-category.js +1 -1
  33. package/dist/cjs/api-model/models/item.js +1 -1
  34. package/dist/cjs/api-model/models/model-error.js +1 -1
  35. package/dist/cjs/api-model/models/pagination.js +1 -1
  36. package/dist/cjs/api-model/models/refinements.js +1 -1
  37. package/dist/cjs/client.js +1 -1
  38. package/dist/es/api-model/api/{catalog-items-api.js → catalog-api.js} +22 -30
  39. package/dist/es/api-model/api.js +2 -2
  40. package/dist/es/api-model/base.js +1 -1
  41. package/dist/es/api-model/common.js +1 -1
  42. package/dist/es/api-model/configuration.js +2 -3
  43. package/dist/es/api-model/index.js +1 -1
  44. package/dist/es/api-model/models/brand-refinement.js +1 -1
  45. package/dist/es/api-model/models/classification-refinement.js +1 -1
  46. package/dist/es/api-model/models/dimension.js +1 -1
  47. package/dist/es/api-model/models/dimensions.js +1 -1
  48. package/dist/es/api-model/models/error-list.js +1 -1
  49. package/dist/es/api-model/models/item-browse-classification.js +1 -1
  50. package/dist/es/api-model/models/item-browse-classifications-by-marketplace.js +1 -1
  51. package/dist/es/api-model/models/item-classification-sales-rank.js +1 -1
  52. package/dist/es/api-model/models/item-contributor-role.js +1 -1
  53. package/dist/es/api-model/models/item-contributor.js +1 -1
  54. package/dist/es/api-model/models/item-dimensions-by-marketplace.js +1 -1
  55. package/dist/es/api-model/models/item-display-group-sales-rank.js +1 -1
  56. package/dist/es/api-model/models/item-identifier.js +1 -1
  57. package/dist/es/api-model/models/item-identifiers-by-marketplace.js +1 -1
  58. package/dist/es/api-model/models/item-image.js +1 -1
  59. package/dist/es/api-model/models/item-images-by-marketplace.js +1 -1
  60. package/dist/es/api-model/models/item-product-type-by-marketplace.js +1 -1
  61. package/dist/es/api-model/models/item-relationship.js +1 -1
  62. package/dist/es/api-model/models/item-relationships-by-marketplace.js +1 -1
  63. package/dist/es/api-model/models/item-sales-ranks-by-marketplace.js +1 -1
  64. package/dist/es/api-model/models/item-search-results.js +1 -1
  65. package/dist/es/api-model/models/item-summary-by-marketplace.js +1 -1
  66. package/dist/es/api-model/models/item-variation-theme.js +1 -1
  67. package/dist/es/api-model/models/item-vendor-details-by-marketplace.js +1 -1
  68. package/dist/es/api-model/models/item-vendor-details-category.js +1 -1
  69. package/dist/es/api-model/models/item.js +1 -1
  70. package/dist/es/api-model/models/model-error.js +1 -1
  71. package/dist/es/api-model/models/pagination.js +1 -1
  72. package/dist/es/api-model/models/refinements.js +1 -1
  73. package/dist/es/client.js +2 -2
  74. package/dist/types/api-model/api/{catalog-items-api.d.ts → catalog-api.d.ts} +42 -50
  75. package/dist/types/api-model/api.d.ts +2 -2
  76. package/dist/types/api-model/base.d.ts +1 -1
  77. package/dist/types/api-model/common.d.ts +2 -2
  78. package/dist/types/api-model/configuration.d.ts +1 -1
  79. package/dist/types/api-model/index.d.ts +1 -1
  80. package/dist/types/api-model/models/brand-refinement.d.ts +1 -1
  81. package/dist/types/api-model/models/classification-refinement.d.ts +1 -1
  82. package/dist/types/api-model/models/dimension.d.ts +1 -1
  83. package/dist/types/api-model/models/dimensions.d.ts +1 -1
  84. package/dist/types/api-model/models/error-list.d.ts +1 -1
  85. package/dist/types/api-model/models/item-browse-classification.d.ts +1 -1
  86. package/dist/types/api-model/models/item-browse-classifications-by-marketplace.d.ts +1 -1
  87. package/dist/types/api-model/models/item-classification-sales-rank.d.ts +1 -1
  88. package/dist/types/api-model/models/item-contributor-role.d.ts +1 -1
  89. package/dist/types/api-model/models/item-contributor.d.ts +1 -1
  90. package/dist/types/api-model/models/item-dimensions-by-marketplace.d.ts +1 -1
  91. package/dist/types/api-model/models/item-display-group-sales-rank.d.ts +1 -1
  92. package/dist/types/api-model/models/item-identifier.d.ts +1 -1
  93. package/dist/types/api-model/models/item-identifiers-by-marketplace.d.ts +1 -1
  94. package/dist/types/api-model/models/item-image.d.ts +1 -1
  95. package/dist/types/api-model/models/item-images-by-marketplace.d.ts +1 -1
  96. package/dist/types/api-model/models/item-product-type-by-marketplace.d.ts +1 -1
  97. package/dist/types/api-model/models/item-relationship.d.ts +1 -1
  98. package/dist/types/api-model/models/item-relationships-by-marketplace.d.ts +1 -1
  99. package/dist/types/api-model/models/item-sales-ranks-by-marketplace.d.ts +1 -1
  100. package/dist/types/api-model/models/item-search-results.d.ts +1 -1
  101. package/dist/types/api-model/models/item-summary-by-marketplace.d.ts +1 -1
  102. package/dist/types/api-model/models/item-variation-theme.d.ts +1 -1
  103. package/dist/types/api-model/models/item-vendor-details-by-marketplace.d.ts +1 -1
  104. package/dist/types/api-model/models/item-vendor-details-category.d.ts +1 -1
  105. package/dist/types/api-model/models/item.d.ts +1 -1
  106. package/dist/types/api-model/models/model-error.d.ts +1 -1
  107. package/dist/types/api-model/models/pagination.d.ts +1 -1
  108. package/dist/types/api-model/models/refinements.d.ts +1 -1
  109. package/dist/types/client.d.ts +2 -2
  110. package/package.json +4 -4
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # `catalog-items-api-2022-04-01`
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/catalog-items-api-2022-04-01)](https://www.npmjs.com/package/@sp-api-sdk/catalog-items-api-2022-04-01)
4
+ [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
5
+
3
6
  The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog.
4
7
 
5
8
  For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
6
9
 
7
- [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/catalog-items-api-2022-04-01)](https://www.npmjs.com/package/@sp-api-sdk/catalog-items-api-2022-04-01)
8
- [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
9
-
10
10
  [<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
11
11
 
12
12
  ## Documentation
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.SearchCatalogItemsIncludedDataEnum = exports.SearchCatalogItemsIdentifiersTypeEnum = exports.GetCatalogItemIncludedDataEnum = exports.CatalogItemsApi = exports.CatalogItemsApiFactory = exports.CatalogItemsApiFp = exports.CatalogItemsApiAxiosParamCreator = void 0;
19
+ exports.SearchCatalogItemsIncludedDataEnum = exports.SearchCatalogItemsIdentifiersTypeEnum = exports.GetCatalogItemIncludedDataEnum = exports.CatalogApi = exports.CatalogApiFactory = exports.CatalogApiFp = exports.CatalogApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -24,14 +24,13 @@ const common_1 = require("../common");
24
24
  // @ts-ignore
25
25
  const base_1 = require("../base");
26
26
  /**
27
- * CatalogItemsApi - axios parameter creator
27
+ * CatalogApi - axios parameter creator
28
28
  * @export
29
29
  */
30
- const CatalogItemsApiAxiosParamCreator = function (configuration) {
30
+ const CatalogApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
33
  * Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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
- * @summary getCatalogItem
35
34
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
36
35
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
37
36
  * @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: &#x60;summaries&#x60;.
@@ -74,7 +73,6 @@ const CatalogItemsApiAxiosParamCreator = function (configuration) {
74
73
  },
75
74
  /**
76
75
  * 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 | | ---- | ---- | | 2 | 2 | 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).
77
- * @summary searchCatalogItems
78
76
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
79
77
  * @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with &#x60;keywords&#x60;.
80
78
  * @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when &#x60;identifiers&#x60; are provided.
@@ -149,17 +147,16 @@ const CatalogItemsApiAxiosParamCreator = function (configuration) {
149
147
  },
150
148
  };
151
149
  };
152
- exports.CatalogItemsApiAxiosParamCreator = CatalogItemsApiAxiosParamCreator;
150
+ exports.CatalogApiAxiosParamCreator = CatalogApiAxiosParamCreator;
153
151
  /**
154
- * CatalogItemsApi - functional programming interface
152
+ * CatalogApi - functional programming interface
155
153
  * @export
156
154
  */
157
- const CatalogItemsApiFp = function (configuration) {
158
- const localVarAxiosParamCreator = (0, exports.CatalogItemsApiAxiosParamCreator)(configuration);
155
+ const CatalogApiFp = function (configuration) {
156
+ const localVarAxiosParamCreator = (0, exports.CatalogApiAxiosParamCreator)(configuration);
159
157
  return {
160
158
  /**
161
159
  * Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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).
162
- * @summary getCatalogItem
163
160
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
164
161
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
165
162
  * @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: &#x60;summaries&#x60;.
@@ -170,12 +167,11 @@ const CatalogItemsApiFp = function (configuration) {
170
167
  async getCatalogItem(asin, marketplaceIds, includedData, locale, options) {
171
168
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCatalogItem(asin, marketplaceIds, includedData, locale, options);
172
169
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
173
- const localVarOperationServerBasePath = base_1.operationServerMap['CatalogItemsApi.getCatalogItem']?.[localVarOperationServerIndex]?.url;
170
+ const localVarOperationServerBasePath = base_1.operationServerMap['CatalogApi.getCatalogItem']?.[localVarOperationServerIndex]?.url;
174
171
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
175
172
  },
176
173
  /**
177
174
  * 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 | | ---- | ---- | | 2 | 2 | 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).
178
- * @summary searchCatalogItems
179
175
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
180
176
  * @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with &#x60;keywords&#x60;.
181
177
  * @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when &#x60;identifiers&#x60; are provided.
@@ -194,23 +190,22 @@ const CatalogItemsApiFp = function (configuration) {
194
190
  async searchCatalogItems(marketplaceIds, identifiers, identifiersType, includedData, locale, sellerId, keywords, brandNames, classificationIds, pageSize, pageToken, keywordsLocale, options) {
195
191
  const localVarAxiosArgs = await localVarAxiosParamCreator.searchCatalogItems(marketplaceIds, identifiers, identifiersType, includedData, locale, sellerId, keywords, brandNames, classificationIds, pageSize, pageToken, keywordsLocale, options);
196
192
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
197
- const localVarOperationServerBasePath = base_1.operationServerMap['CatalogItemsApi.searchCatalogItems']?.[localVarOperationServerIndex]?.url;
193
+ const localVarOperationServerBasePath = base_1.operationServerMap['CatalogApi.searchCatalogItems']?.[localVarOperationServerIndex]?.url;
198
194
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
199
195
  },
200
196
  };
201
197
  };
202
- exports.CatalogItemsApiFp = CatalogItemsApiFp;
198
+ exports.CatalogApiFp = CatalogApiFp;
203
199
  /**
204
- * CatalogItemsApi - factory interface
200
+ * CatalogApi - factory interface
205
201
  * @export
206
202
  */
207
- const CatalogItemsApiFactory = function (configuration, basePath, axios) {
208
- const localVarFp = (0, exports.CatalogItemsApiFp)(configuration);
203
+ const CatalogApiFactory = function (configuration, basePath, axios) {
204
+ const localVarFp = (0, exports.CatalogApiFp)(configuration);
209
205
  return {
210
206
  /**
211
207
  * Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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).
212
- * @summary getCatalogItem
213
- * @param {CatalogItemsApiGetCatalogItemRequest} requestParameters Request parameters.
208
+ * @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
214
209
  * @param {*} [options] Override http request option.
215
210
  * @throws {RequiredError}
216
211
  */
@@ -219,8 +214,7 @@ const CatalogItemsApiFactory = function (configuration, basePath, axios) {
219
214
  },
220
215
  /**
221
216
  * 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 | | ---- | ---- | | 2 | 2 | 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).
222
- * @summary searchCatalogItems
223
- * @param {CatalogItemsApiSearchCatalogItemsRequest} requestParameters Request parameters.
217
+ * @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
224
218
  * @param {*} [options] Override http request option.
225
219
  * @throws {RequiredError}
226
220
  */
@@ -229,38 +223,36 @@ const CatalogItemsApiFactory = function (configuration, basePath, axios) {
229
223
  },
230
224
  };
231
225
  };
232
- exports.CatalogItemsApiFactory = CatalogItemsApiFactory;
226
+ exports.CatalogApiFactory = CatalogApiFactory;
233
227
  /**
234
- * CatalogItemsApi - object-oriented interface
228
+ * CatalogApi - object-oriented interface
235
229
  * @export
236
- * @class CatalogItemsApi
230
+ * @class CatalogApi
237
231
  * @extends {BaseAPI}
238
232
  */
239
- class CatalogItemsApi extends base_1.BaseAPI {
233
+ class CatalogApi extends base_1.BaseAPI {
240
234
  /**
241
235
  * Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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).
242
- * @summary getCatalogItem
243
- * @param {CatalogItemsApiGetCatalogItemRequest} requestParameters Request parameters.
236
+ * @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
244
237
  * @param {*} [options] Override http request option.
245
238
  * @throws {RequiredError}
246
- * @memberof CatalogItemsApi
239
+ * @memberof CatalogApi
247
240
  */
248
241
  getCatalogItem(requestParameters, options) {
249
- return (0, exports.CatalogItemsApiFp)(this.configuration).getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
242
+ return (0, exports.CatalogApiFp)(this.configuration).getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
250
243
  }
251
244
  /**
252
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 | | ---- | ---- | | 2 | 2 | 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).
253
- * @summary searchCatalogItems
254
- * @param {CatalogItemsApiSearchCatalogItemsRequest} requestParameters Request parameters.
246
+ * @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
255
247
  * @param {*} [options] Override http request option.
256
248
  * @throws {RequiredError}
257
- * @memberof CatalogItemsApi
249
+ * @memberof CatalogApi
258
250
  */
259
251
  searchCatalogItems(requestParameters, options) {
260
- return (0, exports.CatalogItemsApiFp)(this.configuration).searchCatalogItems(requestParameters.marketplaceIds, requestParameters.identifiers, requestParameters.identifiersType, requestParameters.includedData, requestParameters.locale, requestParameters.sellerId, requestParameters.keywords, requestParameters.brandNames, requestParameters.classificationIds, requestParameters.pageSize, requestParameters.pageToken, requestParameters.keywordsLocale, options).then((request) => request(this.axios, this.basePath));
252
+ return (0, exports.CatalogApiFp)(this.configuration).searchCatalogItems(requestParameters.marketplaceIds, requestParameters.identifiers, requestParameters.identifiersType, requestParameters.includedData, requestParameters.locale, requestParameters.sellerId, requestParameters.keywords, requestParameters.brandNames, requestParameters.classificationIds, requestParameters.pageSize, requestParameters.pageToken, requestParameters.keywordsLocale, options).then((request) => request(this.axios, this.basePath));
261
253
  }
262
254
  }
263
- exports.CatalogItemsApi = CatalogItemsApi;
255
+ exports.CatalogApi = CatalogApi;
264
256
  /**
265
257
  * @export
266
258
  */
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/catalog-items-api"), exports);
30
+ __exportStar(require("./api/catalog-api"), exports);
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -79,11 +79,10 @@ class Configuration {
79
79
  this.basePath = param.basePath;
80
80
  this.serverIndex = param.serverIndex;
81
81
  this.baseOptions = {
82
+ ...param.baseOptions,
82
83
  headers: {
83
84
  ...param.baseOptions?.headers,
84
- 'User-Agent': "OpenAPI-Generator/typescript-axios"
85
85
  },
86
- ...param.baseOptions
87
86
  };
88
87
  this.formDataCtor = param.formDataCtor;
89
88
  }
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Catalog Items v2022-04-01
5
+ * Selling Partner API for Catalog Items
6
6
  * 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](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
7
7
  *
8
8
  * The version of the OpenAPI document: 2022-04-01
@@ -19,7 +19,7 @@ exports.clientRateLimits = [
19
19
  burst: 2,
20
20
  },
21
21
  ];
22
- class CatalogItemsApiClient extends api_model_1.CatalogItemsApi {
22
+ class CatalogItemsApiClient extends api_model_1.CatalogApi {
23
23
  constructor(configuration) {
24
24
  const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
25
25
  super(new api_model_1.Configuration(), endpoint, axios);