/** * 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 { Body1 } from '../models'; import { Body3 } from '../models'; import { ZoneCandidate } from '../models'; import { ZoneDetail } from '../models'; import { ZoneSummary } from '../models'; /** * ZoneApi - axios parameter creator * @export */ export declare const ZoneApiAxiosParamCreator: (configuration?: Configuration) => { /** * Delete a record from a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {string} recordName Record Name * @param {string} recordType Record Type * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteZoneRecord: (accountId: number, zoneName: string, recordName: string, recordType: string, options?: any) => Promise; /** * Enable Section Hosted DNS for the environment's domain * @param {Body3} body * @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} */ enableHostedDNS: (body: Body3, accountId: number, applicationId: number, environmentName: string, options?: any) => Promise; /** * Find likely zone for domain * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDomainZone: (accountId: number, hostName: string, options?: any) => Promise; /** * Get details of a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getZoneDetail: (accountId: number, zoneName: string, options?: any) => Promise; /** * List all zones for account * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ getZones: (accountId: number, options?: any) => Promise; /** * Add or update a record for a zone * @param {Body1} body * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ postZoneRecord: (body: Body1, accountId: number, zoneName: string, options?: any) => Promise; }; /** * ZoneApi - functional programming interface * @export */ export declare const ZoneApiFp: (configuration?: Configuration) => { /** * Delete a record from a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {string} recordName Record Name * @param {string} recordType Record Type * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteZoneRecord(accountId: number, zoneName: string, recordName: string, recordType: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Enable Section Hosted DNS for the environment's domain * @param {Body3} body * @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} */ enableHostedDNS(body: Body3, accountId: number, applicationId: number, environmentName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Find likely zone for domain * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDomainZone(accountId: number, hostName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get details of a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getZoneDetail(accountId: number, zoneName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List all zones for account * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ getZones(accountId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Add or update a record for a zone * @param {Body1} body * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ postZoneRecord(body: Body1, accountId: number, zoneName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ZoneApi - factory interface * @export */ export declare const ZoneApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Delete a record from a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {string} recordName Record Name * @param {string} recordType Record Type * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteZoneRecord(accountId: number, zoneName: string, recordName: string, recordType: string, options?: any): AxiosPromise; /** * Enable Section Hosted DNS for the environment's domain * @param {Body3} body * @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} */ enableHostedDNS(body: Body3, accountId: number, applicationId: number, environmentName: string, options?: any): AxiosPromise; /** * Find likely zone for domain * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDomainZone(accountId: number, hostName: string, options?: any): AxiosPromise; /** * Get details of a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ getZoneDetail(accountId: number, zoneName: string, options?: any): AxiosPromise; /** * List all zones for account * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} */ getZones(accountId: number, options?: any): AxiosPromise>; /** * Add or update a record for a zone * @param {Body1} body * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} */ postZoneRecord(body: Body1, accountId: number, zoneName: string, options?: any): AxiosPromise; }; /** * ZoneApi - object-oriented interface * @export * @class ZoneApi * @extends {BaseAPI} */ export declare class ZoneApi extends BaseAPI { /** * Delete a record from a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {string} recordName Record Name * @param {string} recordType Record Type * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ZoneApi */ deleteZoneRecord(accountId: number, zoneName: string, recordName: string, recordType: string, options?: any): Promise>; /** * Enable Section Hosted DNS for the environment's domain * @param {Body3} body * @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 ZoneApi */ enableHostedDNS(body: Body3, accountId: number, applicationId: number, environmentName: string, options?: any): Promise>; /** * Find likely zone for domain * @param {number} accountId The account identifier number * @param {string} hostName Host Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ZoneApi */ getDomainZone(accountId: number, hostName: string, options?: any): Promise>; /** * Get details of a zone * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ZoneApi */ getZoneDetail(accountId: number, zoneName: string, options?: any): Promise>; /** * List all zones for account * @param {number} accountId The account identifier number * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ZoneApi */ getZones(accountId: number, options?: any): Promise>; /** * Add or update a record for a zone * @param {Body1} body * @param {number} accountId The account identifier number * @param {string} zoneName Zone Name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ZoneApi */ postZoneRecord(body: Body1, accountId: number, zoneName: string, options?: any): Promise>; }