mailslurp-client
Version:
Official client for MailSlurp Email and SMS API. Create email addresses and phone numbers in Javascript without a mail server. Send and receive real emails in applications or tests.
88 lines (87 loc) • 2.32 kB
TypeScript
/**
* MailSlurp API
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It\'s designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository
*
* The version of the OpenAPI document: 6.5.2
* Contact: contact@mailslurp.dev
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Rules for inbox
* @export
* @interface InboxRulesetDto
*/
export interface InboxRulesetDto {
/**
*
* @type {string}
* @memberof InboxRulesetDto
*/
id: string;
/**
*
* @type {string}
* @memberof InboxRulesetDto
*/
inboxId?: string | null;
/**
*
* @type {string}
* @memberof InboxRulesetDto
*/
scope: InboxRulesetDtoScopeEnum;
/**
*
* @type {string}
* @memberof InboxRulesetDto
*/
action: InboxRulesetDtoActionEnum;
/**
*
* @type {string}
* @memberof InboxRulesetDto
*/
target: string;
/**
*
* @type {string}
* @memberof InboxRulesetDto
*/
handler: InboxRulesetDtoHandlerEnum;
/**
*
* @type {Date}
* @memberof InboxRulesetDto
*/
createdAt: Date;
}
/**
* @export
* @enum {string}
*/
export declare enum InboxRulesetDtoScopeEnum {
RECEIVING_EMAILS = "RECEIVING_EMAILS",
SENDING_EMAILS = "SENDING_EMAILS"
}
/**
* @export
* @enum {string}
*/
export declare enum InboxRulesetDtoActionEnum {
BLOCK = "BLOCK",
ALLOW = "ALLOW",
FILTER_REMOVE = "FILTER_REMOVE"
}
/**
* @export
* @enum {string}
*/
export declare enum InboxRulesetDtoHandlerEnum {
EXCEPTION = "EXCEPTION"
}
export declare function InboxRulesetDtoFromJSON(json: any): InboxRulesetDto;
export declare function InboxRulesetDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxRulesetDto;
export declare function InboxRulesetDtoToJSON(value?: InboxRulesetDto | null): any;