/** * 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 { DashboardConfig } from '../models'; import type { DashboardConfigUpdate } from '../models'; /** * DashboardConfigApi - axios parameter creator * @export */ export declare const DashboardConfigApiAxiosParamCreator: (configuration?: Configuration) => { /** * Requires platform configuration write access. Deleting a missing key succeeds. * @summary Delete dashboard configuration by key * @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDashboardConfig: (key: string, options?: RawAxiosRequestConfig) => Promise; /** * Requires platform configuration read access. Missing keys return 200 with a null value. * @summary Get dashboard configuration by key * @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboardConfig: (key: string, options?: RawAxiosRequestConfig) => Promise; /** * Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB. * @summary Create or replace dashboard configuration by key * @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @param {DashboardConfigUpdate} dashboardConfigUpdate * @param {*} [options] Override http request option. * @throws {RequiredError} */ putDashboardConfig: (key: string, dashboardConfigUpdate: DashboardConfigUpdate, options?: RawAxiosRequestConfig) => Promise; }; /** * DashboardConfigApi - functional programming interface * @export */ export declare const DashboardConfigApiFp: (configuration?: Configuration) => { /** * Requires platform configuration write access. Deleting a missing key succeeds. * @summary Delete dashboard configuration by key * @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDashboardConfig(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Requires platform configuration read access. Missing keys return 200 with a null value. * @summary Get dashboard configuration by key * @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboardConfig(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB. * @summary Create or replace dashboard configuration by key * @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @param {DashboardConfigUpdate} dashboardConfigUpdate * @param {*} [options] Override http request option. * @throws {RequiredError} */ putDashboardConfig(key: string, dashboardConfigUpdate: DashboardConfigUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DashboardConfigApi - factory interface * @export */ export declare const DashboardConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Requires platform configuration write access. Deleting a missing key succeeds. * @summary Delete dashboard configuration by key * @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Requires platform configuration read access. Missing keys return 200 with a null value. * @summary Get dashboard configuration by key * @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB. * @summary Create or replace dashboard configuration by key * @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * DashboardConfigApi - interface * @export * @interface DashboardConfigApi */ export interface DashboardConfigApiInterface { /** * Requires platform configuration write access. Deleting a missing key succeeds. * @summary Delete dashboard configuration by key * @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardConfigApiInterface */ deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Requires platform configuration read access. Missing keys return 200 with a null value. * @summary Get dashboard configuration by key * @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardConfigApiInterface */ getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB. * @summary Create or replace dashboard configuration by key * @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardConfigApiInterface */ putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for deleteDashboardConfig operation in DashboardConfigApi. * @export * @interface DashboardConfigApiDeleteDashboardConfigRequest */ export interface DashboardConfigApiDeleteDashboardConfigRequest { /** * Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @type {string} * @memberof DashboardConfigApiDeleteDashboardConfig */ readonly key: string; } /** * Request parameters for getDashboardConfig operation in DashboardConfigApi. * @export * @interface DashboardConfigApiGetDashboardConfigRequest */ export interface DashboardConfigApiGetDashboardConfigRequest { /** * Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @type {string} * @memberof DashboardConfigApiGetDashboardConfig */ readonly key: string; } /** * Request parameters for putDashboardConfig operation in DashboardConfigApi. * @export * @interface DashboardConfigApiPutDashboardConfigRequest */ export interface DashboardConfigApiPutDashboardConfigRequest { /** * Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path. * @type {string} * @memberof DashboardConfigApiPutDashboardConfig */ readonly key: string; /** * * @type {DashboardConfigUpdate} * @memberof DashboardConfigApiPutDashboardConfig */ readonly dashboardConfigUpdate: DashboardConfigUpdate; } /** * DashboardConfigApi - object-oriented interface * @export * @class DashboardConfigApi * @extends {BaseAPI} */ export declare class DashboardConfigApi extends BaseAPI implements DashboardConfigApiInterface { /** * Requires platform configuration write access. Deleting a missing key succeeds. * @summary Delete dashboard configuration by key * @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardConfigApi */ deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): Promise>; /** * Requires platform configuration read access. Missing keys return 200 with a null value. * @summary Get dashboard configuration by key * @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardConfigApi */ getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): Promise>; /** * Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB. * @summary Create or replace dashboard configuration by key * @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardConfigApi */ putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=dashboard-config-api.d.ts.map