Interface NotesAPI

interface NotesAPI {
    clearCache: () => void;
    getNotesSettings: (
        options?: ApiCallOptions,
    ) => Promise<GetNotesSettingsHttpResponse>;
    setNotesSettings: (
        body: NoteSettingsPutPayload,
        options?: ApiCallOptions,
    ) => Promise<SetNotesSettingsHttpResponse>;
}
Index

Properties

clearCache: () => void

Clears the cache for notes api requests.

Type declaration

    • (): void
    • Clears the cache for notes api requests.

      Returns void

getNotesSettings: (
    options?: ApiCallOptions,
) => Promise<GetNotesSettingsHttpResponse>

Get the enablement status of the notes feature set for this tenant and user.

Type declaration

GetNotesSettingsHttpError

setNotesSettings: (
    body: NoteSettingsPutPayload,
    options?: ApiCallOptions,
) => Promise<SetNotesSettingsHttpResponse>

update the settings

Type declaration

an object with the body content

SetNotesSettingsHttpError