@sp-api-sdk/feeds-api-2021-06-30 2.0.3 → 2.0.5

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 { CreateFeedDocumentResponse } from '../models';
16
17
  import { CreateFeedDocumentSpecification } from '../models';
@@ -303,7 +304,7 @@ export declare class FeedsApi extends BaseAPI {
303
304
  * @throws {RequiredError}
304
305
  * @memberof FeedsApi
305
306
  */
306
- cancelFeed(requestParameters: FeedsApiCancelFeedRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
307
+ cancelFeed(requestParameters: FeedsApiCancelFeedRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
307
308
  /**
308
309
  * Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | 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).
309
310
  * @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
@@ -311,7 +312,7 @@ export declare class FeedsApi extends BaseAPI {
311
312
  * @throws {RequiredError}
312
313
  * @memberof FeedsApi
313
314
  */
314
- createFeed(requestParameters: FeedsApiCreateFeedRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFeedResponse, any>>;
315
+ createFeed(requestParameters: FeedsApiCreateFeedRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFeedResponse, any>>;
315
316
  /**
316
317
  * Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a feedDocumentId value that you can pass in with a subsequent call to the createFeed operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | 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).
317
318
  * @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
@@ -319,7 +320,7 @@ export declare class FeedsApi extends BaseAPI {
319
320
  * @throws {RequiredError}
320
321
  * @memberof FeedsApi
321
322
  */
322
- createFeedDocument(requestParameters: FeedsApiCreateFeedDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFeedDocumentResponse, any>>;
323
+ createFeedDocument(requestParameters: FeedsApiCreateFeedDocumentRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFeedDocumentResponse, any>>;
323
324
  /**
324
325
  * Returns feed details (including the resultDocumentId, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | 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).
325
326
  * @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
@@ -327,7 +328,7 @@ export declare class FeedsApi extends BaseAPI {
327
328
  * @throws {RequiredError}
328
329
  * @memberof FeedsApi
329
330
  */
330
- getFeed(requestParameters: FeedsApiGetFeedRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Feed, any>>;
331
+ getFeed(requestParameters: FeedsApiGetFeedRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<Feed, any>>;
331
332
  /**
332
333
  * Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | 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).
333
334
  * @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
@@ -335,7 +336,7 @@ export declare class FeedsApi extends BaseAPI {
335
336
  * @throws {RequiredError}
336
337
  * @memberof FeedsApi
337
338
  */
338
- getFeedDocument(requestParameters: FeedsApiGetFeedDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FeedDocument, any>>;
339
+ getFeedDocument(requestParameters: FeedsApiGetFeedDocumentRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<FeedDocument, any>>;
339
340
  /**
340
341
  * Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | 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
342
  * @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
@@ -343,5 +344,5 @@ export declare class FeedsApi extends BaseAPI {
343
344
  * @throws {RequiredError}
344
345
  * @memberof FeedsApi
345
346
  */
346
- getFeeds(requestParameters?: FeedsApiGetFeedsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFeedsResponse, any>>;
347
+ getFeeds(requestParameters?: FeedsApiGetFeedsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeedsResponse, any>>;
347
348
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/feeds-api-2021-06-30",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.",
5
- "version": "2.0.3",
5
+ "version": "2.0.5",
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.3",
22
- "axios": "^1.6.2"
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
  "feeds api"
42
42
  ],
43
- "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
43
+ "gitHead": "014aad96509aba433e07461efbe936a6062cc66a"
44
44
  }