/** * 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 { Body2 } from '../models'; import { DomainEngaged } from '../models'; import { EnvironmentSummary } from '../models'; import { HttpsConfiguration } from '../models'; import { HttpsSetConfiguration } from '../models'; /** * DomainApi - axios parameter creator * @export */ export declare const DomainApiAxiosParamCreator: (configuration?: Configuration) => { /** * Add a domain to an environment. If there is no certificate passed in the body, a Let's Encrypt certificate will be generated for this domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {Body2} [body] Certificate payload * @param {*} [options] Override http request option. * @throws {RequiredError} */ environmentAddDomain: (accountId: number, applicationId: number, environmentName: string, hostName: string, body?: Body2, options?: any) => Promise; /** * Remove a domain from an environment. Will also remove any certificate linked to the domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ environmentRemoveDomain: (accountId: number, applicationId: number, environmentName: string, hostName: string, options?: any) => Promise; /** * Get https configuration * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getConfiguration: (accountId: number, hostName: string, options?: any) => Promise; /** * Set https configuration * @param {HttpsSetConfiguration} body Https Set Configuration Payload * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ postConfiguration: (body: HttpsSetConfiguration, accountId: number, hostName: string, options?: any) => Promise; /** * Renew certificate * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ renewCertificate: (accountId: number, hostName: string, options?: any) => Promise; /** * Checks if domain is configured to route traffic * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ verifyEngaged: (accountId: number, hostName: string, options?: any) => Promise; }; /** * DomainApi - functional programming interface * @export */ export declare const DomainApiFp: (configuration?: Configuration) => { /** * Add a domain to an environment. If there is no certificate passed in the body, a Let's Encrypt certificate will be generated for this domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {Body2} [body] Certificate payload * @param {*} [options] Override http request option. * @throws {RequiredError} */ environmentAddDomain(accountId: number, applicationId: number, environmentName: string, hostName: string, body?: Body2, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Remove a domain from an environment. Will also remove any certificate linked to the domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ environmentRemoveDomain(accountId: number, applicationId: number, environmentName: string, hostName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get https configuration * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getConfiguration(accountId: number, hostName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Set https configuration * @param {HttpsSetConfiguration} body Https Set Configuration Payload * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ postConfiguration(body: HttpsSetConfiguration, accountId: number, hostName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Renew certificate * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ renewCertificate(accountId: number, hostName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Checks if domain is configured to route traffic * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ verifyEngaged(accountId: number, hostName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DomainApi - factory interface * @export */ export declare const DomainApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Add a domain to an environment. If there is no certificate passed in the body, a Let's Encrypt certificate will be generated for this domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {Body2} [body] Certificate payload * @param {*} [options] Override http request option. * @throws {RequiredError} */ environmentAddDomain(accountId: number, applicationId: number, environmentName: string, hostName: string, body?: Body2, options?: any): AxiosPromise; /** * Remove a domain from an environment. Will also remove any certificate linked to the domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ environmentRemoveDomain(accountId: number, applicationId: number, environmentName: string, hostName: string, options?: any): AxiosPromise; /** * Get https configuration * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getConfiguration(accountId: number, hostName: string, options?: any): AxiosPromise; /** * Set https configuration * @param {HttpsSetConfiguration} body Https Set Configuration Payload * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ postConfiguration(body: HttpsSetConfiguration, accountId: number, hostName: string, options?: any): AxiosPromise; /** * Renew certificate * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ renewCertificate(accountId: number, hostName: string, options?: any): AxiosPromise; /** * Checks if domain is configured to route traffic * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ verifyEngaged(accountId: number, hostName: string, options?: any): AxiosPromise; }; /** * DomainApi - object-oriented interface * @export * @class DomainApi * @extends {BaseAPI} */ export declare class DomainApi extends BaseAPI { /** * Add a domain to an environment. If there is no certificate passed in the body, a Let's Encrypt certificate will be generated for this domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {Body2} [body] Certificate payload * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DomainApi */ environmentAddDomain(accountId: number, applicationId: number, environmentName: string, hostName: string, body?: Body2, options?: any): Promise>; /** * Remove a domain from an environment. Will also remove any certificate linked to the domain * @param {number} accountId The account identifier number * @param {number} applicationId The application identifier number * @param {string} environmentName The name of the environment * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DomainApi */ environmentRemoveDomain(accountId: number, applicationId: number, environmentName: string, hostName: string, options?: any): Promise>; /** * Get https configuration * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DomainApi */ getConfiguration(accountId: number, hostName: string, options?: any): Promise>; /** * Set https configuration * @param {HttpsSetConfiguration} body Https Set Configuration Payload * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DomainApi */ postConfiguration(body: HttpsSetConfiguration, accountId: number, hostName: string, options?: any): Promise>; /** * Renew certificate * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DomainApi */ renewCertificate(accountId: number, hostName: string, options?: any): Promise>; /** * Checks if domain is configured to route traffic * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DomainApi */ verifyEngaged(accountId: number, hostName: string, options?: any): Promise>; }