@sp-api-sdk/catalog-items-api-2022-04-01 3.0.0 → 3.1.0
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.
- package/README.md +4 -2
- package/dist/cjs/api-model/api/{catalog-items-api.js → catalog-api.js} +27 -35
- package/dist/cjs/api-model/api.js +2 -2
- package/dist/cjs/api-model/base.js +1 -1
- package/dist/cjs/api-model/common.js +1 -1
- package/dist/cjs/api-model/configuration.js +2 -3
- package/dist/cjs/api-model/index.js +1 -1
- package/dist/cjs/api-model/models/brand-refinement.js +1 -1
- package/dist/cjs/api-model/models/classification-refinement.js +1 -1
- package/dist/cjs/api-model/models/dimension.js +1 -1
- package/dist/cjs/api-model/models/dimensions.js +1 -1
- package/dist/cjs/api-model/models/error-list.js +1 -1
- package/dist/cjs/api-model/models/item-browse-classification.js +1 -1
- package/dist/cjs/api-model/models/item-browse-classifications-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-classification-sales-rank.js +1 -1
- package/dist/cjs/api-model/models/item-contributor-role.js +1 -1
- package/dist/cjs/api-model/models/item-contributor.js +1 -1
- package/dist/cjs/api-model/models/item-dimensions-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-display-group-sales-rank.js +1 -1
- package/dist/cjs/api-model/models/item-identifier.js +1 -1
- package/dist/cjs/api-model/models/item-identifiers-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-image.js +1 -1
- package/dist/cjs/api-model/models/item-images-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-product-type-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-relationship.js +1 -1
- package/dist/cjs/api-model/models/item-relationships-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-sales-ranks-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-search-results.js +1 -1
- package/dist/cjs/api-model/models/item-summary-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-variation-theme.js +1 -1
- package/dist/cjs/api-model/models/item-vendor-details-by-marketplace.js +1 -1
- package/dist/cjs/api-model/models/item-vendor-details-category.js +1 -1
- package/dist/cjs/api-model/models/item.js +1 -1
- package/dist/cjs/api-model/models/model-error.js +1 -1
- package/dist/cjs/api-model/models/pagination.js +1 -1
- package/dist/cjs/api-model/models/refinements.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{catalog-items-api.js → catalog-api.js} +22 -30
- package/dist/es/api-model/api.js +2 -2
- package/dist/es/api-model/base.js +1 -1
- package/dist/es/api-model/common.js +1 -1
- package/dist/es/api-model/configuration.js +2 -3
- package/dist/es/api-model/index.js +1 -1
- package/dist/es/api-model/models/brand-refinement.js +1 -1
- package/dist/es/api-model/models/classification-refinement.js +1 -1
- package/dist/es/api-model/models/dimension.js +1 -1
- package/dist/es/api-model/models/dimensions.js +1 -1
- package/dist/es/api-model/models/error-list.js +1 -1
- package/dist/es/api-model/models/item-browse-classification.js +1 -1
- package/dist/es/api-model/models/item-browse-classifications-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-classification-sales-rank.js +1 -1
- package/dist/es/api-model/models/item-contributor-role.js +1 -1
- package/dist/es/api-model/models/item-contributor.js +1 -1
- package/dist/es/api-model/models/item-dimensions-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-display-group-sales-rank.js +1 -1
- package/dist/es/api-model/models/item-identifier.js +1 -1
- package/dist/es/api-model/models/item-identifiers-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-image.js +1 -1
- package/dist/es/api-model/models/item-images-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-product-type-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-relationship.js +1 -1
- package/dist/es/api-model/models/item-relationships-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-sales-ranks-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-search-results.js +1 -1
- package/dist/es/api-model/models/item-summary-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-variation-theme.js +1 -1
- package/dist/es/api-model/models/item-vendor-details-by-marketplace.js +1 -1
- package/dist/es/api-model/models/item-vendor-details-category.js +1 -1
- package/dist/es/api-model/models/item.js +1 -1
- package/dist/es/api-model/models/model-error.js +1 -1
- package/dist/es/api-model/models/pagination.js +1 -1
- package/dist/es/api-model/models/refinements.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{catalog-items-api.d.ts → catalog-api.d.ts} +42 -50
- package/dist/types/api-model/api.d.ts +2 -2
- package/dist/types/api-model/base.d.ts +1 -1
- package/dist/types/api-model/common.d.ts +2 -2
- package/dist/types/api-model/configuration.d.ts +1 -1
- package/dist/types/api-model/index.d.ts +1 -1
- package/dist/types/api-model/models/brand-refinement.d.ts +1 -1
- package/dist/types/api-model/models/classification-refinement.d.ts +1 -1
- package/dist/types/api-model/models/dimension.d.ts +1 -1
- package/dist/types/api-model/models/dimensions.d.ts +1 -1
- package/dist/types/api-model/models/error-list.d.ts +1 -1
- package/dist/types/api-model/models/item-browse-classification.d.ts +1 -1
- package/dist/types/api-model/models/item-browse-classifications-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-classification-sales-rank.d.ts +1 -1
- package/dist/types/api-model/models/item-contributor-role.d.ts +1 -1
- package/dist/types/api-model/models/item-contributor.d.ts +1 -1
- package/dist/types/api-model/models/item-dimensions-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-display-group-sales-rank.d.ts +1 -1
- package/dist/types/api-model/models/item-identifier.d.ts +1 -1
- package/dist/types/api-model/models/item-identifiers-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-image.d.ts +1 -1
- package/dist/types/api-model/models/item-images-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-product-type-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-relationship.d.ts +1 -1
- package/dist/types/api-model/models/item-relationships-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-sales-ranks-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-search-results.d.ts +1 -1
- package/dist/types/api-model/models/item-summary-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-variation-theme.d.ts +1 -1
- package/dist/types/api-model/models/item-vendor-details-by-marketplace.d.ts +1 -1
- package/dist/types/api-model/models/item-vendor-details-category.d.ts +1 -1
- package/dist/types/api-model/models/item.d.ts +1 -1
- package/dist/types/api-model/models/model-error.d.ts +1 -1
- package/dist/types/api-model/models/pagination.d.ts +1 -1
- package/dist/types/api-model/models/refinements.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Catalog Items
|
|
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
|
-
*
|
|
21
|
+
* CatalogApi - axios parameter creator
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
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: `summaries`.
|
|
@@ -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 `keywords`.
|
|
74
72
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -144,15 +142,14 @@ export const CatalogItemsApiAxiosParamCreator = function (configuration) {
|
|
|
144
142
|
};
|
|
145
143
|
};
|
|
146
144
|
/**
|
|
147
|
-
*
|
|
145
|
+
* CatalogApi - functional programming interface
|
|
148
146
|
* @export
|
|
149
147
|
*/
|
|
150
|
-
export const
|
|
151
|
-
const localVarAxiosParamCreator =
|
|
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: `summaries`.
|
|
@@ -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['
|
|
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 `keywords`.
|
|
174
170
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` 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['
|
|
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
|
-
*
|
|
192
|
+
* CatalogApi - factory interface
|
|
197
193
|
* @export
|
|
198
194
|
*/
|
|
199
|
-
export const
|
|
200
|
-
const localVarFp =
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
*
|
|
219
|
+
* CatalogApi - object-oriented interface
|
|
226
220
|
* @export
|
|
227
|
-
* @class
|
|
221
|
+
* @class CatalogApi
|
|
228
222
|
* @extends {BaseAPI}
|
|
229
223
|
*/
|
|
230
|
-
export class
|
|
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
|
-
* @
|
|
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
|
|
230
|
+
* @memberof CatalogApi
|
|
238
231
|
*/
|
|
239
232
|
getCatalogItem(requestParameters, options) {
|
|
240
|
-
return
|
|
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
|
-
* @
|
|
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
|
|
240
|
+
* @memberof CatalogApi
|
|
249
241
|
*/
|
|
250
242
|
searchCatalogItems(requestParameters, options) {
|
|
251
|
-
return
|
|
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
|
/**
|
package/dist/es/api-model/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Catalog Items
|
|
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-
|
|
14
|
+
export * from './api/catalog-api';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Catalog Items
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
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);
|