@sp-api-sdk/product-pricing-api-2022-05-01 2.1.1 → 2.1.2

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 base_1 = require("../base");
30
30
  const ProductPricingApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
33
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
34
34
  * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
35
35
  * @param {*} [options] Override http request option.
36
36
  * @throws {RequiredError}
@@ -98,7 +98,7 @@ const ProductPricingApiFp = function (configuration) {
98
98
  const localVarAxiosParamCreator = (0, exports.ProductPricingApiAxiosParamCreator)(configuration);
99
99
  return {
100
100
  /**
101
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
101
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
102
102
  * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
103
103
  * @param {*} [options] Override http request option.
104
104
  * @throws {RequiredError}
@@ -128,7 +128,7 @@ const ProductPricingApiFactory = function (configuration, basePath, axios) {
128
128
  const localVarFp = (0, exports.ProductPricingApiFp)(configuration);
129
129
  return {
130
130
  /**
131
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
131
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
132
132
  * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
133
133
  * @param {*} [options] Override http request option.
134
134
  * @throws {RequiredError}
@@ -156,7 +156,7 @@ exports.ProductPricingApiFactory = ProductPricingApiFactory;
156
156
  */
157
157
  class ProductPricingApi extends base_1.BaseAPI {
158
158
  /**
159
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
159
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
160
160
  * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
@@ -11,6 +11,13 @@ exports.clientRateLimits = [
11
11
  rate: 0.033,
12
12
  burst: 1,
13
13
  },
14
+ {
15
+ method: 'post',
16
+ // eslint-disable-next-line prefer-regex-literals
17
+ urlRegex: new RegExp('^/batches/products/pricing/2022-05-01/items/competitiveSummary$'),
18
+ rate: 0.033,
19
+ burst: 1,
20
+ },
14
21
  ];
15
22
  class ProductPricingApiClient extends api_model_1.ProductPricingApi {
16
23
  constructor(configuration) {
@@ -24,7 +24,7 @@ import { BASE_PATH, BaseAPI } from '../base';
24
24
  export const ProductPricingApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
27
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
28
28
  * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
@@ -91,7 +91,7 @@ export const ProductPricingApiFp = function (configuration) {
91
91
  const localVarAxiosParamCreator = ProductPricingApiAxiosParamCreator(configuration);
92
92
  return {
93
93
  /**
94
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
94
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
95
95
  * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
96
96
  * @param {*} [options] Override http request option.
97
97
  * @throws {RequiredError}
@@ -120,7 +120,7 @@ export const ProductPricingApiFactory = function (configuration, basePath, axios
120
120
  const localVarFp = ProductPricingApiFp(configuration);
121
121
  return {
122
122
  /**
123
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
123
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
124
124
  * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
@@ -147,7 +147,7 @@ export const ProductPricingApiFactory = function (configuration, basePath, axios
147
147
  */
148
148
  export class ProductPricingApi extends BaseAPI {
149
149
  /**
150
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
150
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
151
151
  * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
@@ -8,6 +8,13 @@ export const clientRateLimits = [
8
8
  rate: 0.033,
9
9
  burst: 1,
10
10
  },
11
+ {
12
+ method: 'post',
13
+ // eslint-disable-next-line prefer-regex-literals
14
+ urlRegex: new RegExp('^/batches/products/pricing/2022-05-01/items/competitiveSummary$'),
15
+ rate: 0.033,
16
+ burst: 1,
17
+ },
11
18
  ];
12
19
  export class ProductPricingApiClient extends ProductPricingApi {
13
20
  constructor(configuration) {
@@ -22,7 +22,7 @@ import { GetFeaturedOfferExpectedPriceBatchResponse } from '../models';
22
22
  */
23
23
  export declare const ProductPricingApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
25
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
26
26
  * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
27
27
  * @param {*} [options] Override http request option.
28
28
  * @throws {RequiredError}
@@ -42,7 +42,7 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
42
42
  */
43
43
  export declare const ProductPricingApiFp: (configuration?: Configuration) => {
44
44
  /**
45
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
45
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
46
46
  * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
47
47
  * @param {*} [options] Override http request option.
48
48
  * @throws {RequiredError}
@@ -62,7 +62,7 @@ export declare const ProductPricingApiFp: (configuration?: Configuration) => {
62
62
  */
63
63
  export declare const ProductPricingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
64
64
  /**
65
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
65
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
66
66
  * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
67
67
  * @param {*} [options] Override http request option.
68
68
  * @throws {RequiredError}
@@ -110,7 +110,7 @@ export interface ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest {
110
110
  */
111
111
  export declare class ProductPricingApi extends BaseAPI {
112
112
  /**
113
- * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination
113
+ * Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination. **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).
114
114
  * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
115
115
  * @param {*} [options] Override http request option.
116
116
  * @throws {RequiredError}
@@ -28,7 +28,7 @@ export interface ModelError {
28
28
  */
29
29
  'message': string;
30
30
  /**
31
- * Additional information that can help the caller understand or fix the issue.
31
+ * Additional details that can help the caller understand or fix the issue.
32
32
  * @type {string}
33
33
  * @memberof ModelError
34
34
  */
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.1",
5
+ "version": "2.1.2",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "product pricing api"
42
42
  ],
43
- "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
43
+ "gitHead": "3f705bd752cb37c1ccde7a7a1847eadd7dc3c690"
44
44
  }