/** * 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 { IssueLinkType, IssueLinkTypes } from '../models'; export interface CreateIssueLinkTypeRequest { IssueLinkType: IssueLinkType; } export interface DeleteIssueLinkTypeRequest { issueLinkTypeId: string; } export interface GetIssueLinkTypeRequest { issueLinkTypeId: string; } export interface UpdateIssueLinkTypeRequest { issueLinkTypeId: string; IssueLinkType: IssueLinkType; } /** * no description */ export declare class IssueLinkTypesApi extends runtime.BaseAPI { /** * Creates an issue link type. Use this operation to create descriptions of the reasons why issues are linked. The issue link type consists of a name and descriptions for a link\'s inward and outward relationships. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Create issue link type */ createIssueLinkTypeRaw(requestParameters: CreateIssueLinkTypeRequest): Promise>; /** * Creates an issue link type. Use this operation to create descriptions of the reasons why issues are linked. The issue link type consists of a name and descriptions for a link\'s inward and outward relationships. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Create issue link type */ createIssueLinkType(requestParameters: CreateIssueLinkTypeRequest): Promise; /** * Deletes an issue link type. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Delete issue link type */ deleteIssueLinkTypeRaw(requestParameters: DeleteIssueLinkTypeRequest): Promise>; /** * Deletes an issue link type. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Delete issue link type */ deleteIssueLinkType(requestParameters: DeleteIssueLinkTypeRequest): Promise; /** * Returns an issue link type. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. This operation can be accessed anonymously. **[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for a project in the site. * Get issue link type */ getIssueLinkTypeRaw(requestParameters: GetIssueLinkTypeRequest): Promise>; /** * Returns an issue link type. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. This operation can be accessed anonymously. **[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for a project in the site. * Get issue link type */ getIssueLinkType(requestParameters: GetIssueLinkTypeRequest): Promise; /** * Returns a list of all issue link types. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. This operation can be accessed anonymously. **[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for a project in the site. * Get issue link types */ getIssueLinkTypesRaw(): Promise>; /** * Returns a list of all issue link types. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. This operation can be accessed anonymously. **[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for a project in the site. * Get issue link types */ getIssueLinkTypes(): Promise; /** * Updates an issue link type. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Update issue link type */ updateIssueLinkTypeRaw(requestParameters: UpdateIssueLinkTypeRequest): Promise>; /** * Updates an issue link type. To use this operation, the site must have [issue linking](https://confluence.atlassian.com/x/yoXKM) enabled. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). * Update issue link type */ updateIssueLinkType(requestParameters: UpdateIssueLinkTypeRequest): Promise; }