/** * Jira Software Cloud API * Jira Software Cloud REST API documentation * * The version of the OpenAPI document: 1001.0.0 * * * 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 { BodiesStoreDevelopmentInformation, InlineResponse2004, InlineResponse2005, InlineResponse202 } from '../models'; export interface DeleteByPropertiesRequest { Authorization: string; _updateSequenceId?: number; } export interface DeleteEntityRequest { repositoryId: string; entityType: DeleteEntityEntityTypeEnum; entityId: string; Authorization: string; _updateSequenceId?: number; } export interface DeleteRepositoryRequest { repositoryId: string; Authorization: string; _updateSequenceId?: number; } export interface ExistsByPropertiesRequest { Authorization: string; _updateSequenceId?: number; } export interface GetRepositoryRequest { repositoryId: string; Authorization: string; } export interface StoreDevelopmentInformationRequest { Authorization: string; BodiesStoreDevelopmentInformation: BodiesStoreDevelopmentInformation; } /** * no description */ export declare class DevelopmentInformationApi extends runtime.BaseAPI { /** * Deletes development information entities which have all the provided properties. Entities will be deleted that match ALL of the properties (i.e. treated as an AND). For example if request is DELETE bulk?accountId=123&projectId=ABC entities which have properties accountId=123 and projectId=ABC will be deleted. Special property \'\\_updateSequenceId\' can be used to delete all entities with updateSequenceId less or equal than the value specified. In addition to the optional \'\\_updateSequenceId\', one or more query params must be supplied to specify properties to delete by. Deletion is performed asynchronously: specified entities will eventually be removed from Jira. * Delete development information by properties */ deleteByPropertiesRaw(requestParameters: DeleteByPropertiesRequest): Promise>; /** * Deletes development information entities which have all the provided properties. Entities will be deleted that match ALL of the properties (i.e. treated as an AND). For example if request is DELETE bulk?accountId=123&projectId=ABC entities which have properties accountId=123 and projectId=ABC will be deleted. Special property \'\\_updateSequenceId\' can be used to delete all entities with updateSequenceId less or equal than the value specified. In addition to the optional \'\\_updateSequenceId\', one or more query params must be supplied to specify properties to delete by. Deletion is performed asynchronously: specified entities will eventually be removed from Jira. * Delete development information by properties */ deleteByProperties(requestParameters: DeleteByPropertiesRequest): Promise; /** * Deletes particular development information entity. Deletion is performed asynchronously. * Delete development information entity */ deleteEntityRaw(requestParameters: DeleteEntityRequest): Promise>; /** * Deletes particular development information entity. Deletion is performed asynchronously. * Delete development information entity */ deleteEntity(requestParameters: DeleteEntityRequest): Promise; /** * Deletes the repository data stored by the given ID and all related development information entities. Deletion is performed asynchronously. * Delete repository */ deleteRepositoryRaw(requestParameters: DeleteRepositoryRequest): Promise>; /** * Deletes the repository data stored by the given ID and all related development information entities. Deletion is performed asynchronously. * Delete repository */ deleteRepository(requestParameters: DeleteRepositoryRequest): Promise; /** * Checks if development information which have all the provided properties exists. For example, if request is GET existsByProperties?accountId=123&projectId=ABC then result will be positive only if there is at least one entity or repository with both properties accountId=123 and projectId=ABC. Special property \'\\_updateSequenceId\' can be used to filter all entities with updateSequenceId less or equal than the value specified. In addition to the optional \'\\_updateSequenceId\', one or more query params must be supplied to specify properties to search by. * Check if data exists for the supplied properties */ existsByPropertiesRaw(requestParameters: ExistsByPropertiesRequest): Promise>; /** * Checks if development information which have all the provided properties exists. For example, if request is GET existsByProperties?accountId=123&projectId=ABC then result will be positive only if there is at least one entity or repository with both properties accountId=123 and projectId=ABC. Special property \'\\_updateSequenceId\' can be used to filter all entities with updateSequenceId less or equal than the value specified. In addition to the optional \'\\_updateSequenceId\', one or more query params must be supplied to specify properties to search by. * Check if data exists for the supplied properties */ existsByProperties(requestParameters: ExistsByPropertiesRequest): Promise; /** * For the specified repository ID, retrieves the repository and the most recent 400 development information entities. The result will be what is currently stored, ignoring any pending updates or deletes. * Get repository */ getRepositoryRaw(requestParameters: GetRepositoryRequest): Promise>; /** * For the specified repository ID, retrieves the repository and the most recent 400 development information entities. The result will be what is currently stored, ignoring any pending updates or deletes. * Get repository */ getRepository(requestParameters: GetRepositoryRequest): Promise; /** * Stores development information provided in the request to make it available when viewing issues in JIRA. Existing repository and entity data for the same ID will be replaced if the updateSequenceId of existing data is less than the incoming data. Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. * Store development information */ storeDevelopmentInformationRaw(requestParameters: StoreDevelopmentInformationRequest): Promise>; /** * Stores development information provided in the request to make it available when viewing issues in JIRA. Existing repository and entity data for the same ID will be replaced if the updateSequenceId of existing data is less than the incoming data. Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. * Store development information */ storeDevelopmentInformation(requestParameters: StoreDevelopmentInformationRequest): Promise; } /** * @export * @enum {string} */ export declare enum DeleteEntityEntityTypeEnum { Commit = "commit", Branch = "branch", PullRequest = "pull_request" }