mailinator-client
Version:
Mailinator REST API client for JavaScript applications.
12 lines (11 loc) • 560 B
TypeScript
import { RequestWithoutToken } from '../RequestWithoutToken';
import { IRestResponse } from 'typed-rest-client/RestClient';
import { Webhook } from './Webhook';
import { WebhookResponseStatus } from './WebhookResponseStatus';
export declare class PrivateInboxWebhookRequest implements RequestWithoutToken<WebhookResponseStatus> {
private readonly whToken;
private readonly inbox;
private readonly webhook;
constructor(whToken: string, inbox: string, webhook: Webhook);
execute(): Promise<IRestResponse<WebhookResponseStatus>>;
}