/** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { AlertSMTPConfig } from '../models'; /** * AlertSMTPConfigApi - axios parameter creator * @export */ export declare const AlertSMTPConfigApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Get alert SMTP config * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAlertSMTPConfig: (options?: RawAxiosRequestConfig) => Promise; /** * * @summary Update alert SMTP config * @param {AlertSMTPConfig} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAlertSMTPConfig: (body: AlertSMTPConfig, options?: RawAxiosRequestConfig) => Promise; }; /** * AlertSMTPConfigApi - functional programming interface * @export */ export declare const AlertSMTPConfigApiFp: (configuration?: Configuration) => { /** * * @summary Get alert SMTP config * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAlertSMTPConfig(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Update alert SMTP config * @param {AlertSMTPConfig} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAlertSMTPConfig(body: AlertSMTPConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AlertSMTPConfigApi - factory interface * @export */ export declare const AlertSMTPConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Get alert SMTP config * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAlertSMTPConfig(options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Update alert SMTP config * @param {AlertSMTPConfigApiUpdateAlertSMTPConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAlertSMTPConfig(requestParameters: AlertSMTPConfigApiUpdateAlertSMTPConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * AlertSMTPConfigApi - interface * @export * @interface AlertSMTPConfigApi */ export interface AlertSMTPConfigApiInterface { /** * * @summary Get alert SMTP config * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertSMTPConfigApiInterface */ getAlertSMTPConfig(options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Update alert SMTP config * @param {AlertSMTPConfigApiUpdateAlertSMTPConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertSMTPConfigApiInterface */ updateAlertSMTPConfig(requestParameters: AlertSMTPConfigApiUpdateAlertSMTPConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for updateAlertSMTPConfig operation in AlertSMTPConfigApi. * @export * @interface AlertSMTPConfigApiUpdateAlertSMTPConfigRequest */ export interface AlertSMTPConfigApiUpdateAlertSMTPConfigRequest { /** * * @type {AlertSMTPConfig} * @memberof AlertSMTPConfigApiUpdateAlertSMTPConfig */ readonly body: AlertSMTPConfig; } /** * AlertSMTPConfigApi - object-oriented interface * @export * @class AlertSMTPConfigApi * @extends {BaseAPI} */ export declare class AlertSMTPConfigApi extends BaseAPI implements AlertSMTPConfigApiInterface { /** * * @summary Get alert SMTP config * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertSMTPConfigApi */ getAlertSMTPConfig(options?: RawAxiosRequestConfig): Promise>; /** * * @summary Update alert SMTP config * @param {AlertSMTPConfigApiUpdateAlertSMTPConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AlertSMTPConfigApi */ updateAlertSMTPConfig(requestParameters: AlertSMTPConfigApiUpdateAlertSMTPConfigRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=alert-smtpconfig-api.d.ts.map