@sp-api-sdk/feeds-api-2021-06-30 1.10.8 → 1.10.10

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.
@@ -313,63 +313,57 @@ const FeedsApiFactory = function (configuration, basePath, axios) {
313
313
  return {
314
314
  /**
315
315
  * Cancels the feed that you specify. Only feeds with processingStatus=IN_QUEUE can be cancelled. Cancelled feeds are returned in subsequent calls to the getFeed and getFeeds operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
316
- * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
316
+ * @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
317
317
  * @param {*} [options] Override http request option.
318
318
  * @throws {RequiredError}
319
319
  */
320
- cancelFeed(feedId, options) {
321
- return localVarFp.cancelFeed(feedId, options).then((request) => request(axios, basePath));
320
+ cancelFeed(requestParameters, options) {
321
+ return localVarFp.cancelFeed(requestParameters.feedId, options).then((request) => request(axios, basePath));
322
322
  },
323
323
  /**
324
324
  * Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
325
- * @param {CreateFeedSpecification} body
325
+ * @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
326
326
  * @param {*} [options] Override http request option.
327
327
  * @throws {RequiredError}
328
328
  */
329
- createFeed(body, options) {
330
- return localVarFp.createFeed(body, options).then((request) => request(axios, basePath));
329
+ createFeed(requestParameters, options) {
330
+ return localVarFp.createFeed(requestParameters.body, options).then((request) => request(axios, basePath));
331
331
  },
332
332
  /**
333
333
  * 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.0083 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
334
- * @param {CreateFeedDocumentSpecification} body
334
+ * @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
335
335
  * @param {*} [options] Override http request option.
336
336
  * @throws {RequiredError}
337
337
  */
338
- createFeedDocument(body, options) {
339
- return localVarFp.createFeedDocument(body, options).then((request) => request(axios, basePath));
338
+ createFeedDocument(requestParameters, options) {
339
+ return localVarFp.createFeedDocument(requestParameters.body, options).then((request) => request(axios, basePath));
340
340
  },
341
341
  /**
342
342
  * Returns feed details (including the resultDocumentId, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
343
- * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
343
+ * @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
344
344
  * @param {*} [options] Override http request option.
345
345
  * @throws {RequiredError}
346
346
  */
347
- getFeed(feedId, options) {
348
- return localVarFp.getFeed(feedId, options).then((request) => request(axios, basePath));
347
+ getFeed(requestParameters, options) {
348
+ return localVarFp.getFeed(requestParameters.feedId, options).then((request) => request(axios, basePath));
349
349
  },
350
350
  /**
351
351
  * Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
352
- * @param {string} feedDocumentId The identifier of the feed document.
352
+ * @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
353
353
  * @param {*} [options] Override http request option.
354
354
  * @throws {RequiredError}
355
355
  */
356
- getFeedDocument(feedDocumentId, options) {
357
- return localVarFp.getFeedDocument(feedDocumentId, options).then((request) => request(axios, basePath));
356
+ getFeedDocument(requestParameters, options) {
357
+ return localVarFp.getFeedDocument(requestParameters.feedDocumentId, options).then((request) => request(axios, basePath));
358
358
  },
359
359
  /**
360
360
  * Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
361
- * @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
362
- * @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
363
- * @param {number} [pageSize] The maximum number of feeds to return in a single call.
364
- * @param {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} [processingStatuses] A list of processing statuses used to filter feeds.
365
- * @param {string} [createdSince] The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days.
366
- * @param {string} [createdUntil] The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now.
367
- * @param {string} [nextToken] A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail.
361
+ * @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
368
362
  * @param {*} [options] Override http request option.
369
363
  * @throws {RequiredError}
370
364
  */
371
- getFeeds(feedTypes, marketplaceIds, pageSize, processingStatuses, createdSince, createdUntil, nextToken, options) {
372
- return localVarFp.getFeeds(feedTypes, marketplaceIds, pageSize, processingStatuses, createdSince, createdUntil, nextToken, options).then((request) => request(axios, basePath));
365
+ getFeeds(requestParameters = {}, options) {
366
+ return localVarFp.getFeeds(requestParameters.feedTypes, requestParameters.marketplaceIds, requestParameters.pageSize, requestParameters.processingStatuses, requestParameters.createdSince, requestParameters.createdUntil, requestParameters.nextToken, options).then((request) => request(axios, basePath));
373
367
  },
374
368
  };
375
369
  };
@@ -15,8 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
17
17
  const tslib_1 = require("tslib");
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
18
  const axios_1 = tslib_1.__importDefault(require("axios"));
21
19
  exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
22
20
  /**
@@ -57,10 +55,10 @@ exports.BaseAPI = BaseAPI;
57
55
  */
58
56
  class RequiredError extends Error {
59
57
  field;
60
- name = "RequiredError";
61
58
  constructor(field, msg) {
62
59
  super(msg);
63
60
  this.field = field;
61
+ this.name = "RequiredError";
64
62
  }
65
63
  }
66
64
  exports.RequiredError = RequiredError;
@@ -81,6 +81,8 @@ const setOAuthToObject = async function (object, name, scopes, configuration) {
81
81
  };
82
82
  exports.setOAuthToObject = setOAuthToObject;
83
83
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
84
+ if (parameter == null)
85
+ return;
84
86
  if (typeof parameter === "object") {
85
87
  if (Array.isArray(parameter)) {
86
88
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
@@ -307,63 +307,57 @@ export const FeedsApiFactory = function (configuration, basePath, axios) {
307
307
  return {
308
308
  /**
309
309
  * Cancels the feed that you specify. Only feeds with processingStatus=IN_QUEUE can be cancelled. Cancelled feeds are returned in subsequent calls to the getFeed and getFeeds operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
310
- * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
310
+ * @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
311
311
  * @param {*} [options] Override http request option.
312
312
  * @throws {RequiredError}
313
313
  */
314
- cancelFeed(feedId, options) {
315
- return localVarFp.cancelFeed(feedId, options).then((request) => request(axios, basePath));
314
+ cancelFeed(requestParameters, options) {
315
+ return localVarFp.cancelFeed(requestParameters.feedId, options).then((request) => request(axios, basePath));
316
316
  },
317
317
  /**
318
318
  * Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
319
- * @param {CreateFeedSpecification} body
319
+ * @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
320
320
  * @param {*} [options] Override http request option.
321
321
  * @throws {RequiredError}
322
322
  */
323
- createFeed(body, options) {
324
- return localVarFp.createFeed(body, options).then((request) => request(axios, basePath));
323
+ createFeed(requestParameters, options) {
324
+ return localVarFp.createFeed(requestParameters.body, options).then((request) => request(axios, basePath));
325
325
  },
326
326
  /**
327
327
  * 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.0083 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
328
- * @param {CreateFeedDocumentSpecification} body
328
+ * @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
329
329
  * @param {*} [options] Override http request option.
330
330
  * @throws {RequiredError}
331
331
  */
332
- createFeedDocument(body, options) {
333
- return localVarFp.createFeedDocument(body, options).then((request) => request(axios, basePath));
332
+ createFeedDocument(requestParameters, options) {
333
+ return localVarFp.createFeedDocument(requestParameters.body, options).then((request) => request(axios, basePath));
334
334
  },
335
335
  /**
336
336
  * Returns feed details (including the resultDocumentId, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
337
- * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
337
+ * @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
338
338
  * @param {*} [options] Override http request option.
339
339
  * @throws {RequiredError}
340
340
  */
341
- getFeed(feedId, options) {
342
- return localVarFp.getFeed(feedId, options).then((request) => request(axios, basePath));
341
+ getFeed(requestParameters, options) {
342
+ return localVarFp.getFeed(requestParameters.feedId, options).then((request) => request(axios, basePath));
343
343
  },
344
344
  /**
345
345
  * Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
346
- * @param {string} feedDocumentId The identifier of the feed document.
346
+ * @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
347
347
  * @param {*} [options] Override http request option.
348
348
  * @throws {RequiredError}
349
349
  */
350
- getFeedDocument(feedDocumentId, options) {
351
- return localVarFp.getFeedDocument(feedDocumentId, options).then((request) => request(axios, basePath));
350
+ getFeedDocument(requestParameters, options) {
351
+ return localVarFp.getFeedDocument(requestParameters.feedDocumentId, options).then((request) => request(axios, basePath));
352
352
  },
353
353
  /**
354
354
  * Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
355
- * @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
356
- * @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
357
- * @param {number} [pageSize] The maximum number of feeds to return in a single call.
358
- * @param {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} [processingStatuses] A list of processing statuses used to filter feeds.
359
- * @param {string} [createdSince] The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days.
360
- * @param {string} [createdUntil] The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now.
361
- * @param {string} [nextToken] A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail.
355
+ * @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
362
356
  * @param {*} [options] Override http request option.
363
357
  * @throws {RequiredError}
364
358
  */
365
- getFeeds(feedTypes, marketplaceIds, pageSize, processingStatuses, createdSince, createdUntil, nextToken, options) {
366
- return localVarFp.getFeeds(feedTypes, marketplaceIds, pageSize, processingStatuses, createdSince, createdUntil, nextToken, options).then((request) => request(axios, basePath));
359
+ getFeeds(requestParameters = {}, options) {
360
+ return localVarFp.getFeeds(requestParameters.feedTypes, requestParameters.marketplaceIds, requestParameters.pageSize, requestParameters.processingStatuses, requestParameters.createdSince, requestParameters.createdUntil, requestParameters.nextToken, options).then((request) => request(axios, basePath));
367
361
  },
368
362
  };
369
363
  };
@@ -11,8 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- // Some imports not used depending on template conditions
15
- // @ts-ignore
16
14
  import globalAxios from 'axios';
17
15
  export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
18
16
  /**
@@ -52,9 +50,9 @@ export class BaseAPI {
52
50
  */
53
51
  export class RequiredError extends Error {
54
52
  field;
55
- name = "RequiredError";
56
53
  constructor(field, msg) {
57
54
  super(msg);
58
55
  this.field = field;
56
+ this.name = "RequiredError";
59
57
  }
60
58
  }
@@ -73,6 +73,8 @@ export const setOAuthToObject = async function (object, name, scopes, configurat
73
73
  }
74
74
  };
75
75
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
76
+ if (parameter == null)
77
+ return;
76
78
  if (typeof parameter === "object") {
77
79
  if (Array.isArray(parameter)) {
78
80
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateFeedDocumentResponse } from '../models';
16
16
  import { CreateFeedDocumentSpecification } from '../models';
@@ -134,52 +134,46 @@ export declare const FeedsApiFp: (configuration?: Configuration) => {
134
134
  export declare const FeedsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
135
135
  /**
136
136
  * Cancels the feed that you specify. Only feeds with processingStatus=IN_QUEUE can be cancelled. Cancelled feeds are returned in subsequent calls to the getFeed and getFeeds operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
137
- * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
137
+ * @param {FeedsApiCancelFeedRequest} requestParameters Request parameters.
138
138
  * @param {*} [options] Override http request option.
139
139
  * @throws {RequiredError}
140
140
  */
141
- cancelFeed(feedId: string, options?: any): AxiosPromise<void>;
141
+ cancelFeed(requestParameters: FeedsApiCancelFeedRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
142
142
  /**
143
143
  * Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
144
- * @param {CreateFeedSpecification} body
144
+ * @param {FeedsApiCreateFeedRequest} requestParameters Request parameters.
145
145
  * @param {*} [options] Override http request option.
146
146
  * @throws {RequiredError}
147
147
  */
148
- createFeed(body: CreateFeedSpecification, options?: any): AxiosPromise<CreateFeedResponse>;
148
+ createFeed(requestParameters: FeedsApiCreateFeedRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFeedResponse>;
149
149
  /**
150
150
  * 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.0083 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
151
- * @param {CreateFeedDocumentSpecification} body
151
+ * @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters.
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
154
154
  */
155
- createFeedDocument(body: CreateFeedDocumentSpecification, options?: any): AxiosPromise<CreateFeedDocumentResponse>;
155
+ createFeedDocument(requestParameters: FeedsApiCreateFeedDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<CreateFeedDocumentResponse>;
156
156
  /**
157
157
  * Returns feed details (including the resultDocumentId, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
158
- * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID.
158
+ * @param {FeedsApiGetFeedRequest} requestParameters Request parameters.
159
159
  * @param {*} [options] Override http request option.
160
160
  * @throws {RequiredError}
161
161
  */
162
- getFeed(feedId: string, options?: any): AxiosPromise<Feed>;
162
+ getFeed(requestParameters: FeedsApiGetFeedRequest, options?: AxiosRequestConfig): AxiosPromise<Feed>;
163
163
  /**
164
164
  * Returns the information required for retrieving a feed document\'s contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
165
- * @param {string} feedDocumentId The identifier of the feed document.
165
+ * @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters.
166
166
  * @param {*} [options] Override http request option.
167
167
  * @throws {RequiredError}
168
168
  */
169
- getFeedDocument(feedDocumentId: string, options?: any): AxiosPromise<FeedDocument>;
169
+ getFeedDocument(requestParameters: FeedsApiGetFeedDocumentRequest, options?: AxiosRequestConfig): AxiosPromise<FeedDocument>;
170
170
  /**
171
171
  * Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
172
- * @param {Array<string>} [feedTypes] A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
173
- * @param {Array<string>} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
174
- * @param {number} [pageSize] The maximum number of feeds to return in a single call.
175
- * @param {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} [processingStatuses] A list of processing statuses used to filter feeds.
176
- * @param {string} [createdSince] The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days.
177
- * @param {string} [createdUntil] The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now.
178
- * @param {string} [nextToken] A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail.
172
+ * @param {FeedsApiGetFeedsRequest} requestParameters Request parameters.
179
173
  * @param {*} [options] Override http request option.
180
174
  * @throws {RequiredError}
181
175
  */
182
- getFeeds(feedTypes?: Array<string>, marketplaceIds?: Array<string>, pageSize?: number, processingStatuses?: Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>, createdSince?: string, createdUntil?: string, nextToken?: string, options?: any): AxiosPromise<GetFeedsResponse>;
176
+ getFeeds(requestParameters?: FeedsApiGetFeedsRequest, options?: AxiosRequestConfig): AxiosPromise<GetFeedsResponse>;
183
177
  };
184
178
  /**
185
179
  * Request parameters for cancelFeed operation in FeedsApi.
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Configuration } from "./configuration";
13
- import { AxiosInstance, AxiosRequestConfig } from 'axios';
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -50,6 +50,5 @@ export declare class BaseAPI {
50
50
  */
51
51
  export declare class RequiredError extends Error {
52
52
  field: string;
53
- name: "RequiredError";
54
53
  constructor(field: string, msg?: string);
55
54
  }
@@ -10,9 +10,9 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /// <reference types="node" />
13
- import { Configuration } from "./configuration";
14
- import { RequestArgs } from "./base";
15
- import { AxiosInstance, AxiosResponse } from 'axios';
13
+ import type { Configuration } from "./configuration";
14
+ import type { RequestArgs } from "./base";
15
+ import type { AxiosInstance, AxiosResponse } from 'axios';
16
16
  /**
17
17
  *
18
18
  * @export
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": "1.10.8",
5
+ "version": "1.10.10",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "test": "jest"
27
27
  },
28
28
  "dependencies": {
29
- "@sp-api-sdk/common": "^1.9.20",
29
+ "@sp-api-sdk/common": "^1.9.22",
30
30
  "axios": "^0.27.2"
31
31
  },
32
32
  "repository": {
@@ -51,5 +51,5 @@
51
51
  "typedoc": {
52
52
  "entryPoint": "./index.ts"
53
53
  },
54
- "gitHead": "e8ea8ef5b7745f2c4413bd7dd8eefa1b31cee128"
54
+ "gitHead": "19982f06cbbd770bfc7b9f1bc8a42f59b57baead"
55
55
  }