/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.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 { Gate, GateCreateRequest, GateUpdateRequest, GatesResponse } from '../models'; export interface CreateGateRequest { environmentId: string; gateCreateRequest: GateCreateRequest; } export interface DeleteGateRequest { environmentId: string; gateId: string; } export interface DisableGateRequest { environmentId: string; gateId: string; } export interface EnableGateRequest { environmentId: string; gateId: string; } export interface GetEnvironmentGatesRequest { environmentId: string; } export interface GetGateRequest { environmentId: string; gateId: string; } export interface UpdateGateRequest { environmentId: string; gateId: string; gateUpdateRequest: GateUpdateRequest; } /** * */ export declare class GatesApi extends runtime.BaseAPI { /** * Creates a new gate configuration for the specified environment. * Create a gate for the environment */ createGateRaw(requestParameters: CreateGateRequest, initOverrides?: RequestInit): Promise>; /** * Creates a new gate configuration for the specified environment. * Create a gate for the environment */ createGate(requestParameters: CreateGateRequest, initOverrides?: RequestInit): Promise; /** * Permanently removes the specified gate. * Delete a gate */ deleteGateRaw(requestParameters: DeleteGateRequest, initOverrides?: RequestInit): Promise>; /** * Permanently removes the specified gate. * Delete a gate */ deleteGate(requestParameters: DeleteGateRequest, initOverrides?: RequestInit): Promise; /** * Disables the specified gate for the environment. * Disable the gate for the environment */ disableGateRaw(requestParameters: DisableGateRequest, initOverrides?: RequestInit): Promise>; /** * Disables the specified gate for the environment. * Disable the gate for the environment */ disableGate(requestParameters: DisableGateRequest, initOverrides?: RequestInit): Promise; /** * Enables the specified gate for the environment. * Enable the gate for the environment */ enableGateRaw(requestParameters: EnableGateRequest, initOverrides?: RequestInit): Promise>; /** * Enables the specified gate for the environment. * Enable the gate for the environment */ enableGate(requestParameters: EnableGateRequest, initOverrides?: RequestInit): Promise; /** * Returns the gates for the specified environment. * Get the gates for an environment */ getEnvironmentGatesRaw(requestParameters: GetEnvironmentGatesRequest, initOverrides?: RequestInit): Promise>; /** * Returns the gates for the specified environment. * Get the gates for an environment */ getEnvironmentGates(requestParameters: GetEnvironmentGatesRequest, initOverrides?: RequestInit): Promise; /** * Returns a single gate by its unique identifier. * Gets a gate */ getGateRaw(requestParameters: GetGateRequest, initOverrides?: RequestInit): Promise>; /** * Returns a single gate by its unique identifier. * Gets a gate */ getGate(requestParameters: GetGateRequest, initOverrides?: RequestInit): Promise; /** * Updates the configuration of the specified gate. * Updates a gate */ updateGateRaw(requestParameters: UpdateGateRequest, initOverrides?: RequestInit): Promise>; /** * Updates the configuration of the specified gate. * Updates a gate */ updateGate(requestParameters: UpdateGateRequest, initOverrides?: RequestInit): Promise; }