UNPKG

@thlmenezes/sdk-js

Version:

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

37 lines (36 loc) 1.59 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 { Application } from '../../generated/models'; import { ApplicationEnvironmentCreate } from '../../generated/models'; import { ApplicationRelation } from '../../generated/models'; /** * EnvironmentsApplicationsApiService - Auto-generated */ export declare class EnvironmentsApplicationsApiService extends ApiBaseService { /** * * @summary Create a new application * @param {number} environmentId The ID of the environment. * @param {ApplicationEnvironmentCreate} applicationEnvironmentCreate A JSON object containing the resource data */ addEnvironmentApplication(environmentId: number, applicationEnvironmentCreate: ApplicationEnvironmentCreate): Promise<ApiResponse<Application>>; /** * * @summary Return a list of all Applications belonging to an environment * @param {number} environmentId The ID of the environment. * @param {number} [page] Number of the page to be retrieved * @param {number} [perPage] Number of items returned per page */ listEnvironmentApplications(environmentId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<ApplicationRelation>>>; }