@sp-api-sdk/replenishment-api-2022-11-07 2.0.2 → 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 { GetSellingPartnerMetricsRequest } from '../models';
16
17
  import { GetSellingPartnerMetricsResponse } from '../models';
@@ -152,7 +153,7 @@ export declare class OffersApi extends BaseAPI {
152
153
  * @throws {RequiredError}
153
154
  * @memberof OffersApi
154
155
  */
155
- getSellingPartnerMetrics(requestParameters?: OffersApiGetSellingPartnerMetricsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSellingPartnerMetricsResponse, any>>;
156
+ getSellingPartnerMetrics(requestParameters?: OffersApiGetSellingPartnerMetricsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetSellingPartnerMetricsResponse, any>>;
156
157
  /**
157
158
  * Returns aggregated replenishment program metrics for a selling partner\'s offers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 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).
158
159
  * @param {OffersApiListOfferMetricsRequest} requestParameters Request parameters.
@@ -160,7 +161,7 @@ export declare class OffersApi extends BaseAPI {
160
161
  * @throws {RequiredError}
161
162
  * @memberof OffersApi
162
163
  */
163
- listOfferMetrics(requestParameters?: OffersApiListOfferMetricsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOfferMetricsResponse, any>>;
164
+ listOfferMetrics(requestParameters?: OffersApiListOfferMetricsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListOfferMetricsResponse, any>>;
164
165
  /**
165
166
  * Returns the details of a selling partner\'s replenishment program offers. Note that this operation only supports sellers at this time. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 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).
166
167
  * @param {OffersApiListOffersRequest} requestParameters Request parameters.
@@ -168,5 +169,5 @@ export declare class OffersApi extends BaseAPI {
168
169
  * @throws {RequiredError}
169
170
  * @memberof OffersApi
170
171
  */
171
- listOffers(requestParameters?: OffersApiListOffersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOffersResponse, any>>;
172
+ listOffers(requestParameters?: OffersApiListOffersRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListOffersResponse, any>>;
172
173
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/replenishment-api-2022-11-07",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Replenishment (Replenishment API) provides programmatic access to replenishment program metrics and offers. These programs provide recurring delivery of any replenishable item at a frequency chosen by the customer. The Replenishment API is available worldwide wherever Amazon Subscribe & Save is available or is supported. The API is available to vendors and FBA selling partners.",
5
- "version": "2.0.2",
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,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.2",
22
- "axios": "^1.6.1"
21
+ "@sp-api-sdk/common": "2.0.4",
22
+ "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "replenishment api"
42
42
  ],
43
- "gitHead": "23d420d10e931be7657141e989fccdc9dafe2a9c"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }