qlik-saas-api
Version:
Interact with Qlik Sense SaaS REST API
37 lines (36 loc) • 867 B
TypeScript
import { QlikSaaSClient } from "qlik-rest-api";
export interface IBrandFile {
id: "logo" | "styles" | "favIcon";
eTag: string;
path: string;
contentType: string;
}
export declare const contentTypeMime: {
logo: string;
styles: string;
favIcon: string;
};
export declare class BrandFile {
#private;
private brandId;
details: IBrandFile;
constructor(saasClient: QlikSaaSClient, brandId: string, id: string, details: IBrandFile);
/**
* Download the current brand file
*/
download(): Promise<{
file: AxiosResponse<T>;
id: string;
name: string;
}>;
/**
* Remove the current brand file from the brand
*/
remove(): Promise<number>;
/**
* Update the content of the current brand file
*/
update(arg: {
file: string;
}): Promise<number>;
}