/** * 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 { StatusDetails } from '../models'; export interface GetStatusRequest { idOrName: string; } /** * no description */ export declare class WorkflowStatusesApi extends runtime.BaseAPI { /** * Returns a status. The status must be associated with a workflow to be returned. If a name is used on more than one status, only the status found first is returned. Therefore, identifying the status by its ID may be preferable. This operation can be accessed anonymously. [Permissions](#permissions) required: None. * Get status */ getStatusRaw(requestParameters: GetStatusRequest): Promise>; /** * Returns a status. The status must be associated with a workflow to be returned. If a name is used on more than one status, only the status found first is returned. Therefore, identifying the status by its ID may be preferable. This operation can be accessed anonymously. [Permissions](#permissions) required: None. * Get status */ getStatus(requestParameters: GetStatusRequest): Promise; /** * Returns a list of all statuses associated with workflows. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Get all statuses */ getStatusesRaw(): Promise>>; /** * Returns a list of all statuses associated with workflows. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None. * Get all statuses */ getStatuses(): Promise>; }