qlik-saas-api
Version:
Interact with Qlik Sense SaaS REST API
25 lines (24 loc) • 608 B
TypeScript
import { QlikSaaSClient } from "qlik-rest-api";
export interface IQuotas {
type: string;
id: string;
attributes: {
quota: number;
unit: string;
usage: number;
warningThresholds: number[];
};
}
type QuotaType = "managed_spaces" | "shared_spaces" | "app_upload_disk_size" | "app_mem_size" | string;
export declare class Quotas {
#private;
constructor(saasClient: QlikSaaSClient);
get(arg: {
id: QuotaType;
}): Promise<any>;
getAll(): Promise<any>;
getFilter(arg: {
filter: string;
}): Promise<IQuotas[]>;
}
export {};