UNPKG

mailinator-client

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