@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
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -18,14 +18,13 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, creat
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
- * CatalogItemsApi - axios parameter creator
21
+ * CatalogApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export const CatalogItemsApiAxiosParamCreator = function (configuration) {
24
+ export const CatalogApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
27
  * 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).
28
- * @summary getCatalogItem
29
28
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
30
29
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
31
30
  * @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: &#x60;summaries&#x60;.
@@ -68,7 +67,6 @@ export const CatalogItemsApiAxiosParamCreator = function (configuration) {
68
67
  },
69
68
  /**
70
69
  * 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).
71
- * @summary searchCatalogItems
72
70
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
73
71
  * @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;.
74
72
  * @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when &#x60;identifiers&#x60; are provided.
@@ -144,15 +142,14 @@ export const CatalogItemsApiAxiosParamCreator = function (configuration) {
144
142
  };
145
143
  };
146
144
  /**
147
- * CatalogItemsApi - functional programming interface
145
+ * CatalogApi - functional programming interface
148
146
  * @export
149
147
  */
150
- export const CatalogItemsApiFp = function (configuration) {
151
- const localVarAxiosParamCreator = CatalogItemsApiAxiosParamCreator(configuration);
148
+ export const CatalogApiFp = function (configuration) {
149
+ const localVarAxiosParamCreator = CatalogApiAxiosParamCreator(configuration);
152
150
  return {
153
151
  /**
154
152
  * 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).
155
- * @summary getCatalogItem
156
153
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
157
154
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
158
155
  * @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: &#x60;summaries&#x60;.
@@ -163,12 +160,11 @@ export const CatalogItemsApiFp = function (configuration) {
163
160
  async getCatalogItem(asin, marketplaceIds, includedData, locale, options) {
164
161
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCatalogItem(asin, marketplaceIds, includedData, locale, options);
165
162
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
166
- const localVarOperationServerBasePath = operationServerMap['CatalogItemsApi.getCatalogItem']?.[localVarOperationServerIndex]?.url;
163
+ const localVarOperationServerBasePath = operationServerMap['CatalogApi.getCatalogItem']?.[localVarOperationServerIndex]?.url;
167
164
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
168
165
  },
169
166
  /**
170
167
  * 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).
171
- * @summary searchCatalogItems
172
168
  * @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
173
169
  * @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;.
174
170
  * @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when &#x60;identifiers&#x60; are provided.
@@ -187,22 +183,21 @@ export const CatalogItemsApiFp = function (configuration) {
187
183
  async searchCatalogItems(marketplaceIds, identifiers, identifiersType, includedData, locale, sellerId, keywords, brandNames, classificationIds, pageSize, pageToken, keywordsLocale, options) {
188
184
  const localVarAxiosArgs = await localVarAxiosParamCreator.searchCatalogItems(marketplaceIds, identifiers, identifiersType, includedData, locale, sellerId, keywords, brandNames, classificationIds, pageSize, pageToken, keywordsLocale, options);
189
185
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
190
- const localVarOperationServerBasePath = operationServerMap['CatalogItemsApi.searchCatalogItems']?.[localVarOperationServerIndex]?.url;
186
+ const localVarOperationServerBasePath = operationServerMap['CatalogApi.searchCatalogItems']?.[localVarOperationServerIndex]?.url;
191
187
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
192
188
  },
193
189
  };
194
190
  };
195
191
  /**
196
- * CatalogItemsApi - factory interface
192
+ * CatalogApi - factory interface
197
193
  * @export
198
194
  */
199
- export const CatalogItemsApiFactory = function (configuration, basePath, axios) {
200
- const localVarFp = CatalogItemsApiFp(configuration);
195
+ export const CatalogApiFactory = function (configuration, basePath, axios) {
196
+ const localVarFp = CatalogApiFp(configuration);
201
197
  return {
202
198
  /**
203
199
  * 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).
204
- * @summary getCatalogItem
205
- * @param {CatalogItemsApiGetCatalogItemRequest} requestParameters Request parameters.
200
+ * @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
206
201
  * @param {*} [options] Override http request option.
207
202
  * @throws {RequiredError}
208
203
  */
@@ -211,8 +206,7 @@ export const CatalogItemsApiFactory = function (configuration, basePath, axios)
211
206
  },
212
207
  /**
213
208
  * 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).
214
- * @summary searchCatalogItems
215
- * @param {CatalogItemsApiSearchCatalogItemsRequest} requestParameters Request parameters.
209
+ * @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
216
210
  * @param {*} [options] Override http request option.
217
211
  * @throws {RequiredError}
218
212
  */
@@ -222,33 +216,31 @@ export const CatalogItemsApiFactory = function (configuration, basePath, axios)
222
216
  };
223
217
  };
224
218
  /**
225
- * CatalogItemsApi - object-oriented interface
219
+ * CatalogApi - object-oriented interface
226
220
  * @export
227
- * @class CatalogItemsApi
221
+ * @class CatalogApi
228
222
  * @extends {BaseAPI}
229
223
  */
230
- export class CatalogItemsApi extends BaseAPI {
224
+ export class CatalogApi extends BaseAPI {
231
225
  /**
232
226
  * 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).
233
- * @summary getCatalogItem
234
- * @param {CatalogItemsApiGetCatalogItemRequest} requestParameters Request parameters.
227
+ * @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
235
228
  * @param {*} [options] Override http request option.
236
229
  * @throws {RequiredError}
237
- * @memberof CatalogItemsApi
230
+ * @memberof CatalogApi
238
231
  */
239
232
  getCatalogItem(requestParameters, options) {
240
- return CatalogItemsApiFp(this.configuration).getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
233
+ return CatalogApiFp(this.configuration).getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
241
234
  }
242
235
  /**
243
236
  * 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).
244
- * @summary searchCatalogItems
245
- * @param {CatalogItemsApiSearchCatalogItemsRequest} requestParameters Request parameters.
237
+ * @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
246
238
  * @param {*} [options] Override http request option.
247
239
  * @throws {RequiredError}
248
- * @memberof CatalogItemsApi
240
+ * @memberof CatalogApi
249
241
  */
250
242
  searchCatalogItems(requestParameters, options) {
251
- return 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));
243
+ return 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));
252
244
  }
253
245
  }
254
246
  /**
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -11,4 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export * from './api/catalog-items-api';
14
+ export * from './api/catalog-api';
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -76,11 +76,10 @@ export class Configuration {
76
76
  this.basePath = param.basePath;
77
77
  this.serverIndex = param.serverIndex;
78
78
  this.baseOptions = {
79
+ ...param.baseOptions,
79
80
  headers: {
80
81
  ...param.baseOptions?.headers,
81
- 'User-Agent': "OpenAPI-Generator/typescript-axios"
82
82
  },
83
- ...param.baseOptions
84
83
  };
85
84
  this.formDataCtor = param.formDataCtor;
86
85
  }
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Catalog Items v2022-04-01
4
+ * Selling Partner API for Catalog Items
5
5
  * 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).
6
6
  *
7
7
  * The version of the OpenAPI document: 2022-04-01
package/dist/es/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { CatalogItemsApi, Configuration } from './api-model';
2
+ import { CatalogApi, Configuration } from './api-model';
3
3
  export const clientRateLimits = [
4
4
  {
5
5
  method: 'get',
@@ -16,7 +16,7 @@ export const clientRateLimits = [
16
16
  burst: 2,
17
17
  },
18
18
  ];
19
- export class CatalogItemsApiClient extends CatalogItemsApi {
19
+ export class CatalogItemsApiClient extends CatalogApi {
20
20
  constructor(configuration) {
21
21
  const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
22
22
  super(new Configuration(), endpoint, axios);