Creates a new note in the database.
The data required to add a note to a user.
A promise resolving to the newly created NoteEntity.
Deletes a note from the database.
The numeric ID of the note to delete.
A promise resolving to the deleted NoteEntity.
Gets a note by its ID.
The numeric ID of the note.
A promise resolving to the NoteEntity.
Gets all notes associated with a specific user.
The internal database ID of the user.
A promise resolving to an array of NoteEntity instances.
Updates an existing note in the database.
The numeric ID of the note.
The data required to update the note.
A promise resolving to the updated NoteEntity.
Manages API operations related to Users. Allows for creating, fetching, and updating user profiles.