UNPKG

pterowrap

Version:

A node.js wrapper for Pterodactyl API

22 lines (21 loc) 625 B
import * as Types from "../../utils/Types"; import ApplicationInstance from "../../instance/ApplicationInstance"; export default class User { private _client; id: number; external_id: null | string; uuid: string; username: string; email: string; first_name: string; last_name: string; language: string; root_admin: boolean; "2fa": boolean; created_at: string; updated_at: string; raw: any; constructor(_client: ApplicationInstance, data: any); update(params: Types.updateUserParams): Promise<User | null>; delete(): Promise<unknown>; }