@sp-api-sdk/product-pricing-api-2022-05-01 2.1.2 → 2.1.4
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.
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
14
15
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
16
|
import { CompetitiveSummaryBatchRequest } from '../models';
|
|
16
17
|
import { CompetitiveSummaryBatchResponse } from '../models';
|
|
@@ -116,7 +117,7 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
116
117
|
* @throws {RequiredError}
|
|
117
118
|
* @memberof ProductPricingApi
|
|
118
119
|
*/
|
|
119
|
-
getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: AxiosRequestConfig): Promise<
|
|
120
|
+
getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<CompetitiveSummaryBatchResponse, any>>;
|
|
120
121
|
/**
|
|
121
122
|
* Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed, because competing offers may change, and different offers may be featured based on other factors, including fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 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, refer to [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).
|
|
122
123
|
* @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
|
|
@@ -124,5 +125,5 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
124
125
|
* @throws {RequiredError}
|
|
125
126
|
* @memberof ProductPricingApi
|
|
126
127
|
*/
|
|
127
|
-
getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: AxiosRequestConfig): Promise<
|
|
128
|
+
getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeaturedOfferExpectedPriceBatchResponse, any>>;
|
|
128
129
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/product-pricing-api-2022-05-01",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the Product Pricing v2022-05-01 Use Case Guide.",
|
|
5
|
-
"version": "2.1.
|
|
5
|
+
"version": "2.1.4",
|
|
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.6.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.5",
|
|
22
|
+
"axios": "^1.6.7"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"product pricing api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "014aad96509aba433e07461efbe936a6062cc66a"
|
|
44
44
|
}
|