/** * 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 { License } from '../models'; import type { LicenseRequest } from '../models'; /** * LicenseApi - axios parameter creator * @export */ export declare const LicenseApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get license * @summary Get license * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLicense: (options?: RawAxiosRequestConfig) => Promise; /** * Update license * @summary Update license * @param {LicenseRequest} licenseRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateLicense: (licenseRequest: LicenseRequest, options?: RawAxiosRequestConfig) => Promise; }; /** * LicenseApi - functional programming interface * @export */ export declare const LicenseApiFp: (configuration?: Configuration) => { /** * Get license * @summary Get license * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLicense(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update license * @summary Update license * @param {LicenseRequest} licenseRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateLicense(licenseRequest: LicenseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * LicenseApi - factory interface * @export */ export declare const LicenseApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get license * @summary Get license * @param {*} [options] Override http request option. * @throws {RequiredError} */ getLicense(options?: RawAxiosRequestConfig): AxiosPromise; /** * Update license * @summary Update license * @param {LicenseApiUpdateLicenseRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateLicense(requestParameters: LicenseApiUpdateLicenseRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * LicenseApi - interface * @export * @interface LicenseApi */ export interface LicenseApiInterface { /** * Get license * @summary Get license * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseApiInterface */ getLicense(options?: RawAxiosRequestConfig): AxiosPromise; /** * Update license * @summary Update license * @param {LicenseApiUpdateLicenseRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseApiInterface */ updateLicense(requestParameters: LicenseApiUpdateLicenseRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for updateLicense operation in LicenseApi. * @export * @interface LicenseApiUpdateLicenseRequest */ export interface LicenseApiUpdateLicenseRequest { /** * * @type {LicenseRequest} * @memberof LicenseApiUpdateLicense */ readonly licenseRequest: LicenseRequest; } /** * LicenseApi - object-oriented interface * @export * @class LicenseApi * @extends {BaseAPI} */ export declare class LicenseApi extends BaseAPI implements LicenseApiInterface { /** * Get license * @summary Get license * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseApi */ getLicense(options?: RawAxiosRequestConfig): Promise>; /** * Update license * @summary Update license * @param {LicenseApiUpdateLicenseRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LicenseApi */ updateLicense(requestParameters: LicenseApiUpdateLicenseRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=license-api.d.ts.map