UNPKG

pterowrap

Version:

A node.js wrapper for Pterodactyl API

11 lines (10 loc) 437 B
import * as Types from "../../../utils/Types"; import ClientInstance from "../../../instance/ClientInstance"; import APIKey from "../../../structures/client/account/APIKey"; export default class APIKeyManager { private client; constructor(client: ClientInstance); list(): Promise<APIKey[]>; get(identifier: string): Promise<APIKey | null>; create(params: Types.createClientApiKeyParams): Promise<APIKey>; }