UNPKG

qlik-saas-api

Version:

Interact with Qlik Sense SaaS REST API

23 lines (22 loc) 769 B
import { QlikSaaSClient } from "qlik-rest-api"; import { IScriptMetaWithScript } from "./Apps.interfaces"; export declare class AppScript { #private; private appId; details: IScriptMetaWithScript; constructor(saasClient: QlikSaaSClient, versionId: string, appId: string, details?: IScriptMetaWithScript); init(arg?: { force: boolean; }): Promise<void>; getScriptContent(): Promise<string>; remove(): Promise<number>; /** * Not very clear from the documentation what can be done here * * The UI allows only the name of the version (`versionMessage` ) to be updated. * And because of this, this method only updates the name as well */ update(arg: { name: string; }): Promise<number>; }