qlik-saas-api
Version:
Interact with Qlik Sense SaaS REST API
48 lines (47 loc) • 1.22 kB
TypeScript
import { QlikSaaSClient } from "qlik-rest-api";
export interface IWebIntegrationUpdate {
value: string;
path: "name" | "validOrigins";
}
export interface IWebIntegration {
/**
* The unique web integration identifier.
*/
id: string;
/**
* The name of the web integration.
*/
name: string;
/**
* The time the web integration was created.
*/
created: string;
/**
* The tenant that the web integration belongs to.
*/
tenantId: string;
/**
* The user that created the web integration.
*/
createdBy: string;
/**
* The time the web integration was last updated.
*/
lastUpdated: string;
/**
* The origins that are allowed to make requests to the tenant.
*
* Include protocol as well. For example: http://localhost and not only localhost
*/
validOrigins: string[];
}
export declare class WebIntegration {
#private;
details: IWebIntegration;
constructor(saasClient: QlikSaaSClient, id: string, details?: IWebIntegration);
init(arg?: {
force: true;
}): Promise<void>;
remove(): Promise<number>;
update(arg: IWebIntegrationUpdate[]): Promise<number>;
}