UNPKG

@trickfilm400/cs141-ups-mangement-card

Version:
24 lines (23 loc) 612 B
export interface IAPIResponseData { report: { time: string; refresh: number; _platform: string; }; ups: { _oemViewName: string; _selected_ups_id: number; valtable: Record<string, string | string[] | number | number[]>; }; } export declare class CS141 { private readonly host; private readonly username; private readonly password; private headers; private readonly axios; constructor(host: string, username: string, password: string); private request; handleRequest(): Promise<IAPIResponseData>; private login; }