UNPKG

mailinator-client

Version:
12 lines (11 loc) 560 B
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>>; }