/** * 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 { Exchange, ExchangeCreateRequest, ExchangeResponse } from '../models'; export interface CreateExchangeRequest { environmentId: string; exchangeCreateRequest: ExchangeCreateRequest; } export interface DeleteExchangeRequest { exchangeId: string; } export interface DisableExchangeRequest { exchangeId: string; } export interface EnableExchangeRequest { exchangeId: string; } export interface GetEnvironmentExchangesRequest { environmentId: string; } export interface GetExchangeRequest { exchangeId: string; } /** * */ export declare class ExchangesApi extends runtime.BaseAPI { /** * Creates a new exchange for the specified environment. * Create an exchange for the environment */ createExchangeRaw(requestParameters: CreateExchangeRequest, initOverrides?: RequestInit): Promise>; /** * Creates a new exchange for the specified environment. * Create an exchange for the environment */ createExchange(requestParameters: CreateExchangeRequest, initOverrides?: RequestInit): Promise; /** * Permanently removes the specified exchange. * Delete an exchange by exchangeId */ deleteExchangeRaw(requestParameters: DeleteExchangeRequest, initOverrides?: RequestInit): Promise>; /** * Permanently removes the specified exchange. * Delete an exchange by exchangeId */ deleteExchange(requestParameters: DeleteExchangeRequest, initOverrides?: RequestInit): Promise; /** * Disables the specified exchange for the environment. * Disable the exchange for the environment */ disableExchangeRaw(requestParameters: DisableExchangeRequest, initOverrides?: RequestInit): Promise>; /** * Disables the specified exchange for the environment. * Disable the exchange for the environment */ disableExchange(requestParameters: DisableExchangeRequest, initOverrides?: RequestInit): Promise; /** * Enables the specified exchange for the environment. * Enable the exchange for the environment */ enableExchangeRaw(requestParameters: EnableExchangeRequest, initOverrides?: RequestInit): Promise>; /** * Enables the specified exchange for the environment. * Enable the exchange for the environment */ enableExchange(requestParameters: EnableExchangeRequest, initOverrides?: RequestInit): Promise; /** * Returns the exchanges for the specified environment. * Get the exchanges for an environment */ getEnvironmentExchangesRaw(requestParameters: GetEnvironmentExchangesRequest, initOverrides?: RequestInit): Promise>; /** * Returns the exchanges for the specified environment. * Get the exchanges for an environment */ getEnvironmentExchanges(requestParameters: GetEnvironmentExchangesRequest, initOverrides?: RequestInit): Promise; /** * Returns a single exchange by its unique identifier. * Gets an exchange */ getExchangeRaw(requestParameters: GetExchangeRequest, initOverrides?: RequestInit): Promise>; /** * Returns a single exchange by its unique identifier. * Gets an exchange */ getExchange(requestParameters: GetExchangeRequest, initOverrides?: RequestInit): Promise; }