UNPKG

qlik-saas-api

Version:

Interact with Qlik Sense SaaS REST API

58 lines (57 loc) 1.49 kB
import { QlikSaaSClient } from "qlik-rest-api"; export interface ILicenseConsumption { id: string; userId: string; sessionId: string; appId: string; endTime: string; duration: number; allotmentId: string; capacityUsed: number; minutesUsed: number; licenseUsage: string; } export interface ILicenseStatus { status: "Ok" | "Blacklisted" | "Expired" | "Missing" | string; valid: string; type: "Signed" | "Plain" | string; origin: "Internal" | "External" | string; trial: boolean; product: string; } export interface ILicenseOverview { licenseNumber: string; licenseKey: string; valid: string; status: "Ok" | "Blacklisted" | "Expired" | "Missing" | string; origin: "Internal" | "External" | string; trial: boolean; allotments: { name: "professional" | "analyzer" | "analyzer_time" | string; usageClass: string; unitsUsed: number; units: number; overage: number; }[]; product: string; parameters: { name: string; valid: string; values: {}; access: { allotment: string; }; }[]; } export declare class Licenses { #private; constructor(saasClient: QlikSaaSClient); consumption(): Promise<any>; assignments(): Promise<any>; assignmentsAdd(arg: { subject: string; type: string; }[]): Promise<any>; status(): Promise<any>; overview(): Promise<any>; }