/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { DeprecatedWorkflow, PageBeanWorkflow } from '../models'; export interface GetAllWorkflowsRequest { workflowName?: string; } export interface GetWorkflowsPaginatedRequest { startAt?: number; maxResults?: number; workflowName?: Array; expand?: string; } /** * no description */ export declare class WorkflowsApi extends runtime.BaseAPI { /** * Returns all workflows in Jira or a workflow. Deprecated, use [Get workflows paginated](#api-rest-api-3-workflow-search-get). If the `workflowName` parameter is specified, the workflow is returned as an object (not in an array). Otherwise, an array of workflow objects is returned. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Get all workflows */ getAllWorkflowsRaw(requestParameters: GetAllWorkflowsRequest): Promise>>; /** * Returns all workflows in Jira or a workflow. Deprecated, use [Get workflows paginated](#api-rest-api-3-workflow-search-get). If the `workflowName` parameter is specified, the workflow is returned as an object (not in an array). Otherwise, an array of workflow objects is returned. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Get all workflows */ getAllWorkflows(requestParameters: GetAllWorkflowsRequest): Promise>; /** * Returns a [paginated](#pagination) list of published classic workflows. When workflow names are specified, details of those workflows are returned. Otherwise, all published classic workflows are returned. This operation does not return next-gen workflows. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Get workflows paginated */ getWorkflowsPaginatedRaw(requestParameters: GetWorkflowsPaginatedRequest): Promise>; /** * Returns a [paginated](#pagination) list of published classic workflows. When workflow names are specified, details of those workflows are returned. Otherwise, all published classic workflows are returned. This operation does not return next-gen workflows. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Get workflows paginated */ getWorkflowsPaginated(requestParameters: GetWorkflowsPaginatedRequest): Promise; }