/** This is spectacularly generated code by spectacular based on Qlik Cloud Services APIs */ import Auth from '../auth/auth.js'; import type { Config } from '../types/types.js'; export declare enum ConfigReasonCode { Deployment = "deployment", Toggle = "toggle", License = "license" } export type NoteSettingsPutPayload = { /** pass 'true' to enable the relations api to search notes for the tenant. */ snapshotRelations?: boolean; /** pass 'true' to enable the note toggle for the tenant, 'false' to disable the toggle (other values are ignore). */ toggledOn?: boolean; [key: string]: any; }; export type NoteSettingsPutResponse = { /** 'true' if relations api to search notes for the tenant are enabled else false. */ snapshotRelations?: boolean; /** 'true' if the note feature is enabled for this tenant and user otherwise 'false'. */ toggleOn?: boolean; [key: string]: any; }; export type NotesUserSettings = { /** 'true' if the note feature is enabled for this tenant and user otherwise 'false'. */ available: boolean; /** The timestamp for the last time this users notes settings were fetched from downstream services. */ lastFetch?: string; /** The possible states for the status of notes configuration GET or POST operation */ reason?: ConfigReasonCode; [key: string]: any; }; export declare class Notes { auth: Auth; config: Config; constructor(config: Config | Auth); /** Get the enablement status of the notes feature set for this tenant and user. */ getSettings(): Promise; /** update the settings @param data - A JSON payload containing note settings to put. */ setSettings(data: NoteSettingsPutPayload): Promise; }