mailinator-client
Version:
Mailinator REST API client for JavaScript applications.
19 lines (18 loc) • 892 B
TypeScript
import { Inbox } from './Inbox';
import { Sort } from './Sort';
import { Request } from '../Request';
import { IRestResponse } from 'typed-rest-client/RestClient';
export declare class GetInboxRequest implements Request<Inbox> {
private readonly domain;
private readonly inbox?;
private readonly skip?;
private readonly limit?;
private readonly sort?;
private readonly decodeSubject?;
private readonly cursor?;
private readonly full?;
private readonly del?;
private readonly wait?;
constructor(domain: string, inbox?: string | undefined, skip?: number | undefined, limit?: number | undefined, sort?: Sort | undefined, decodeSubject?: boolean | undefined, cursor?: string | undefined, full?: boolean | undefined, del?: string | undefined, wait?: string | undefined);
execute(apiToken: string): Promise<IRestResponse<Inbox>>;
}