UNPKG

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.

73 lines (72 loc) 2.4 kB
/** * MailSlurp API * MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. 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. */ /** * * @export * @interface GenerateSpfRecordOptions */ export interface GenerateSpfRecordOptions { /** * Domain the SPF record applies to * @type {string} * @memberof GenerateSpfRecordOptions */ domain: string; /** * Optional include domains * @type {Array<string>} * @memberof GenerateSpfRecordOptions */ includeDomains?: Array<string> | null; /** * Optional IPv4 CIDRs or hosts * @type {Array<string>} * @memberof GenerateSpfRecordOptions */ ip4?: Array<string> | null; /** * Optional IPv6 CIDRs or hosts * @type {Array<string>} * @memberof GenerateSpfRecordOptions */ ip6?: Array<string> | null; /** * Whether to include the MX mechanism * @type {boolean} * @memberof GenerateSpfRecordOptions */ mx: boolean; /** * Whether to include the A mechanism * @type {boolean} * @memberof GenerateSpfRecordOptions */ a: boolean; /** * * @type {string} * @memberof GenerateSpfRecordOptions */ allPolicy: GenerateSpfRecordOptionsAllPolicyEnum; } /** * @export * @enum {string} */ export declare enum GenerateSpfRecordOptionsAllPolicyEnum { FAIL = "FAIL", SOFTFAIL = "SOFTFAIL", NEUTRAL = "NEUTRAL" } export declare function GenerateSpfRecordOptionsFromJSON(json: any): GenerateSpfRecordOptions; export declare function GenerateSpfRecordOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateSpfRecordOptions; export declare function GenerateSpfRecordOptionsToJSON(value?: GenerateSpfRecordOptions | null): any;