UNPKG

qlik-saas-api

Version:

Interact with Qlik Sense SaaS REST API

31 lines (30 loc) 660 B
import { QlikSaaSClient } from "qlik-rest-api"; export interface IRoleCondensed { id: string; name: string; type: string; level?: "admin" | "user"; } export interface IRole extends IRoleCondensed { tenantId: string; createdAt: string; description: string; permissions?: string[]; lastUpdatedAt: string; links: { self: { href: string; }; }; } export declare class Roles { #private; constructor(saasClient: QlikSaaSClient); get(arg: { id: string; }): Promise<any>; getAll(): Promise<any>; getFilter(arg: { filter: string; }): Promise<IRole[]>; }