@sp-api-sdk/catalog-items-api-2022-04-01 1.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/LICENSE +21 -0
- package/README.md +108 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/src/api-model/api/catalog-api.js +263 -0
- package/dist/cjs/src/api-model/api.js +17 -0
- package/dist/cjs/src/api-model/base.js +62 -0
- package/dist/cjs/src/api-model/common.js +137 -0
- package/dist/cjs/src/api-model/configuration.js +42 -0
- package/dist/cjs/src/api-model/index.js +19 -0
- package/dist/cjs/src/api-model/models/brand-refinement.js +15 -0
- package/dist/cjs/src/api-model/models/classification-refinement.js +15 -0
- package/dist/cjs/src/api-model/models/error-list.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +29 -0
- package/dist/cjs/src/api-model/models/item-browse-classification.js +15 -0
- package/dist/cjs/src/api-model/models/item-classification-sales-rank.js +15 -0
- package/dist/cjs/src/api-model/models/item-dimension.js +15 -0
- package/dist/cjs/src/api-model/models/item-dimensions-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-dimensions.js +15 -0
- package/dist/cjs/src/api-model/models/item-display-group-sales-rank.js +15 -0
- package/dist/cjs/src/api-model/models/item-identifier.js +15 -0
- package/dist/cjs/src/api-model/models/item-identifiers-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-image.js +33 -0
- package/dist/cjs/src/api-model/models/item-images-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-product-type-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-relationship.js +25 -0
- package/dist/cjs/src/api-model/models/item-relationships-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-sales-ranks-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-search-results.js +15 -0
- package/dist/cjs/src/api-model/models/item-summary-by-marketplace.js +27 -0
- package/dist/cjs/src/api-model/models/item-variation-theme.js +15 -0
- package/dist/cjs/src/api-model/models/item-vendor-details-by-marketplace.js +33 -0
- package/dist/cjs/src/api-model/models/item-vendor-details-category.js +15 -0
- package/dist/cjs/src/api-model/models/item.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/pagination.js +15 -0
- package/dist/cjs/src/api-model/models/refinements.js +15 -0
- package/dist/cjs/src/client.js +28 -0
- package/dist/es/index.js +2 -0
- package/dist/es/src/api-model/api/catalog-api.js +255 -0
- package/dist/es/src/api-model/api.js +14 -0
- package/dist/es/src/api-model/base.js +56 -0
- package/dist/es/src/api-model/common.js +125 -0
- package/dist/es/src/api-model/configuration.js +38 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/brand-refinement.js +14 -0
- package/dist/es/src/api-model/models/classification-refinement.js +14 -0
- package/dist/es/src/api-model/models/error-list.js +14 -0
- package/dist/es/src/api-model/models/index.js +26 -0
- package/dist/es/src/api-model/models/item-browse-classification.js +14 -0
- package/dist/es/src/api-model/models/item-classification-sales-rank.js +14 -0
- package/dist/es/src/api-model/models/item-dimension.js +14 -0
- package/dist/es/src/api-model/models/item-dimensions-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-dimensions.js +14 -0
- package/dist/es/src/api-model/models/item-display-group-sales-rank.js +14 -0
- package/dist/es/src/api-model/models/item-identifier.js +14 -0
- package/dist/es/src/api-model/models/item-identifiers-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-image.js +30 -0
- package/dist/es/src/api-model/models/item-images-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-product-type-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-relationship.js +22 -0
- package/dist/es/src/api-model/models/item-relationships-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-sales-ranks-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-search-results.js +14 -0
- package/dist/es/src/api-model/models/item-summary-by-marketplace.js +24 -0
- package/dist/es/src/api-model/models/item-variation-theme.js +14 -0
- package/dist/es/src/api-model/models/item-vendor-details-by-marketplace.js +30 -0
- package/dist/es/src/api-model/models/item-vendor-details-category.js +14 -0
- package/dist/es/src/api-model/models/item.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/pagination.js +14 -0
- package/dist/es/src/api-model/models/refinements.js +14 -0
- package/dist/es/src/client.js +24 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/src/api-model/api/catalog-api.d.ts +252 -0
- package/dist/types/src/api-model/api.d.ts +12 -0
- package/dist/types/src/api-model/base.d.ts +55 -0
- package/dist/types/src/api-model/common.d.ts +65 -0
- package/dist/types/src/api-model/configuration.d.ts +83 -0
- package/dist/types/src/api-model/index.d.ts +14 -0
- package/dist/types/src/api-model/models/brand-refinement.d.ts +30 -0
- package/dist/types/src/api-model/models/classification-refinement.d.ts +36 -0
- package/dist/types/src/api-model/models/error-list.d.ts +24 -0
- package/dist/types/src/api-model/models/index.d.ts +26 -0
- package/dist/types/src/api-model/models/item-browse-classification.d.ts +30 -0
- package/dist/types/src/api-model/models/item-classification-sales-rank.d.ts +42 -0
- package/dist/types/src/api-model/models/item-dimension.d.ts +30 -0
- package/dist/types/src/api-model/models/item-dimensions-by-marketplace.d.ts +37 -0
- package/dist/types/src/api-model/models/item-dimensions.d.ts +43 -0
- package/dist/types/src/api-model/models/item-display-group-sales-rank.d.ts +42 -0
- package/dist/types/src/api-model/models/item-identifier.d.ts +30 -0
- package/dist/types/src/api-model/models/item-identifiers-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item-image.d.ts +58 -0
- package/dist/types/src/api-model/models/item-images-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item-product-type-by-marketplace.d.ts +30 -0
- package/dist/types/src/api-model/models/item-relationship.d.ts +51 -0
- package/dist/types/src/api-model/models/item-relationships-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item-sales-ranks-by-marketplace.d.ts +38 -0
- package/dist/types/src/api-model/models/item-search-results.d.ts +45 -0
- package/dist/types/src/api-model/models/item-summary-by-marketplace.d.ts +107 -0
- package/dist/types/src/api-model/models/item-variation-theme.d.ts +30 -0
- package/dist/types/src/api-model/models/item-vendor-details-by-marketplace.d.ts +83 -0
- package/dist/types/src/api-model/models/item-vendor-details-category.d.ts +30 -0
- package/dist/types/src/api-model/models/item.d.ts +86 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/pagination.d.ts +30 -0
- package/dist/types/src/api-model/models/refinements.d.ts +32 -0
- package/dist/types/src/client.d.ts +6 -0
- package/package.json +54 -0
|
@@ -0,0 +1,252 @@
|
|
|
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 { AxiosPromise, AxiosInstance } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { Item } from '../models';
|
|
16
|
+
import { ItemSearchResults } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* CatalogApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
22
|
+
/**
|
|
23
|
+
* 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).
|
|
24
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
25
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
|
|
26
|
+
* @param {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
27
|
+
* @param {string} [locale] Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
getCatalogItem: (asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: any) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
34
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
35
|
+
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
36
|
+
* @param {'ASIN' | 'EAN' | 'GTIN' | 'ISBN' | 'JAN' | 'MINSAN' | 'SKU' | 'UPC'} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
37
|
+
* @param {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
38
|
+
* @param {string} [locale] Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
39
|
+
* @param {string} [sellerId] A selling partner identifier, such as a seller account or vendor code. **Note:** Required when `identifiersType` is `SKU`.
|
|
40
|
+
* @param {Array<string>} [keywords] A comma-delimited list of words to search the Amazon catalog for. **Note:** Cannot be used with `identifiers`.
|
|
41
|
+
* @param {Array<string>} [brandNames] A comma-delimited list of brand names to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
42
|
+
* @param {Array<string>} [classificationIds] A comma-delimited list of classification identifiers to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
43
|
+
* @param {number} [pageSize] Number of results to be returned per page.
|
|
44
|
+
* @param {string} [pageToken] A token to fetch a certain page when there are multiple pages worth of results.
|
|
45
|
+
* @param {string} [keywordsLocale] The language of the keywords provided for `keywords`-based queries. Defaults to the primary locale of the marketplace. **Note:** Cannot be used with `identifiers`.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
searchCatalogItems: (marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: any) => Promise<RequestArgs>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* CatalogApi - functional programming interface
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const CatalogApiFp: (configuration?: Configuration | undefined) => {
|
|
56
|
+
/**
|
|
57
|
+
* 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).
|
|
58
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
59
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
|
|
60
|
+
* @param {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
61
|
+
* @param {string} [locale] Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
getCatalogItem(asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Item>>;
|
|
66
|
+
/**
|
|
67
|
+
* Search for and return a list of Amazon catalog items and associated information either by identifier or by keywords. **Usage Plans:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe higher rate and burst values than those shown here. For more information, refer to the [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
68
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
69
|
+
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
70
|
+
* @param {'ASIN' | 'EAN' | 'GTIN' | 'ISBN' | 'JAN' | 'MINSAN' | 'SKU' | 'UPC'} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
71
|
+
* @param {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
72
|
+
* @param {string} [locale] Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
73
|
+
* @param {string} [sellerId] A selling partner identifier, such as a seller account or vendor code. **Note:** Required when `identifiersType` is `SKU`.
|
|
74
|
+
* @param {Array<string>} [keywords] A comma-delimited list of words to search the Amazon catalog for. **Note:** Cannot be used with `identifiers`.
|
|
75
|
+
* @param {Array<string>} [brandNames] A comma-delimited list of brand names to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
76
|
+
* @param {Array<string>} [classificationIds] A comma-delimited list of classification identifiers to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
77
|
+
* @param {number} [pageSize] Number of results to be returned per page.
|
|
78
|
+
* @param {string} [pageToken] A token to fetch a certain page when there are multiple pages worth of results.
|
|
79
|
+
* @param {string} [keywordsLocale] The language of the keywords provided for `keywords`-based queries. Defaults to the primary locale of the marketplace. **Note:** Cannot be used with `identifiers`.
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
searchCatalogItems(marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ItemSearchResults>>;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* CatalogApi - factory interface
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const CatalogApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
90
|
+
/**
|
|
91
|
+
* 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).
|
|
92
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
|
|
93
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
|
|
94
|
+
* @param {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
95
|
+
* @param {string} [locale] Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getCatalogItem(asin: string, marketplaceIds: Array<string>, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, options?: any): AxiosPromise<Item>;
|
|
100
|
+
/**
|
|
101
|
+
* 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).
|
|
102
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
103
|
+
* @param {Array<string>} [identifiers] A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
104
|
+
* @param {'ASIN' | 'EAN' | 'GTIN' | 'ISBN' | 'JAN' | 'MINSAN' | 'SKU' | 'UPC'} [identifiersType] Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
105
|
+
* @param {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>} [includedData] A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
106
|
+
* @param {string} [locale] Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
107
|
+
* @param {string} [sellerId] A selling partner identifier, such as a seller account or vendor code. **Note:** Required when `identifiersType` is `SKU`.
|
|
108
|
+
* @param {Array<string>} [keywords] A comma-delimited list of words to search the Amazon catalog for. **Note:** Cannot be used with `identifiers`.
|
|
109
|
+
* @param {Array<string>} [brandNames] A comma-delimited list of brand names to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
110
|
+
* @param {Array<string>} [classificationIds] A comma-delimited list of classification identifiers to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
111
|
+
* @param {number} [pageSize] Number of results to be returned per page.
|
|
112
|
+
* @param {string} [pageToken] A token to fetch a certain page when there are multiple pages worth of results.
|
|
113
|
+
* @param {string} [keywordsLocale] The language of the keywords provided for `keywords`-based queries. Defaults to the primary locale of the marketplace. **Note:** Cannot be used with `identifiers`.
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
searchCatalogItems(marketplaceIds: Array<string>, identifiers?: string[] | undefined, identifiersType?: "ASIN" | "EAN" | "GTIN" | "ISBN" | "JAN" | "MINSAN" | "SKU" | "UPC" | undefined, includedData?: ("attributes" | "dimensions" | "identifiers" | "images" | "productTypes" | "relationships" | "salesRanks" | "summaries" | "vendorDetails")[] | undefined, locale?: string | undefined, sellerId?: string | undefined, keywords?: string[] | undefined, brandNames?: string[] | undefined, classificationIds?: string[] | undefined, pageSize?: number | undefined, pageToken?: string | undefined, keywordsLocale?: string | undefined, options?: any): AxiosPromise<ItemSearchResults>;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Request parameters for getCatalogItem operation in CatalogApi.
|
|
121
|
+
* @export
|
|
122
|
+
* @interface CatalogApiGetCatalogItemRequest
|
|
123
|
+
*/
|
|
124
|
+
export interface CatalogApiGetCatalogItemRequest {
|
|
125
|
+
/**
|
|
126
|
+
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof CatalogApiGetCatalogItem
|
|
129
|
+
*/
|
|
130
|
+
readonly asin: string;
|
|
131
|
+
/**
|
|
132
|
+
* A comma-delimited list of Amazon marketplace identifiers. Data sets in the response contain data only for the specified marketplaces.
|
|
133
|
+
* @type {Array<string>}
|
|
134
|
+
* @memberof CatalogApiGetCatalogItem
|
|
135
|
+
*/
|
|
136
|
+
readonly marketplaceIds: Array<string>;
|
|
137
|
+
/**
|
|
138
|
+
* A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
139
|
+
* @type {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>}
|
|
140
|
+
* @memberof CatalogApiGetCatalogItem
|
|
141
|
+
*/
|
|
142
|
+
readonly includedData?: Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>;
|
|
143
|
+
/**
|
|
144
|
+
* Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof CatalogApiGetCatalogItem
|
|
147
|
+
*/
|
|
148
|
+
readonly locale?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Request parameters for searchCatalogItems operation in CatalogApi.
|
|
152
|
+
* @export
|
|
153
|
+
* @interface CatalogApiSearchCatalogItemsRequest
|
|
154
|
+
*/
|
|
155
|
+
export interface CatalogApiSearchCatalogItemsRequest {
|
|
156
|
+
/**
|
|
157
|
+
* A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
158
|
+
* @type {Array<string>}
|
|
159
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
160
|
+
*/
|
|
161
|
+
readonly marketplaceIds: Array<string>;
|
|
162
|
+
/**
|
|
163
|
+
* A comma-delimited list of product identifiers to search the Amazon catalog for. **Note:** Cannot be used with `keywords`.
|
|
164
|
+
* @type {Array<string>}
|
|
165
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
166
|
+
*/
|
|
167
|
+
readonly identifiers?: Array<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Type of product identifiers to search the Amazon catalog for. **Note:** Required when `identifiers` are provided.
|
|
170
|
+
* @type {'ASIN' | 'EAN' | 'GTIN' | 'ISBN' | 'JAN' | 'MINSAN' | 'SKU' | 'UPC'}
|
|
171
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
172
|
+
*/
|
|
173
|
+
readonly identifiersType?: 'ASIN' | 'EAN' | 'GTIN' | 'ISBN' | 'JAN' | 'MINSAN' | 'SKU' | 'UPC';
|
|
174
|
+
/**
|
|
175
|
+
* A comma-delimited list of data sets to include in the response. Default: `summaries`.
|
|
176
|
+
* @type {Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>}
|
|
177
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
178
|
+
*/
|
|
179
|
+
readonly includedData?: Array<'attributes' | 'dimensions' | 'identifiers' | 'images' | 'productTypes' | 'relationships' | 'salesRanks' | 'summaries' | 'vendorDetails'>;
|
|
180
|
+
/**
|
|
181
|
+
* Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace.
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
184
|
+
*/
|
|
185
|
+
readonly locale?: string;
|
|
186
|
+
/**
|
|
187
|
+
* A selling partner identifier, such as a seller account or vendor code. **Note:** Required when `identifiersType` is `SKU`.
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
190
|
+
*/
|
|
191
|
+
readonly sellerId?: string;
|
|
192
|
+
/**
|
|
193
|
+
* A comma-delimited list of words to search the Amazon catalog for. **Note:** Cannot be used with `identifiers`.
|
|
194
|
+
* @type {Array<string>}
|
|
195
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
196
|
+
*/
|
|
197
|
+
readonly keywords?: Array<string>;
|
|
198
|
+
/**
|
|
199
|
+
* A comma-delimited list of brand names to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
200
|
+
* @type {Array<string>}
|
|
201
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
202
|
+
*/
|
|
203
|
+
readonly brandNames?: Array<string>;
|
|
204
|
+
/**
|
|
205
|
+
* A comma-delimited list of classification identifiers to limit the search for `keywords`-based queries. **Note:** Cannot be used with `identifiers`.
|
|
206
|
+
* @type {Array<string>}
|
|
207
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
208
|
+
*/
|
|
209
|
+
readonly classificationIds?: Array<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Number of results to be returned per page.
|
|
212
|
+
* @type {number}
|
|
213
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
214
|
+
*/
|
|
215
|
+
readonly pageSize?: number;
|
|
216
|
+
/**
|
|
217
|
+
* A token to fetch a certain page when there are multiple pages worth of results.
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
220
|
+
*/
|
|
221
|
+
readonly pageToken?: string;
|
|
222
|
+
/**
|
|
223
|
+
* The language of the keywords provided for `keywords`-based queries. Defaults to the primary locale of the marketplace. **Note:** Cannot be used with `identifiers`.
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof CatalogApiSearchCatalogItems
|
|
226
|
+
*/
|
|
227
|
+
readonly keywordsLocale?: string;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* CatalogApi - object-oriented interface
|
|
231
|
+
* @export
|
|
232
|
+
* @class CatalogApi
|
|
233
|
+
* @extends {BaseAPI}
|
|
234
|
+
*/
|
|
235
|
+
export declare class CatalogApi extends BaseAPI {
|
|
236
|
+
/**
|
|
237
|
+
* 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).
|
|
238
|
+
* @param {CatalogApiGetCatalogItemRequest} requestParameters Request parameters.
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
* @memberof CatalogApi
|
|
242
|
+
*/
|
|
243
|
+
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: any): Promise<import("axios").AxiosResponse<Item, any>>;
|
|
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 | | ---- | ---- | | 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
|
+
* @param {CatalogApiSearchCatalogItemsRequest} requestParameters Request parameters.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
* @memberof CatalogApi
|
|
250
|
+
*/
|
|
251
|
+
searchCatalogItems(requestParameters: CatalogApiSearchCatalogItemsRequest, options?: any): Promise<import("axios").AxiosResponse<ItemSearchResults, any>>;
|
|
252
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export * from './api/catalog-api';
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { Configuration } from "./configuration";
|
|
13
|
+
import { AxiosInstance } from 'axios';
|
|
14
|
+
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const COLLECTION_FORMATS: {
|
|
20
|
+
csv: string;
|
|
21
|
+
ssv: string;
|
|
22
|
+
tsv: string;
|
|
23
|
+
pipes: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
30
|
+
export interface RequestArgs {
|
|
31
|
+
url: string;
|
|
32
|
+
options: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
39
|
+
export declare class BaseAPI {
|
|
40
|
+
protected basePath: string;
|
|
41
|
+
protected axios: AxiosInstance;
|
|
42
|
+
protected configuration: Configuration | undefined;
|
|
43
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
51
|
+
export declare class RequiredError extends Error {
|
|
52
|
+
field: string;
|
|
53
|
+
name: "RequiredError";
|
|
54
|
+
constructor(field: string, msg?: string);
|
|
55
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { Configuration } from "./configuration";
|
|
13
|
+
import { RequestArgs } from "./base";
|
|
14
|
+
import { AxiosInstance } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
formDataCtor?: new () => any;
|
|
20
|
+
}
|
|
21
|
+
export declare class Configuration {
|
|
22
|
+
/**
|
|
23
|
+
* parameter for apiKey security
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
* @param name security name
|
|
45
|
+
* @param scopes oauth2 scope
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
+
/**
|
|
50
|
+
* override base path
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
basePath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* base options for axios calls
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof Configuration
|
|
61
|
+
*/
|
|
62
|
+
baseOptions?: any;
|
|
63
|
+
/**
|
|
64
|
+
* The FormData constructor that will be used to create multipart form data
|
|
65
|
+
* requests. You can inject this here so that execution environments that
|
|
66
|
+
* do not support the FormData class can still run the generated client.
|
|
67
|
+
*
|
|
68
|
+
* @type {new () => FormData}
|
|
69
|
+
*/
|
|
70
|
+
formDataCtor?: new () => any;
|
|
71
|
+
constructor(param?: ConfigurationParameters);
|
|
72
|
+
/**
|
|
73
|
+
* Check if the given MIME is a JSON MIME.
|
|
74
|
+
* JSON MIME examples:
|
|
75
|
+
* application/json
|
|
76
|
+
* application/json; charset=UTF8
|
|
77
|
+
* APPLICATION/JSON
|
|
78
|
+
* application/vnd.company+json
|
|
79
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
+
*/
|
|
82
|
+
isJsonMime(mime: string): boolean;
|
|
83
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|
|
14
|
+
export * from "./models";
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Description of a brand that can be used to get more fine-grained search results.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BrandRefinement
|
|
16
|
+
*/
|
|
17
|
+
export interface BrandRefinement {
|
|
18
|
+
/**
|
|
19
|
+
* The estimated number of results that would still be returned if refinement key applied.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BrandRefinement
|
|
22
|
+
*/
|
|
23
|
+
numberOfResults: number;
|
|
24
|
+
/**
|
|
25
|
+
* Brand name. For display and can be used as a search refinement.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BrandRefinement
|
|
28
|
+
*/
|
|
29
|
+
brandName: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Description of a classification that can be used to get more fine-grained search results.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ClassificationRefinement
|
|
16
|
+
*/
|
|
17
|
+
export interface ClassificationRefinement {
|
|
18
|
+
/**
|
|
19
|
+
* The estimated number of results that would still be returned if refinement key applied.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ClassificationRefinement
|
|
22
|
+
*/
|
|
23
|
+
numberOfResults: number;
|
|
24
|
+
/**
|
|
25
|
+
* Display name for the classification.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ClassificationRefinement
|
|
28
|
+
*/
|
|
29
|
+
displayName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Identifier for the classification that can be used for search refinement purposes.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ClassificationRefinement
|
|
34
|
+
*/
|
|
35
|
+
classificationId: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ErrorList
|
|
16
|
+
*/
|
|
17
|
+
export interface ErrorList {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<Error>}
|
|
21
|
+
* @memberof ErrorList
|
|
22
|
+
*/
|
|
23
|
+
errors: Array<Error>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './brand-refinement';
|
|
2
|
+
export * from './classification-refinement';
|
|
3
|
+
export * from './error-list';
|
|
4
|
+
export * from './item';
|
|
5
|
+
export * from './item-browse-classification';
|
|
6
|
+
export * from './item-classification-sales-rank';
|
|
7
|
+
export * from './item-dimension';
|
|
8
|
+
export * from './item-dimensions';
|
|
9
|
+
export * from './item-dimensions-by-marketplace';
|
|
10
|
+
export * from './item-display-group-sales-rank';
|
|
11
|
+
export * from './item-identifier';
|
|
12
|
+
export * from './item-identifiers-by-marketplace';
|
|
13
|
+
export * from './item-image';
|
|
14
|
+
export * from './item-images-by-marketplace';
|
|
15
|
+
export * from './item-product-type-by-marketplace';
|
|
16
|
+
export * from './item-relationship';
|
|
17
|
+
export * from './item-relationships-by-marketplace';
|
|
18
|
+
export * from './item-sales-ranks-by-marketplace';
|
|
19
|
+
export * from './item-search-results';
|
|
20
|
+
export * from './item-summary-by-marketplace';
|
|
21
|
+
export * from './item-variation-theme';
|
|
22
|
+
export * from './item-vendor-details-by-marketplace';
|
|
23
|
+
export * from './item-vendor-details-category';
|
|
24
|
+
export * from './model-error';
|
|
25
|
+
export * from './pagination';
|
|
26
|
+
export * from './refinements';
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Classification (browse node) associated with an Amazon catalog item.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItemBrowseClassification
|
|
16
|
+
*/
|
|
17
|
+
export interface ItemBrowseClassification {
|
|
18
|
+
/**
|
|
19
|
+
* Display name for the classification.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ItemBrowseClassification
|
|
22
|
+
*/
|
|
23
|
+
displayName: string;
|
|
24
|
+
/**
|
|
25
|
+
* Identifier of the classification (browse node identifier).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItemBrowseClassification
|
|
28
|
+
*/
|
|
29
|
+
classificationId: string;
|
|
30
|
+
}
|