@sp-api-sdk/product-pricing-api-v0 2.0.3 → 2.0.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 { GetItemOffersBatchRequest } from '../models';
16
17
  import { GetItemOffersBatchResponse } from '../models';
@@ -374,7 +375,7 @@ export declare class ProductPricingApi extends BaseAPI {
374
375
  * @throws {RequiredError}
375
376
  * @memberof ProductPricingApi
376
377
  */
377
- getCompetitivePricing(requestParameters: ProductPricingApiGetCompetitivePricingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPricingResponse, any>>;
378
+ getCompetitivePricing(requestParameters: ProductPricingApiGetCompetitivePricingRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPricingResponse, any>>;
378
379
  /**
379
380
  * 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).
380
381
  * @param {ProductPricingApiGetItemOffersRequest} requestParameters Request parameters.
@@ -382,7 +383,7 @@ export declare class ProductPricingApi extends BaseAPI {
382
383
  * @throws {RequiredError}
383
384
  * @memberof ProductPricingApi
384
385
  */
385
- getItemOffers(requestParameters: ProductPricingApiGetItemOffersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOffersResponse, any>>;
386
+ getItemOffers(requestParameters: ProductPricingApiGetItemOffersRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOffersResponse, any>>;
386
387
  /**
387
388
  * 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).
388
389
  * @param {ProductPricingApiGetItemOffersBatchRequest} requestParameters Request parameters.
@@ -390,7 +391,7 @@ export declare class ProductPricingApi extends BaseAPI {
390
391
  * @throws {RequiredError}
391
392
  * @memberof ProductPricingApi
392
393
  */
393
- getItemOffersBatch(requestParameters: ProductPricingApiGetItemOffersBatchRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetItemOffersBatchResponse, any>>;
394
+ getItemOffersBatch(requestParameters: ProductPricingApiGetItemOffersBatchRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetItemOffersBatchResponse, any>>;
394
395
  /**
395
396
  * 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).
396
397
  * @param {ProductPricingApiGetListingOffersRequest} requestParameters Request parameters.
@@ -398,7 +399,7 @@ export declare class ProductPricingApi extends BaseAPI {
398
399
  * @throws {RequiredError}
399
400
  * @memberof ProductPricingApi
400
401
  */
401
- getListingOffers(requestParameters: ProductPricingApiGetListingOffersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOffersResponse, any>>;
402
+ getListingOffers(requestParameters: ProductPricingApiGetListingOffersRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOffersResponse, any>>;
402
403
  /**
403
404
  * 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).
404
405
  * @param {ProductPricingApiGetListingOffersBatchRequest} requestParameters Request parameters.
@@ -406,7 +407,7 @@ export declare class ProductPricingApi extends BaseAPI {
406
407
  * @throws {RequiredError}
407
408
  * @memberof ProductPricingApi
408
409
  */
409
- getListingOffersBatch(requestParameters: ProductPricingApiGetListingOffersBatchRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetListingOffersBatchResponse, any>>;
410
+ getListingOffersBatch(requestParameters: ProductPricingApiGetListingOffersBatchRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetListingOffersBatchResponse, any>>;
410
411
  /**
411
412
  * 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).
412
413
  * @param {ProductPricingApiGetPricingRequest} requestParameters Request parameters.
@@ -414,5 +415,5 @@ export declare class ProductPricingApi extends BaseAPI {
414
415
  * @throws {RequiredError}
415
416
  * @memberof ProductPricingApi
416
417
  */
417
- getPricing(requestParameters: ProductPricingApiGetPricingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPricingResponse, any>>;
418
+ getPricing(requestParameters: ProductPricingApiGetPricingRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPricingResponse, any>>;
418
419
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/product-pricing-api-v0",
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 information for Amazon Marketplace products.",
5
- "version": "2.0.3",
5
+ "version": "2.0.4",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.3",
21
+ "@sp-api-sdk/common": "2.0.4",
22
22
  "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "product pricing api"
42
42
  ],
43
- "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }