/** * 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 { WorkflowTransitionProperty } from '../models'; export interface CreateWorkflowTransitionPropertyRequest { transitionId: number; key: string; workflowName: string; request_body: { [key: string]: object; }; workflowMode?: CreateWorkflowTransitionPropertyWorkflowModeEnum; } export interface DeleteWorkflowTransitionPropertyRequest { transitionId: number; key: string; workflowName: string; workflowMode?: DeleteWorkflowTransitionPropertyWorkflowModeEnum; } export interface GetWorkflowTransitionPropertiesRequest { transitionId: number; workflowName: string; includeReservedKeys?: boolean; key?: string; workflowMode?: GetWorkflowTransitionPropertiesWorkflowModeEnum; } export interface UpdateWorkflowTransitionPropertyRequest { transitionId: number; key: string; workflowName: string; request_body: { [key: string]: object; }; workflowMode?: UpdateWorkflowTransitionPropertyWorkflowModeEnum; } /** * no description */ export declare class WorkflowTransitionPropertiesApi extends runtime.BaseAPI { /** * Adds a property to a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Create workflow transition property */ createWorkflowTransitionPropertyRaw(requestParameters: CreateWorkflowTransitionPropertyRequest): Promise>; /** * Adds a property to a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Create workflow transition property */ createWorkflowTransitionProperty(requestParameters: CreateWorkflowTransitionPropertyRequest): Promise; /** * Deletes a property from a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Delete workflow transition property */ deleteWorkflowTransitionPropertyRaw(requestParameters: DeleteWorkflowTransitionPropertyRequest): Promise>; /** * Deletes a property from a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Delete workflow transition property */ deleteWorkflowTransitionProperty(requestParameters: DeleteWorkflowTransitionPropertyRequest): Promise; /** * Returns the properties on a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Get workflow transition properties */ getWorkflowTransitionPropertiesRaw(requestParameters: GetWorkflowTransitionPropertiesRequest): Promise>; /** * Returns the properties on a workflow transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Get workflow transition properties */ getWorkflowTransitionProperties(requestParameters: GetWorkflowTransitionPropertiesRequest): Promise; /** * Updates a workflow transition by changing the property value. Trying to update a property that does not exist results in a new property being added to the transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Update workflow transition property */ updateWorkflowTransitionPropertyRaw(requestParameters: UpdateWorkflowTransitionPropertyRequest): Promise>; /** * Updates a workflow transition by changing the property value. Trying to update a property that does not exist results in a new property being added to the transition. Transition properties are used to change the behavior of a transition. For more information, see [Transition properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties) and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg). **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Update workflow transition property */ updateWorkflowTransitionProperty(requestParameters: UpdateWorkflowTransitionPropertyRequest): Promise; } /** * @export * @enum {string} */ export declare enum CreateWorkflowTransitionPropertyWorkflowModeEnum { Live = "live", Draft = "draft" } /** * @export * @enum {string} */ export declare enum DeleteWorkflowTransitionPropertyWorkflowModeEnum { Live = "live", Draft = "draft" } /** * @export * @enum {string} */ export declare enum GetWorkflowTransitionPropertiesWorkflowModeEnum { Live = "live", Draft = "draft" } /** * @export * @enum {string} */ export declare enum UpdateWorkflowTransitionPropertyWorkflowModeEnum { Live = "live", Draft = "draft" }