/** * openfilz-api * API for Document Management System * * The version of the OpenAPI document: 1.0.0 * * * 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 { QuotaOverview } from '../models'; import type { QuotaUsage } from '../models'; import type { QuotaUserPage } from '../models'; import type { UserQuotaRequest } from '../models'; /** * QuotaAdministrationApi - axios parameter creator */ export declare const QuotaAdministrationApiAxiosParamCreator: (configuration?: Configuration) => { /** * The group or default limit applies again. * @summary Remove one user\'s own limit * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ clearUserQuota: (username: string, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Get one user\'s storage * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser: (username: string, options?: RawAxiosRequestConfig) => Promise; /** * Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name. * @summary List users\' storage * @param {string} [search] Case-insensitive filter on the user name * @param {string} [sort] usage | percent | limit | name * @param {string} [order] asc | desc * @param {number} [page] * @param {number} [size] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers: (search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig) => Promise; /** * Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides. * @summary Quota overview * @param {*} [options] Override http request option. * @throws {RequiredError} */ overview: (options?: RawAxiosRequestConfig) => Promise; /** * quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits. * @summary Set one user\'s own limit * @param {string} username * @param {UserQuotaRequest} userQuotaRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserQuota: (username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig) => Promise; }; /** * QuotaAdministrationApi - functional programming interface */ export declare const QuotaAdministrationApiFp: (configuration?: Configuration) => { /** * The group or default limit applies again. * @summary Remove one user\'s own limit * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ clearUserQuota(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Get one user\'s storage * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name. * @summary List users\' storage * @param {string} [search] Case-insensitive filter on the user name * @param {string} [sort] usage | percent | limit | name * @param {string} [order] asc | desc * @param {number} [page] * @param {number} [size] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides. * @summary Quota overview * @param {*} [options] Override http request option. * @throws {RequiredError} */ overview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits. * @summary Set one user\'s own limit * @param {string} username * @param {UserQuotaRequest} userQuotaRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserQuota(username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * QuotaAdministrationApi - factory interface */ export declare const QuotaAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * The group or default limit applies again. * @summary Remove one user\'s own limit * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ clearUserQuota(username: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Get one user\'s storage * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(username: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name. * @summary List users\' storage * @param {string} [search] Case-insensitive filter on the user name * @param {string} [sort] usage | percent | limit | name * @param {string} [order] asc | desc * @param {number} [page] * @param {number} [size] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides. * @summary Quota overview * @param {*} [options] Override http request option. * @throws {RequiredError} */ overview(options?: RawAxiosRequestConfig): AxiosPromise; /** * quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits. * @summary Set one user\'s own limit * @param {string} username * @param {UserQuotaRequest} userQuotaRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserQuota(username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * QuotaAdministrationApi - object-oriented interface */ export declare class QuotaAdministrationApi extends BaseAPI { /** * The group or default limit applies again. * @summary Remove one user\'s own limit * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ clearUserQuota(username: string, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Get one user\'s storage * @param {string} username * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(username: string, options?: RawAxiosRequestConfig): Promise>; /** * Every user storage is charged to, with usage, effective limit and its source. Sort by usage (default), percent, limit or name. * @summary List users\' storage * @param {string} [search] Case-insensitive filter on the user name * @param {string} [sort] usage | percent | limit | name * @param {string} [order] asc | desc * @param {number} [page] * @param {number} [size] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(search?: string, sort?: string, order?: string, page?: number, size?: number, options?: RawAxiosRequestConfig): Promise>; /** * Deployment-wide limits (MB, 0 = no limit), instance usage and the number of user overrides. * @summary Quota overview * @param {*} [options] Override http request option. * @throws {RequiredError} */ overview(options?: RawAxiosRequestConfig): Promise>; /** * quotaMb > 0 = this user\'s limit, 0 = no limit for this user. Takes precedence over group and default limits. * @summary Set one user\'s own limit * @param {string} username * @param {UserQuotaRequest} userQuotaRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserQuota(username: string, userQuotaRequest: UserQuotaRequest, options?: RawAxiosRequestConfig): Promise>; }