UNPKG

pterowrap

Version:

A node.js wrapper for Pterodactyl API

19 lines (18 loc) 605 B
import * as Types from "../../../utils/Types"; import ClientInstance from "../../../instance/ClientInstance"; import Server from "../Server"; export default class Subuser { private _client; _parentServer: Server; uuid: string; username: string; email: string; image: string; "2fa_enable": boolean; created_at: string; permissions: (Types.Permission | string)[]; raw: any; constructor(_client: ClientInstance, data: any, _parentServer: Server); update(params: Types.updateSubuserParams): Promise<Subuser>; delete(): Promise<unknown>; }