/** * Selling Partner API for Feeds * Effective **June 27, 2024**, the Selling Partner API for Feeds v2020-09-04 will no longer be available and all calls to it will fail. Integrations that rely on the Feeds API must migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * * The version of the OpenAPI document: 2020-09-04 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Configuration } from './configuration'; import { AxiosPromise, AxiosInstance } from 'axios'; import { RequestArgs, BaseAPI } from './base'; /** * Response schema. * @export * @interface CancelFeedResponse */ export interface CancelFeedResponse { /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CancelFeedResponse */ errors?: Array; } /** * The response for the createFeedDocument operation. * @export * @interface CreateFeedDocumentResponse */ export interface CreateFeedDocumentResponse { /** * * @type {CreateFeedDocumentResult} * @memberof CreateFeedDocumentResponse */ payload?: CreateFeedDocumentResult; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CreateFeedDocumentResponse */ errors?: Array; } /** * Information required to encrypt and upload a feed document\'s contents. * @export * @interface CreateFeedDocumentResult */ export interface CreateFeedDocumentResult { /** * The identifier of the feed document. * @type {string} * @memberof CreateFeedDocumentResult */ feedDocumentId: string; /** * The presigned URL for uploading the feed contents. This URL expires after 5 minutes. * @type {string} * @memberof CreateFeedDocumentResult */ url: string; /** * * @type {FeedDocumentEncryptionDetails} * @memberof CreateFeedDocumentResult */ encryptionDetails: FeedDocumentEncryptionDetails; } /** * * @export * @interface CreateFeedDocumentSpecification */ export interface CreateFeedDocumentSpecification { /** * The content type of the feed. * @type {string} * @memberof CreateFeedDocumentSpecification */ contentType: string; } /** * Response schema. * @export * @interface CreateFeedResponse */ export interface CreateFeedResponse { /** * * @type {CreateFeedResult} * @memberof CreateFeedResponse */ payload?: CreateFeedResult; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof CreateFeedResponse */ errors?: Array; } /** * * @export * @interface CreateFeedResult */ export interface CreateFeedResult { /** * The identifier for the feed. This identifier is unique only in combination with a seller ID. * @type {string} * @memberof CreateFeedResult */ feedId: string; } /** * * @export * @interface CreateFeedSpecification */ export interface CreateFeedSpecification { /** * The feed type. * @type {string} * @memberof CreateFeedSpecification */ feedType: string; /** * A list of identifiers for marketplaces that you want the feed to be applied to. * @type {Array} * @memberof CreateFeedSpecification */ marketplaceIds: Array; /** * The document identifier returned by the createFeedDocument operation. Encrypt and upload the feed document contents before calling the createFeed operation. * @type {string} * @memberof CreateFeedSpecification */ inputFeedDocumentId: string; /** * Additional options to control the feed. For feeds that use the feedOptions parameter, you can find the parameter values in the feed description in [feedType values](https://github.com/amzn/selling-partner-api-docs/blob/main/references/feeds-api/feedtype-values.md). * @type {{ [key: string]: string; }} * @memberof CreateFeedSpecification */ feedOptions?: { [key: string]: string; }; } /** * * @export * @interface Feed */ export interface Feed { /** * The identifier for the feed. This identifier is unique only in combination with a seller ID. * @type {string} * @memberof Feed */ feedId: string; /** * The feed type. * @type {string} * @memberof Feed */ feedType: string; /** * A list of identifiers for the marketplaces that the feed is applied to. * @type {Array} * @memberof Feed */ marketplaceIds?: Array; /** * The date and time when the feed was created, in ISO 8601 date time format. * @type {string} * @memberof Feed */ createdTime: string; /** * The processing status of the feed. * @type {string} * @memberof Feed */ processingStatus: FeedProcessingStatusEnum | 'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'; /** * The date and time when feed processing started, in ISO 8601 date time format. * @type {string} * @memberof Feed */ processingStartTime?: string; /** * The date and time when feed processing completed, in ISO 8601 date time format. * @type {string} * @memberof Feed */ processingEndTime?: string; /** * The identifier for the feed document. This identifier is unique only in combination with a seller ID. * @type {string} * @memberof Feed */ resultFeedDocumentId?: string; } /** * @export * @enum {string} */ export declare enum FeedProcessingStatusEnum { Cancelled = "CANCELLED", Done = "DONE", Fatal = "FATAL", InProgress = "IN_PROGRESS", InQueue = "IN_QUEUE" } /** * * @export * @interface FeedDocument */ export interface FeedDocument { /** * The identifier for the feed document. This identifier is unique only in combination with a seller ID. * @type {string} * @memberof FeedDocument */ feedDocumentId: string; /** * A presigned URL for the feed document. If `compressionAlgorithm` is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes. * @type {string} * @memberof FeedDocument */ url: string; /** * * @type {FeedDocumentEncryptionDetails} * @memberof FeedDocument */ encryptionDetails: FeedDocumentEncryptionDetails; /** * If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to [Step 6. Download and decrypt the feed processing report](doc:feeds-api-v2020-09-04-use-case-guide#step-6-download-and-decrypt-the-feed-processing-report) in the use case guide, where sample code is provided. * @type {string} * @memberof FeedDocument */ compressionAlgorithm?: FeedDocumentCompressionAlgorithmEnum | 'GZIP'; } /** * @export * @enum {string} */ export declare enum FeedDocumentCompressionAlgorithmEnum { Gzip = "GZIP" } /** * Encryption details for required client-side encryption and decryption of document contents. * @export * @interface FeedDocumentEncryptionDetails */ export interface FeedDocumentEncryptionDetails { /** * The encryption standard required to encrypt or decrypt the document contents. * @type {string} * @memberof FeedDocumentEncryptionDetails */ standard: FeedDocumentEncryptionDetailsStandardEnum | 'AES'; /** * The vector to encrypt or decrypt the document contents using Cipher Block Chaining (CBC). * @type {string} * @memberof FeedDocumentEncryptionDetails */ initializationVector: string; /** * The encryption key used to encrypt or decrypt the document contents. * @type {string} * @memberof FeedDocumentEncryptionDetails */ key: string; } /** * @export * @enum {string} */ export declare enum FeedDocumentEncryptionDetailsStandardEnum { Aes = "AES" } /** * Response schema. * @export * @interface GetFeedDocumentResponse */ export interface GetFeedDocumentResponse { /** * * @type {FeedDocument} * @memberof GetFeedDocumentResponse */ payload?: FeedDocument; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof GetFeedDocumentResponse */ errors?: Array; } /** * Response schema. * @export * @interface GetFeedResponse */ export interface GetFeedResponse { /** * * @type {Feed} * @memberof GetFeedResponse */ payload?: Feed; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof GetFeedResponse */ errors?: Array; } /** * Response schema. * @export * @interface GetFeedsResponse */ export interface GetFeedsResponse { /** * * @type {Array} * @memberof GetFeedsResponse */ payload?: Array; /** * Returned when the number of results exceeds pageSize. To get the next page of results, call the getFeeds operation with this token as the only parameter. * @type {string} * @memberof GetFeedsResponse */ nextToken?: string; /** * A list of error responses returned when a request is unsuccessful. * @type {Array} * @memberof GetFeedsResponse */ errors?: Array; } /** * An error response returned when the request is unsuccessful. * @export * @interface ModelError */ export interface ModelError { /** * An error code that identifies the type of error that occurred. * @type {string} * @memberof ModelError */ code: string; /** * A message that describes the error condition in a human-readable form. * @type {string} * @memberof ModelError */ message: string; /** * Additional details that can help the caller understand or fix the issue. * @type {string} * @memberof ModelError */ details?: string; } /** * FeedsApi - axios parameter creator * @export */ export declare const FeedsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Effective June 27, 2023, the `cancelFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelFeed: (feedId: string, options?: any) => Promise; /** * Effective June 27, 2023, the `createFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {CreateFeedSpecification} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFeed: (body: CreateFeedSpecification, options?: any) => Promise; /** * Effective June 27, 2023, the `createFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {CreateFeedDocumentSpecification} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFeedDocument: (body: CreateFeedDocumentSpecification, options?: any) => Promise; /** * Effective June 27, 2023, the `getFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeed: (feedId: string, options?: any) => Promise; /** * Effective June 27, 2023, the `getFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedDocumentId The identifier of the feed document. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeedDocument: (feedDocumentId: string, options?: any) => Promise; /** * Effective June 27, 2023, the `getFeeds` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {Array} [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. * @param {Array} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. * @param {number} [pageSize] The maximum number of feeds to return in a single call. * @param {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} [processingStatuses] A list of processing statuses used to filter feeds. * @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. * @param {string} [createdUntil] The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. * @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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeeds: (feedTypes?: Array, marketplaceIds?: Array, pageSize?: number, processingStatuses?: Array<"CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE">, createdSince?: string, createdUntil?: string, nextToken?: string, options?: any) => Promise; }; /** * FeedsApi - functional programming interface * @export */ export declare const FeedsApiFp: (configuration?: Configuration) => { /** * Effective June 27, 2023, the `cancelFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelFeed(feedId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Effective June 27, 2023, the `createFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {CreateFeedSpecification} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFeed(body: CreateFeedSpecification, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Effective June 27, 2023, the `createFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {CreateFeedDocumentSpecification} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFeedDocument(body: CreateFeedDocumentSpecification, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Effective June 27, 2023, the `getFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeed(feedId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Effective June 27, 2023, the `getFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedDocumentId The identifier of the feed document. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeedDocument(feedDocumentId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Effective June 27, 2023, the `getFeeds` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {Array} [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. * @param {Array} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. * @param {number} [pageSize] The maximum number of feeds to return in a single call. * @param {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} [processingStatuses] A list of processing statuses used to filter feeds. * @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. * @param {string} [createdUntil] The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. * @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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeeds(feedTypes?: Array, marketplaceIds?: Array, pageSize?: number, processingStatuses?: Array<"CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE">, createdSince?: string, createdUntil?: string, nextToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * FeedsApi - factory interface * @export */ export declare const FeedsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Effective June 27, 2023, the `cancelFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelFeed(feedId: string, options?: any): AxiosPromise; /** * Effective June 27, 2023, the `createFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {CreateFeedSpecification} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFeed(body: CreateFeedSpecification, options?: any): AxiosPromise; /** * Effective June 27, 2023, the `createFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {CreateFeedDocumentSpecification} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFeedDocument(body: CreateFeedDocumentSpecification, options?: any): AxiosPromise; /** * Effective June 27, 2023, the `getFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedId The identifier for the feed. This identifier is unique only in combination with a seller ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeed(feedId: string, options?: any): AxiosPromise; /** * Effective June 27, 2023, the `getFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {string} feedDocumentId The identifier of the feed document. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeedDocument(feedDocumentId: string, options?: any): AxiosPromise; /** * Effective June 27, 2023, the `getFeeds` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {Array} [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. * @param {Array} [marketplaceIds] A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. * @param {number} [pageSize] The maximum number of feeds to return in a single call. * @param {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} [processingStatuses] A list of processing statuses used to filter feeds. * @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. * @param {string} [createdUntil] The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. * @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. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFeeds(feedTypes?: Array, marketplaceIds?: Array, pageSize?: number, processingStatuses?: Array<"CANCELLED" | "DONE" | "FATAL" | "IN_PROGRESS" | "IN_QUEUE">, createdSince?: string, createdUntil?: string, nextToken?: string, options?: any): AxiosPromise; }; /** * Request parameters for cancelFeed operation in FeedsApi. * @export * @interface FeedsApiCancelFeedRequest */ export interface FeedsApiCancelFeedRequest { /** * The identifier for the feed. This identifier is unique only in combination with a seller ID. * @type {string} * @memberof FeedsApiCancelFeed */ readonly feedId: string; } /** * Request parameters for createFeed operation in FeedsApi. * @export * @interface FeedsApiCreateFeedRequest */ export interface FeedsApiCreateFeedRequest { /** * * @type {CreateFeedSpecification} * @memberof FeedsApiCreateFeed */ readonly body: CreateFeedSpecification; } /** * Request parameters for createFeedDocument operation in FeedsApi. * @export * @interface FeedsApiCreateFeedDocumentRequest */ export interface FeedsApiCreateFeedDocumentRequest { /** * * @type {CreateFeedDocumentSpecification} * @memberof FeedsApiCreateFeedDocument */ readonly body: CreateFeedDocumentSpecification; } /** * Request parameters for getFeed operation in FeedsApi. * @export * @interface FeedsApiGetFeedRequest */ export interface FeedsApiGetFeedRequest { /** * The identifier for the feed. This identifier is unique only in combination with a seller ID. * @type {string} * @memberof FeedsApiGetFeed */ readonly feedId: string; } /** * Request parameters for getFeedDocument operation in FeedsApi. * @export * @interface FeedsApiGetFeedDocumentRequest */ export interface FeedsApiGetFeedDocumentRequest { /** * The identifier of the feed document. * @type {string} * @memberof FeedsApiGetFeedDocument */ readonly feedDocumentId: string; } /** * Request parameters for getFeeds operation in FeedsApi. * @export * @interface FeedsApiGetFeedsRequest */ export interface FeedsApiGetFeedsRequest { /** * 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. * @type {Array} * @memberof FeedsApiGetFeeds */ readonly feedTypes?: Array; /** * A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. * @type {Array} * @memberof FeedsApiGetFeeds */ readonly marketplaceIds?: Array; /** * The maximum number of feeds to return in a single call. * @type {number} * @memberof FeedsApiGetFeeds */ readonly pageSize?: number; /** * A list of processing statuses used to filter feeds. * @type {Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>} * @memberof FeedsApiGetFeeds */ readonly processingStatuses?: Array<'CANCELLED' | 'DONE' | 'FATAL' | 'IN_PROGRESS' | 'IN_QUEUE'>; /** * 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. * @type {string} * @memberof FeedsApiGetFeeds */ readonly createdSince?: string; /** * The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. * @type {string} * @memberof FeedsApiGetFeeds */ readonly createdUntil?: string; /** * 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. * @type {string} * @memberof FeedsApiGetFeeds */ readonly nextToken?: string; } /** * FeedsApi - object-oriented interface * @export * @class FeedsApi * @extends {BaseAPI} */ export declare class FeedsApi extends BaseAPI { /** * Effective June 27, 2023, the `cancelFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {FeedsApiCancelFeedRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeedsApi */ cancelFeed(requestParameters: FeedsApiCancelFeedRequest, options?: any): Promise>; /** * Effective June 27, 2023, the `createFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {FeedsApiCreateFeedRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeedsApi */ createFeed(requestParameters: FeedsApiCreateFeedRequest, options?: any): Promise>; /** * Effective June 27, 2023, the `createFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {FeedsApiCreateFeedDocumentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeedsApi */ createFeedDocument(requestParameters: FeedsApiCreateFeedDocumentRequest, options?: any): Promise>; /** * Effective June 27, 2023, the `getFeed` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {FeedsApiGetFeedRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeedsApi */ getFeed(requestParameters: FeedsApiGetFeedRequest, options?: any): Promise>; /** * Effective June 27, 2023, the `getFeedDocument` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {FeedsApiGetFeedDocumentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeedsApi */ getFeedDocument(requestParameters: FeedsApiGetFeedDocumentRequest, options?: any): Promise>; /** * Effective June 27, 2023, the `getFeeds` operation will no longer be available in the Selling Partner API for Feeds v2020-09-04 and all calls to it will fail. Integrations that rely on this operation should migrate to [Feeds v2021-06-30](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference) to avoid service disruption. * @param {FeedsApiGetFeedsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FeedsApi */ getFeeds(requestParameters?: FeedsApiGetFeedsRequest, options?: any): Promise>; }