UNPKG

@devopness/sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

51 lines (50 loc) 1.98 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ApiBaseService } from "../../../services/ApiBaseService"; import { ApiResponse } from "../../../common/ApiResponse"; import { Step } from '../../generated/models'; import { StepPipelineCreate } from '../../generated/models'; import { StepPipelineUpdate } from '../../generated/models'; /** * PipelinesStepsApiService - Auto-generated */ export declare class PipelinesStepsApiService extends ApiBaseService { /** * * @summary Add a step to a pipeline * @param {number} pipelineId The ID of the pipeline. * @param {StepPipelineCreate} stepPipelineCreate A JSON object containing the resource data */ addPipelineStep(pipelineId: number, stepPipelineCreate: StepPipelineCreate): Promise<ApiResponse<Step>>; /** * * @summary Link a step to a Pipeline * @param {number} pipelineId The ID of the pipeline. * @param {number} stepId The ID of the step. */ linkStepToPipeline(pipelineId: number, stepId: number): Promise<ApiResponse<void>>; /** * * @summary Unlink a step from a Pipeline * @param {number} pipelineId The ID of the pipeline. * @param {number} stepId The ID of the step. */ unlinkStepFromPipeline(pipelineId: number, stepId: number): Promise<ApiResponse<void>>; /** * * @summary Update an existing Pipeline Step * @param {number} pipelineId The ID of the pipeline. * @param {number} stepId The ID of the step. * @param {StepPipelineUpdate} stepPipelineUpdate A JSON object containing the resource data */ updatePipelineStep(pipelineId: number, stepId: number, stepPipelineUpdate: StepPipelineUpdate): Promise<ApiResponse<void>>; }