import Mascot from "../models/Mascot.js"; import { type TransformDataBodyToOptions, type TransformDataQueryToOptions } from "../util.js"; import Base from "./Base.js"; import type { CreateMascotData, EditMascotData, SearchMascotsData } from "../generated/types.js"; /** @category Modules/Types */ export interface CreateMascotOptions extends TransformDataBodyToOptions { } /** @category Modules/Types */ export interface EditMascotOptions extends TransformDataBodyToOptions { } /** @category Modules/Types */ export interface SearchMascotsOptions extends TransformDataQueryToOptions { } /** @category Modules */ export default class Mascots extends Base { /** * Create Mascot * * You must be Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Mascots-createMascot createMascot} * * @see {@link https://e621.wiki/#operations-Mascots-createMascot Documentation} for more details. */ create(options: CreateMascotOptions): Promise; /** * Delete Mascot * * You must be Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Mascots-deleteMascot deleteMascot} * * @see {@link https://e621.wiki/#operations-Mascots-deleteMascot Documentation} for more details. */ delete(id: number): Promise; /** * Edit Mascot * * You must be Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Mascots-editMascot editMascot} * * @see {@link https://e621.wiki/#operations-Mascots-editMascot Documentation} for more details. */ edit(id: number, options: EditMascotOptions): Promise; /** * Search Mascots * * @operationId {@link https://e621.wiki/#operations-Mascots-searchMascots searchMascots} * * @see {@link https://e621.wiki/#operations-Mascots-searchMascots Documentation} for more details. */ search(options?: SearchMascotsOptions): Promise>; }