node-beget
Version:
Client library for accessing Beget API
18 lines (17 loc) • 376 B
TypeScript
declare type InputFormat = 'json' | 'plain';
export interface BegetOptions {
login: string;
password: string;
httpMethod?: 'POST' | 'GET';
}
export interface RequestOptions {
login: string;
passwd: string;
input_format?: InputFormat;
output_format?: 'json';
}
export interface BegetCredentials {
login: string;
passwd: string;
}
export {};