qlik-saas-api
Version:
Interact with Qlik Sense SaaS REST API
27 lines (26 loc) • 707 B
TypeScript
import { QlikSaaSClient } from "qlik-rest-api";
import { Collection } from "./Collection";
export interface ICollectionCreate {
name: string;
type: "public" | "private" | "favorite" | string;
description?: string;
}
export declare class Collections {
#private;
constructor(saasClient: QlikSaaSClient);
get(arg: {
id: string;
}): Promise<Collection>;
getAll(): Promise<any>;
getFilter(arg: {
filter: string;
}): Promise<Collection[]>;
removeFilter(arg: {
filter: string;
}): Promise<{
id: string;
status: number;
}[]>;
favorites(): Promise<Collection>;
create(arg: ICollectionCreate): Promise<Collection>;
}