@sp-api-sdk/product-pricing-api-v0 3.1.7 → 3.1.8
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.
|
@@ -314,42 +314,42 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
314
314
|
* @param {*} [options] Override http request option.
|
|
315
315
|
* @throws {RequiredError}
|
|
316
316
|
*/
|
|
317
|
-
getCompetitivePricing(requestParameters: ProductPricingApiGetCompetitivePricingRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPricingResponse, any>>;
|
|
317
|
+
getCompetitivePricing(requestParameters: ProductPricingApiGetCompetitivePricingRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPricingResponse, any, {}>>;
|
|
318
318
|
/**
|
|
319
319
|
* Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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 see higher rate and burst values than those shown here. For more information, see [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).
|
|
320
320
|
* @param {ProductPricingApiGetItemOffersRequest} requestParameters Request parameters.
|
|
321
321
|
* @param {*} [options] Override http request option.
|
|
322
322
|
* @throws {RequiredError}
|
|
323
323
|
*/
|
|
324
|
-
getItemOffers(requestParameters: ProductPricingApiGetItemOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOffersResponse, any>>;
|
|
324
|
+
getItemOffers(requestParameters: ProductPricingApiGetItemOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOffersResponse, any, {}>>;
|
|
325
325
|
/**
|
|
326
326
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 | 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 see higher rate and burst values than those shown here. For more information, see [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).
|
|
327
327
|
* @param {ProductPricingApiGetItemOffersBatchRequest} requestParameters Request parameters.
|
|
328
328
|
* @param {*} [options] Override http request option.
|
|
329
329
|
* @throws {RequiredError}
|
|
330
330
|
*/
|
|
331
|
-
getItemOffersBatch(requestParameters: ProductPricingApiGetItemOffersBatchRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetItemOffersBatchResponse, any>>;
|
|
331
|
+
getItemOffersBatch(requestParameters: ProductPricingApiGetItemOffersBatchRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetItemOffersBatchResponse, any, {}>>;
|
|
332
332
|
/**
|
|
333
333
|
* Returns the lowest priced offers for a single SKU listing. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [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).
|
|
334
334
|
* @param {ProductPricingApiGetListingOffersRequest} requestParameters Request parameters.
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
337
|
*/
|
|
338
|
-
getListingOffers(requestParameters: ProductPricingApiGetListingOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOffersResponse, any>>;
|
|
338
|
+
getListingOffers(requestParameters: ProductPricingApiGetListingOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOffersResponse, any, {}>>;
|
|
339
339
|
/**
|
|
340
340
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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 see higher rate and burst values than those shown here. For more information, see [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).
|
|
341
341
|
* @param {ProductPricingApiGetListingOffersBatchRequest} requestParameters Request parameters.
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
*/
|
|
345
|
-
getListingOffersBatch(requestParameters: ProductPricingApiGetListingOffersBatchRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetListingOffersBatchResponse, any>>;
|
|
345
|
+
getListingOffersBatch(requestParameters: ProductPricingApiGetListingOffersBatchRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetListingOffersBatchResponse, any, {}>>;
|
|
346
346
|
/**
|
|
347
347
|
* Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 | 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 see higher rate and burst values than those shown here. For more information, see [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).
|
|
348
348
|
* @param {ProductPricingApiGetPricingRequest} requestParameters Request parameters.
|
|
349
349
|
* @param {*} [options] Override http request option.
|
|
350
350
|
* @throws {RequiredError}
|
|
351
351
|
*/
|
|
352
|
-
getPricing(requestParameters: ProductPricingApiGetPricingRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPricingResponse, any>>;
|
|
352
|
+
getPricing(requestParameters: ProductPricingApiGetPricingRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPricingResponse, any, {}>>;
|
|
353
353
|
}
|
|
354
354
|
export declare const GetCompetitivePricingItemTypeEnum: {
|
|
355
355
|
readonly Asin: "Asin";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/product-pricing-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.",
|
|
5
|
-
"version": "3.1.
|
|
5
|
+
"version": "3.1.8",
|
|
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.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.19",
|
|
22
|
+
"axios": "^1.12.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,26 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"product pricing api"
|
|
42
42
|
],
|
|
43
|
-
"
|
|
44
|
-
"extends": [
|
|
45
|
-
"xo-bizon"
|
|
46
|
-
],
|
|
47
|
-
"settings": {
|
|
48
|
-
"import/internal-regex": "^@sp-api-sdk/"
|
|
49
|
-
},
|
|
50
|
-
"semicolon": false,
|
|
51
|
-
"space": 2,
|
|
52
|
-
"prettier": true,
|
|
53
|
-
"ignores": [
|
|
54
|
-
"src/api-model/**"
|
|
55
|
-
],
|
|
56
|
-
"rules": {
|
|
57
|
-
"unicorn/prevent-abbreviations": "off"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"prettier": {
|
|
61
|
-
"printWidth": 100,
|
|
62
|
-
"jsxSingleQuote": true
|
|
63
|
-
},
|
|
64
|
-
"gitHead": "4c9d1270205ee00090d635b31eeabb323860546d"
|
|
43
|
+
"gitHead": "95f22690de1d02f4739da49cffb24bef8b5b61c9"
|
|
65
44
|
}
|