UNPKG

@theventures/caret

Version:

Unofficial Node.js API client for the Caret HTTP API

17 lines (16 loc) 536 B
import { APIResource } from "../core/resource.js"; import type { Note, NotesListParams, NotesListResponse, NoteUpdateParams } from "../types/note.js"; export declare class Notes extends APIResource { /** * Retrieve a list of notes from the workspace */ list(params?: NotesListParams): Promise<NotesListResponse>; /** * Get a specific note by ID */ get(id: string): Promise<Note | null>; /** * Update a specific note */ update(id: string, params: NoteUpdateParams): Promise<Note>; }