/** * The Selling Partner API for Action Items * The Selling Partner API for Action Items enables you to discover and inspect action items surfaced by Amazon, including recommendations, issues, and tasks. * * The version of the OpenAPI document: 2026-06-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { ApiClient } from '../ApiClient.js'; import { DismissActionItemRequest } from '../model/DismissActionItemRequest.js'; import { DismissActionItemResponse } from '../model/DismissActionItemResponse.js'; import { GetActionItemResponse } from '../model/GetActionItemResponse.js'; import { ListActionItemsResponse } from '../model/ListActionItemsResponse.js'; /** * Items service. * @module actionitems_v2026_06_01/api/ItemsApi * @version 2026-06-01 */ export declare class ItemsApi { #private; apiClient: any; /** * Constructs a new ItemsApi. * @alias module:actionitems_v2026_06_01/api/ItemsApi * @class * @param {ApiClient} [apiClient] Optional API client implementation to use, * default to {@link ApiClient#instance} if unspecified. */ constructor(apiClient?: ApiClient); /** * Initialize rate limiters for API operations */ initializeDefaultRateLimiterMap(): void; /** * Get rate limiter for a specific operation * @param {String} operation name */ getRateLimiter(operation: string): any; /** * Dismiss an action item. * Dismiss the specified action item. An optional reason can be provided. * @param {String} actionItemId The unique identifier of the action item. * @param {DismissActionItemRequest} body The request body for the dismissActionItem operation. * @return {Promise} */ dismissActionItemWithHttpInfo(actionItemId: string, body: DismissActionItemRequest): Promise; /** * Dismiss an action item. * Dismiss the specified action item. An optional reason can be provided. * @param {String} actionItemId The unique identifier of the action item. * @param {DismissActionItemRequest} body The request body for the dismissActionItem operation. * @return {Promise} */ dismissActionItem(actionItemId: string, body: DismissActionItemRequest): Promise; /** * Get an action item. * Retrieve a single action item by ID with full detail. * @param {String} actionItemId The unique identifier of the action item. * @param {Object} [opts] Optional parameters * @param {String} [opts.locale] The BCP 47 locale for localized content. Defaults to `en-US`. * @param {String[]} [opts.includedData] A list of optional datasets to include in the response. When omitted, only core action item fields are returned. * @return {Promise} */ getActionItemWithHttpInfo(actionItemId: string, opts?: { locale?: string; includedData?: string[]; }): Promise; /** * Get an action item. * Retrieve a single action item by ID with full detail. * @param {String} actionItemId The unique identifier of the action item. * @param {Object} [opts] Optional parameters * @param {String} [opts.locale] The BCP 47 locale for localized content. Defaults to `en-US`. * @param {String[]} [opts.includedData] A list of optional datasets to include in the response. When omitted, only core action item fields are returned. * @return {Promise} */ getActionItem(actionItemId: string, opts?: { locale?: string; includedData?: string[]; }): Promise; /** * List action items. * Retrieve a paginated, filterable list of action items for the selling partner. When you specify multiple filters, only action items that match all of them are returned. When you specify multiple values for one filter, action items that match any of those values are returned. * @param {Object} [opts] Optional parameters * @param {String[]} [opts.statuses] Filter by status (OR match). * @param {String[]} [opts.classifications] Filter by classification (OR match). * @param {String[]} [opts.typeDefinitionIds] Filter by action item type definition IDs. Multiple values allowed. * @param {String[]} [opts.marketplaceIds] Filter by marketplace IDs. * @param {Date} [opts.updatedAfter] Retrieve items last updated at or after this time. When used with `updatedBefore`, this value must be earlier than `updatedBefore`. * @param {Date} [opts.updatedBefore] Retrieve items last updated at or before this time. When used with `updatedAfter`, this value must be later than `updatedAfter`. * @param {String[]} [opts.includedData] A list of optional datasets to include in the response. When omitted, only core action item fields are returned. * @param {String} [opts.sortBy] How to sort results. Defaults to recommended. (default to 'recommended') * @param {String} [opts.sortOrder] The sort order. Defaults to `DESC`. (default to 'DESC') * @param {Number} [opts.pageSize] Number of results per page. (default to 10) * @param {String} [opts.pageToken] A token to retrieve a specific page of results. Pass the nextToken or previousToken value from a previous response. * @param {String} [opts.locale] The BCP 47 locale for localized content. Defaults to `en-US`. * @return {Promise} */ listActionItemsWithHttpInfo(opts?: { statuses?: string[]; classifications?: string[]; typeDefinitionIds?: string[]; marketplaceIds?: string[]; updatedAfter?: Date; updatedBefore?: Date; includedData?: string[]; sortBy?: string; sortOrder?: string; pageSize?: number; pageToken?: string; locale?: string; }): Promise; /** * List action items. * Retrieve a paginated, filterable list of action items for the selling partner. When you specify multiple filters, only action items that match all of them are returned. When you specify multiple values for one filter, action items that match any of those values are returned. * @param {Object} [opts] Optional parameters * @param {String[]} [opts.statuses] Filter by status (OR match). * @param {String[]} [opts.classifications] Filter by classification (OR match). * @param {String[]} [opts.typeDefinitionIds] Filter by action item type definition IDs. Multiple values allowed. * @param {String[]} [opts.marketplaceIds] Filter by marketplace IDs. * @param {Date} [opts.updatedAfter] Retrieve items last updated at or after this time. When used with `updatedBefore`, this value must be earlier than `updatedBefore`. * @param {Date} [opts.updatedBefore] Retrieve items last updated at or before this time. When used with `updatedAfter`, this value must be later than `updatedAfter`. * @param {String[]} [opts.includedData] A list of optional datasets to include in the response. When omitted, only core action item fields are returned. * @param {String} [opts.sortBy] How to sort results. Defaults to recommended. (default to 'recommended') * @param {String} [opts.sortOrder] The sort order. Defaults to `DESC`. (default to 'DESC') * @param {Number} [opts.pageSize] Number of results per page. (default to 10) * @param {String} [opts.pageToken] A token to retrieve a specific page of results. Pass the nextToken or previousToken value from a previous response. * @param {String} [opts.locale] The BCP 47 locale for localized content. Defaults to `en-US`. * @return {Promise} */ listActionItems(opts?: { statuses?: string[]; classifications?: string[]; typeDefinitionIds?: string[]; marketplaceIds?: string[]; updatedAfter?: Date; updatedBefore?: Date; includedData?: string[]; sortBy?: string; sortOrder?: string; pageSize?: number; pageToken?: string; locale?: string; }): Promise; } //# sourceMappingURL=ItemsApi.d.ts.map