import StaffNote from "../models/StaffNote.js"; import { type TransformDataBodyToOptions, type TransformDataQueryToOptions } from "../util.js"; import Base from "./Base.js"; import type { CreateStaffNoteData, EditStaffNoteData, SearchStaffNotesData } from "../generated/types.js"; /** @category Modules/Types */ export interface CreateStaffNoteOptions extends TransformDataBodyToOptions { } /** @category Modules/Types */ export interface EditStaffNoteOptions extends TransformDataBodyToOptions { } /** @category Modules/Types */ export interface SearchStaffNotesOptions extends TransformDataQueryToOptions { } /** @category Modules */ export default class StaffNotes extends Base { /** * Create Staff Note * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Staff_Notes-createStaffNote createStaffNote} * * @see {@link https://e621.wiki/#operations-Staff_Notes-createStaffNote Documentation} for more details. */ create(options: CreateStaffNoteOptions): Promise; /** * Delete Staff Note * * You must be the creator or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Staff_Notes-deleteStaffNote deleteStaffNote} * * @see {@link https://e621.wiki/#operations-Staff_Notes-deleteStaffNote Documentation} for more details. */ delete(id: number): Promise; /** * Edit Staff Note * * You must be the creator or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote editStaffNote} * * @see {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote Documentation} for more details. */ edit(id: number, options: EditStaffNoteOptions): Promise; /** * Get Staff Note * * @operationId {@link https://e621.wiki/#operations-Staff_Notes-getStaffNote getStaffNote} * * @see {@link https://e621.wiki/#operations-Staff_Notes-getStaffNote Documentation} for more details. */ get(id: number): Promise; /** * Search Staff Notes * * @operationId {@link https://e621.wiki/#operations-Staff_Notes-searchStaffNotes searchStaffNotes} * * @see {@link https://e621.wiki/#operations-Staff_Notes-searchStaffNotes Documentation} for more details. */ search(options?: SearchStaffNotesOptions): Promise>; /** * Undelete Staff Note * * You must be the creator or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Staff_Notes-undeleteStaffNote undeleteStaffNote} * * @see {@link https://e621.wiki/#operations-Staff_Notes-undeleteStaffNote Documentation} for more details. */ undelete(id: number): Promise; }