@sp-api-sdk/product-type-definitions-api-2020-09-01 1.7.5 → 1.7.9
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.
|
@@ -30,7 +30,7 @@ const DefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
30
30
|
/**
|
|
31
31
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
32
32
|
* @param {string} productType The Amazon product type name.
|
|
33
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
33
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
34
34
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
35
35
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
36
36
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -128,7 +128,7 @@ const DefinitionsApiFp = function (configuration) {
|
|
|
128
128
|
/**
|
|
129
129
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
130
130
|
* @param {string} productType The Amazon product type name.
|
|
131
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
131
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
132
132
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
133
133
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
134
134
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -165,7 +165,7 @@ const DefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
|
165
165
|
/**
|
|
166
166
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
167
167
|
* @param {string} productType The Amazon product type name.
|
|
168
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
168
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
169
169
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
170
170
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
171
171
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -26,7 +26,7 @@ export const DefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
26
26
|
/**
|
|
27
27
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
28
28
|
* @param {string} productType The Amazon product type name.
|
|
29
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
29
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
30
30
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
31
31
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
32
32
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -123,7 +123,7 @@ export const DefinitionsApiFp = function (configuration) {
|
|
|
123
123
|
/**
|
|
124
124
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
125
125
|
* @param {string} productType The Amazon product type name.
|
|
126
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
126
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
127
127
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
128
128
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
129
129
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -159,7 +159,7 @@ export const DefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
|
159
159
|
/**
|
|
160
160
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
161
161
|
* @param {string} productType The Amazon product type name.
|
|
162
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
162
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
163
163
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
164
164
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
165
165
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -22,7 +22,7 @@ export declare const DefinitionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
22
22
|
/**
|
|
23
23
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
24
24
|
* @param {string} productType The Amazon product type name.
|
|
25
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
25
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
26
26
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
27
27
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
28
28
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -49,7 +49,7 @@ export declare const DefinitionsApiFp: (configuration?: Configuration | undefine
|
|
|
49
49
|
/**
|
|
50
50
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
51
51
|
* @param {string} productType The Amazon product type name.
|
|
52
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
52
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
53
53
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
54
54
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
55
55
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -76,7 +76,7 @@ export declare const DefinitionsApiFactory: (configuration?: Configuration | und
|
|
|
76
76
|
/**
|
|
77
77
|
* Retrieve an Amazon product type definition. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).
|
|
78
78
|
* @param {string} productType The Amazon product type name.
|
|
79
|
-
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
79
|
+
* @param {Array<string>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
80
80
|
* @param {string} [sellerId] A selling partner identifier. When provided, seller-specific requirements and values are populated within the product type definition schema, such as brand names associated with the selling partner.
|
|
81
81
|
* @param {string} [productTypeVersion] The version of the Amazon product type to retrieve. Defaults to \"LATEST\",. Prerelease versions of product type definitions may be retrieved with \"RELEASE_CANDIDATE\". If no prerelease version is currently available, the \"LATEST\" live version will be provided.
|
|
82
82
|
* @param {'LISTING' | 'LISTING_PRODUCT_ONLY' | 'LISTING_OFFER_ONLY'} [requirements] The name of the requirements set to retrieve requirements for.
|
|
@@ -108,7 +108,7 @@ export interface DefinitionsApiGetDefinitionsProductTypeRequest {
|
|
|
108
108
|
*/
|
|
109
109
|
readonly productType: string;
|
|
110
110
|
/**
|
|
111
|
-
* A comma-delimited list of Amazon marketplace identifiers for the request.
|
|
111
|
+
* A comma-delimited list of Amazon marketplace identifiers for the request. Note: This parameter is limited to one marketplaceId at this time.
|
|
112
112
|
* @type {Array<string>}
|
|
113
113
|
* @memberof DefinitionsApiGetDefinitionsProductType
|
|
114
114
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/product-type-definitions-api-2020-09-01",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Product Type Definitions provides programmatic access to attribute and data requirements for product types in the Amazon catalog. Use this API to return the JSON Schema for a product type that you can then use with other Selling Partner APIs, such as the Selling Partner API for Listings Items, the Selling Partner API for Catalog Items, and the Selling Partner API for Feeds (for JSON-based listing feeds). For more information, see the Product Type Definitions API Use Case Guide.",
|
|
5
|
-
"version": "1.7.
|
|
5
|
+
"version": "1.7.9",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -22,12 +22,11 @@
|
|
|
22
22
|
"build:es": "tsc -p tsconfig.es.json",
|
|
23
23
|
"build": "yarn build:cjs && yarn build:es",
|
|
24
24
|
"clean": "rimraf dist",
|
|
25
|
-
"lint": "xo --cwd=../../ $PWD",
|
|
26
25
|
"test": "NODE_ENV='test' yarn jest"
|
|
27
26
|
},
|
|
28
27
|
"dependencies": {
|
|
29
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
30
|
-
"@sp-api-sdk/common": "^1.7.
|
|
28
|
+
"@sp-api-sdk/auth": "^1.9.4",
|
|
29
|
+
"@sp-api-sdk/common": "^1.7.6",
|
|
31
30
|
"axios": "^0.21.1"
|
|
32
31
|
},
|
|
33
32
|
"repository": {
|
|
@@ -49,5 +48,5 @@
|
|
|
49
48
|
"sp sdk",
|
|
50
49
|
"product type definitions api"
|
|
51
50
|
],
|
|
52
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "5dbdf09e0f74182eaa9b6c5f9ef0c931b0aa3089"
|
|
53
52
|
}
|