mailinator-client
Version:
Mailinator REST API client for JavaScript applications.
12 lines (11 loc) • 508 B
TypeScript
import { Request } from '../Request';
import { IRestResponse } from 'typed-rest-client/RestClient';
import { RuleToCreate } from "./RuleToCreate";
import { Rule } from "./Rule";
/** @deprecated This endpoint is deprecated and will be removed in a future release. */
export declare class CreateRuleRequest implements Request<Rule> {
private readonly domainId;
private readonly rule;
constructor(domainId: string, rule: RuleToCreate);
execute(apiToken: string): Promise<IRestResponse<Rule>>;
}