/** * 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 { ScreenID, WorkflowRules } from './'; /** * Details of a workflow transition. * @export * @interface Transition */ export interface Transition { /** * The ID of the transition. * @type {string} * @memberof Transition */ id: string; /** * * @type {WorkflowRules} * @memberof Transition */ rules?: WorkflowRules; /** * The name of the transition. * @type {string} * @memberof Transition */ name: string; /** * The description of the transition. * @type {string} * @memberof Transition */ description: string; /** * The type of the transition. * @type {string} * @memberof Transition */ type: TransitionTypeEnum; /** * The status to which the transition leads. * @type {string} * @memberof Transition */ to: string; /** * * @type {ScreenID} * @memberof Transition */ screen?: ScreenID; /** * The list of statuses from which the transition can be taken. * @type {Array} * @memberof Transition */ from: Array; } export declare function TransitionFromJSON(json: any): Transition; export declare function TransitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Transition; export declare function TransitionToJSON(value?: Transition): any; /** * @export * @enum {string} */ export declare enum TransitionTypeEnum { Global = "global", Initial = "initial", Directed = "directed" }