/** * Section API * Get edgey with the Section API * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { OutagePage } from '../models'; /** * OutagePageApi - axios parameter creator * @export */ export declare const OutagePageApiAxiosParamCreator: (configuration?: Configuration) => { /** * Disengage the outage page for the specified environment * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePageDelete: (accountId: number, applicationId: number, environmentName: string, options?: any) => Promise; /** * Lists the available outage pages * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePageGet: (accountId: number, applicationId: number, environmentName: string, options?: any) => Promise; /** * Engage the specified outage page * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} pageName Name of the outage page to engage * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePagePost: (accountId: number, applicationId: number, environmentName: string, pageName: string, options?: any) => Promise; }; /** * OutagePageApi - functional programming interface * @export */ export declare const OutagePageApiFp: (configuration?: Configuration) => { /** * Disengage the outage page for the specified environment * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePageDelete(accountId: number, applicationId: number, environmentName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Lists the available outage pages * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePageGet(accountId: number, applicationId: number, environmentName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Engage the specified outage page * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} pageName Name of the outage page to engage * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePagePost(accountId: number, applicationId: number, environmentName: string, pageName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * OutagePageApi - factory interface * @export */ export declare const OutagePageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Disengage the outage page for the specified environment * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePageDelete(accountId: number, applicationId: number, environmentName: string, options?: any): AxiosPromise; /** * Lists the available outage pages * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePageGet(accountId: number, applicationId: number, environmentName: string, options?: any): AxiosPromise>; /** * Engage the specified outage page * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} pageName Name of the outage page to engage * @param {*} [options] Override http request option. * @throws {RequiredError} */ outagePagePost(accountId: number, applicationId: number, environmentName: string, pageName: string, options?: any): AxiosPromise; }; /** * OutagePageApi - object-oriented interface * @export * @class OutagePageApi * @extends {BaseAPI} */ export declare class OutagePageApi extends BaseAPI { /** * Disengage the outage page for the specified environment * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OutagePageApi */ outagePageDelete(accountId: number, applicationId: number, environmentName: string, options?: any): Promise>; /** * Lists the available outage pages * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OutagePageApi */ outagePageGet(accountId: number, applicationId: number, environmentName: string, options?: any): Promise>; /** * Engage the specified outage page * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} pageName Name of the outage page to engage * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof OutagePageApi */ outagePagePost(accountId: number, applicationId: number, environmentName: string, pageName: string, options?: any): Promise>; }