UNPKG

qlik-saas-api

Version:

Interact with Qlik Sense SaaS REST API

28 lines (27 loc) 853 B
import { QlikSaaSClient } from "qlik-rest-api"; export interface IRun { id: string; error: object; title: string; status: "failed" | "finished" | "finished with warnings" | "must stop" | "not started" | "running" | "starting" | "stopped"; context: "test_run" | "editor" | "detail" | "api_sync" | "api_async" | "webhook" | "lookup"; stopTime: string; createdAt: string; isTestRun: boolean; startTime: string; updatedAt: string; isArchived: boolean; scheduledStartTime: string; } export interface IRunExportResponse { url: string; } export declare class Run { #private; private automationId; details: IRun; constructor(saasClient: QlikSaaSClient, id: string, automationId: string, details?: IRun); export(): Promise<any>; retry(): Promise<number>; stop(): Promise<number>; }