@marxlnfcs/wildduck-api
Version:
Provides a client to interact with the wildduck api
22 lines (21 loc) • 489 B
TypeScript
export interface IWildduckApiGetAuthlogOptions {
action: string;
filterIp: string;
limit: number;
page: string;
next: string;
previous: string;
}
export interface IWildduckApiPreCheckAuthRequest {
username: string;
scope?: 'master' | 'imap' | 'smtp' | 'pop3';
sess?: string;
ip?: string;
}
export interface IWildduckApiPreCheckAuthResponse {
success: boolean;
id: string;
username: string;
scope: string;
require2fa: string[];
}