@sp-api-sdk/catalog-items-api-2022-04-01 2.1.0 → 2.2.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/dist/cjs/src/api-model/api/catalog-api.js +10 -8
- package/dist/cjs/src/api-model/models/index.js +1 -0
- package/dist/cjs/src/api-model/models/item-browse-classifications-by-marketplace.js +15 -0
- package/dist/cjs/src/client.js +4 -4
- package/dist/es/src/api-model/api/catalog-api.js +10 -8
- package/dist/es/src/api-model/models/index.js +1 -0
- package/dist/es/src/api-model/models/item-browse-classifications-by-marketplace.js +14 -0
- package/dist/es/src/client.js +4 -4
- package/dist/types/src/api-model/api/catalog-api.d.ts +12 -10
- package/dist/types/src/api-model/models/index.d.ts +1 -0
- package/dist/types/src/api-model/models/item-browse-classification.d.ts +7 -1
- package/dist/types/src/api-model/models/item-browse-classifications-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item.d.ts +7 -0
- package/package.json +4 -4
|
@@ -30,7 +30,7 @@ const base_1 = require("../base");
|
|
|
30
30
|
const CatalogApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
33
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
34
34
|
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
35
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.
|
|
36
36
|
* @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
@@ -72,7 +72,7 @@ const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
72
72
|
};
|
|
73
73
|
},
|
|
74
74
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
76
76
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
77
77
|
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
78
78
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -156,7 +156,7 @@ const CatalogApiFp = function (configuration) {
|
|
|
156
156
|
const localVarAxiosParamCreator = (0, exports.CatalogApiAxiosParamCreator)(configuration);
|
|
157
157
|
return {
|
|
158
158
|
/**
|
|
159
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
159
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
160
160
|
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
161
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.
|
|
162
162
|
* @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
@@ -171,7 +171,7 @@ const CatalogApiFp = function (configuration) {
|
|
|
171
171
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
172
172
|
},
|
|
173
173
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
175
175
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
176
176
|
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
177
177
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -204,7 +204,7 @@ const CatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
204
204
|
const localVarFp = (0, exports.CatalogApiFp)(configuration);
|
|
205
205
|
return {
|
|
206
206
|
/**
|
|
207
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
207
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
208
208
|
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
209
209
|
* @param {*} [options] Override http request option.
|
|
210
210
|
* @throws {RequiredError}
|
|
@@ -213,7 +213,7 @@ const CatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
213
213
|
return localVarFp.getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(axios, basePath));
|
|
214
214
|
},
|
|
215
215
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
217
217
|
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
218
218
|
* @param {*} [options] Override http request option.
|
|
219
219
|
* @throws {RequiredError}
|
|
@@ -232,7 +232,7 @@ exports.CatalogApiFactory = CatalogApiFactory;
|
|
|
232
232
|
*/
|
|
233
233
|
class CatalogApi extends base_1.BaseAPI {
|
|
234
234
|
/**
|
|
235
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
235
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
236
236
|
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
237
237
|
* @param {*} [options] Override http request option.
|
|
238
238
|
* @throws {RequiredError}
|
|
@@ -242,7 +242,7 @@ class CatalogApi extends base_1.BaseAPI {
|
|
|
242
242
|
return (0, exports.CatalogApiFp)(this.configuration).getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
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 | | ---- | ---- | |
|
|
245
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
246
246
|
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
@@ -258,6 +258,7 @@ exports.CatalogApi = CatalogApi;
|
|
|
258
258
|
*/
|
|
259
259
|
exports.GetCatalogItemIncludedDataEnum = {
|
|
260
260
|
Attributes: 'attributes',
|
|
261
|
+
Classifications: 'classifications',
|
|
261
262
|
Dimensions: 'dimensions',
|
|
262
263
|
Identifiers: 'identifiers',
|
|
263
264
|
Images: 'images',
|
|
@@ -285,6 +286,7 @@ exports.SearchCatalogItemsIdentifiersTypeEnum = {
|
|
|
285
286
|
*/
|
|
286
287
|
exports.SearchCatalogItemsIncludedDataEnum = {
|
|
287
288
|
Attributes: 'attributes',
|
|
289
|
+
Classifications: 'classifications',
|
|
288
290
|
Dimensions: 'dimensions',
|
|
289
291
|
Identifiers: 'identifiers',
|
|
290
292
|
Images: 'images',
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./dimensions"), exports);
|
|
|
21
21
|
__exportStar(require("./error-list"), exports);
|
|
22
22
|
__exportStar(require("./item"), exports);
|
|
23
23
|
__exportStar(require("./item-browse-classification"), exports);
|
|
24
|
+
__exportStar(require("./item-browse-classifications-by-marketplace"), exports);
|
|
24
25
|
__exportStar(require("./item-classification-sales-rank"), exports);
|
|
25
26
|
__exportStar(require("./item-contributor"), exports);
|
|
26
27
|
__exportStar(require("./item-contributor-role"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Catalog Items
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/cjs/src/client.js
CHANGED
|
@@ -8,15 +8,15 @@ exports.clientRateLimits = [
|
|
|
8
8
|
method: 'get',
|
|
9
9
|
// eslint-disable-next-line prefer-regex-literals
|
|
10
10
|
urlRegex: new RegExp('^/catalog/2022-04-01/items$'),
|
|
11
|
-
rate:
|
|
12
|
-
burst:
|
|
11
|
+
rate: 5,
|
|
12
|
+
burst: 5,
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
method: 'get',
|
|
16
16
|
// eslint-disable-next-line prefer-regex-literals
|
|
17
17
|
urlRegex: new RegExp('^/catalog/2022-04-01/items/[^/]*$'),
|
|
18
|
-
rate:
|
|
19
|
-
burst:
|
|
18
|
+
rate: 5,
|
|
19
|
+
burst: 5,
|
|
20
20
|
},
|
|
21
21
|
];
|
|
22
22
|
class CatalogItemsApiClient extends api_model_1.CatalogApi {
|
|
@@ -24,7 +24,7 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from '../b
|
|
|
24
24
|
export const CatalogApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
27
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
28
28
|
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
29
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.
|
|
30
30
|
* @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
@@ -66,7 +66,7 @@ export const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
66
66
|
};
|
|
67
67
|
},
|
|
68
68
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
70
70
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
71
71
|
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
72
72
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -149,7 +149,7 @@ export const CatalogApiFp = function (configuration) {
|
|
|
149
149
|
const localVarAxiosParamCreator = CatalogApiAxiosParamCreator(configuration);
|
|
150
150
|
return {
|
|
151
151
|
/**
|
|
152
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
152
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
153
153
|
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
154
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.
|
|
155
155
|
* @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
@@ -164,7 +164,7 @@ export const CatalogApiFp = function (configuration) {
|
|
|
164
164
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
165
165
|
},
|
|
166
166
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
168
168
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
169
169
|
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
170
170
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -196,7 +196,7 @@ export const CatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
196
196
|
const localVarFp = CatalogApiFp(configuration);
|
|
197
197
|
return {
|
|
198
198
|
/**
|
|
199
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
199
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
200
200
|
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
202
202
|
* @throws {RequiredError}
|
|
@@ -205,7 +205,7 @@ export const CatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
205
205
|
return localVarFp.getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(axios, basePath));
|
|
206
206
|
},
|
|
207
207
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
209
209
|
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
210
210
|
* @param {*} [options] Override http request option.
|
|
211
211
|
* @throws {RequiredError}
|
|
@@ -223,7 +223,7 @@ export const CatalogApiFactory = function (configuration, basePath, axios) {
|
|
|
223
223
|
*/
|
|
224
224
|
export class CatalogApi extends BaseAPI {
|
|
225
225
|
/**
|
|
226
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
226
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
227
227
|
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
228
228
|
* @param {*} [options] Override http request option.
|
|
229
229
|
* @throws {RequiredError}
|
|
@@ -233,7 +233,7 @@ export class CatalogApi extends BaseAPI {
|
|
|
233
233
|
return CatalogApiFp(this.configuration).getCatalogItem(requestParameters.asin, requestParameters.marketplaceIds, requestParameters.includedData, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
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 | | ---- | ---- | |
|
|
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 | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
237
237
|
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
@@ -248,6 +248,7 @@ export class CatalogApi extends BaseAPI {
|
|
|
248
248
|
*/
|
|
249
249
|
export const GetCatalogItemIncludedDataEnum = {
|
|
250
250
|
Attributes: 'attributes',
|
|
251
|
+
Classifications: 'classifications',
|
|
251
252
|
Dimensions: 'dimensions',
|
|
252
253
|
Identifiers: 'identifiers',
|
|
253
254
|
Images: 'images',
|
|
@@ -275,6 +276,7 @@ export const SearchCatalogItemsIdentifiersTypeEnum = {
|
|
|
275
276
|
*/
|
|
276
277
|
export const SearchCatalogItemsIncludedDataEnum = {
|
|
277
278
|
Attributes: 'attributes',
|
|
279
|
+
Classifications: 'classifications',
|
|
278
280
|
Dimensions: 'dimensions',
|
|
279
281
|
Identifiers: 'identifiers',
|
|
280
282
|
Images: 'images',
|
|
@@ -5,6 +5,7 @@ export * from './dimensions';
|
|
|
5
5
|
export * from './error-list';
|
|
6
6
|
export * from './item';
|
|
7
7
|
export * from './item-browse-classification';
|
|
8
|
+
export * from './item-browse-classifications-by-marketplace';
|
|
8
9
|
export * from './item-classification-sales-rank';
|
|
9
10
|
export * from './item-contributor';
|
|
10
11
|
export * from './item-contributor-role';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner API for Catalog Items
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
package/dist/es/src/client.js
CHANGED
|
@@ -5,15 +5,15 @@ export const clientRateLimits = [
|
|
|
5
5
|
method: 'get',
|
|
6
6
|
// eslint-disable-next-line prefer-regex-literals
|
|
7
7
|
urlRegex: new RegExp('^/catalog/2022-04-01/items$'),
|
|
8
|
-
rate:
|
|
9
|
-
burst:
|
|
8
|
+
rate: 5,
|
|
9
|
+
burst: 5,
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
method: 'get',
|
|
13
13
|
// eslint-disable-next-line prefer-regex-literals
|
|
14
14
|
urlRegex: new RegExp('^/catalog/2022-04-01/items/[^/]*$'),
|
|
15
|
-
rate:
|
|
16
|
-
burst:
|
|
15
|
+
rate: 5,
|
|
16
|
+
burst: 5,
|
|
17
17
|
},
|
|
18
18
|
];
|
|
19
19
|
export class CatalogItemsApiClient extends CatalogApi {
|
|
@@ -21,7 +21,7 @@ import type { ItemSearchResults } from '../models';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
24
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
25
25
|
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
26
26
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
|
|
27
27
|
* @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
@@ -31,7 +31,7 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
|
|
|
31
31
|
*/
|
|
32
32
|
getCatalogItem: (asin: string, marketplaceIds: Array<string>, includedData?: Array<GetCatalogItemIncludedDataEnum>, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* 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 | | ---- | ---- | |
|
|
34
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
35
35
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
36
36
|
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
37
37
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -55,7 +55,7 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
|
|
|
55
55
|
*/
|
|
56
56
|
export declare const CatalogApiFp: (configuration?: Configuration) => {
|
|
57
57
|
/**
|
|
58
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
58
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
59
59
|
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
60
60
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
|
|
61
61
|
* @param {Array<GetCatalogItemIncludedDataEnum>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
@@ -65,7 +65,7 @@ export declare const CatalogApiFp: (configuration?: Configuration) => {
|
|
|
65
65
|
*/
|
|
66
66
|
getCatalogItem(asin: string, marketplaceIds: Array<string>, includedData?: Array<GetCatalogItemIncludedDataEnum>, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Item>>;
|
|
67
67
|
/**
|
|
68
|
-
* 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 | | ---- | ---- | |
|
|
68
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
69
69
|
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
70
70
|
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
71
71
|
* @param {SearchCatalogItemsIdentifiersTypeEnum} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
@@ -89,14 +89,14 @@ export declare const CatalogApiFp: (configuration?: Configuration) => {
|
|
|
89
89
|
*/
|
|
90
90
|
export declare const CatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
91
91
|
/**
|
|
92
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
92
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
93
93
|
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
97
|
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<Item>;
|
|
98
98
|
/**
|
|
99
|
-
* 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 | | ---- | ---- | |
|
|
99
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
100
100
|
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
@@ -123,7 +123,7 @@ export interface CatalogApiGetCatalogItemRequest {
|
|
|
123
123
|
readonly marketplaceIds: Array<string>;
|
|
124
124
|
/**
|
|
125
125
|
* A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
126
|
-
* @type {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>}
|
|
126
|
+
* @type {Array<'attributes' | 'classifications' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>}
|
|
127
127
|
* @memberof CatalogApiGetCatalogItem
|
|
128
128
|
*/
|
|
129
129
|
readonly includedData?: Array<GetCatalogItemIncludedDataEnum>;
|
|
@@ -160,7 +160,7 @@ export interface CatalogApiSearchCatalogItemsRequest {
|
|
|
160
160
|
readonly identifiersType?: SearchCatalogItemsIdentifiersTypeEnum;
|
|
161
161
|
/**
|
|
162
162
|
* A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
163
|
-
* @type {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>}
|
|
163
|
+
* @type {Array<'attributes' | 'classifications' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>}
|
|
164
164
|
* @memberof CatalogApiSearchCatalogItems
|
|
165
165
|
*/
|
|
166
166
|
readonly includedData?: Array<SearchCatalogItemsIncludedDataEnum>;
|
|
@@ -221,7 +221,7 @@ export interface CatalogApiSearchCatalogItemsRequest {
|
|
|
221
221
|
*/
|
|
222
222
|
export declare class CatalogApi extends BaseAPI {
|
|
223
223
|
/**
|
|
224
|
-
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | |
|
|
224
|
+
* Retrieves details for an item in the Amazon catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
225
225
|
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
226
226
|
* @param {*} [options] Override http request option.
|
|
227
227
|
* @throws {RequiredError}
|
|
@@ -229,7 +229,7 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
229
229
|
*/
|
|
230
230
|
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Item, any>>;
|
|
231
231
|
/**
|
|
232
|
-
* 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 | | ---- | ---- | |
|
|
232
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
233
233
|
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
234
234
|
* @param {*} [options] Override http request option.
|
|
235
235
|
* @throws {RequiredError}
|
|
@@ -242,6 +242,7 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
242
242
|
*/
|
|
243
243
|
export declare const GetCatalogItemIncludedDataEnum: {
|
|
244
244
|
readonly Attributes: "attributes";
|
|
245
|
+
readonly Classifications: "classifications";
|
|
245
246
|
readonly Dimensions: "dimensions";
|
|
246
247
|
readonly Identifiers: "identifiers";
|
|
247
248
|
readonly Images: "images";
|
|
@@ -271,6 +272,7 @@ export type SearchCatalogItemsIdentifiersTypeEnum = typeof SearchCatalogItemsIde
|
|
|
271
272
|
*/
|
|
272
273
|
export declare const SearchCatalogItemsIncludedDataEnum: {
|
|
273
274
|
readonly Attributes: "attributes";
|
|
275
|
+
readonly Classifications: "classifications";
|
|
274
276
|
readonly Dimensions: "dimensions";
|
|
275
277
|
readonly Identifiers: "identifiers";
|
|
276
278
|
readonly Images: "images";
|
|
@@ -5,6 +5,7 @@ export * from './dimensions';
|
|
|
5
5
|
export * from './error-list';
|
|
6
6
|
export * from './item';
|
|
7
7
|
export * from './item-browse-classification';
|
|
8
|
+
export * from './item-browse-classifications-by-marketplace';
|
|
8
9
|
export * from './item-classification-sales-rank';
|
|
9
10
|
export * from './item-contributor';
|
|
10
11
|
export * from './item-contributor-role';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ItemBrowseClassification {
|
|
18
18
|
/**
|
|
19
|
-
* Display name for the classification.
|
|
19
|
+
* Display name for the classification (browse node).
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ItemBrowseClassification
|
|
22
22
|
*/
|
|
@@ -27,4 +27,10 @@ export interface ItemBrowseClassification {
|
|
|
27
27
|
* @memberof ItemBrowseClassification
|
|
28
28
|
*/
|
|
29
29
|
'classificationId': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ItemBrowseClassification}
|
|
33
|
+
* @memberof ItemBrowseClassification
|
|
34
|
+
*/
|
|
35
|
+
'parent'?: ItemBrowseClassification;
|
|
30
36
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* 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).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ItemBrowseClassification } from './item-browse-classification';
|
|
13
|
+
/**
|
|
14
|
+
* Classifications (browse nodes) associated with the item in the Amazon catalog for the indicated Amazon marketplace.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ItemBrowseClassificationsByMarketplace
|
|
17
|
+
*/
|
|
18
|
+
export interface ItemBrowseClassificationsByMarketplace {
|
|
19
|
+
/**
|
|
20
|
+
* Amazon marketplace identifier.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ItemBrowseClassificationsByMarketplace
|
|
23
|
+
*/
|
|
24
|
+
'marketplaceId': string;
|
|
25
|
+
/**
|
|
26
|
+
* Classifications (browse nodes) associated with the item in the Amazon catalog for the indicated Amazon marketplace.
|
|
27
|
+
* @type {Array<ItemBrowseClassification>}
|
|
28
|
+
* @memberof ItemBrowseClassificationsByMarketplace
|
|
29
|
+
*/
|
|
30
|
+
'classifications'?: Array<ItemBrowseClassification>;
|
|
31
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ItemBrowseClassificationsByMarketplace } from './item-browse-classifications-by-marketplace';
|
|
12
13
|
import type { ItemDimensionsByMarketplace } from './item-dimensions-by-marketplace';
|
|
13
14
|
import type { ItemIdentifiersByMarketplace } from './item-identifiers-by-marketplace';
|
|
14
15
|
import type { ItemImagesByMarketplace } from './item-images-by-marketplace';
|
|
@@ -37,6 +38,12 @@ export interface Item {
|
|
|
37
38
|
'attributes'?: {
|
|
38
39
|
[key: string]: any;
|
|
39
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* Array of classifications (browse nodes) associated with the item in the Amazon catalog by Amazon marketplace.
|
|
43
|
+
* @type {Array<ItemBrowseClassificationsByMarketplace>}
|
|
44
|
+
* @memberof Item
|
|
45
|
+
*/
|
|
46
|
+
'classifications'?: Array<ItemBrowseClassificationsByMarketplace>;
|
|
40
47
|
/**
|
|
41
48
|
* Array of dimensions associated with the item in the Amazon catalog by Amazon marketplace.
|
|
42
49
|
* @type {Array<ItemDimensionsByMarketplace>}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/catalog-items-api-2022-04-01",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the Catalog Items API Use Case Guide.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.2.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.0.
|
|
22
|
-
"axios": "^1.7.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.9",
|
|
22
|
+
"axios": "^1.7.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"catalog items api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cce8c720364baf071322463e8e3ed29c322cc93a"
|
|
44
44
|
}
|