UNPKG

pterowrap

Version:

A node.js wrapper for Pterodactyl API

13 lines (12 loc) 570 B
import ClientInstance from "../../../instance/ClientInstance"; import * as Types from "../../../utils/Types"; import Server from "../../../structures/client/Server"; import Schedule from "../../../structures/client/server/Schedule"; export default class ScheduleManager { private client; _parentServer: Server; constructor(client: ClientInstance, _parentServer: Server); list(options?: Types.requestParameters): Promise<Schedule[]>; get(id: number): Promise<Schedule>; create(params: Types.createScheduleParams): Promise<Schedule>; }