/** * The Selling Partner API for Action Plans * The Action Plans API allows you to create, configure, and execute action plans from pre-defined templates or custom-built workflows. * * 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 { CreateActionPlanRequest } from '../model/CreateActionPlanRequest.js'; import { GetActionPlanResponse } from '../model/GetActionPlanResponse.js'; import { ListActionPlansResponse } from '../model/ListActionPlansResponse.js'; /** * ActionPlans service. * @module actionplans_v2026_06_01/api/ActionPlansApi * @version 2026-06-01 */ export declare class ActionPlansApi { #private; apiClient: any; /** * Constructs a new ActionPlansApi. * @alias module:actionplans_v2026_06_01/api/ActionPlansApi * @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; /** * Create an action plan. * Creates an action plan from a template. Use `mode=PREVIEW` to return the plan without creating or executing it. Omit `mode` to create the plan and submit it for execution. * @param {CreateActionPlanRequest} body The request for action plan creation. * @param {Object} [opts] Optional parameters * @param {String} [opts.mode] The mode of operation. Set `PREVIEW` to return the plan without creating or executing it. Omit `mode` to create the plan and submit it for execution. * @param {String} [opts.locale] The locale for localized content, as an ISO 639 language code and ISO 3166 country code separated by a hyphen. Defaults to `en-US`. * @return {Promise} */ createActionPlanWithHttpInfo(body: CreateActionPlanRequest, opts?: { mode?: string; locale?: string; }): Promise; /** * Create an action plan. * Creates an action plan from a template. Use `mode=PREVIEW` to return the plan without creating or executing it. Omit `mode` to create the plan and submit it for execution. * @param {CreateActionPlanRequest} body The request for action plan creation. * @param {Object} [opts] Optional parameters * @param {String} [opts.mode] The mode of operation. Set `PREVIEW` to return the plan without creating or executing it. Omit `mode` to create the plan and submit it for execution. * @param {String} [opts.locale] The locale for localized content, as an ISO 639 language code and ISO 3166 country code separated by a hyphen. Defaults to `en-US`. * @return {Promise} */ createActionPlan(body: CreateActionPlanRequest, opts?: { mode?: string; locale?: string; }): Promise; /** * Get an action plan. * Returns an action plan by ID. Use `includedData=steps` to include the plan's steps with their resolved input and output values. * @param {String} actionPlanId The unique identifier of the action plan (UUID). * @param {Object} [opts] Optional parameters * @param {String} [opts.locale] The locale for localized content, as an ISO 639 language code and ISO 3166 country code separated by a hyphen. Defaults to `en-US`. * @param {String[]} [opts.includedData] Additional data to include in the response. Include `steps` to include the plan's steps with their resolved input and output values. * @return {Promise} */ getActionPlanWithHttpInfo(actionPlanId: string, opts?: { locale?: string; includedData?: string[]; }): Promise; /** * Get an action plan. * Returns an action plan by ID. Use `includedData=steps` to include the plan's steps with their resolved input and output values. * @param {String} actionPlanId The unique identifier of the action plan (UUID). * @param {Object} [opts] Optional parameters * @param {String} [opts.locale] The locale for localized content, as an ISO 639 language code and ISO 3166 country code separated by a hyphen. Defaults to `en-US`. * @param {String[]} [opts.includedData] Additional data to include in the response. Include `steps` to include the plan's steps with their resolved input and output values. * @return {Promise} */ getActionPlan(actionPlanId: string, opts?: { locale?: string; includedData?: string[]; }): Promise; /** * List action plans. * Returns a paginated list of the seller's action plans, sorted newest first by `createdDate`. Multiple filters are combined with a logical AND. Multiple values in a single filter are combined with a logical OR. * @param {Object} [opts] Optional parameters * @param {String[]} [opts.statuses] Filters by plan status. * @param {String[]} [opts.planTemplateIds] Filters by plan template IDs. Multiple values allowed. * @param {String[]} [opts.actionItemIds] Filters by associated action item IDs. Multiple values allowed. * @param {Date} [opts.createdAfter] Plans created at or after this timestamp. Timestamp is in ISO 8601 format. * @param {Date} [opts.createdBefore] Plans created at or before this timestamp. Timestamp is in ISO 8601 format. * @param {Number} [opts.pageSize] Maximum number of results per page. (default to 10) * @param {String} [opts.pageToken] A token to retrieve a specific page of results. Pass the `nextToken` value from a previous response. **Note:** The `previousToken` value is not yet supported. * @param {String} [opts.locale] The locale for localized content, as an ISO 639 language code and ISO 3166 country code separated by a hyphen. Defaults to `en-US`. * @param {String[]} [opts.includedData] Additional data to return in the response. Specify `steps` to return each plan's steps with their resolved input and output values. * @return {Promise} */ listActionPlansWithHttpInfo(opts?: { statuses?: string[]; planTemplateIds?: string[]; actionItemIds?: string[]; createdAfter?: Date; createdBefore?: Date; pageSize?: number; pageToken?: string; locale?: string; includedData?: string[]; }): Promise; /** * List action plans. * Returns a paginated list of the seller's action plans, sorted newest first by `createdDate`. Multiple filters are combined with a logical AND. Multiple values in a single filter are combined with a logical OR. * @param {Object} [opts] Optional parameters * @param {String[]} [opts.statuses] Filters by plan status. * @param {String[]} [opts.planTemplateIds] Filters by plan template IDs. Multiple values allowed. * @param {String[]} [opts.actionItemIds] Filters by associated action item IDs. Multiple values allowed. * @param {Date} [opts.createdAfter] Plans created at or after this timestamp. Timestamp is in ISO 8601 format. * @param {Date} [opts.createdBefore] Plans created at or before this timestamp. Timestamp is in ISO 8601 format. * @param {Number} [opts.pageSize] Maximum number of results per page. (default to 10) * @param {String} [opts.pageToken] A token to retrieve a specific page of results. Pass the `nextToken` value from a previous response. **Note:** The `previousToken` value is not yet supported. * @param {String} [opts.locale] The locale for localized content, as an ISO 639 language code and ISO 3166 country code separated by a hyphen. Defaults to `en-US`. * @param {String[]} [opts.includedData] Additional data to return in the response. Specify `steps` to return each plan's steps with their resolved input and output values. * @return {Promise} */ listActionPlans(opts?: { statuses?: string[]; planTemplateIds?: string[]; actionItemIds?: string[]; createdAfter?: Date; createdBefore?: Date; pageSize?: number; pageToken?: string; locale?: string; includedData?: string[]; }): Promise; } //# sourceMappingURL=ActionPlansApi.d.ts.map