UNPKG

devopness-sdk-js

Version:

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

34 lines (33 loc) 1.34 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 { Environment } from '../../generated/models'; import { EnvironmentCreate } from '../../generated/models'; /** * ProjectsEnvironmentsApiService - Auto-generated */ export declare class ProjectsEnvironmentsApiService extends ApiBaseService { /** * * @summary Create a new environment, on the current project * @param {number} projectId Numeric ID of the project to which an environment will be added * @param {EnvironmentCreate} environmentCreate A JSON object containing environment data */ addEnvironmentToProject(projectId: number, environmentCreate: EnvironmentCreate): Promise<ApiResponse<void>>; /** * * @summary Returns a list of all environments belonging to a project * @param {number} projectId Numeric ID of the project to get environments from */ listProjectEnvironments(projectId: number): Promise<ApiResponse<Array<Environment>>>; }